diff --git a/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts b/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts index d0bbb9917f84..df41e34a33e1 100644 --- a/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts +++ b/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAnalyzerCommandInput = CreateAnalyzerRequest; @@ -64,14 +64,14 @@ export class CreateAnalyzerCommand extends $Command< private serialize( input: CreateAnalyzerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateAnalyzerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateAnalyzerCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts index 65a1fd23bbf4..cea60861af56 100644 --- a/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts +++ b/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateArchiveRuleCommandInput = CreateArchiveRuleRequest; @@ -65,14 +65,14 @@ export class CreateArchiveRuleCommand extends $Command< private serialize( input: CreateArchiveRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateArchiveRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateArchiveRuleCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts b/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts index d3e478c280c4..18322673f5e6 100644 --- a/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts +++ b/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAnalyzerCommandInput = DeleteAnalyzerRequest; @@ -65,14 +65,14 @@ export class DeleteAnalyzerCommand extends $Command< private serialize( input: DeleteAnalyzerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAnalyzerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAnalyzerCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts index 94b885b52320..304d3d7d3e49 100644 --- a/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts +++ b/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteArchiveRuleCommandInput = DeleteArchiveRuleRequest; @@ -65,14 +65,14 @@ export class DeleteArchiveRuleCommand extends $Command< private serialize( input: DeleteArchiveRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteArchiveRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteArchiveRuleCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts b/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts index 24c027b6e966..68c509838576 100644 --- a/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts +++ b/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAnalyzedResourceCommandInput = GetAnalyzedResourceRequest; @@ -70,14 +70,14 @@ export class GetAnalyzedResourceCommand extends $Command< private serialize( input: GetAnalyzedResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAnalyzedResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAnalyzedResourceCommand( output, diff --git a/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts b/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts index 8b83bd35ed28..eddd418be310 100644 --- a/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts +++ b/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAnalyzerCommandInput = GetAnalyzerRequest; @@ -64,14 +64,14 @@ export class GetAnalyzerCommand extends $Command< private serialize( input: GetAnalyzerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAnalyzerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAnalyzerCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts index 180a3c36d8dc..c3f81d604851 100644 --- a/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts +++ b/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetArchiveRuleCommandInput = GetArchiveRuleRequest; @@ -64,14 +64,14 @@ export class GetArchiveRuleCommand extends $Command< private serialize( input: GetArchiveRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetArchiveRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetArchiveRuleCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/GetFindingCommand.ts b/clients/client-accessanalyzer/commands/GetFindingCommand.ts index 5c8ff5905941..5138ce23c519 100644 --- a/clients/client-accessanalyzer/commands/GetFindingCommand.ts +++ b/clients/client-accessanalyzer/commands/GetFindingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFindingCommandInput = GetFindingRequest; @@ -64,14 +64,14 @@ export class GetFindingCommand extends $Command< private serialize( input: GetFindingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFindingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFindingCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts b/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts index 1d32c6cf5044..360db06bb07c 100644 --- a/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts +++ b/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAnalyzedResourcesCommandInput = ListAnalyzedResourcesRequest; @@ -70,14 +70,14 @@ export class ListAnalyzedResourcesCommand extends $Command< private serialize( input: ListAnalyzedResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAnalyzedResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAnalyzedResourcesCommand( output, diff --git a/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts b/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts index bdaf166bee10..a4d47874852e 100644 --- a/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts +++ b/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAnalyzersCommandInput = ListAnalyzersRequest; @@ -64,14 +64,14 @@ export class ListAnalyzersCommand extends $Command< private serialize( input: ListAnalyzersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAnalyzersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAnalyzersCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts b/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts index 93320c721fcd..75314c6ffcad 100644 --- a/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts +++ b/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListArchiveRulesCommandInput = ListArchiveRulesRequest; @@ -67,14 +67,14 @@ export class ListArchiveRulesCommand extends $Command< private serialize( input: ListArchiveRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListArchiveRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListArchiveRulesCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/ListFindingsCommand.ts b/clients/client-accessanalyzer/commands/ListFindingsCommand.ts index 6966db92d8ad..02b6bb557972 100644 --- a/clients/client-accessanalyzer/commands/ListFindingsCommand.ts +++ b/clients/client-accessanalyzer/commands/ListFindingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFindingsCommandInput = ListFindingsRequest; @@ -64,14 +64,14 @@ export class ListFindingsCommand extends $Command< private serialize( input: ListFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFindingsCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts b/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts index 45dc2f734ab7..6b95ad938360 100644 --- a/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts +++ b/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts b/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts index f116ff8ac3c3..78734a06dc8a 100644 --- a/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts +++ b/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartResourceScanCommandInput = StartResourceScanRequest; @@ -65,14 +65,14 @@ export class StartResourceScanCommand extends $Command< private serialize( input: StartResourceScanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartResourceScanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartResourceScanCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/TagResourceCommand.ts b/clients/client-accessanalyzer/commands/TagResourceCommand.ts index fd4db453669b..d48361f7d595 100644 --- a/clients/client-accessanalyzer/commands/TagResourceCommand.ts +++ b/clients/client-accessanalyzer/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/UntagResourceCommand.ts b/clients/client-accessanalyzer/commands/UntagResourceCommand.ts index 97a5205edef4..5a7382e4ed68 100644 --- a/clients/client-accessanalyzer/commands/UntagResourceCommand.ts +++ b/clients/client-accessanalyzer/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts index 2416bf25d9ba..4325e4ec39ad 100644 --- a/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts +++ b/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateArchiveRuleCommandInput = UpdateArchiveRuleRequest; @@ -65,14 +65,14 @@ export class UpdateArchiveRuleCommand extends $Command< private serialize( input: UpdateArchiveRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateArchiveRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateArchiveRuleCommand(output, context); } diff --git a/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts b/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts index 9479aeb11272..9bf5856d1075 100644 --- a/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts +++ b/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFindingsCommandInput = UpdateFindingsRequest; @@ -65,14 +65,14 @@ export class UpdateFindingsCommand extends $Command< private serialize( input: UpdateFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFindingsCommand(output, context); } diff --git a/clients/client-accessanalyzer/protocols/Aws_restJson1_1.ts b/clients/client-accessanalyzer/protocols/Aws_restJson1_1.ts index 6c7ded39845f..d8d5fe921b40 100644 --- a/clients/client-accessanalyzer/protocols/Aws_restJson1_1.ts +++ b/clients/client-accessanalyzer/protocols/Aws_restJson1_1.ts @@ -3003,6 +3003,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts b/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts index 319001702531..659dbac6fd3d 100644 --- a/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts +++ b/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCertificateAuthorityAuditReportCommandInput = CreateCertificateAuthorityAuditReportRequest; @@ -72,7 +72,7 @@ export class CreateCertificateAuthorityAuditReportCommand extends $Command< private serialize( input: CreateCertificateAuthorityAuditReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCertificateAuthorityAuditReportCommand( input, @@ -82,7 +82,7 @@ export class CreateCertificateAuthorityAuditReportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommand( output, diff --git a/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts index afe3f75a4ade..5186c54dc118 100644 --- a/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCertificateAuthorityCommandInput = CreateCertificateAuthorityRequest; @@ -70,7 +70,7 @@ export class CreateCertificateAuthorityCommand extends $Command< private serialize( input: CreateCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCertificateAuthorityCommand( input, @@ -80,7 +80,7 @@ export class CreateCertificateAuthorityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCertificateAuthorityCommand( output, diff --git a/clients/client-acm-pca/commands/CreatePermissionCommand.ts b/clients/client-acm-pca/commands/CreatePermissionCommand.ts index 1e3f25fd6168..4c09f34eed8d 100644 --- a/clients/client-acm-pca/commands/CreatePermissionCommand.ts +++ b/clients/client-acm-pca/commands/CreatePermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePermissionCommandInput = CreatePermissionRequest; @@ -65,14 +65,14 @@ export class CreatePermissionCommand extends $Command< private serialize( input: CreatePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePermissionCommand(output, context); } diff --git a/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts index bf51a5cb34ac..5ecb8a0f360a 100644 --- a/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCertificateAuthorityCommandInput = DeleteCertificateAuthorityRequest; @@ -68,7 +68,7 @@ export class DeleteCertificateAuthorityCommand extends $Command< private serialize( input: DeleteCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCertificateAuthorityCommand( input, @@ -78,7 +78,7 @@ export class DeleteCertificateAuthorityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCertificateAuthorityCommand( output, diff --git a/clients/client-acm-pca/commands/DeletePermissionCommand.ts b/clients/client-acm-pca/commands/DeletePermissionCommand.ts index ee48e1971f6e..41bd869f6035 100644 --- a/clients/client-acm-pca/commands/DeletePermissionCommand.ts +++ b/clients/client-acm-pca/commands/DeletePermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePermissionCommandInput = DeletePermissionRequest; @@ -65,14 +65,14 @@ export class DeletePermissionCommand extends $Command< private serialize( input: DeletePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePermissionCommand(output, context); } diff --git a/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts b/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts index f2d5d8f72355..7778e54874e3 100644 --- a/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts +++ b/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCertificateAuthorityAuditReportCommandInput = DescribeCertificateAuthorityAuditReportRequest; @@ -72,7 +72,7 @@ export class DescribeCertificateAuthorityAuditReportCommand extends $Command< private serialize( input: DescribeCertificateAuthorityAuditReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand( input, @@ -82,7 +82,7 @@ export class DescribeCertificateAuthorityAuditReportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand( output, diff --git a/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts index 9eed05e3bf50..45c738a63ffd 100644 --- a/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCertificateAuthorityCommandInput = DescribeCertificateAuthorityRequest; @@ -70,7 +70,7 @@ export class DescribeCertificateAuthorityCommand extends $Command< private serialize( input: DescribeCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCertificateAuthorityCommand( input, @@ -80,7 +80,7 @@ export class DescribeCertificateAuthorityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCertificateAuthorityCommand( output, diff --git a/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts b/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts index 60f1bd655d06..1b5b8b112dde 100644 --- a/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts +++ b/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCertificateAuthorityCertificateCommandInput = GetCertificateAuthorityCertificateRequest; @@ -70,7 +70,7 @@ export class GetCertificateAuthorityCertificateCommand extends $Command< private serialize( input: GetCertificateAuthorityCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCertificateAuthorityCertificateCommand( input, @@ -80,7 +80,7 @@ export class GetCertificateAuthorityCertificateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCertificateAuthorityCertificateCommand( output, diff --git a/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts b/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts index 624cdd657316..aa57020a09da 100644 --- a/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts +++ b/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCertificateAuthorityCsrCommandInput = GetCertificateAuthorityCsrRequest; @@ -70,7 +70,7 @@ export class GetCertificateAuthorityCsrCommand extends $Command< private serialize( input: GetCertificateAuthorityCsrCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCertificateAuthorityCsrCommand( input, @@ -80,7 +80,7 @@ export class GetCertificateAuthorityCsrCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCertificateAuthorityCsrCommand( output, diff --git a/clients/client-acm-pca/commands/GetCertificateCommand.ts b/clients/client-acm-pca/commands/GetCertificateCommand.ts index e724e4b81506..d7e021d1c725 100644 --- a/clients/client-acm-pca/commands/GetCertificateCommand.ts +++ b/clients/client-acm-pca/commands/GetCertificateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCertificateCommandInput = GetCertificateRequest; @@ -64,14 +64,14 @@ export class GetCertificateCommand extends $Command< private serialize( input: GetCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCertificateCommand(output, context); } diff --git a/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts b/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts index b870619f2f5d..a6108214feb7 100644 --- a/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts +++ b/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportCertificateAuthorityCertificateCommandInput = ImportCertificateAuthorityCertificateRequest; @@ -70,7 +70,7 @@ export class ImportCertificateAuthorityCertificateCommand extends $Command< private serialize( input: ImportCertificateAuthorityCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportCertificateAuthorityCertificateCommand( input, @@ -80,7 +80,7 @@ export class ImportCertificateAuthorityCertificateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportCertificateAuthorityCertificateCommand( output, diff --git a/clients/client-acm-pca/commands/IssueCertificateCommand.ts b/clients/client-acm-pca/commands/IssueCertificateCommand.ts index f0cea5abf0be..09578936b2bf 100644 --- a/clients/client-acm-pca/commands/IssueCertificateCommand.ts +++ b/clients/client-acm-pca/commands/IssueCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type IssueCertificateCommandInput = IssueCertificateRequest; @@ -67,14 +67,14 @@ export class IssueCertificateCommand extends $Command< private serialize( input: IssueCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1IssueCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1IssueCertificateCommand(output, context); } diff --git a/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts b/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts index 4700332f3611..86f42abf0da8 100644 --- a/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts +++ b/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCertificateAuthoritiesCommandInput = ListCertificateAuthoritiesRequest; @@ -70,7 +70,7 @@ export class ListCertificateAuthoritiesCommand extends $Command< private serialize( input: ListCertificateAuthoritiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCertificateAuthoritiesCommand( input, @@ -80,7 +80,7 @@ export class ListCertificateAuthoritiesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCertificateAuthoritiesCommand( output, diff --git a/clients/client-acm-pca/commands/ListPermissionsCommand.ts b/clients/client-acm-pca/commands/ListPermissionsCommand.ts index 87105c246aff..de3bba41b691 100644 --- a/clients/client-acm-pca/commands/ListPermissionsCommand.ts +++ b/clients/client-acm-pca/commands/ListPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPermissionsCommandInput = ListPermissionsRequest; @@ -67,14 +67,14 @@ export class ListPermissionsCommand extends $Command< private serialize( input: ListPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPermissionsCommand(output, context); } diff --git a/clients/client-acm-pca/commands/ListTagsCommand.ts b/clients/client-acm-pca/commands/ListTagsCommand.ts index b702774eff4b..908b7fb492d7 100644 --- a/clients/client-acm-pca/commands/ListTagsCommand.ts +++ b/clients/client-acm-pca/commands/ListTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsCommandInput = ListTagsRequest; @@ -64,14 +64,14 @@ export class ListTagsCommand extends $Command< private serialize( input: ListTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsCommand(output, context); } diff --git a/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts index 216385e70935..c2b710754155 100644 --- a/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreCertificateAuthorityCommandInput = RestoreCertificateAuthorityRequest; @@ -68,7 +68,7 @@ export class RestoreCertificateAuthorityCommand extends $Command< private serialize( input: RestoreCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RestoreCertificateAuthorityCommand( input, @@ -78,7 +78,7 @@ export class RestoreCertificateAuthorityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RestoreCertificateAuthorityCommand( output, diff --git a/clients/client-acm-pca/commands/RevokeCertificateCommand.ts b/clients/client-acm-pca/commands/RevokeCertificateCommand.ts index 0248ce84aa1d..96df161e5903 100644 --- a/clients/client-acm-pca/commands/RevokeCertificateCommand.ts +++ b/clients/client-acm-pca/commands/RevokeCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeCertificateCommandInput = RevokeCertificateRequest; @@ -65,14 +65,14 @@ export class RevokeCertificateCommand extends $Command< private serialize( input: RevokeCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RevokeCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RevokeCertificateCommand(output, context); } diff --git a/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts index 53b9d7725b8e..72b0d85bb399 100644 --- a/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagCertificateAuthorityCommandInput = TagCertificateAuthorityRequest; @@ -68,14 +68,14 @@ export class TagCertificateAuthorityCommand extends $Command< private serialize( input: TagCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagCertificateAuthorityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagCertificateAuthorityCommand( output, diff --git a/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts index 69c765f276c4..6e866fa642fe 100644 --- a/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagCertificateAuthorityCommandInput = UntagCertificateAuthorityRequest; @@ -68,14 +68,14 @@ export class UntagCertificateAuthorityCommand extends $Command< private serialize( input: UntagCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagCertificateAuthorityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagCertificateAuthorityCommand( output, diff --git a/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts index 4bc81b9986cc..dfcbec9f804c 100644 --- a/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCertificateAuthorityCommandInput = UpdateCertificateAuthorityRequest; @@ -68,7 +68,7 @@ export class UpdateCertificateAuthorityCommand extends $Command< private serialize( input: UpdateCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateCertificateAuthorityCommand( input, @@ -78,7 +78,7 @@ export class UpdateCertificateAuthorityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateCertificateAuthorityCommand( output, diff --git a/clients/client-acm-pca/protocols/Aws_json1_1.ts b/clients/client-acm-pca/protocols/Aws_json1_1.ts index b7d5b2e46659..34e8328d46e1 100644 --- a/clients/client-acm-pca/protocols/Aws_json1_1.ts +++ b/clients/client-acm-pca/protocols/Aws_json1_1.ts @@ -3707,6 +3707,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-acm/commands/AddTagsToCertificateCommand.ts b/clients/client-acm/commands/AddTagsToCertificateCommand.ts index 159c330bf7ca..f461d224bc16 100644 --- a/clients/client-acm/commands/AddTagsToCertificateCommand.ts +++ b/clients/client-acm/commands/AddTagsToCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToCertificateCommandInput = AddTagsToCertificateRequest; @@ -68,14 +68,14 @@ export class AddTagsToCertificateCommand extends $Command< private serialize( input: AddTagsToCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsToCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsToCertificateCommand(output, context); } diff --git a/clients/client-acm/commands/DeleteCertificateCommand.ts b/clients/client-acm/commands/DeleteCertificateCommand.ts index 8ac2cfb06243..fb8e712cac91 100644 --- a/clients/client-acm/commands/DeleteCertificateCommand.ts +++ b/clients/client-acm/commands/DeleteCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCertificateCommandInput = DeleteCertificateRequest; @@ -65,14 +65,14 @@ export class DeleteCertificateCommand extends $Command< private serialize( input: DeleteCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCertificateCommand(output, context); } diff --git a/clients/client-acm/commands/DescribeCertificateCommand.ts b/clients/client-acm/commands/DescribeCertificateCommand.ts index 11778c03f38c..f0fb239f1ba4 100644 --- a/clients/client-acm/commands/DescribeCertificateCommand.ts +++ b/clients/client-acm/commands/DescribeCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCertificateCommandInput = DescribeCertificateRequest; @@ -70,14 +70,14 @@ export class DescribeCertificateCommand extends $Command< private serialize( input: DescribeCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCertificateCommand(output, context); } diff --git a/clients/client-acm/commands/ExportCertificateCommand.ts b/clients/client-acm/commands/ExportCertificateCommand.ts index 31f5e95591d3..f90091abdb15 100644 --- a/clients/client-acm/commands/ExportCertificateCommand.ts +++ b/clients/client-acm/commands/ExportCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportCertificateCommandInput = ExportCertificateRequest; @@ -67,14 +67,14 @@ export class ExportCertificateCommand extends $Command< private serialize( input: ExportCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ExportCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ExportCertificateCommand(output, context); } diff --git a/clients/client-acm/commands/GetCertificateCommand.ts b/clients/client-acm/commands/GetCertificateCommand.ts index 178e03cece02..664fd8fef097 100644 --- a/clients/client-acm/commands/GetCertificateCommand.ts +++ b/clients/client-acm/commands/GetCertificateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCertificateCommandInput = GetCertificateRequest; @@ -64,14 +64,14 @@ export class GetCertificateCommand extends $Command< private serialize( input: GetCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCertificateCommand(output, context); } diff --git a/clients/client-acm/commands/ImportCertificateCommand.ts b/clients/client-acm/commands/ImportCertificateCommand.ts index ff57bedf7250..ff906b458dd5 100644 --- a/clients/client-acm/commands/ImportCertificateCommand.ts +++ b/clients/client-acm/commands/ImportCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportCertificateCommandInput = ImportCertificateRequest; @@ -67,14 +67,14 @@ export class ImportCertificateCommand extends $Command< private serialize( input: ImportCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportCertificateCommand(output, context); } diff --git a/clients/client-acm/commands/ListCertificatesCommand.ts b/clients/client-acm/commands/ListCertificatesCommand.ts index 7794bcc247b1..8904433abcd2 100644 --- a/clients/client-acm/commands/ListCertificatesCommand.ts +++ b/clients/client-acm/commands/ListCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCertificatesCommandInput = ListCertificatesRequest; @@ -67,14 +67,14 @@ export class ListCertificatesCommand extends $Command< private serialize( input: ListCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCertificatesCommand(output, context); } diff --git a/clients/client-acm/commands/ListTagsForCertificateCommand.ts b/clients/client-acm/commands/ListTagsForCertificateCommand.ts index 88611a26e6b3..e2750d684c99 100644 --- a/clients/client-acm/commands/ListTagsForCertificateCommand.ts +++ b/clients/client-acm/commands/ListTagsForCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForCertificateCommandInput = ListTagsForCertificateRequest; @@ -70,14 +70,14 @@ export class ListTagsForCertificateCommand extends $Command< private serialize( input: ListTagsForCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForCertificateCommand(output, context); } diff --git a/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts b/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts index 421664254bed..21dbff3f4641 100644 --- a/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts +++ b/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromCertificateCommandInput = RemoveTagsFromCertificateRequest; @@ -68,14 +68,14 @@ export class RemoveTagsFromCertificateCommand extends $Command< private serialize( input: RemoveTagsFromCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTagsFromCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTagsFromCertificateCommand( output, diff --git a/clients/client-acm/commands/RenewCertificateCommand.ts b/clients/client-acm/commands/RenewCertificateCommand.ts index 76770dbfc368..27e93c377093 100644 --- a/clients/client-acm/commands/RenewCertificateCommand.ts +++ b/clients/client-acm/commands/RenewCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RenewCertificateCommandInput = RenewCertificateRequest; @@ -65,14 +65,14 @@ export class RenewCertificateCommand extends $Command< private serialize( input: RenewCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RenewCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RenewCertificateCommand(output, context); } diff --git a/clients/client-acm/commands/RequestCertificateCommand.ts b/clients/client-acm/commands/RequestCertificateCommand.ts index fc6559a6d861..c81eb4d0c086 100644 --- a/clients/client-acm/commands/RequestCertificateCommand.ts +++ b/clients/client-acm/commands/RequestCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RequestCertificateCommandInput = RequestCertificateRequest; @@ -67,14 +67,14 @@ export class RequestCertificateCommand extends $Command< private serialize( input: RequestCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RequestCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RequestCertificateCommand(output, context); } diff --git a/clients/client-acm/commands/ResendValidationEmailCommand.ts b/clients/client-acm/commands/ResendValidationEmailCommand.ts index 5e47d3507564..ae7f663d7f25 100644 --- a/clients/client-acm/commands/ResendValidationEmailCommand.ts +++ b/clients/client-acm/commands/ResendValidationEmailCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResendValidationEmailCommandInput = ResendValidationEmailRequest; @@ -68,14 +68,14 @@ export class ResendValidationEmailCommand extends $Command< private serialize( input: ResendValidationEmailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResendValidationEmailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResendValidationEmailCommand(output, context); } diff --git a/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts b/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts index c50dd74a3327..4373abd0e365 100644 --- a/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts +++ b/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCertificateOptionsCommandInput = UpdateCertificateOptionsRequest; @@ -68,14 +68,14 @@ export class UpdateCertificateOptionsCommand extends $Command< private serialize( input: UpdateCertificateOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateCertificateOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateCertificateOptionsCommand( output, diff --git a/clients/client-acm/protocols/Aws_json1_1.ts b/clients/client-acm/protocols/Aws_json1_1.ts index 4159708c529c..c70fddf934d8 100644 --- a/clients/client-acm/protocols/Aws_json1_1.ts +++ b/clients/client-acm/protocols/Aws_json1_1.ts @@ -2546,6 +2546,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts b/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts index b95d6bacc40c..fcdabdaf9e66 100644 --- a/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts +++ b/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ApproveSkillCommandInput = ApproveSkillRequest; @@ -64,14 +64,14 @@ export class ApproveSkillCommand extends $Command< private serialize( input: ApproveSkillCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ApproveSkillCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ApproveSkillCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts b/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts index 66aa31fce397..c6b1a5b65a0b 100644 --- a/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateContactWithAddressBookCommandInput = AssociateContactWithAddressBookRequest; @@ -70,7 +70,7 @@ export class AssociateContactWithAddressBookCommand extends $Command< private serialize( input: AssociateContactWithAddressBookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateContactWithAddressBookCommand( input, @@ -80,7 +80,7 @@ export class AssociateContactWithAddressBookCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateContactWithAddressBookCommand( output, diff --git a/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts index cc01d4c99b47..95e9f263d6a5 100644 --- a/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateDeviceWithNetworkProfileCommandInput = AssociateDeviceWithNetworkProfileRequest; @@ -70,7 +70,7 @@ export class AssociateDeviceWithNetworkProfileCommand extends $Command< private serialize( input: AssociateDeviceWithNetworkProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateDeviceWithNetworkProfileCommand( input, @@ -80,7 +80,7 @@ export class AssociateDeviceWithNetworkProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateDeviceWithNetworkProfileCommand( output, diff --git a/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts b/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts index 92299c9ba547..e4bf95a02355 100644 --- a/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateDeviceWithRoomCommandInput = AssociateDeviceWithRoomRequest; @@ -70,14 +70,14 @@ export class AssociateDeviceWithRoomCommand extends $Command< private serialize( input: AssociateDeviceWithRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateDeviceWithRoomCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateDeviceWithRoomCommand( output, diff --git a/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts b/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts index 9011d47651d5..47108d7d005f 100644 --- a/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateSkillGroupWithRoomCommandInput = AssociateSkillGroupWithRoomRequest; @@ -70,7 +70,7 @@ export class AssociateSkillGroupWithRoomCommand extends $Command< private serialize( input: AssociateSkillGroupWithRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateSkillGroupWithRoomCommand( input, @@ -80,7 +80,7 @@ export class AssociateSkillGroupWithRoomCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateSkillGroupWithRoomCommand( output, diff --git a/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts index 11cb2686c770..97914beb5c49 100644 --- a/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateSkillWithSkillGroupCommandInput = AssociateSkillWithSkillGroupRequest; @@ -70,7 +70,7 @@ export class AssociateSkillWithSkillGroupCommand extends $Command< private serialize( input: AssociateSkillWithSkillGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateSkillWithSkillGroupCommand( input, @@ -80,7 +80,7 @@ export class AssociateSkillWithSkillGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateSkillWithSkillGroupCommand( output, diff --git a/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts b/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts index ced7b0521169..88676dd9d8f9 100644 --- a/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateSkillWithUsersCommandInput = AssociateSkillWithUsersRequest; @@ -70,14 +70,14 @@ export class AssociateSkillWithUsersCommand extends $Command< private serialize( input: AssociateSkillWithUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateSkillWithUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateSkillWithUsersCommand( output, diff --git a/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts b/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts index d438b921a15a..bdbc7671ea19 100644 --- a/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAddressBookCommandInput = CreateAddressBookRequest; @@ -67,14 +67,14 @@ export class CreateAddressBookCommand extends $Command< private serialize( input: CreateAddressBookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAddressBookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAddressBookCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts b/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts index 7b5bb2cb1d01..6a46888ce25d 100644 --- a/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBusinessReportScheduleCommandInput = CreateBusinessReportScheduleRequest; @@ -70,7 +70,7 @@ export class CreateBusinessReportScheduleCommand extends $Command< private serialize( input: CreateBusinessReportScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateBusinessReportScheduleCommand( input, @@ -80,7 +80,7 @@ export class CreateBusinessReportScheduleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateBusinessReportScheduleCommand( output, diff --git a/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts index 3a7730219650..39e644b63033 100644 --- a/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConferenceProviderCommandInput = CreateConferenceProviderRequest; @@ -70,14 +70,14 @@ export class CreateConferenceProviderCommand extends $Command< private serialize( input: CreateConferenceProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateConferenceProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateConferenceProviderCommand( output, diff --git a/clients/client-alexa-for-business/commands/CreateContactCommand.ts b/clients/client-alexa-for-business/commands/CreateContactCommand.ts index 4b2649914563..e5559df35e91 100644 --- a/clients/client-alexa-for-business/commands/CreateContactCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateContactCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateContactCommandInput = CreateContactRequest; @@ -64,14 +64,14 @@ export class CreateContactCommand extends $Command< private serialize( input: CreateContactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateContactCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateContactCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts index 261d28e5fa4e..dc777f848660 100644 --- a/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGatewayGroupCommandInput = CreateGatewayGroupRequest; @@ -67,14 +67,14 @@ export class CreateGatewayGroupCommand extends $Command< private serialize( input: CreateGatewayGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateGatewayGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateGatewayGroupCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts index 3d493b6fcf40..ff59283b40a5 100644 --- a/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNetworkProfileCommandInput = CreateNetworkProfileRequest; @@ -70,14 +70,14 @@ export class CreateNetworkProfileCommand extends $Command< private serialize( input: CreateNetworkProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateNetworkProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateNetworkProfileCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/CreateProfileCommand.ts b/clients/client-alexa-for-business/commands/CreateProfileCommand.ts index 6251ff605f6c..5daa5c3370b0 100644 --- a/clients/client-alexa-for-business/commands/CreateProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateProfileCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProfileCommandInput = CreateProfileRequest; @@ -64,14 +64,14 @@ export class CreateProfileCommand extends $Command< private serialize( input: CreateProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProfileCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/CreateRoomCommand.ts b/clients/client-alexa-for-business/commands/CreateRoomCommand.ts index 72bead758797..7baf7f2361f1 100644 --- a/clients/client-alexa-for-business/commands/CreateRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateRoomCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRoomCommandInput = CreateRoomRequest; @@ -64,14 +64,14 @@ export class CreateRoomCommand extends $Command< private serialize( input: CreateRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRoomCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRoomCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts index afbdd1e2b6f6..76e45ab20353 100644 --- a/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSkillGroupCommandInput = CreateSkillGroupRequest; @@ -67,14 +67,14 @@ export class CreateSkillGroupCommand extends $Command< private serialize( input: CreateSkillGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSkillGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSkillGroupCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/CreateUserCommand.ts b/clients/client-alexa-for-business/commands/CreateUserCommand.ts index 74ec97034703..3fd320bb9559 100644 --- a/clients/client-alexa-for-business/commands/CreateUserCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserCommandInput = CreateUserRequest; @@ -64,14 +64,14 @@ export class CreateUserCommand extends $Command< private serialize( input: CreateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts b/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts index 5a7834be600b..0110f2e00f0e 100644 --- a/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAddressBookCommandInput = DeleteAddressBookRequest; @@ -67,14 +67,14 @@ export class DeleteAddressBookCommand extends $Command< private serialize( input: DeleteAddressBookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAddressBookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAddressBookCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts b/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts index 5fdaf1cc119a..644be85bc14a 100644 --- a/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBusinessReportScheduleCommandInput = DeleteBusinessReportScheduleRequest; @@ -70,7 +70,7 @@ export class DeleteBusinessReportScheduleCommand extends $Command< private serialize( input: DeleteBusinessReportScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteBusinessReportScheduleCommand( input, @@ -80,7 +80,7 @@ export class DeleteBusinessReportScheduleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteBusinessReportScheduleCommand( output, diff --git a/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts index 9faeeeb392aa..2b11e1b5fba9 100644 --- a/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConferenceProviderCommandInput = DeleteConferenceProviderRequest; @@ -70,14 +70,14 @@ export class DeleteConferenceProviderCommand extends $Command< private serialize( input: DeleteConferenceProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteConferenceProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteConferenceProviderCommand( output, diff --git a/clients/client-alexa-for-business/commands/DeleteContactCommand.ts b/clients/client-alexa-for-business/commands/DeleteContactCommand.ts index 0a39af2b3611..e56e85166078 100644 --- a/clients/client-alexa-for-business/commands/DeleteContactCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteContactCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteContactCommandInput = DeleteContactRequest; @@ -64,14 +64,14 @@ export class DeleteContactCommand extends $Command< private serialize( input: DeleteContactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteContactCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteContactCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts b/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts index 05f825ea58e5..f95cfac5a282 100644 --- a/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDeviceCommandInput = DeleteDeviceRequest; @@ -64,14 +64,14 @@ export class DeleteDeviceCommand extends $Command< private serialize( input: DeleteDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDeviceCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts b/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts index bf89ac66327b..f8bb1812557c 100644 --- a/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDeviceUsageDataCommandInput = DeleteDeviceUsageDataRequest; @@ -70,14 +70,14 @@ export class DeleteDeviceUsageDataCommand extends $Command< private serialize( input: DeleteDeviceUsageDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDeviceUsageDataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDeviceUsageDataCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts index 54be326c6240..d36ca1562637 100644 --- a/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGatewayGroupCommandInput = DeleteGatewayGroupRequest; @@ -67,14 +67,14 @@ export class DeleteGatewayGroupCommand extends $Command< private serialize( input: DeleteGatewayGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteGatewayGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteGatewayGroupCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts index 47f4e5659665..21831825d2b2 100644 --- a/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNetworkProfileCommandInput = DeleteNetworkProfileRequest; @@ -70,14 +70,14 @@ export class DeleteNetworkProfileCommand extends $Command< private serialize( input: DeleteNetworkProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteNetworkProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteNetworkProfileCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts b/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts index 31203a87373d..8fe5087d5a10 100644 --- a/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProfileCommandInput = DeleteProfileRequest; @@ -64,14 +64,14 @@ export class DeleteProfileCommand extends $Command< private serialize( input: DeleteProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteProfileCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts b/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts index a65da513776c..77ff0301260d 100644 --- a/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRoomCommandInput = DeleteRoomRequest; @@ -64,14 +64,14 @@ export class DeleteRoomCommand extends $Command< private serialize( input: DeleteRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRoomCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRoomCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts b/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts index dbe6b062b84d..748f9b879c05 100644 --- a/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRoomSkillParameterCommandInput = DeleteRoomSkillParameterRequest; @@ -70,14 +70,14 @@ export class DeleteRoomSkillParameterCommand extends $Command< private serialize( input: DeleteRoomSkillParameterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRoomSkillParameterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRoomSkillParameterCommand( output, diff --git a/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts b/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts index 770454714524..25a08c50406f 100644 --- a/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSkillAuthorizationCommandInput = DeleteSkillAuthorizationRequest; @@ -70,14 +70,14 @@ export class DeleteSkillAuthorizationCommand extends $Command< private serialize( input: DeleteSkillAuthorizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSkillAuthorizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSkillAuthorizationCommand( output, diff --git a/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts index 04df66f2bab7..57c2ce5d8b8f 100644 --- a/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSkillGroupCommandInput = DeleteSkillGroupRequest; @@ -67,14 +67,14 @@ export class DeleteSkillGroupCommand extends $Command< private serialize( input: DeleteSkillGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSkillGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSkillGroupCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/DeleteUserCommand.ts b/clients/client-alexa-for-business/commands/DeleteUserCommand.ts index 7ad52cf6a96e..b4b752ad7bee 100644 --- a/clients/client-alexa-for-business/commands/DeleteUserCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserCommandInput = DeleteUserRequest; @@ -64,14 +64,14 @@ export class DeleteUserCommand extends $Command< private serialize( input: DeleteUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts b/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts index 71c4509b740a..a1596d21df76 100644 --- a/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateContactFromAddressBookCommandInput = DisassociateContactFromAddressBookRequest; @@ -70,7 +70,7 @@ export class DisassociateContactFromAddressBookCommand extends $Command< private serialize( input: DisassociateContactFromAddressBookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateContactFromAddressBookCommand( input, @@ -80,7 +80,7 @@ export class DisassociateContactFromAddressBookCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateContactFromAddressBookCommand( output, diff --git a/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts b/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts index 2611f8626a8d..c784f1c0ba26 100644 --- a/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateDeviceFromRoomCommandInput = DisassociateDeviceFromRoomRequest; @@ -70,7 +70,7 @@ export class DisassociateDeviceFromRoomCommand extends $Command< private serialize( input: DisassociateDeviceFromRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateDeviceFromRoomCommand( input, @@ -80,7 +80,7 @@ export class DisassociateDeviceFromRoomCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateDeviceFromRoomCommand( output, diff --git a/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts index c893c6fc28d9..4880f1c8ca33 100644 --- a/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateSkillFromSkillGroupCommandInput = DisassociateSkillFromSkillGroupRequest; @@ -70,7 +70,7 @@ export class DisassociateSkillFromSkillGroupCommand extends $Command< private serialize( input: DisassociateSkillFromSkillGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateSkillFromSkillGroupCommand( input, @@ -80,7 +80,7 @@ export class DisassociateSkillFromSkillGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateSkillFromSkillGroupCommand( output, diff --git a/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts b/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts index 67e69e84e9aa..a266a3d87ebd 100644 --- a/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts +++ b/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateSkillFromUsersCommandInput = DisassociateSkillFromUsersRequest; @@ -70,7 +70,7 @@ export class DisassociateSkillFromUsersCommand extends $Command< private serialize( input: DisassociateSkillFromUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateSkillFromUsersCommand( input, @@ -80,7 +80,7 @@ export class DisassociateSkillFromUsersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateSkillFromUsersCommand( output, diff --git a/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts b/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts index 639cf7f15ac4..a75c1425fc91 100644 --- a/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateSkillGroupFromRoomCommandInput = DisassociateSkillGroupFromRoomRequest; @@ -70,7 +70,7 @@ export class DisassociateSkillGroupFromRoomCommand extends $Command< private serialize( input: DisassociateSkillGroupFromRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateSkillGroupFromRoomCommand( input, @@ -80,7 +80,7 @@ export class DisassociateSkillGroupFromRoomCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateSkillGroupFromRoomCommand( output, diff --git a/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts b/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts index f7535a26e794..a310c9769398 100644 --- a/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts +++ b/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ForgetSmartHomeAppliancesCommandInput = ForgetSmartHomeAppliancesRequest; @@ -70,14 +70,14 @@ export class ForgetSmartHomeAppliancesCommand extends $Command< private serialize( input: ForgetSmartHomeAppliancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ForgetSmartHomeAppliancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ForgetSmartHomeAppliancesCommand( output, diff --git a/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts b/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts index ab4e5162a87b..1f5b3ca76508 100644 --- a/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAddressBookCommandInput = GetAddressBookRequest; @@ -64,14 +64,14 @@ export class GetAddressBookCommand extends $Command< private serialize( input: GetAddressBookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAddressBookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAddressBookCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts b/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts index 558e4bbeecfe..47c282563545 100644 --- a/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts +++ b/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConferencePreferenceCommandInput = GetConferencePreferenceRequest; @@ -70,14 +70,14 @@ export class GetConferencePreferenceCommand extends $Command< private serialize( input: GetConferencePreferenceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetConferencePreferenceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetConferencePreferenceCommand( output, diff --git a/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts index b5a5404b34ba..2726bbbc62d7 100644 --- a/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts +++ b/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConferenceProviderCommandInput = GetConferenceProviderRequest; @@ -70,14 +70,14 @@ export class GetConferenceProviderCommand extends $Command< private serialize( input: GetConferenceProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetConferenceProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetConferenceProviderCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/GetContactCommand.ts b/clients/client-alexa-for-business/commands/GetContactCommand.ts index f715adfff4d3..c3e76a9b1eda 100644 --- a/clients/client-alexa-for-business/commands/GetContactCommand.ts +++ b/clients/client-alexa-for-business/commands/GetContactCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetContactCommandInput = GetContactRequest; @@ -64,14 +64,14 @@ export class GetContactCommand extends $Command< private serialize( input: GetContactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetContactCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetContactCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/GetDeviceCommand.ts b/clients/client-alexa-for-business/commands/GetDeviceCommand.ts index 3b9da2239f58..6fdad1f343c5 100644 --- a/clients/client-alexa-for-business/commands/GetDeviceCommand.ts +++ b/clients/client-alexa-for-business/commands/GetDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeviceCommandInput = GetDeviceRequest; @@ -64,14 +64,14 @@ export class GetDeviceCommand extends $Command< private serialize( input: GetDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDeviceCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/GetGatewayCommand.ts b/clients/client-alexa-for-business/commands/GetGatewayCommand.ts index 2a4643af7fc2..b8afcac7cd89 100644 --- a/clients/client-alexa-for-business/commands/GetGatewayCommand.ts +++ b/clients/client-alexa-for-business/commands/GetGatewayCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGatewayCommandInput = GetGatewayRequest; @@ -64,14 +64,14 @@ export class GetGatewayCommand extends $Command< private serialize( input: GetGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetGatewayCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts index 6e4829834c1f..183a0c979eff 100644 --- a/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGatewayGroupCommandInput = GetGatewayGroupRequest; @@ -67,14 +67,14 @@ export class GetGatewayGroupCommand extends $Command< private serialize( input: GetGatewayGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetGatewayGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetGatewayGroupCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts b/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts index fd0034de8027..cfb74952e001 100644 --- a/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts +++ b/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInvitationConfigurationCommandInput = GetInvitationConfigurationRequest; @@ -70,7 +70,7 @@ export class GetInvitationConfigurationCommand extends $Command< private serialize( input: GetInvitationConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInvitationConfigurationCommand( input, @@ -80,7 +80,7 @@ export class GetInvitationConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInvitationConfigurationCommand( output, diff --git a/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts index 32bb4d6e89f4..eb773080875e 100644 --- a/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetNetworkProfileCommandInput = GetNetworkProfileRequest; @@ -67,14 +67,14 @@ export class GetNetworkProfileCommand extends $Command< private serialize( input: GetNetworkProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetNetworkProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetNetworkProfileCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/GetProfileCommand.ts b/clients/client-alexa-for-business/commands/GetProfileCommand.ts index 8991f8ff83a1..4d3e41974c8a 100644 --- a/clients/client-alexa-for-business/commands/GetProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/GetProfileCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetProfileCommandInput = GetProfileRequest; @@ -64,14 +64,14 @@ export class GetProfileCommand extends $Command< private serialize( input: GetProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetProfileCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/GetRoomCommand.ts b/clients/client-alexa-for-business/commands/GetRoomCommand.ts index 794d12f8d1f3..724d7f8576c3 100644 --- a/clients/client-alexa-for-business/commands/GetRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/GetRoomCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRoomCommandInput = GetRoomRequest; @@ -64,14 +64,14 @@ export class GetRoomCommand extends $Command< private serialize( input: GetRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRoomCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRoomCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts b/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts index 9c5ee7ab72a4..e2bd28370fc9 100644 --- a/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts +++ b/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRoomSkillParameterCommandInput = GetRoomSkillParameterRequest; @@ -70,14 +70,14 @@ export class GetRoomSkillParameterCommand extends $Command< private serialize( input: GetRoomSkillParameterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRoomSkillParameterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRoomSkillParameterCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts index 707f40bbb444..fca4c9a4577c 100644 --- a/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSkillGroupCommandInput = GetSkillGroupRequest; @@ -64,14 +64,14 @@ export class GetSkillGroupCommand extends $Command< private serialize( input: GetSkillGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSkillGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSkillGroupCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts b/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts index 04a274ce2215..08e9f86d8a0f 100644 --- a/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts +++ b/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBusinessReportSchedulesCommandInput = ListBusinessReportSchedulesRequest; @@ -70,7 +70,7 @@ export class ListBusinessReportSchedulesCommand extends $Command< private serialize( input: ListBusinessReportSchedulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListBusinessReportSchedulesCommand( input, @@ -80,7 +80,7 @@ export class ListBusinessReportSchedulesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListBusinessReportSchedulesCommand( output, diff --git a/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts b/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts index e4904360b2dc..56ad258564a5 100644 --- a/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts +++ b/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConferenceProvidersCommandInput = ListConferenceProvidersRequest; @@ -70,14 +70,14 @@ export class ListConferenceProvidersCommand extends $Command< private serialize( input: ListConferenceProvidersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListConferenceProvidersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListConferenceProvidersCommand( output, diff --git a/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts b/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts index 7f92fc4de3c3..3794fb6b1624 100644 --- a/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts +++ b/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeviceEventsCommandInput = ListDeviceEventsRequest; @@ -67,14 +67,14 @@ export class ListDeviceEventsCommand extends $Command< private serialize( input: ListDeviceEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDeviceEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDeviceEventsCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts b/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts index 91cc4bbed2a9..71aa6d939908 100644 --- a/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts +++ b/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGatewayGroupsCommandInput = ListGatewayGroupsRequest; @@ -67,14 +67,14 @@ export class ListGatewayGroupsCommand extends $Command< private serialize( input: ListGatewayGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListGatewayGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListGatewayGroupsCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts b/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts index 691d2becb084..2b8d28212afd 100644 --- a/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts +++ b/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGatewaysCommandInput = ListGatewaysRequest; @@ -64,14 +64,14 @@ export class ListGatewaysCommand extends $Command< private serialize( input: ListGatewaysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListGatewaysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListGatewaysCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/ListSkillsCommand.ts b/clients/client-alexa-for-business/commands/ListSkillsCommand.ts index 5bab5e9fc683..be9b4a3791e1 100644 --- a/clients/client-alexa-for-business/commands/ListSkillsCommand.ts +++ b/clients/client-alexa-for-business/commands/ListSkillsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSkillsCommandInput = ListSkillsRequest; @@ -64,14 +64,14 @@ export class ListSkillsCommand extends $Command< private serialize( input: ListSkillsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSkillsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSkillsCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts b/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts index a1c7d98683e5..dd907072af0c 100644 --- a/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts +++ b/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSkillsStoreCategoriesCommandInput = ListSkillsStoreCategoriesRequest; @@ -70,14 +70,14 @@ export class ListSkillsStoreCategoriesCommand extends $Command< private serialize( input: ListSkillsStoreCategoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSkillsStoreCategoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSkillsStoreCategoriesCommand( output, diff --git a/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts b/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts index a7f5446aefd5..dd368b9ccb9d 100644 --- a/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts +++ b/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSkillsStoreSkillsByCategoryCommandInput = ListSkillsStoreSkillsByCategoryRequest; @@ -70,7 +70,7 @@ export class ListSkillsStoreSkillsByCategoryCommand extends $Command< private serialize( input: ListSkillsStoreSkillsByCategoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSkillsStoreSkillsByCategoryCommand( input, @@ -80,7 +80,7 @@ export class ListSkillsStoreSkillsByCategoryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSkillsStoreSkillsByCategoryCommand( output, diff --git a/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts b/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts index e2619af2e59c..5e03381437b9 100644 --- a/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts +++ b/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSmartHomeAppliancesCommandInput = ListSmartHomeAppliancesRequest; @@ -70,14 +70,14 @@ export class ListSmartHomeAppliancesCommand extends $Command< private serialize( input: ListSmartHomeAppliancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSmartHomeAppliancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSmartHomeAppliancesCommand( output, diff --git a/clients/client-alexa-for-business/commands/ListTagsCommand.ts b/clients/client-alexa-for-business/commands/ListTagsCommand.ts index 657731ef0dbe..c04fd4810593 100644 --- a/clients/client-alexa-for-business/commands/ListTagsCommand.ts +++ b/clients/client-alexa-for-business/commands/ListTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsCommandInput = ListTagsRequest; @@ -64,14 +64,14 @@ export class ListTagsCommand extends $Command< private serialize( input: ListTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts b/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts index e77115df236a..914116948465 100644 --- a/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts +++ b/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConferencePreferenceCommandInput = PutConferencePreferenceRequest; @@ -70,14 +70,14 @@ export class PutConferencePreferenceCommand extends $Command< private serialize( input: PutConferencePreferenceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutConferencePreferenceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutConferencePreferenceCommand( output, diff --git a/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts b/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts index 5d81d4c94655..c6b386f9b3a6 100644 --- a/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts +++ b/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutInvitationConfigurationCommandInput = PutInvitationConfigurationRequest; @@ -70,7 +70,7 @@ export class PutInvitationConfigurationCommand extends $Command< private serialize( input: PutInvitationConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutInvitationConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutInvitationConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutInvitationConfigurationCommand( output, diff --git a/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts b/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts index 5107f774ccd0..b4ebbbe15c4a 100644 --- a/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts +++ b/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRoomSkillParameterCommandInput = PutRoomSkillParameterRequest; @@ -70,14 +70,14 @@ export class PutRoomSkillParameterCommand extends $Command< private serialize( input: PutRoomSkillParameterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRoomSkillParameterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRoomSkillParameterCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts b/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts index 33624c142941..f74cc31d9fff 100644 --- a/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts +++ b/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutSkillAuthorizationCommandInput = PutSkillAuthorizationRequest; @@ -70,14 +70,14 @@ export class PutSkillAuthorizationCommand extends $Command< private serialize( input: PutSkillAuthorizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutSkillAuthorizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutSkillAuthorizationCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts b/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts index d1cd348aa460..d5b6116a1485 100644 --- a/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts +++ b/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterAVSDeviceCommandInput = RegisterAVSDeviceRequest; @@ -67,14 +67,14 @@ export class RegisterAVSDeviceCommand extends $Command< private serialize( input: RegisterAVSDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterAVSDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterAVSDeviceCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/RejectSkillCommand.ts b/clients/client-alexa-for-business/commands/RejectSkillCommand.ts index d097dcfcad4e..d9a1cad421cf 100644 --- a/clients/client-alexa-for-business/commands/RejectSkillCommand.ts +++ b/clients/client-alexa-for-business/commands/RejectSkillCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectSkillCommandInput = RejectSkillRequest; @@ -64,14 +64,14 @@ export class RejectSkillCommand extends $Command< private serialize( input: RejectSkillCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RejectSkillCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RejectSkillCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts b/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts index c1fc119e69e9..5caa4355ddde 100644 --- a/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResolveRoomCommandInput = ResolveRoomRequest; @@ -64,14 +64,14 @@ export class ResolveRoomCommand extends $Command< private serialize( input: ResolveRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResolveRoomCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResolveRoomCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts b/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts index d651334723b9..114582714e99 100644 --- a/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts +++ b/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeInvitationCommandInput = RevokeInvitationRequest; @@ -67,14 +67,14 @@ export class RevokeInvitationCommand extends $Command< private serialize( input: RevokeInvitationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RevokeInvitationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RevokeInvitationCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts b/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts index 4951c370d369..9644a52f0f0f 100644 --- a/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchAddressBooksCommandInput = SearchAddressBooksRequest; @@ -67,14 +67,14 @@ export class SearchAddressBooksCommand extends $Command< private serialize( input: SearchAddressBooksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchAddressBooksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchAddressBooksCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/SearchContactsCommand.ts b/clients/client-alexa-for-business/commands/SearchContactsCommand.ts index 6f9eab91d391..96789b44e212 100644 --- a/clients/client-alexa-for-business/commands/SearchContactsCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchContactsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchContactsCommandInput = SearchContactsRequest; @@ -64,14 +64,14 @@ export class SearchContactsCommand extends $Command< private serialize( input: SearchContactsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchContactsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchContactsCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts b/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts index b377836efd08..639fe8a1daf8 100644 --- a/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchDevicesCommandInput = SearchDevicesRequest; @@ -64,14 +64,14 @@ export class SearchDevicesCommand extends $Command< private serialize( input: SearchDevicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchDevicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchDevicesCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts b/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts index c248ff1f898d..aede57f20da5 100644 --- a/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchNetworkProfilesCommandInput = SearchNetworkProfilesRequest; @@ -70,14 +70,14 @@ export class SearchNetworkProfilesCommand extends $Command< private serialize( input: SearchNetworkProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchNetworkProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchNetworkProfilesCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts b/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts index 53973111b108..3ab6edbe0d7c 100644 --- a/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchProfilesCommandInput = SearchProfilesRequest; @@ -64,14 +64,14 @@ export class SearchProfilesCommand extends $Command< private serialize( input: SearchProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchProfilesCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts b/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts index cd0db6f46e78..886484f0b166 100644 --- a/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchRoomsCommandInput = SearchRoomsRequest; @@ -64,14 +64,14 @@ export class SearchRoomsCommand extends $Command< private serialize( input: SearchRoomsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchRoomsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchRoomsCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts b/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts index dc448c5068e3..fde6f0b141d0 100644 --- a/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchSkillGroupsCommandInput = SearchSkillGroupsRequest; @@ -67,14 +67,14 @@ export class SearchSkillGroupsCommand extends $Command< private serialize( input: SearchSkillGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchSkillGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchSkillGroupsCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/SearchUsersCommand.ts b/clients/client-alexa-for-business/commands/SearchUsersCommand.ts index 19f9107e9d3b..78ebdceb94af 100644 --- a/clients/client-alexa-for-business/commands/SearchUsersCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchUsersCommandInput = SearchUsersRequest; @@ -64,14 +64,14 @@ export class SearchUsersCommand extends $Command< private serialize( input: SearchUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchUsersCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts b/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts index 31d54047bbeb..7749d6cb1997 100644 --- a/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts +++ b/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendAnnouncementCommandInput = SendAnnouncementRequest; @@ -67,14 +67,14 @@ export class SendAnnouncementCommand extends $Command< private serialize( input: SendAnnouncementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SendAnnouncementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SendAnnouncementCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/SendInvitationCommand.ts b/clients/client-alexa-for-business/commands/SendInvitationCommand.ts index 02ab8203aa6e..6008f8ea6a4c 100644 --- a/clients/client-alexa-for-business/commands/SendInvitationCommand.ts +++ b/clients/client-alexa-for-business/commands/SendInvitationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendInvitationCommandInput = SendInvitationRequest; @@ -64,14 +64,14 @@ export class SendInvitationCommand extends $Command< private serialize( input: SendInvitationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SendInvitationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SendInvitationCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts b/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts index a03553e0bd08..6f79e8387f9e 100644 --- a/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts +++ b/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDeviceSyncCommandInput = StartDeviceSyncRequest; @@ -67,14 +67,14 @@ export class StartDeviceSyncCommand extends $Command< private serialize( input: StartDeviceSyncCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartDeviceSyncCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartDeviceSyncCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts b/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts index ef69434e8965..628555cf4cb8 100644 --- a/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts +++ b/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartSmartHomeApplianceDiscoveryCommandInput = StartSmartHomeApplianceDiscoveryRequest; @@ -70,7 +70,7 @@ export class StartSmartHomeApplianceDiscoveryCommand extends $Command< private serialize( input: StartSmartHomeApplianceDiscoveryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartSmartHomeApplianceDiscoveryCommand( input, @@ -80,7 +80,7 @@ export class StartSmartHomeApplianceDiscoveryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartSmartHomeApplianceDiscoveryCommand( output, diff --git a/clients/client-alexa-for-business/commands/TagResourceCommand.ts b/clients/client-alexa-for-business/commands/TagResourceCommand.ts index d51e5389316b..c7e54a026c60 100644 --- a/clients/client-alexa-for-business/commands/TagResourceCommand.ts +++ b/clients/client-alexa-for-business/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/UntagResourceCommand.ts b/clients/client-alexa-for-business/commands/UntagResourceCommand.ts index 73954e9d07d2..25bf45d41234 100644 --- a/clients/client-alexa-for-business/commands/UntagResourceCommand.ts +++ b/clients/client-alexa-for-business/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts b/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts index 443eb5bf0206..ad1b134cf8c9 100644 --- a/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAddressBookCommandInput = UpdateAddressBookRequest; @@ -67,14 +67,14 @@ export class UpdateAddressBookCommand extends $Command< private serialize( input: UpdateAddressBookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAddressBookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAddressBookCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts b/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts index 58c897818f08..1094049c75c7 100644 --- a/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBusinessReportScheduleCommandInput = UpdateBusinessReportScheduleRequest; @@ -70,7 +70,7 @@ export class UpdateBusinessReportScheduleCommand extends $Command< private serialize( input: UpdateBusinessReportScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateBusinessReportScheduleCommand( input, @@ -80,7 +80,7 @@ export class UpdateBusinessReportScheduleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateBusinessReportScheduleCommand( output, diff --git a/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts index 759ac11c34fc..80a3897ec679 100644 --- a/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConferenceProviderCommandInput = UpdateConferenceProviderRequest; @@ -70,14 +70,14 @@ export class UpdateConferenceProviderCommand extends $Command< private serialize( input: UpdateConferenceProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateConferenceProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateConferenceProviderCommand( output, diff --git a/clients/client-alexa-for-business/commands/UpdateContactCommand.ts b/clients/client-alexa-for-business/commands/UpdateContactCommand.ts index 370e4bfa2055..05bbfde4c411 100644 --- a/clients/client-alexa-for-business/commands/UpdateContactCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateContactCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateContactCommandInput = UpdateContactRequest; @@ -64,14 +64,14 @@ export class UpdateContactCommand extends $Command< private serialize( input: UpdateContactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateContactCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateContactCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts b/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts index 1a12b22a6115..61bb9be80440 100644 --- a/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDeviceCommandInput = UpdateDeviceRequest; @@ -64,14 +64,14 @@ export class UpdateDeviceCommand extends $Command< private serialize( input: UpdateDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDeviceCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts b/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts index 577efee80abb..44469a2f2f9f 100644 --- a/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGatewayCommandInput = UpdateGatewayRequest; @@ -64,14 +64,14 @@ export class UpdateGatewayCommand extends $Command< private serialize( input: UpdateGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateGatewayCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts index dc12a4358181..0788a126a4b4 100644 --- a/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGatewayGroupCommandInput = UpdateGatewayGroupRequest; @@ -67,14 +67,14 @@ export class UpdateGatewayGroupCommand extends $Command< private serialize( input: UpdateGatewayGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateGatewayGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateGatewayGroupCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts index 009c0bc1414c..6bb62feb74aa 100644 --- a/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateNetworkProfileCommandInput = UpdateNetworkProfileRequest; @@ -70,14 +70,14 @@ export class UpdateNetworkProfileCommand extends $Command< private serialize( input: UpdateNetworkProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateNetworkProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateNetworkProfileCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts b/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts index ebac5784f60c..146cf4a84bbc 100644 --- a/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProfileCommandInput = UpdateProfileRequest; @@ -64,14 +64,14 @@ export class UpdateProfileCommand extends $Command< private serialize( input: UpdateProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateProfileCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts b/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts index 6c488aac0aff..2d46a985be9f 100644 --- a/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRoomCommandInput = UpdateRoomRequest; @@ -64,14 +64,14 @@ export class UpdateRoomCommand extends $Command< private serialize( input: UpdateRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRoomCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRoomCommand(output, context); } diff --git a/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts index 26b9b3e71672..884850a39965 100644 --- a/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSkillGroupCommandInput = UpdateSkillGroupRequest; @@ -67,14 +67,14 @@ export class UpdateSkillGroupCommand extends $Command< private serialize( input: UpdateSkillGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSkillGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSkillGroupCommand(output, context); } diff --git a/clients/client-alexa-for-business/protocols/Aws_json1_1.ts b/clients/client-alexa-for-business/protocols/Aws_json1_1.ts index d6660c43d751..259a735cbfc1 100644 --- a/clients/client-alexa-for-business/protocols/Aws_json1_1.ts +++ b/clients/client-alexa-for-business/protocols/Aws_json1_1.ts @@ -13541,6 +13541,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-amplify/commands/CreateAppCommand.ts b/clients/client-amplify/commands/CreateAppCommand.ts index ecc4eb736d66..e9a37bb4bf07 100644 --- a/clients/client-amplify/commands/CreateAppCommand.ts +++ b/clients/client-amplify/commands/CreateAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAppCommandInput = CreateAppRequest; @@ -64,14 +64,14 @@ export class CreateAppCommand extends $Command< private serialize( input: CreateAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateAppCommand(output, context); } diff --git a/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts b/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts index f73dc9aedff4..e1f61ecd7ff5 100644 --- a/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts +++ b/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBackendEnvironmentCommandInput = CreateBackendEnvironmentRequest; @@ -70,7 +70,7 @@ export class CreateBackendEnvironmentCommand extends $Command< private serialize( input: CreateBackendEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateBackendEnvironmentCommand( input, @@ -80,7 +80,7 @@ export class CreateBackendEnvironmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateBackendEnvironmentCommand( output, diff --git a/clients/client-amplify/commands/CreateBranchCommand.ts b/clients/client-amplify/commands/CreateBranchCommand.ts index 2a3fb169156c..eda3e10a2be1 100644 --- a/clients/client-amplify/commands/CreateBranchCommand.ts +++ b/clients/client-amplify/commands/CreateBranchCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBranchCommandInput = CreateBranchRequest; @@ -64,14 +64,14 @@ export class CreateBranchCommand extends $Command< private serialize( input: CreateBranchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateBranchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateBranchCommand(output, context); } diff --git a/clients/client-amplify/commands/CreateDeploymentCommand.ts b/clients/client-amplify/commands/CreateDeploymentCommand.ts index 553ed49e83b2..198fe82aa064 100644 --- a/clients/client-amplify/commands/CreateDeploymentCommand.ts +++ b/clients/client-amplify/commands/CreateDeploymentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeploymentCommandInput = CreateDeploymentRequest; @@ -67,14 +67,14 @@ export class CreateDeploymentCommand extends $Command< private serialize( input: CreateDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDeploymentCommand(output, context); } diff --git a/clients/client-amplify/commands/CreateDomainAssociationCommand.ts b/clients/client-amplify/commands/CreateDomainAssociationCommand.ts index ceebb9ff3402..669fa3a37fe2 100644 --- a/clients/client-amplify/commands/CreateDomainAssociationCommand.ts +++ b/clients/client-amplify/commands/CreateDomainAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDomainAssociationCommandInput = CreateDomainAssociationRequest; @@ -70,7 +70,7 @@ export class CreateDomainAssociationCommand extends $Command< private serialize( input: CreateDomainAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDomainAssociationCommand( input, @@ -80,7 +80,7 @@ export class CreateDomainAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDomainAssociationCommand( output, diff --git a/clients/client-amplify/commands/CreateWebhookCommand.ts b/clients/client-amplify/commands/CreateWebhookCommand.ts index 924077c385f7..6e4d19f7b849 100644 --- a/clients/client-amplify/commands/CreateWebhookCommand.ts +++ b/clients/client-amplify/commands/CreateWebhookCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateWebhookCommandInput = CreateWebhookRequest; @@ -64,14 +64,14 @@ export class CreateWebhookCommand extends $Command< private serialize( input: CreateWebhookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateWebhookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateWebhookCommand(output, context); } diff --git a/clients/client-amplify/commands/DeleteAppCommand.ts b/clients/client-amplify/commands/DeleteAppCommand.ts index be8c445af1b7..616ee158c200 100644 --- a/clients/client-amplify/commands/DeleteAppCommand.ts +++ b/clients/client-amplify/commands/DeleteAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAppCommandInput = DeleteAppRequest; @@ -64,14 +64,14 @@ export class DeleteAppCommand extends $Command< private serialize( input: DeleteAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAppCommand(output, context); } diff --git a/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts b/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts index 9d5031b284ad..03bc1aa29ed9 100644 --- a/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts +++ b/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBackendEnvironmentCommandInput = DeleteBackendEnvironmentRequest; @@ -70,7 +70,7 @@ export class DeleteBackendEnvironmentCommand extends $Command< private serialize( input: DeleteBackendEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBackendEnvironmentCommand( input, @@ -80,7 +80,7 @@ export class DeleteBackendEnvironmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBackendEnvironmentCommand( output, diff --git a/clients/client-amplify/commands/DeleteBranchCommand.ts b/clients/client-amplify/commands/DeleteBranchCommand.ts index 641d6e3364e1..524d3f847475 100644 --- a/clients/client-amplify/commands/DeleteBranchCommand.ts +++ b/clients/client-amplify/commands/DeleteBranchCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBranchCommandInput = DeleteBranchRequest; @@ -64,14 +64,14 @@ export class DeleteBranchCommand extends $Command< private serialize( input: DeleteBranchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBranchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBranchCommand(output, context); } diff --git a/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts b/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts index 4d82746235ef..d7f8fa6cbddc 100644 --- a/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts +++ b/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDomainAssociationCommandInput = DeleteDomainAssociationRequest; @@ -70,7 +70,7 @@ export class DeleteDomainAssociationCommand extends $Command< private serialize( input: DeleteDomainAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDomainAssociationCommand( input, @@ -80,7 +80,7 @@ export class DeleteDomainAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDomainAssociationCommand( output, diff --git a/clients/client-amplify/commands/DeleteJobCommand.ts b/clients/client-amplify/commands/DeleteJobCommand.ts index 7615e761903e..8775b9ebbc52 100644 --- a/clients/client-amplify/commands/DeleteJobCommand.ts +++ b/clients/client-amplify/commands/DeleteJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteJobCommandInput = DeleteJobRequest; @@ -64,14 +64,14 @@ export class DeleteJobCommand extends $Command< private serialize( input: DeleteJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteJobCommand(output, context); } diff --git a/clients/client-amplify/commands/DeleteWebhookCommand.ts b/clients/client-amplify/commands/DeleteWebhookCommand.ts index d55a677e806d..e246a0ac88bb 100644 --- a/clients/client-amplify/commands/DeleteWebhookCommand.ts +++ b/clients/client-amplify/commands/DeleteWebhookCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteWebhookCommandInput = DeleteWebhookRequest; @@ -64,14 +64,14 @@ export class DeleteWebhookCommand extends $Command< private serialize( input: DeleteWebhookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteWebhookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteWebhookCommand(output, context); } diff --git a/clients/client-amplify/commands/GenerateAccessLogsCommand.ts b/clients/client-amplify/commands/GenerateAccessLogsCommand.ts index 5f63f32acdbb..8328d26e03ff 100644 --- a/clients/client-amplify/commands/GenerateAccessLogsCommand.ts +++ b/clients/client-amplify/commands/GenerateAccessLogsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateAccessLogsCommandInput = GenerateAccessLogsRequest; @@ -67,14 +67,14 @@ export class GenerateAccessLogsCommand extends $Command< private serialize( input: GenerateAccessLogsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GenerateAccessLogsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GenerateAccessLogsCommand(output, context); } diff --git a/clients/client-amplify/commands/GetAppCommand.ts b/clients/client-amplify/commands/GetAppCommand.ts index 6b474c95be8b..b1b4b59e6dd9 100644 --- a/clients/client-amplify/commands/GetAppCommand.ts +++ b/clients/client-amplify/commands/GetAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAppCommandInput = GetAppRequest; @@ -64,14 +64,14 @@ export class GetAppCommand extends $Command< private serialize( input: GetAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAppCommand(output, context); } diff --git a/clients/client-amplify/commands/GetArtifactUrlCommand.ts b/clients/client-amplify/commands/GetArtifactUrlCommand.ts index 2903a952e0f8..823f9f88fe1b 100644 --- a/clients/client-amplify/commands/GetArtifactUrlCommand.ts +++ b/clients/client-amplify/commands/GetArtifactUrlCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetArtifactUrlCommandInput = GetArtifactUrlRequest; @@ -64,14 +64,14 @@ export class GetArtifactUrlCommand extends $Command< private serialize( input: GetArtifactUrlCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetArtifactUrlCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetArtifactUrlCommand(output, context); } diff --git a/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts b/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts index 7eb8262df5f5..ac7e1c7aacaa 100644 --- a/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts +++ b/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBackendEnvironmentCommandInput = GetBackendEnvironmentRequest; @@ -70,14 +70,14 @@ export class GetBackendEnvironmentCommand extends $Command< private serialize( input: GetBackendEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBackendEnvironmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBackendEnvironmentCommand( output, diff --git a/clients/client-amplify/commands/GetBranchCommand.ts b/clients/client-amplify/commands/GetBranchCommand.ts index ab5d57265dc9..d473b0a59ff5 100644 --- a/clients/client-amplify/commands/GetBranchCommand.ts +++ b/clients/client-amplify/commands/GetBranchCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBranchCommandInput = GetBranchRequest; @@ -64,14 +64,14 @@ export class GetBranchCommand extends $Command< private serialize( input: GetBranchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBranchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBranchCommand(output, context); } diff --git a/clients/client-amplify/commands/GetDomainAssociationCommand.ts b/clients/client-amplify/commands/GetDomainAssociationCommand.ts index e835a2dab18c..f6bba6c045b5 100644 --- a/clients/client-amplify/commands/GetDomainAssociationCommand.ts +++ b/clients/client-amplify/commands/GetDomainAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainAssociationCommandInput = GetDomainAssociationRequest; @@ -70,14 +70,14 @@ export class GetDomainAssociationCommand extends $Command< private serialize( input: GetDomainAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDomainAssociationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDomainAssociationCommand( output, diff --git a/clients/client-amplify/commands/GetJobCommand.ts b/clients/client-amplify/commands/GetJobCommand.ts index 248073a6a36a..a45d3f901652 100644 --- a/clients/client-amplify/commands/GetJobCommand.ts +++ b/clients/client-amplify/commands/GetJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobCommandInput = GetJobRequest; @@ -64,14 +64,14 @@ export class GetJobCommand extends $Command< private serialize( input: GetJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetJobCommand(output, context); } diff --git a/clients/client-amplify/commands/GetWebhookCommand.ts b/clients/client-amplify/commands/GetWebhookCommand.ts index ed01d3b8b851..0ba00b5365c5 100644 --- a/clients/client-amplify/commands/GetWebhookCommand.ts +++ b/clients/client-amplify/commands/GetWebhookCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWebhookCommandInput = GetWebhookRequest; @@ -64,14 +64,14 @@ export class GetWebhookCommand extends $Command< private serialize( input: GetWebhookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetWebhookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetWebhookCommand(output, context); } diff --git a/clients/client-amplify/commands/ListAppsCommand.ts b/clients/client-amplify/commands/ListAppsCommand.ts index 16ceaae404de..9f9fdacaef2e 100644 --- a/clients/client-amplify/commands/ListAppsCommand.ts +++ b/clients/client-amplify/commands/ListAppsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAppsCommandInput = ListAppsRequest; @@ -64,14 +64,14 @@ export class ListAppsCommand extends $Command< private serialize( input: ListAppsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAppsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAppsCommand(output, context); } diff --git a/clients/client-amplify/commands/ListArtifactsCommand.ts b/clients/client-amplify/commands/ListArtifactsCommand.ts index bf43507a9656..ae9dff9a5a67 100644 --- a/clients/client-amplify/commands/ListArtifactsCommand.ts +++ b/clients/client-amplify/commands/ListArtifactsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListArtifactsCommandInput = ListArtifactsRequest; @@ -64,14 +64,14 @@ export class ListArtifactsCommand extends $Command< private serialize( input: ListArtifactsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListArtifactsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListArtifactsCommand(output, context); } diff --git a/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts b/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts index 581e664a527f..8513adcc53da 100644 --- a/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts +++ b/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBackendEnvironmentsCommandInput = ListBackendEnvironmentsRequest; @@ -70,7 +70,7 @@ export class ListBackendEnvironmentsCommand extends $Command< private serialize( input: ListBackendEnvironmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBackendEnvironmentsCommand( input, @@ -80,7 +80,7 @@ export class ListBackendEnvironmentsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBackendEnvironmentsCommand( output, diff --git a/clients/client-amplify/commands/ListBranchesCommand.ts b/clients/client-amplify/commands/ListBranchesCommand.ts index 92afc8182998..46dda5280a3f 100644 --- a/clients/client-amplify/commands/ListBranchesCommand.ts +++ b/clients/client-amplify/commands/ListBranchesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBranchesCommandInput = ListBranchesRequest; @@ -64,14 +64,14 @@ export class ListBranchesCommand extends $Command< private serialize( input: ListBranchesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBranchesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBranchesCommand(output, context); } diff --git a/clients/client-amplify/commands/ListDomainAssociationsCommand.ts b/clients/client-amplify/commands/ListDomainAssociationsCommand.ts index 62aca275a4c8..745738654981 100644 --- a/clients/client-amplify/commands/ListDomainAssociationsCommand.ts +++ b/clients/client-amplify/commands/ListDomainAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDomainAssociationsCommandInput = ListDomainAssociationsRequest; @@ -70,7 +70,7 @@ export class ListDomainAssociationsCommand extends $Command< private serialize( input: ListDomainAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDomainAssociationsCommand( input, @@ -80,7 +80,7 @@ export class ListDomainAssociationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDomainAssociationsCommand( output, diff --git a/clients/client-amplify/commands/ListJobsCommand.ts b/clients/client-amplify/commands/ListJobsCommand.ts index bb21ad948e1b..89bf5fe9cbb1 100644 --- a/clients/client-amplify/commands/ListJobsCommand.ts +++ b/clients/client-amplify/commands/ListJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsCommandInput = ListJobsRequest; @@ -64,14 +64,14 @@ export class ListJobsCommand extends $Command< private serialize( input: ListJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJobsCommand(output, context); } diff --git a/clients/client-amplify/commands/ListTagsForResourceCommand.ts b/clients/client-amplify/commands/ListTagsForResourceCommand.ts index e963968dd251..45cee9f0ee4d 100644 --- a/clients/client-amplify/commands/ListTagsForResourceCommand.ts +++ b/clients/client-amplify/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-amplify/commands/ListWebhooksCommand.ts b/clients/client-amplify/commands/ListWebhooksCommand.ts index 19687ec49c5b..1a0a086b9671 100644 --- a/clients/client-amplify/commands/ListWebhooksCommand.ts +++ b/clients/client-amplify/commands/ListWebhooksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWebhooksCommandInput = ListWebhooksRequest; @@ -64,14 +64,14 @@ export class ListWebhooksCommand extends $Command< private serialize( input: ListWebhooksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListWebhooksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListWebhooksCommand(output, context); } diff --git a/clients/client-amplify/commands/StartDeploymentCommand.ts b/clients/client-amplify/commands/StartDeploymentCommand.ts index 786fb6637e1e..b067c07b5605 100644 --- a/clients/client-amplify/commands/StartDeploymentCommand.ts +++ b/clients/client-amplify/commands/StartDeploymentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDeploymentCommandInput = StartDeploymentRequest; @@ -64,14 +64,14 @@ export class StartDeploymentCommand extends $Command< private serialize( input: StartDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartDeploymentCommand(output, context); } diff --git a/clients/client-amplify/commands/StartJobCommand.ts b/clients/client-amplify/commands/StartJobCommand.ts index b5390464eded..eb7af5e623e9 100644 --- a/clients/client-amplify/commands/StartJobCommand.ts +++ b/clients/client-amplify/commands/StartJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartJobCommandInput = StartJobRequest; @@ -64,14 +64,14 @@ export class StartJobCommand extends $Command< private serialize( input: StartJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartJobCommand(output, context); } diff --git a/clients/client-amplify/commands/StopJobCommand.ts b/clients/client-amplify/commands/StopJobCommand.ts index c838f6e5bf49..4b9f37d5c39b 100644 --- a/clients/client-amplify/commands/StopJobCommand.ts +++ b/clients/client-amplify/commands/StopJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopJobCommandInput = StopJobRequest; @@ -64,14 +64,14 @@ export class StopJobCommand extends $Command< private serialize( input: StopJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopJobCommand(output, context); } diff --git a/clients/client-amplify/commands/TagResourceCommand.ts b/clients/client-amplify/commands/TagResourceCommand.ts index edc938a3e0f5..dd42974be03a 100644 --- a/clients/client-amplify/commands/TagResourceCommand.ts +++ b/clients/client-amplify/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-amplify/commands/UntagResourceCommand.ts b/clients/client-amplify/commands/UntagResourceCommand.ts index 4036b90bd7f7..1ddaa641c500 100644 --- a/clients/client-amplify/commands/UntagResourceCommand.ts +++ b/clients/client-amplify/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-amplify/commands/UpdateAppCommand.ts b/clients/client-amplify/commands/UpdateAppCommand.ts index 2a96f0508432..7ee197137a9c 100644 --- a/clients/client-amplify/commands/UpdateAppCommand.ts +++ b/clients/client-amplify/commands/UpdateAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAppCommandInput = UpdateAppRequest; @@ -64,14 +64,14 @@ export class UpdateAppCommand extends $Command< private serialize( input: UpdateAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAppCommand(output, context); } diff --git a/clients/client-amplify/commands/UpdateBranchCommand.ts b/clients/client-amplify/commands/UpdateBranchCommand.ts index c66d4ea38364..e537f7cb3764 100644 --- a/clients/client-amplify/commands/UpdateBranchCommand.ts +++ b/clients/client-amplify/commands/UpdateBranchCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBranchCommandInput = UpdateBranchRequest; @@ -64,14 +64,14 @@ export class UpdateBranchCommand extends $Command< private serialize( input: UpdateBranchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateBranchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateBranchCommand(output, context); } diff --git a/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts b/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts index 77f4c9f5bf71..a45a2e187baa 100644 --- a/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts +++ b/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDomainAssociationCommandInput = UpdateDomainAssociationRequest; @@ -70,7 +70,7 @@ export class UpdateDomainAssociationCommand extends $Command< private serialize( input: UpdateDomainAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDomainAssociationCommand( input, @@ -80,7 +80,7 @@ export class UpdateDomainAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDomainAssociationCommand( output, diff --git a/clients/client-amplify/commands/UpdateWebhookCommand.ts b/clients/client-amplify/commands/UpdateWebhookCommand.ts index 8422c23a6075..dea95a7fb674 100644 --- a/clients/client-amplify/commands/UpdateWebhookCommand.ts +++ b/clients/client-amplify/commands/UpdateWebhookCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateWebhookCommandInput = UpdateWebhookRequest; @@ -64,14 +64,14 @@ export class UpdateWebhookCommand extends $Command< private serialize( input: UpdateWebhookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateWebhookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateWebhookCommand(output, context); } diff --git a/clients/client-amplify/protocols/Aws_restJson1_1.ts b/clients/client-amplify/protocols/Aws_restJson1_1.ts index dc451e3af79f..7aaf33d05a30 100644 --- a/clients/client-amplify/protocols/Aws_restJson1_1.ts +++ b/clients/client-amplify/protocols/Aws_restJson1_1.ts @@ -6055,6 +6055,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-api-gateway/commands/CreateApiKeyCommand.ts b/clients/client-api-gateway/commands/CreateApiKeyCommand.ts index 8dc161f644ef..e598304dd0b7 100644 --- a/clients/client-api-gateway/commands/CreateApiKeyCommand.ts +++ b/clients/client-api-gateway/commands/CreateApiKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApiKeyCommandInput = CreateApiKeyRequest; @@ -64,14 +64,14 @@ export class CreateApiKeyCommand extends $Command< private serialize( input: CreateApiKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateApiKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateApiKeyCommand(output, context); } diff --git a/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts b/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts index 08bdcb16f6f6..752921f88f94 100644 --- a/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts +++ b/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAuthorizerCommandInput = CreateAuthorizerRequest; @@ -64,14 +64,14 @@ export class CreateAuthorizerCommand extends $Command< private serialize( input: CreateAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateAuthorizerCommand(output, context); } diff --git a/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts b/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts index 33158d6b2684..1097eddb5f32 100644 --- a/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts +++ b/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBasePathMappingCommandInput = CreateBasePathMappingRequest; @@ -67,14 +67,14 @@ export class CreateBasePathMappingCommand extends $Command< private serialize( input: CreateBasePathMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateBasePathMappingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateBasePathMappingCommand( output, diff --git a/clients/client-api-gateway/commands/CreateDeploymentCommand.ts b/clients/client-api-gateway/commands/CreateDeploymentCommand.ts index e8f6f3910bdc..267c5bbc0813 100644 --- a/clients/client-api-gateway/commands/CreateDeploymentCommand.ts +++ b/clients/client-api-gateway/commands/CreateDeploymentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeploymentCommandInput = CreateDeploymentRequest; @@ -64,14 +64,14 @@ export class CreateDeploymentCommand extends $Command< private serialize( input: CreateDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDeploymentCommand(output, context); } diff --git a/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts b/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts index 50fa7e17bc8e..94225613339a 100644 --- a/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts +++ b/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDocumentationPartCommandInput = CreateDocumentationPartRequest; @@ -70,7 +70,7 @@ export class CreateDocumentationPartCommand extends $Command< private serialize( input: CreateDocumentationPartCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDocumentationPartCommand( input, @@ -80,7 +80,7 @@ export class CreateDocumentationPartCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDocumentationPartCommand( output, diff --git a/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts b/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts index c91496be02f7..6a55a30e8db0 100644 --- a/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts +++ b/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDocumentationVersionCommandInput = CreateDocumentationVersionRequest; @@ -70,7 +70,7 @@ export class CreateDocumentationVersionCommand extends $Command< private serialize( input: CreateDocumentationVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDocumentationVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateDocumentationVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDocumentationVersionCommand( output, diff --git a/clients/client-api-gateway/commands/CreateDomainNameCommand.ts b/clients/client-api-gateway/commands/CreateDomainNameCommand.ts index 682273386fa8..4f8064ee8cc0 100644 --- a/clients/client-api-gateway/commands/CreateDomainNameCommand.ts +++ b/clients/client-api-gateway/commands/CreateDomainNameCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDomainNameCommandInput = CreateDomainNameRequest; @@ -64,14 +64,14 @@ export class CreateDomainNameCommand extends $Command< private serialize( input: CreateDomainNameCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDomainNameCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDomainNameCommand(output, context); } diff --git a/clients/client-api-gateway/commands/CreateModelCommand.ts b/clients/client-api-gateway/commands/CreateModelCommand.ts index 96d69fda0b47..8d9e95282c5c 100644 --- a/clients/client-api-gateway/commands/CreateModelCommand.ts +++ b/clients/client-api-gateway/commands/CreateModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateModelCommandInput = CreateModelRequest; @@ -64,14 +64,14 @@ export class CreateModelCommand extends $Command< private serialize( input: CreateModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateModelCommand(output, context); } diff --git a/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts b/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts index fd555621b18d..30a9518f97b7 100644 --- a/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts +++ b/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRequestValidatorCommandInput = CreateRequestValidatorRequest; @@ -70,7 +70,7 @@ export class CreateRequestValidatorCommand extends $Command< private serialize( input: CreateRequestValidatorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRequestValidatorCommand( input, @@ -80,7 +80,7 @@ export class CreateRequestValidatorCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRequestValidatorCommand( output, diff --git a/clients/client-api-gateway/commands/CreateResourceCommand.ts b/clients/client-api-gateway/commands/CreateResourceCommand.ts index 42c4341e4ba1..ae4b1690014a 100644 --- a/clients/client-api-gateway/commands/CreateResourceCommand.ts +++ b/clients/client-api-gateway/commands/CreateResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateResourceCommandInput = CreateResourceRequest; @@ -64,14 +64,14 @@ export class CreateResourceCommand extends $Command< private serialize( input: CreateResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateResourceCommand(output, context); } diff --git a/clients/client-api-gateway/commands/CreateRestApiCommand.ts b/clients/client-api-gateway/commands/CreateRestApiCommand.ts index 6fefcf1582db..ce9fcaca385d 100644 --- a/clients/client-api-gateway/commands/CreateRestApiCommand.ts +++ b/clients/client-api-gateway/commands/CreateRestApiCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRestApiCommandInput = CreateRestApiRequest; @@ -64,14 +64,14 @@ export class CreateRestApiCommand extends $Command< private serialize( input: CreateRestApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRestApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRestApiCommand(output, context); } diff --git a/clients/client-api-gateway/commands/CreateStageCommand.ts b/clients/client-api-gateway/commands/CreateStageCommand.ts index 26a9e995f20a..e10226c4176e 100644 --- a/clients/client-api-gateway/commands/CreateStageCommand.ts +++ b/clients/client-api-gateway/commands/CreateStageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStageCommandInput = CreateStageRequest; @@ -64,14 +64,14 @@ export class CreateStageCommand extends $Command< private serialize( input: CreateStageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateStageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateStageCommand(output, context); } diff --git a/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts b/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts index 2b9f8bcace8a..6ffbb795c95b 100644 --- a/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts +++ b/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUsagePlanCommandInput = CreateUsagePlanRequest; @@ -64,14 +64,14 @@ export class CreateUsagePlanCommand extends $Command< private serialize( input: CreateUsagePlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateUsagePlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateUsagePlanCommand(output, context); } diff --git a/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts b/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts index 17e964d670c2..7e8f17f884bf 100644 --- a/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts +++ b/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUsagePlanKeyCommandInput = CreateUsagePlanKeyRequest; @@ -64,14 +64,14 @@ export class CreateUsagePlanKeyCommand extends $Command< private serialize( input: CreateUsagePlanKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateUsagePlanKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateUsagePlanKeyCommand(output, context); } diff --git a/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts b/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts index 2f19d1a87998..7a9d7b346e94 100644 --- a/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts +++ b/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVpcLinkCommandInput = CreateVpcLinkRequest; @@ -64,14 +64,14 @@ export class CreateVpcLinkCommand extends $Command< private serialize( input: CreateVpcLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateVpcLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateVpcLinkCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts b/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts index c7c9e1d352f7..a006b3f0a954 100644 --- a/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts +++ b/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApiKeyCommandInput = DeleteApiKeyRequest; @@ -65,14 +65,14 @@ export class DeleteApiKeyCommand extends $Command< private serialize( input: DeleteApiKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteApiKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteApiKeyCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts b/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts index cf5fb47f39f6..a734bbae5924 100644 --- a/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts +++ b/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAuthorizerCommandInput = DeleteAuthorizerRequest; @@ -65,14 +65,14 @@ export class DeleteAuthorizerCommand extends $Command< private serialize( input: DeleteAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAuthorizerCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts b/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts index f5406476e113..1a4e2534bb9d 100644 --- a/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts +++ b/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBasePathMappingCommandInput = DeleteBasePathMappingRequest; @@ -68,14 +68,14 @@ export class DeleteBasePathMappingCommand extends $Command< private serialize( input: DeleteBasePathMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBasePathMappingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBasePathMappingCommand( output, diff --git a/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts b/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts index 8995c7f30e92..5beefd69bf77 100644 --- a/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts +++ b/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClientCertificateCommandInput = DeleteClientCertificateRequest; @@ -68,7 +68,7 @@ export class DeleteClientCertificateCommand extends $Command< private serialize( input: DeleteClientCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteClientCertificateCommand( input, @@ -78,7 +78,7 @@ export class DeleteClientCertificateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteClientCertificateCommand( output, diff --git a/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts b/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts index 4b0419a23ff9..5d2141f50cb1 100644 --- a/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts +++ b/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDeploymentCommandInput = DeleteDeploymentRequest; @@ -65,14 +65,14 @@ export class DeleteDeploymentCommand extends $Command< private serialize( input: DeleteDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDeploymentCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts b/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts index fe4c05cf5540..84a13a21424a 100644 --- a/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts +++ b/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDocumentationPartCommandInput = DeleteDocumentationPartRequest; @@ -68,7 +68,7 @@ export class DeleteDocumentationPartCommand extends $Command< private serialize( input: DeleteDocumentationPartCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDocumentationPartCommand( input, @@ -78,7 +78,7 @@ export class DeleteDocumentationPartCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDocumentationPartCommand( output, diff --git a/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts b/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts index 3d84799effad..2c420ea23b8d 100644 --- a/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts +++ b/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDocumentationVersionCommandInput = DeleteDocumentationVersionRequest; @@ -68,7 +68,7 @@ export class DeleteDocumentationVersionCommand extends $Command< private serialize( input: DeleteDocumentationVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDocumentationVersionCommand( input, @@ -78,7 +78,7 @@ export class DeleteDocumentationVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDocumentationVersionCommand( output, diff --git a/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts b/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts index 69cc3771eae0..e921a30ec524 100644 --- a/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts +++ b/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDomainNameCommandInput = DeleteDomainNameRequest; @@ -65,14 +65,14 @@ export class DeleteDomainNameCommand extends $Command< private serialize( input: DeleteDomainNameCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDomainNameCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDomainNameCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts b/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts index 4ba5938ff5e0..38f62c253b4f 100644 --- a/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts +++ b/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGatewayResponseCommandInput = DeleteGatewayResponseRequest; @@ -68,14 +68,14 @@ export class DeleteGatewayResponseCommand extends $Command< private serialize( input: DeleteGatewayResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteGatewayResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteGatewayResponseCommand( output, diff --git a/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts b/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts index 3e6633eef3d6..7c0b03f86173 100644 --- a/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts +++ b/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIntegrationCommandInput = DeleteIntegrationRequest; @@ -65,14 +65,14 @@ export class DeleteIntegrationCommand extends $Command< private serialize( input: DeleteIntegrationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteIntegrationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteIntegrationCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts b/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts index d0b1c2820fdf..7e1d227d2603 100644 --- a/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts +++ b/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIntegrationResponseCommandInput = DeleteIntegrationResponseRequest; @@ -68,7 +68,7 @@ export class DeleteIntegrationResponseCommand extends $Command< private serialize( input: DeleteIntegrationResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteIntegrationResponseCommand( input, @@ -78,7 +78,7 @@ export class DeleteIntegrationResponseCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteIntegrationResponseCommand( output, diff --git a/clients/client-api-gateway/commands/DeleteMethodCommand.ts b/clients/client-api-gateway/commands/DeleteMethodCommand.ts index 1625e338a145..69365ba19aaf 100644 --- a/clients/client-api-gateway/commands/DeleteMethodCommand.ts +++ b/clients/client-api-gateway/commands/DeleteMethodCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMethodCommandInput = DeleteMethodRequest; @@ -65,14 +65,14 @@ export class DeleteMethodCommand extends $Command< private serialize( input: DeleteMethodCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMethodCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMethodCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts b/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts index 365a2cbd95a1..a546d2cea606 100644 --- a/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts +++ b/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMethodResponseCommandInput = DeleteMethodResponseRequest; @@ -68,14 +68,14 @@ export class DeleteMethodResponseCommand extends $Command< private serialize( input: DeleteMethodResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMethodResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMethodResponseCommand( output, diff --git a/clients/client-api-gateway/commands/DeleteModelCommand.ts b/clients/client-api-gateway/commands/DeleteModelCommand.ts index 8c1170e18f1f..64e16ce90493 100644 --- a/clients/client-api-gateway/commands/DeleteModelCommand.ts +++ b/clients/client-api-gateway/commands/DeleteModelCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteModelCommandInput = DeleteModelRequest; @@ -65,14 +65,14 @@ export class DeleteModelCommand extends $Command< private serialize( input: DeleteModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteModelCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts b/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts index fe81f13338b1..0bcd6e556322 100644 --- a/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts +++ b/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRequestValidatorCommandInput = DeleteRequestValidatorRequest; @@ -68,7 +68,7 @@ export class DeleteRequestValidatorCommand extends $Command< private serialize( input: DeleteRequestValidatorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRequestValidatorCommand( input, @@ -78,7 +78,7 @@ export class DeleteRequestValidatorCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRequestValidatorCommand( output, diff --git a/clients/client-api-gateway/commands/DeleteResourceCommand.ts b/clients/client-api-gateway/commands/DeleteResourceCommand.ts index d41a032d43c5..06418e7049ac 100644 --- a/clients/client-api-gateway/commands/DeleteResourceCommand.ts +++ b/clients/client-api-gateway/commands/DeleteResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResourceCommandInput = DeleteResourceRequest; @@ -65,14 +65,14 @@ export class DeleteResourceCommand extends $Command< private serialize( input: DeleteResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteResourceCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteRestApiCommand.ts b/clients/client-api-gateway/commands/DeleteRestApiCommand.ts index c5037dcf4f0e..04681008dc2d 100644 --- a/clients/client-api-gateway/commands/DeleteRestApiCommand.ts +++ b/clients/client-api-gateway/commands/DeleteRestApiCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRestApiCommandInput = DeleteRestApiRequest; @@ -65,14 +65,14 @@ export class DeleteRestApiCommand extends $Command< private serialize( input: DeleteRestApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRestApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRestApiCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteStageCommand.ts b/clients/client-api-gateway/commands/DeleteStageCommand.ts index 981bccfb90ce..0a4c9f5c32bb 100644 --- a/clients/client-api-gateway/commands/DeleteStageCommand.ts +++ b/clients/client-api-gateway/commands/DeleteStageCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStageCommandInput = DeleteStageRequest; @@ -65,14 +65,14 @@ export class DeleteStageCommand extends $Command< private serialize( input: DeleteStageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteStageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteStageCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts b/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts index 01e2817d3d5f..4b3871783ce9 100644 --- a/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts +++ b/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUsagePlanCommandInput = DeleteUsagePlanRequest; @@ -65,14 +65,14 @@ export class DeleteUsagePlanCommand extends $Command< private serialize( input: DeleteUsagePlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteUsagePlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteUsagePlanCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts b/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts index ad3eb5806f14..1f6cf476c34f 100644 --- a/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts +++ b/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUsagePlanKeyCommandInput = DeleteUsagePlanKeyRequest; @@ -65,14 +65,14 @@ export class DeleteUsagePlanKeyCommand extends $Command< private serialize( input: DeleteUsagePlanKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteUsagePlanKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteUsagePlanKeyCommand(output, context); } diff --git a/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts b/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts index 52e933772d7b..2f89bcba5823 100644 --- a/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts +++ b/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVpcLinkCommandInput = DeleteVpcLinkRequest; @@ -65,14 +65,14 @@ export class DeleteVpcLinkCommand extends $Command< private serialize( input: DeleteVpcLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVpcLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVpcLinkCommand(output, context); } diff --git a/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts b/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts index 28b0e34d5c0f..a52ec08efd01 100644 --- a/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts +++ b/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type FlushStageAuthorizersCacheCommandInput = FlushStageAuthorizersCacheRequest; @@ -68,7 +68,7 @@ export class FlushStageAuthorizersCacheCommand extends $Command< private serialize( input: FlushStageAuthorizersCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1FlushStageAuthorizersCacheCommand( input, @@ -78,7 +78,7 @@ export class FlushStageAuthorizersCacheCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1FlushStageAuthorizersCacheCommand( output, diff --git a/clients/client-api-gateway/commands/FlushStageCacheCommand.ts b/clients/client-api-gateway/commands/FlushStageCacheCommand.ts index 4d406526f2a9..fe62203d9c51 100644 --- a/clients/client-api-gateway/commands/FlushStageCacheCommand.ts +++ b/clients/client-api-gateway/commands/FlushStageCacheCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type FlushStageCacheCommandInput = FlushStageCacheRequest; @@ -65,14 +65,14 @@ export class FlushStageCacheCommand extends $Command< private serialize( input: FlushStageCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1FlushStageCacheCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1FlushStageCacheCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts b/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts index 7cb344f5ae19..8c9a3aeeb74a 100644 --- a/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts +++ b/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateClientCertificateCommandInput = GenerateClientCertificateRequest; @@ -70,7 +70,7 @@ export class GenerateClientCertificateCommand extends $Command< private serialize( input: GenerateClientCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GenerateClientCertificateCommand( input, @@ -80,7 +80,7 @@ export class GenerateClientCertificateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GenerateClientCertificateCommand( output, diff --git a/clients/client-api-gateway/commands/GetAccountCommand.ts b/clients/client-api-gateway/commands/GetAccountCommand.ts index 618147d68a4c..f3f28af94c7a 100644 --- a/clients/client-api-gateway/commands/GetAccountCommand.ts +++ b/clients/client-api-gateway/commands/GetAccountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountCommandInput = GetAccountRequest; @@ -64,14 +64,14 @@ export class GetAccountCommand extends $Command< private serialize( input: GetAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAccountCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetApiKeyCommand.ts b/clients/client-api-gateway/commands/GetApiKeyCommand.ts index ad095463a294..d601929e4f72 100644 --- a/clients/client-api-gateway/commands/GetApiKeyCommand.ts +++ b/clients/client-api-gateway/commands/GetApiKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApiKeyCommandInput = GetApiKeyRequest; @@ -64,14 +64,14 @@ export class GetApiKeyCommand extends $Command< private serialize( input: GetApiKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApiKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApiKeyCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetApiKeysCommand.ts b/clients/client-api-gateway/commands/GetApiKeysCommand.ts index 74acc611d3ba..64857cfefe9e 100644 --- a/clients/client-api-gateway/commands/GetApiKeysCommand.ts +++ b/clients/client-api-gateway/commands/GetApiKeysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApiKeysCommandInput = GetApiKeysRequest; @@ -64,14 +64,14 @@ export class GetApiKeysCommand extends $Command< private serialize( input: GetApiKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApiKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApiKeysCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetAuthorizerCommand.ts b/clients/client-api-gateway/commands/GetAuthorizerCommand.ts index 51df1f684e94..7035cad2ce07 100644 --- a/clients/client-api-gateway/commands/GetAuthorizerCommand.ts +++ b/clients/client-api-gateway/commands/GetAuthorizerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAuthorizerCommandInput = GetAuthorizerRequest; @@ -64,14 +64,14 @@ export class GetAuthorizerCommand extends $Command< private serialize( input: GetAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAuthorizerCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetAuthorizersCommand.ts b/clients/client-api-gateway/commands/GetAuthorizersCommand.ts index 4880cfed8d06..9fbf1c638bc8 100644 --- a/clients/client-api-gateway/commands/GetAuthorizersCommand.ts +++ b/clients/client-api-gateway/commands/GetAuthorizersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAuthorizersCommandInput = GetAuthorizersRequest; @@ -64,14 +64,14 @@ export class GetAuthorizersCommand extends $Command< private serialize( input: GetAuthorizersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAuthorizersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAuthorizersCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts b/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts index 978241ece1b1..86e203e27b7d 100644 --- a/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts +++ b/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBasePathMappingCommandInput = GetBasePathMappingRequest; @@ -64,14 +64,14 @@ export class GetBasePathMappingCommand extends $Command< private serialize( input: GetBasePathMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBasePathMappingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBasePathMappingCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts b/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts index cfd93d5ec549..88cf3c941cc4 100644 --- a/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts +++ b/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBasePathMappingsCommandInput = GetBasePathMappingsRequest; @@ -67,14 +67,14 @@ export class GetBasePathMappingsCommand extends $Command< private serialize( input: GetBasePathMappingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBasePathMappingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBasePathMappingsCommand( output, diff --git a/clients/client-api-gateway/commands/GetClientCertificateCommand.ts b/clients/client-api-gateway/commands/GetClientCertificateCommand.ts index 6f8cbbdee65f..f51a0fe710f7 100644 --- a/clients/client-api-gateway/commands/GetClientCertificateCommand.ts +++ b/clients/client-api-gateway/commands/GetClientCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetClientCertificateCommandInput = GetClientCertificateRequest; @@ -70,14 +70,14 @@ export class GetClientCertificateCommand extends $Command< private serialize( input: GetClientCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetClientCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetClientCertificateCommand( output, diff --git a/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts b/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts index 1fc07a85a82e..b5cd8e7a362d 100644 --- a/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts +++ b/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetClientCertificatesCommandInput = GetClientCertificatesRequest; @@ -70,14 +70,14 @@ export class GetClientCertificatesCommand extends $Command< private serialize( input: GetClientCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetClientCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetClientCertificatesCommand( output, diff --git a/clients/client-api-gateway/commands/GetDeploymentCommand.ts b/clients/client-api-gateway/commands/GetDeploymentCommand.ts index 80f999f00ff8..9ef9a72814e9 100644 --- a/clients/client-api-gateway/commands/GetDeploymentCommand.ts +++ b/clients/client-api-gateway/commands/GetDeploymentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentCommandInput = GetDeploymentRequest; @@ -64,14 +64,14 @@ export class GetDeploymentCommand extends $Command< private serialize( input: GetDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeploymentCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetDeploymentsCommand.ts b/clients/client-api-gateway/commands/GetDeploymentsCommand.ts index ae06b01c177d..214c3169f789 100644 --- a/clients/client-api-gateway/commands/GetDeploymentsCommand.ts +++ b/clients/client-api-gateway/commands/GetDeploymentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentsCommandInput = GetDeploymentsRequest; @@ -64,14 +64,14 @@ export class GetDeploymentsCommand extends $Command< private serialize( input: GetDeploymentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeploymentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeploymentsCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts b/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts index b61e67a8c740..3ba685c95eaa 100644 --- a/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts +++ b/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDocumentationPartCommandInput = GetDocumentationPartRequest; @@ -70,14 +70,14 @@ export class GetDocumentationPartCommand extends $Command< private serialize( input: GetDocumentationPartCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDocumentationPartCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDocumentationPartCommand( output, diff --git a/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts b/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts index cb93af05f9a9..fb97dfe93144 100644 --- a/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts +++ b/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDocumentationPartsCommandInput = GetDocumentationPartsRequest; @@ -70,14 +70,14 @@ export class GetDocumentationPartsCommand extends $Command< private serialize( input: GetDocumentationPartsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDocumentationPartsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDocumentationPartsCommand( output, diff --git a/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts b/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts index 8a183e6545cd..3e92ec15878d 100644 --- a/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts +++ b/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDocumentationVersionCommandInput = GetDocumentationVersionRequest; @@ -70,7 +70,7 @@ export class GetDocumentationVersionCommand extends $Command< private serialize( input: GetDocumentationVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDocumentationVersionCommand( input, @@ -80,7 +80,7 @@ export class GetDocumentationVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDocumentationVersionCommand( output, diff --git a/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts b/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts index c96e43fc311f..8d24b7aba0be 100644 --- a/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts +++ b/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDocumentationVersionsCommandInput = GetDocumentationVersionsRequest; @@ -70,7 +70,7 @@ export class GetDocumentationVersionsCommand extends $Command< private serialize( input: GetDocumentationVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDocumentationVersionsCommand( input, @@ -80,7 +80,7 @@ export class GetDocumentationVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDocumentationVersionsCommand( output, diff --git a/clients/client-api-gateway/commands/GetDomainNameCommand.ts b/clients/client-api-gateway/commands/GetDomainNameCommand.ts index f475d7416ce0..a147fcf568a4 100644 --- a/clients/client-api-gateway/commands/GetDomainNameCommand.ts +++ b/clients/client-api-gateway/commands/GetDomainNameCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainNameCommandInput = GetDomainNameRequest; @@ -64,14 +64,14 @@ export class GetDomainNameCommand extends $Command< private serialize( input: GetDomainNameCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDomainNameCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDomainNameCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetDomainNamesCommand.ts b/clients/client-api-gateway/commands/GetDomainNamesCommand.ts index fafdef44a9a6..157d74e72f68 100644 --- a/clients/client-api-gateway/commands/GetDomainNamesCommand.ts +++ b/clients/client-api-gateway/commands/GetDomainNamesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainNamesCommandInput = GetDomainNamesRequest; @@ -64,14 +64,14 @@ export class GetDomainNamesCommand extends $Command< private serialize( input: GetDomainNamesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDomainNamesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDomainNamesCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetExportCommand.ts b/clients/client-api-gateway/commands/GetExportCommand.ts index 1fa33d5a4602..f83096c7f86e 100644 --- a/clients/client-api-gateway/commands/GetExportCommand.ts +++ b/clients/client-api-gateway/commands/GetExportCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetExportCommandInput = GetExportRequest; @@ -64,14 +64,14 @@ export class GetExportCommand extends $Command< private serialize( input: GetExportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetExportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetExportCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts b/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts index 48c6fb04caf0..6f35940f3149 100644 --- a/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts +++ b/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGatewayResponseCommandInput = GetGatewayResponseRequest; @@ -64,14 +64,14 @@ export class GetGatewayResponseCommand extends $Command< private serialize( input: GetGatewayResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGatewayResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGatewayResponseCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts b/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts index de32a4ae1758..ad726c5373cd 100644 --- a/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts +++ b/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGatewayResponsesCommandInput = GetGatewayResponsesRequest; @@ -67,14 +67,14 @@ export class GetGatewayResponsesCommand extends $Command< private serialize( input: GetGatewayResponsesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGatewayResponsesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGatewayResponsesCommand( output, diff --git a/clients/client-api-gateway/commands/GetIntegrationCommand.ts b/clients/client-api-gateway/commands/GetIntegrationCommand.ts index c28362b3bb80..b1584b351c63 100644 --- a/clients/client-api-gateway/commands/GetIntegrationCommand.ts +++ b/clients/client-api-gateway/commands/GetIntegrationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIntegrationCommandInput = GetIntegrationRequest; @@ -64,14 +64,14 @@ export class GetIntegrationCommand extends $Command< private serialize( input: GetIntegrationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIntegrationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIntegrationCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts b/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts index 27de26f3578e..5793b860cc9d 100644 --- a/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts +++ b/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIntegrationResponseCommandInput = GetIntegrationResponseRequest; @@ -70,7 +70,7 @@ export class GetIntegrationResponseCommand extends $Command< private serialize( input: GetIntegrationResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIntegrationResponseCommand( input, @@ -80,7 +80,7 @@ export class GetIntegrationResponseCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIntegrationResponseCommand( output, diff --git a/clients/client-api-gateway/commands/GetMethodCommand.ts b/clients/client-api-gateway/commands/GetMethodCommand.ts index 8d784b7d361f..26b5ae6a2b59 100644 --- a/clients/client-api-gateway/commands/GetMethodCommand.ts +++ b/clients/client-api-gateway/commands/GetMethodCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMethodCommandInput = GetMethodRequest; @@ -64,14 +64,14 @@ export class GetMethodCommand extends $Command< private serialize( input: GetMethodCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMethodCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMethodCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetMethodResponseCommand.ts b/clients/client-api-gateway/commands/GetMethodResponseCommand.ts index d65fd2c9cc15..6204ec92f0a0 100644 --- a/clients/client-api-gateway/commands/GetMethodResponseCommand.ts +++ b/clients/client-api-gateway/commands/GetMethodResponseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMethodResponseCommandInput = GetMethodResponseRequest; @@ -64,14 +64,14 @@ export class GetMethodResponseCommand extends $Command< private serialize( input: GetMethodResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMethodResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMethodResponseCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetModelCommand.ts b/clients/client-api-gateway/commands/GetModelCommand.ts index 1f1e5a27df09..54630c116dc0 100644 --- a/clients/client-api-gateway/commands/GetModelCommand.ts +++ b/clients/client-api-gateway/commands/GetModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetModelCommandInput = GetModelRequest; @@ -64,14 +64,14 @@ export class GetModelCommand extends $Command< private serialize( input: GetModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetModelCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetModelTemplateCommand.ts b/clients/client-api-gateway/commands/GetModelTemplateCommand.ts index eaa3886af085..1de7a5370fd7 100644 --- a/clients/client-api-gateway/commands/GetModelTemplateCommand.ts +++ b/clients/client-api-gateway/commands/GetModelTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetModelTemplateCommandInput = GetModelTemplateRequest; @@ -64,14 +64,14 @@ export class GetModelTemplateCommand extends $Command< private serialize( input: GetModelTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetModelTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetModelTemplateCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetModelsCommand.ts b/clients/client-api-gateway/commands/GetModelsCommand.ts index 16942c2a9295..6d26a2d33044 100644 --- a/clients/client-api-gateway/commands/GetModelsCommand.ts +++ b/clients/client-api-gateway/commands/GetModelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetModelsCommandInput = GetModelsRequest; @@ -64,14 +64,14 @@ export class GetModelsCommand extends $Command< private serialize( input: GetModelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetModelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetModelsCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts b/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts index b8aa922177d2..26bb4eb7f83f 100644 --- a/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts +++ b/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRequestValidatorCommandInput = GetRequestValidatorRequest; @@ -67,14 +67,14 @@ export class GetRequestValidatorCommand extends $Command< private serialize( input: GetRequestValidatorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRequestValidatorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRequestValidatorCommand( output, diff --git a/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts b/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts index efa3f41663ba..cab81c1cb02a 100644 --- a/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts +++ b/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRequestValidatorsCommandInput = GetRequestValidatorsRequest; @@ -70,14 +70,14 @@ export class GetRequestValidatorsCommand extends $Command< private serialize( input: GetRequestValidatorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRequestValidatorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRequestValidatorsCommand( output, diff --git a/clients/client-api-gateway/commands/GetResourceCommand.ts b/clients/client-api-gateway/commands/GetResourceCommand.ts index 7d9086063790..d343546a77e2 100644 --- a/clients/client-api-gateway/commands/GetResourceCommand.ts +++ b/clients/client-api-gateway/commands/GetResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourceCommandInput = GetResourceRequest; @@ -64,14 +64,14 @@ export class GetResourceCommand extends $Command< private serialize( input: GetResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetResourceCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetResourcesCommand.ts b/clients/client-api-gateway/commands/GetResourcesCommand.ts index 798a97462f50..16a49f7b2c77 100644 --- a/clients/client-api-gateway/commands/GetResourcesCommand.ts +++ b/clients/client-api-gateway/commands/GetResourcesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourcesCommandInput = GetResourcesRequest; @@ -64,14 +64,14 @@ export class GetResourcesCommand extends $Command< private serialize( input: GetResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetResourcesCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetRestApiCommand.ts b/clients/client-api-gateway/commands/GetRestApiCommand.ts index 78216362b55d..072a18d86ef2 100644 --- a/clients/client-api-gateway/commands/GetRestApiCommand.ts +++ b/clients/client-api-gateway/commands/GetRestApiCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRestApiCommandInput = GetRestApiRequest; @@ -64,14 +64,14 @@ export class GetRestApiCommand extends $Command< private serialize( input: GetRestApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRestApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRestApiCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetRestApisCommand.ts b/clients/client-api-gateway/commands/GetRestApisCommand.ts index 78db1dbdfd5b..168faabfc9a0 100644 --- a/clients/client-api-gateway/commands/GetRestApisCommand.ts +++ b/clients/client-api-gateway/commands/GetRestApisCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRestApisCommandInput = GetRestApisRequest; @@ -64,14 +64,14 @@ export class GetRestApisCommand extends $Command< private serialize( input: GetRestApisCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRestApisCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRestApisCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetSdkCommand.ts b/clients/client-api-gateway/commands/GetSdkCommand.ts index ff31380aae0b..c13492ba120c 100644 --- a/clients/client-api-gateway/commands/GetSdkCommand.ts +++ b/clients/client-api-gateway/commands/GetSdkCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSdkCommandInput = GetSdkRequest; @@ -64,14 +64,14 @@ export class GetSdkCommand extends $Command< private serialize( input: GetSdkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSdkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSdkCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetSdkTypeCommand.ts b/clients/client-api-gateway/commands/GetSdkTypeCommand.ts index 98d95618317e..fb0fbfa55a44 100644 --- a/clients/client-api-gateway/commands/GetSdkTypeCommand.ts +++ b/clients/client-api-gateway/commands/GetSdkTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSdkTypeCommandInput = GetSdkTypeRequest; @@ -64,14 +64,14 @@ export class GetSdkTypeCommand extends $Command< private serialize( input: GetSdkTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSdkTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSdkTypeCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetSdkTypesCommand.ts b/clients/client-api-gateway/commands/GetSdkTypesCommand.ts index e780945fdeb5..8cef1bb77bde 100644 --- a/clients/client-api-gateway/commands/GetSdkTypesCommand.ts +++ b/clients/client-api-gateway/commands/GetSdkTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSdkTypesCommandInput = GetSdkTypesRequest; @@ -64,14 +64,14 @@ export class GetSdkTypesCommand extends $Command< private serialize( input: GetSdkTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSdkTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSdkTypesCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetStageCommand.ts b/clients/client-api-gateway/commands/GetStageCommand.ts index a10feca7f06b..6f7fa7fbb5b4 100644 --- a/clients/client-api-gateway/commands/GetStageCommand.ts +++ b/clients/client-api-gateway/commands/GetStageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetStageCommandInput = GetStageRequest; @@ -64,14 +64,14 @@ export class GetStageCommand extends $Command< private serialize( input: GetStageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetStageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetStageCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetStagesCommand.ts b/clients/client-api-gateway/commands/GetStagesCommand.ts index 35d0d03fd0c0..ff9b43e75e7f 100644 --- a/clients/client-api-gateway/commands/GetStagesCommand.ts +++ b/clients/client-api-gateway/commands/GetStagesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetStagesCommandInput = GetStagesRequest; @@ -64,14 +64,14 @@ export class GetStagesCommand extends $Command< private serialize( input: GetStagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetStagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetStagesCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetTagsCommand.ts b/clients/client-api-gateway/commands/GetTagsCommand.ts index 6c09369dd389..d198b63a0f42 100644 --- a/clients/client-api-gateway/commands/GetTagsCommand.ts +++ b/clients/client-api-gateway/commands/GetTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTagsCommandInput = GetTagsRequest; @@ -64,14 +64,14 @@ export class GetTagsCommand extends $Command< private serialize( input: GetTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTagsCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetUsageCommand.ts b/clients/client-api-gateway/commands/GetUsageCommand.ts index f31ded76c979..3ba1be23f610 100644 --- a/clients/client-api-gateway/commands/GetUsageCommand.ts +++ b/clients/client-api-gateway/commands/GetUsageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUsageCommandInput = GetUsageRequest; @@ -64,14 +64,14 @@ export class GetUsageCommand extends $Command< private serialize( input: GetUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetUsageCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetUsagePlanCommand.ts b/clients/client-api-gateway/commands/GetUsagePlanCommand.ts index d7f9ef4ae2e2..b2d7d8240f1a 100644 --- a/clients/client-api-gateway/commands/GetUsagePlanCommand.ts +++ b/clients/client-api-gateway/commands/GetUsagePlanCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUsagePlanCommandInput = GetUsagePlanRequest; @@ -64,14 +64,14 @@ export class GetUsagePlanCommand extends $Command< private serialize( input: GetUsagePlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetUsagePlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetUsagePlanCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetUsagePlanKeyCommand.ts b/clients/client-api-gateway/commands/GetUsagePlanKeyCommand.ts index 53159c1b81dc..81a34ccc8fec 100644 --- a/clients/client-api-gateway/commands/GetUsagePlanKeyCommand.ts +++ b/clients/client-api-gateway/commands/GetUsagePlanKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUsagePlanKeyCommandInput = GetUsagePlanKeyRequest; @@ -64,14 +64,14 @@ export class GetUsagePlanKeyCommand extends $Command< private serialize( input: GetUsagePlanKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetUsagePlanKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetUsagePlanKeyCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetUsagePlanKeysCommand.ts b/clients/client-api-gateway/commands/GetUsagePlanKeysCommand.ts index e37cb2eee301..3ccff8d4a519 100644 --- a/clients/client-api-gateway/commands/GetUsagePlanKeysCommand.ts +++ b/clients/client-api-gateway/commands/GetUsagePlanKeysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUsagePlanKeysCommandInput = GetUsagePlanKeysRequest; @@ -64,14 +64,14 @@ export class GetUsagePlanKeysCommand extends $Command< private serialize( input: GetUsagePlanKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetUsagePlanKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetUsagePlanKeysCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetUsagePlansCommand.ts b/clients/client-api-gateway/commands/GetUsagePlansCommand.ts index 017ad0f69113..305a78bee2c4 100644 --- a/clients/client-api-gateway/commands/GetUsagePlansCommand.ts +++ b/clients/client-api-gateway/commands/GetUsagePlansCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUsagePlansCommandInput = GetUsagePlansRequest; @@ -64,14 +64,14 @@ export class GetUsagePlansCommand extends $Command< private serialize( input: GetUsagePlansCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetUsagePlansCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetUsagePlansCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetVpcLinkCommand.ts b/clients/client-api-gateway/commands/GetVpcLinkCommand.ts index 31f8316aded6..5e35adf844c2 100644 --- a/clients/client-api-gateway/commands/GetVpcLinkCommand.ts +++ b/clients/client-api-gateway/commands/GetVpcLinkCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVpcLinkCommandInput = GetVpcLinkRequest; @@ -64,14 +64,14 @@ export class GetVpcLinkCommand extends $Command< private serialize( input: GetVpcLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVpcLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVpcLinkCommand(output, context); } diff --git a/clients/client-api-gateway/commands/GetVpcLinksCommand.ts b/clients/client-api-gateway/commands/GetVpcLinksCommand.ts index b6997c018ba4..0a942c4c8330 100644 --- a/clients/client-api-gateway/commands/GetVpcLinksCommand.ts +++ b/clients/client-api-gateway/commands/GetVpcLinksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVpcLinksCommandInput = GetVpcLinksRequest; @@ -64,14 +64,14 @@ export class GetVpcLinksCommand extends $Command< private serialize( input: GetVpcLinksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVpcLinksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVpcLinksCommand(output, context); } diff --git a/clients/client-api-gateway/commands/ImportApiKeysCommand.ts b/clients/client-api-gateway/commands/ImportApiKeysCommand.ts index 226e3892dcda..82c7a6f4ce68 100644 --- a/clients/client-api-gateway/commands/ImportApiKeysCommand.ts +++ b/clients/client-api-gateway/commands/ImportApiKeysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportApiKeysCommandInput = ImportApiKeysRequest; @@ -64,14 +64,14 @@ export class ImportApiKeysCommand extends $Command< private serialize( input: ImportApiKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ImportApiKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ImportApiKeysCommand(output, context); } diff --git a/clients/client-api-gateway/commands/ImportDocumentationPartsCommand.ts b/clients/client-api-gateway/commands/ImportDocumentationPartsCommand.ts index 584940427372..69d20b4e48d2 100644 --- a/clients/client-api-gateway/commands/ImportDocumentationPartsCommand.ts +++ b/clients/client-api-gateway/commands/ImportDocumentationPartsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportDocumentationPartsCommandInput = ImportDocumentationPartsRequest; @@ -70,7 +70,7 @@ export class ImportDocumentationPartsCommand extends $Command< private serialize( input: ImportDocumentationPartsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ImportDocumentationPartsCommand( input, @@ -80,7 +80,7 @@ export class ImportDocumentationPartsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ImportDocumentationPartsCommand( output, diff --git a/clients/client-api-gateway/commands/ImportRestApiCommand.ts b/clients/client-api-gateway/commands/ImportRestApiCommand.ts index 12f28244c172..284683cd9b09 100644 --- a/clients/client-api-gateway/commands/ImportRestApiCommand.ts +++ b/clients/client-api-gateway/commands/ImportRestApiCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportRestApiCommandInput = ImportRestApiRequest; @@ -64,14 +64,14 @@ export class ImportRestApiCommand extends $Command< private serialize( input: ImportRestApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ImportRestApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ImportRestApiCommand(output, context); } diff --git a/clients/client-api-gateway/commands/PutGatewayResponseCommand.ts b/clients/client-api-gateway/commands/PutGatewayResponseCommand.ts index a28c9ebd69b8..ec9cd1dc94ca 100644 --- a/clients/client-api-gateway/commands/PutGatewayResponseCommand.ts +++ b/clients/client-api-gateway/commands/PutGatewayResponseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutGatewayResponseCommandInput = PutGatewayResponseRequest; @@ -64,14 +64,14 @@ export class PutGatewayResponseCommand extends $Command< private serialize( input: PutGatewayResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutGatewayResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutGatewayResponseCommand(output, context); } diff --git a/clients/client-api-gateway/commands/PutIntegrationCommand.ts b/clients/client-api-gateway/commands/PutIntegrationCommand.ts index 835bbe4739c3..3e1bfd551647 100644 --- a/clients/client-api-gateway/commands/PutIntegrationCommand.ts +++ b/clients/client-api-gateway/commands/PutIntegrationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutIntegrationCommandInput = PutIntegrationRequest; @@ -64,14 +64,14 @@ export class PutIntegrationCommand extends $Command< private serialize( input: PutIntegrationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutIntegrationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutIntegrationCommand(output, context); } diff --git a/clients/client-api-gateway/commands/PutIntegrationResponseCommand.ts b/clients/client-api-gateway/commands/PutIntegrationResponseCommand.ts index 23cb53c116a6..33d5e0342b29 100644 --- a/clients/client-api-gateway/commands/PutIntegrationResponseCommand.ts +++ b/clients/client-api-gateway/commands/PutIntegrationResponseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutIntegrationResponseCommandInput = PutIntegrationResponseRequest; @@ -70,7 +70,7 @@ export class PutIntegrationResponseCommand extends $Command< private serialize( input: PutIntegrationResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutIntegrationResponseCommand( input, @@ -80,7 +80,7 @@ export class PutIntegrationResponseCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutIntegrationResponseCommand( output, diff --git a/clients/client-api-gateway/commands/PutMethodCommand.ts b/clients/client-api-gateway/commands/PutMethodCommand.ts index fff52138cb45..df6468ea771f 100644 --- a/clients/client-api-gateway/commands/PutMethodCommand.ts +++ b/clients/client-api-gateway/commands/PutMethodCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutMethodCommandInput = PutMethodRequest; @@ -64,14 +64,14 @@ export class PutMethodCommand extends $Command< private serialize( input: PutMethodCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutMethodCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutMethodCommand(output, context); } diff --git a/clients/client-api-gateway/commands/PutMethodResponseCommand.ts b/clients/client-api-gateway/commands/PutMethodResponseCommand.ts index 5e0446fd5579..f68b21c5d842 100644 --- a/clients/client-api-gateway/commands/PutMethodResponseCommand.ts +++ b/clients/client-api-gateway/commands/PutMethodResponseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutMethodResponseCommandInput = PutMethodResponseRequest; @@ -64,14 +64,14 @@ export class PutMethodResponseCommand extends $Command< private serialize( input: PutMethodResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutMethodResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutMethodResponseCommand(output, context); } diff --git a/clients/client-api-gateway/commands/PutRestApiCommand.ts b/clients/client-api-gateway/commands/PutRestApiCommand.ts index adfa154b361d..bd81d0cff385 100644 --- a/clients/client-api-gateway/commands/PutRestApiCommand.ts +++ b/clients/client-api-gateway/commands/PutRestApiCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRestApiCommandInput = PutRestApiRequest; @@ -64,14 +64,14 @@ export class PutRestApiCommand extends $Command< private serialize( input: PutRestApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutRestApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutRestApiCommand(output, context); } diff --git a/clients/client-api-gateway/commands/TagResourceCommand.ts b/clients/client-api-gateway/commands/TagResourceCommand.ts index 8b11860ae86b..78edf16f6b8a 100644 --- a/clients/client-api-gateway/commands/TagResourceCommand.ts +++ b/clients/client-api-gateway/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-api-gateway/commands/TestInvokeAuthorizerCommand.ts b/clients/client-api-gateway/commands/TestInvokeAuthorizerCommand.ts index 0309f12ad29d..458d1d9c5db6 100644 --- a/clients/client-api-gateway/commands/TestInvokeAuthorizerCommand.ts +++ b/clients/client-api-gateway/commands/TestInvokeAuthorizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestInvokeAuthorizerCommandInput = TestInvokeAuthorizerRequest; @@ -70,14 +70,14 @@ export class TestInvokeAuthorizerCommand extends $Command< private serialize( input: TestInvokeAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TestInvokeAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TestInvokeAuthorizerCommand( output, diff --git a/clients/client-api-gateway/commands/TestInvokeMethodCommand.ts b/clients/client-api-gateway/commands/TestInvokeMethodCommand.ts index c0ccd0c770bf..d1f715cfdb10 100644 --- a/clients/client-api-gateway/commands/TestInvokeMethodCommand.ts +++ b/clients/client-api-gateway/commands/TestInvokeMethodCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestInvokeMethodCommandInput = TestInvokeMethodRequest; @@ -67,14 +67,14 @@ export class TestInvokeMethodCommand extends $Command< private serialize( input: TestInvokeMethodCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TestInvokeMethodCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TestInvokeMethodCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UntagResourceCommand.ts b/clients/client-api-gateway/commands/UntagResourceCommand.ts index d059db7e4fad..e5b2e32b29b0 100644 --- a/clients/client-api-gateway/commands/UntagResourceCommand.ts +++ b/clients/client-api-gateway/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateAccountCommand.ts b/clients/client-api-gateway/commands/UpdateAccountCommand.ts index ca906199a4e0..1df145bb784c 100644 --- a/clients/client-api-gateway/commands/UpdateAccountCommand.ts +++ b/clients/client-api-gateway/commands/UpdateAccountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAccountCommandInput = UpdateAccountRequest; @@ -64,14 +64,14 @@ export class UpdateAccountCommand extends $Command< private serialize( input: UpdateAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAccountCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateApiKeyCommand.ts b/clients/client-api-gateway/commands/UpdateApiKeyCommand.ts index 22f3e06e502a..1d981d13cb4b 100644 --- a/clients/client-api-gateway/commands/UpdateApiKeyCommand.ts +++ b/clients/client-api-gateway/commands/UpdateApiKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApiKeyCommandInput = UpdateApiKeyRequest; @@ -64,14 +64,14 @@ export class UpdateApiKeyCommand extends $Command< private serialize( input: UpdateApiKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApiKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApiKeyCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateAuthorizerCommand.ts b/clients/client-api-gateway/commands/UpdateAuthorizerCommand.ts index 734fe30a14bc..f4a7c9e53e8e 100644 --- a/clients/client-api-gateway/commands/UpdateAuthorizerCommand.ts +++ b/clients/client-api-gateway/commands/UpdateAuthorizerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAuthorizerCommandInput = UpdateAuthorizerRequest; @@ -64,14 +64,14 @@ export class UpdateAuthorizerCommand extends $Command< private serialize( input: UpdateAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAuthorizerCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateBasePathMappingCommand.ts b/clients/client-api-gateway/commands/UpdateBasePathMappingCommand.ts index 9e1d9c8f8d30..8502272ddec5 100644 --- a/clients/client-api-gateway/commands/UpdateBasePathMappingCommand.ts +++ b/clients/client-api-gateway/commands/UpdateBasePathMappingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBasePathMappingCommandInput = UpdateBasePathMappingRequest; @@ -67,14 +67,14 @@ export class UpdateBasePathMappingCommand extends $Command< private serialize( input: UpdateBasePathMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateBasePathMappingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateBasePathMappingCommand( output, diff --git a/clients/client-api-gateway/commands/UpdateClientCertificateCommand.ts b/clients/client-api-gateway/commands/UpdateClientCertificateCommand.ts index c88035cca5c9..cd6824b42a3e 100644 --- a/clients/client-api-gateway/commands/UpdateClientCertificateCommand.ts +++ b/clients/client-api-gateway/commands/UpdateClientCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateClientCertificateCommandInput = UpdateClientCertificateRequest; @@ -70,7 +70,7 @@ export class UpdateClientCertificateCommand extends $Command< private serialize( input: UpdateClientCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateClientCertificateCommand( input, @@ -80,7 +80,7 @@ export class UpdateClientCertificateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateClientCertificateCommand( output, diff --git a/clients/client-api-gateway/commands/UpdateDeploymentCommand.ts b/clients/client-api-gateway/commands/UpdateDeploymentCommand.ts index 65eecf77be9e..71a47aac1608 100644 --- a/clients/client-api-gateway/commands/UpdateDeploymentCommand.ts +++ b/clients/client-api-gateway/commands/UpdateDeploymentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDeploymentCommandInput = UpdateDeploymentRequest; @@ -64,14 +64,14 @@ export class UpdateDeploymentCommand extends $Command< private serialize( input: UpdateDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDeploymentCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateDocumentationPartCommand.ts b/clients/client-api-gateway/commands/UpdateDocumentationPartCommand.ts index 3af291b24aae..278ca46cf7e8 100644 --- a/clients/client-api-gateway/commands/UpdateDocumentationPartCommand.ts +++ b/clients/client-api-gateway/commands/UpdateDocumentationPartCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDocumentationPartCommandInput = UpdateDocumentationPartRequest; @@ -70,7 +70,7 @@ export class UpdateDocumentationPartCommand extends $Command< private serialize( input: UpdateDocumentationPartCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDocumentationPartCommand( input, @@ -80,7 +80,7 @@ export class UpdateDocumentationPartCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDocumentationPartCommand( output, diff --git a/clients/client-api-gateway/commands/UpdateDocumentationVersionCommand.ts b/clients/client-api-gateway/commands/UpdateDocumentationVersionCommand.ts index 7033b4afa38e..518a749adf2c 100644 --- a/clients/client-api-gateway/commands/UpdateDocumentationVersionCommand.ts +++ b/clients/client-api-gateway/commands/UpdateDocumentationVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDocumentationVersionCommandInput = UpdateDocumentationVersionRequest; @@ -70,7 +70,7 @@ export class UpdateDocumentationVersionCommand extends $Command< private serialize( input: UpdateDocumentationVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDocumentationVersionCommand( input, @@ -80,7 +80,7 @@ export class UpdateDocumentationVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDocumentationVersionCommand( output, diff --git a/clients/client-api-gateway/commands/UpdateDomainNameCommand.ts b/clients/client-api-gateway/commands/UpdateDomainNameCommand.ts index 12c452ba29ff..e8cfbb5cf779 100644 --- a/clients/client-api-gateway/commands/UpdateDomainNameCommand.ts +++ b/clients/client-api-gateway/commands/UpdateDomainNameCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDomainNameCommandInput = UpdateDomainNameRequest; @@ -64,14 +64,14 @@ export class UpdateDomainNameCommand extends $Command< private serialize( input: UpdateDomainNameCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDomainNameCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDomainNameCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateGatewayResponseCommand.ts b/clients/client-api-gateway/commands/UpdateGatewayResponseCommand.ts index 6d55eb71c926..837ac85278e1 100644 --- a/clients/client-api-gateway/commands/UpdateGatewayResponseCommand.ts +++ b/clients/client-api-gateway/commands/UpdateGatewayResponseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGatewayResponseCommandInput = UpdateGatewayResponseRequest; @@ -67,14 +67,14 @@ export class UpdateGatewayResponseCommand extends $Command< private serialize( input: UpdateGatewayResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateGatewayResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateGatewayResponseCommand( output, diff --git a/clients/client-api-gateway/commands/UpdateIntegrationCommand.ts b/clients/client-api-gateway/commands/UpdateIntegrationCommand.ts index 24c611b87752..d2f08b73d5e9 100644 --- a/clients/client-api-gateway/commands/UpdateIntegrationCommand.ts +++ b/clients/client-api-gateway/commands/UpdateIntegrationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIntegrationCommandInput = UpdateIntegrationRequest; @@ -64,14 +64,14 @@ export class UpdateIntegrationCommand extends $Command< private serialize( input: UpdateIntegrationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateIntegrationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateIntegrationCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateIntegrationResponseCommand.ts b/clients/client-api-gateway/commands/UpdateIntegrationResponseCommand.ts index 47eb15da10a9..d129d47fde68 100644 --- a/clients/client-api-gateway/commands/UpdateIntegrationResponseCommand.ts +++ b/clients/client-api-gateway/commands/UpdateIntegrationResponseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIntegrationResponseCommandInput = UpdateIntegrationResponseRequest; @@ -70,7 +70,7 @@ export class UpdateIntegrationResponseCommand extends $Command< private serialize( input: UpdateIntegrationResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateIntegrationResponseCommand( input, @@ -80,7 +80,7 @@ export class UpdateIntegrationResponseCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateIntegrationResponseCommand( output, diff --git a/clients/client-api-gateway/commands/UpdateMethodCommand.ts b/clients/client-api-gateway/commands/UpdateMethodCommand.ts index 6e2084eef507..eeaf58b353b0 100644 --- a/clients/client-api-gateway/commands/UpdateMethodCommand.ts +++ b/clients/client-api-gateway/commands/UpdateMethodCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMethodCommandInput = UpdateMethodRequest; @@ -64,14 +64,14 @@ export class UpdateMethodCommand extends $Command< private serialize( input: UpdateMethodCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateMethodCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateMethodCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateMethodResponseCommand.ts b/clients/client-api-gateway/commands/UpdateMethodResponseCommand.ts index b52d69b928c4..a487f8ec12fd 100644 --- a/clients/client-api-gateway/commands/UpdateMethodResponseCommand.ts +++ b/clients/client-api-gateway/commands/UpdateMethodResponseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMethodResponseCommandInput = UpdateMethodResponseRequest; @@ -67,14 +67,14 @@ export class UpdateMethodResponseCommand extends $Command< private serialize( input: UpdateMethodResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateMethodResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateMethodResponseCommand( output, diff --git a/clients/client-api-gateway/commands/UpdateModelCommand.ts b/clients/client-api-gateway/commands/UpdateModelCommand.ts index b3c52f183665..e47f8358b5b8 100644 --- a/clients/client-api-gateway/commands/UpdateModelCommand.ts +++ b/clients/client-api-gateway/commands/UpdateModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateModelCommandInput = UpdateModelRequest; @@ -64,14 +64,14 @@ export class UpdateModelCommand extends $Command< private serialize( input: UpdateModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateModelCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateRequestValidatorCommand.ts b/clients/client-api-gateway/commands/UpdateRequestValidatorCommand.ts index 7f19a6b9c079..f25ef41ec9d3 100644 --- a/clients/client-api-gateway/commands/UpdateRequestValidatorCommand.ts +++ b/clients/client-api-gateway/commands/UpdateRequestValidatorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRequestValidatorCommandInput = UpdateRequestValidatorRequest; @@ -70,7 +70,7 @@ export class UpdateRequestValidatorCommand extends $Command< private serialize( input: UpdateRequestValidatorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRequestValidatorCommand( input, @@ -80,7 +80,7 @@ export class UpdateRequestValidatorCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRequestValidatorCommand( output, diff --git a/clients/client-api-gateway/commands/UpdateResourceCommand.ts b/clients/client-api-gateway/commands/UpdateResourceCommand.ts index b299e3a50018..9fea48e45dc1 100644 --- a/clients/client-api-gateway/commands/UpdateResourceCommand.ts +++ b/clients/client-api-gateway/commands/UpdateResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateResourceCommandInput = UpdateResourceRequest; @@ -64,14 +64,14 @@ export class UpdateResourceCommand extends $Command< private serialize( input: UpdateResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateResourceCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateRestApiCommand.ts b/clients/client-api-gateway/commands/UpdateRestApiCommand.ts index 3783f12f79f3..a27e419b3c12 100644 --- a/clients/client-api-gateway/commands/UpdateRestApiCommand.ts +++ b/clients/client-api-gateway/commands/UpdateRestApiCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRestApiCommandInput = UpdateRestApiRequest; @@ -64,14 +64,14 @@ export class UpdateRestApiCommand extends $Command< private serialize( input: UpdateRestApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRestApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRestApiCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateStageCommand.ts b/clients/client-api-gateway/commands/UpdateStageCommand.ts index 280d45626578..6e283803bb39 100644 --- a/clients/client-api-gateway/commands/UpdateStageCommand.ts +++ b/clients/client-api-gateway/commands/UpdateStageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStageCommandInput = UpdateStageRequest; @@ -64,14 +64,14 @@ export class UpdateStageCommand extends $Command< private serialize( input: UpdateStageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateStageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateStageCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateUsageCommand.ts b/clients/client-api-gateway/commands/UpdateUsageCommand.ts index 5c2f027192b4..a6f7ea11efc3 100644 --- a/clients/client-api-gateway/commands/UpdateUsageCommand.ts +++ b/clients/client-api-gateway/commands/UpdateUsageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUsageCommandInput = UpdateUsageRequest; @@ -64,14 +64,14 @@ export class UpdateUsageCommand extends $Command< private serialize( input: UpdateUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUsageCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateUsagePlanCommand.ts b/clients/client-api-gateway/commands/UpdateUsagePlanCommand.ts index 696a197e756f..b8ee8758ba95 100644 --- a/clients/client-api-gateway/commands/UpdateUsagePlanCommand.ts +++ b/clients/client-api-gateway/commands/UpdateUsagePlanCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUsagePlanCommandInput = UpdateUsagePlanRequest; @@ -64,14 +64,14 @@ export class UpdateUsagePlanCommand extends $Command< private serialize( input: UpdateUsagePlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUsagePlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUsagePlanCommand(output, context); } diff --git a/clients/client-api-gateway/commands/UpdateVpcLinkCommand.ts b/clients/client-api-gateway/commands/UpdateVpcLinkCommand.ts index ee1989d275d8..177cbd38b7f8 100644 --- a/clients/client-api-gateway/commands/UpdateVpcLinkCommand.ts +++ b/clients/client-api-gateway/commands/UpdateVpcLinkCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVpcLinkCommandInput = UpdateVpcLinkRequest; @@ -64,14 +64,14 @@ export class UpdateVpcLinkCommand extends $Command< private serialize( input: UpdateVpcLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateVpcLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateVpcLinkCommand(output, context); } diff --git a/clients/client-api-gateway/protocols/Aws_restJson1_1.ts b/clients/client-api-gateway/protocols/Aws_restJson1_1.ts index cad588e8df0a..4db377dadc12 100644 --- a/clients/client-api-gateway/protocols/Aws_restJson1_1.ts +++ b/clients/client-api-gateway/protocols/Aws_restJson1_1.ts @@ -22220,6 +22220,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-apigatewaymanagementapi/commands/DeleteConnectionCommand.ts b/clients/client-apigatewaymanagementapi/commands/DeleteConnectionCommand.ts index 9e9f2c661b60..e2a8269212d4 100644 --- a/clients/client-apigatewaymanagementapi/commands/DeleteConnectionCommand.ts +++ b/clients/client-apigatewaymanagementapi/commands/DeleteConnectionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConnectionCommandInput = DeleteConnectionRequest; @@ -65,14 +65,14 @@ export class DeleteConnectionCommand extends $Command< private serialize( input: DeleteConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteConnectionCommand(output, context); } diff --git a/clients/client-apigatewaymanagementapi/commands/GetConnectionCommand.ts b/clients/client-apigatewaymanagementapi/commands/GetConnectionCommand.ts index 6f3f6b306e13..d04e0e82cd6b 100644 --- a/clients/client-apigatewaymanagementapi/commands/GetConnectionCommand.ts +++ b/clients/client-apigatewaymanagementapi/commands/GetConnectionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConnectionCommandInput = GetConnectionRequest; @@ -64,14 +64,14 @@ export class GetConnectionCommand extends $Command< private serialize( input: GetConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConnectionCommand(output, context); } diff --git a/clients/client-apigatewaymanagementapi/commands/PostToConnectionCommand.ts b/clients/client-apigatewaymanagementapi/commands/PostToConnectionCommand.ts index ad8899b71fd4..559a44b679ef 100644 --- a/clients/client-apigatewaymanagementapi/commands/PostToConnectionCommand.ts +++ b/clients/client-apigatewaymanagementapi/commands/PostToConnectionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PostToConnectionCommandInput = PostToConnectionRequest; @@ -65,14 +65,14 @@ export class PostToConnectionCommand extends $Command< private serialize( input: PostToConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PostToConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PostToConnectionCommand(output, context); } diff --git a/clients/client-apigatewaymanagementapi/protocols/Aws_restJson1_1.ts b/clients/client-apigatewaymanagementapi/protocols/Aws_restJson1_1.ts index 8c24a12f9d45..c385da7a1851 100644 --- a/clients/client-apigatewaymanagementapi/protocols/Aws_restJson1_1.ts +++ b/clients/client-apigatewaymanagementapi/protocols/Aws_restJson1_1.ts @@ -427,6 +427,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-apigatewayv2/commands/CreateApiCommand.ts b/clients/client-apigatewayv2/commands/CreateApiCommand.ts index 281e52d2a638..bd9152becb3d 100644 --- a/clients/client-apigatewayv2/commands/CreateApiCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateApiCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApiCommandInput = CreateApiRequest; @@ -64,14 +64,14 @@ export class CreateApiCommand extends $Command< private serialize( input: CreateApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateApiCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/CreateApiMappingCommand.ts b/clients/client-apigatewayv2/commands/CreateApiMappingCommand.ts index c0b4ef042deb..7075b8570876 100644 --- a/clients/client-apigatewayv2/commands/CreateApiMappingCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateApiMappingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApiMappingCommandInput = CreateApiMappingRequest; @@ -67,14 +67,14 @@ export class CreateApiMappingCommand extends $Command< private serialize( input: CreateApiMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateApiMappingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateApiMappingCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/CreateAuthorizerCommand.ts b/clients/client-apigatewayv2/commands/CreateAuthorizerCommand.ts index 15d45dbc5183..3e74da2883d8 100644 --- a/clients/client-apigatewayv2/commands/CreateAuthorizerCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateAuthorizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAuthorizerCommandInput = CreateAuthorizerRequest; @@ -67,14 +67,14 @@ export class CreateAuthorizerCommand extends $Command< private serialize( input: CreateAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateAuthorizerCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/CreateDeploymentCommand.ts b/clients/client-apigatewayv2/commands/CreateDeploymentCommand.ts index 73a83cc5ab2c..191c20038004 100644 --- a/clients/client-apigatewayv2/commands/CreateDeploymentCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateDeploymentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeploymentCommandInput = CreateDeploymentRequest; @@ -67,14 +67,14 @@ export class CreateDeploymentCommand extends $Command< private serialize( input: CreateDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDeploymentCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/CreateDomainNameCommand.ts b/clients/client-apigatewayv2/commands/CreateDomainNameCommand.ts index 358b687a7ccd..c10abe466c0c 100644 --- a/clients/client-apigatewayv2/commands/CreateDomainNameCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateDomainNameCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDomainNameCommandInput = CreateDomainNameRequest; @@ -67,14 +67,14 @@ export class CreateDomainNameCommand extends $Command< private serialize( input: CreateDomainNameCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDomainNameCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDomainNameCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/CreateIntegrationCommand.ts b/clients/client-apigatewayv2/commands/CreateIntegrationCommand.ts index a12da134dfba..a321d3db8e86 100644 --- a/clients/client-apigatewayv2/commands/CreateIntegrationCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateIntegrationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIntegrationCommandInput = CreateIntegrationRequest; @@ -67,14 +67,14 @@ export class CreateIntegrationCommand extends $Command< private serialize( input: CreateIntegrationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateIntegrationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateIntegrationCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/CreateIntegrationResponseCommand.ts b/clients/client-apigatewayv2/commands/CreateIntegrationResponseCommand.ts index 8c969856cd71..fc18178f3fce 100644 --- a/clients/client-apigatewayv2/commands/CreateIntegrationResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateIntegrationResponseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIntegrationResponseCommandInput = CreateIntegrationResponseRequest; @@ -70,7 +70,7 @@ export class CreateIntegrationResponseCommand extends $Command< private serialize( input: CreateIntegrationResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateIntegrationResponseCommand( input, @@ -80,7 +80,7 @@ export class CreateIntegrationResponseCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateIntegrationResponseCommand( output, diff --git a/clients/client-apigatewayv2/commands/CreateModelCommand.ts b/clients/client-apigatewayv2/commands/CreateModelCommand.ts index fd02a494e167..a81b34de143b 100644 --- a/clients/client-apigatewayv2/commands/CreateModelCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateModelCommandInput = CreateModelRequest; @@ -64,14 +64,14 @@ export class CreateModelCommand extends $Command< private serialize( input: CreateModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateModelCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/CreateRouteCommand.ts b/clients/client-apigatewayv2/commands/CreateRouteCommand.ts index c55488ebc431..51eb794d9afe 100644 --- a/clients/client-apigatewayv2/commands/CreateRouteCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateRouteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRouteCommandInput = CreateRouteRequest; @@ -64,14 +64,14 @@ export class CreateRouteCommand extends $Command< private serialize( input: CreateRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRouteCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/CreateRouteResponseCommand.ts b/clients/client-apigatewayv2/commands/CreateRouteResponseCommand.ts index e94c1e13f525..00bfd47105c4 100644 --- a/clients/client-apigatewayv2/commands/CreateRouteResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateRouteResponseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRouteResponseCommandInput = CreateRouteResponseRequest; @@ -70,14 +70,14 @@ export class CreateRouteResponseCommand extends $Command< private serialize( input: CreateRouteResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRouteResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRouteResponseCommand( output, diff --git a/clients/client-apigatewayv2/commands/CreateStageCommand.ts b/clients/client-apigatewayv2/commands/CreateStageCommand.ts index 77b83796c23a..19a07aeb6526 100644 --- a/clients/client-apigatewayv2/commands/CreateStageCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateStageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStageCommandInput = CreateStageRequest; @@ -64,14 +64,14 @@ export class CreateStageCommand extends $Command< private serialize( input: CreateStageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateStageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateStageCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/DeleteApiCommand.ts b/clients/client-apigatewayv2/commands/DeleteApiCommand.ts index f309fc97f655..d4fb2e44260c 100644 --- a/clients/client-apigatewayv2/commands/DeleteApiCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteApiCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApiCommandInput = DeleteApiRequest; @@ -65,14 +65,14 @@ export class DeleteApiCommand extends $Command< private serialize( input: DeleteApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteApiCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/DeleteApiMappingCommand.ts b/clients/client-apigatewayv2/commands/DeleteApiMappingCommand.ts index 9a99a6759ca1..93a7c27c2b6b 100644 --- a/clients/client-apigatewayv2/commands/DeleteApiMappingCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteApiMappingCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApiMappingCommandInput = DeleteApiMappingRequest; @@ -65,14 +65,14 @@ export class DeleteApiMappingCommand extends $Command< private serialize( input: DeleteApiMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteApiMappingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteApiMappingCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/DeleteAuthorizerCommand.ts b/clients/client-apigatewayv2/commands/DeleteAuthorizerCommand.ts index f74e03c580b5..821b9328b249 100644 --- a/clients/client-apigatewayv2/commands/DeleteAuthorizerCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteAuthorizerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAuthorizerCommandInput = DeleteAuthorizerRequest; @@ -65,14 +65,14 @@ export class DeleteAuthorizerCommand extends $Command< private serialize( input: DeleteAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAuthorizerCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/DeleteCorsConfigurationCommand.ts b/clients/client-apigatewayv2/commands/DeleteCorsConfigurationCommand.ts index 292a3ec8277a..06c8b38781d0 100644 --- a/clients/client-apigatewayv2/commands/DeleteCorsConfigurationCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteCorsConfigurationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCorsConfigurationCommandInput = DeleteCorsConfigurationRequest; @@ -68,7 +68,7 @@ export class DeleteCorsConfigurationCommand extends $Command< private serialize( input: DeleteCorsConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteCorsConfigurationCommand( input, @@ -78,7 +78,7 @@ export class DeleteCorsConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteCorsConfigurationCommand( output, diff --git a/clients/client-apigatewayv2/commands/DeleteDeploymentCommand.ts b/clients/client-apigatewayv2/commands/DeleteDeploymentCommand.ts index 2f8f2bfd5059..e9205d7ffc7a 100644 --- a/clients/client-apigatewayv2/commands/DeleteDeploymentCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteDeploymentCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDeploymentCommandInput = DeleteDeploymentRequest; @@ -65,14 +65,14 @@ export class DeleteDeploymentCommand extends $Command< private serialize( input: DeleteDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDeploymentCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/DeleteDomainNameCommand.ts b/clients/client-apigatewayv2/commands/DeleteDomainNameCommand.ts index dcc7cc52c932..cd7f8c4596f4 100644 --- a/clients/client-apigatewayv2/commands/DeleteDomainNameCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteDomainNameCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDomainNameCommandInput = DeleteDomainNameRequest; @@ -65,14 +65,14 @@ export class DeleteDomainNameCommand extends $Command< private serialize( input: DeleteDomainNameCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDomainNameCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDomainNameCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/DeleteIntegrationCommand.ts b/clients/client-apigatewayv2/commands/DeleteIntegrationCommand.ts index ff4d71fd93cf..f10e4e597b41 100644 --- a/clients/client-apigatewayv2/commands/DeleteIntegrationCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteIntegrationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIntegrationCommandInput = DeleteIntegrationRequest; @@ -65,14 +65,14 @@ export class DeleteIntegrationCommand extends $Command< private serialize( input: DeleteIntegrationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteIntegrationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteIntegrationCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/DeleteIntegrationResponseCommand.ts b/clients/client-apigatewayv2/commands/DeleteIntegrationResponseCommand.ts index f6545fa3c080..603bb26ecc23 100644 --- a/clients/client-apigatewayv2/commands/DeleteIntegrationResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteIntegrationResponseCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIntegrationResponseCommandInput = DeleteIntegrationResponseRequest; @@ -68,7 +68,7 @@ export class DeleteIntegrationResponseCommand extends $Command< private serialize( input: DeleteIntegrationResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteIntegrationResponseCommand( input, @@ -78,7 +78,7 @@ export class DeleteIntegrationResponseCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteIntegrationResponseCommand( output, diff --git a/clients/client-apigatewayv2/commands/DeleteModelCommand.ts b/clients/client-apigatewayv2/commands/DeleteModelCommand.ts index 26878810523e..ce51cb2e4254 100644 --- a/clients/client-apigatewayv2/commands/DeleteModelCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteModelCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteModelCommandInput = DeleteModelRequest; @@ -65,14 +65,14 @@ export class DeleteModelCommand extends $Command< private serialize( input: DeleteModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteModelCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/DeleteRouteCommand.ts b/clients/client-apigatewayv2/commands/DeleteRouteCommand.ts index 93872976192a..1d8d1af5283f 100644 --- a/clients/client-apigatewayv2/commands/DeleteRouteCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteRouteCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRouteCommandInput = DeleteRouteRequest; @@ -65,14 +65,14 @@ export class DeleteRouteCommand extends $Command< private serialize( input: DeleteRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRouteCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/DeleteRouteResponseCommand.ts b/clients/client-apigatewayv2/commands/DeleteRouteResponseCommand.ts index 7bb48e04e7c8..0c14b2f57202 100644 --- a/clients/client-apigatewayv2/commands/DeleteRouteResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteRouteResponseCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRouteResponseCommandInput = DeleteRouteResponseRequest; @@ -68,14 +68,14 @@ export class DeleteRouteResponseCommand extends $Command< private serialize( input: DeleteRouteResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRouteResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRouteResponseCommand( output, diff --git a/clients/client-apigatewayv2/commands/DeleteRouteSettingsCommand.ts b/clients/client-apigatewayv2/commands/DeleteRouteSettingsCommand.ts index e0f40a65400f..7ee0b0ce7af7 100644 --- a/clients/client-apigatewayv2/commands/DeleteRouteSettingsCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteRouteSettingsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRouteSettingsCommandInput = DeleteRouteSettingsRequest; @@ -68,14 +68,14 @@ export class DeleteRouteSettingsCommand extends $Command< private serialize( input: DeleteRouteSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRouteSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRouteSettingsCommand( output, diff --git a/clients/client-apigatewayv2/commands/DeleteStageCommand.ts b/clients/client-apigatewayv2/commands/DeleteStageCommand.ts index 5341bf83cc0b..642eab3ba2b2 100644 --- a/clients/client-apigatewayv2/commands/DeleteStageCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteStageCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStageCommandInput = DeleteStageRequest; @@ -65,14 +65,14 @@ export class DeleteStageCommand extends $Command< private serialize( input: DeleteStageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteStageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteStageCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetApiCommand.ts b/clients/client-apigatewayv2/commands/GetApiCommand.ts index de072a207909..d75044458ae7 100644 --- a/clients/client-apigatewayv2/commands/GetApiCommand.ts +++ b/clients/client-apigatewayv2/commands/GetApiCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApiCommandInput = GetApiRequest; @@ -64,14 +64,14 @@ export class GetApiCommand extends $Command< private serialize( input: GetApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApiCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetApiMappingCommand.ts b/clients/client-apigatewayv2/commands/GetApiMappingCommand.ts index f3abe4ed5857..c2131d060228 100644 --- a/clients/client-apigatewayv2/commands/GetApiMappingCommand.ts +++ b/clients/client-apigatewayv2/commands/GetApiMappingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApiMappingCommandInput = GetApiMappingRequest; @@ -64,14 +64,14 @@ export class GetApiMappingCommand extends $Command< private serialize( input: GetApiMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApiMappingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApiMappingCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetApiMappingsCommand.ts b/clients/client-apigatewayv2/commands/GetApiMappingsCommand.ts index 78071ae0a004..6f9ade2c0edb 100644 --- a/clients/client-apigatewayv2/commands/GetApiMappingsCommand.ts +++ b/clients/client-apigatewayv2/commands/GetApiMappingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApiMappingsCommandInput = GetApiMappingsRequest; @@ -64,14 +64,14 @@ export class GetApiMappingsCommand extends $Command< private serialize( input: GetApiMappingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApiMappingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApiMappingsCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetApisCommand.ts b/clients/client-apigatewayv2/commands/GetApisCommand.ts index 6eb1dd051587..c6178506e47b 100644 --- a/clients/client-apigatewayv2/commands/GetApisCommand.ts +++ b/clients/client-apigatewayv2/commands/GetApisCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApisCommandInput = GetApisRequest; @@ -64,14 +64,14 @@ export class GetApisCommand extends $Command< private serialize( input: GetApisCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApisCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApisCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetAuthorizerCommand.ts b/clients/client-apigatewayv2/commands/GetAuthorizerCommand.ts index 27163e4576ad..814e35847f2f 100644 --- a/clients/client-apigatewayv2/commands/GetAuthorizerCommand.ts +++ b/clients/client-apigatewayv2/commands/GetAuthorizerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAuthorizerCommandInput = GetAuthorizerRequest; @@ -64,14 +64,14 @@ export class GetAuthorizerCommand extends $Command< private serialize( input: GetAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAuthorizerCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetAuthorizersCommand.ts b/clients/client-apigatewayv2/commands/GetAuthorizersCommand.ts index b926941de08f..659507a2ed68 100644 --- a/clients/client-apigatewayv2/commands/GetAuthorizersCommand.ts +++ b/clients/client-apigatewayv2/commands/GetAuthorizersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAuthorizersCommandInput = GetAuthorizersRequest; @@ -64,14 +64,14 @@ export class GetAuthorizersCommand extends $Command< private serialize( input: GetAuthorizersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAuthorizersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAuthorizersCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetDeploymentCommand.ts b/clients/client-apigatewayv2/commands/GetDeploymentCommand.ts index 4e616f7599fc..08c7f603e315 100644 --- a/clients/client-apigatewayv2/commands/GetDeploymentCommand.ts +++ b/clients/client-apigatewayv2/commands/GetDeploymentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentCommandInput = GetDeploymentRequest; @@ -64,14 +64,14 @@ export class GetDeploymentCommand extends $Command< private serialize( input: GetDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeploymentCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetDeploymentsCommand.ts b/clients/client-apigatewayv2/commands/GetDeploymentsCommand.ts index 613ad2f2337e..02792065d004 100644 --- a/clients/client-apigatewayv2/commands/GetDeploymentsCommand.ts +++ b/clients/client-apigatewayv2/commands/GetDeploymentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentsCommandInput = GetDeploymentsRequest; @@ -64,14 +64,14 @@ export class GetDeploymentsCommand extends $Command< private serialize( input: GetDeploymentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeploymentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeploymentsCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetDomainNameCommand.ts b/clients/client-apigatewayv2/commands/GetDomainNameCommand.ts index 16c2376c0364..22f5147c6c25 100644 --- a/clients/client-apigatewayv2/commands/GetDomainNameCommand.ts +++ b/clients/client-apigatewayv2/commands/GetDomainNameCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainNameCommandInput = GetDomainNameRequest; @@ -64,14 +64,14 @@ export class GetDomainNameCommand extends $Command< private serialize( input: GetDomainNameCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDomainNameCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDomainNameCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetDomainNamesCommand.ts b/clients/client-apigatewayv2/commands/GetDomainNamesCommand.ts index ab7c6fc623e1..24e225916a4b 100644 --- a/clients/client-apigatewayv2/commands/GetDomainNamesCommand.ts +++ b/clients/client-apigatewayv2/commands/GetDomainNamesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainNamesCommandInput = GetDomainNamesRequest; @@ -64,14 +64,14 @@ export class GetDomainNamesCommand extends $Command< private serialize( input: GetDomainNamesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDomainNamesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDomainNamesCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetIntegrationCommand.ts b/clients/client-apigatewayv2/commands/GetIntegrationCommand.ts index 7b0e9e307aab..dcf40acba23c 100644 --- a/clients/client-apigatewayv2/commands/GetIntegrationCommand.ts +++ b/clients/client-apigatewayv2/commands/GetIntegrationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIntegrationCommandInput = GetIntegrationRequest; @@ -64,14 +64,14 @@ export class GetIntegrationCommand extends $Command< private serialize( input: GetIntegrationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIntegrationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIntegrationCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetIntegrationResponseCommand.ts b/clients/client-apigatewayv2/commands/GetIntegrationResponseCommand.ts index 47b71c07e7d4..166460df8b1d 100644 --- a/clients/client-apigatewayv2/commands/GetIntegrationResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/GetIntegrationResponseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIntegrationResponseCommandInput = GetIntegrationResponseRequest; @@ -70,7 +70,7 @@ export class GetIntegrationResponseCommand extends $Command< private serialize( input: GetIntegrationResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIntegrationResponseCommand( input, @@ -80,7 +80,7 @@ export class GetIntegrationResponseCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIntegrationResponseCommand( output, diff --git a/clients/client-apigatewayv2/commands/GetIntegrationResponsesCommand.ts b/clients/client-apigatewayv2/commands/GetIntegrationResponsesCommand.ts index 238cfdfe1d20..c9972c751eeb 100644 --- a/clients/client-apigatewayv2/commands/GetIntegrationResponsesCommand.ts +++ b/clients/client-apigatewayv2/commands/GetIntegrationResponsesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIntegrationResponsesCommandInput = GetIntegrationResponsesRequest; @@ -70,7 +70,7 @@ export class GetIntegrationResponsesCommand extends $Command< private serialize( input: GetIntegrationResponsesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIntegrationResponsesCommand( input, @@ -80,7 +80,7 @@ export class GetIntegrationResponsesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIntegrationResponsesCommand( output, diff --git a/clients/client-apigatewayv2/commands/GetIntegrationsCommand.ts b/clients/client-apigatewayv2/commands/GetIntegrationsCommand.ts index 0e67fbb3fdc6..e3e730995444 100644 --- a/clients/client-apigatewayv2/commands/GetIntegrationsCommand.ts +++ b/clients/client-apigatewayv2/commands/GetIntegrationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIntegrationsCommandInput = GetIntegrationsRequest; @@ -67,14 +67,14 @@ export class GetIntegrationsCommand extends $Command< private serialize( input: GetIntegrationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIntegrationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIntegrationsCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetModelCommand.ts b/clients/client-apigatewayv2/commands/GetModelCommand.ts index 6efdc292bbb5..7755cbe9f164 100644 --- a/clients/client-apigatewayv2/commands/GetModelCommand.ts +++ b/clients/client-apigatewayv2/commands/GetModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetModelCommandInput = GetModelRequest; @@ -64,14 +64,14 @@ export class GetModelCommand extends $Command< private serialize( input: GetModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetModelCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetModelTemplateCommand.ts b/clients/client-apigatewayv2/commands/GetModelTemplateCommand.ts index f2cd14fd629d..a3072a5d1a90 100644 --- a/clients/client-apigatewayv2/commands/GetModelTemplateCommand.ts +++ b/clients/client-apigatewayv2/commands/GetModelTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetModelTemplateCommandInput = GetModelTemplateRequest; @@ -67,14 +67,14 @@ export class GetModelTemplateCommand extends $Command< private serialize( input: GetModelTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetModelTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetModelTemplateCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetModelsCommand.ts b/clients/client-apigatewayv2/commands/GetModelsCommand.ts index 083d6199e986..a99bbe416516 100644 --- a/clients/client-apigatewayv2/commands/GetModelsCommand.ts +++ b/clients/client-apigatewayv2/commands/GetModelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetModelsCommandInput = GetModelsRequest; @@ -64,14 +64,14 @@ export class GetModelsCommand extends $Command< private serialize( input: GetModelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetModelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetModelsCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetRouteCommand.ts b/clients/client-apigatewayv2/commands/GetRouteCommand.ts index 32f2a4f519c1..979d62f3477e 100644 --- a/clients/client-apigatewayv2/commands/GetRouteCommand.ts +++ b/clients/client-apigatewayv2/commands/GetRouteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRouteCommandInput = GetRouteRequest; @@ -64,14 +64,14 @@ export class GetRouteCommand extends $Command< private serialize( input: GetRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRouteCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetRouteResponseCommand.ts b/clients/client-apigatewayv2/commands/GetRouteResponseCommand.ts index 5c21c3929827..278a70f2bb3e 100644 --- a/clients/client-apigatewayv2/commands/GetRouteResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/GetRouteResponseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRouteResponseCommandInput = GetRouteResponseRequest; @@ -67,14 +67,14 @@ export class GetRouteResponseCommand extends $Command< private serialize( input: GetRouteResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRouteResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRouteResponseCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetRouteResponsesCommand.ts b/clients/client-apigatewayv2/commands/GetRouteResponsesCommand.ts index d84a35673994..7b5d362116e4 100644 --- a/clients/client-apigatewayv2/commands/GetRouteResponsesCommand.ts +++ b/clients/client-apigatewayv2/commands/GetRouteResponsesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRouteResponsesCommandInput = GetRouteResponsesRequest; @@ -67,14 +67,14 @@ export class GetRouteResponsesCommand extends $Command< private serialize( input: GetRouteResponsesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRouteResponsesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRouteResponsesCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetRoutesCommand.ts b/clients/client-apigatewayv2/commands/GetRoutesCommand.ts index 07c5c2607e0d..e0098fcdf538 100644 --- a/clients/client-apigatewayv2/commands/GetRoutesCommand.ts +++ b/clients/client-apigatewayv2/commands/GetRoutesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRoutesCommandInput = GetRoutesRequest; @@ -64,14 +64,14 @@ export class GetRoutesCommand extends $Command< private serialize( input: GetRoutesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRoutesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRoutesCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetStageCommand.ts b/clients/client-apigatewayv2/commands/GetStageCommand.ts index c4b9e810a9be..81f0c6a5d58d 100644 --- a/clients/client-apigatewayv2/commands/GetStageCommand.ts +++ b/clients/client-apigatewayv2/commands/GetStageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetStageCommandInput = GetStageRequest; @@ -64,14 +64,14 @@ export class GetStageCommand extends $Command< private serialize( input: GetStageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetStageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetStageCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetStagesCommand.ts b/clients/client-apigatewayv2/commands/GetStagesCommand.ts index 4c0ffb3765b1..2c65e555e7a3 100644 --- a/clients/client-apigatewayv2/commands/GetStagesCommand.ts +++ b/clients/client-apigatewayv2/commands/GetStagesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetStagesCommandInput = GetStagesRequest; @@ -64,14 +64,14 @@ export class GetStagesCommand extends $Command< private serialize( input: GetStagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetStagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetStagesCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/GetTagsCommand.ts b/clients/client-apigatewayv2/commands/GetTagsCommand.ts index 0715eb8cdcbe..053e879018cc 100644 --- a/clients/client-apigatewayv2/commands/GetTagsCommand.ts +++ b/clients/client-apigatewayv2/commands/GetTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTagsCommandInput = GetTagsRequest; @@ -64,14 +64,14 @@ export class GetTagsCommand extends $Command< private serialize( input: GetTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTagsCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/ImportApiCommand.ts b/clients/client-apigatewayv2/commands/ImportApiCommand.ts index 037aa37e4410..489d09c7c506 100644 --- a/clients/client-apigatewayv2/commands/ImportApiCommand.ts +++ b/clients/client-apigatewayv2/commands/ImportApiCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportApiCommandInput = ImportApiRequest; @@ -64,14 +64,14 @@ export class ImportApiCommand extends $Command< private serialize( input: ImportApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ImportApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ImportApiCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/ReimportApiCommand.ts b/clients/client-apigatewayv2/commands/ReimportApiCommand.ts index d78cfd5d0e6f..76e84b06ad67 100644 --- a/clients/client-apigatewayv2/commands/ReimportApiCommand.ts +++ b/clients/client-apigatewayv2/commands/ReimportApiCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReimportApiCommandInput = ReimportApiRequest; @@ -64,14 +64,14 @@ export class ReimportApiCommand extends $Command< private serialize( input: ReimportApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ReimportApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ReimportApiCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/TagResourceCommand.ts b/clients/client-apigatewayv2/commands/TagResourceCommand.ts index 745a15bac710..a595029b6af7 100644 --- a/clients/client-apigatewayv2/commands/TagResourceCommand.ts +++ b/clients/client-apigatewayv2/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/UntagResourceCommand.ts b/clients/client-apigatewayv2/commands/UntagResourceCommand.ts index 47d8dd9d5450..18c4bb4c6e20 100644 --- a/clients/client-apigatewayv2/commands/UntagResourceCommand.ts +++ b/clients/client-apigatewayv2/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/UpdateApiCommand.ts b/clients/client-apigatewayv2/commands/UpdateApiCommand.ts index 75258b5a6cba..ee8f38b377d4 100644 --- a/clients/client-apigatewayv2/commands/UpdateApiCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateApiCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApiCommandInput = UpdateApiRequest; @@ -64,14 +64,14 @@ export class UpdateApiCommand extends $Command< private serialize( input: UpdateApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApiCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/UpdateApiMappingCommand.ts b/clients/client-apigatewayv2/commands/UpdateApiMappingCommand.ts index 714aa7ececab..8ceeb54522f9 100644 --- a/clients/client-apigatewayv2/commands/UpdateApiMappingCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateApiMappingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApiMappingCommandInput = UpdateApiMappingRequest; @@ -67,14 +67,14 @@ export class UpdateApiMappingCommand extends $Command< private serialize( input: UpdateApiMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApiMappingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApiMappingCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/UpdateAuthorizerCommand.ts b/clients/client-apigatewayv2/commands/UpdateAuthorizerCommand.ts index 05570e16780b..12c2dab490db 100644 --- a/clients/client-apigatewayv2/commands/UpdateAuthorizerCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateAuthorizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAuthorizerCommandInput = UpdateAuthorizerRequest; @@ -67,14 +67,14 @@ export class UpdateAuthorizerCommand extends $Command< private serialize( input: UpdateAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAuthorizerCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/UpdateDeploymentCommand.ts b/clients/client-apigatewayv2/commands/UpdateDeploymentCommand.ts index 575048f0a654..7297af220ef5 100644 --- a/clients/client-apigatewayv2/commands/UpdateDeploymentCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateDeploymentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDeploymentCommandInput = UpdateDeploymentRequest; @@ -67,14 +67,14 @@ export class UpdateDeploymentCommand extends $Command< private serialize( input: UpdateDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDeploymentCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/UpdateDomainNameCommand.ts b/clients/client-apigatewayv2/commands/UpdateDomainNameCommand.ts index 07c83c0289b2..329e430073fa 100644 --- a/clients/client-apigatewayv2/commands/UpdateDomainNameCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateDomainNameCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDomainNameCommandInput = UpdateDomainNameRequest; @@ -67,14 +67,14 @@ export class UpdateDomainNameCommand extends $Command< private serialize( input: UpdateDomainNameCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDomainNameCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDomainNameCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/UpdateIntegrationCommand.ts b/clients/client-apigatewayv2/commands/UpdateIntegrationCommand.ts index f081ac57512a..f8919c9aae5a 100644 --- a/clients/client-apigatewayv2/commands/UpdateIntegrationCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateIntegrationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIntegrationCommandInput = UpdateIntegrationRequest; @@ -67,14 +67,14 @@ export class UpdateIntegrationCommand extends $Command< private serialize( input: UpdateIntegrationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateIntegrationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateIntegrationCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/UpdateIntegrationResponseCommand.ts b/clients/client-apigatewayv2/commands/UpdateIntegrationResponseCommand.ts index 5c2ced8381f5..693626627bc2 100644 --- a/clients/client-apigatewayv2/commands/UpdateIntegrationResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateIntegrationResponseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIntegrationResponseCommandInput = UpdateIntegrationResponseRequest; @@ -70,7 +70,7 @@ export class UpdateIntegrationResponseCommand extends $Command< private serialize( input: UpdateIntegrationResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateIntegrationResponseCommand( input, @@ -80,7 +80,7 @@ export class UpdateIntegrationResponseCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateIntegrationResponseCommand( output, diff --git a/clients/client-apigatewayv2/commands/UpdateModelCommand.ts b/clients/client-apigatewayv2/commands/UpdateModelCommand.ts index faefa5d22257..6b605d382056 100644 --- a/clients/client-apigatewayv2/commands/UpdateModelCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateModelCommandInput = UpdateModelRequest; @@ -64,14 +64,14 @@ export class UpdateModelCommand extends $Command< private serialize( input: UpdateModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateModelCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/UpdateRouteCommand.ts b/clients/client-apigatewayv2/commands/UpdateRouteCommand.ts index 68da864829a9..4ceb84f6ce3d 100644 --- a/clients/client-apigatewayv2/commands/UpdateRouteCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateRouteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRouteCommandInput = UpdateRouteRequest; @@ -64,14 +64,14 @@ export class UpdateRouteCommand extends $Command< private serialize( input: UpdateRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRouteCommand(output, context); } diff --git a/clients/client-apigatewayv2/commands/UpdateRouteResponseCommand.ts b/clients/client-apigatewayv2/commands/UpdateRouteResponseCommand.ts index 0352cab9b2ac..a80f3b112389 100644 --- a/clients/client-apigatewayv2/commands/UpdateRouteResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateRouteResponseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRouteResponseCommandInput = UpdateRouteResponseRequest; @@ -70,14 +70,14 @@ export class UpdateRouteResponseCommand extends $Command< private serialize( input: UpdateRouteResponseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRouteResponseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRouteResponseCommand( output, diff --git a/clients/client-apigatewayv2/commands/UpdateStageCommand.ts b/clients/client-apigatewayv2/commands/UpdateStageCommand.ts index bc4893f4dcc2..75ff855f99e1 100644 --- a/clients/client-apigatewayv2/commands/UpdateStageCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateStageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStageCommandInput = UpdateStageRequest; @@ -64,14 +64,14 @@ export class UpdateStageCommand extends $Command< private serialize( input: UpdateStageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateStageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateStageCommand(output, context); } diff --git a/clients/client-apigatewayv2/protocols/Aws_restJson1_1.ts b/clients/client-apigatewayv2/protocols/Aws_restJson1_1.ts index 68ed65d424eb..f461f6fa93b9 100644 --- a/clients/client-apigatewayv2/protocols/Aws_restJson1_1.ts +++ b/clients/client-apigatewayv2/protocols/Aws_restJson1_1.ts @@ -10816,6 +10816,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-app-mesh/commands/CreateMeshCommand.ts b/clients/client-app-mesh/commands/CreateMeshCommand.ts index 42cb041da421..5a83f957c7b8 100644 --- a/clients/client-app-mesh/commands/CreateMeshCommand.ts +++ b/clients/client-app-mesh/commands/CreateMeshCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMeshCommandInput = CreateMeshInput; @@ -64,14 +64,14 @@ export class CreateMeshCommand extends $Command< private serialize( input: CreateMeshCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateMeshCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateMeshCommand(output, context); } diff --git a/clients/client-app-mesh/commands/CreateRouteCommand.ts b/clients/client-app-mesh/commands/CreateRouteCommand.ts index af9975844445..802b6971c8bd 100644 --- a/clients/client-app-mesh/commands/CreateRouteCommand.ts +++ b/clients/client-app-mesh/commands/CreateRouteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRouteCommandInput = CreateRouteInput; @@ -64,14 +64,14 @@ export class CreateRouteCommand extends $Command< private serialize( input: CreateRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRouteCommand(output, context); } diff --git a/clients/client-app-mesh/commands/CreateVirtualNodeCommand.ts b/clients/client-app-mesh/commands/CreateVirtualNodeCommand.ts index ba692f6536c0..a5ab7abba537 100644 --- a/clients/client-app-mesh/commands/CreateVirtualNodeCommand.ts +++ b/clients/client-app-mesh/commands/CreateVirtualNodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVirtualNodeCommandInput = CreateVirtualNodeInput; @@ -67,14 +67,14 @@ export class CreateVirtualNodeCommand extends $Command< private serialize( input: CreateVirtualNodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateVirtualNodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateVirtualNodeCommand(output, context); } diff --git a/clients/client-app-mesh/commands/CreateVirtualRouterCommand.ts b/clients/client-app-mesh/commands/CreateVirtualRouterCommand.ts index 5db10b8e38f8..37ef013a86fe 100644 --- a/clients/client-app-mesh/commands/CreateVirtualRouterCommand.ts +++ b/clients/client-app-mesh/commands/CreateVirtualRouterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVirtualRouterCommandInput = CreateVirtualRouterInput; @@ -70,14 +70,14 @@ export class CreateVirtualRouterCommand extends $Command< private serialize( input: CreateVirtualRouterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateVirtualRouterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateVirtualRouterCommand( output, diff --git a/clients/client-app-mesh/commands/CreateVirtualServiceCommand.ts b/clients/client-app-mesh/commands/CreateVirtualServiceCommand.ts index eea1bbb30f5f..a60b4a377582 100644 --- a/clients/client-app-mesh/commands/CreateVirtualServiceCommand.ts +++ b/clients/client-app-mesh/commands/CreateVirtualServiceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVirtualServiceCommandInput = CreateVirtualServiceInput; @@ -70,14 +70,14 @@ export class CreateVirtualServiceCommand extends $Command< private serialize( input: CreateVirtualServiceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateVirtualServiceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateVirtualServiceCommand( output, diff --git a/clients/client-app-mesh/commands/DeleteMeshCommand.ts b/clients/client-app-mesh/commands/DeleteMeshCommand.ts index d10b236062cd..1d89297f9d18 100644 --- a/clients/client-app-mesh/commands/DeleteMeshCommand.ts +++ b/clients/client-app-mesh/commands/DeleteMeshCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMeshCommandInput = DeleteMeshInput; @@ -64,14 +64,14 @@ export class DeleteMeshCommand extends $Command< private serialize( input: DeleteMeshCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMeshCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMeshCommand(output, context); } diff --git a/clients/client-app-mesh/commands/DeleteRouteCommand.ts b/clients/client-app-mesh/commands/DeleteRouteCommand.ts index bf8c7840279e..528d2cf9028f 100644 --- a/clients/client-app-mesh/commands/DeleteRouteCommand.ts +++ b/clients/client-app-mesh/commands/DeleteRouteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRouteCommandInput = DeleteRouteInput; @@ -64,14 +64,14 @@ export class DeleteRouteCommand extends $Command< private serialize( input: DeleteRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRouteCommand(output, context); } diff --git a/clients/client-app-mesh/commands/DeleteVirtualNodeCommand.ts b/clients/client-app-mesh/commands/DeleteVirtualNodeCommand.ts index e4663ab4f8e3..347191ed2773 100644 --- a/clients/client-app-mesh/commands/DeleteVirtualNodeCommand.ts +++ b/clients/client-app-mesh/commands/DeleteVirtualNodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVirtualNodeCommandInput = DeleteVirtualNodeInput; @@ -67,14 +67,14 @@ export class DeleteVirtualNodeCommand extends $Command< private serialize( input: DeleteVirtualNodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVirtualNodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVirtualNodeCommand(output, context); } diff --git a/clients/client-app-mesh/commands/DeleteVirtualRouterCommand.ts b/clients/client-app-mesh/commands/DeleteVirtualRouterCommand.ts index 27a559616553..e130e93cb860 100644 --- a/clients/client-app-mesh/commands/DeleteVirtualRouterCommand.ts +++ b/clients/client-app-mesh/commands/DeleteVirtualRouterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVirtualRouterCommandInput = DeleteVirtualRouterInput; @@ -70,14 +70,14 @@ export class DeleteVirtualRouterCommand extends $Command< private serialize( input: DeleteVirtualRouterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVirtualRouterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVirtualRouterCommand( output, diff --git a/clients/client-app-mesh/commands/DeleteVirtualServiceCommand.ts b/clients/client-app-mesh/commands/DeleteVirtualServiceCommand.ts index bde32d323cd0..7d3cabcb8729 100644 --- a/clients/client-app-mesh/commands/DeleteVirtualServiceCommand.ts +++ b/clients/client-app-mesh/commands/DeleteVirtualServiceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVirtualServiceCommandInput = DeleteVirtualServiceInput; @@ -70,14 +70,14 @@ export class DeleteVirtualServiceCommand extends $Command< private serialize( input: DeleteVirtualServiceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVirtualServiceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVirtualServiceCommand( output, diff --git a/clients/client-app-mesh/commands/DescribeMeshCommand.ts b/clients/client-app-mesh/commands/DescribeMeshCommand.ts index 3c6ea8d4e3e3..f5a23cfdeee6 100644 --- a/clients/client-app-mesh/commands/DescribeMeshCommand.ts +++ b/clients/client-app-mesh/commands/DescribeMeshCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMeshCommandInput = DescribeMeshInput; @@ -64,14 +64,14 @@ export class DescribeMeshCommand extends $Command< private serialize( input: DescribeMeshCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeMeshCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeMeshCommand(output, context); } diff --git a/clients/client-app-mesh/commands/DescribeRouteCommand.ts b/clients/client-app-mesh/commands/DescribeRouteCommand.ts index 510a004be4a9..8fba1fe14e4b 100644 --- a/clients/client-app-mesh/commands/DescribeRouteCommand.ts +++ b/clients/client-app-mesh/commands/DescribeRouteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRouteCommandInput = DescribeRouteInput; @@ -64,14 +64,14 @@ export class DescribeRouteCommand extends $Command< private serialize( input: DescribeRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeRouteCommand(output, context); } diff --git a/clients/client-app-mesh/commands/DescribeVirtualNodeCommand.ts b/clients/client-app-mesh/commands/DescribeVirtualNodeCommand.ts index b67cab48b349..76e74bed795a 100644 --- a/clients/client-app-mesh/commands/DescribeVirtualNodeCommand.ts +++ b/clients/client-app-mesh/commands/DescribeVirtualNodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVirtualNodeCommandInput = DescribeVirtualNodeInput; @@ -70,14 +70,14 @@ export class DescribeVirtualNodeCommand extends $Command< private serialize( input: DescribeVirtualNodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeVirtualNodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeVirtualNodeCommand( output, diff --git a/clients/client-app-mesh/commands/DescribeVirtualRouterCommand.ts b/clients/client-app-mesh/commands/DescribeVirtualRouterCommand.ts index ae3bfd122968..0d5ce38836f6 100644 --- a/clients/client-app-mesh/commands/DescribeVirtualRouterCommand.ts +++ b/clients/client-app-mesh/commands/DescribeVirtualRouterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVirtualRouterCommandInput = DescribeVirtualRouterInput; @@ -70,14 +70,14 @@ export class DescribeVirtualRouterCommand extends $Command< private serialize( input: DescribeVirtualRouterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeVirtualRouterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeVirtualRouterCommand( output, diff --git a/clients/client-app-mesh/commands/DescribeVirtualServiceCommand.ts b/clients/client-app-mesh/commands/DescribeVirtualServiceCommand.ts index f93685622f21..d044da8fdf11 100644 --- a/clients/client-app-mesh/commands/DescribeVirtualServiceCommand.ts +++ b/clients/client-app-mesh/commands/DescribeVirtualServiceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVirtualServiceCommandInput = DescribeVirtualServiceInput; @@ -70,7 +70,7 @@ export class DescribeVirtualServiceCommand extends $Command< private serialize( input: DescribeVirtualServiceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeVirtualServiceCommand( input, @@ -80,7 +80,7 @@ export class DescribeVirtualServiceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeVirtualServiceCommand( output, diff --git a/clients/client-app-mesh/commands/ListMeshesCommand.ts b/clients/client-app-mesh/commands/ListMeshesCommand.ts index 99137a974844..3286e4d41bf8 100644 --- a/clients/client-app-mesh/commands/ListMeshesCommand.ts +++ b/clients/client-app-mesh/commands/ListMeshesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMeshesCommandInput = ListMeshesInput; @@ -64,14 +64,14 @@ export class ListMeshesCommand extends $Command< private serialize( input: ListMeshesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListMeshesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListMeshesCommand(output, context); } diff --git a/clients/client-app-mesh/commands/ListRoutesCommand.ts b/clients/client-app-mesh/commands/ListRoutesCommand.ts index 17148ce684c2..ff83de078ab2 100644 --- a/clients/client-app-mesh/commands/ListRoutesCommand.ts +++ b/clients/client-app-mesh/commands/ListRoutesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRoutesCommandInput = ListRoutesInput; @@ -64,14 +64,14 @@ export class ListRoutesCommand extends $Command< private serialize( input: ListRoutesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRoutesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRoutesCommand(output, context); } diff --git a/clients/client-app-mesh/commands/ListTagsForResourceCommand.ts b/clients/client-app-mesh/commands/ListTagsForResourceCommand.ts index 96b5da394460..95087d09b21c 100644 --- a/clients/client-app-mesh/commands/ListTagsForResourceCommand.ts +++ b/clients/client-app-mesh/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-app-mesh/commands/ListVirtualNodesCommand.ts b/clients/client-app-mesh/commands/ListVirtualNodesCommand.ts index 63b3e9523898..a99651d9dd2a 100644 --- a/clients/client-app-mesh/commands/ListVirtualNodesCommand.ts +++ b/clients/client-app-mesh/commands/ListVirtualNodesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVirtualNodesCommandInput = ListVirtualNodesInput; @@ -64,14 +64,14 @@ export class ListVirtualNodesCommand extends $Command< private serialize( input: ListVirtualNodesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListVirtualNodesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListVirtualNodesCommand(output, context); } diff --git a/clients/client-app-mesh/commands/ListVirtualRoutersCommand.ts b/clients/client-app-mesh/commands/ListVirtualRoutersCommand.ts index ff9d166f28ec..03512c63f74e 100644 --- a/clients/client-app-mesh/commands/ListVirtualRoutersCommand.ts +++ b/clients/client-app-mesh/commands/ListVirtualRoutersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVirtualRoutersCommandInput = ListVirtualRoutersInput; @@ -67,14 +67,14 @@ export class ListVirtualRoutersCommand extends $Command< private serialize( input: ListVirtualRoutersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListVirtualRoutersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListVirtualRoutersCommand(output, context); } diff --git a/clients/client-app-mesh/commands/ListVirtualServicesCommand.ts b/clients/client-app-mesh/commands/ListVirtualServicesCommand.ts index 8ce15acef9dd..1d310e7a2f66 100644 --- a/clients/client-app-mesh/commands/ListVirtualServicesCommand.ts +++ b/clients/client-app-mesh/commands/ListVirtualServicesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVirtualServicesCommandInput = ListVirtualServicesInput; @@ -70,14 +70,14 @@ export class ListVirtualServicesCommand extends $Command< private serialize( input: ListVirtualServicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListVirtualServicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListVirtualServicesCommand( output, diff --git a/clients/client-app-mesh/commands/TagResourceCommand.ts b/clients/client-app-mesh/commands/TagResourceCommand.ts index ca154134f032..c721ba8c9bdf 100644 --- a/clients/client-app-mesh/commands/TagResourceCommand.ts +++ b/clients/client-app-mesh/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-app-mesh/commands/UntagResourceCommand.ts b/clients/client-app-mesh/commands/UntagResourceCommand.ts index 883bb70282ac..cfd9d7a91761 100644 --- a/clients/client-app-mesh/commands/UntagResourceCommand.ts +++ b/clients/client-app-mesh/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-app-mesh/commands/UpdateMeshCommand.ts b/clients/client-app-mesh/commands/UpdateMeshCommand.ts index 816b4945e73b..c84adf443de9 100644 --- a/clients/client-app-mesh/commands/UpdateMeshCommand.ts +++ b/clients/client-app-mesh/commands/UpdateMeshCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMeshCommandInput = UpdateMeshInput; @@ -64,14 +64,14 @@ export class UpdateMeshCommand extends $Command< private serialize( input: UpdateMeshCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateMeshCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateMeshCommand(output, context); } diff --git a/clients/client-app-mesh/commands/UpdateRouteCommand.ts b/clients/client-app-mesh/commands/UpdateRouteCommand.ts index 2488a70a1014..3409287a8878 100644 --- a/clients/client-app-mesh/commands/UpdateRouteCommand.ts +++ b/clients/client-app-mesh/commands/UpdateRouteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRouteCommandInput = UpdateRouteInput; @@ -64,14 +64,14 @@ export class UpdateRouteCommand extends $Command< private serialize( input: UpdateRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRouteCommand(output, context); } diff --git a/clients/client-app-mesh/commands/UpdateVirtualNodeCommand.ts b/clients/client-app-mesh/commands/UpdateVirtualNodeCommand.ts index 9e888b7203a7..1ed3484d1cc4 100644 --- a/clients/client-app-mesh/commands/UpdateVirtualNodeCommand.ts +++ b/clients/client-app-mesh/commands/UpdateVirtualNodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVirtualNodeCommandInput = UpdateVirtualNodeInput; @@ -67,14 +67,14 @@ export class UpdateVirtualNodeCommand extends $Command< private serialize( input: UpdateVirtualNodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateVirtualNodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateVirtualNodeCommand(output, context); } diff --git a/clients/client-app-mesh/commands/UpdateVirtualRouterCommand.ts b/clients/client-app-mesh/commands/UpdateVirtualRouterCommand.ts index 190e8e0202d3..41df11828ae5 100644 --- a/clients/client-app-mesh/commands/UpdateVirtualRouterCommand.ts +++ b/clients/client-app-mesh/commands/UpdateVirtualRouterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVirtualRouterCommandInput = UpdateVirtualRouterInput; @@ -70,14 +70,14 @@ export class UpdateVirtualRouterCommand extends $Command< private serialize( input: UpdateVirtualRouterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateVirtualRouterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateVirtualRouterCommand( output, diff --git a/clients/client-app-mesh/commands/UpdateVirtualServiceCommand.ts b/clients/client-app-mesh/commands/UpdateVirtualServiceCommand.ts index b82ed07e2636..4fd6ce6a6f83 100644 --- a/clients/client-app-mesh/commands/UpdateVirtualServiceCommand.ts +++ b/clients/client-app-mesh/commands/UpdateVirtualServiceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVirtualServiceCommandInput = UpdateVirtualServiceInput; @@ -70,14 +70,14 @@ export class UpdateVirtualServiceCommand extends $Command< private serialize( input: UpdateVirtualServiceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateVirtualServiceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateVirtualServiceCommand( output, diff --git a/clients/client-app-mesh/protocols/Aws_restJson1_1.ts b/clients/client-app-mesh/protocols/Aws_restJson1_1.ts index fdcaf26f8ab0..a23a48d618f1 100644 --- a/clients/client-app-mesh/protocols/Aws_restJson1_1.ts +++ b/clients/client-app-mesh/protocols/Aws_restJson1_1.ts @@ -6614,6 +6614,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-appconfig/commands/CreateApplicationCommand.ts b/clients/client-appconfig/commands/CreateApplicationCommand.ts index 3f3d0c9d7864..42e5bdc03900 100644 --- a/clients/client-appconfig/commands/CreateApplicationCommand.ts +++ b/clients/client-appconfig/commands/CreateApplicationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApplicationCommandInput = CreateApplicationRequest; @@ -64,14 +64,14 @@ export class CreateApplicationCommand extends $Command< private serialize( input: CreateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateApplicationCommand(output, context); } diff --git a/clients/client-appconfig/commands/CreateConfigurationProfileCommand.ts b/clients/client-appconfig/commands/CreateConfigurationProfileCommand.ts index 56d73dd704ef..bf6df4ccf746 100644 --- a/clients/client-appconfig/commands/CreateConfigurationProfileCommand.ts +++ b/clients/client-appconfig/commands/CreateConfigurationProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationProfileCommandInput = CreateConfigurationProfileRequest; @@ -70,7 +70,7 @@ export class CreateConfigurationProfileCommand extends $Command< private serialize( input: CreateConfigurationProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConfigurationProfileCommand( input, @@ -80,7 +80,7 @@ export class CreateConfigurationProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConfigurationProfileCommand( output, diff --git a/clients/client-appconfig/commands/CreateDeploymentStrategyCommand.ts b/clients/client-appconfig/commands/CreateDeploymentStrategyCommand.ts index b661e210c56f..6d676799ab66 100644 --- a/clients/client-appconfig/commands/CreateDeploymentStrategyCommand.ts +++ b/clients/client-appconfig/commands/CreateDeploymentStrategyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeploymentStrategyCommandInput = CreateDeploymentStrategyRequest; @@ -70,7 +70,7 @@ export class CreateDeploymentStrategyCommand extends $Command< private serialize( input: CreateDeploymentStrategyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDeploymentStrategyCommand( input, @@ -80,7 +80,7 @@ export class CreateDeploymentStrategyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDeploymentStrategyCommand( output, diff --git a/clients/client-appconfig/commands/CreateEnvironmentCommand.ts b/clients/client-appconfig/commands/CreateEnvironmentCommand.ts index 4debb806e603..f3b5a0ed1431 100644 --- a/clients/client-appconfig/commands/CreateEnvironmentCommand.ts +++ b/clients/client-appconfig/commands/CreateEnvironmentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEnvironmentCommandInput = CreateEnvironmentRequest; @@ -64,14 +64,14 @@ export class CreateEnvironmentCommand extends $Command< private serialize( input: CreateEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateEnvironmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateEnvironmentCommand(output, context); } diff --git a/clients/client-appconfig/commands/DeleteApplicationCommand.ts b/clients/client-appconfig/commands/DeleteApplicationCommand.ts index eb9e946e0400..ebfea726c511 100644 --- a/clients/client-appconfig/commands/DeleteApplicationCommand.ts +++ b/clients/client-appconfig/commands/DeleteApplicationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationCommandInput = DeleteApplicationRequest; @@ -65,14 +65,14 @@ export class DeleteApplicationCommand extends $Command< private serialize( input: DeleteApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteApplicationCommand(output, context); } diff --git a/clients/client-appconfig/commands/DeleteConfigurationProfileCommand.ts b/clients/client-appconfig/commands/DeleteConfigurationProfileCommand.ts index 7bbea45bd45d..43dd39eea0d1 100644 --- a/clients/client-appconfig/commands/DeleteConfigurationProfileCommand.ts +++ b/clients/client-appconfig/commands/DeleteConfigurationProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationProfileCommandInput = DeleteConfigurationProfileRequest; @@ -68,7 +68,7 @@ export class DeleteConfigurationProfileCommand extends $Command< private serialize( input: DeleteConfigurationProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteConfigurationProfileCommand( input, @@ -78,7 +78,7 @@ export class DeleteConfigurationProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteConfigurationProfileCommand( output, diff --git a/clients/client-appconfig/commands/DeleteDeploymentStrategyCommand.ts b/clients/client-appconfig/commands/DeleteDeploymentStrategyCommand.ts index 5ad83327c939..a1809b3ba52e 100644 --- a/clients/client-appconfig/commands/DeleteDeploymentStrategyCommand.ts +++ b/clients/client-appconfig/commands/DeleteDeploymentStrategyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDeploymentStrategyCommandInput = DeleteDeploymentStrategyRequest; @@ -68,7 +68,7 @@ export class DeleteDeploymentStrategyCommand extends $Command< private serialize( input: DeleteDeploymentStrategyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDeploymentStrategyCommand( input, @@ -78,7 +78,7 @@ export class DeleteDeploymentStrategyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDeploymentStrategyCommand( output, diff --git a/clients/client-appconfig/commands/DeleteEnvironmentCommand.ts b/clients/client-appconfig/commands/DeleteEnvironmentCommand.ts index a788656d6cbe..b48b31f577ed 100644 --- a/clients/client-appconfig/commands/DeleteEnvironmentCommand.ts +++ b/clients/client-appconfig/commands/DeleteEnvironmentCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEnvironmentCommandInput = DeleteEnvironmentRequest; @@ -65,14 +65,14 @@ export class DeleteEnvironmentCommand extends $Command< private serialize( input: DeleteEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteEnvironmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteEnvironmentCommand(output, context); } diff --git a/clients/client-appconfig/commands/GetApplicationCommand.ts b/clients/client-appconfig/commands/GetApplicationCommand.ts index 3642f851a677..31de9cd01eea 100644 --- a/clients/client-appconfig/commands/GetApplicationCommand.ts +++ b/clients/client-appconfig/commands/GetApplicationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApplicationCommandInput = GetApplicationRequest; @@ -64,14 +64,14 @@ export class GetApplicationCommand extends $Command< private serialize( input: GetApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApplicationCommand(output, context); } diff --git a/clients/client-appconfig/commands/GetConfigurationCommand.ts b/clients/client-appconfig/commands/GetConfigurationCommand.ts index f769581956e1..9a2f8398e6db 100644 --- a/clients/client-appconfig/commands/GetConfigurationCommand.ts +++ b/clients/client-appconfig/commands/GetConfigurationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConfigurationCommandInput = GetConfigurationRequest; @@ -64,14 +64,14 @@ export class GetConfigurationCommand extends $Command< private serialize( input: GetConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConfigurationCommand(output, context); } diff --git a/clients/client-appconfig/commands/GetConfigurationProfileCommand.ts b/clients/client-appconfig/commands/GetConfigurationProfileCommand.ts index 295bd22fca98..130738347a10 100644 --- a/clients/client-appconfig/commands/GetConfigurationProfileCommand.ts +++ b/clients/client-appconfig/commands/GetConfigurationProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConfigurationProfileCommandInput = GetConfigurationProfileRequest; @@ -70,7 +70,7 @@ export class GetConfigurationProfileCommand extends $Command< private serialize( input: GetConfigurationProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConfigurationProfileCommand( input, @@ -80,7 +80,7 @@ export class GetConfigurationProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConfigurationProfileCommand( output, diff --git a/clients/client-appconfig/commands/GetDeploymentCommand.ts b/clients/client-appconfig/commands/GetDeploymentCommand.ts index a6bb6d7f5990..b324808172c2 100644 --- a/clients/client-appconfig/commands/GetDeploymentCommand.ts +++ b/clients/client-appconfig/commands/GetDeploymentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentCommandInput = GetDeploymentRequest; @@ -64,14 +64,14 @@ export class GetDeploymentCommand extends $Command< private serialize( input: GetDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeploymentCommand(output, context); } diff --git a/clients/client-appconfig/commands/GetDeploymentStrategyCommand.ts b/clients/client-appconfig/commands/GetDeploymentStrategyCommand.ts index 958c600ae815..80e1910806ec 100644 --- a/clients/client-appconfig/commands/GetDeploymentStrategyCommand.ts +++ b/clients/client-appconfig/commands/GetDeploymentStrategyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentStrategyCommandInput = GetDeploymentStrategyRequest; @@ -70,14 +70,14 @@ export class GetDeploymentStrategyCommand extends $Command< private serialize( input: GetDeploymentStrategyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeploymentStrategyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeploymentStrategyCommand( output, diff --git a/clients/client-appconfig/commands/GetEnvironmentCommand.ts b/clients/client-appconfig/commands/GetEnvironmentCommand.ts index d7b9c3bba54d..560cc30027fb 100644 --- a/clients/client-appconfig/commands/GetEnvironmentCommand.ts +++ b/clients/client-appconfig/commands/GetEnvironmentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEnvironmentCommandInput = GetEnvironmentRequest; @@ -64,14 +64,14 @@ export class GetEnvironmentCommand extends $Command< private serialize( input: GetEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEnvironmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEnvironmentCommand(output, context); } diff --git a/clients/client-appconfig/commands/ListApplicationsCommand.ts b/clients/client-appconfig/commands/ListApplicationsCommand.ts index 9e04347ac755..00f8e042be56 100644 --- a/clients/client-appconfig/commands/ListApplicationsCommand.ts +++ b/clients/client-appconfig/commands/ListApplicationsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApplicationsCommandInput = ListApplicationsRequest; @@ -64,14 +64,14 @@ export class ListApplicationsCommand extends $Command< private serialize( input: ListApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListApplicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListApplicationsCommand(output, context); } diff --git a/clients/client-appconfig/commands/ListConfigurationProfilesCommand.ts b/clients/client-appconfig/commands/ListConfigurationProfilesCommand.ts index 07432dc501c0..db58c9658352 100644 --- a/clients/client-appconfig/commands/ListConfigurationProfilesCommand.ts +++ b/clients/client-appconfig/commands/ListConfigurationProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigurationProfilesCommandInput = ListConfigurationProfilesRequest; @@ -70,7 +70,7 @@ export class ListConfigurationProfilesCommand extends $Command< private serialize( input: ListConfigurationProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListConfigurationProfilesCommand( input, @@ -80,7 +80,7 @@ export class ListConfigurationProfilesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListConfigurationProfilesCommand( output, diff --git a/clients/client-appconfig/commands/ListDeploymentStrategiesCommand.ts b/clients/client-appconfig/commands/ListDeploymentStrategiesCommand.ts index 1e327b45a811..5976c9012a67 100644 --- a/clients/client-appconfig/commands/ListDeploymentStrategiesCommand.ts +++ b/clients/client-appconfig/commands/ListDeploymentStrategiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeploymentStrategiesCommandInput = ListDeploymentStrategiesRequest; @@ -70,7 +70,7 @@ export class ListDeploymentStrategiesCommand extends $Command< private serialize( input: ListDeploymentStrategiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDeploymentStrategiesCommand( input, @@ -80,7 +80,7 @@ export class ListDeploymentStrategiesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDeploymentStrategiesCommand( output, diff --git a/clients/client-appconfig/commands/ListDeploymentsCommand.ts b/clients/client-appconfig/commands/ListDeploymentsCommand.ts index b936f20e3763..441ea0a80fff 100644 --- a/clients/client-appconfig/commands/ListDeploymentsCommand.ts +++ b/clients/client-appconfig/commands/ListDeploymentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeploymentsCommandInput = ListDeploymentsRequest; @@ -64,14 +64,14 @@ export class ListDeploymentsCommand extends $Command< private serialize( input: ListDeploymentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDeploymentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDeploymentsCommand(output, context); } diff --git a/clients/client-appconfig/commands/ListEnvironmentsCommand.ts b/clients/client-appconfig/commands/ListEnvironmentsCommand.ts index ebbf0d6ff4ab..737ccd9c44e1 100644 --- a/clients/client-appconfig/commands/ListEnvironmentsCommand.ts +++ b/clients/client-appconfig/commands/ListEnvironmentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEnvironmentsCommandInput = ListEnvironmentsRequest; @@ -64,14 +64,14 @@ export class ListEnvironmentsCommand extends $Command< private serialize( input: ListEnvironmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListEnvironmentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListEnvironmentsCommand(output, context); } diff --git a/clients/client-appconfig/commands/ListTagsForResourceCommand.ts b/clients/client-appconfig/commands/ListTagsForResourceCommand.ts index 1eaad7b4d187..b875c94c2462 100644 --- a/clients/client-appconfig/commands/ListTagsForResourceCommand.ts +++ b/clients/client-appconfig/commands/ListTagsForResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -67,14 +67,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-appconfig/commands/StartDeploymentCommand.ts b/clients/client-appconfig/commands/StartDeploymentCommand.ts index 1cfeec675530..c671eafc2e95 100644 --- a/clients/client-appconfig/commands/StartDeploymentCommand.ts +++ b/clients/client-appconfig/commands/StartDeploymentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDeploymentCommandInput = StartDeploymentRequest; @@ -64,14 +64,14 @@ export class StartDeploymentCommand extends $Command< private serialize( input: StartDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartDeploymentCommand(output, context); } diff --git a/clients/client-appconfig/commands/StopDeploymentCommand.ts b/clients/client-appconfig/commands/StopDeploymentCommand.ts index 566c1668dfe1..89aff61a09e2 100644 --- a/clients/client-appconfig/commands/StopDeploymentCommand.ts +++ b/clients/client-appconfig/commands/StopDeploymentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopDeploymentCommandInput = StopDeploymentRequest; @@ -64,14 +64,14 @@ export class StopDeploymentCommand extends $Command< private serialize( input: StopDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopDeploymentCommand(output, context); } diff --git a/clients/client-appconfig/commands/TagResourceCommand.ts b/clients/client-appconfig/commands/TagResourceCommand.ts index c80772ec435c..f0ddb11edee7 100644 --- a/clients/client-appconfig/commands/TagResourceCommand.ts +++ b/clients/client-appconfig/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-appconfig/commands/UntagResourceCommand.ts b/clients/client-appconfig/commands/UntagResourceCommand.ts index 217d9b58cb5b..304156f26050 100644 --- a/clients/client-appconfig/commands/UntagResourceCommand.ts +++ b/clients/client-appconfig/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-appconfig/commands/UpdateApplicationCommand.ts b/clients/client-appconfig/commands/UpdateApplicationCommand.ts index 4d1d62ea4ad0..83ff025ed5e5 100644 --- a/clients/client-appconfig/commands/UpdateApplicationCommand.ts +++ b/clients/client-appconfig/commands/UpdateApplicationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApplicationCommandInput = UpdateApplicationRequest; @@ -64,14 +64,14 @@ export class UpdateApplicationCommand extends $Command< private serialize( input: UpdateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApplicationCommand(output, context); } diff --git a/clients/client-appconfig/commands/UpdateConfigurationProfileCommand.ts b/clients/client-appconfig/commands/UpdateConfigurationProfileCommand.ts index d5763869e8ee..01e37d423da9 100644 --- a/clients/client-appconfig/commands/UpdateConfigurationProfileCommand.ts +++ b/clients/client-appconfig/commands/UpdateConfigurationProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConfigurationProfileCommandInput = UpdateConfigurationProfileRequest; @@ -70,7 +70,7 @@ export class UpdateConfigurationProfileCommand extends $Command< private serialize( input: UpdateConfigurationProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateConfigurationProfileCommand( input, @@ -80,7 +80,7 @@ export class UpdateConfigurationProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateConfigurationProfileCommand( output, diff --git a/clients/client-appconfig/commands/UpdateDeploymentStrategyCommand.ts b/clients/client-appconfig/commands/UpdateDeploymentStrategyCommand.ts index a995c622e05c..afd60c90790a 100644 --- a/clients/client-appconfig/commands/UpdateDeploymentStrategyCommand.ts +++ b/clients/client-appconfig/commands/UpdateDeploymentStrategyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDeploymentStrategyCommandInput = UpdateDeploymentStrategyRequest; @@ -70,7 +70,7 @@ export class UpdateDeploymentStrategyCommand extends $Command< private serialize( input: UpdateDeploymentStrategyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDeploymentStrategyCommand( input, @@ -80,7 +80,7 @@ export class UpdateDeploymentStrategyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDeploymentStrategyCommand( output, diff --git a/clients/client-appconfig/commands/UpdateEnvironmentCommand.ts b/clients/client-appconfig/commands/UpdateEnvironmentCommand.ts index 9651d3b024c7..8b51cf9d97c3 100644 --- a/clients/client-appconfig/commands/UpdateEnvironmentCommand.ts +++ b/clients/client-appconfig/commands/UpdateEnvironmentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEnvironmentCommandInput = UpdateEnvironmentRequest; @@ -64,14 +64,14 @@ export class UpdateEnvironmentCommand extends $Command< private serialize( input: UpdateEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateEnvironmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateEnvironmentCommand(output, context); } diff --git a/clients/client-appconfig/commands/ValidateConfigurationCommand.ts b/clients/client-appconfig/commands/ValidateConfigurationCommand.ts index 4cc1fe88ab3f..dca8336906f1 100644 --- a/clients/client-appconfig/commands/ValidateConfigurationCommand.ts +++ b/clients/client-appconfig/commands/ValidateConfigurationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ValidateConfigurationCommandInput = ValidateConfigurationRequest; @@ -68,14 +68,14 @@ export class ValidateConfigurationCommand extends $Command< private serialize( input: ValidateConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ValidateConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ValidateConfigurationCommand( output, diff --git a/clients/client-appconfig/protocols/Aws_restJson1_1.ts b/clients/client-appconfig/protocols/Aws_restJson1_1.ts index 807ba54d0e01..d48190acb4fb 100644 --- a/clients/client-appconfig/protocols/Aws_restJson1_1.ts +++ b/clients/client-appconfig/protocols/Aws_restJson1_1.ts @@ -4480,6 +4480,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-application-auto-scaling/commands/DeleteScalingPolicyCommand.ts b/clients/client-application-auto-scaling/commands/DeleteScalingPolicyCommand.ts index 66fd9e019a96..6a42f4f43c89 100644 --- a/clients/client-application-auto-scaling/commands/DeleteScalingPolicyCommand.ts +++ b/clients/client-application-auto-scaling/commands/DeleteScalingPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteScalingPolicyCommandInput = DeleteScalingPolicyRequest; @@ -70,14 +70,14 @@ export class DeleteScalingPolicyCommand extends $Command< private serialize( input: DeleteScalingPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteScalingPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteScalingPolicyCommand(output, context); } diff --git a/clients/client-application-auto-scaling/commands/DeleteScheduledActionCommand.ts b/clients/client-application-auto-scaling/commands/DeleteScheduledActionCommand.ts index fd2ddbc02038..4142c876fb76 100644 --- a/clients/client-application-auto-scaling/commands/DeleteScheduledActionCommand.ts +++ b/clients/client-application-auto-scaling/commands/DeleteScheduledActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteScheduledActionCommandInput = DeleteScheduledActionRequest; @@ -70,14 +70,14 @@ export class DeleteScheduledActionCommand extends $Command< private serialize( input: DeleteScheduledActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteScheduledActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteScheduledActionCommand(output, context); } diff --git a/clients/client-application-auto-scaling/commands/DeregisterScalableTargetCommand.ts b/clients/client-application-auto-scaling/commands/DeregisterScalableTargetCommand.ts index dc6968733701..013306f70ab3 100644 --- a/clients/client-application-auto-scaling/commands/DeregisterScalableTargetCommand.ts +++ b/clients/client-application-auto-scaling/commands/DeregisterScalableTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterScalableTargetCommandInput = DeregisterScalableTargetRequest; @@ -70,14 +70,14 @@ export class DeregisterScalableTargetCommand extends $Command< private serialize( input: DeregisterScalableTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterScalableTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterScalableTargetCommand( output, diff --git a/clients/client-application-auto-scaling/commands/DescribeScalableTargetsCommand.ts b/clients/client-application-auto-scaling/commands/DescribeScalableTargetsCommand.ts index e9cf852350f4..1da700624726 100644 --- a/clients/client-application-auto-scaling/commands/DescribeScalableTargetsCommand.ts +++ b/clients/client-application-auto-scaling/commands/DescribeScalableTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScalableTargetsCommandInput = DescribeScalableTargetsRequest; @@ -70,14 +70,14 @@ export class DescribeScalableTargetsCommand extends $Command< private serialize( input: DescribeScalableTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeScalableTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeScalableTargetsCommand( output, diff --git a/clients/client-application-auto-scaling/commands/DescribeScalingActivitiesCommand.ts b/clients/client-application-auto-scaling/commands/DescribeScalingActivitiesCommand.ts index b524c5110edd..d15935b192b9 100644 --- a/clients/client-application-auto-scaling/commands/DescribeScalingActivitiesCommand.ts +++ b/clients/client-application-auto-scaling/commands/DescribeScalingActivitiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScalingActivitiesCommandInput = DescribeScalingActivitiesRequest; @@ -70,14 +70,14 @@ export class DescribeScalingActivitiesCommand extends $Command< private serialize( input: DescribeScalingActivitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeScalingActivitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeScalingActivitiesCommand( output, diff --git a/clients/client-application-auto-scaling/commands/DescribeScalingPoliciesCommand.ts b/clients/client-application-auto-scaling/commands/DescribeScalingPoliciesCommand.ts index 88b32d80f5d8..76c0b54a704f 100644 --- a/clients/client-application-auto-scaling/commands/DescribeScalingPoliciesCommand.ts +++ b/clients/client-application-auto-scaling/commands/DescribeScalingPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScalingPoliciesCommandInput = DescribeScalingPoliciesRequest; @@ -70,14 +70,14 @@ export class DescribeScalingPoliciesCommand extends $Command< private serialize( input: DescribeScalingPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeScalingPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeScalingPoliciesCommand( output, diff --git a/clients/client-application-auto-scaling/commands/DescribeScheduledActionsCommand.ts b/clients/client-application-auto-scaling/commands/DescribeScheduledActionsCommand.ts index 0e5bcd39b9d0..aace1163be58 100644 --- a/clients/client-application-auto-scaling/commands/DescribeScheduledActionsCommand.ts +++ b/clients/client-application-auto-scaling/commands/DescribeScheduledActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScheduledActionsCommandInput = DescribeScheduledActionsRequest; @@ -70,14 +70,14 @@ export class DescribeScheduledActionsCommand extends $Command< private serialize( input: DescribeScheduledActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeScheduledActionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeScheduledActionsCommand( output, diff --git a/clients/client-application-auto-scaling/commands/PutScalingPolicyCommand.ts b/clients/client-application-auto-scaling/commands/PutScalingPolicyCommand.ts index 91671b004f02..1ae2e6f4ad3e 100644 --- a/clients/client-application-auto-scaling/commands/PutScalingPolicyCommand.ts +++ b/clients/client-application-auto-scaling/commands/PutScalingPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutScalingPolicyCommandInput = PutScalingPolicyRequest; @@ -67,14 +67,14 @@ export class PutScalingPolicyCommand extends $Command< private serialize( input: PutScalingPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutScalingPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutScalingPolicyCommand(output, context); } diff --git a/clients/client-application-auto-scaling/commands/PutScheduledActionCommand.ts b/clients/client-application-auto-scaling/commands/PutScheduledActionCommand.ts index d90391741939..a088b3da27c0 100644 --- a/clients/client-application-auto-scaling/commands/PutScheduledActionCommand.ts +++ b/clients/client-application-auto-scaling/commands/PutScheduledActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutScheduledActionCommandInput = PutScheduledActionRequest; @@ -67,14 +67,14 @@ export class PutScheduledActionCommand extends $Command< private serialize( input: PutScheduledActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutScheduledActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutScheduledActionCommand(output, context); } diff --git a/clients/client-application-auto-scaling/commands/RegisterScalableTargetCommand.ts b/clients/client-application-auto-scaling/commands/RegisterScalableTargetCommand.ts index 67a27ff9bb58..29790594dc41 100644 --- a/clients/client-application-auto-scaling/commands/RegisterScalableTargetCommand.ts +++ b/clients/client-application-auto-scaling/commands/RegisterScalableTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterScalableTargetCommandInput = RegisterScalableTargetRequest; @@ -70,14 +70,14 @@ export class RegisterScalableTargetCommand extends $Command< private serialize( input: RegisterScalableTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterScalableTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterScalableTargetCommand(output, context); } diff --git a/clients/client-application-auto-scaling/protocols/Aws_json1_1.ts b/clients/client-application-auto-scaling/protocols/Aws_json1_1.ts index 3ae1210dae0f..2f33d56a69b8 100644 --- a/clients/client-application-auto-scaling/protocols/Aws_json1_1.ts +++ b/clients/client-application-auto-scaling/protocols/Aws_json1_1.ts @@ -2500,6 +2500,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-application-discovery-service/commands/AssociateConfigurationItemsToApplicationCommand.ts b/clients/client-application-discovery-service/commands/AssociateConfigurationItemsToApplicationCommand.ts index ef50c78ffdce..36825e0e73e1 100644 --- a/clients/client-application-discovery-service/commands/AssociateConfigurationItemsToApplicationCommand.ts +++ b/clients/client-application-discovery-service/commands/AssociateConfigurationItemsToApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateConfigurationItemsToApplicationCommandInput = AssociateConfigurationItemsToApplicationRequest; @@ -72,7 +72,7 @@ export class AssociateConfigurationItemsToApplicationCommand extends $Command< private serialize( input: AssociateConfigurationItemsToApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateConfigurationItemsToApplicationCommand( input, @@ -82,7 +82,7 @@ export class AssociateConfigurationItemsToApplicationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateConfigurationItemsToApplicationCommand( output, diff --git a/clients/client-application-discovery-service/commands/BatchDeleteImportDataCommand.ts b/clients/client-application-discovery-service/commands/BatchDeleteImportDataCommand.ts index 96f3a1fa2ddf..3e2a65fbcaac 100644 --- a/clients/client-application-discovery-service/commands/BatchDeleteImportDataCommand.ts +++ b/clients/client-application-discovery-service/commands/BatchDeleteImportDataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDeleteImportDataCommandInput = BatchDeleteImportDataRequest; @@ -70,14 +70,14 @@ export class BatchDeleteImportDataCommand extends $Command< private serialize( input: BatchDeleteImportDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDeleteImportDataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDeleteImportDataCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/CreateApplicationCommand.ts b/clients/client-application-discovery-service/commands/CreateApplicationCommand.ts index faebba91490d..7d9f1aebf0a8 100644 --- a/clients/client-application-discovery-service/commands/CreateApplicationCommand.ts +++ b/clients/client-application-discovery-service/commands/CreateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApplicationCommandInput = CreateApplicationRequest; @@ -67,14 +67,14 @@ export class CreateApplicationCommand extends $Command< private serialize( input: CreateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateApplicationCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/CreateTagsCommand.ts b/clients/client-application-discovery-service/commands/CreateTagsCommand.ts index 16191378203b..18edd58cd976 100644 --- a/clients/client-application-discovery-service/commands/CreateTagsCommand.ts +++ b/clients/client-application-discovery-service/commands/CreateTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTagsCommandInput = CreateTagsRequest; @@ -64,14 +64,14 @@ export class CreateTagsCommand extends $Command< private serialize( input: CreateTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTagsCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/DeleteApplicationsCommand.ts b/clients/client-application-discovery-service/commands/DeleteApplicationsCommand.ts index 98987afbffca..7cef7f597738 100644 --- a/clients/client-application-discovery-service/commands/DeleteApplicationsCommand.ts +++ b/clients/client-application-discovery-service/commands/DeleteApplicationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationsCommandInput = DeleteApplicationsRequest; @@ -67,14 +67,14 @@ export class DeleteApplicationsCommand extends $Command< private serialize( input: DeleteApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationsCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/DeleteTagsCommand.ts b/clients/client-application-discovery-service/commands/DeleteTagsCommand.ts index 9d1a5515666c..8d67991b1048 100644 --- a/clients/client-application-discovery-service/commands/DeleteTagsCommand.ts +++ b/clients/client-application-discovery-service/commands/DeleteTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagsCommandInput = DeleteTagsRequest; @@ -64,14 +64,14 @@ export class DeleteTagsCommand extends $Command< private serialize( input: DeleteTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTagsCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/DescribeAgentsCommand.ts b/clients/client-application-discovery-service/commands/DescribeAgentsCommand.ts index c0027664a49d..f983198c1193 100644 --- a/clients/client-application-discovery-service/commands/DescribeAgentsCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeAgentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAgentsCommandInput = DescribeAgentsRequest; @@ -64,14 +64,14 @@ export class DescribeAgentsCommand extends $Command< private serialize( input: DescribeAgentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAgentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAgentsCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/DescribeConfigurationsCommand.ts b/clients/client-application-discovery-service/commands/DescribeConfigurationsCommand.ts index fb269de79fd6..7055b44bcc1e 100644 --- a/clients/client-application-discovery-service/commands/DescribeConfigurationsCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationsCommandInput = DescribeConfigurationsRequest; @@ -70,14 +70,14 @@ export class DescribeConfigurationsCommand extends $Command< private serialize( input: DescribeConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConfigurationsCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/DescribeContinuousExportsCommand.ts b/clients/client-application-discovery-service/commands/DescribeContinuousExportsCommand.ts index 4792255504f3..f6e472997b7e 100644 --- a/clients/client-application-discovery-service/commands/DescribeContinuousExportsCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeContinuousExportsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeContinuousExportsCommandInput = DescribeContinuousExportsRequest; @@ -70,14 +70,14 @@ export class DescribeContinuousExportsCommand extends $Command< private serialize( input: DescribeContinuousExportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeContinuousExportsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeContinuousExportsCommand( output, diff --git a/clients/client-application-discovery-service/commands/DescribeExportConfigurationsCommand.ts b/clients/client-application-discovery-service/commands/DescribeExportConfigurationsCommand.ts index 58925c0d4b87..cd44fdfc7cbf 100644 --- a/clients/client-application-discovery-service/commands/DescribeExportConfigurationsCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeExportConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeExportConfigurationsCommandInput = DescribeExportConfigurationsRequest; @@ -70,7 +70,7 @@ export class DescribeExportConfigurationsCommand extends $Command< private serialize( input: DescribeExportConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeExportConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeExportConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeExportConfigurationsCommand( output, diff --git a/clients/client-application-discovery-service/commands/DescribeExportTasksCommand.ts b/clients/client-application-discovery-service/commands/DescribeExportTasksCommand.ts index cd53ea8f1eb4..d2732a26b76c 100644 --- a/clients/client-application-discovery-service/commands/DescribeExportTasksCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeExportTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeExportTasksCommandInput = DescribeExportTasksRequest; @@ -70,14 +70,14 @@ export class DescribeExportTasksCommand extends $Command< private serialize( input: DescribeExportTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeExportTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeExportTasksCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/DescribeImportTasksCommand.ts b/clients/client-application-discovery-service/commands/DescribeImportTasksCommand.ts index f4ffc6a8c525..e32da1a27d8c 100644 --- a/clients/client-application-discovery-service/commands/DescribeImportTasksCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeImportTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeImportTasksCommandInput = DescribeImportTasksRequest; @@ -70,14 +70,14 @@ export class DescribeImportTasksCommand extends $Command< private serialize( input: DescribeImportTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeImportTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeImportTasksCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/DescribeTagsCommand.ts b/clients/client-application-discovery-service/commands/DescribeTagsCommand.ts index 93e1ff933bb0..a2313477dc92 100644 --- a/clients/client-application-discovery-service/commands/DescribeTagsCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTagsCommandInput = DescribeTagsRequest; @@ -64,14 +64,14 @@ export class DescribeTagsCommand extends $Command< private serialize( input: DescribeTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTagsCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/DisassociateConfigurationItemsFromApplicationCommand.ts b/clients/client-application-discovery-service/commands/DisassociateConfigurationItemsFromApplicationCommand.ts index 7213ce4fe1d4..d8b250572c8f 100644 --- a/clients/client-application-discovery-service/commands/DisassociateConfigurationItemsFromApplicationCommand.ts +++ b/clients/client-application-discovery-service/commands/DisassociateConfigurationItemsFromApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateConfigurationItemsFromApplicationCommandInput = DisassociateConfigurationItemsFromApplicationRequest; @@ -72,7 +72,7 @@ export class DisassociateConfigurationItemsFromApplicationCommand extends $Comma private serialize( input: DisassociateConfigurationItemsFromApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateConfigurationItemsFromApplicationCommand( input, @@ -82,7 +82,7 @@ export class DisassociateConfigurationItemsFromApplicationCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateConfigurationItemsFromApplicationCommand( output, diff --git a/clients/client-application-discovery-service/commands/ExportConfigurationsCommand.ts b/clients/client-application-discovery-service/commands/ExportConfigurationsCommand.ts index 5e91690ee1fa..c86e30ffa18d 100644 --- a/clients/client-application-discovery-service/commands/ExportConfigurationsCommand.ts +++ b/clients/client-application-discovery-service/commands/ExportConfigurationsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportConfigurationsCommandInput = {}; @@ -67,14 +67,14 @@ export class ExportConfigurationsCommand extends $Command< private serialize( input: ExportConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ExportConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ExportConfigurationsCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/GetDiscoverySummaryCommand.ts b/clients/client-application-discovery-service/commands/GetDiscoverySummaryCommand.ts index f22e3d829722..f9a34c7096df 100644 --- a/clients/client-application-discovery-service/commands/GetDiscoverySummaryCommand.ts +++ b/clients/client-application-discovery-service/commands/GetDiscoverySummaryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDiscoverySummaryCommandInput = GetDiscoverySummaryRequest; @@ -70,14 +70,14 @@ export class GetDiscoverySummaryCommand extends $Command< private serialize( input: GetDiscoverySummaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDiscoverySummaryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDiscoverySummaryCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/ListConfigurationsCommand.ts b/clients/client-application-discovery-service/commands/ListConfigurationsCommand.ts index ba8d3eb7ee70..d0b05b9fad67 100644 --- a/clients/client-application-discovery-service/commands/ListConfigurationsCommand.ts +++ b/clients/client-application-discovery-service/commands/ListConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigurationsCommandInput = ListConfigurationsRequest; @@ -67,14 +67,14 @@ export class ListConfigurationsCommand extends $Command< private serialize( input: ListConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListConfigurationsCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/ListServerNeighborsCommand.ts b/clients/client-application-discovery-service/commands/ListServerNeighborsCommand.ts index 0ce04c324ec8..6fc89229a773 100644 --- a/clients/client-application-discovery-service/commands/ListServerNeighborsCommand.ts +++ b/clients/client-application-discovery-service/commands/ListServerNeighborsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListServerNeighborsCommandInput = ListServerNeighborsRequest; @@ -70,14 +70,14 @@ export class ListServerNeighborsCommand extends $Command< private serialize( input: ListServerNeighborsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListServerNeighborsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListServerNeighborsCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/StartContinuousExportCommand.ts b/clients/client-application-discovery-service/commands/StartContinuousExportCommand.ts index 87ed0de4bcd1..edd96dac4631 100644 --- a/clients/client-application-discovery-service/commands/StartContinuousExportCommand.ts +++ b/clients/client-application-discovery-service/commands/StartContinuousExportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartContinuousExportCommandInput = StartContinuousExportRequest; @@ -70,14 +70,14 @@ export class StartContinuousExportCommand extends $Command< private serialize( input: StartContinuousExportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartContinuousExportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartContinuousExportCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/StartDataCollectionByAgentIdsCommand.ts b/clients/client-application-discovery-service/commands/StartDataCollectionByAgentIdsCommand.ts index 50ec12fe67a2..984068ea3831 100644 --- a/clients/client-application-discovery-service/commands/StartDataCollectionByAgentIdsCommand.ts +++ b/clients/client-application-discovery-service/commands/StartDataCollectionByAgentIdsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDataCollectionByAgentIdsCommandInput = StartDataCollectionByAgentIdsRequest; @@ -70,7 +70,7 @@ export class StartDataCollectionByAgentIdsCommand extends $Command< private serialize( input: StartDataCollectionByAgentIdsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartDataCollectionByAgentIdsCommand( input, @@ -80,7 +80,7 @@ export class StartDataCollectionByAgentIdsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartDataCollectionByAgentIdsCommand( output, diff --git a/clients/client-application-discovery-service/commands/StartExportTaskCommand.ts b/clients/client-application-discovery-service/commands/StartExportTaskCommand.ts index 564adecbb190..bb67551c7515 100644 --- a/clients/client-application-discovery-service/commands/StartExportTaskCommand.ts +++ b/clients/client-application-discovery-service/commands/StartExportTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartExportTaskCommandInput = StartExportTaskRequest; @@ -67,14 +67,14 @@ export class StartExportTaskCommand extends $Command< private serialize( input: StartExportTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartExportTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartExportTaskCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/StartImportTaskCommand.ts b/clients/client-application-discovery-service/commands/StartImportTaskCommand.ts index 05605ee7db69..ffd8a9bfbbd1 100644 --- a/clients/client-application-discovery-service/commands/StartImportTaskCommand.ts +++ b/clients/client-application-discovery-service/commands/StartImportTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartImportTaskCommandInput = StartImportTaskRequest; @@ -67,14 +67,14 @@ export class StartImportTaskCommand extends $Command< private serialize( input: StartImportTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartImportTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartImportTaskCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/StopContinuousExportCommand.ts b/clients/client-application-discovery-service/commands/StopContinuousExportCommand.ts index 06b9fceeedea..719981dc6f63 100644 --- a/clients/client-application-discovery-service/commands/StopContinuousExportCommand.ts +++ b/clients/client-application-discovery-service/commands/StopContinuousExportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopContinuousExportCommandInput = StopContinuousExportRequest; @@ -70,14 +70,14 @@ export class StopContinuousExportCommand extends $Command< private serialize( input: StopContinuousExportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopContinuousExportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopContinuousExportCommand(output, context); } diff --git a/clients/client-application-discovery-service/commands/StopDataCollectionByAgentIdsCommand.ts b/clients/client-application-discovery-service/commands/StopDataCollectionByAgentIdsCommand.ts index 9ef34d3e628b..7ded0bd61081 100644 --- a/clients/client-application-discovery-service/commands/StopDataCollectionByAgentIdsCommand.ts +++ b/clients/client-application-discovery-service/commands/StopDataCollectionByAgentIdsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopDataCollectionByAgentIdsCommandInput = StopDataCollectionByAgentIdsRequest; @@ -70,7 +70,7 @@ export class StopDataCollectionByAgentIdsCommand extends $Command< private serialize( input: StopDataCollectionByAgentIdsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopDataCollectionByAgentIdsCommand( input, @@ -80,7 +80,7 @@ export class StopDataCollectionByAgentIdsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopDataCollectionByAgentIdsCommand( output, diff --git a/clients/client-application-discovery-service/commands/UpdateApplicationCommand.ts b/clients/client-application-discovery-service/commands/UpdateApplicationCommand.ts index e3c56b6932d5..654c0c8755c3 100644 --- a/clients/client-application-discovery-service/commands/UpdateApplicationCommand.ts +++ b/clients/client-application-discovery-service/commands/UpdateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApplicationCommandInput = UpdateApplicationRequest; @@ -67,14 +67,14 @@ export class UpdateApplicationCommand extends $Command< private serialize( input: UpdateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateApplicationCommand(output, context); } diff --git a/clients/client-application-discovery-service/protocols/Aws_json1_1.ts b/clients/client-application-discovery-service/protocols/Aws_json1_1.ts index 3d1888d7554e..ea94b0308d57 100644 --- a/clients/client-application-discovery-service/protocols/Aws_json1_1.ts +++ b/clients/client-application-discovery-service/protocols/Aws_json1_1.ts @@ -4877,6 +4877,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-application-insights/commands/CreateApplicationCommand.ts b/clients/client-application-insights/commands/CreateApplicationCommand.ts index b750c7e8af2e..12513f0de8a3 100644 --- a/clients/client-application-insights/commands/CreateApplicationCommand.ts +++ b/clients/client-application-insights/commands/CreateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApplicationCommandInput = CreateApplicationRequest; @@ -67,14 +67,14 @@ export class CreateApplicationCommand extends $Command< private serialize( input: CreateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateApplicationCommand(output, context); } diff --git a/clients/client-application-insights/commands/CreateComponentCommand.ts b/clients/client-application-insights/commands/CreateComponentCommand.ts index c60a5611d001..cd8931a6dc07 100644 --- a/clients/client-application-insights/commands/CreateComponentCommand.ts +++ b/clients/client-application-insights/commands/CreateComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateComponentCommandInput = CreateComponentRequest; @@ -67,14 +67,14 @@ export class CreateComponentCommand extends $Command< private serialize( input: CreateComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateComponentCommand(output, context); } diff --git a/clients/client-application-insights/commands/CreateLogPatternCommand.ts b/clients/client-application-insights/commands/CreateLogPatternCommand.ts index f0ed807b45d4..d838d3d2a2ef 100644 --- a/clients/client-application-insights/commands/CreateLogPatternCommand.ts +++ b/clients/client-application-insights/commands/CreateLogPatternCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLogPatternCommandInput = CreateLogPatternRequest; @@ -67,14 +67,14 @@ export class CreateLogPatternCommand extends $Command< private serialize( input: CreateLogPatternCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLogPatternCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLogPatternCommand(output, context); } diff --git a/clients/client-application-insights/commands/DeleteApplicationCommand.ts b/clients/client-application-insights/commands/DeleteApplicationCommand.ts index 45a164b6a1cd..6fcf635499af 100644 --- a/clients/client-application-insights/commands/DeleteApplicationCommand.ts +++ b/clients/client-application-insights/commands/DeleteApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationCommandInput = DeleteApplicationRequest; @@ -67,14 +67,14 @@ export class DeleteApplicationCommand extends $Command< private serialize( input: DeleteApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationCommand(output, context); } diff --git a/clients/client-application-insights/commands/DeleteComponentCommand.ts b/clients/client-application-insights/commands/DeleteComponentCommand.ts index 7735d6cd15ab..5efef3fda5a1 100644 --- a/clients/client-application-insights/commands/DeleteComponentCommand.ts +++ b/clients/client-application-insights/commands/DeleteComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteComponentCommandInput = DeleteComponentRequest; @@ -67,14 +67,14 @@ export class DeleteComponentCommand extends $Command< private serialize( input: DeleteComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteComponentCommand(output, context); } diff --git a/clients/client-application-insights/commands/DeleteLogPatternCommand.ts b/clients/client-application-insights/commands/DeleteLogPatternCommand.ts index d1a3db2f8805..ad6294fd48e5 100644 --- a/clients/client-application-insights/commands/DeleteLogPatternCommand.ts +++ b/clients/client-application-insights/commands/DeleteLogPatternCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLogPatternCommandInput = DeleteLogPatternRequest; @@ -67,14 +67,14 @@ export class DeleteLogPatternCommand extends $Command< private serialize( input: DeleteLogPatternCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLogPatternCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLogPatternCommand(output, context); } diff --git a/clients/client-application-insights/commands/DescribeApplicationCommand.ts b/clients/client-application-insights/commands/DescribeApplicationCommand.ts index c696b14e75d9..699644f4d3a5 100644 --- a/clients/client-application-insights/commands/DescribeApplicationCommand.ts +++ b/clients/client-application-insights/commands/DescribeApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeApplicationCommandInput = DescribeApplicationRequest; @@ -70,14 +70,14 @@ export class DescribeApplicationCommand extends $Command< private serialize( input: DescribeApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeApplicationCommand(output, context); } diff --git a/clients/client-application-insights/commands/DescribeComponentCommand.ts b/clients/client-application-insights/commands/DescribeComponentCommand.ts index 870a09c20327..5c1eefe07d13 100644 --- a/clients/client-application-insights/commands/DescribeComponentCommand.ts +++ b/clients/client-application-insights/commands/DescribeComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeComponentCommandInput = DescribeComponentRequest; @@ -67,14 +67,14 @@ export class DescribeComponentCommand extends $Command< private serialize( input: DescribeComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeComponentCommand(output, context); } diff --git a/clients/client-application-insights/commands/DescribeComponentConfigurationCommand.ts b/clients/client-application-insights/commands/DescribeComponentConfigurationCommand.ts index 524426a83c24..8f3f271d6154 100644 --- a/clients/client-application-insights/commands/DescribeComponentConfigurationCommand.ts +++ b/clients/client-application-insights/commands/DescribeComponentConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeComponentConfigurationCommandInput = DescribeComponentConfigurationRequest; @@ -70,7 +70,7 @@ export class DescribeComponentConfigurationCommand extends $Command< private serialize( input: DescribeComponentConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeComponentConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DescribeComponentConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeComponentConfigurationCommand( output, diff --git a/clients/client-application-insights/commands/DescribeComponentConfigurationRecommendationCommand.ts b/clients/client-application-insights/commands/DescribeComponentConfigurationRecommendationCommand.ts index 87633c26166f..1103d5885685 100644 --- a/clients/client-application-insights/commands/DescribeComponentConfigurationRecommendationCommand.ts +++ b/clients/client-application-insights/commands/DescribeComponentConfigurationRecommendationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeComponentConfigurationRecommendationCommandInput = DescribeComponentConfigurationRecommendationRequest; @@ -72,7 +72,7 @@ export class DescribeComponentConfigurationRecommendationCommand extends $Comman private serialize( input: DescribeComponentConfigurationRecommendationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeComponentConfigurationRecommendationCommand( input, @@ -82,7 +82,7 @@ export class DescribeComponentConfigurationRecommendationCommand extends $Comman private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommand( output, diff --git a/clients/client-application-insights/commands/DescribeLogPatternCommand.ts b/clients/client-application-insights/commands/DescribeLogPatternCommand.ts index d144552e92f0..a614e7604b9e 100644 --- a/clients/client-application-insights/commands/DescribeLogPatternCommand.ts +++ b/clients/client-application-insights/commands/DescribeLogPatternCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLogPatternCommandInput = DescribeLogPatternRequest; @@ -67,14 +67,14 @@ export class DescribeLogPatternCommand extends $Command< private serialize( input: DescribeLogPatternCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLogPatternCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLogPatternCommand(output, context); } diff --git a/clients/client-application-insights/commands/DescribeObservationCommand.ts b/clients/client-application-insights/commands/DescribeObservationCommand.ts index 6075012adf39..47274e0c69f9 100644 --- a/clients/client-application-insights/commands/DescribeObservationCommand.ts +++ b/clients/client-application-insights/commands/DescribeObservationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeObservationCommandInput = DescribeObservationRequest; @@ -70,14 +70,14 @@ export class DescribeObservationCommand extends $Command< private serialize( input: DescribeObservationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeObservationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeObservationCommand(output, context); } diff --git a/clients/client-application-insights/commands/DescribeProblemCommand.ts b/clients/client-application-insights/commands/DescribeProblemCommand.ts index 516e5082064a..ca478c4f12e7 100644 --- a/clients/client-application-insights/commands/DescribeProblemCommand.ts +++ b/clients/client-application-insights/commands/DescribeProblemCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProblemCommandInput = DescribeProblemRequest; @@ -67,14 +67,14 @@ export class DescribeProblemCommand extends $Command< private serialize( input: DescribeProblemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProblemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProblemCommand(output, context); } diff --git a/clients/client-application-insights/commands/DescribeProblemObservationsCommand.ts b/clients/client-application-insights/commands/DescribeProblemObservationsCommand.ts index 61c99cd7de2b..3b0384916e2a 100644 --- a/clients/client-application-insights/commands/DescribeProblemObservationsCommand.ts +++ b/clients/client-application-insights/commands/DescribeProblemObservationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProblemObservationsCommandInput = DescribeProblemObservationsRequest; @@ -70,7 +70,7 @@ export class DescribeProblemObservationsCommand extends $Command< private serialize( input: DescribeProblemObservationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProblemObservationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeProblemObservationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProblemObservationsCommand( output, diff --git a/clients/client-application-insights/commands/ListApplicationsCommand.ts b/clients/client-application-insights/commands/ListApplicationsCommand.ts index 4a10db9bd5eb..65168677090f 100644 --- a/clients/client-application-insights/commands/ListApplicationsCommand.ts +++ b/clients/client-application-insights/commands/ListApplicationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApplicationsCommandInput = ListApplicationsRequest; @@ -67,14 +67,14 @@ export class ListApplicationsCommand extends $Command< private serialize( input: ListApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListApplicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListApplicationsCommand(output, context); } diff --git a/clients/client-application-insights/commands/ListComponentsCommand.ts b/clients/client-application-insights/commands/ListComponentsCommand.ts index 0a64ec25e975..ad252f688cae 100644 --- a/clients/client-application-insights/commands/ListComponentsCommand.ts +++ b/clients/client-application-insights/commands/ListComponentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListComponentsCommandInput = ListComponentsRequest; @@ -64,14 +64,14 @@ export class ListComponentsCommand extends $Command< private serialize( input: ListComponentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListComponentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListComponentsCommand(output, context); } diff --git a/clients/client-application-insights/commands/ListConfigurationHistoryCommand.ts b/clients/client-application-insights/commands/ListConfigurationHistoryCommand.ts index 526a0a5d90c8..242eff89983f 100644 --- a/clients/client-application-insights/commands/ListConfigurationHistoryCommand.ts +++ b/clients/client-application-insights/commands/ListConfigurationHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigurationHistoryCommandInput = ListConfigurationHistoryRequest; @@ -70,14 +70,14 @@ export class ListConfigurationHistoryCommand extends $Command< private serialize( input: ListConfigurationHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListConfigurationHistoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListConfigurationHistoryCommand( output, diff --git a/clients/client-application-insights/commands/ListLogPatternSetsCommand.ts b/clients/client-application-insights/commands/ListLogPatternSetsCommand.ts index 96df65aa9f09..d89b9e01576a 100644 --- a/clients/client-application-insights/commands/ListLogPatternSetsCommand.ts +++ b/clients/client-application-insights/commands/ListLogPatternSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLogPatternSetsCommandInput = ListLogPatternSetsRequest; @@ -67,14 +67,14 @@ export class ListLogPatternSetsCommand extends $Command< private serialize( input: ListLogPatternSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLogPatternSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLogPatternSetsCommand(output, context); } diff --git a/clients/client-application-insights/commands/ListLogPatternsCommand.ts b/clients/client-application-insights/commands/ListLogPatternsCommand.ts index a40ab0d6c588..5e693a7fe0f2 100644 --- a/clients/client-application-insights/commands/ListLogPatternsCommand.ts +++ b/clients/client-application-insights/commands/ListLogPatternsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLogPatternsCommandInput = ListLogPatternsRequest; @@ -67,14 +67,14 @@ export class ListLogPatternsCommand extends $Command< private serialize( input: ListLogPatternsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLogPatternsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLogPatternsCommand(output, context); } diff --git a/clients/client-application-insights/commands/ListProblemsCommand.ts b/clients/client-application-insights/commands/ListProblemsCommand.ts index c6551454e852..6d4305f668ce 100644 --- a/clients/client-application-insights/commands/ListProblemsCommand.ts +++ b/clients/client-application-insights/commands/ListProblemsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProblemsCommandInput = ListProblemsRequest; @@ -64,14 +64,14 @@ export class ListProblemsCommand extends $Command< private serialize( input: ListProblemsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListProblemsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListProblemsCommand(output, context); } diff --git a/clients/client-application-insights/commands/ListTagsForResourceCommand.ts b/clients/client-application-insights/commands/ListTagsForResourceCommand.ts index 28656cad60c1..c472d16e89ec 100644 --- a/clients/client-application-insights/commands/ListTagsForResourceCommand.ts +++ b/clients/client-application-insights/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-application-insights/commands/TagResourceCommand.ts b/clients/client-application-insights/commands/TagResourceCommand.ts index dd857a0f342d..efc53814d11c 100644 --- a/clients/client-application-insights/commands/TagResourceCommand.ts +++ b/clients/client-application-insights/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-application-insights/commands/UntagResourceCommand.ts b/clients/client-application-insights/commands/UntagResourceCommand.ts index dedc18ec8161..38db9dfe2619 100644 --- a/clients/client-application-insights/commands/UntagResourceCommand.ts +++ b/clients/client-application-insights/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-application-insights/commands/UpdateApplicationCommand.ts b/clients/client-application-insights/commands/UpdateApplicationCommand.ts index 4f74fe6495f8..1e4294e6d8f3 100644 --- a/clients/client-application-insights/commands/UpdateApplicationCommand.ts +++ b/clients/client-application-insights/commands/UpdateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApplicationCommandInput = UpdateApplicationRequest; @@ -67,14 +67,14 @@ export class UpdateApplicationCommand extends $Command< private serialize( input: UpdateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateApplicationCommand(output, context); } diff --git a/clients/client-application-insights/commands/UpdateComponentCommand.ts b/clients/client-application-insights/commands/UpdateComponentCommand.ts index 3c5f865a433d..259354a53864 100644 --- a/clients/client-application-insights/commands/UpdateComponentCommand.ts +++ b/clients/client-application-insights/commands/UpdateComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateComponentCommandInput = UpdateComponentRequest; @@ -67,14 +67,14 @@ export class UpdateComponentCommand extends $Command< private serialize( input: UpdateComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateComponentCommand(output, context); } diff --git a/clients/client-application-insights/commands/UpdateComponentConfigurationCommand.ts b/clients/client-application-insights/commands/UpdateComponentConfigurationCommand.ts index 265174d5838d..e178f469d6e0 100644 --- a/clients/client-application-insights/commands/UpdateComponentConfigurationCommand.ts +++ b/clients/client-application-insights/commands/UpdateComponentConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateComponentConfigurationCommandInput = UpdateComponentConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateComponentConfigurationCommand extends $Command< private serialize( input: UpdateComponentConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateComponentConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateComponentConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateComponentConfigurationCommand( output, diff --git a/clients/client-application-insights/commands/UpdateLogPatternCommand.ts b/clients/client-application-insights/commands/UpdateLogPatternCommand.ts index e5ce88b8a21a..222dc01c4c70 100644 --- a/clients/client-application-insights/commands/UpdateLogPatternCommand.ts +++ b/clients/client-application-insights/commands/UpdateLogPatternCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLogPatternCommandInput = UpdateLogPatternRequest; @@ -67,14 +67,14 @@ export class UpdateLogPatternCommand extends $Command< private serialize( input: UpdateLogPatternCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateLogPatternCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateLogPatternCommand(output, context); } diff --git a/clients/client-application-insights/protocols/Aws_json1_1.ts b/clients/client-application-insights/protocols/Aws_json1_1.ts index 01047ea4557d..cdafa7113ad0 100644 --- a/clients/client-application-insights/protocols/Aws_json1_1.ts +++ b/clients/client-application-insights/protocols/Aws_json1_1.ts @@ -4135,6 +4135,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-appstream/commands/AssociateFleetCommand.ts b/clients/client-appstream/commands/AssociateFleetCommand.ts index 3a86bbe19c84..7933f0da3afa 100644 --- a/clients/client-appstream/commands/AssociateFleetCommand.ts +++ b/clients/client-appstream/commands/AssociateFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateFleetCommandInput = AssociateFleetRequest; @@ -64,14 +64,14 @@ export class AssociateFleetCommand extends $Command< private serialize( input: AssociateFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateFleetCommand(output, context); } diff --git a/clients/client-appstream/commands/BatchAssociateUserStackCommand.ts b/clients/client-appstream/commands/BatchAssociateUserStackCommand.ts index 8c3c326b8611..00ad4c718776 100644 --- a/clients/client-appstream/commands/BatchAssociateUserStackCommand.ts +++ b/clients/client-appstream/commands/BatchAssociateUserStackCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchAssociateUserStackCommandInput = BatchAssociateUserStackRequest; @@ -70,14 +70,14 @@ export class BatchAssociateUserStackCommand extends $Command< private serialize( input: BatchAssociateUserStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchAssociateUserStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchAssociateUserStackCommand( output, diff --git a/clients/client-appstream/commands/BatchDisassociateUserStackCommand.ts b/clients/client-appstream/commands/BatchDisassociateUserStackCommand.ts index 7694aa360fef..12b359d3bfbe 100644 --- a/clients/client-appstream/commands/BatchDisassociateUserStackCommand.ts +++ b/clients/client-appstream/commands/BatchDisassociateUserStackCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDisassociateUserStackCommandInput = BatchDisassociateUserStackRequest; @@ -70,7 +70,7 @@ export class BatchDisassociateUserStackCommand extends $Command< private serialize( input: BatchDisassociateUserStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDisassociateUserStackCommand( input, @@ -80,7 +80,7 @@ export class BatchDisassociateUserStackCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDisassociateUserStackCommand( output, diff --git a/clients/client-appstream/commands/CopyImageCommand.ts b/clients/client-appstream/commands/CopyImageCommand.ts index 51e9459ac72d..fee34161ad75 100644 --- a/clients/client-appstream/commands/CopyImageCommand.ts +++ b/clients/client-appstream/commands/CopyImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyImageCommandInput = CopyImageRequest; @@ -64,14 +64,14 @@ export class CopyImageCommand extends $Command< private serialize( input: CopyImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CopyImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CopyImageCommand(output, context); } diff --git a/clients/client-appstream/commands/CreateDirectoryConfigCommand.ts b/clients/client-appstream/commands/CreateDirectoryConfigCommand.ts index 0596d8c5095f..9bdedd9b0883 100644 --- a/clients/client-appstream/commands/CreateDirectoryConfigCommand.ts +++ b/clients/client-appstream/commands/CreateDirectoryConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDirectoryConfigCommandInput = CreateDirectoryConfigRequest; @@ -70,14 +70,14 @@ export class CreateDirectoryConfigCommand extends $Command< private serialize( input: CreateDirectoryConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDirectoryConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDirectoryConfigCommand(output, context); } diff --git a/clients/client-appstream/commands/CreateFleetCommand.ts b/clients/client-appstream/commands/CreateFleetCommand.ts index 1035e8fbd41e..6812250d5f24 100644 --- a/clients/client-appstream/commands/CreateFleetCommand.ts +++ b/clients/client-appstream/commands/CreateFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFleetCommandInput = CreateFleetRequest; @@ -64,14 +64,14 @@ export class CreateFleetCommand extends $Command< private serialize( input: CreateFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateFleetCommand(output, context); } diff --git a/clients/client-appstream/commands/CreateImageBuilderCommand.ts b/clients/client-appstream/commands/CreateImageBuilderCommand.ts index 79ed68cdf5d1..8a8e73a2b3fc 100644 --- a/clients/client-appstream/commands/CreateImageBuilderCommand.ts +++ b/clients/client-appstream/commands/CreateImageBuilderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateImageBuilderCommandInput = CreateImageBuilderRequest; @@ -67,14 +67,14 @@ export class CreateImageBuilderCommand extends $Command< private serialize( input: CreateImageBuilderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateImageBuilderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateImageBuilderCommand(output, context); } diff --git a/clients/client-appstream/commands/CreateImageBuilderStreamingURLCommand.ts b/clients/client-appstream/commands/CreateImageBuilderStreamingURLCommand.ts index 31bcabf73902..cb8f1cdb6e20 100644 --- a/clients/client-appstream/commands/CreateImageBuilderStreamingURLCommand.ts +++ b/clients/client-appstream/commands/CreateImageBuilderStreamingURLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateImageBuilderStreamingURLCommandInput = CreateImageBuilderStreamingURLRequest; @@ -70,7 +70,7 @@ export class CreateImageBuilderStreamingURLCommand extends $Command< private serialize( input: CreateImageBuilderStreamingURLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateImageBuilderStreamingURLCommand( input, @@ -80,7 +80,7 @@ export class CreateImageBuilderStreamingURLCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateImageBuilderStreamingURLCommand( output, diff --git a/clients/client-appstream/commands/CreateStackCommand.ts b/clients/client-appstream/commands/CreateStackCommand.ts index 59506be3098a..951ade377bf6 100644 --- a/clients/client-appstream/commands/CreateStackCommand.ts +++ b/clients/client-appstream/commands/CreateStackCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStackCommandInput = CreateStackRequest; @@ -64,14 +64,14 @@ export class CreateStackCommand extends $Command< private serialize( input: CreateStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateStackCommand(output, context); } diff --git a/clients/client-appstream/commands/CreateStreamingURLCommand.ts b/clients/client-appstream/commands/CreateStreamingURLCommand.ts index 403d4ae8ddd2..81a3df8fc19a 100644 --- a/clients/client-appstream/commands/CreateStreamingURLCommand.ts +++ b/clients/client-appstream/commands/CreateStreamingURLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStreamingURLCommandInput = CreateStreamingURLRequest; @@ -67,14 +67,14 @@ export class CreateStreamingURLCommand extends $Command< private serialize( input: CreateStreamingURLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateStreamingURLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateStreamingURLCommand(output, context); } diff --git a/clients/client-appstream/commands/CreateUsageReportSubscriptionCommand.ts b/clients/client-appstream/commands/CreateUsageReportSubscriptionCommand.ts index 266b48456461..c2ec4e0277a5 100644 --- a/clients/client-appstream/commands/CreateUsageReportSubscriptionCommand.ts +++ b/clients/client-appstream/commands/CreateUsageReportSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUsageReportSubscriptionCommandInput = CreateUsageReportSubscriptionRequest; @@ -70,7 +70,7 @@ export class CreateUsageReportSubscriptionCommand extends $Command< private serialize( input: CreateUsageReportSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUsageReportSubscriptionCommand( input, @@ -80,7 +80,7 @@ export class CreateUsageReportSubscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUsageReportSubscriptionCommand( output, diff --git a/clients/client-appstream/commands/CreateUserCommand.ts b/clients/client-appstream/commands/CreateUserCommand.ts index 81a75850e255..632b308e1adb 100644 --- a/clients/client-appstream/commands/CreateUserCommand.ts +++ b/clients/client-appstream/commands/CreateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserCommandInput = CreateUserRequest; @@ -64,14 +64,14 @@ export class CreateUserCommand extends $Command< private serialize( input: CreateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserCommand(output, context); } diff --git a/clients/client-appstream/commands/DeleteDirectoryConfigCommand.ts b/clients/client-appstream/commands/DeleteDirectoryConfigCommand.ts index e92ce3940437..84331ae76d72 100644 --- a/clients/client-appstream/commands/DeleteDirectoryConfigCommand.ts +++ b/clients/client-appstream/commands/DeleteDirectoryConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDirectoryConfigCommandInput = DeleteDirectoryConfigRequest; @@ -70,14 +70,14 @@ export class DeleteDirectoryConfigCommand extends $Command< private serialize( input: DeleteDirectoryConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDirectoryConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDirectoryConfigCommand(output, context); } diff --git a/clients/client-appstream/commands/DeleteFleetCommand.ts b/clients/client-appstream/commands/DeleteFleetCommand.ts index 27b81a7e9b79..00ce0400ca5e 100644 --- a/clients/client-appstream/commands/DeleteFleetCommand.ts +++ b/clients/client-appstream/commands/DeleteFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFleetCommandInput = DeleteFleetRequest; @@ -64,14 +64,14 @@ export class DeleteFleetCommand extends $Command< private serialize( input: DeleteFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteFleetCommand(output, context); } diff --git a/clients/client-appstream/commands/DeleteImageBuilderCommand.ts b/clients/client-appstream/commands/DeleteImageBuilderCommand.ts index c0ac4d82a5b2..965de1fe25f2 100644 --- a/clients/client-appstream/commands/DeleteImageBuilderCommand.ts +++ b/clients/client-appstream/commands/DeleteImageBuilderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteImageBuilderCommandInput = DeleteImageBuilderRequest; @@ -67,14 +67,14 @@ export class DeleteImageBuilderCommand extends $Command< private serialize( input: DeleteImageBuilderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteImageBuilderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteImageBuilderCommand(output, context); } diff --git a/clients/client-appstream/commands/DeleteImageCommand.ts b/clients/client-appstream/commands/DeleteImageCommand.ts index 22547055a907..eda7026b82e3 100644 --- a/clients/client-appstream/commands/DeleteImageCommand.ts +++ b/clients/client-appstream/commands/DeleteImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteImageCommandInput = DeleteImageRequest; @@ -64,14 +64,14 @@ export class DeleteImageCommand extends $Command< private serialize( input: DeleteImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteImageCommand(output, context); } diff --git a/clients/client-appstream/commands/DeleteImagePermissionsCommand.ts b/clients/client-appstream/commands/DeleteImagePermissionsCommand.ts index 230cef5ca8bb..516c77ff33d1 100644 --- a/clients/client-appstream/commands/DeleteImagePermissionsCommand.ts +++ b/clients/client-appstream/commands/DeleteImagePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteImagePermissionsCommandInput = DeleteImagePermissionsRequest; @@ -70,14 +70,14 @@ export class DeleteImagePermissionsCommand extends $Command< private serialize( input: DeleteImagePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteImagePermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteImagePermissionsCommand(output, context); } diff --git a/clients/client-appstream/commands/DeleteStackCommand.ts b/clients/client-appstream/commands/DeleteStackCommand.ts index eca1fd96529f..05d6164f106d 100644 --- a/clients/client-appstream/commands/DeleteStackCommand.ts +++ b/clients/client-appstream/commands/DeleteStackCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStackCommandInput = DeleteStackRequest; @@ -64,14 +64,14 @@ export class DeleteStackCommand extends $Command< private serialize( input: DeleteStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteStackCommand(output, context); } diff --git a/clients/client-appstream/commands/DeleteUsageReportSubscriptionCommand.ts b/clients/client-appstream/commands/DeleteUsageReportSubscriptionCommand.ts index 7b86a7d39a6a..b703863ebfa7 100644 --- a/clients/client-appstream/commands/DeleteUsageReportSubscriptionCommand.ts +++ b/clients/client-appstream/commands/DeleteUsageReportSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUsageReportSubscriptionCommandInput = DeleteUsageReportSubscriptionRequest; @@ -70,7 +70,7 @@ export class DeleteUsageReportSubscriptionCommand extends $Command< private serialize( input: DeleteUsageReportSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUsageReportSubscriptionCommand( input, @@ -80,7 +80,7 @@ export class DeleteUsageReportSubscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUsageReportSubscriptionCommand( output, diff --git a/clients/client-appstream/commands/DeleteUserCommand.ts b/clients/client-appstream/commands/DeleteUserCommand.ts index 5f77d0972af1..14bf310edd95 100644 --- a/clients/client-appstream/commands/DeleteUserCommand.ts +++ b/clients/client-appstream/commands/DeleteUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserCommandInput = DeleteUserRequest; @@ -64,14 +64,14 @@ export class DeleteUserCommand extends $Command< private serialize( input: DeleteUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserCommand(output, context); } diff --git a/clients/client-appstream/commands/DescribeDirectoryConfigsCommand.ts b/clients/client-appstream/commands/DescribeDirectoryConfigsCommand.ts index 124bbccf27bc..dde623799054 100644 --- a/clients/client-appstream/commands/DescribeDirectoryConfigsCommand.ts +++ b/clients/client-appstream/commands/DescribeDirectoryConfigsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDirectoryConfigsCommandInput = DescribeDirectoryConfigsRequest; @@ -70,14 +70,14 @@ export class DescribeDirectoryConfigsCommand extends $Command< private serialize( input: DescribeDirectoryConfigsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDirectoryConfigsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDirectoryConfigsCommand( output, diff --git a/clients/client-appstream/commands/DescribeFleetsCommand.ts b/clients/client-appstream/commands/DescribeFleetsCommand.ts index b49b540b2b90..b071ab5bed13 100644 --- a/clients/client-appstream/commands/DescribeFleetsCommand.ts +++ b/clients/client-appstream/commands/DescribeFleetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFleetsCommandInput = DescribeFleetsRequest; @@ -64,14 +64,14 @@ export class DescribeFleetsCommand extends $Command< private serialize( input: DescribeFleetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeFleetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeFleetsCommand(output, context); } diff --git a/clients/client-appstream/commands/DescribeImageBuildersCommand.ts b/clients/client-appstream/commands/DescribeImageBuildersCommand.ts index c5042948232c..e7181157fd02 100644 --- a/clients/client-appstream/commands/DescribeImageBuildersCommand.ts +++ b/clients/client-appstream/commands/DescribeImageBuildersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeImageBuildersCommandInput = DescribeImageBuildersRequest; @@ -70,14 +70,14 @@ export class DescribeImageBuildersCommand extends $Command< private serialize( input: DescribeImageBuildersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeImageBuildersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeImageBuildersCommand(output, context); } diff --git a/clients/client-appstream/commands/DescribeImagePermissionsCommand.ts b/clients/client-appstream/commands/DescribeImagePermissionsCommand.ts index 24c500a8126f..7c1eeff95d7c 100644 --- a/clients/client-appstream/commands/DescribeImagePermissionsCommand.ts +++ b/clients/client-appstream/commands/DescribeImagePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeImagePermissionsCommandInput = DescribeImagePermissionsRequest; @@ -70,14 +70,14 @@ export class DescribeImagePermissionsCommand extends $Command< private serialize( input: DescribeImagePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeImagePermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeImagePermissionsCommand( output, diff --git a/clients/client-appstream/commands/DescribeImagesCommand.ts b/clients/client-appstream/commands/DescribeImagesCommand.ts index bc3a4a92bf08..5ad2fc26fc51 100644 --- a/clients/client-appstream/commands/DescribeImagesCommand.ts +++ b/clients/client-appstream/commands/DescribeImagesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeImagesCommandInput = DescribeImagesRequest; @@ -64,14 +64,14 @@ export class DescribeImagesCommand extends $Command< private serialize( input: DescribeImagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeImagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeImagesCommand(output, context); } diff --git a/clients/client-appstream/commands/DescribeSessionsCommand.ts b/clients/client-appstream/commands/DescribeSessionsCommand.ts index a6f95a69bb22..55146204a145 100644 --- a/clients/client-appstream/commands/DescribeSessionsCommand.ts +++ b/clients/client-appstream/commands/DescribeSessionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSessionsCommandInput = DescribeSessionsRequest; @@ -67,14 +67,14 @@ export class DescribeSessionsCommand extends $Command< private serialize( input: DescribeSessionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSessionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSessionsCommand(output, context); } diff --git a/clients/client-appstream/commands/DescribeStacksCommand.ts b/clients/client-appstream/commands/DescribeStacksCommand.ts index 33043768a7ac..b1759a925dee 100644 --- a/clients/client-appstream/commands/DescribeStacksCommand.ts +++ b/clients/client-appstream/commands/DescribeStacksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStacksCommandInput = DescribeStacksRequest; @@ -64,14 +64,14 @@ export class DescribeStacksCommand extends $Command< private serialize( input: DescribeStacksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeStacksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeStacksCommand(output, context); } diff --git a/clients/client-appstream/commands/DescribeUsageReportSubscriptionsCommand.ts b/clients/client-appstream/commands/DescribeUsageReportSubscriptionsCommand.ts index a07af71e0c5d..d349aa115046 100644 --- a/clients/client-appstream/commands/DescribeUsageReportSubscriptionsCommand.ts +++ b/clients/client-appstream/commands/DescribeUsageReportSubscriptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUsageReportSubscriptionsCommandInput = DescribeUsageReportSubscriptionsRequest; @@ -70,7 +70,7 @@ export class DescribeUsageReportSubscriptionsCommand extends $Command< private serialize( input: DescribeUsageReportSubscriptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUsageReportSubscriptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeUsageReportSubscriptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUsageReportSubscriptionsCommand( output, diff --git a/clients/client-appstream/commands/DescribeUserStackAssociationsCommand.ts b/clients/client-appstream/commands/DescribeUserStackAssociationsCommand.ts index 157983bba9e2..e46ff8602879 100644 --- a/clients/client-appstream/commands/DescribeUserStackAssociationsCommand.ts +++ b/clients/client-appstream/commands/DescribeUserStackAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserStackAssociationsCommandInput = DescribeUserStackAssociationsRequest; @@ -70,7 +70,7 @@ export class DescribeUserStackAssociationsCommand extends $Command< private serialize( input: DescribeUserStackAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUserStackAssociationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeUserStackAssociationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUserStackAssociationsCommand( output, diff --git a/clients/client-appstream/commands/DescribeUsersCommand.ts b/clients/client-appstream/commands/DescribeUsersCommand.ts index accc038c029b..2117cafbbd4d 100644 --- a/clients/client-appstream/commands/DescribeUsersCommand.ts +++ b/clients/client-appstream/commands/DescribeUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUsersCommandInput = DescribeUsersRequest; @@ -64,14 +64,14 @@ export class DescribeUsersCommand extends $Command< private serialize( input: DescribeUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUsersCommand(output, context); } diff --git a/clients/client-appstream/commands/DisableUserCommand.ts b/clients/client-appstream/commands/DisableUserCommand.ts index e4c7085a1eb9..f89d67465772 100644 --- a/clients/client-appstream/commands/DisableUserCommand.ts +++ b/clients/client-appstream/commands/DisableUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableUserCommandInput = DisableUserRequest; @@ -64,14 +64,14 @@ export class DisableUserCommand extends $Command< private serialize( input: DisableUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableUserCommand(output, context); } diff --git a/clients/client-appstream/commands/DisassociateFleetCommand.ts b/clients/client-appstream/commands/DisassociateFleetCommand.ts index 5f97c040d967..1c53ac83ac7a 100644 --- a/clients/client-appstream/commands/DisassociateFleetCommand.ts +++ b/clients/client-appstream/commands/DisassociateFleetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateFleetCommandInput = DisassociateFleetRequest; @@ -67,14 +67,14 @@ export class DisassociateFleetCommand extends $Command< private serialize( input: DisassociateFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateFleetCommand(output, context); } diff --git a/clients/client-appstream/commands/EnableUserCommand.ts b/clients/client-appstream/commands/EnableUserCommand.ts index 36cf0904f4ee..fa830ef95405 100644 --- a/clients/client-appstream/commands/EnableUserCommand.ts +++ b/clients/client-appstream/commands/EnableUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableUserCommandInput = EnableUserRequest; @@ -64,14 +64,14 @@ export class EnableUserCommand extends $Command< private serialize( input: EnableUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableUserCommand(output, context); } diff --git a/clients/client-appstream/commands/ExpireSessionCommand.ts b/clients/client-appstream/commands/ExpireSessionCommand.ts index 73fc07e4fff0..9886947f654a 100644 --- a/clients/client-appstream/commands/ExpireSessionCommand.ts +++ b/clients/client-appstream/commands/ExpireSessionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExpireSessionCommandInput = ExpireSessionRequest; @@ -64,14 +64,14 @@ export class ExpireSessionCommand extends $Command< private serialize( input: ExpireSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ExpireSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ExpireSessionCommand(output, context); } diff --git a/clients/client-appstream/commands/ListAssociatedFleetsCommand.ts b/clients/client-appstream/commands/ListAssociatedFleetsCommand.ts index df62d2ea6dcd..e7c5cfbfb8d5 100644 --- a/clients/client-appstream/commands/ListAssociatedFleetsCommand.ts +++ b/clients/client-appstream/commands/ListAssociatedFleetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssociatedFleetsCommandInput = ListAssociatedFleetsRequest; @@ -70,14 +70,14 @@ export class ListAssociatedFleetsCommand extends $Command< private serialize( input: ListAssociatedFleetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAssociatedFleetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAssociatedFleetsCommand(output, context); } diff --git a/clients/client-appstream/commands/ListAssociatedStacksCommand.ts b/clients/client-appstream/commands/ListAssociatedStacksCommand.ts index 323503f7789c..01223d27c809 100644 --- a/clients/client-appstream/commands/ListAssociatedStacksCommand.ts +++ b/clients/client-appstream/commands/ListAssociatedStacksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssociatedStacksCommandInput = ListAssociatedStacksRequest; @@ -70,14 +70,14 @@ export class ListAssociatedStacksCommand extends $Command< private serialize( input: ListAssociatedStacksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAssociatedStacksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAssociatedStacksCommand(output, context); } diff --git a/clients/client-appstream/commands/ListTagsForResourceCommand.ts b/clients/client-appstream/commands/ListTagsForResourceCommand.ts index a2cd578fe912..44142de84951 100644 --- a/clients/client-appstream/commands/ListTagsForResourceCommand.ts +++ b/clients/client-appstream/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-appstream/commands/StartFleetCommand.ts b/clients/client-appstream/commands/StartFleetCommand.ts index ee723e5973d4..71039c5bacae 100644 --- a/clients/client-appstream/commands/StartFleetCommand.ts +++ b/clients/client-appstream/commands/StartFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartFleetCommandInput = StartFleetRequest; @@ -64,14 +64,14 @@ export class StartFleetCommand extends $Command< private serialize( input: StartFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartFleetCommand(output, context); } diff --git a/clients/client-appstream/commands/StartImageBuilderCommand.ts b/clients/client-appstream/commands/StartImageBuilderCommand.ts index 24210dceef8f..348467a11e02 100644 --- a/clients/client-appstream/commands/StartImageBuilderCommand.ts +++ b/clients/client-appstream/commands/StartImageBuilderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartImageBuilderCommandInput = StartImageBuilderRequest; @@ -67,14 +67,14 @@ export class StartImageBuilderCommand extends $Command< private serialize( input: StartImageBuilderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartImageBuilderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartImageBuilderCommand(output, context); } diff --git a/clients/client-appstream/commands/StopFleetCommand.ts b/clients/client-appstream/commands/StopFleetCommand.ts index 76d50a948d2e..77766c7e1d87 100644 --- a/clients/client-appstream/commands/StopFleetCommand.ts +++ b/clients/client-appstream/commands/StopFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopFleetCommandInput = StopFleetRequest; @@ -64,14 +64,14 @@ export class StopFleetCommand extends $Command< private serialize( input: StopFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopFleetCommand(output, context); } diff --git a/clients/client-appstream/commands/StopImageBuilderCommand.ts b/clients/client-appstream/commands/StopImageBuilderCommand.ts index a813f279526c..12f2c3b4e998 100644 --- a/clients/client-appstream/commands/StopImageBuilderCommand.ts +++ b/clients/client-appstream/commands/StopImageBuilderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopImageBuilderCommandInput = StopImageBuilderRequest; @@ -67,14 +67,14 @@ export class StopImageBuilderCommand extends $Command< private serialize( input: StopImageBuilderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopImageBuilderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopImageBuilderCommand(output, context); } diff --git a/clients/client-appstream/commands/TagResourceCommand.ts b/clients/client-appstream/commands/TagResourceCommand.ts index 4b8ea08c96c3..a81cc206968f 100644 --- a/clients/client-appstream/commands/TagResourceCommand.ts +++ b/clients/client-appstream/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-appstream/commands/UntagResourceCommand.ts b/clients/client-appstream/commands/UntagResourceCommand.ts index b12bcf6be783..b8d20015afca 100644 --- a/clients/client-appstream/commands/UntagResourceCommand.ts +++ b/clients/client-appstream/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-appstream/commands/UpdateDirectoryConfigCommand.ts b/clients/client-appstream/commands/UpdateDirectoryConfigCommand.ts index 916e822b0fbb..fd9c1f124c19 100644 --- a/clients/client-appstream/commands/UpdateDirectoryConfigCommand.ts +++ b/clients/client-appstream/commands/UpdateDirectoryConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDirectoryConfigCommandInput = UpdateDirectoryConfigRequest; @@ -70,14 +70,14 @@ export class UpdateDirectoryConfigCommand extends $Command< private serialize( input: UpdateDirectoryConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDirectoryConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDirectoryConfigCommand(output, context); } diff --git a/clients/client-appstream/commands/UpdateFleetCommand.ts b/clients/client-appstream/commands/UpdateFleetCommand.ts index c5e730991136..5ec89efeb701 100644 --- a/clients/client-appstream/commands/UpdateFleetCommand.ts +++ b/clients/client-appstream/commands/UpdateFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFleetCommandInput = UpdateFleetRequest; @@ -64,14 +64,14 @@ export class UpdateFleetCommand extends $Command< private serialize( input: UpdateFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateFleetCommand(output, context); } diff --git a/clients/client-appstream/commands/UpdateImagePermissionsCommand.ts b/clients/client-appstream/commands/UpdateImagePermissionsCommand.ts index 93d3a654aaaf..3cbdb3bcc1f5 100644 --- a/clients/client-appstream/commands/UpdateImagePermissionsCommand.ts +++ b/clients/client-appstream/commands/UpdateImagePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateImagePermissionsCommandInput = UpdateImagePermissionsRequest; @@ -70,14 +70,14 @@ export class UpdateImagePermissionsCommand extends $Command< private serialize( input: UpdateImagePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateImagePermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateImagePermissionsCommand(output, context); } diff --git a/clients/client-appstream/commands/UpdateStackCommand.ts b/clients/client-appstream/commands/UpdateStackCommand.ts index 56eefd709715..197e544e8bbd 100644 --- a/clients/client-appstream/commands/UpdateStackCommand.ts +++ b/clients/client-appstream/commands/UpdateStackCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStackCommandInput = UpdateStackRequest; @@ -64,14 +64,14 @@ export class UpdateStackCommand extends $Command< private serialize( input: UpdateStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateStackCommand(output, context); } diff --git a/clients/client-appstream/protocols/Aws_json1_1.ts b/clients/client-appstream/protocols/Aws_json1_1.ts index 90d0e6254107..aedbac12cd20 100644 --- a/clients/client-appstream/protocols/Aws_json1_1.ts +++ b/clients/client-appstream/protocols/Aws_json1_1.ts @@ -8003,6 +8003,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-appsync/commands/CreateApiCacheCommand.ts b/clients/client-appsync/commands/CreateApiCacheCommand.ts index b3c7c3adfee5..0796c1198610 100644 --- a/clients/client-appsync/commands/CreateApiCacheCommand.ts +++ b/clients/client-appsync/commands/CreateApiCacheCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApiCacheCommandInput = CreateApiCacheRequest; @@ -64,14 +64,14 @@ export class CreateApiCacheCommand extends $Command< private serialize( input: CreateApiCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateApiCacheCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateApiCacheCommand(output, context); } diff --git a/clients/client-appsync/commands/CreateApiKeyCommand.ts b/clients/client-appsync/commands/CreateApiKeyCommand.ts index b306c720d892..05b8689e46f7 100644 --- a/clients/client-appsync/commands/CreateApiKeyCommand.ts +++ b/clients/client-appsync/commands/CreateApiKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApiKeyCommandInput = CreateApiKeyRequest; @@ -64,14 +64,14 @@ export class CreateApiKeyCommand extends $Command< private serialize( input: CreateApiKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateApiKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateApiKeyCommand(output, context); } diff --git a/clients/client-appsync/commands/CreateDataSourceCommand.ts b/clients/client-appsync/commands/CreateDataSourceCommand.ts index ab037c0d1b5c..4afe4e986b70 100644 --- a/clients/client-appsync/commands/CreateDataSourceCommand.ts +++ b/clients/client-appsync/commands/CreateDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDataSourceCommandInput = CreateDataSourceRequest; @@ -67,14 +67,14 @@ export class CreateDataSourceCommand extends $Command< private serialize( input: CreateDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDataSourceCommand(output, context); } diff --git a/clients/client-appsync/commands/CreateFunctionCommand.ts b/clients/client-appsync/commands/CreateFunctionCommand.ts index e9a4b20be5da..f4e61b71c087 100644 --- a/clients/client-appsync/commands/CreateFunctionCommand.ts +++ b/clients/client-appsync/commands/CreateFunctionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFunctionCommandInput = CreateFunctionRequest; @@ -64,14 +64,14 @@ export class CreateFunctionCommand extends $Command< private serialize( input: CreateFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFunctionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFunctionCommand(output, context); } diff --git a/clients/client-appsync/commands/CreateGraphqlApiCommand.ts b/clients/client-appsync/commands/CreateGraphqlApiCommand.ts index fe12ea2a71cf..5fe95e52458e 100644 --- a/clients/client-appsync/commands/CreateGraphqlApiCommand.ts +++ b/clients/client-appsync/commands/CreateGraphqlApiCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGraphqlApiCommandInput = CreateGraphqlApiRequest; @@ -67,14 +67,14 @@ export class CreateGraphqlApiCommand extends $Command< private serialize( input: CreateGraphqlApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateGraphqlApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateGraphqlApiCommand(output, context); } diff --git a/clients/client-appsync/commands/CreateResolverCommand.ts b/clients/client-appsync/commands/CreateResolverCommand.ts index e46e03dc6e7e..c4efd23c598a 100644 --- a/clients/client-appsync/commands/CreateResolverCommand.ts +++ b/clients/client-appsync/commands/CreateResolverCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateResolverCommandInput = CreateResolverRequest; @@ -64,14 +64,14 @@ export class CreateResolverCommand extends $Command< private serialize( input: CreateResolverCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateResolverCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateResolverCommand(output, context); } diff --git a/clients/client-appsync/commands/CreateTypeCommand.ts b/clients/client-appsync/commands/CreateTypeCommand.ts index d4e98f2dafca..afaaaf692602 100644 --- a/clients/client-appsync/commands/CreateTypeCommand.ts +++ b/clients/client-appsync/commands/CreateTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTypeCommandInput = CreateTypeRequest; @@ -64,14 +64,14 @@ export class CreateTypeCommand extends $Command< private serialize( input: CreateTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateTypeCommand(output, context); } diff --git a/clients/client-appsync/commands/DeleteApiCacheCommand.ts b/clients/client-appsync/commands/DeleteApiCacheCommand.ts index 7ae781b0e06d..41abc8b84591 100644 --- a/clients/client-appsync/commands/DeleteApiCacheCommand.ts +++ b/clients/client-appsync/commands/DeleteApiCacheCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApiCacheCommandInput = DeleteApiCacheRequest; @@ -64,14 +64,14 @@ export class DeleteApiCacheCommand extends $Command< private serialize( input: DeleteApiCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteApiCacheCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteApiCacheCommand(output, context); } diff --git a/clients/client-appsync/commands/DeleteApiKeyCommand.ts b/clients/client-appsync/commands/DeleteApiKeyCommand.ts index 81ccee8d576d..b3adaa594ff3 100644 --- a/clients/client-appsync/commands/DeleteApiKeyCommand.ts +++ b/clients/client-appsync/commands/DeleteApiKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApiKeyCommandInput = DeleteApiKeyRequest; @@ -64,14 +64,14 @@ export class DeleteApiKeyCommand extends $Command< private serialize( input: DeleteApiKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteApiKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteApiKeyCommand(output, context); } diff --git a/clients/client-appsync/commands/DeleteDataSourceCommand.ts b/clients/client-appsync/commands/DeleteDataSourceCommand.ts index f871d66fc245..e286e4576463 100644 --- a/clients/client-appsync/commands/DeleteDataSourceCommand.ts +++ b/clients/client-appsync/commands/DeleteDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDataSourceCommandInput = DeleteDataSourceRequest; @@ -67,14 +67,14 @@ export class DeleteDataSourceCommand extends $Command< private serialize( input: DeleteDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDataSourceCommand(output, context); } diff --git a/clients/client-appsync/commands/DeleteFunctionCommand.ts b/clients/client-appsync/commands/DeleteFunctionCommand.ts index 2e3ef9114cb8..d71c98bba0f4 100644 --- a/clients/client-appsync/commands/DeleteFunctionCommand.ts +++ b/clients/client-appsync/commands/DeleteFunctionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFunctionCommandInput = DeleteFunctionRequest; @@ -64,14 +64,14 @@ export class DeleteFunctionCommand extends $Command< private serialize( input: DeleteFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFunctionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFunctionCommand(output, context); } diff --git a/clients/client-appsync/commands/DeleteGraphqlApiCommand.ts b/clients/client-appsync/commands/DeleteGraphqlApiCommand.ts index c7915d5deb2f..09262ba505c8 100644 --- a/clients/client-appsync/commands/DeleteGraphqlApiCommand.ts +++ b/clients/client-appsync/commands/DeleteGraphqlApiCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGraphqlApiCommandInput = DeleteGraphqlApiRequest; @@ -67,14 +67,14 @@ export class DeleteGraphqlApiCommand extends $Command< private serialize( input: DeleteGraphqlApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteGraphqlApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteGraphqlApiCommand(output, context); } diff --git a/clients/client-appsync/commands/DeleteResolverCommand.ts b/clients/client-appsync/commands/DeleteResolverCommand.ts index 1a9deb254c21..d89eb7665a36 100644 --- a/clients/client-appsync/commands/DeleteResolverCommand.ts +++ b/clients/client-appsync/commands/DeleteResolverCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResolverCommandInput = DeleteResolverRequest; @@ -64,14 +64,14 @@ export class DeleteResolverCommand extends $Command< private serialize( input: DeleteResolverCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteResolverCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteResolverCommand(output, context); } diff --git a/clients/client-appsync/commands/DeleteTypeCommand.ts b/clients/client-appsync/commands/DeleteTypeCommand.ts index 27a1be3f19f0..7df7dba5c085 100644 --- a/clients/client-appsync/commands/DeleteTypeCommand.ts +++ b/clients/client-appsync/commands/DeleteTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTypeCommandInput = DeleteTypeRequest; @@ -64,14 +64,14 @@ export class DeleteTypeCommand extends $Command< private serialize( input: DeleteTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteTypeCommand(output, context); } diff --git a/clients/client-appsync/commands/FlushApiCacheCommand.ts b/clients/client-appsync/commands/FlushApiCacheCommand.ts index 80bebabf42c5..6ba98e76753a 100644 --- a/clients/client-appsync/commands/FlushApiCacheCommand.ts +++ b/clients/client-appsync/commands/FlushApiCacheCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type FlushApiCacheCommandInput = FlushApiCacheRequest; @@ -64,14 +64,14 @@ export class FlushApiCacheCommand extends $Command< private serialize( input: FlushApiCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1FlushApiCacheCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1FlushApiCacheCommand(output, context); } diff --git a/clients/client-appsync/commands/GetApiCacheCommand.ts b/clients/client-appsync/commands/GetApiCacheCommand.ts index 4a0bf2a6e812..171cb515b3fd 100644 --- a/clients/client-appsync/commands/GetApiCacheCommand.ts +++ b/clients/client-appsync/commands/GetApiCacheCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApiCacheCommandInput = GetApiCacheRequest; @@ -64,14 +64,14 @@ export class GetApiCacheCommand extends $Command< private serialize( input: GetApiCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApiCacheCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApiCacheCommand(output, context); } diff --git a/clients/client-appsync/commands/GetDataSourceCommand.ts b/clients/client-appsync/commands/GetDataSourceCommand.ts index a5519ef4cbee..c5d8711b7b59 100644 --- a/clients/client-appsync/commands/GetDataSourceCommand.ts +++ b/clients/client-appsync/commands/GetDataSourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDataSourceCommandInput = GetDataSourceRequest; @@ -64,14 +64,14 @@ export class GetDataSourceCommand extends $Command< private serialize( input: GetDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDataSourceCommand(output, context); } diff --git a/clients/client-appsync/commands/GetFunctionCommand.ts b/clients/client-appsync/commands/GetFunctionCommand.ts index 639dffd10b38..335cd4d6c95c 100644 --- a/clients/client-appsync/commands/GetFunctionCommand.ts +++ b/clients/client-appsync/commands/GetFunctionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFunctionCommandInput = GetFunctionRequest; @@ -64,14 +64,14 @@ export class GetFunctionCommand extends $Command< private serialize( input: GetFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFunctionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFunctionCommand(output, context); } diff --git a/clients/client-appsync/commands/GetGraphqlApiCommand.ts b/clients/client-appsync/commands/GetGraphqlApiCommand.ts index 9af3fd175a28..174641b83310 100644 --- a/clients/client-appsync/commands/GetGraphqlApiCommand.ts +++ b/clients/client-appsync/commands/GetGraphqlApiCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGraphqlApiCommandInput = GetGraphqlApiRequest; @@ -64,14 +64,14 @@ export class GetGraphqlApiCommand extends $Command< private serialize( input: GetGraphqlApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGraphqlApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGraphqlApiCommand(output, context); } diff --git a/clients/client-appsync/commands/GetIntrospectionSchemaCommand.ts b/clients/client-appsync/commands/GetIntrospectionSchemaCommand.ts index fa9bbc8fee77..90af30edebb2 100644 --- a/clients/client-appsync/commands/GetIntrospectionSchemaCommand.ts +++ b/clients/client-appsync/commands/GetIntrospectionSchemaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIntrospectionSchemaCommandInput = GetIntrospectionSchemaRequest; @@ -70,7 +70,7 @@ export class GetIntrospectionSchemaCommand extends $Command< private serialize( input: GetIntrospectionSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIntrospectionSchemaCommand( input, @@ -80,7 +80,7 @@ export class GetIntrospectionSchemaCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIntrospectionSchemaCommand( output, diff --git a/clients/client-appsync/commands/GetResolverCommand.ts b/clients/client-appsync/commands/GetResolverCommand.ts index 44716a7e6ed6..5bd9936c6cb1 100644 --- a/clients/client-appsync/commands/GetResolverCommand.ts +++ b/clients/client-appsync/commands/GetResolverCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResolverCommandInput = GetResolverRequest; @@ -64,14 +64,14 @@ export class GetResolverCommand extends $Command< private serialize( input: GetResolverCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetResolverCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetResolverCommand(output, context); } diff --git a/clients/client-appsync/commands/GetSchemaCreationStatusCommand.ts b/clients/client-appsync/commands/GetSchemaCreationStatusCommand.ts index 0c17641f6de8..8e3186e7c10d 100644 --- a/clients/client-appsync/commands/GetSchemaCreationStatusCommand.ts +++ b/clients/client-appsync/commands/GetSchemaCreationStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSchemaCreationStatusCommandInput = GetSchemaCreationStatusRequest; @@ -70,7 +70,7 @@ export class GetSchemaCreationStatusCommand extends $Command< private serialize( input: GetSchemaCreationStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSchemaCreationStatusCommand( input, @@ -80,7 +80,7 @@ export class GetSchemaCreationStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSchemaCreationStatusCommand( output, diff --git a/clients/client-appsync/commands/GetTypeCommand.ts b/clients/client-appsync/commands/GetTypeCommand.ts index 798977766d6d..23610d73f01c 100644 --- a/clients/client-appsync/commands/GetTypeCommand.ts +++ b/clients/client-appsync/commands/GetTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTypeCommandInput = GetTypeRequest; @@ -64,14 +64,14 @@ export class GetTypeCommand extends $Command< private serialize( input: GetTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTypeCommand(output, context); } diff --git a/clients/client-appsync/commands/ListApiKeysCommand.ts b/clients/client-appsync/commands/ListApiKeysCommand.ts index 2fed5754acd2..e7b9f5e7026d 100644 --- a/clients/client-appsync/commands/ListApiKeysCommand.ts +++ b/clients/client-appsync/commands/ListApiKeysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApiKeysCommandInput = ListApiKeysRequest; @@ -64,14 +64,14 @@ export class ListApiKeysCommand extends $Command< private serialize( input: ListApiKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListApiKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListApiKeysCommand(output, context); } diff --git a/clients/client-appsync/commands/ListDataSourcesCommand.ts b/clients/client-appsync/commands/ListDataSourcesCommand.ts index d45b4bd95b39..8acd632b073a 100644 --- a/clients/client-appsync/commands/ListDataSourcesCommand.ts +++ b/clients/client-appsync/commands/ListDataSourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDataSourcesCommandInput = ListDataSourcesRequest; @@ -67,14 +67,14 @@ export class ListDataSourcesCommand extends $Command< private serialize( input: ListDataSourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDataSourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDataSourcesCommand(output, context); } diff --git a/clients/client-appsync/commands/ListFunctionsCommand.ts b/clients/client-appsync/commands/ListFunctionsCommand.ts index 606db627bf34..442c9fb55ede 100644 --- a/clients/client-appsync/commands/ListFunctionsCommand.ts +++ b/clients/client-appsync/commands/ListFunctionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFunctionsCommandInput = ListFunctionsRequest; @@ -64,14 +64,14 @@ export class ListFunctionsCommand extends $Command< private serialize( input: ListFunctionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFunctionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFunctionsCommand(output, context); } diff --git a/clients/client-appsync/commands/ListGraphqlApisCommand.ts b/clients/client-appsync/commands/ListGraphqlApisCommand.ts index e25ca76e6717..5ba066e5bbf1 100644 --- a/clients/client-appsync/commands/ListGraphqlApisCommand.ts +++ b/clients/client-appsync/commands/ListGraphqlApisCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGraphqlApisCommandInput = ListGraphqlApisRequest; @@ -67,14 +67,14 @@ export class ListGraphqlApisCommand extends $Command< private serialize( input: ListGraphqlApisCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListGraphqlApisCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListGraphqlApisCommand(output, context); } diff --git a/clients/client-appsync/commands/ListResolversByFunctionCommand.ts b/clients/client-appsync/commands/ListResolversByFunctionCommand.ts index de834ed35fa6..e65f695bf4db 100644 --- a/clients/client-appsync/commands/ListResolversByFunctionCommand.ts +++ b/clients/client-appsync/commands/ListResolversByFunctionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResolversByFunctionCommandInput = ListResolversByFunctionRequest; @@ -70,7 +70,7 @@ export class ListResolversByFunctionCommand extends $Command< private serialize( input: ListResolversByFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListResolversByFunctionCommand( input, @@ -80,7 +80,7 @@ export class ListResolversByFunctionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListResolversByFunctionCommand( output, diff --git a/clients/client-appsync/commands/ListResolversCommand.ts b/clients/client-appsync/commands/ListResolversCommand.ts index a9853c0b7ef8..9918d1ece66a 100644 --- a/clients/client-appsync/commands/ListResolversCommand.ts +++ b/clients/client-appsync/commands/ListResolversCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResolversCommandInput = ListResolversRequest; @@ -64,14 +64,14 @@ export class ListResolversCommand extends $Command< private serialize( input: ListResolversCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListResolversCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListResolversCommand(output, context); } diff --git a/clients/client-appsync/commands/ListTagsForResourceCommand.ts b/clients/client-appsync/commands/ListTagsForResourceCommand.ts index 5a8a4003289c..942d4a330e25 100644 --- a/clients/client-appsync/commands/ListTagsForResourceCommand.ts +++ b/clients/client-appsync/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-appsync/commands/ListTypesCommand.ts b/clients/client-appsync/commands/ListTypesCommand.ts index 73aebf605f8a..7564d88c2989 100644 --- a/clients/client-appsync/commands/ListTypesCommand.ts +++ b/clients/client-appsync/commands/ListTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTypesCommandInput = ListTypesRequest; @@ -64,14 +64,14 @@ export class ListTypesCommand extends $Command< private serialize( input: ListTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTypesCommand(output, context); } diff --git a/clients/client-appsync/commands/StartSchemaCreationCommand.ts b/clients/client-appsync/commands/StartSchemaCreationCommand.ts index ee05b247f325..1008a1a93f9c 100644 --- a/clients/client-appsync/commands/StartSchemaCreationCommand.ts +++ b/clients/client-appsync/commands/StartSchemaCreationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartSchemaCreationCommandInput = StartSchemaCreationRequest; @@ -70,14 +70,14 @@ export class StartSchemaCreationCommand extends $Command< private serialize( input: StartSchemaCreationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartSchemaCreationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartSchemaCreationCommand( output, diff --git a/clients/client-appsync/commands/TagResourceCommand.ts b/clients/client-appsync/commands/TagResourceCommand.ts index 3d3b76a10756..19980c27721b 100644 --- a/clients/client-appsync/commands/TagResourceCommand.ts +++ b/clients/client-appsync/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-appsync/commands/UntagResourceCommand.ts b/clients/client-appsync/commands/UntagResourceCommand.ts index a7c42b78eefc..f78f80e3fc83 100644 --- a/clients/client-appsync/commands/UntagResourceCommand.ts +++ b/clients/client-appsync/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-appsync/commands/UpdateApiCacheCommand.ts b/clients/client-appsync/commands/UpdateApiCacheCommand.ts index 9761e16e97e5..2fafb0a6d78d 100644 --- a/clients/client-appsync/commands/UpdateApiCacheCommand.ts +++ b/clients/client-appsync/commands/UpdateApiCacheCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApiCacheCommandInput = UpdateApiCacheRequest; @@ -64,14 +64,14 @@ export class UpdateApiCacheCommand extends $Command< private serialize( input: UpdateApiCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApiCacheCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApiCacheCommand(output, context); } diff --git a/clients/client-appsync/commands/UpdateApiKeyCommand.ts b/clients/client-appsync/commands/UpdateApiKeyCommand.ts index d1040cdf7d1a..9aa1b9e1d287 100644 --- a/clients/client-appsync/commands/UpdateApiKeyCommand.ts +++ b/clients/client-appsync/commands/UpdateApiKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApiKeyCommandInput = UpdateApiKeyRequest; @@ -64,14 +64,14 @@ export class UpdateApiKeyCommand extends $Command< private serialize( input: UpdateApiKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApiKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApiKeyCommand(output, context); } diff --git a/clients/client-appsync/commands/UpdateDataSourceCommand.ts b/clients/client-appsync/commands/UpdateDataSourceCommand.ts index 9cfa0522f06d..84a8ad173bb9 100644 --- a/clients/client-appsync/commands/UpdateDataSourceCommand.ts +++ b/clients/client-appsync/commands/UpdateDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDataSourceCommandInput = UpdateDataSourceRequest; @@ -67,14 +67,14 @@ export class UpdateDataSourceCommand extends $Command< private serialize( input: UpdateDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDataSourceCommand(output, context); } diff --git a/clients/client-appsync/commands/UpdateFunctionCommand.ts b/clients/client-appsync/commands/UpdateFunctionCommand.ts index 0485610b99f1..dc0555bfa428 100644 --- a/clients/client-appsync/commands/UpdateFunctionCommand.ts +++ b/clients/client-appsync/commands/UpdateFunctionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFunctionCommandInput = UpdateFunctionRequest; @@ -64,14 +64,14 @@ export class UpdateFunctionCommand extends $Command< private serialize( input: UpdateFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFunctionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFunctionCommand(output, context); } diff --git a/clients/client-appsync/commands/UpdateGraphqlApiCommand.ts b/clients/client-appsync/commands/UpdateGraphqlApiCommand.ts index 1768afa821f1..8e447de4888f 100644 --- a/clients/client-appsync/commands/UpdateGraphqlApiCommand.ts +++ b/clients/client-appsync/commands/UpdateGraphqlApiCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGraphqlApiCommandInput = UpdateGraphqlApiRequest; @@ -67,14 +67,14 @@ export class UpdateGraphqlApiCommand extends $Command< private serialize( input: UpdateGraphqlApiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateGraphqlApiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateGraphqlApiCommand(output, context); } diff --git a/clients/client-appsync/commands/UpdateResolverCommand.ts b/clients/client-appsync/commands/UpdateResolverCommand.ts index 279c3785750a..f9b684752461 100644 --- a/clients/client-appsync/commands/UpdateResolverCommand.ts +++ b/clients/client-appsync/commands/UpdateResolverCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateResolverCommandInput = UpdateResolverRequest; @@ -64,14 +64,14 @@ export class UpdateResolverCommand extends $Command< private serialize( input: UpdateResolverCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateResolverCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateResolverCommand(output, context); } diff --git a/clients/client-appsync/commands/UpdateTypeCommand.ts b/clients/client-appsync/commands/UpdateTypeCommand.ts index 6b13d95ab0b9..9ba6435fdb73 100644 --- a/clients/client-appsync/commands/UpdateTypeCommand.ts +++ b/clients/client-appsync/commands/UpdateTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTypeCommandInput = UpdateTypeRequest; @@ -64,14 +64,14 @@ export class UpdateTypeCommand extends $Command< private serialize( input: UpdateTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateTypeCommand(output, context); } diff --git a/clients/client-appsync/protocols/Aws_restJson1_1.ts b/clients/client-appsync/protocols/Aws_restJson1_1.ts index 2cd89d4d2caf..b57a8d78bc02 100644 --- a/clients/client-appsync/protocols/Aws_restJson1_1.ts +++ b/clients/client-appsync/protocols/Aws_restJson1_1.ts @@ -6919,6 +6919,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-athena/commands/BatchGetNamedQueryCommand.ts b/clients/client-athena/commands/BatchGetNamedQueryCommand.ts index 5a55fea294a2..db84142f60af 100644 --- a/clients/client-athena/commands/BatchGetNamedQueryCommand.ts +++ b/clients/client-athena/commands/BatchGetNamedQueryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetNamedQueryCommandInput = BatchGetNamedQueryInput; @@ -67,14 +67,14 @@ export class BatchGetNamedQueryCommand extends $Command< private serialize( input: BatchGetNamedQueryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetNamedQueryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetNamedQueryCommand(output, context); } diff --git a/clients/client-athena/commands/BatchGetQueryExecutionCommand.ts b/clients/client-athena/commands/BatchGetQueryExecutionCommand.ts index 40951e1e0f1b..31981679d55c 100644 --- a/clients/client-athena/commands/BatchGetQueryExecutionCommand.ts +++ b/clients/client-athena/commands/BatchGetQueryExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetQueryExecutionCommandInput = BatchGetQueryExecutionInput; @@ -70,14 +70,14 @@ export class BatchGetQueryExecutionCommand extends $Command< private serialize( input: BatchGetQueryExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetQueryExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetQueryExecutionCommand(output, context); } diff --git a/clients/client-athena/commands/CreateNamedQueryCommand.ts b/clients/client-athena/commands/CreateNamedQueryCommand.ts index 69a57170b99f..5d18bc2822fc 100644 --- a/clients/client-athena/commands/CreateNamedQueryCommand.ts +++ b/clients/client-athena/commands/CreateNamedQueryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNamedQueryCommandInput = CreateNamedQueryInput; @@ -64,14 +64,14 @@ export class CreateNamedQueryCommand extends $Command< private serialize( input: CreateNamedQueryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateNamedQueryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateNamedQueryCommand(output, context); } diff --git a/clients/client-athena/commands/CreateWorkGroupCommand.ts b/clients/client-athena/commands/CreateWorkGroupCommand.ts index 2993b16bc63a..6aec4b8785d8 100644 --- a/clients/client-athena/commands/CreateWorkGroupCommand.ts +++ b/clients/client-athena/commands/CreateWorkGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateWorkGroupCommandInput = CreateWorkGroupInput; @@ -64,14 +64,14 @@ export class CreateWorkGroupCommand extends $Command< private serialize( input: CreateWorkGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateWorkGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateWorkGroupCommand(output, context); } diff --git a/clients/client-athena/commands/DeleteNamedQueryCommand.ts b/clients/client-athena/commands/DeleteNamedQueryCommand.ts index f459150b13f1..e3ee1c516251 100644 --- a/clients/client-athena/commands/DeleteNamedQueryCommand.ts +++ b/clients/client-athena/commands/DeleteNamedQueryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNamedQueryCommandInput = DeleteNamedQueryInput; @@ -64,14 +64,14 @@ export class DeleteNamedQueryCommand extends $Command< private serialize( input: DeleteNamedQueryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteNamedQueryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteNamedQueryCommand(output, context); } diff --git a/clients/client-athena/commands/DeleteWorkGroupCommand.ts b/clients/client-athena/commands/DeleteWorkGroupCommand.ts index f956a886d470..112c0510b436 100644 --- a/clients/client-athena/commands/DeleteWorkGroupCommand.ts +++ b/clients/client-athena/commands/DeleteWorkGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteWorkGroupCommandInput = DeleteWorkGroupInput; @@ -64,14 +64,14 @@ export class DeleteWorkGroupCommand extends $Command< private serialize( input: DeleteWorkGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteWorkGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteWorkGroupCommand(output, context); } diff --git a/clients/client-athena/commands/GetNamedQueryCommand.ts b/clients/client-athena/commands/GetNamedQueryCommand.ts index e9aa8783579c..db5e8f89a21b 100644 --- a/clients/client-athena/commands/GetNamedQueryCommand.ts +++ b/clients/client-athena/commands/GetNamedQueryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetNamedQueryCommandInput = GetNamedQueryInput; @@ -64,14 +64,14 @@ export class GetNamedQueryCommand extends $Command< private serialize( input: GetNamedQueryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetNamedQueryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetNamedQueryCommand(output, context); } diff --git a/clients/client-athena/commands/GetQueryExecutionCommand.ts b/clients/client-athena/commands/GetQueryExecutionCommand.ts index b542ff39e3f9..2e10fbd75752 100644 --- a/clients/client-athena/commands/GetQueryExecutionCommand.ts +++ b/clients/client-athena/commands/GetQueryExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetQueryExecutionCommandInput = GetQueryExecutionInput; @@ -67,14 +67,14 @@ export class GetQueryExecutionCommand extends $Command< private serialize( input: GetQueryExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetQueryExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetQueryExecutionCommand(output, context); } diff --git a/clients/client-athena/commands/GetQueryResultsCommand.ts b/clients/client-athena/commands/GetQueryResultsCommand.ts index 41e54bfa6562..3ec94a44001e 100644 --- a/clients/client-athena/commands/GetQueryResultsCommand.ts +++ b/clients/client-athena/commands/GetQueryResultsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetQueryResultsCommandInput = GetQueryResultsInput; @@ -64,14 +64,14 @@ export class GetQueryResultsCommand extends $Command< private serialize( input: GetQueryResultsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetQueryResultsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetQueryResultsCommand(output, context); } diff --git a/clients/client-athena/commands/GetWorkGroupCommand.ts b/clients/client-athena/commands/GetWorkGroupCommand.ts index 799f34590790..c6dd15a4208c 100644 --- a/clients/client-athena/commands/GetWorkGroupCommand.ts +++ b/clients/client-athena/commands/GetWorkGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWorkGroupCommandInput = GetWorkGroupInput; @@ -64,14 +64,14 @@ export class GetWorkGroupCommand extends $Command< private serialize( input: GetWorkGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetWorkGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetWorkGroupCommand(output, context); } diff --git a/clients/client-athena/commands/ListNamedQueriesCommand.ts b/clients/client-athena/commands/ListNamedQueriesCommand.ts index e7e65ce82251..9baa0a5efcc2 100644 --- a/clients/client-athena/commands/ListNamedQueriesCommand.ts +++ b/clients/client-athena/commands/ListNamedQueriesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListNamedQueriesCommandInput = ListNamedQueriesInput; @@ -64,14 +64,14 @@ export class ListNamedQueriesCommand extends $Command< private serialize( input: ListNamedQueriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListNamedQueriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListNamedQueriesCommand(output, context); } diff --git a/clients/client-athena/commands/ListQueryExecutionsCommand.ts b/clients/client-athena/commands/ListQueryExecutionsCommand.ts index b18ca1d2d8bb..6010435f2b85 100644 --- a/clients/client-athena/commands/ListQueryExecutionsCommand.ts +++ b/clients/client-athena/commands/ListQueryExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListQueryExecutionsCommandInput = ListQueryExecutionsInput; @@ -70,14 +70,14 @@ export class ListQueryExecutionsCommand extends $Command< private serialize( input: ListQueryExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListQueryExecutionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListQueryExecutionsCommand(output, context); } diff --git a/clients/client-athena/commands/ListTagsForResourceCommand.ts b/clients/client-athena/commands/ListTagsForResourceCommand.ts index 5c3f6e03f7dd..9a95acfe7bd7 100644 --- a/clients/client-athena/commands/ListTagsForResourceCommand.ts +++ b/clients/client-athena/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-athena/commands/ListWorkGroupsCommand.ts b/clients/client-athena/commands/ListWorkGroupsCommand.ts index aa04e6231742..f8d46a9ed030 100644 --- a/clients/client-athena/commands/ListWorkGroupsCommand.ts +++ b/clients/client-athena/commands/ListWorkGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWorkGroupsCommandInput = ListWorkGroupsInput; @@ -64,14 +64,14 @@ export class ListWorkGroupsCommand extends $Command< private serialize( input: ListWorkGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListWorkGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListWorkGroupsCommand(output, context); } diff --git a/clients/client-athena/commands/StartQueryExecutionCommand.ts b/clients/client-athena/commands/StartQueryExecutionCommand.ts index 1a9dedb86189..94759d386444 100644 --- a/clients/client-athena/commands/StartQueryExecutionCommand.ts +++ b/clients/client-athena/commands/StartQueryExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartQueryExecutionCommandInput = StartQueryExecutionInput; @@ -70,14 +70,14 @@ export class StartQueryExecutionCommand extends $Command< private serialize( input: StartQueryExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartQueryExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartQueryExecutionCommand(output, context); } diff --git a/clients/client-athena/commands/StopQueryExecutionCommand.ts b/clients/client-athena/commands/StopQueryExecutionCommand.ts index aabd8ac7ea4a..3f16d340fadd 100644 --- a/clients/client-athena/commands/StopQueryExecutionCommand.ts +++ b/clients/client-athena/commands/StopQueryExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopQueryExecutionCommandInput = StopQueryExecutionInput; @@ -67,14 +67,14 @@ export class StopQueryExecutionCommand extends $Command< private serialize( input: StopQueryExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopQueryExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopQueryExecutionCommand(output, context); } diff --git a/clients/client-athena/commands/TagResourceCommand.ts b/clients/client-athena/commands/TagResourceCommand.ts index ba383ebe05ca..dc5944ce86df 100644 --- a/clients/client-athena/commands/TagResourceCommand.ts +++ b/clients/client-athena/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-athena/commands/UntagResourceCommand.ts b/clients/client-athena/commands/UntagResourceCommand.ts index 5b724e8dd5d4..e6a99baa624b 100644 --- a/clients/client-athena/commands/UntagResourceCommand.ts +++ b/clients/client-athena/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-athena/commands/UpdateWorkGroupCommand.ts b/clients/client-athena/commands/UpdateWorkGroupCommand.ts index 93e7bb146aa3..8c194def31be 100644 --- a/clients/client-athena/commands/UpdateWorkGroupCommand.ts +++ b/clients/client-athena/commands/UpdateWorkGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateWorkGroupCommandInput = UpdateWorkGroupInput; @@ -64,14 +64,14 @@ export class UpdateWorkGroupCommand extends $Command< private serialize( input: UpdateWorkGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateWorkGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateWorkGroupCommand(output, context); } diff --git a/clients/client-athena/protocols/Aws_json1_1.ts b/clients/client-athena/protocols/Aws_json1_1.ts index 7c7d3231cba2..1890f1107960 100644 --- a/clients/client-athena/protocols/Aws_json1_1.ts +++ b/clients/client-athena/protocols/Aws_json1_1.ts @@ -3260,6 +3260,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-auto-scaling-plans/commands/CreateScalingPlanCommand.ts b/clients/client-auto-scaling-plans/commands/CreateScalingPlanCommand.ts index a43bb5f111ad..4eb5ec181e9c 100644 --- a/clients/client-auto-scaling-plans/commands/CreateScalingPlanCommand.ts +++ b/clients/client-auto-scaling-plans/commands/CreateScalingPlanCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateScalingPlanCommandInput = CreateScalingPlanRequest; @@ -67,14 +67,14 @@ export class CreateScalingPlanCommand extends $Command< private serialize( input: CreateScalingPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateScalingPlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateScalingPlanCommand(output, context); } diff --git a/clients/client-auto-scaling-plans/commands/DeleteScalingPlanCommand.ts b/clients/client-auto-scaling-plans/commands/DeleteScalingPlanCommand.ts index 4b809f952b48..7f6c052a1693 100644 --- a/clients/client-auto-scaling-plans/commands/DeleteScalingPlanCommand.ts +++ b/clients/client-auto-scaling-plans/commands/DeleteScalingPlanCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteScalingPlanCommandInput = DeleteScalingPlanRequest; @@ -67,14 +67,14 @@ export class DeleteScalingPlanCommand extends $Command< private serialize( input: DeleteScalingPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteScalingPlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteScalingPlanCommand(output, context); } diff --git a/clients/client-auto-scaling-plans/commands/DescribeScalingPlanResourcesCommand.ts b/clients/client-auto-scaling-plans/commands/DescribeScalingPlanResourcesCommand.ts index 1e90d16cb282..7bd89480eb21 100644 --- a/clients/client-auto-scaling-plans/commands/DescribeScalingPlanResourcesCommand.ts +++ b/clients/client-auto-scaling-plans/commands/DescribeScalingPlanResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScalingPlanResourcesCommandInput = DescribeScalingPlanResourcesRequest; @@ -70,7 +70,7 @@ export class DescribeScalingPlanResourcesCommand extends $Command< private serialize( input: DescribeScalingPlanResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeScalingPlanResourcesCommand( input, @@ -80,7 +80,7 @@ export class DescribeScalingPlanResourcesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeScalingPlanResourcesCommand( output, diff --git a/clients/client-auto-scaling-plans/commands/DescribeScalingPlansCommand.ts b/clients/client-auto-scaling-plans/commands/DescribeScalingPlansCommand.ts index 10c6d3daefe6..d47b3317b215 100644 --- a/clients/client-auto-scaling-plans/commands/DescribeScalingPlansCommand.ts +++ b/clients/client-auto-scaling-plans/commands/DescribeScalingPlansCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScalingPlansCommandInput = DescribeScalingPlansRequest; @@ -70,14 +70,14 @@ export class DescribeScalingPlansCommand extends $Command< private serialize( input: DescribeScalingPlansCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeScalingPlansCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeScalingPlansCommand(output, context); } diff --git a/clients/client-auto-scaling-plans/commands/GetScalingPlanResourceForecastDataCommand.ts b/clients/client-auto-scaling-plans/commands/GetScalingPlanResourceForecastDataCommand.ts index 3e96272c9b96..cd11c38b3348 100644 --- a/clients/client-auto-scaling-plans/commands/GetScalingPlanResourceForecastDataCommand.ts +++ b/clients/client-auto-scaling-plans/commands/GetScalingPlanResourceForecastDataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetScalingPlanResourceForecastDataCommandInput = GetScalingPlanResourceForecastDataRequest; @@ -70,7 +70,7 @@ export class GetScalingPlanResourceForecastDataCommand extends $Command< private serialize( input: GetScalingPlanResourceForecastDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetScalingPlanResourceForecastDataCommand( input, @@ -80,7 +80,7 @@ export class GetScalingPlanResourceForecastDataCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand( output, diff --git a/clients/client-auto-scaling-plans/commands/UpdateScalingPlanCommand.ts b/clients/client-auto-scaling-plans/commands/UpdateScalingPlanCommand.ts index b44d309bb5d0..dbdb188c780d 100644 --- a/clients/client-auto-scaling-plans/commands/UpdateScalingPlanCommand.ts +++ b/clients/client-auto-scaling-plans/commands/UpdateScalingPlanCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateScalingPlanCommandInput = UpdateScalingPlanRequest; @@ -67,14 +67,14 @@ export class UpdateScalingPlanCommand extends $Command< private serialize( input: UpdateScalingPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateScalingPlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateScalingPlanCommand(output, context); } diff --git a/clients/client-auto-scaling-plans/protocols/Aws_json1_1.ts b/clients/client-auto-scaling-plans/protocols/Aws_json1_1.ts index 74d6fca7b895..a8de3b02c8e1 100644 --- a/clients/client-auto-scaling-plans/protocols/Aws_json1_1.ts +++ b/clients/client-auto-scaling-plans/protocols/Aws_json1_1.ts @@ -1940,6 +1940,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-auto-scaling/commands/AttachInstancesCommand.ts b/clients/client-auto-scaling/commands/AttachInstancesCommand.ts index 03a5e53c023f..2b6cf06c850a 100644 --- a/clients/client-auto-scaling/commands/AttachInstancesCommand.ts +++ b/clients/client-auto-scaling/commands/AttachInstancesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachInstancesCommandInput = AttachInstancesQuery; @@ -65,14 +65,14 @@ export class AttachInstancesCommand extends $Command< private serialize( input: AttachInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAttachInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAttachInstancesCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/AttachLoadBalancerTargetGroupsCommand.ts b/clients/client-auto-scaling/commands/AttachLoadBalancerTargetGroupsCommand.ts index 0d0fa995c8a1..76b73a1c0e53 100644 --- a/clients/client-auto-scaling/commands/AttachLoadBalancerTargetGroupsCommand.ts +++ b/clients/client-auto-scaling/commands/AttachLoadBalancerTargetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachLoadBalancerTargetGroupsCommandInput = AttachLoadBalancerTargetGroupsType; @@ -70,7 +70,7 @@ export class AttachLoadBalancerTargetGroupsCommand extends $Command< private serialize( input: AttachLoadBalancerTargetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAttachLoadBalancerTargetGroupsCommand( input, @@ -80,7 +80,7 @@ export class AttachLoadBalancerTargetGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAttachLoadBalancerTargetGroupsCommand( output, diff --git a/clients/client-auto-scaling/commands/AttachLoadBalancersCommand.ts b/clients/client-auto-scaling/commands/AttachLoadBalancersCommand.ts index 3ee08583b52e..9eeee4af3f71 100644 --- a/clients/client-auto-scaling/commands/AttachLoadBalancersCommand.ts +++ b/clients/client-auto-scaling/commands/AttachLoadBalancersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachLoadBalancersCommandInput = AttachLoadBalancersType; @@ -70,14 +70,14 @@ export class AttachLoadBalancersCommand extends $Command< private serialize( input: AttachLoadBalancersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAttachLoadBalancersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAttachLoadBalancersCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/BatchDeleteScheduledActionCommand.ts b/clients/client-auto-scaling/commands/BatchDeleteScheduledActionCommand.ts index e562cf607cd0..f16bfe734f6e 100644 --- a/clients/client-auto-scaling/commands/BatchDeleteScheduledActionCommand.ts +++ b/clients/client-auto-scaling/commands/BatchDeleteScheduledActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDeleteScheduledActionCommandInput = BatchDeleteScheduledActionType; @@ -70,14 +70,14 @@ export class BatchDeleteScheduledActionCommand extends $Command< private serialize( input: BatchDeleteScheduledActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryBatchDeleteScheduledActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryBatchDeleteScheduledActionCommand( output, diff --git a/clients/client-auto-scaling/commands/BatchPutScheduledUpdateGroupActionCommand.ts b/clients/client-auto-scaling/commands/BatchPutScheduledUpdateGroupActionCommand.ts index 275dbd41597c..1827e7888070 100644 --- a/clients/client-auto-scaling/commands/BatchPutScheduledUpdateGroupActionCommand.ts +++ b/clients/client-auto-scaling/commands/BatchPutScheduledUpdateGroupActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchPutScheduledUpdateGroupActionCommandInput = BatchPutScheduledUpdateGroupActionType; @@ -70,7 +70,7 @@ export class BatchPutScheduledUpdateGroupActionCommand extends $Command< private serialize( input: BatchPutScheduledUpdateGroupActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryBatchPutScheduledUpdateGroupActionCommand( input, @@ -80,7 +80,7 @@ export class BatchPutScheduledUpdateGroupActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryBatchPutScheduledUpdateGroupActionCommand( output, diff --git a/clients/client-auto-scaling/commands/CompleteLifecycleActionCommand.ts b/clients/client-auto-scaling/commands/CompleteLifecycleActionCommand.ts index 4e4ff026ac5e..1b9f052a3e8c 100644 --- a/clients/client-auto-scaling/commands/CompleteLifecycleActionCommand.ts +++ b/clients/client-auto-scaling/commands/CompleteLifecycleActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CompleteLifecycleActionCommandInput = CompleteLifecycleActionType; @@ -70,14 +70,14 @@ export class CompleteLifecycleActionCommand extends $Command< private serialize( input: CompleteLifecycleActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCompleteLifecycleActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCompleteLifecycleActionCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/CreateAutoScalingGroupCommand.ts b/clients/client-auto-scaling/commands/CreateAutoScalingGroupCommand.ts index 1d7b21897822..9dd66c4633b0 100644 --- a/clients/client-auto-scaling/commands/CreateAutoScalingGroupCommand.ts +++ b/clients/client-auto-scaling/commands/CreateAutoScalingGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAutoScalingGroupCommandInput = CreateAutoScalingGroupType; @@ -68,14 +68,14 @@ export class CreateAutoScalingGroupCommand extends $Command< private serialize( input: CreateAutoScalingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateAutoScalingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateAutoScalingGroupCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/CreateLaunchConfigurationCommand.ts b/clients/client-auto-scaling/commands/CreateLaunchConfigurationCommand.ts index 4b3e72bd68e5..c3a17e8f51ca 100644 --- a/clients/client-auto-scaling/commands/CreateLaunchConfigurationCommand.ts +++ b/clients/client-auto-scaling/commands/CreateLaunchConfigurationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLaunchConfigurationCommandInput = CreateLaunchConfigurationType; @@ -68,14 +68,14 @@ export class CreateLaunchConfigurationCommand extends $Command< private serialize( input: CreateLaunchConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateLaunchConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateLaunchConfigurationCommand( output, diff --git a/clients/client-auto-scaling/commands/CreateOrUpdateTagsCommand.ts b/clients/client-auto-scaling/commands/CreateOrUpdateTagsCommand.ts index 5f7c226d504c..fbd6f3fd97ab 100644 --- a/clients/client-auto-scaling/commands/CreateOrUpdateTagsCommand.ts +++ b/clients/client-auto-scaling/commands/CreateOrUpdateTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateOrUpdateTagsCommandInput = CreateOrUpdateTagsType; @@ -65,14 +65,14 @@ export class CreateOrUpdateTagsCommand extends $Command< private serialize( input: CreateOrUpdateTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateOrUpdateTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateOrUpdateTagsCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DeleteAutoScalingGroupCommand.ts b/clients/client-auto-scaling/commands/DeleteAutoScalingGroupCommand.ts index 25f653225d4f..62baf34c725b 100644 --- a/clients/client-auto-scaling/commands/DeleteAutoScalingGroupCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteAutoScalingGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAutoScalingGroupCommandInput = DeleteAutoScalingGroupType; @@ -68,14 +68,14 @@ export class DeleteAutoScalingGroupCommand extends $Command< private serialize( input: DeleteAutoScalingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteAutoScalingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteAutoScalingGroupCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DeleteLaunchConfigurationCommand.ts b/clients/client-auto-scaling/commands/DeleteLaunchConfigurationCommand.ts index 11275a45116c..c327d075bbab 100644 --- a/clients/client-auto-scaling/commands/DeleteLaunchConfigurationCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteLaunchConfigurationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLaunchConfigurationCommandInput = LaunchConfigurationNameType; @@ -68,14 +68,14 @@ export class DeleteLaunchConfigurationCommand extends $Command< private serialize( input: DeleteLaunchConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteLaunchConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteLaunchConfigurationCommand( output, diff --git a/clients/client-auto-scaling/commands/DeleteLifecycleHookCommand.ts b/clients/client-auto-scaling/commands/DeleteLifecycleHookCommand.ts index af69456594df..1eff71a6c765 100644 --- a/clients/client-auto-scaling/commands/DeleteLifecycleHookCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteLifecycleHookCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLifecycleHookCommandInput = DeleteLifecycleHookType; @@ -70,14 +70,14 @@ export class DeleteLifecycleHookCommand extends $Command< private serialize( input: DeleteLifecycleHookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteLifecycleHookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteLifecycleHookCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DeleteNotificationConfigurationCommand.ts b/clients/client-auto-scaling/commands/DeleteNotificationConfigurationCommand.ts index 407b35d184ec..24259af2810d 100644 --- a/clients/client-auto-scaling/commands/DeleteNotificationConfigurationCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteNotificationConfigurationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNotificationConfigurationCommandInput = DeleteNotificationConfigurationType; @@ -68,7 +68,7 @@ export class DeleteNotificationConfigurationCommand extends $Command< private serialize( input: DeleteNotificationConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteNotificationConfigurationCommand( input, @@ -78,7 +78,7 @@ export class DeleteNotificationConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteNotificationConfigurationCommand( output, diff --git a/clients/client-auto-scaling/commands/DeletePolicyCommand.ts b/clients/client-auto-scaling/commands/DeletePolicyCommand.ts index cd6e13601cee..55a0852fba22 100644 --- a/clients/client-auto-scaling/commands/DeletePolicyCommand.ts +++ b/clients/client-auto-scaling/commands/DeletePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePolicyCommandInput = DeletePolicyType; @@ -65,14 +65,14 @@ export class DeletePolicyCommand extends $Command< private serialize( input: DeletePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeletePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeletePolicyCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DeleteScheduledActionCommand.ts b/clients/client-auto-scaling/commands/DeleteScheduledActionCommand.ts index f4340b0456d4..059a8553648f 100644 --- a/clients/client-auto-scaling/commands/DeleteScheduledActionCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteScheduledActionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteScheduledActionCommandInput = DeleteScheduledActionType; @@ -68,14 +68,14 @@ export class DeleteScheduledActionCommand extends $Command< private serialize( input: DeleteScheduledActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteScheduledActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteScheduledActionCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DeleteTagsCommand.ts b/clients/client-auto-scaling/commands/DeleteTagsCommand.ts index 73b435e218e2..0231e280aa64 100644 --- a/clients/client-auto-scaling/commands/DeleteTagsCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagsCommandInput = DeleteTagsType; @@ -65,14 +65,14 @@ export class DeleteTagsCommand extends $Command< private serialize( input: DeleteTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteTagsCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DescribeAccountLimitsCommand.ts b/clients/client-auto-scaling/commands/DescribeAccountLimitsCommand.ts index 607b0f3f2268..1c6fe0608cf9 100644 --- a/clients/client-auto-scaling/commands/DescribeAccountLimitsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeAccountLimitsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountLimitsCommandInput = {}; @@ -67,14 +67,14 @@ export class DescribeAccountLimitsCommand extends $Command< private serialize( input: DescribeAccountLimitsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAccountLimitsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAccountLimitsCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DescribeAdjustmentTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeAdjustmentTypesCommand.ts index b63df627edd6..973a0f6b57d5 100644 --- a/clients/client-auto-scaling/commands/DescribeAdjustmentTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeAdjustmentTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAdjustmentTypesCommandInput = {}; @@ -67,14 +67,14 @@ export class DescribeAdjustmentTypesCommand extends $Command< private serialize( input: DescribeAdjustmentTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAdjustmentTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAdjustmentTypesCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DescribeAutoScalingGroupsCommand.ts b/clients/client-auto-scaling/commands/DescribeAutoScalingGroupsCommand.ts index e0dac4f8921a..22f95c95444a 100644 --- a/clients/client-auto-scaling/commands/DescribeAutoScalingGroupsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeAutoScalingGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAutoScalingGroupsCommandInput = AutoScalingGroupNamesType; @@ -70,14 +70,14 @@ export class DescribeAutoScalingGroupsCommand extends $Command< private serialize( input: DescribeAutoScalingGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAutoScalingGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAutoScalingGroupsCommand( output, diff --git a/clients/client-auto-scaling/commands/DescribeAutoScalingInstancesCommand.ts b/clients/client-auto-scaling/commands/DescribeAutoScalingInstancesCommand.ts index 83c8c95459a7..50d476969fd1 100644 --- a/clients/client-auto-scaling/commands/DescribeAutoScalingInstancesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeAutoScalingInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAutoScalingInstancesCommandInput = DescribeAutoScalingInstancesType; @@ -70,7 +70,7 @@ export class DescribeAutoScalingInstancesCommand extends $Command< private serialize( input: DescribeAutoScalingInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAutoScalingInstancesCommand( input, @@ -80,7 +80,7 @@ export class DescribeAutoScalingInstancesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAutoScalingInstancesCommand( output, diff --git a/clients/client-auto-scaling/commands/DescribeAutoScalingNotificationTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeAutoScalingNotificationTypesCommand.ts index a1d21bd57cd5..96254e8e3b9b 100644 --- a/clients/client-auto-scaling/commands/DescribeAutoScalingNotificationTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeAutoScalingNotificationTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAutoScalingNotificationTypesCommandInput = {}; @@ -69,7 +69,7 @@ export class DescribeAutoScalingNotificationTypesCommand extends $Command< private serialize( input: DescribeAutoScalingNotificationTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAutoScalingNotificationTypesCommand( input, @@ -79,7 +79,7 @@ export class DescribeAutoScalingNotificationTypesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAutoScalingNotificationTypesCommand( output, diff --git a/clients/client-auto-scaling/commands/DescribeLaunchConfigurationsCommand.ts b/clients/client-auto-scaling/commands/DescribeLaunchConfigurationsCommand.ts index a51f3c9e295b..82d01fe6fb3f 100644 --- a/clients/client-auto-scaling/commands/DescribeLaunchConfigurationsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeLaunchConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLaunchConfigurationsCommandInput = LaunchConfigurationNamesType; @@ -70,7 +70,7 @@ export class DescribeLaunchConfigurationsCommand extends $Command< private serialize( input: DescribeLaunchConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLaunchConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeLaunchConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLaunchConfigurationsCommand( output, diff --git a/clients/client-auto-scaling/commands/DescribeLifecycleHookTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeLifecycleHookTypesCommand.ts index 8d17e7f56170..66cd71b391db 100644 --- a/clients/client-auto-scaling/commands/DescribeLifecycleHookTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeLifecycleHookTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLifecycleHookTypesCommandInput = {}; @@ -67,14 +67,14 @@ export class DescribeLifecycleHookTypesCommand extends $Command< private serialize( input: DescribeLifecycleHookTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLifecycleHookTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLifecycleHookTypesCommand( output, diff --git a/clients/client-auto-scaling/commands/DescribeLifecycleHooksCommand.ts b/clients/client-auto-scaling/commands/DescribeLifecycleHooksCommand.ts index b7ad3bb3424c..41d1e34d9356 100644 --- a/clients/client-auto-scaling/commands/DescribeLifecycleHooksCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeLifecycleHooksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLifecycleHooksCommandInput = DescribeLifecycleHooksType; @@ -70,14 +70,14 @@ export class DescribeLifecycleHooksCommand extends $Command< private serialize( input: DescribeLifecycleHooksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLifecycleHooksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLifecycleHooksCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DescribeLoadBalancerTargetGroupsCommand.ts b/clients/client-auto-scaling/commands/DescribeLoadBalancerTargetGroupsCommand.ts index bd3df0131818..3bd3fa740a30 100644 --- a/clients/client-auto-scaling/commands/DescribeLoadBalancerTargetGroupsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeLoadBalancerTargetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoadBalancerTargetGroupsCommandInput = DescribeLoadBalancerTargetGroupsRequest; @@ -70,7 +70,7 @@ export class DescribeLoadBalancerTargetGroupsCommand extends $Command< private serialize( input: DescribeLoadBalancerTargetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLoadBalancerTargetGroupsCommand( input, @@ -80,7 +80,7 @@ export class DescribeLoadBalancerTargetGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLoadBalancerTargetGroupsCommand( output, diff --git a/clients/client-auto-scaling/commands/DescribeLoadBalancersCommand.ts b/clients/client-auto-scaling/commands/DescribeLoadBalancersCommand.ts index d6e547ab90b9..8d9091dd94b2 100644 --- a/clients/client-auto-scaling/commands/DescribeLoadBalancersCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeLoadBalancersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoadBalancersCommandInput = DescribeLoadBalancersRequest; @@ -70,14 +70,14 @@ export class DescribeLoadBalancersCommand extends $Command< private serialize( input: DescribeLoadBalancersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLoadBalancersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLoadBalancersCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DescribeMetricCollectionTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeMetricCollectionTypesCommand.ts index 9a709b95de51..8e820658d74d 100644 --- a/clients/client-auto-scaling/commands/DescribeMetricCollectionTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeMetricCollectionTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMetricCollectionTypesCommandInput = {}; @@ -67,7 +67,7 @@ export class DescribeMetricCollectionTypesCommand extends $Command< private serialize( input: DescribeMetricCollectionTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeMetricCollectionTypesCommand( input, @@ -77,7 +77,7 @@ export class DescribeMetricCollectionTypesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeMetricCollectionTypesCommand( output, diff --git a/clients/client-auto-scaling/commands/DescribeNotificationConfigurationsCommand.ts b/clients/client-auto-scaling/commands/DescribeNotificationConfigurationsCommand.ts index a7f8e8356d7e..785a0af55b16 100644 --- a/clients/client-auto-scaling/commands/DescribeNotificationConfigurationsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeNotificationConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNotificationConfigurationsCommandInput = DescribeNotificationConfigurationsType; @@ -70,7 +70,7 @@ export class DescribeNotificationConfigurationsCommand extends $Command< private serialize( input: DescribeNotificationConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeNotificationConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeNotificationConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeNotificationConfigurationsCommand( output, diff --git a/clients/client-auto-scaling/commands/DescribePoliciesCommand.ts b/clients/client-auto-scaling/commands/DescribePoliciesCommand.ts index aabc96014cf2..f059886de964 100644 --- a/clients/client-auto-scaling/commands/DescribePoliciesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribePoliciesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePoliciesCommandInput = DescribePoliciesType; @@ -64,14 +64,14 @@ export class DescribePoliciesCommand extends $Command< private serialize( input: DescribePoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribePoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribePoliciesCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DescribeScalingActivitiesCommand.ts b/clients/client-auto-scaling/commands/DescribeScalingActivitiesCommand.ts index 726fb8be477a..ce66f5200afa 100644 --- a/clients/client-auto-scaling/commands/DescribeScalingActivitiesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeScalingActivitiesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScalingActivitiesCommandInput = DescribeScalingActivitiesType; @@ -67,14 +67,14 @@ export class DescribeScalingActivitiesCommand extends $Command< private serialize( input: DescribeScalingActivitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeScalingActivitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeScalingActivitiesCommand( output, diff --git a/clients/client-auto-scaling/commands/DescribeScalingProcessTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeScalingProcessTypesCommand.ts index 517820fe9fe2..be1d7a7e3a1a 100644 --- a/clients/client-auto-scaling/commands/DescribeScalingProcessTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeScalingProcessTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScalingProcessTypesCommandInput = {}; @@ -67,14 +67,14 @@ export class DescribeScalingProcessTypesCommand extends $Command< private serialize( input: DescribeScalingProcessTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeScalingProcessTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeScalingProcessTypesCommand( output, diff --git a/clients/client-auto-scaling/commands/DescribeScheduledActionsCommand.ts b/clients/client-auto-scaling/commands/DescribeScheduledActionsCommand.ts index 7504fafdcbcf..683757112562 100644 --- a/clients/client-auto-scaling/commands/DescribeScheduledActionsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeScheduledActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScheduledActionsCommandInput = DescribeScheduledActionsType; @@ -70,14 +70,14 @@ export class DescribeScheduledActionsCommand extends $Command< private serialize( input: DescribeScheduledActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeScheduledActionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeScheduledActionsCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DescribeTagsCommand.ts b/clients/client-auto-scaling/commands/DescribeTagsCommand.ts index aac668e33621..f0c2fd565546 100644 --- a/clients/client-auto-scaling/commands/DescribeTagsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTagsCommandInput = DescribeTagsType; @@ -64,14 +64,14 @@ export class DescribeTagsCommand extends $Command< private serialize( input: DescribeTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeTagsCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DescribeTerminationPolicyTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeTerminationPolicyTypesCommand.ts index 1681b71b4304..89db298cfb25 100644 --- a/clients/client-auto-scaling/commands/DescribeTerminationPolicyTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeTerminationPolicyTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTerminationPolicyTypesCommandInput = {}; @@ -67,7 +67,7 @@ export class DescribeTerminationPolicyTypesCommand extends $Command< private serialize( input: DescribeTerminationPolicyTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeTerminationPolicyTypesCommand( input, @@ -77,7 +77,7 @@ export class DescribeTerminationPolicyTypesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeTerminationPolicyTypesCommand( output, diff --git a/clients/client-auto-scaling/commands/DetachInstancesCommand.ts b/clients/client-auto-scaling/commands/DetachInstancesCommand.ts index 82c4ae20d12a..87e6083838fe 100644 --- a/clients/client-auto-scaling/commands/DetachInstancesCommand.ts +++ b/clients/client-auto-scaling/commands/DetachInstancesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachInstancesCommandInput = DetachInstancesQuery; @@ -64,14 +64,14 @@ export class DetachInstancesCommand extends $Command< private serialize( input: DetachInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDetachInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDetachInstancesCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DetachLoadBalancerTargetGroupsCommand.ts b/clients/client-auto-scaling/commands/DetachLoadBalancerTargetGroupsCommand.ts index b6ddd2ffa42b..08e3d7fbd68a 100644 --- a/clients/client-auto-scaling/commands/DetachLoadBalancerTargetGroupsCommand.ts +++ b/clients/client-auto-scaling/commands/DetachLoadBalancerTargetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachLoadBalancerTargetGroupsCommandInput = DetachLoadBalancerTargetGroupsType; @@ -70,7 +70,7 @@ export class DetachLoadBalancerTargetGroupsCommand extends $Command< private serialize( input: DetachLoadBalancerTargetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDetachLoadBalancerTargetGroupsCommand( input, @@ -80,7 +80,7 @@ export class DetachLoadBalancerTargetGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDetachLoadBalancerTargetGroupsCommand( output, diff --git a/clients/client-auto-scaling/commands/DetachLoadBalancersCommand.ts b/clients/client-auto-scaling/commands/DetachLoadBalancersCommand.ts index abb3bf871c17..b00186976d60 100644 --- a/clients/client-auto-scaling/commands/DetachLoadBalancersCommand.ts +++ b/clients/client-auto-scaling/commands/DetachLoadBalancersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachLoadBalancersCommandInput = DetachLoadBalancersType; @@ -70,14 +70,14 @@ export class DetachLoadBalancersCommand extends $Command< private serialize( input: DetachLoadBalancersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDetachLoadBalancersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDetachLoadBalancersCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/DisableMetricsCollectionCommand.ts b/clients/client-auto-scaling/commands/DisableMetricsCollectionCommand.ts index b36d70cbe0ed..389f5aeb73af 100644 --- a/clients/client-auto-scaling/commands/DisableMetricsCollectionCommand.ts +++ b/clients/client-auto-scaling/commands/DisableMetricsCollectionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableMetricsCollectionCommandInput = DisableMetricsCollectionQuery; @@ -68,14 +68,14 @@ export class DisableMetricsCollectionCommand extends $Command< private serialize( input: DisableMetricsCollectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDisableMetricsCollectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDisableMetricsCollectionCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/EnableMetricsCollectionCommand.ts b/clients/client-auto-scaling/commands/EnableMetricsCollectionCommand.ts index 476cd0ceac4e..e9377ba00e16 100644 --- a/clients/client-auto-scaling/commands/EnableMetricsCollectionCommand.ts +++ b/clients/client-auto-scaling/commands/EnableMetricsCollectionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableMetricsCollectionCommandInput = EnableMetricsCollectionQuery; @@ -68,14 +68,14 @@ export class EnableMetricsCollectionCommand extends $Command< private serialize( input: EnableMetricsCollectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryEnableMetricsCollectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryEnableMetricsCollectionCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/EnterStandbyCommand.ts b/clients/client-auto-scaling/commands/EnterStandbyCommand.ts index dbfd17e65175..2f1a1a836d06 100644 --- a/clients/client-auto-scaling/commands/EnterStandbyCommand.ts +++ b/clients/client-auto-scaling/commands/EnterStandbyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnterStandbyCommandInput = EnterStandbyQuery; @@ -64,14 +64,14 @@ export class EnterStandbyCommand extends $Command< private serialize( input: EnterStandbyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryEnterStandbyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryEnterStandbyCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/ExecutePolicyCommand.ts b/clients/client-auto-scaling/commands/ExecutePolicyCommand.ts index e7b415270de2..4070ba692d32 100644 --- a/clients/client-auto-scaling/commands/ExecutePolicyCommand.ts +++ b/clients/client-auto-scaling/commands/ExecutePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExecutePolicyCommandInput = ExecutePolicyType; @@ -65,14 +65,14 @@ export class ExecutePolicyCommand extends $Command< private serialize( input: ExecutePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryExecutePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryExecutePolicyCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/ExitStandbyCommand.ts b/clients/client-auto-scaling/commands/ExitStandbyCommand.ts index 44c3fac165a8..b2cb3c7e2b81 100644 --- a/clients/client-auto-scaling/commands/ExitStandbyCommand.ts +++ b/clients/client-auto-scaling/commands/ExitStandbyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExitStandbyCommandInput = ExitStandbyQuery; @@ -64,14 +64,14 @@ export class ExitStandbyCommand extends $Command< private serialize( input: ExitStandbyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryExitStandbyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryExitStandbyCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/PutLifecycleHookCommand.ts b/clients/client-auto-scaling/commands/PutLifecycleHookCommand.ts index 508098dfb7b8..e20c1f8b1422 100644 --- a/clients/client-auto-scaling/commands/PutLifecycleHookCommand.ts +++ b/clients/client-auto-scaling/commands/PutLifecycleHookCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLifecycleHookCommandInput = PutLifecycleHookType; @@ -64,14 +64,14 @@ export class PutLifecycleHookCommand extends $Command< private serialize( input: PutLifecycleHookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutLifecycleHookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutLifecycleHookCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/PutNotificationConfigurationCommand.ts b/clients/client-auto-scaling/commands/PutNotificationConfigurationCommand.ts index dfce2ccde180..e9f4a2967c64 100644 --- a/clients/client-auto-scaling/commands/PutNotificationConfigurationCommand.ts +++ b/clients/client-auto-scaling/commands/PutNotificationConfigurationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutNotificationConfigurationCommandInput = PutNotificationConfigurationType; @@ -68,7 +68,7 @@ export class PutNotificationConfigurationCommand extends $Command< private serialize( input: PutNotificationConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutNotificationConfigurationCommand( input, @@ -78,7 +78,7 @@ export class PutNotificationConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutNotificationConfigurationCommand( output, diff --git a/clients/client-auto-scaling/commands/PutScalingPolicyCommand.ts b/clients/client-auto-scaling/commands/PutScalingPolicyCommand.ts index 9d51082cf106..fe9703aa9405 100644 --- a/clients/client-auto-scaling/commands/PutScalingPolicyCommand.ts +++ b/clients/client-auto-scaling/commands/PutScalingPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutScalingPolicyCommandInput = PutScalingPolicyType; @@ -64,14 +64,14 @@ export class PutScalingPolicyCommand extends $Command< private serialize( input: PutScalingPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutScalingPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutScalingPolicyCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/PutScheduledUpdateGroupActionCommand.ts b/clients/client-auto-scaling/commands/PutScheduledUpdateGroupActionCommand.ts index d46bc2d1ca0f..1268e81dfb5e 100644 --- a/clients/client-auto-scaling/commands/PutScheduledUpdateGroupActionCommand.ts +++ b/clients/client-auto-scaling/commands/PutScheduledUpdateGroupActionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutScheduledUpdateGroupActionCommandInput = PutScheduledUpdateGroupActionType; @@ -68,7 +68,7 @@ export class PutScheduledUpdateGroupActionCommand extends $Command< private serialize( input: PutScheduledUpdateGroupActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutScheduledUpdateGroupActionCommand( input, @@ -78,7 +78,7 @@ export class PutScheduledUpdateGroupActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutScheduledUpdateGroupActionCommand( output, diff --git a/clients/client-auto-scaling/commands/RecordLifecycleActionHeartbeatCommand.ts b/clients/client-auto-scaling/commands/RecordLifecycleActionHeartbeatCommand.ts index 09164a55cfc9..82e7cab005c2 100644 --- a/clients/client-auto-scaling/commands/RecordLifecycleActionHeartbeatCommand.ts +++ b/clients/client-auto-scaling/commands/RecordLifecycleActionHeartbeatCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RecordLifecycleActionHeartbeatCommandInput = RecordLifecycleActionHeartbeatType; @@ -70,7 +70,7 @@ export class RecordLifecycleActionHeartbeatCommand extends $Command< private serialize( input: RecordLifecycleActionHeartbeatCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRecordLifecycleActionHeartbeatCommand( input, @@ -80,7 +80,7 @@ export class RecordLifecycleActionHeartbeatCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRecordLifecycleActionHeartbeatCommand( output, diff --git a/clients/client-auto-scaling/commands/ResumeProcessesCommand.ts b/clients/client-auto-scaling/commands/ResumeProcessesCommand.ts index c6414a0abc49..cee4fd25aeb8 100644 --- a/clients/client-auto-scaling/commands/ResumeProcessesCommand.ts +++ b/clients/client-auto-scaling/commands/ResumeProcessesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResumeProcessesCommandInput = ScalingProcessQuery; @@ -65,14 +65,14 @@ export class ResumeProcessesCommand extends $Command< private serialize( input: ResumeProcessesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryResumeProcessesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryResumeProcessesCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/SetDesiredCapacityCommand.ts b/clients/client-auto-scaling/commands/SetDesiredCapacityCommand.ts index 1b9f38841f70..d12acab33254 100644 --- a/clients/client-auto-scaling/commands/SetDesiredCapacityCommand.ts +++ b/clients/client-auto-scaling/commands/SetDesiredCapacityCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetDesiredCapacityCommandInput = SetDesiredCapacityType; @@ -65,14 +65,14 @@ export class SetDesiredCapacityCommand extends $Command< private serialize( input: SetDesiredCapacityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetDesiredCapacityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetDesiredCapacityCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/SetInstanceHealthCommand.ts b/clients/client-auto-scaling/commands/SetInstanceHealthCommand.ts index 96cb81226d60..3ba52640b534 100644 --- a/clients/client-auto-scaling/commands/SetInstanceHealthCommand.ts +++ b/clients/client-auto-scaling/commands/SetInstanceHealthCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetInstanceHealthCommandInput = SetInstanceHealthQuery; @@ -65,14 +65,14 @@ export class SetInstanceHealthCommand extends $Command< private serialize( input: SetInstanceHealthCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetInstanceHealthCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetInstanceHealthCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/SetInstanceProtectionCommand.ts b/clients/client-auto-scaling/commands/SetInstanceProtectionCommand.ts index 52d15502c1ee..982061ebd7ba 100644 --- a/clients/client-auto-scaling/commands/SetInstanceProtectionCommand.ts +++ b/clients/client-auto-scaling/commands/SetInstanceProtectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetInstanceProtectionCommandInput = SetInstanceProtectionQuery; @@ -70,14 +70,14 @@ export class SetInstanceProtectionCommand extends $Command< private serialize( input: SetInstanceProtectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetInstanceProtectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetInstanceProtectionCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/SuspendProcessesCommand.ts b/clients/client-auto-scaling/commands/SuspendProcessesCommand.ts index 2e86c6a4f271..485e678aca4f 100644 --- a/clients/client-auto-scaling/commands/SuspendProcessesCommand.ts +++ b/clients/client-auto-scaling/commands/SuspendProcessesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SuspendProcessesCommandInput = ScalingProcessQuery; @@ -65,14 +65,14 @@ export class SuspendProcessesCommand extends $Command< private serialize( input: SuspendProcessesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySuspendProcessesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySuspendProcessesCommand(output, context); } diff --git a/clients/client-auto-scaling/commands/TerminateInstanceInAutoScalingGroupCommand.ts b/clients/client-auto-scaling/commands/TerminateInstanceInAutoScalingGroupCommand.ts index f53d46a85cbf..a4d39dc237fb 100644 --- a/clients/client-auto-scaling/commands/TerminateInstanceInAutoScalingGroupCommand.ts +++ b/clients/client-auto-scaling/commands/TerminateInstanceInAutoScalingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TerminateInstanceInAutoScalingGroupCommandInput = TerminateInstanceInAutoScalingGroupType; @@ -70,7 +70,7 @@ export class TerminateInstanceInAutoScalingGroupCommand extends $Command< private serialize( input: TerminateInstanceInAutoScalingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryTerminateInstanceInAutoScalingGroupCommand( input, @@ -80,7 +80,7 @@ export class TerminateInstanceInAutoScalingGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryTerminateInstanceInAutoScalingGroupCommand( output, diff --git a/clients/client-auto-scaling/commands/UpdateAutoScalingGroupCommand.ts b/clients/client-auto-scaling/commands/UpdateAutoScalingGroupCommand.ts index 3f2312e17ed8..7e07e97cfc63 100644 --- a/clients/client-auto-scaling/commands/UpdateAutoScalingGroupCommand.ts +++ b/clients/client-auto-scaling/commands/UpdateAutoScalingGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAutoScalingGroupCommandInput = UpdateAutoScalingGroupType; @@ -68,14 +68,14 @@ export class UpdateAutoScalingGroupCommand extends $Command< private serialize( input: UpdateAutoScalingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateAutoScalingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateAutoScalingGroupCommand(output, context); } diff --git a/clients/client-auto-scaling/protocols/Aws_query.ts b/clients/client-auto-scaling/protocols/Aws_query.ts index 07457fb4d810..22e227da1069 100644 --- a/clients/client-auto-scaling/protocols/Aws_query.ts +++ b/clients/client-auto-scaling/protocols/Aws_query.ts @@ -9236,6 +9236,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-backup/commands/CreateBackupPlanCommand.ts b/clients/client-backup/commands/CreateBackupPlanCommand.ts index b3d0da59c1ea..9041b6a5ac37 100644 --- a/clients/client-backup/commands/CreateBackupPlanCommand.ts +++ b/clients/client-backup/commands/CreateBackupPlanCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBackupPlanCommandInput = CreateBackupPlanInput; @@ -64,14 +64,14 @@ export class CreateBackupPlanCommand extends $Command< private serialize( input: CreateBackupPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateBackupPlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateBackupPlanCommand(output, context); } diff --git a/clients/client-backup/commands/CreateBackupSelectionCommand.ts b/clients/client-backup/commands/CreateBackupSelectionCommand.ts index 48639b9b0b17..c6b57e20c5da 100644 --- a/clients/client-backup/commands/CreateBackupSelectionCommand.ts +++ b/clients/client-backup/commands/CreateBackupSelectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBackupSelectionCommandInput = CreateBackupSelectionInput; @@ -70,14 +70,14 @@ export class CreateBackupSelectionCommand extends $Command< private serialize( input: CreateBackupSelectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateBackupSelectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateBackupSelectionCommand( output, diff --git a/clients/client-backup/commands/CreateBackupVaultCommand.ts b/clients/client-backup/commands/CreateBackupVaultCommand.ts index fd7ca1c1e21e..7890aa692d68 100644 --- a/clients/client-backup/commands/CreateBackupVaultCommand.ts +++ b/clients/client-backup/commands/CreateBackupVaultCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBackupVaultCommandInput = CreateBackupVaultInput; @@ -67,14 +67,14 @@ export class CreateBackupVaultCommand extends $Command< private serialize( input: CreateBackupVaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateBackupVaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateBackupVaultCommand(output, context); } diff --git a/clients/client-backup/commands/DeleteBackupPlanCommand.ts b/clients/client-backup/commands/DeleteBackupPlanCommand.ts index 645dd5e05a91..e6b8613afbb5 100644 --- a/clients/client-backup/commands/DeleteBackupPlanCommand.ts +++ b/clients/client-backup/commands/DeleteBackupPlanCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBackupPlanCommandInput = DeleteBackupPlanInput; @@ -64,14 +64,14 @@ export class DeleteBackupPlanCommand extends $Command< private serialize( input: DeleteBackupPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBackupPlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBackupPlanCommand(output, context); } diff --git a/clients/client-backup/commands/DeleteBackupSelectionCommand.ts b/clients/client-backup/commands/DeleteBackupSelectionCommand.ts index ec612546e729..a739cd9b27f7 100644 --- a/clients/client-backup/commands/DeleteBackupSelectionCommand.ts +++ b/clients/client-backup/commands/DeleteBackupSelectionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBackupSelectionCommandInput = DeleteBackupSelectionInput; @@ -68,14 +68,14 @@ export class DeleteBackupSelectionCommand extends $Command< private serialize( input: DeleteBackupSelectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBackupSelectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBackupSelectionCommand( output, diff --git a/clients/client-backup/commands/DeleteBackupVaultAccessPolicyCommand.ts b/clients/client-backup/commands/DeleteBackupVaultAccessPolicyCommand.ts index c8c2c4de7324..87f2ea72e84f 100644 --- a/clients/client-backup/commands/DeleteBackupVaultAccessPolicyCommand.ts +++ b/clients/client-backup/commands/DeleteBackupVaultAccessPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBackupVaultAccessPolicyCommandInput = DeleteBackupVaultAccessPolicyInput; @@ -68,7 +68,7 @@ export class DeleteBackupVaultAccessPolicyCommand extends $Command< private serialize( input: DeleteBackupVaultAccessPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBackupVaultAccessPolicyCommand( input, @@ -78,7 +78,7 @@ export class DeleteBackupVaultAccessPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBackupVaultAccessPolicyCommand( output, diff --git a/clients/client-backup/commands/DeleteBackupVaultCommand.ts b/clients/client-backup/commands/DeleteBackupVaultCommand.ts index 56c72f06c602..9beb99a09e5e 100644 --- a/clients/client-backup/commands/DeleteBackupVaultCommand.ts +++ b/clients/client-backup/commands/DeleteBackupVaultCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBackupVaultCommandInput = DeleteBackupVaultInput; @@ -65,14 +65,14 @@ export class DeleteBackupVaultCommand extends $Command< private serialize( input: DeleteBackupVaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBackupVaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBackupVaultCommand(output, context); } diff --git a/clients/client-backup/commands/DeleteBackupVaultNotificationsCommand.ts b/clients/client-backup/commands/DeleteBackupVaultNotificationsCommand.ts index 190b5617aa8b..1e2117d7d60b 100644 --- a/clients/client-backup/commands/DeleteBackupVaultNotificationsCommand.ts +++ b/clients/client-backup/commands/DeleteBackupVaultNotificationsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBackupVaultNotificationsCommandInput = DeleteBackupVaultNotificationsInput; @@ -68,7 +68,7 @@ export class DeleteBackupVaultNotificationsCommand extends $Command< private serialize( input: DeleteBackupVaultNotificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBackupVaultNotificationsCommand( input, @@ -78,7 +78,7 @@ export class DeleteBackupVaultNotificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBackupVaultNotificationsCommand( output, diff --git a/clients/client-backup/commands/DeleteRecoveryPointCommand.ts b/clients/client-backup/commands/DeleteRecoveryPointCommand.ts index 8f1bbe2df730..59efd9473d2e 100644 --- a/clients/client-backup/commands/DeleteRecoveryPointCommand.ts +++ b/clients/client-backup/commands/DeleteRecoveryPointCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRecoveryPointCommandInput = DeleteRecoveryPointInput; @@ -68,14 +68,14 @@ export class DeleteRecoveryPointCommand extends $Command< private serialize( input: DeleteRecoveryPointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRecoveryPointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRecoveryPointCommand( output, diff --git a/clients/client-backup/commands/DescribeBackupJobCommand.ts b/clients/client-backup/commands/DescribeBackupJobCommand.ts index b2da784a9983..532a7d125c8a 100644 --- a/clients/client-backup/commands/DescribeBackupJobCommand.ts +++ b/clients/client-backup/commands/DescribeBackupJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBackupJobCommandInput = DescribeBackupJobInput; @@ -67,14 +67,14 @@ export class DescribeBackupJobCommand extends $Command< private serialize( input: DescribeBackupJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeBackupJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeBackupJobCommand(output, context); } diff --git a/clients/client-backup/commands/DescribeBackupVaultCommand.ts b/clients/client-backup/commands/DescribeBackupVaultCommand.ts index 465a304e99cf..bfec9834c5d9 100644 --- a/clients/client-backup/commands/DescribeBackupVaultCommand.ts +++ b/clients/client-backup/commands/DescribeBackupVaultCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBackupVaultCommandInput = DescribeBackupVaultInput; @@ -70,14 +70,14 @@ export class DescribeBackupVaultCommand extends $Command< private serialize( input: DescribeBackupVaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeBackupVaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeBackupVaultCommand( output, diff --git a/clients/client-backup/commands/DescribeCopyJobCommand.ts b/clients/client-backup/commands/DescribeCopyJobCommand.ts index 0c9ada1b27d8..661e19d3a000 100644 --- a/clients/client-backup/commands/DescribeCopyJobCommand.ts +++ b/clients/client-backup/commands/DescribeCopyJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCopyJobCommandInput = DescribeCopyJobInput; @@ -64,14 +64,14 @@ export class DescribeCopyJobCommand extends $Command< private serialize( input: DescribeCopyJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeCopyJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeCopyJobCommand(output, context); } diff --git a/clients/client-backup/commands/DescribeProtectedResourceCommand.ts b/clients/client-backup/commands/DescribeProtectedResourceCommand.ts index b94854322f62..4a8355da289c 100644 --- a/clients/client-backup/commands/DescribeProtectedResourceCommand.ts +++ b/clients/client-backup/commands/DescribeProtectedResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProtectedResourceCommandInput = DescribeProtectedResourceInput; @@ -70,7 +70,7 @@ export class DescribeProtectedResourceCommand extends $Command< private serialize( input: DescribeProtectedResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeProtectedResourceCommand( input, @@ -80,7 +80,7 @@ export class DescribeProtectedResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeProtectedResourceCommand( output, diff --git a/clients/client-backup/commands/DescribeRecoveryPointCommand.ts b/clients/client-backup/commands/DescribeRecoveryPointCommand.ts index d67f4a152a44..9728f0649894 100644 --- a/clients/client-backup/commands/DescribeRecoveryPointCommand.ts +++ b/clients/client-backup/commands/DescribeRecoveryPointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRecoveryPointCommandInput = DescribeRecoveryPointInput; @@ -70,14 +70,14 @@ export class DescribeRecoveryPointCommand extends $Command< private serialize( input: DescribeRecoveryPointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeRecoveryPointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeRecoveryPointCommand( output, diff --git a/clients/client-backup/commands/DescribeRestoreJobCommand.ts b/clients/client-backup/commands/DescribeRestoreJobCommand.ts index d03c405d6047..f15cf3239f9f 100644 --- a/clients/client-backup/commands/DescribeRestoreJobCommand.ts +++ b/clients/client-backup/commands/DescribeRestoreJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRestoreJobCommandInput = DescribeRestoreJobInput; @@ -67,14 +67,14 @@ export class DescribeRestoreJobCommand extends $Command< private serialize( input: DescribeRestoreJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeRestoreJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeRestoreJobCommand(output, context); } diff --git a/clients/client-backup/commands/ExportBackupPlanTemplateCommand.ts b/clients/client-backup/commands/ExportBackupPlanTemplateCommand.ts index 7ad2fa487331..aee3d168ca6a 100644 --- a/clients/client-backup/commands/ExportBackupPlanTemplateCommand.ts +++ b/clients/client-backup/commands/ExportBackupPlanTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportBackupPlanTemplateCommandInput = ExportBackupPlanTemplateInput; @@ -70,7 +70,7 @@ export class ExportBackupPlanTemplateCommand extends $Command< private serialize( input: ExportBackupPlanTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ExportBackupPlanTemplateCommand( input, @@ -80,7 +80,7 @@ export class ExportBackupPlanTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ExportBackupPlanTemplateCommand( output, diff --git a/clients/client-backup/commands/GetBackupPlanCommand.ts b/clients/client-backup/commands/GetBackupPlanCommand.ts index c73ae6f6f5dd..ca42bef18bcc 100644 --- a/clients/client-backup/commands/GetBackupPlanCommand.ts +++ b/clients/client-backup/commands/GetBackupPlanCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBackupPlanCommandInput = GetBackupPlanInput; @@ -64,14 +64,14 @@ export class GetBackupPlanCommand extends $Command< private serialize( input: GetBackupPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBackupPlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBackupPlanCommand(output, context); } diff --git a/clients/client-backup/commands/GetBackupPlanFromJSONCommand.ts b/clients/client-backup/commands/GetBackupPlanFromJSONCommand.ts index c372b77370d5..09bc97c8a102 100644 --- a/clients/client-backup/commands/GetBackupPlanFromJSONCommand.ts +++ b/clients/client-backup/commands/GetBackupPlanFromJSONCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBackupPlanFromJSONCommandInput = GetBackupPlanFromJSONInput; @@ -70,14 +70,14 @@ export class GetBackupPlanFromJSONCommand extends $Command< private serialize( input: GetBackupPlanFromJSONCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBackupPlanFromJSONCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBackupPlanFromJSONCommand( output, diff --git a/clients/client-backup/commands/GetBackupPlanFromTemplateCommand.ts b/clients/client-backup/commands/GetBackupPlanFromTemplateCommand.ts index 17f57ddb00ed..c648f83e5e25 100644 --- a/clients/client-backup/commands/GetBackupPlanFromTemplateCommand.ts +++ b/clients/client-backup/commands/GetBackupPlanFromTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBackupPlanFromTemplateCommandInput = GetBackupPlanFromTemplateInput; @@ -70,7 +70,7 @@ export class GetBackupPlanFromTemplateCommand extends $Command< private serialize( input: GetBackupPlanFromTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBackupPlanFromTemplateCommand( input, @@ -80,7 +80,7 @@ export class GetBackupPlanFromTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBackupPlanFromTemplateCommand( output, diff --git a/clients/client-backup/commands/GetBackupSelectionCommand.ts b/clients/client-backup/commands/GetBackupSelectionCommand.ts index 4f555633de5d..80ac34e7f188 100644 --- a/clients/client-backup/commands/GetBackupSelectionCommand.ts +++ b/clients/client-backup/commands/GetBackupSelectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBackupSelectionCommandInput = GetBackupSelectionInput; @@ -67,14 +67,14 @@ export class GetBackupSelectionCommand extends $Command< private serialize( input: GetBackupSelectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBackupSelectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBackupSelectionCommand(output, context); } diff --git a/clients/client-backup/commands/GetBackupVaultAccessPolicyCommand.ts b/clients/client-backup/commands/GetBackupVaultAccessPolicyCommand.ts index e9d1338029dc..50d581268b95 100644 --- a/clients/client-backup/commands/GetBackupVaultAccessPolicyCommand.ts +++ b/clients/client-backup/commands/GetBackupVaultAccessPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBackupVaultAccessPolicyCommandInput = GetBackupVaultAccessPolicyInput; @@ -70,7 +70,7 @@ export class GetBackupVaultAccessPolicyCommand extends $Command< private serialize( input: GetBackupVaultAccessPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBackupVaultAccessPolicyCommand( input, @@ -80,7 +80,7 @@ export class GetBackupVaultAccessPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBackupVaultAccessPolicyCommand( output, diff --git a/clients/client-backup/commands/GetBackupVaultNotificationsCommand.ts b/clients/client-backup/commands/GetBackupVaultNotificationsCommand.ts index 0c9838edc710..d8cb46f54445 100644 --- a/clients/client-backup/commands/GetBackupVaultNotificationsCommand.ts +++ b/clients/client-backup/commands/GetBackupVaultNotificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBackupVaultNotificationsCommandInput = GetBackupVaultNotificationsInput; @@ -70,7 +70,7 @@ export class GetBackupVaultNotificationsCommand extends $Command< private serialize( input: GetBackupVaultNotificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBackupVaultNotificationsCommand( input, @@ -80,7 +80,7 @@ export class GetBackupVaultNotificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBackupVaultNotificationsCommand( output, diff --git a/clients/client-backup/commands/GetRecoveryPointRestoreMetadataCommand.ts b/clients/client-backup/commands/GetRecoveryPointRestoreMetadataCommand.ts index 11e653832131..091f70a6dbca 100644 --- a/clients/client-backup/commands/GetRecoveryPointRestoreMetadataCommand.ts +++ b/clients/client-backup/commands/GetRecoveryPointRestoreMetadataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRecoveryPointRestoreMetadataCommandInput = GetRecoveryPointRestoreMetadataInput; @@ -70,7 +70,7 @@ export class GetRecoveryPointRestoreMetadataCommand extends $Command< private serialize( input: GetRecoveryPointRestoreMetadataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRecoveryPointRestoreMetadataCommand( input, @@ -80,7 +80,7 @@ export class GetRecoveryPointRestoreMetadataCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRecoveryPointRestoreMetadataCommand( output, diff --git a/clients/client-backup/commands/GetSupportedResourceTypesCommand.ts b/clients/client-backup/commands/GetSupportedResourceTypesCommand.ts index 32b1425428b7..063f51bc0922 100644 --- a/clients/client-backup/commands/GetSupportedResourceTypesCommand.ts +++ b/clients/client-backup/commands/GetSupportedResourceTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSupportedResourceTypesCommandInput = {}; @@ -67,7 +67,7 @@ export class GetSupportedResourceTypesCommand extends $Command< private serialize( input: GetSupportedResourceTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSupportedResourceTypesCommand( input, @@ -77,7 +77,7 @@ export class GetSupportedResourceTypesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSupportedResourceTypesCommand( output, diff --git a/clients/client-backup/commands/ListBackupJobsCommand.ts b/clients/client-backup/commands/ListBackupJobsCommand.ts index c39e570b5287..15f5c2bd6203 100644 --- a/clients/client-backup/commands/ListBackupJobsCommand.ts +++ b/clients/client-backup/commands/ListBackupJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBackupJobsCommandInput = ListBackupJobsInput; @@ -64,14 +64,14 @@ export class ListBackupJobsCommand extends $Command< private serialize( input: ListBackupJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBackupJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBackupJobsCommand(output, context); } diff --git a/clients/client-backup/commands/ListBackupPlanTemplatesCommand.ts b/clients/client-backup/commands/ListBackupPlanTemplatesCommand.ts index 59742e616867..c1dfa7275650 100644 --- a/clients/client-backup/commands/ListBackupPlanTemplatesCommand.ts +++ b/clients/client-backup/commands/ListBackupPlanTemplatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBackupPlanTemplatesCommandInput = ListBackupPlanTemplatesInput; @@ -70,7 +70,7 @@ export class ListBackupPlanTemplatesCommand extends $Command< private serialize( input: ListBackupPlanTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBackupPlanTemplatesCommand( input, @@ -80,7 +80,7 @@ export class ListBackupPlanTemplatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBackupPlanTemplatesCommand( output, diff --git a/clients/client-backup/commands/ListBackupPlanVersionsCommand.ts b/clients/client-backup/commands/ListBackupPlanVersionsCommand.ts index d11b788cfb59..0185bcd135bc 100644 --- a/clients/client-backup/commands/ListBackupPlanVersionsCommand.ts +++ b/clients/client-backup/commands/ListBackupPlanVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBackupPlanVersionsCommandInput = ListBackupPlanVersionsInput; @@ -70,7 +70,7 @@ export class ListBackupPlanVersionsCommand extends $Command< private serialize( input: ListBackupPlanVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBackupPlanVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListBackupPlanVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBackupPlanVersionsCommand( output, diff --git a/clients/client-backup/commands/ListBackupPlansCommand.ts b/clients/client-backup/commands/ListBackupPlansCommand.ts index 9f9f5a8bc853..b29a2f62e126 100644 --- a/clients/client-backup/commands/ListBackupPlansCommand.ts +++ b/clients/client-backup/commands/ListBackupPlansCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBackupPlansCommandInput = ListBackupPlansInput; @@ -64,14 +64,14 @@ export class ListBackupPlansCommand extends $Command< private serialize( input: ListBackupPlansCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBackupPlansCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBackupPlansCommand(output, context); } diff --git a/clients/client-backup/commands/ListBackupSelectionsCommand.ts b/clients/client-backup/commands/ListBackupSelectionsCommand.ts index d6e57e5846f4..7ba78eac0689 100644 --- a/clients/client-backup/commands/ListBackupSelectionsCommand.ts +++ b/clients/client-backup/commands/ListBackupSelectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBackupSelectionsCommandInput = ListBackupSelectionsInput; @@ -70,14 +70,14 @@ export class ListBackupSelectionsCommand extends $Command< private serialize( input: ListBackupSelectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBackupSelectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBackupSelectionsCommand( output, diff --git a/clients/client-backup/commands/ListBackupVaultsCommand.ts b/clients/client-backup/commands/ListBackupVaultsCommand.ts index 101ce342e02c..3ce524902a81 100644 --- a/clients/client-backup/commands/ListBackupVaultsCommand.ts +++ b/clients/client-backup/commands/ListBackupVaultsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBackupVaultsCommandInput = ListBackupVaultsInput; @@ -64,14 +64,14 @@ export class ListBackupVaultsCommand extends $Command< private serialize( input: ListBackupVaultsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBackupVaultsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBackupVaultsCommand(output, context); } diff --git a/clients/client-backup/commands/ListCopyJobsCommand.ts b/clients/client-backup/commands/ListCopyJobsCommand.ts index b494fb73ced8..f9f81b180bed 100644 --- a/clients/client-backup/commands/ListCopyJobsCommand.ts +++ b/clients/client-backup/commands/ListCopyJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCopyJobsCommandInput = ListCopyJobsInput; @@ -64,14 +64,14 @@ export class ListCopyJobsCommand extends $Command< private serialize( input: ListCopyJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListCopyJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListCopyJobsCommand(output, context); } diff --git a/clients/client-backup/commands/ListProtectedResourcesCommand.ts b/clients/client-backup/commands/ListProtectedResourcesCommand.ts index 4f6213404218..59ca941095d3 100644 --- a/clients/client-backup/commands/ListProtectedResourcesCommand.ts +++ b/clients/client-backup/commands/ListProtectedResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProtectedResourcesCommandInput = ListProtectedResourcesInput; @@ -70,7 +70,7 @@ export class ListProtectedResourcesCommand extends $Command< private serialize( input: ListProtectedResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListProtectedResourcesCommand( input, @@ -80,7 +80,7 @@ export class ListProtectedResourcesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListProtectedResourcesCommand( output, diff --git a/clients/client-backup/commands/ListRecoveryPointsByBackupVaultCommand.ts b/clients/client-backup/commands/ListRecoveryPointsByBackupVaultCommand.ts index f69cf07d34aa..c630d573bc27 100644 --- a/clients/client-backup/commands/ListRecoveryPointsByBackupVaultCommand.ts +++ b/clients/client-backup/commands/ListRecoveryPointsByBackupVaultCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRecoveryPointsByBackupVaultCommandInput = ListRecoveryPointsByBackupVaultInput; @@ -70,7 +70,7 @@ export class ListRecoveryPointsByBackupVaultCommand extends $Command< private serialize( input: ListRecoveryPointsByBackupVaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRecoveryPointsByBackupVaultCommand( input, @@ -80,7 +80,7 @@ export class ListRecoveryPointsByBackupVaultCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRecoveryPointsByBackupVaultCommand( output, diff --git a/clients/client-backup/commands/ListRecoveryPointsByResourceCommand.ts b/clients/client-backup/commands/ListRecoveryPointsByResourceCommand.ts index 704ee8eb1be8..bcfb183ee0a5 100644 --- a/clients/client-backup/commands/ListRecoveryPointsByResourceCommand.ts +++ b/clients/client-backup/commands/ListRecoveryPointsByResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRecoveryPointsByResourceCommandInput = ListRecoveryPointsByResourceInput; @@ -70,7 +70,7 @@ export class ListRecoveryPointsByResourceCommand extends $Command< private serialize( input: ListRecoveryPointsByResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRecoveryPointsByResourceCommand( input, @@ -80,7 +80,7 @@ export class ListRecoveryPointsByResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRecoveryPointsByResourceCommand( output, diff --git a/clients/client-backup/commands/ListRestoreJobsCommand.ts b/clients/client-backup/commands/ListRestoreJobsCommand.ts index 6e3f467d89ca..cbdd94b32afb 100644 --- a/clients/client-backup/commands/ListRestoreJobsCommand.ts +++ b/clients/client-backup/commands/ListRestoreJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRestoreJobsCommandInput = ListRestoreJobsInput; @@ -64,14 +64,14 @@ export class ListRestoreJobsCommand extends $Command< private serialize( input: ListRestoreJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRestoreJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRestoreJobsCommand(output, context); } diff --git a/clients/client-backup/commands/ListTagsCommand.ts b/clients/client-backup/commands/ListTagsCommand.ts index 07a5e4b9c120..e52ba4900c7e 100644 --- a/clients/client-backup/commands/ListTagsCommand.ts +++ b/clients/client-backup/commands/ListTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsCommandInput = ListTagsInput; @@ -64,14 +64,14 @@ export class ListTagsCommand extends $Command< private serialize( input: ListTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsCommand(output, context); } diff --git a/clients/client-backup/commands/PutBackupVaultAccessPolicyCommand.ts b/clients/client-backup/commands/PutBackupVaultAccessPolicyCommand.ts index fd4068ec4535..f5dcca3b666f 100644 --- a/clients/client-backup/commands/PutBackupVaultAccessPolicyCommand.ts +++ b/clients/client-backup/commands/PutBackupVaultAccessPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBackupVaultAccessPolicyCommandInput = PutBackupVaultAccessPolicyInput; @@ -68,7 +68,7 @@ export class PutBackupVaultAccessPolicyCommand extends $Command< private serialize( input: PutBackupVaultAccessPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutBackupVaultAccessPolicyCommand( input, @@ -78,7 +78,7 @@ export class PutBackupVaultAccessPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutBackupVaultAccessPolicyCommand( output, diff --git a/clients/client-backup/commands/PutBackupVaultNotificationsCommand.ts b/clients/client-backup/commands/PutBackupVaultNotificationsCommand.ts index a603378a0221..1bdf3a873be6 100644 --- a/clients/client-backup/commands/PutBackupVaultNotificationsCommand.ts +++ b/clients/client-backup/commands/PutBackupVaultNotificationsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBackupVaultNotificationsCommandInput = PutBackupVaultNotificationsInput; @@ -68,7 +68,7 @@ export class PutBackupVaultNotificationsCommand extends $Command< private serialize( input: PutBackupVaultNotificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutBackupVaultNotificationsCommand( input, @@ -78,7 +78,7 @@ export class PutBackupVaultNotificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutBackupVaultNotificationsCommand( output, diff --git a/clients/client-backup/commands/StartBackupJobCommand.ts b/clients/client-backup/commands/StartBackupJobCommand.ts index 20df28cd7c8a..b1dca9fb6fb3 100644 --- a/clients/client-backup/commands/StartBackupJobCommand.ts +++ b/clients/client-backup/commands/StartBackupJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartBackupJobCommandInput = StartBackupJobInput; @@ -64,14 +64,14 @@ export class StartBackupJobCommand extends $Command< private serialize( input: StartBackupJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartBackupJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartBackupJobCommand(output, context); } diff --git a/clients/client-backup/commands/StartCopyJobCommand.ts b/clients/client-backup/commands/StartCopyJobCommand.ts index b0c496b7b688..8d53bf37e68c 100644 --- a/clients/client-backup/commands/StartCopyJobCommand.ts +++ b/clients/client-backup/commands/StartCopyJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartCopyJobCommandInput = StartCopyJobInput; @@ -64,14 +64,14 @@ export class StartCopyJobCommand extends $Command< private serialize( input: StartCopyJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartCopyJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartCopyJobCommand(output, context); } diff --git a/clients/client-backup/commands/StartRestoreJobCommand.ts b/clients/client-backup/commands/StartRestoreJobCommand.ts index dbafef17eda8..1f6c1ffcb499 100644 --- a/clients/client-backup/commands/StartRestoreJobCommand.ts +++ b/clients/client-backup/commands/StartRestoreJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartRestoreJobCommandInput = StartRestoreJobInput; @@ -64,14 +64,14 @@ export class StartRestoreJobCommand extends $Command< private serialize( input: StartRestoreJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartRestoreJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartRestoreJobCommand(output, context); } diff --git a/clients/client-backup/commands/StopBackupJobCommand.ts b/clients/client-backup/commands/StopBackupJobCommand.ts index 4175253a445e..17163b41f3f2 100644 --- a/clients/client-backup/commands/StopBackupJobCommand.ts +++ b/clients/client-backup/commands/StopBackupJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopBackupJobCommandInput = StopBackupJobInput; @@ -65,14 +65,14 @@ export class StopBackupJobCommand extends $Command< private serialize( input: StopBackupJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopBackupJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopBackupJobCommand(output, context); } diff --git a/clients/client-backup/commands/TagResourceCommand.ts b/clients/client-backup/commands/TagResourceCommand.ts index 4c26b287c3e9..e43ad977da71 100644 --- a/clients/client-backup/commands/TagResourceCommand.ts +++ b/clients/client-backup/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-backup/commands/UntagResourceCommand.ts b/clients/client-backup/commands/UntagResourceCommand.ts index 33227d8b982b..90ba275f93fd 100644 --- a/clients/client-backup/commands/UntagResourceCommand.ts +++ b/clients/client-backup/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-backup/commands/UpdateBackupPlanCommand.ts b/clients/client-backup/commands/UpdateBackupPlanCommand.ts index d384f4185fd4..bf21bb59c4e6 100644 --- a/clients/client-backup/commands/UpdateBackupPlanCommand.ts +++ b/clients/client-backup/commands/UpdateBackupPlanCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBackupPlanCommandInput = UpdateBackupPlanInput; @@ -64,14 +64,14 @@ export class UpdateBackupPlanCommand extends $Command< private serialize( input: UpdateBackupPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateBackupPlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateBackupPlanCommand(output, context); } diff --git a/clients/client-backup/commands/UpdateRecoveryPointLifecycleCommand.ts b/clients/client-backup/commands/UpdateRecoveryPointLifecycleCommand.ts index 21d98fd62a32..214c19176405 100644 --- a/clients/client-backup/commands/UpdateRecoveryPointLifecycleCommand.ts +++ b/clients/client-backup/commands/UpdateRecoveryPointLifecycleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRecoveryPointLifecycleCommandInput = UpdateRecoveryPointLifecycleInput; @@ -70,7 +70,7 @@ export class UpdateRecoveryPointLifecycleCommand extends $Command< private serialize( input: UpdateRecoveryPointLifecycleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRecoveryPointLifecycleCommand( input, @@ -80,7 +80,7 @@ export class UpdateRecoveryPointLifecycleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRecoveryPointLifecycleCommand( output, diff --git a/clients/client-backup/protocols/Aws_restJson1_1.ts b/clients/client-backup/protocols/Aws_restJson1_1.ts index e43eb7b2ee0f..1bed68f00370 100644 --- a/clients/client-backup/protocols/Aws_restJson1_1.ts +++ b/clients/client-backup/protocols/Aws_restJson1_1.ts @@ -7401,6 +7401,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-batch/commands/CancelJobCommand.ts b/clients/client-batch/commands/CancelJobCommand.ts index 7309777a5d86..a5adf9614ebf 100644 --- a/clients/client-batch/commands/CancelJobCommand.ts +++ b/clients/client-batch/commands/CancelJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelJobCommandInput = CancelJobRequest; @@ -64,14 +64,14 @@ export class CancelJobCommand extends $Command< private serialize( input: CancelJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelJobCommand(output, context); } diff --git a/clients/client-batch/commands/CreateComputeEnvironmentCommand.ts b/clients/client-batch/commands/CreateComputeEnvironmentCommand.ts index 8226378ccd3d..766a6c9c74f7 100644 --- a/clients/client-batch/commands/CreateComputeEnvironmentCommand.ts +++ b/clients/client-batch/commands/CreateComputeEnvironmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateComputeEnvironmentCommandInput = CreateComputeEnvironmentRequest; @@ -70,7 +70,7 @@ export class CreateComputeEnvironmentCommand extends $Command< private serialize( input: CreateComputeEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateComputeEnvironmentCommand( input, @@ -80,7 +80,7 @@ export class CreateComputeEnvironmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateComputeEnvironmentCommand( output, diff --git a/clients/client-batch/commands/CreateJobQueueCommand.ts b/clients/client-batch/commands/CreateJobQueueCommand.ts index 2bcb1e10b0a2..272eff84772b 100644 --- a/clients/client-batch/commands/CreateJobQueueCommand.ts +++ b/clients/client-batch/commands/CreateJobQueueCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateJobQueueCommandInput = CreateJobQueueRequest; @@ -64,14 +64,14 @@ export class CreateJobQueueCommand extends $Command< private serialize( input: CreateJobQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateJobQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateJobQueueCommand(output, context); } diff --git a/clients/client-batch/commands/DeleteComputeEnvironmentCommand.ts b/clients/client-batch/commands/DeleteComputeEnvironmentCommand.ts index 65535e990e8c..971937a860de 100644 --- a/clients/client-batch/commands/DeleteComputeEnvironmentCommand.ts +++ b/clients/client-batch/commands/DeleteComputeEnvironmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteComputeEnvironmentCommandInput = DeleteComputeEnvironmentRequest; @@ -70,7 +70,7 @@ export class DeleteComputeEnvironmentCommand extends $Command< private serialize( input: DeleteComputeEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteComputeEnvironmentCommand( input, @@ -80,7 +80,7 @@ export class DeleteComputeEnvironmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteComputeEnvironmentCommand( output, diff --git a/clients/client-batch/commands/DeleteJobQueueCommand.ts b/clients/client-batch/commands/DeleteJobQueueCommand.ts index 91dc56fd28b6..f903b2b8e80f 100644 --- a/clients/client-batch/commands/DeleteJobQueueCommand.ts +++ b/clients/client-batch/commands/DeleteJobQueueCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteJobQueueCommandInput = DeleteJobQueueRequest; @@ -64,14 +64,14 @@ export class DeleteJobQueueCommand extends $Command< private serialize( input: DeleteJobQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteJobQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteJobQueueCommand(output, context); } diff --git a/clients/client-batch/commands/DeregisterJobDefinitionCommand.ts b/clients/client-batch/commands/DeregisterJobDefinitionCommand.ts index da83c6529a2b..488f1c5c82d8 100644 --- a/clients/client-batch/commands/DeregisterJobDefinitionCommand.ts +++ b/clients/client-batch/commands/DeregisterJobDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterJobDefinitionCommandInput = DeregisterJobDefinitionRequest; @@ -70,7 +70,7 @@ export class DeregisterJobDefinitionCommand extends $Command< private serialize( input: DeregisterJobDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeregisterJobDefinitionCommand( input, @@ -80,7 +80,7 @@ export class DeregisterJobDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeregisterJobDefinitionCommand( output, diff --git a/clients/client-batch/commands/DescribeComputeEnvironmentsCommand.ts b/clients/client-batch/commands/DescribeComputeEnvironmentsCommand.ts index 9c4ec57e5d2a..e5a359229c18 100644 --- a/clients/client-batch/commands/DescribeComputeEnvironmentsCommand.ts +++ b/clients/client-batch/commands/DescribeComputeEnvironmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeComputeEnvironmentsCommandInput = DescribeComputeEnvironmentsRequest; @@ -70,7 +70,7 @@ export class DescribeComputeEnvironmentsCommand extends $Command< private serialize( input: DescribeComputeEnvironmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeComputeEnvironmentsCommand( input, @@ -80,7 +80,7 @@ export class DescribeComputeEnvironmentsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeComputeEnvironmentsCommand( output, diff --git a/clients/client-batch/commands/DescribeJobDefinitionsCommand.ts b/clients/client-batch/commands/DescribeJobDefinitionsCommand.ts index 7a7ba2c3873e..467387917001 100644 --- a/clients/client-batch/commands/DescribeJobDefinitionsCommand.ts +++ b/clients/client-batch/commands/DescribeJobDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeJobDefinitionsCommandInput = DescribeJobDefinitionsRequest; @@ -70,7 +70,7 @@ export class DescribeJobDefinitionsCommand extends $Command< private serialize( input: DescribeJobDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeJobDefinitionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeJobDefinitionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeJobDefinitionsCommand( output, diff --git a/clients/client-batch/commands/DescribeJobQueuesCommand.ts b/clients/client-batch/commands/DescribeJobQueuesCommand.ts index d19bffd3f8c7..bd602253caca 100644 --- a/clients/client-batch/commands/DescribeJobQueuesCommand.ts +++ b/clients/client-batch/commands/DescribeJobQueuesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeJobQueuesCommandInput = DescribeJobQueuesRequest; @@ -67,14 +67,14 @@ export class DescribeJobQueuesCommand extends $Command< private serialize( input: DescribeJobQueuesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeJobQueuesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeJobQueuesCommand(output, context); } diff --git a/clients/client-batch/commands/DescribeJobsCommand.ts b/clients/client-batch/commands/DescribeJobsCommand.ts index daebddc41b04..ea400618d49c 100644 --- a/clients/client-batch/commands/DescribeJobsCommand.ts +++ b/clients/client-batch/commands/DescribeJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeJobsCommandInput = DescribeJobsRequest; @@ -64,14 +64,14 @@ export class DescribeJobsCommand extends $Command< private serialize( input: DescribeJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeJobsCommand(output, context); } diff --git a/clients/client-batch/commands/ListJobsCommand.ts b/clients/client-batch/commands/ListJobsCommand.ts index 8cbf869bd976..35f1208fbcd1 100644 --- a/clients/client-batch/commands/ListJobsCommand.ts +++ b/clients/client-batch/commands/ListJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsCommandInput = ListJobsRequest; @@ -64,14 +64,14 @@ export class ListJobsCommand extends $Command< private serialize( input: ListJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJobsCommand(output, context); } diff --git a/clients/client-batch/commands/RegisterJobDefinitionCommand.ts b/clients/client-batch/commands/RegisterJobDefinitionCommand.ts index c2a7d15e2e09..fefd17cac7df 100644 --- a/clients/client-batch/commands/RegisterJobDefinitionCommand.ts +++ b/clients/client-batch/commands/RegisterJobDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterJobDefinitionCommandInput = RegisterJobDefinitionRequest; @@ -70,14 +70,14 @@ export class RegisterJobDefinitionCommand extends $Command< private serialize( input: RegisterJobDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RegisterJobDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RegisterJobDefinitionCommand( output, diff --git a/clients/client-batch/commands/SubmitJobCommand.ts b/clients/client-batch/commands/SubmitJobCommand.ts index 0fe57b46831f..de7cd4735346 100644 --- a/clients/client-batch/commands/SubmitJobCommand.ts +++ b/clients/client-batch/commands/SubmitJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SubmitJobCommandInput = SubmitJobRequest; @@ -64,14 +64,14 @@ export class SubmitJobCommand extends $Command< private serialize( input: SubmitJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SubmitJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SubmitJobCommand(output, context); } diff --git a/clients/client-batch/commands/TerminateJobCommand.ts b/clients/client-batch/commands/TerminateJobCommand.ts index b3492feedc27..209adc882de6 100644 --- a/clients/client-batch/commands/TerminateJobCommand.ts +++ b/clients/client-batch/commands/TerminateJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TerminateJobCommandInput = TerminateJobRequest; @@ -64,14 +64,14 @@ export class TerminateJobCommand extends $Command< private serialize( input: TerminateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TerminateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TerminateJobCommand(output, context); } diff --git a/clients/client-batch/commands/UpdateComputeEnvironmentCommand.ts b/clients/client-batch/commands/UpdateComputeEnvironmentCommand.ts index b313ed7bef9c..084bd0009b41 100644 --- a/clients/client-batch/commands/UpdateComputeEnvironmentCommand.ts +++ b/clients/client-batch/commands/UpdateComputeEnvironmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateComputeEnvironmentCommandInput = UpdateComputeEnvironmentRequest; @@ -70,7 +70,7 @@ export class UpdateComputeEnvironmentCommand extends $Command< private serialize( input: UpdateComputeEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateComputeEnvironmentCommand( input, @@ -80,7 +80,7 @@ export class UpdateComputeEnvironmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateComputeEnvironmentCommand( output, diff --git a/clients/client-batch/commands/UpdateJobQueueCommand.ts b/clients/client-batch/commands/UpdateJobQueueCommand.ts index b4d27b0587a6..f12aee870c1c 100644 --- a/clients/client-batch/commands/UpdateJobQueueCommand.ts +++ b/clients/client-batch/commands/UpdateJobQueueCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateJobQueueCommandInput = UpdateJobQueueRequest; @@ -64,14 +64,14 @@ export class UpdateJobQueueCommand extends $Command< private serialize( input: UpdateJobQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateJobQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateJobQueueCommand(output, context); } diff --git a/clients/client-batch/protocols/Aws_restJson1_1.ts b/clients/client-batch/protocols/Aws_restJson1_1.ts index b0e652cd0ab5..fbdd8ab5cb4f 100644 --- a/clients/client-batch/protocols/Aws_restJson1_1.ts +++ b/clients/client-batch/protocols/Aws_restJson1_1.ts @@ -3729,6 +3729,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-budgets/commands/CreateBudgetCommand.ts b/clients/client-budgets/commands/CreateBudgetCommand.ts index ef5629ee584b..a44679686c53 100644 --- a/clients/client-budgets/commands/CreateBudgetCommand.ts +++ b/clients/client-budgets/commands/CreateBudgetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBudgetCommandInput = CreateBudgetRequest; @@ -64,14 +64,14 @@ export class CreateBudgetCommand extends $Command< private serialize( input: CreateBudgetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateBudgetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateBudgetCommand(output, context); } diff --git a/clients/client-budgets/commands/CreateNotificationCommand.ts b/clients/client-budgets/commands/CreateNotificationCommand.ts index 55f9d8172278..1269d9b9c6ee 100644 --- a/clients/client-budgets/commands/CreateNotificationCommand.ts +++ b/clients/client-budgets/commands/CreateNotificationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNotificationCommandInput = CreateNotificationRequest; @@ -67,14 +67,14 @@ export class CreateNotificationCommand extends $Command< private serialize( input: CreateNotificationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateNotificationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateNotificationCommand(output, context); } diff --git a/clients/client-budgets/commands/CreateSubscriberCommand.ts b/clients/client-budgets/commands/CreateSubscriberCommand.ts index 964349fff8c3..d6eb20f45db0 100644 --- a/clients/client-budgets/commands/CreateSubscriberCommand.ts +++ b/clients/client-budgets/commands/CreateSubscriberCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSubscriberCommandInput = CreateSubscriberRequest; @@ -67,14 +67,14 @@ export class CreateSubscriberCommand extends $Command< private serialize( input: CreateSubscriberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSubscriberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSubscriberCommand(output, context); } diff --git a/clients/client-budgets/commands/DeleteBudgetCommand.ts b/clients/client-budgets/commands/DeleteBudgetCommand.ts index f59f09c8b215..3b2117717846 100644 --- a/clients/client-budgets/commands/DeleteBudgetCommand.ts +++ b/clients/client-budgets/commands/DeleteBudgetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBudgetCommandInput = DeleteBudgetRequest; @@ -64,14 +64,14 @@ export class DeleteBudgetCommand extends $Command< private serialize( input: DeleteBudgetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteBudgetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteBudgetCommand(output, context); } diff --git a/clients/client-budgets/commands/DeleteNotificationCommand.ts b/clients/client-budgets/commands/DeleteNotificationCommand.ts index 88df7d9e4b03..9a944b3dbdaf 100644 --- a/clients/client-budgets/commands/DeleteNotificationCommand.ts +++ b/clients/client-budgets/commands/DeleteNotificationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNotificationCommandInput = DeleteNotificationRequest; @@ -67,14 +67,14 @@ export class DeleteNotificationCommand extends $Command< private serialize( input: DeleteNotificationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteNotificationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteNotificationCommand(output, context); } diff --git a/clients/client-budgets/commands/DeleteSubscriberCommand.ts b/clients/client-budgets/commands/DeleteSubscriberCommand.ts index 7479653e5772..b6ddc79cd2b8 100644 --- a/clients/client-budgets/commands/DeleteSubscriberCommand.ts +++ b/clients/client-budgets/commands/DeleteSubscriberCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSubscriberCommandInput = DeleteSubscriberRequest; @@ -67,14 +67,14 @@ export class DeleteSubscriberCommand extends $Command< private serialize( input: DeleteSubscriberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSubscriberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSubscriberCommand(output, context); } diff --git a/clients/client-budgets/commands/DescribeBudgetCommand.ts b/clients/client-budgets/commands/DescribeBudgetCommand.ts index ec5428c0ea0b..6737bd41b10f 100644 --- a/clients/client-budgets/commands/DescribeBudgetCommand.ts +++ b/clients/client-budgets/commands/DescribeBudgetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBudgetCommandInput = DescribeBudgetRequest; @@ -64,14 +64,14 @@ export class DescribeBudgetCommand extends $Command< private serialize( input: DescribeBudgetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeBudgetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeBudgetCommand(output, context); } diff --git a/clients/client-budgets/commands/DescribeBudgetPerformanceHistoryCommand.ts b/clients/client-budgets/commands/DescribeBudgetPerformanceHistoryCommand.ts index c1b62a783301..49d0f54a8ec2 100644 --- a/clients/client-budgets/commands/DescribeBudgetPerformanceHistoryCommand.ts +++ b/clients/client-budgets/commands/DescribeBudgetPerformanceHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBudgetPerformanceHistoryCommandInput = DescribeBudgetPerformanceHistoryRequest; @@ -70,7 +70,7 @@ export class DescribeBudgetPerformanceHistoryCommand extends $Command< private serialize( input: DescribeBudgetPerformanceHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeBudgetPerformanceHistoryCommand( input, @@ -80,7 +80,7 @@ export class DescribeBudgetPerformanceHistoryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeBudgetPerformanceHistoryCommand( output, diff --git a/clients/client-budgets/commands/DescribeBudgetsCommand.ts b/clients/client-budgets/commands/DescribeBudgetsCommand.ts index 0e657bb4af65..5ca9efc3b723 100644 --- a/clients/client-budgets/commands/DescribeBudgetsCommand.ts +++ b/clients/client-budgets/commands/DescribeBudgetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBudgetsCommandInput = DescribeBudgetsRequest; @@ -67,14 +67,14 @@ export class DescribeBudgetsCommand extends $Command< private serialize( input: DescribeBudgetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeBudgetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeBudgetsCommand(output, context); } diff --git a/clients/client-budgets/commands/DescribeNotificationsForBudgetCommand.ts b/clients/client-budgets/commands/DescribeNotificationsForBudgetCommand.ts index b0e5faafbf08..515d509372b0 100644 --- a/clients/client-budgets/commands/DescribeNotificationsForBudgetCommand.ts +++ b/clients/client-budgets/commands/DescribeNotificationsForBudgetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNotificationsForBudgetCommandInput = DescribeNotificationsForBudgetRequest; @@ -70,7 +70,7 @@ export class DescribeNotificationsForBudgetCommand extends $Command< private serialize( input: DescribeNotificationsForBudgetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeNotificationsForBudgetCommand( input, @@ -80,7 +80,7 @@ export class DescribeNotificationsForBudgetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeNotificationsForBudgetCommand( output, diff --git a/clients/client-budgets/commands/DescribeSubscribersForNotificationCommand.ts b/clients/client-budgets/commands/DescribeSubscribersForNotificationCommand.ts index 6873b1e4860a..a4ab8dd03ca8 100644 --- a/clients/client-budgets/commands/DescribeSubscribersForNotificationCommand.ts +++ b/clients/client-budgets/commands/DescribeSubscribersForNotificationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSubscribersForNotificationCommandInput = DescribeSubscribersForNotificationRequest; @@ -70,7 +70,7 @@ export class DescribeSubscribersForNotificationCommand extends $Command< private serialize( input: DescribeSubscribersForNotificationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSubscribersForNotificationCommand( input, @@ -80,7 +80,7 @@ export class DescribeSubscribersForNotificationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSubscribersForNotificationCommand( output, diff --git a/clients/client-budgets/commands/UpdateBudgetCommand.ts b/clients/client-budgets/commands/UpdateBudgetCommand.ts index dec7fe34bbba..9cd7b357a8af 100644 --- a/clients/client-budgets/commands/UpdateBudgetCommand.ts +++ b/clients/client-budgets/commands/UpdateBudgetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBudgetCommandInput = UpdateBudgetRequest; @@ -64,14 +64,14 @@ export class UpdateBudgetCommand extends $Command< private serialize( input: UpdateBudgetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateBudgetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateBudgetCommand(output, context); } diff --git a/clients/client-budgets/commands/UpdateNotificationCommand.ts b/clients/client-budgets/commands/UpdateNotificationCommand.ts index 1e55b23257f4..6795f5df26ea 100644 --- a/clients/client-budgets/commands/UpdateNotificationCommand.ts +++ b/clients/client-budgets/commands/UpdateNotificationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateNotificationCommandInput = UpdateNotificationRequest; @@ -67,14 +67,14 @@ export class UpdateNotificationCommand extends $Command< private serialize( input: UpdateNotificationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateNotificationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateNotificationCommand(output, context); } diff --git a/clients/client-budgets/commands/UpdateSubscriberCommand.ts b/clients/client-budgets/commands/UpdateSubscriberCommand.ts index 9d3dcd3d9ff0..9f638882ff30 100644 --- a/clients/client-budgets/commands/UpdateSubscriberCommand.ts +++ b/clients/client-budgets/commands/UpdateSubscriberCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSubscriberCommandInput = UpdateSubscriberRequest; @@ -67,14 +67,14 @@ export class UpdateSubscriberCommand extends $Command< private serialize( input: UpdateSubscriberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSubscriberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSubscriberCommand(output, context); } diff --git a/clients/client-budgets/protocols/Aws_json1_1.ts b/clients/client-budgets/protocols/Aws_json1_1.ts index 69ab5da7ff30..8c24f9006f79 100644 --- a/clients/client-budgets/protocols/Aws_json1_1.ts +++ b/clients/client-budgets/protocols/Aws_json1_1.ts @@ -2946,6 +2946,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-chime/commands/AssociatePhoneNumberWithUserCommand.ts b/clients/client-chime/commands/AssociatePhoneNumberWithUserCommand.ts index 3cdbbd7fcba3..a66ca44a4d01 100644 --- a/clients/client-chime/commands/AssociatePhoneNumberWithUserCommand.ts +++ b/clients/client-chime/commands/AssociatePhoneNumberWithUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociatePhoneNumberWithUserCommandInput = AssociatePhoneNumberWithUserRequest; @@ -70,7 +70,7 @@ export class AssociatePhoneNumberWithUserCommand extends $Command< private serialize( input: AssociatePhoneNumberWithUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociatePhoneNumberWithUserCommand( input, @@ -80,7 +80,7 @@ export class AssociatePhoneNumberWithUserCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociatePhoneNumberWithUserCommand( output, diff --git a/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts b/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts index 1a2e11aeac27..359214cd42bf 100644 --- a/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociatePhoneNumbersWithVoiceConnectorCommandInput = AssociatePhoneNumbersWithVoiceConnectorRequest; @@ -72,7 +72,7 @@ export class AssociatePhoneNumbersWithVoiceConnectorCommand extends $Command< private serialize( input: AssociatePhoneNumbersWithVoiceConnectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociatePhoneNumbersWithVoiceConnectorCommand( input, @@ -82,7 +82,7 @@ export class AssociatePhoneNumbersWithVoiceConnectorCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociatePhoneNumbersWithVoiceConnectorCommand( output, diff --git a/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts index 6e4ee80936f7..2fe1ea5a8d53 100644 --- a/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput = AssociatePhoneNumbersWithVoiceConnectorGroupRequest; @@ -72,7 +72,7 @@ export class AssociatePhoneNumbersWithVoiceConnectorGroupCommand extends $Comman private serialize( input: AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociatePhoneNumbersWithVoiceConnectorGroupCommand( input, @@ -82,7 +82,7 @@ export class AssociatePhoneNumbersWithVoiceConnectorGroupCommand extends $Comman private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociatePhoneNumbersWithVoiceConnectorGroupCommand( output, diff --git a/clients/client-chime/commands/AssociateSigninDelegateGroupsWithAccountCommand.ts b/clients/client-chime/commands/AssociateSigninDelegateGroupsWithAccountCommand.ts index 964a4ac6c7d4..b8e5458d8756 100644 --- a/clients/client-chime/commands/AssociateSigninDelegateGroupsWithAccountCommand.ts +++ b/clients/client-chime/commands/AssociateSigninDelegateGroupsWithAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateSigninDelegateGroupsWithAccountCommandInput = AssociateSigninDelegateGroupsWithAccountRequest; @@ -72,7 +72,7 @@ export class AssociateSigninDelegateGroupsWithAccountCommand extends $Command< private serialize( input: AssociateSigninDelegateGroupsWithAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateSigninDelegateGroupsWithAccountCommand( input, @@ -82,7 +82,7 @@ export class AssociateSigninDelegateGroupsWithAccountCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateSigninDelegateGroupsWithAccountCommand( output, diff --git a/clients/client-chime/commands/BatchCreateAttendeeCommand.ts b/clients/client-chime/commands/BatchCreateAttendeeCommand.ts index 1ff45207e24d..8b0a55f47e3a 100644 --- a/clients/client-chime/commands/BatchCreateAttendeeCommand.ts +++ b/clients/client-chime/commands/BatchCreateAttendeeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchCreateAttendeeCommandInput = BatchCreateAttendeeRequest; @@ -70,14 +70,14 @@ export class BatchCreateAttendeeCommand extends $Command< private serialize( input: BatchCreateAttendeeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchCreateAttendeeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchCreateAttendeeCommand( output, diff --git a/clients/client-chime/commands/BatchCreateRoomMembershipCommand.ts b/clients/client-chime/commands/BatchCreateRoomMembershipCommand.ts index 9bc3a306559d..6b75a8e518c4 100644 --- a/clients/client-chime/commands/BatchCreateRoomMembershipCommand.ts +++ b/clients/client-chime/commands/BatchCreateRoomMembershipCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchCreateRoomMembershipCommandInput = BatchCreateRoomMembershipRequest; @@ -70,7 +70,7 @@ export class BatchCreateRoomMembershipCommand extends $Command< private serialize( input: BatchCreateRoomMembershipCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchCreateRoomMembershipCommand( input, @@ -80,7 +80,7 @@ export class BatchCreateRoomMembershipCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchCreateRoomMembershipCommand( output, diff --git a/clients/client-chime/commands/BatchDeletePhoneNumberCommand.ts b/clients/client-chime/commands/BatchDeletePhoneNumberCommand.ts index 3f013de2b6db..8e6e827ce918 100644 --- a/clients/client-chime/commands/BatchDeletePhoneNumberCommand.ts +++ b/clients/client-chime/commands/BatchDeletePhoneNumberCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDeletePhoneNumberCommandInput = BatchDeletePhoneNumberRequest; @@ -70,7 +70,7 @@ export class BatchDeletePhoneNumberCommand extends $Command< private serialize( input: BatchDeletePhoneNumberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchDeletePhoneNumberCommand( input, @@ -80,7 +80,7 @@ export class BatchDeletePhoneNumberCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchDeletePhoneNumberCommand( output, diff --git a/clients/client-chime/commands/BatchSuspendUserCommand.ts b/clients/client-chime/commands/BatchSuspendUserCommand.ts index 034fc6094fb4..b84654218946 100644 --- a/clients/client-chime/commands/BatchSuspendUserCommand.ts +++ b/clients/client-chime/commands/BatchSuspendUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchSuspendUserCommandInput = BatchSuspendUserRequest; @@ -67,14 +67,14 @@ export class BatchSuspendUserCommand extends $Command< private serialize( input: BatchSuspendUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchSuspendUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchSuspendUserCommand(output, context); } diff --git a/clients/client-chime/commands/BatchUnsuspendUserCommand.ts b/clients/client-chime/commands/BatchUnsuspendUserCommand.ts index d2bb23b917c2..d04f9887b289 100644 --- a/clients/client-chime/commands/BatchUnsuspendUserCommand.ts +++ b/clients/client-chime/commands/BatchUnsuspendUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchUnsuspendUserCommandInput = BatchUnsuspendUserRequest; @@ -67,14 +67,14 @@ export class BatchUnsuspendUserCommand extends $Command< private serialize( input: BatchUnsuspendUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchUnsuspendUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchUnsuspendUserCommand(output, context); } diff --git a/clients/client-chime/commands/BatchUpdatePhoneNumberCommand.ts b/clients/client-chime/commands/BatchUpdatePhoneNumberCommand.ts index fd2f3923cee8..7ee3e4272e84 100644 --- a/clients/client-chime/commands/BatchUpdatePhoneNumberCommand.ts +++ b/clients/client-chime/commands/BatchUpdatePhoneNumberCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchUpdatePhoneNumberCommandInput = BatchUpdatePhoneNumberRequest; @@ -70,7 +70,7 @@ export class BatchUpdatePhoneNumberCommand extends $Command< private serialize( input: BatchUpdatePhoneNumberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchUpdatePhoneNumberCommand( input, @@ -80,7 +80,7 @@ export class BatchUpdatePhoneNumberCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchUpdatePhoneNumberCommand( output, diff --git a/clients/client-chime/commands/BatchUpdateUserCommand.ts b/clients/client-chime/commands/BatchUpdateUserCommand.ts index 410709a22def..595486399a9d 100644 --- a/clients/client-chime/commands/BatchUpdateUserCommand.ts +++ b/clients/client-chime/commands/BatchUpdateUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchUpdateUserCommandInput = BatchUpdateUserRequest; @@ -67,14 +67,14 @@ export class BatchUpdateUserCommand extends $Command< private serialize( input: BatchUpdateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchUpdateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchUpdateUserCommand(output, context); } diff --git a/clients/client-chime/commands/CreateAccountCommand.ts b/clients/client-chime/commands/CreateAccountCommand.ts index b5ae348a2ae0..91288c8ed265 100644 --- a/clients/client-chime/commands/CreateAccountCommand.ts +++ b/clients/client-chime/commands/CreateAccountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAccountCommandInput = CreateAccountRequest; @@ -64,14 +64,14 @@ export class CreateAccountCommand extends $Command< private serialize( input: CreateAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateAccountCommand(output, context); } diff --git a/clients/client-chime/commands/CreateAttendeeCommand.ts b/clients/client-chime/commands/CreateAttendeeCommand.ts index ebabcb2a5503..eaa55a82df50 100644 --- a/clients/client-chime/commands/CreateAttendeeCommand.ts +++ b/clients/client-chime/commands/CreateAttendeeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAttendeeCommandInput = CreateAttendeeRequest; @@ -64,14 +64,14 @@ export class CreateAttendeeCommand extends $Command< private serialize( input: CreateAttendeeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateAttendeeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateAttendeeCommand(output, context); } diff --git a/clients/client-chime/commands/CreateBotCommand.ts b/clients/client-chime/commands/CreateBotCommand.ts index 0106479ca9fa..8924c5bdbf52 100644 --- a/clients/client-chime/commands/CreateBotCommand.ts +++ b/clients/client-chime/commands/CreateBotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBotCommandInput = CreateBotRequest; @@ -64,14 +64,14 @@ export class CreateBotCommand extends $Command< private serialize( input: CreateBotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateBotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateBotCommand(output, context); } diff --git a/clients/client-chime/commands/CreateMeetingCommand.ts b/clients/client-chime/commands/CreateMeetingCommand.ts index 69b7035c22f8..a47381575cde 100644 --- a/clients/client-chime/commands/CreateMeetingCommand.ts +++ b/clients/client-chime/commands/CreateMeetingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMeetingCommandInput = CreateMeetingRequest; @@ -64,14 +64,14 @@ export class CreateMeetingCommand extends $Command< private serialize( input: CreateMeetingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateMeetingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateMeetingCommand(output, context); } diff --git a/clients/client-chime/commands/CreatePhoneNumberOrderCommand.ts b/clients/client-chime/commands/CreatePhoneNumberOrderCommand.ts index 1e96b8cb5363..a2384af17736 100644 --- a/clients/client-chime/commands/CreatePhoneNumberOrderCommand.ts +++ b/clients/client-chime/commands/CreatePhoneNumberOrderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePhoneNumberOrderCommandInput = CreatePhoneNumberOrderRequest; @@ -70,7 +70,7 @@ export class CreatePhoneNumberOrderCommand extends $Command< private serialize( input: CreatePhoneNumberOrderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePhoneNumberOrderCommand( input, @@ -80,7 +80,7 @@ export class CreatePhoneNumberOrderCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePhoneNumberOrderCommand( output, diff --git a/clients/client-chime/commands/CreateRoomCommand.ts b/clients/client-chime/commands/CreateRoomCommand.ts index 212e51057d44..d7db784c38cb 100644 --- a/clients/client-chime/commands/CreateRoomCommand.ts +++ b/clients/client-chime/commands/CreateRoomCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRoomCommandInput = CreateRoomRequest; @@ -64,14 +64,14 @@ export class CreateRoomCommand extends $Command< private serialize( input: CreateRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRoomCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRoomCommand(output, context); } diff --git a/clients/client-chime/commands/CreateRoomMembershipCommand.ts b/clients/client-chime/commands/CreateRoomMembershipCommand.ts index 8f1881fef82f..f83dfcb38e52 100644 --- a/clients/client-chime/commands/CreateRoomMembershipCommand.ts +++ b/clients/client-chime/commands/CreateRoomMembershipCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRoomMembershipCommandInput = CreateRoomMembershipRequest; @@ -70,14 +70,14 @@ export class CreateRoomMembershipCommand extends $Command< private serialize( input: CreateRoomMembershipCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRoomMembershipCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRoomMembershipCommand( output, diff --git a/clients/client-chime/commands/CreateUserCommand.ts b/clients/client-chime/commands/CreateUserCommand.ts index ab23c895b320..391c03f5d0ff 100644 --- a/clients/client-chime/commands/CreateUserCommand.ts +++ b/clients/client-chime/commands/CreateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserCommandInput = CreateUserRequest; @@ -64,14 +64,14 @@ export class CreateUserCommand extends $Command< private serialize( input: CreateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateUserCommand(output, context); } diff --git a/clients/client-chime/commands/CreateVoiceConnectorCommand.ts b/clients/client-chime/commands/CreateVoiceConnectorCommand.ts index cdb1f791a4ee..e164d3d6c99e 100644 --- a/clients/client-chime/commands/CreateVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/CreateVoiceConnectorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVoiceConnectorCommandInput = CreateVoiceConnectorRequest; @@ -70,14 +70,14 @@ export class CreateVoiceConnectorCommand extends $Command< private serialize( input: CreateVoiceConnectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateVoiceConnectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateVoiceConnectorCommand( output, diff --git a/clients/client-chime/commands/CreateVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/CreateVoiceConnectorGroupCommand.ts index 3bbe85d820dc..c82791f6f07e 100644 --- a/clients/client-chime/commands/CreateVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/CreateVoiceConnectorGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVoiceConnectorGroupCommandInput = CreateVoiceConnectorGroupRequest; @@ -70,7 +70,7 @@ export class CreateVoiceConnectorGroupCommand extends $Command< private serialize( input: CreateVoiceConnectorGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateVoiceConnectorGroupCommand( input, @@ -80,7 +80,7 @@ export class CreateVoiceConnectorGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateVoiceConnectorGroupCommand( output, diff --git a/clients/client-chime/commands/DeleteAccountCommand.ts b/clients/client-chime/commands/DeleteAccountCommand.ts index 7dd335527059..f336c405ea31 100644 --- a/clients/client-chime/commands/DeleteAccountCommand.ts +++ b/clients/client-chime/commands/DeleteAccountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAccountCommandInput = DeleteAccountRequest; @@ -64,14 +64,14 @@ export class DeleteAccountCommand extends $Command< private serialize( input: DeleteAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAccountCommand(output, context); } diff --git a/clients/client-chime/commands/DeleteAttendeeCommand.ts b/clients/client-chime/commands/DeleteAttendeeCommand.ts index 8256858630d6..9294f053bc7d 100644 --- a/clients/client-chime/commands/DeleteAttendeeCommand.ts +++ b/clients/client-chime/commands/DeleteAttendeeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAttendeeCommandInput = DeleteAttendeeRequest; @@ -65,14 +65,14 @@ export class DeleteAttendeeCommand extends $Command< private serialize( input: DeleteAttendeeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAttendeeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAttendeeCommand(output, context); } diff --git a/clients/client-chime/commands/DeleteEventsConfigurationCommand.ts b/clients/client-chime/commands/DeleteEventsConfigurationCommand.ts index 8b1033642825..fe866928d53c 100644 --- a/clients/client-chime/commands/DeleteEventsConfigurationCommand.ts +++ b/clients/client-chime/commands/DeleteEventsConfigurationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEventsConfigurationCommandInput = DeleteEventsConfigurationRequest; @@ -68,7 +68,7 @@ export class DeleteEventsConfigurationCommand extends $Command< private serialize( input: DeleteEventsConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteEventsConfigurationCommand( input, @@ -78,7 +78,7 @@ export class DeleteEventsConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteEventsConfigurationCommand( output, diff --git a/clients/client-chime/commands/DeleteMeetingCommand.ts b/clients/client-chime/commands/DeleteMeetingCommand.ts index 021d7f0febac..813a358f5ef9 100644 --- a/clients/client-chime/commands/DeleteMeetingCommand.ts +++ b/clients/client-chime/commands/DeleteMeetingCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMeetingCommandInput = DeleteMeetingRequest; @@ -65,14 +65,14 @@ export class DeleteMeetingCommand extends $Command< private serialize( input: DeleteMeetingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMeetingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMeetingCommand(output, context); } diff --git a/clients/client-chime/commands/DeletePhoneNumberCommand.ts b/clients/client-chime/commands/DeletePhoneNumberCommand.ts index f78bc7045a15..bbe36f194220 100644 --- a/clients/client-chime/commands/DeletePhoneNumberCommand.ts +++ b/clients/client-chime/commands/DeletePhoneNumberCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePhoneNumberCommandInput = DeletePhoneNumberRequest; @@ -65,14 +65,14 @@ export class DeletePhoneNumberCommand extends $Command< private serialize( input: DeletePhoneNumberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePhoneNumberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePhoneNumberCommand(output, context); } diff --git a/clients/client-chime/commands/DeleteRoomCommand.ts b/clients/client-chime/commands/DeleteRoomCommand.ts index f391301e3957..112a347f72f2 100644 --- a/clients/client-chime/commands/DeleteRoomCommand.ts +++ b/clients/client-chime/commands/DeleteRoomCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRoomCommandInput = DeleteRoomRequest; @@ -65,14 +65,14 @@ export class DeleteRoomCommand extends $Command< private serialize( input: DeleteRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRoomCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRoomCommand(output, context); } diff --git a/clients/client-chime/commands/DeleteRoomMembershipCommand.ts b/clients/client-chime/commands/DeleteRoomMembershipCommand.ts index aa5b18466815..34cc95610f3c 100644 --- a/clients/client-chime/commands/DeleteRoomMembershipCommand.ts +++ b/clients/client-chime/commands/DeleteRoomMembershipCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRoomMembershipCommandInput = DeleteRoomMembershipRequest; @@ -68,14 +68,14 @@ export class DeleteRoomMembershipCommand extends $Command< private serialize( input: DeleteRoomMembershipCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRoomMembershipCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRoomMembershipCommand( output, diff --git a/clients/client-chime/commands/DeleteVoiceConnectorCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorCommand.ts index 509a8878821d..918ed2ecbc3b 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVoiceConnectorCommandInput = DeleteVoiceConnectorRequest; @@ -68,14 +68,14 @@ export class DeleteVoiceConnectorCommand extends $Command< private serialize( input: DeleteVoiceConnectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVoiceConnectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVoiceConnectorCommand( output, diff --git a/clients/client-chime/commands/DeleteVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorGroupCommand.ts index 876f451d48f1..8bae5bd37b14 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVoiceConnectorGroupCommandInput = DeleteVoiceConnectorGroupRequest; @@ -68,7 +68,7 @@ export class DeleteVoiceConnectorGroupCommand extends $Command< private serialize( input: DeleteVoiceConnectorGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVoiceConnectorGroupCommand( input, @@ -78,7 +78,7 @@ export class DeleteVoiceConnectorGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVoiceConnectorGroupCommand( output, diff --git a/clients/client-chime/commands/DeleteVoiceConnectorOriginationCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorOriginationCommand.ts index c7ec97e7619d..b27f38afbb11 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorOriginationCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorOriginationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVoiceConnectorOriginationCommandInput = DeleteVoiceConnectorOriginationRequest; @@ -68,7 +68,7 @@ export class DeleteVoiceConnectorOriginationCommand extends $Command< private serialize( input: DeleteVoiceConnectorOriginationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVoiceConnectorOriginationCommand( input, @@ -78,7 +78,7 @@ export class DeleteVoiceConnectorOriginationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVoiceConnectorOriginationCommand( output, diff --git a/clients/client-chime/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts index 78a47b01f014..82919a2bde17 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVoiceConnectorStreamingConfigurationCommandInput = DeleteVoiceConnectorStreamingConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteVoiceConnectorStreamingConfigurationCommand extends $Command< private serialize( input: DeleteVoiceConnectorStreamingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVoiceConnectorStreamingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteVoiceConnectorStreamingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVoiceConnectorStreamingConfigurationCommand( output, diff --git a/clients/client-chime/commands/DeleteVoiceConnectorTerminationCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorTerminationCommand.ts index 904a36a639a8..84f32b12fd06 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorTerminationCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorTerminationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVoiceConnectorTerminationCommandInput = DeleteVoiceConnectorTerminationRequest; @@ -68,7 +68,7 @@ export class DeleteVoiceConnectorTerminationCommand extends $Command< private serialize( input: DeleteVoiceConnectorTerminationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVoiceConnectorTerminationCommand( input, @@ -78,7 +78,7 @@ export class DeleteVoiceConnectorTerminationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVoiceConnectorTerminationCommand( output, diff --git a/clients/client-chime/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts index 03f4fcaa3232..f01473090869 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVoiceConnectorTerminationCredentialsCommandInput = DeleteVoiceConnectorTerminationCredentialsRequest; @@ -70,7 +70,7 @@ export class DeleteVoiceConnectorTerminationCredentialsCommand extends $Command< private serialize( input: DeleteVoiceConnectorTerminationCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVoiceConnectorTerminationCredentialsCommand( input, @@ -80,7 +80,7 @@ export class DeleteVoiceConnectorTerminationCredentialsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVoiceConnectorTerminationCredentialsCommand( output, diff --git a/clients/client-chime/commands/DisassociatePhoneNumberFromUserCommand.ts b/clients/client-chime/commands/DisassociatePhoneNumberFromUserCommand.ts index 3aca1e09aadf..bda4f18d26f7 100644 --- a/clients/client-chime/commands/DisassociatePhoneNumberFromUserCommand.ts +++ b/clients/client-chime/commands/DisassociatePhoneNumberFromUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociatePhoneNumberFromUserCommandInput = DisassociatePhoneNumberFromUserRequest; @@ -70,7 +70,7 @@ export class DisassociatePhoneNumberFromUserCommand extends $Command< private serialize( input: DisassociatePhoneNumberFromUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociatePhoneNumberFromUserCommand( input, @@ -80,7 +80,7 @@ export class DisassociatePhoneNumberFromUserCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociatePhoneNumberFromUserCommand( output, diff --git a/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts b/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts index 627d1ae4e2e5..7e25e00fecec 100644 --- a/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociatePhoneNumbersFromVoiceConnectorCommandInput = DisassociatePhoneNumbersFromVoiceConnectorRequest; @@ -72,7 +72,7 @@ export class DisassociatePhoneNumbersFromVoiceConnectorCommand extends $Command< private serialize( input: DisassociatePhoneNumbersFromVoiceConnectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociatePhoneNumbersFromVoiceConnectorCommand( input, @@ -82,7 +82,7 @@ export class DisassociatePhoneNumbersFromVoiceConnectorCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociatePhoneNumbersFromVoiceConnectorCommand( output, diff --git a/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts index 6617c530cb54..455ef524b2e6 100644 --- a/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput = DisassociatePhoneNumbersFromVoiceConnectorGroupRequest; @@ -72,7 +72,7 @@ export class DisassociatePhoneNumbersFromVoiceConnectorGroupCommand extends $Com private serialize( input: DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociatePhoneNumbersFromVoiceConnectorGroupCommand( input, @@ -82,7 +82,7 @@ export class DisassociatePhoneNumbersFromVoiceConnectorGroupCommand extends $Com private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociatePhoneNumbersFromVoiceConnectorGroupCommand( output, diff --git a/clients/client-chime/commands/DisassociateSigninDelegateGroupsFromAccountCommand.ts b/clients/client-chime/commands/DisassociateSigninDelegateGroupsFromAccountCommand.ts index a855bc114466..52e35e89e43e 100644 --- a/clients/client-chime/commands/DisassociateSigninDelegateGroupsFromAccountCommand.ts +++ b/clients/client-chime/commands/DisassociateSigninDelegateGroupsFromAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateSigninDelegateGroupsFromAccountCommandInput = DisassociateSigninDelegateGroupsFromAccountRequest; @@ -72,7 +72,7 @@ export class DisassociateSigninDelegateGroupsFromAccountCommand extends $Command private serialize( input: DisassociateSigninDelegateGroupsFromAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateSigninDelegateGroupsFromAccountCommand( input, @@ -82,7 +82,7 @@ export class DisassociateSigninDelegateGroupsFromAccountCommand extends $Command private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateSigninDelegateGroupsFromAccountCommand( output, diff --git a/clients/client-chime/commands/GetAccountCommand.ts b/clients/client-chime/commands/GetAccountCommand.ts index 4a75503fc2da..5dfe0a7cb973 100644 --- a/clients/client-chime/commands/GetAccountCommand.ts +++ b/clients/client-chime/commands/GetAccountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountCommandInput = GetAccountRequest; @@ -64,14 +64,14 @@ export class GetAccountCommand extends $Command< private serialize( input: GetAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAccountCommand(output, context); } diff --git a/clients/client-chime/commands/GetAccountSettingsCommand.ts b/clients/client-chime/commands/GetAccountSettingsCommand.ts index 3624f693d280..8f9544a06884 100644 --- a/clients/client-chime/commands/GetAccountSettingsCommand.ts +++ b/clients/client-chime/commands/GetAccountSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountSettingsCommandInput = GetAccountSettingsRequest; @@ -67,14 +67,14 @@ export class GetAccountSettingsCommand extends $Command< private serialize( input: GetAccountSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAccountSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAccountSettingsCommand(output, context); } diff --git a/clients/client-chime/commands/GetAttendeeCommand.ts b/clients/client-chime/commands/GetAttendeeCommand.ts index 7b0398caef1a..84ff1c8e4431 100644 --- a/clients/client-chime/commands/GetAttendeeCommand.ts +++ b/clients/client-chime/commands/GetAttendeeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAttendeeCommandInput = GetAttendeeRequest; @@ -64,14 +64,14 @@ export class GetAttendeeCommand extends $Command< private serialize( input: GetAttendeeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAttendeeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAttendeeCommand(output, context); } diff --git a/clients/client-chime/commands/GetBotCommand.ts b/clients/client-chime/commands/GetBotCommand.ts index 4e03a4192951..1d0f97d77bfc 100644 --- a/clients/client-chime/commands/GetBotCommand.ts +++ b/clients/client-chime/commands/GetBotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBotCommandInput = GetBotRequest; @@ -64,14 +64,14 @@ export class GetBotCommand extends $Command< private serialize( input: GetBotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBotCommand(output, context); } diff --git a/clients/client-chime/commands/GetEventsConfigurationCommand.ts b/clients/client-chime/commands/GetEventsConfigurationCommand.ts index 307b339d7d0f..2dbfb469262f 100644 --- a/clients/client-chime/commands/GetEventsConfigurationCommand.ts +++ b/clients/client-chime/commands/GetEventsConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEventsConfigurationCommandInput = GetEventsConfigurationRequest; @@ -70,7 +70,7 @@ export class GetEventsConfigurationCommand extends $Command< private serialize( input: GetEventsConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEventsConfigurationCommand( input, @@ -80,7 +80,7 @@ export class GetEventsConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEventsConfigurationCommand( output, diff --git a/clients/client-chime/commands/GetGlobalSettingsCommand.ts b/clients/client-chime/commands/GetGlobalSettingsCommand.ts index 6a39cdb003da..d47520add755 100644 --- a/clients/client-chime/commands/GetGlobalSettingsCommand.ts +++ b/clients/client-chime/commands/GetGlobalSettingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGlobalSettingsCommandInput = {}; @@ -64,14 +64,14 @@ export class GetGlobalSettingsCommand extends $Command< private serialize( input: GetGlobalSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGlobalSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGlobalSettingsCommand(output, context); } diff --git a/clients/client-chime/commands/GetMeetingCommand.ts b/clients/client-chime/commands/GetMeetingCommand.ts index 251f0b312934..070e3c3f6296 100644 --- a/clients/client-chime/commands/GetMeetingCommand.ts +++ b/clients/client-chime/commands/GetMeetingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMeetingCommandInput = GetMeetingRequest; @@ -64,14 +64,14 @@ export class GetMeetingCommand extends $Command< private serialize( input: GetMeetingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMeetingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMeetingCommand(output, context); } diff --git a/clients/client-chime/commands/GetPhoneNumberCommand.ts b/clients/client-chime/commands/GetPhoneNumberCommand.ts index 653e9fbc2e6c..3286dbbe822a 100644 --- a/clients/client-chime/commands/GetPhoneNumberCommand.ts +++ b/clients/client-chime/commands/GetPhoneNumberCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPhoneNumberCommandInput = GetPhoneNumberRequest; @@ -64,14 +64,14 @@ export class GetPhoneNumberCommand extends $Command< private serialize( input: GetPhoneNumberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPhoneNumberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPhoneNumberCommand(output, context); } diff --git a/clients/client-chime/commands/GetPhoneNumberOrderCommand.ts b/clients/client-chime/commands/GetPhoneNumberOrderCommand.ts index 27f3b0f40e0e..117f5087b2c8 100644 --- a/clients/client-chime/commands/GetPhoneNumberOrderCommand.ts +++ b/clients/client-chime/commands/GetPhoneNumberOrderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPhoneNumberOrderCommandInput = GetPhoneNumberOrderRequest; @@ -70,14 +70,14 @@ export class GetPhoneNumberOrderCommand extends $Command< private serialize( input: GetPhoneNumberOrderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPhoneNumberOrderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPhoneNumberOrderCommand( output, diff --git a/clients/client-chime/commands/GetPhoneNumberSettingsCommand.ts b/clients/client-chime/commands/GetPhoneNumberSettingsCommand.ts index 7f9bcca035ad..5cd0bb07acae 100644 --- a/clients/client-chime/commands/GetPhoneNumberSettingsCommand.ts +++ b/clients/client-chime/commands/GetPhoneNumberSettingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPhoneNumberSettingsCommandInput = {}; @@ -67,7 +67,7 @@ export class GetPhoneNumberSettingsCommand extends $Command< private serialize( input: GetPhoneNumberSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPhoneNumberSettingsCommand( input, @@ -77,7 +77,7 @@ export class GetPhoneNumberSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPhoneNumberSettingsCommand( output, diff --git a/clients/client-chime/commands/GetRoomCommand.ts b/clients/client-chime/commands/GetRoomCommand.ts index fdf4e2a6fe50..7cef304f6621 100644 --- a/clients/client-chime/commands/GetRoomCommand.ts +++ b/clients/client-chime/commands/GetRoomCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRoomCommandInput = GetRoomRequest; @@ -64,14 +64,14 @@ export class GetRoomCommand extends $Command< private serialize( input: GetRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRoomCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRoomCommand(output, context); } diff --git a/clients/client-chime/commands/GetUserCommand.ts b/clients/client-chime/commands/GetUserCommand.ts index 8b2d95c21fa9..baf327915abc 100644 --- a/clients/client-chime/commands/GetUserCommand.ts +++ b/clients/client-chime/commands/GetUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUserCommandInput = GetUserRequest; @@ -64,14 +64,14 @@ export class GetUserCommand extends $Command< private serialize( input: GetUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetUserCommand(output, context); } diff --git a/clients/client-chime/commands/GetUserSettingsCommand.ts b/clients/client-chime/commands/GetUserSettingsCommand.ts index d29a756e671e..883c94ce991b 100644 --- a/clients/client-chime/commands/GetUserSettingsCommand.ts +++ b/clients/client-chime/commands/GetUserSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUserSettingsCommandInput = GetUserSettingsRequest; @@ -67,14 +67,14 @@ export class GetUserSettingsCommand extends $Command< private serialize( input: GetUserSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetUserSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetUserSettingsCommand(output, context); } diff --git a/clients/client-chime/commands/GetVoiceConnectorCommand.ts b/clients/client-chime/commands/GetVoiceConnectorCommand.ts index 165103e6bae6..c6bc1f90b2fc 100644 --- a/clients/client-chime/commands/GetVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVoiceConnectorCommandInput = GetVoiceConnectorRequest; @@ -67,14 +67,14 @@ export class GetVoiceConnectorCommand extends $Command< private serialize( input: GetVoiceConnectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVoiceConnectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVoiceConnectorCommand(output, context); } diff --git a/clients/client-chime/commands/GetVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/GetVoiceConnectorGroupCommand.ts index 4bc557696291..4a7026320d37 100644 --- a/clients/client-chime/commands/GetVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVoiceConnectorGroupCommandInput = GetVoiceConnectorGroupRequest; @@ -70,7 +70,7 @@ export class GetVoiceConnectorGroupCommand extends $Command< private serialize( input: GetVoiceConnectorGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVoiceConnectorGroupCommand( input, @@ -80,7 +80,7 @@ export class GetVoiceConnectorGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVoiceConnectorGroupCommand( output, diff --git a/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts b/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts index 8a47bebd3ba4..bba8c28922cb 100644 --- a/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVoiceConnectorLoggingConfigurationCommandInput = GetVoiceConnectorLoggingConfigurationRequest; @@ -72,7 +72,7 @@ export class GetVoiceConnectorLoggingConfigurationCommand extends $Command< private serialize( input: GetVoiceConnectorLoggingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVoiceConnectorLoggingConfigurationCommand( input, @@ -82,7 +82,7 @@ export class GetVoiceConnectorLoggingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVoiceConnectorLoggingConfigurationCommand( output, diff --git a/clients/client-chime/commands/GetVoiceConnectorOriginationCommand.ts b/clients/client-chime/commands/GetVoiceConnectorOriginationCommand.ts index 43fe44581b01..ee3830f0079f 100644 --- a/clients/client-chime/commands/GetVoiceConnectorOriginationCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorOriginationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVoiceConnectorOriginationCommandInput = GetVoiceConnectorOriginationRequest; @@ -70,7 +70,7 @@ export class GetVoiceConnectorOriginationCommand extends $Command< private serialize( input: GetVoiceConnectorOriginationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVoiceConnectorOriginationCommand( input, @@ -80,7 +80,7 @@ export class GetVoiceConnectorOriginationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVoiceConnectorOriginationCommand( output, diff --git a/clients/client-chime/commands/GetVoiceConnectorStreamingConfigurationCommand.ts b/clients/client-chime/commands/GetVoiceConnectorStreamingConfigurationCommand.ts index cd4001fc6d2b..cfbe4d249129 100644 --- a/clients/client-chime/commands/GetVoiceConnectorStreamingConfigurationCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorStreamingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVoiceConnectorStreamingConfigurationCommandInput = GetVoiceConnectorStreamingConfigurationRequest; @@ -72,7 +72,7 @@ export class GetVoiceConnectorStreamingConfigurationCommand extends $Command< private serialize( input: GetVoiceConnectorStreamingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVoiceConnectorStreamingConfigurationCommand( input, @@ -82,7 +82,7 @@ export class GetVoiceConnectorStreamingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVoiceConnectorStreamingConfigurationCommand( output, diff --git a/clients/client-chime/commands/GetVoiceConnectorTerminationCommand.ts b/clients/client-chime/commands/GetVoiceConnectorTerminationCommand.ts index 040f00d2bc2f..44fea58fe3a2 100644 --- a/clients/client-chime/commands/GetVoiceConnectorTerminationCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorTerminationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVoiceConnectorTerminationCommandInput = GetVoiceConnectorTerminationRequest; @@ -70,7 +70,7 @@ export class GetVoiceConnectorTerminationCommand extends $Command< private serialize( input: GetVoiceConnectorTerminationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVoiceConnectorTerminationCommand( input, @@ -80,7 +80,7 @@ export class GetVoiceConnectorTerminationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVoiceConnectorTerminationCommand( output, diff --git a/clients/client-chime/commands/GetVoiceConnectorTerminationHealthCommand.ts b/clients/client-chime/commands/GetVoiceConnectorTerminationHealthCommand.ts index af4348b7db6f..a77d5f4449fd 100644 --- a/clients/client-chime/commands/GetVoiceConnectorTerminationHealthCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorTerminationHealthCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVoiceConnectorTerminationHealthCommandInput = GetVoiceConnectorTerminationHealthRequest; @@ -70,7 +70,7 @@ export class GetVoiceConnectorTerminationHealthCommand extends $Command< private serialize( input: GetVoiceConnectorTerminationHealthCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVoiceConnectorTerminationHealthCommand( input, @@ -80,7 +80,7 @@ export class GetVoiceConnectorTerminationHealthCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVoiceConnectorTerminationHealthCommand( output, diff --git a/clients/client-chime/commands/InviteUsersCommand.ts b/clients/client-chime/commands/InviteUsersCommand.ts index 64d7bf9906c2..b34548088ada 100644 --- a/clients/client-chime/commands/InviteUsersCommand.ts +++ b/clients/client-chime/commands/InviteUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InviteUsersCommandInput = InviteUsersRequest; @@ -64,14 +64,14 @@ export class InviteUsersCommand extends $Command< private serialize( input: InviteUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InviteUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InviteUsersCommand(output, context); } diff --git a/clients/client-chime/commands/ListAccountsCommand.ts b/clients/client-chime/commands/ListAccountsCommand.ts index b26ee25e331e..dcce2369f846 100644 --- a/clients/client-chime/commands/ListAccountsCommand.ts +++ b/clients/client-chime/commands/ListAccountsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAccountsCommandInput = ListAccountsRequest; @@ -64,14 +64,14 @@ export class ListAccountsCommand extends $Command< private serialize( input: ListAccountsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAccountsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAccountsCommand(output, context); } diff --git a/clients/client-chime/commands/ListAttendeesCommand.ts b/clients/client-chime/commands/ListAttendeesCommand.ts index 220eaaababa0..dcd69b41d1bc 100644 --- a/clients/client-chime/commands/ListAttendeesCommand.ts +++ b/clients/client-chime/commands/ListAttendeesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAttendeesCommandInput = ListAttendeesRequest; @@ -64,14 +64,14 @@ export class ListAttendeesCommand extends $Command< private serialize( input: ListAttendeesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAttendeesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAttendeesCommand(output, context); } diff --git a/clients/client-chime/commands/ListBotsCommand.ts b/clients/client-chime/commands/ListBotsCommand.ts index 4ddc1f893e09..6f5de779de2b 100644 --- a/clients/client-chime/commands/ListBotsCommand.ts +++ b/clients/client-chime/commands/ListBotsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBotsCommandInput = ListBotsRequest; @@ -64,14 +64,14 @@ export class ListBotsCommand extends $Command< private serialize( input: ListBotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBotsCommand(output, context); } diff --git a/clients/client-chime/commands/ListMeetingsCommand.ts b/clients/client-chime/commands/ListMeetingsCommand.ts index b9e16085905c..2454d8473aac 100644 --- a/clients/client-chime/commands/ListMeetingsCommand.ts +++ b/clients/client-chime/commands/ListMeetingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMeetingsCommandInput = ListMeetingsRequest; @@ -64,14 +64,14 @@ export class ListMeetingsCommand extends $Command< private serialize( input: ListMeetingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListMeetingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListMeetingsCommand(output, context); } diff --git a/clients/client-chime/commands/ListPhoneNumberOrdersCommand.ts b/clients/client-chime/commands/ListPhoneNumberOrdersCommand.ts index b3ce45599eaf..267f55729099 100644 --- a/clients/client-chime/commands/ListPhoneNumberOrdersCommand.ts +++ b/clients/client-chime/commands/ListPhoneNumberOrdersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPhoneNumberOrdersCommandInput = ListPhoneNumberOrdersRequest; @@ -70,14 +70,14 @@ export class ListPhoneNumberOrdersCommand extends $Command< private serialize( input: ListPhoneNumberOrdersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPhoneNumberOrdersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPhoneNumberOrdersCommand( output, diff --git a/clients/client-chime/commands/ListPhoneNumbersCommand.ts b/clients/client-chime/commands/ListPhoneNumbersCommand.ts index 3b063513869f..b18d7e454fc7 100644 --- a/clients/client-chime/commands/ListPhoneNumbersCommand.ts +++ b/clients/client-chime/commands/ListPhoneNumbersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPhoneNumbersCommandInput = ListPhoneNumbersRequest; @@ -67,14 +67,14 @@ export class ListPhoneNumbersCommand extends $Command< private serialize( input: ListPhoneNumbersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPhoneNumbersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPhoneNumbersCommand(output, context); } diff --git a/clients/client-chime/commands/ListRoomMembershipsCommand.ts b/clients/client-chime/commands/ListRoomMembershipsCommand.ts index 24b23a9e1e9a..a87e74d67d0d 100644 --- a/clients/client-chime/commands/ListRoomMembershipsCommand.ts +++ b/clients/client-chime/commands/ListRoomMembershipsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRoomMembershipsCommandInput = ListRoomMembershipsRequest; @@ -70,14 +70,14 @@ export class ListRoomMembershipsCommand extends $Command< private serialize( input: ListRoomMembershipsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRoomMembershipsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRoomMembershipsCommand( output, diff --git a/clients/client-chime/commands/ListRoomsCommand.ts b/clients/client-chime/commands/ListRoomsCommand.ts index 17c87d4187fd..6cc83d04a5cf 100644 --- a/clients/client-chime/commands/ListRoomsCommand.ts +++ b/clients/client-chime/commands/ListRoomsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRoomsCommandInput = ListRoomsRequest; @@ -64,14 +64,14 @@ export class ListRoomsCommand extends $Command< private serialize( input: ListRoomsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRoomsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRoomsCommand(output, context); } diff --git a/clients/client-chime/commands/ListUsersCommand.ts b/clients/client-chime/commands/ListUsersCommand.ts index 269771dea4ed..37d8bed7620a 100644 --- a/clients/client-chime/commands/ListUsersCommand.ts +++ b/clients/client-chime/commands/ListUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUsersCommandInput = ListUsersRequest; @@ -64,14 +64,14 @@ export class ListUsersCommand extends $Command< private serialize( input: ListUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListUsersCommand(output, context); } diff --git a/clients/client-chime/commands/ListVoiceConnectorGroupsCommand.ts b/clients/client-chime/commands/ListVoiceConnectorGroupsCommand.ts index 2fa1cffba7a8..1a5938f88207 100644 --- a/clients/client-chime/commands/ListVoiceConnectorGroupsCommand.ts +++ b/clients/client-chime/commands/ListVoiceConnectorGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVoiceConnectorGroupsCommandInput = ListVoiceConnectorGroupsRequest; @@ -70,7 +70,7 @@ export class ListVoiceConnectorGroupsCommand extends $Command< private serialize( input: ListVoiceConnectorGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListVoiceConnectorGroupsCommand( input, @@ -80,7 +80,7 @@ export class ListVoiceConnectorGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListVoiceConnectorGroupsCommand( output, diff --git a/clients/client-chime/commands/ListVoiceConnectorTerminationCredentialsCommand.ts b/clients/client-chime/commands/ListVoiceConnectorTerminationCredentialsCommand.ts index 7203a4a5dd64..f82893423e5f 100644 --- a/clients/client-chime/commands/ListVoiceConnectorTerminationCredentialsCommand.ts +++ b/clients/client-chime/commands/ListVoiceConnectorTerminationCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVoiceConnectorTerminationCredentialsCommandInput = ListVoiceConnectorTerminationCredentialsRequest; @@ -72,7 +72,7 @@ export class ListVoiceConnectorTerminationCredentialsCommand extends $Command< private serialize( input: ListVoiceConnectorTerminationCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListVoiceConnectorTerminationCredentialsCommand( input, @@ -82,7 +82,7 @@ export class ListVoiceConnectorTerminationCredentialsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListVoiceConnectorTerminationCredentialsCommand( output, diff --git a/clients/client-chime/commands/ListVoiceConnectorsCommand.ts b/clients/client-chime/commands/ListVoiceConnectorsCommand.ts index 013b08fab8da..faa32a11b4b2 100644 --- a/clients/client-chime/commands/ListVoiceConnectorsCommand.ts +++ b/clients/client-chime/commands/ListVoiceConnectorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVoiceConnectorsCommandInput = ListVoiceConnectorsRequest; @@ -70,14 +70,14 @@ export class ListVoiceConnectorsCommand extends $Command< private serialize( input: ListVoiceConnectorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListVoiceConnectorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListVoiceConnectorsCommand( output, diff --git a/clients/client-chime/commands/LogoutUserCommand.ts b/clients/client-chime/commands/LogoutUserCommand.ts index 69f52f3c0671..52dcc0b7bafd 100644 --- a/clients/client-chime/commands/LogoutUserCommand.ts +++ b/clients/client-chime/commands/LogoutUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type LogoutUserCommandInput = LogoutUserRequest; @@ -64,14 +64,14 @@ export class LogoutUserCommand extends $Command< private serialize( input: LogoutUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1LogoutUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1LogoutUserCommand(output, context); } diff --git a/clients/client-chime/commands/PutEventsConfigurationCommand.ts b/clients/client-chime/commands/PutEventsConfigurationCommand.ts index 9be0183330eb..67505e012a39 100644 --- a/clients/client-chime/commands/PutEventsConfigurationCommand.ts +++ b/clients/client-chime/commands/PutEventsConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEventsConfigurationCommandInput = PutEventsConfigurationRequest; @@ -70,7 +70,7 @@ export class PutEventsConfigurationCommand extends $Command< private serialize( input: PutEventsConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEventsConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutEventsConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEventsConfigurationCommand( output, diff --git a/clients/client-chime/commands/PutVoiceConnectorLoggingConfigurationCommand.ts b/clients/client-chime/commands/PutVoiceConnectorLoggingConfigurationCommand.ts index 18eaad7e2f7e..8dc8bd23a5d2 100644 --- a/clients/client-chime/commands/PutVoiceConnectorLoggingConfigurationCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorLoggingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutVoiceConnectorLoggingConfigurationCommandInput = PutVoiceConnectorLoggingConfigurationRequest; @@ -72,7 +72,7 @@ export class PutVoiceConnectorLoggingConfigurationCommand extends $Command< private serialize( input: PutVoiceConnectorLoggingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutVoiceConnectorLoggingConfigurationCommand( input, @@ -82,7 +82,7 @@ export class PutVoiceConnectorLoggingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutVoiceConnectorLoggingConfigurationCommand( output, diff --git a/clients/client-chime/commands/PutVoiceConnectorOriginationCommand.ts b/clients/client-chime/commands/PutVoiceConnectorOriginationCommand.ts index e6303f10ecdc..88022b48b49e 100644 --- a/clients/client-chime/commands/PutVoiceConnectorOriginationCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorOriginationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutVoiceConnectorOriginationCommandInput = PutVoiceConnectorOriginationRequest; @@ -70,7 +70,7 @@ export class PutVoiceConnectorOriginationCommand extends $Command< private serialize( input: PutVoiceConnectorOriginationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutVoiceConnectorOriginationCommand( input, @@ -80,7 +80,7 @@ export class PutVoiceConnectorOriginationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutVoiceConnectorOriginationCommand( output, diff --git a/clients/client-chime/commands/PutVoiceConnectorStreamingConfigurationCommand.ts b/clients/client-chime/commands/PutVoiceConnectorStreamingConfigurationCommand.ts index ddb7acf831d9..7750ba364508 100644 --- a/clients/client-chime/commands/PutVoiceConnectorStreamingConfigurationCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorStreamingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutVoiceConnectorStreamingConfigurationCommandInput = PutVoiceConnectorStreamingConfigurationRequest; @@ -72,7 +72,7 @@ export class PutVoiceConnectorStreamingConfigurationCommand extends $Command< private serialize( input: PutVoiceConnectorStreamingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutVoiceConnectorStreamingConfigurationCommand( input, @@ -82,7 +82,7 @@ export class PutVoiceConnectorStreamingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutVoiceConnectorStreamingConfigurationCommand( output, diff --git a/clients/client-chime/commands/PutVoiceConnectorTerminationCommand.ts b/clients/client-chime/commands/PutVoiceConnectorTerminationCommand.ts index a37cc4066344..662290b234cb 100644 --- a/clients/client-chime/commands/PutVoiceConnectorTerminationCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorTerminationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutVoiceConnectorTerminationCommandInput = PutVoiceConnectorTerminationRequest; @@ -70,7 +70,7 @@ export class PutVoiceConnectorTerminationCommand extends $Command< private serialize( input: PutVoiceConnectorTerminationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutVoiceConnectorTerminationCommand( input, @@ -80,7 +80,7 @@ export class PutVoiceConnectorTerminationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutVoiceConnectorTerminationCommand( output, diff --git a/clients/client-chime/commands/PutVoiceConnectorTerminationCredentialsCommand.ts b/clients/client-chime/commands/PutVoiceConnectorTerminationCredentialsCommand.ts index e8eade444786..8d28ffec08c4 100644 --- a/clients/client-chime/commands/PutVoiceConnectorTerminationCredentialsCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorTerminationCredentialsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutVoiceConnectorTerminationCredentialsCommandInput = PutVoiceConnectorTerminationCredentialsRequest; @@ -70,7 +70,7 @@ export class PutVoiceConnectorTerminationCredentialsCommand extends $Command< private serialize( input: PutVoiceConnectorTerminationCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutVoiceConnectorTerminationCredentialsCommand( input, @@ -80,7 +80,7 @@ export class PutVoiceConnectorTerminationCredentialsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutVoiceConnectorTerminationCredentialsCommand( output, diff --git a/clients/client-chime/commands/RegenerateSecurityTokenCommand.ts b/clients/client-chime/commands/RegenerateSecurityTokenCommand.ts index 24ef2df92e2d..791578902708 100644 --- a/clients/client-chime/commands/RegenerateSecurityTokenCommand.ts +++ b/clients/client-chime/commands/RegenerateSecurityTokenCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegenerateSecurityTokenCommandInput = RegenerateSecurityTokenRequest; @@ -70,7 +70,7 @@ export class RegenerateSecurityTokenCommand extends $Command< private serialize( input: RegenerateSecurityTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RegenerateSecurityTokenCommand( input, @@ -80,7 +80,7 @@ export class RegenerateSecurityTokenCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RegenerateSecurityTokenCommand( output, diff --git a/clients/client-chime/commands/ResetPersonalPINCommand.ts b/clients/client-chime/commands/ResetPersonalPINCommand.ts index a56360abfc21..d5690baf6d3b 100644 --- a/clients/client-chime/commands/ResetPersonalPINCommand.ts +++ b/clients/client-chime/commands/ResetPersonalPINCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetPersonalPINCommandInput = ResetPersonalPINRequest; @@ -67,14 +67,14 @@ export class ResetPersonalPINCommand extends $Command< private serialize( input: ResetPersonalPINCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ResetPersonalPINCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ResetPersonalPINCommand(output, context); } diff --git a/clients/client-chime/commands/RestorePhoneNumberCommand.ts b/clients/client-chime/commands/RestorePhoneNumberCommand.ts index 26dbaec73a8c..bc4ce88152f3 100644 --- a/clients/client-chime/commands/RestorePhoneNumberCommand.ts +++ b/clients/client-chime/commands/RestorePhoneNumberCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestorePhoneNumberCommandInput = RestorePhoneNumberRequest; @@ -67,14 +67,14 @@ export class RestorePhoneNumberCommand extends $Command< private serialize( input: RestorePhoneNumberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RestorePhoneNumberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RestorePhoneNumberCommand(output, context); } diff --git a/clients/client-chime/commands/SearchAvailablePhoneNumbersCommand.ts b/clients/client-chime/commands/SearchAvailablePhoneNumbersCommand.ts index c649932026e8..fa4d0a04bf19 100644 --- a/clients/client-chime/commands/SearchAvailablePhoneNumbersCommand.ts +++ b/clients/client-chime/commands/SearchAvailablePhoneNumbersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchAvailablePhoneNumbersCommandInput = SearchAvailablePhoneNumbersRequest; @@ -70,7 +70,7 @@ export class SearchAvailablePhoneNumbersCommand extends $Command< private serialize( input: SearchAvailablePhoneNumbersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SearchAvailablePhoneNumbersCommand( input, @@ -80,7 +80,7 @@ export class SearchAvailablePhoneNumbersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SearchAvailablePhoneNumbersCommand( output, diff --git a/clients/client-chime/commands/UpdateAccountCommand.ts b/clients/client-chime/commands/UpdateAccountCommand.ts index 2595af8d94dc..1bf10b185c41 100644 --- a/clients/client-chime/commands/UpdateAccountCommand.ts +++ b/clients/client-chime/commands/UpdateAccountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAccountCommandInput = UpdateAccountRequest; @@ -64,14 +64,14 @@ export class UpdateAccountCommand extends $Command< private serialize( input: UpdateAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAccountCommand(output, context); } diff --git a/clients/client-chime/commands/UpdateAccountSettingsCommand.ts b/clients/client-chime/commands/UpdateAccountSettingsCommand.ts index 1caf0ef220ed..eda831754817 100644 --- a/clients/client-chime/commands/UpdateAccountSettingsCommand.ts +++ b/clients/client-chime/commands/UpdateAccountSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAccountSettingsCommandInput = UpdateAccountSettingsRequest; @@ -70,14 +70,14 @@ export class UpdateAccountSettingsCommand extends $Command< private serialize( input: UpdateAccountSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAccountSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAccountSettingsCommand( output, diff --git a/clients/client-chime/commands/UpdateBotCommand.ts b/clients/client-chime/commands/UpdateBotCommand.ts index 7865e676e15e..95203d668557 100644 --- a/clients/client-chime/commands/UpdateBotCommand.ts +++ b/clients/client-chime/commands/UpdateBotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBotCommandInput = UpdateBotRequest; @@ -64,14 +64,14 @@ export class UpdateBotCommand extends $Command< private serialize( input: UpdateBotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateBotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateBotCommand(output, context); } diff --git a/clients/client-chime/commands/UpdateGlobalSettingsCommand.ts b/clients/client-chime/commands/UpdateGlobalSettingsCommand.ts index 4898de5fa91e..16f9f3731e6f 100644 --- a/clients/client-chime/commands/UpdateGlobalSettingsCommand.ts +++ b/clients/client-chime/commands/UpdateGlobalSettingsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGlobalSettingsCommandInput = UpdateGlobalSettingsRequest; @@ -68,14 +68,14 @@ export class UpdateGlobalSettingsCommand extends $Command< private serialize( input: UpdateGlobalSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateGlobalSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateGlobalSettingsCommand( output, diff --git a/clients/client-chime/commands/UpdatePhoneNumberCommand.ts b/clients/client-chime/commands/UpdatePhoneNumberCommand.ts index fec275a54171..c81ba9af4c70 100644 --- a/clients/client-chime/commands/UpdatePhoneNumberCommand.ts +++ b/clients/client-chime/commands/UpdatePhoneNumberCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePhoneNumberCommandInput = UpdatePhoneNumberRequest; @@ -67,14 +67,14 @@ export class UpdatePhoneNumberCommand extends $Command< private serialize( input: UpdatePhoneNumberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdatePhoneNumberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdatePhoneNumberCommand(output, context); } diff --git a/clients/client-chime/commands/UpdatePhoneNumberSettingsCommand.ts b/clients/client-chime/commands/UpdatePhoneNumberSettingsCommand.ts index 507f69f64448..923a1ecab26d 100644 --- a/clients/client-chime/commands/UpdatePhoneNumberSettingsCommand.ts +++ b/clients/client-chime/commands/UpdatePhoneNumberSettingsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePhoneNumberSettingsCommandInput = UpdatePhoneNumberSettingsRequest; @@ -68,7 +68,7 @@ export class UpdatePhoneNumberSettingsCommand extends $Command< private serialize( input: UpdatePhoneNumberSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdatePhoneNumberSettingsCommand( input, @@ -78,7 +78,7 @@ export class UpdatePhoneNumberSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdatePhoneNumberSettingsCommand( output, diff --git a/clients/client-chime/commands/UpdateRoomCommand.ts b/clients/client-chime/commands/UpdateRoomCommand.ts index 06f8dc6c7578..cc8da5a8252b 100644 --- a/clients/client-chime/commands/UpdateRoomCommand.ts +++ b/clients/client-chime/commands/UpdateRoomCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRoomCommandInput = UpdateRoomRequest; @@ -64,14 +64,14 @@ export class UpdateRoomCommand extends $Command< private serialize( input: UpdateRoomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRoomCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRoomCommand(output, context); } diff --git a/clients/client-chime/commands/UpdateRoomMembershipCommand.ts b/clients/client-chime/commands/UpdateRoomMembershipCommand.ts index f1acb428264c..a833d16624ca 100644 --- a/clients/client-chime/commands/UpdateRoomMembershipCommand.ts +++ b/clients/client-chime/commands/UpdateRoomMembershipCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRoomMembershipCommandInput = UpdateRoomMembershipRequest; @@ -70,14 +70,14 @@ export class UpdateRoomMembershipCommand extends $Command< private serialize( input: UpdateRoomMembershipCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRoomMembershipCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRoomMembershipCommand( output, diff --git a/clients/client-chime/commands/UpdateUserCommand.ts b/clients/client-chime/commands/UpdateUserCommand.ts index 1db27c91921d..ab46f4a600da 100644 --- a/clients/client-chime/commands/UpdateUserCommand.ts +++ b/clients/client-chime/commands/UpdateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserCommandInput = UpdateUserRequest; @@ -64,14 +64,14 @@ export class UpdateUserCommand extends $Command< private serialize( input: UpdateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUserCommand(output, context); } diff --git a/clients/client-chime/commands/UpdateUserSettingsCommand.ts b/clients/client-chime/commands/UpdateUserSettingsCommand.ts index 4aaf6e6a90f6..9ef44492165d 100644 --- a/clients/client-chime/commands/UpdateUserSettingsCommand.ts +++ b/clients/client-chime/commands/UpdateUserSettingsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserSettingsCommandInput = UpdateUserSettingsRequest; @@ -65,14 +65,14 @@ export class UpdateUserSettingsCommand extends $Command< private serialize( input: UpdateUserSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUserSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUserSettingsCommand(output, context); } diff --git a/clients/client-chime/commands/UpdateVoiceConnectorCommand.ts b/clients/client-chime/commands/UpdateVoiceConnectorCommand.ts index 555e218472c0..32ade800812d 100644 --- a/clients/client-chime/commands/UpdateVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/UpdateVoiceConnectorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVoiceConnectorCommandInput = UpdateVoiceConnectorRequest; @@ -70,14 +70,14 @@ export class UpdateVoiceConnectorCommand extends $Command< private serialize( input: UpdateVoiceConnectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateVoiceConnectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateVoiceConnectorCommand( output, diff --git a/clients/client-chime/commands/UpdateVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/UpdateVoiceConnectorGroupCommand.ts index 8426f0a15bed..26f7755c838c 100644 --- a/clients/client-chime/commands/UpdateVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/UpdateVoiceConnectorGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVoiceConnectorGroupCommandInput = UpdateVoiceConnectorGroupRequest; @@ -70,7 +70,7 @@ export class UpdateVoiceConnectorGroupCommand extends $Command< private serialize( input: UpdateVoiceConnectorGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateVoiceConnectorGroupCommand( input, @@ -80,7 +80,7 @@ export class UpdateVoiceConnectorGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateVoiceConnectorGroupCommand( output, diff --git a/clients/client-chime/protocols/Aws_restJson1_1.ts b/clients/client-chime/protocols/Aws_restJson1_1.ts index 6877eb620d69..4ed1862d1276 100644 --- a/clients/client-chime/protocols/Aws_restJson1_1.ts +++ b/clients/client-chime/protocols/Aws_restJson1_1.ts @@ -15440,6 +15440,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cloud9/commands/CreateEnvironmentEC2Command.ts b/clients/client-cloud9/commands/CreateEnvironmentEC2Command.ts index d3aa8959e0ed..226da826b8e6 100644 --- a/clients/client-cloud9/commands/CreateEnvironmentEC2Command.ts +++ b/clients/client-cloud9/commands/CreateEnvironmentEC2Command.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEnvironmentEC2CommandInput = CreateEnvironmentEC2Request; @@ -70,14 +70,14 @@ export class CreateEnvironmentEC2Command extends $Command< private serialize( input: CreateEnvironmentEC2CommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEnvironmentEC2Command(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEnvironmentEC2Command(output, context); } diff --git a/clients/client-cloud9/commands/CreateEnvironmentMembershipCommand.ts b/clients/client-cloud9/commands/CreateEnvironmentMembershipCommand.ts index 5f43b1133362..0563fb336ed8 100644 --- a/clients/client-cloud9/commands/CreateEnvironmentMembershipCommand.ts +++ b/clients/client-cloud9/commands/CreateEnvironmentMembershipCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEnvironmentMembershipCommandInput = CreateEnvironmentMembershipRequest; @@ -70,7 +70,7 @@ export class CreateEnvironmentMembershipCommand extends $Command< private serialize( input: CreateEnvironmentMembershipCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEnvironmentMembershipCommand( input, @@ -80,7 +80,7 @@ export class CreateEnvironmentMembershipCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEnvironmentMembershipCommand( output, diff --git a/clients/client-cloud9/commands/DeleteEnvironmentCommand.ts b/clients/client-cloud9/commands/DeleteEnvironmentCommand.ts index 0eec76b01d70..ade75a89a18a 100644 --- a/clients/client-cloud9/commands/DeleteEnvironmentCommand.ts +++ b/clients/client-cloud9/commands/DeleteEnvironmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEnvironmentCommandInput = DeleteEnvironmentRequest; @@ -67,14 +67,14 @@ export class DeleteEnvironmentCommand extends $Command< private serialize( input: DeleteEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEnvironmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEnvironmentCommand(output, context); } diff --git a/clients/client-cloud9/commands/DeleteEnvironmentMembershipCommand.ts b/clients/client-cloud9/commands/DeleteEnvironmentMembershipCommand.ts index 38749725fb32..95e72615571d 100644 --- a/clients/client-cloud9/commands/DeleteEnvironmentMembershipCommand.ts +++ b/clients/client-cloud9/commands/DeleteEnvironmentMembershipCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEnvironmentMembershipCommandInput = DeleteEnvironmentMembershipRequest; @@ -70,7 +70,7 @@ export class DeleteEnvironmentMembershipCommand extends $Command< private serialize( input: DeleteEnvironmentMembershipCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEnvironmentMembershipCommand( input, @@ -80,7 +80,7 @@ export class DeleteEnvironmentMembershipCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEnvironmentMembershipCommand( output, diff --git a/clients/client-cloud9/commands/DescribeEnvironmentMembershipsCommand.ts b/clients/client-cloud9/commands/DescribeEnvironmentMembershipsCommand.ts index 8adf09b17cf2..d12d5e943dbf 100644 --- a/clients/client-cloud9/commands/DescribeEnvironmentMembershipsCommand.ts +++ b/clients/client-cloud9/commands/DescribeEnvironmentMembershipsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEnvironmentMembershipsCommandInput = DescribeEnvironmentMembershipsRequest; @@ -70,7 +70,7 @@ export class DescribeEnvironmentMembershipsCommand extends $Command< private serialize( input: DescribeEnvironmentMembershipsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEnvironmentMembershipsCommand( input, @@ -80,7 +80,7 @@ export class DescribeEnvironmentMembershipsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEnvironmentMembershipsCommand( output, diff --git a/clients/client-cloud9/commands/DescribeEnvironmentStatusCommand.ts b/clients/client-cloud9/commands/DescribeEnvironmentStatusCommand.ts index 572d8fab21f2..ecf8f0bb1d55 100644 --- a/clients/client-cloud9/commands/DescribeEnvironmentStatusCommand.ts +++ b/clients/client-cloud9/commands/DescribeEnvironmentStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEnvironmentStatusCommandInput = DescribeEnvironmentStatusRequest; @@ -70,14 +70,14 @@ export class DescribeEnvironmentStatusCommand extends $Command< private serialize( input: DescribeEnvironmentStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEnvironmentStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEnvironmentStatusCommand( output, diff --git a/clients/client-cloud9/commands/DescribeEnvironmentsCommand.ts b/clients/client-cloud9/commands/DescribeEnvironmentsCommand.ts index dbc5f6348afc..b2da3e06757b 100644 --- a/clients/client-cloud9/commands/DescribeEnvironmentsCommand.ts +++ b/clients/client-cloud9/commands/DescribeEnvironmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEnvironmentsCommandInput = DescribeEnvironmentsRequest; @@ -70,14 +70,14 @@ export class DescribeEnvironmentsCommand extends $Command< private serialize( input: DescribeEnvironmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEnvironmentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEnvironmentsCommand(output, context); } diff --git a/clients/client-cloud9/commands/ListEnvironmentsCommand.ts b/clients/client-cloud9/commands/ListEnvironmentsCommand.ts index f55e196a80ed..d158c9c6ab61 100644 --- a/clients/client-cloud9/commands/ListEnvironmentsCommand.ts +++ b/clients/client-cloud9/commands/ListEnvironmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEnvironmentsCommandInput = ListEnvironmentsRequest; @@ -67,14 +67,14 @@ export class ListEnvironmentsCommand extends $Command< private serialize( input: ListEnvironmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEnvironmentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEnvironmentsCommand(output, context); } diff --git a/clients/client-cloud9/commands/UpdateEnvironmentCommand.ts b/clients/client-cloud9/commands/UpdateEnvironmentCommand.ts index 7d0c112b9cd3..805f7490ef1a 100644 --- a/clients/client-cloud9/commands/UpdateEnvironmentCommand.ts +++ b/clients/client-cloud9/commands/UpdateEnvironmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEnvironmentCommandInput = UpdateEnvironmentRequest; @@ -67,14 +67,14 @@ export class UpdateEnvironmentCommand extends $Command< private serialize( input: UpdateEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateEnvironmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateEnvironmentCommand(output, context); } diff --git a/clients/client-cloud9/commands/UpdateEnvironmentMembershipCommand.ts b/clients/client-cloud9/commands/UpdateEnvironmentMembershipCommand.ts index 27cfb268679a..36d0430bf20d 100644 --- a/clients/client-cloud9/commands/UpdateEnvironmentMembershipCommand.ts +++ b/clients/client-cloud9/commands/UpdateEnvironmentMembershipCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEnvironmentMembershipCommandInput = UpdateEnvironmentMembershipRequest; @@ -70,7 +70,7 @@ export class UpdateEnvironmentMembershipCommand extends $Command< private serialize( input: UpdateEnvironmentMembershipCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateEnvironmentMembershipCommand( input, @@ -80,7 +80,7 @@ export class UpdateEnvironmentMembershipCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateEnvironmentMembershipCommand( output, diff --git a/clients/client-cloud9/protocols/Aws_json1_1.ts b/clients/client-cloud9/protocols/Aws_json1_1.ts index a993593d092b..3b49318ef009 100644 --- a/clients/client-cloud9/protocols/Aws_json1_1.ts +++ b/clients/client-cloud9/protocols/Aws_json1_1.ts @@ -1998,6 +1998,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-clouddirectory/commands/AddFacetToObjectCommand.ts b/clients/client-clouddirectory/commands/AddFacetToObjectCommand.ts index a73e44c2f19b..bbc6a4056e8c 100644 --- a/clients/client-clouddirectory/commands/AddFacetToObjectCommand.ts +++ b/clients/client-clouddirectory/commands/AddFacetToObjectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddFacetToObjectCommandInput = AddFacetToObjectRequest; @@ -67,14 +67,14 @@ export class AddFacetToObjectCommand extends $Command< private serialize( input: AddFacetToObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AddFacetToObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AddFacetToObjectCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/ApplySchemaCommand.ts b/clients/client-clouddirectory/commands/ApplySchemaCommand.ts index df16be4950a3..f6bf0741b716 100644 --- a/clients/client-clouddirectory/commands/ApplySchemaCommand.ts +++ b/clients/client-clouddirectory/commands/ApplySchemaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ApplySchemaCommandInput = ApplySchemaRequest; @@ -64,14 +64,14 @@ export class ApplySchemaCommand extends $Command< private serialize( input: ApplySchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ApplySchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ApplySchemaCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/AttachObjectCommand.ts b/clients/client-clouddirectory/commands/AttachObjectCommand.ts index 0387f33b63a7..02a0e3a27985 100644 --- a/clients/client-clouddirectory/commands/AttachObjectCommand.ts +++ b/clients/client-clouddirectory/commands/AttachObjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachObjectCommandInput = AttachObjectRequest; @@ -64,14 +64,14 @@ export class AttachObjectCommand extends $Command< private serialize( input: AttachObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AttachObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AttachObjectCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/AttachPolicyCommand.ts b/clients/client-clouddirectory/commands/AttachPolicyCommand.ts index cace11e44772..0bde7f75e91b 100644 --- a/clients/client-clouddirectory/commands/AttachPolicyCommand.ts +++ b/clients/client-clouddirectory/commands/AttachPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachPolicyCommandInput = AttachPolicyRequest; @@ -64,14 +64,14 @@ export class AttachPolicyCommand extends $Command< private serialize( input: AttachPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AttachPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AttachPolicyCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/AttachToIndexCommand.ts b/clients/client-clouddirectory/commands/AttachToIndexCommand.ts index a7d1987acd53..a8094da7c727 100644 --- a/clients/client-clouddirectory/commands/AttachToIndexCommand.ts +++ b/clients/client-clouddirectory/commands/AttachToIndexCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachToIndexCommandInput = AttachToIndexRequest; @@ -64,14 +64,14 @@ export class AttachToIndexCommand extends $Command< private serialize( input: AttachToIndexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AttachToIndexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AttachToIndexCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/AttachTypedLinkCommand.ts b/clients/client-clouddirectory/commands/AttachTypedLinkCommand.ts index 6438ca6d138b..6b6793899630 100644 --- a/clients/client-clouddirectory/commands/AttachTypedLinkCommand.ts +++ b/clients/client-clouddirectory/commands/AttachTypedLinkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachTypedLinkCommandInput = AttachTypedLinkRequest; @@ -67,14 +67,14 @@ export class AttachTypedLinkCommand extends $Command< private serialize( input: AttachTypedLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AttachTypedLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AttachTypedLinkCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/BatchReadCommand.ts b/clients/client-clouddirectory/commands/BatchReadCommand.ts index 7040122a6941..b533f1a71cbf 100644 --- a/clients/client-clouddirectory/commands/BatchReadCommand.ts +++ b/clients/client-clouddirectory/commands/BatchReadCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchReadCommandInput = BatchReadRequest; @@ -64,14 +64,14 @@ export class BatchReadCommand extends $Command< private serialize( input: BatchReadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchReadCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchReadCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/BatchWriteCommand.ts b/clients/client-clouddirectory/commands/BatchWriteCommand.ts index e099458014ce..c9ce2b73d7c9 100644 --- a/clients/client-clouddirectory/commands/BatchWriteCommand.ts +++ b/clients/client-clouddirectory/commands/BatchWriteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchWriteCommandInput = BatchWriteRequest; @@ -64,14 +64,14 @@ export class BatchWriteCommand extends $Command< private serialize( input: BatchWriteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchWriteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchWriteCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/CreateDirectoryCommand.ts b/clients/client-clouddirectory/commands/CreateDirectoryCommand.ts index 7de08966fb16..b19b37fdcec6 100644 --- a/clients/client-clouddirectory/commands/CreateDirectoryCommand.ts +++ b/clients/client-clouddirectory/commands/CreateDirectoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDirectoryCommandInput = CreateDirectoryRequest; @@ -67,14 +67,14 @@ export class CreateDirectoryCommand extends $Command< private serialize( input: CreateDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDirectoryCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/CreateFacetCommand.ts b/clients/client-clouddirectory/commands/CreateFacetCommand.ts index 02a66abba7c6..1e69b8907b7c 100644 --- a/clients/client-clouddirectory/commands/CreateFacetCommand.ts +++ b/clients/client-clouddirectory/commands/CreateFacetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFacetCommandInput = CreateFacetRequest; @@ -64,14 +64,14 @@ export class CreateFacetCommand extends $Command< private serialize( input: CreateFacetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFacetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFacetCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/CreateIndexCommand.ts b/clients/client-clouddirectory/commands/CreateIndexCommand.ts index 081e681388b2..10d979d2f891 100644 --- a/clients/client-clouddirectory/commands/CreateIndexCommand.ts +++ b/clients/client-clouddirectory/commands/CreateIndexCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIndexCommandInput = CreateIndexRequest; @@ -64,14 +64,14 @@ export class CreateIndexCommand extends $Command< private serialize( input: CreateIndexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateIndexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateIndexCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/CreateObjectCommand.ts b/clients/client-clouddirectory/commands/CreateObjectCommand.ts index 12d9cbe24369..e531c2a1d92e 100644 --- a/clients/client-clouddirectory/commands/CreateObjectCommand.ts +++ b/clients/client-clouddirectory/commands/CreateObjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateObjectCommandInput = CreateObjectRequest; @@ -64,14 +64,14 @@ export class CreateObjectCommand extends $Command< private serialize( input: CreateObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateObjectCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/CreateSchemaCommand.ts b/clients/client-clouddirectory/commands/CreateSchemaCommand.ts index e9ba56d7ace1..92ea13693689 100644 --- a/clients/client-clouddirectory/commands/CreateSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/CreateSchemaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSchemaCommandInput = CreateSchemaRequest; @@ -64,14 +64,14 @@ export class CreateSchemaCommand extends $Command< private serialize( input: CreateSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSchemaCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/CreateTypedLinkFacetCommand.ts b/clients/client-clouddirectory/commands/CreateTypedLinkFacetCommand.ts index 2c7e23213d18..26d6b362d386 100644 --- a/clients/client-clouddirectory/commands/CreateTypedLinkFacetCommand.ts +++ b/clients/client-clouddirectory/commands/CreateTypedLinkFacetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTypedLinkFacetCommandInput = CreateTypedLinkFacetRequest; @@ -70,14 +70,14 @@ export class CreateTypedLinkFacetCommand extends $Command< private serialize( input: CreateTypedLinkFacetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateTypedLinkFacetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateTypedLinkFacetCommand( output, diff --git a/clients/client-clouddirectory/commands/DeleteDirectoryCommand.ts b/clients/client-clouddirectory/commands/DeleteDirectoryCommand.ts index 1cb974750e92..6bd7b6fb9c3e 100644 --- a/clients/client-clouddirectory/commands/DeleteDirectoryCommand.ts +++ b/clients/client-clouddirectory/commands/DeleteDirectoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDirectoryCommandInput = DeleteDirectoryRequest; @@ -67,14 +67,14 @@ export class DeleteDirectoryCommand extends $Command< private serialize( input: DeleteDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDirectoryCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/DeleteFacetCommand.ts b/clients/client-clouddirectory/commands/DeleteFacetCommand.ts index 61325e82249f..0fa035c10f1b 100644 --- a/clients/client-clouddirectory/commands/DeleteFacetCommand.ts +++ b/clients/client-clouddirectory/commands/DeleteFacetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFacetCommandInput = DeleteFacetRequest; @@ -64,14 +64,14 @@ export class DeleteFacetCommand extends $Command< private serialize( input: DeleteFacetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFacetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFacetCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/DeleteObjectCommand.ts b/clients/client-clouddirectory/commands/DeleteObjectCommand.ts index 8e64237d2c41..7fa3e3c03e1d 100644 --- a/clients/client-clouddirectory/commands/DeleteObjectCommand.ts +++ b/clients/client-clouddirectory/commands/DeleteObjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteObjectCommandInput = DeleteObjectRequest; @@ -64,14 +64,14 @@ export class DeleteObjectCommand extends $Command< private serialize( input: DeleteObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteObjectCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/DeleteSchemaCommand.ts b/clients/client-clouddirectory/commands/DeleteSchemaCommand.ts index 9a276e88236d..03bdb05819ea 100644 --- a/clients/client-clouddirectory/commands/DeleteSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/DeleteSchemaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSchemaCommandInput = DeleteSchemaRequest; @@ -64,14 +64,14 @@ export class DeleteSchemaCommand extends $Command< private serialize( input: DeleteSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSchemaCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/DeleteTypedLinkFacetCommand.ts b/clients/client-clouddirectory/commands/DeleteTypedLinkFacetCommand.ts index 7957ff86c2ee..2d66058a9d1d 100644 --- a/clients/client-clouddirectory/commands/DeleteTypedLinkFacetCommand.ts +++ b/clients/client-clouddirectory/commands/DeleteTypedLinkFacetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTypedLinkFacetCommandInput = DeleteTypedLinkFacetRequest; @@ -70,14 +70,14 @@ export class DeleteTypedLinkFacetCommand extends $Command< private serialize( input: DeleteTypedLinkFacetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteTypedLinkFacetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteTypedLinkFacetCommand( output, diff --git a/clients/client-clouddirectory/commands/DetachFromIndexCommand.ts b/clients/client-clouddirectory/commands/DetachFromIndexCommand.ts index 2989287fcb5e..9264f49e0310 100644 --- a/clients/client-clouddirectory/commands/DetachFromIndexCommand.ts +++ b/clients/client-clouddirectory/commands/DetachFromIndexCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachFromIndexCommandInput = DetachFromIndexRequest; @@ -67,14 +67,14 @@ export class DetachFromIndexCommand extends $Command< private serialize( input: DetachFromIndexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DetachFromIndexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DetachFromIndexCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/DetachObjectCommand.ts b/clients/client-clouddirectory/commands/DetachObjectCommand.ts index 55a959a6a8df..96b9b261a4e7 100644 --- a/clients/client-clouddirectory/commands/DetachObjectCommand.ts +++ b/clients/client-clouddirectory/commands/DetachObjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachObjectCommandInput = DetachObjectRequest; @@ -64,14 +64,14 @@ export class DetachObjectCommand extends $Command< private serialize( input: DetachObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DetachObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DetachObjectCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/DetachPolicyCommand.ts b/clients/client-clouddirectory/commands/DetachPolicyCommand.ts index 7ecaaf02d35c..0d643f2a9578 100644 --- a/clients/client-clouddirectory/commands/DetachPolicyCommand.ts +++ b/clients/client-clouddirectory/commands/DetachPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachPolicyCommandInput = DetachPolicyRequest; @@ -64,14 +64,14 @@ export class DetachPolicyCommand extends $Command< private serialize( input: DetachPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DetachPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DetachPolicyCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/DetachTypedLinkCommand.ts b/clients/client-clouddirectory/commands/DetachTypedLinkCommand.ts index d1b7521eee09..51a903806773 100644 --- a/clients/client-clouddirectory/commands/DetachTypedLinkCommand.ts +++ b/clients/client-clouddirectory/commands/DetachTypedLinkCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachTypedLinkCommandInput = DetachTypedLinkRequest; @@ -65,14 +65,14 @@ export class DetachTypedLinkCommand extends $Command< private serialize( input: DetachTypedLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DetachTypedLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DetachTypedLinkCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/DisableDirectoryCommand.ts b/clients/client-clouddirectory/commands/DisableDirectoryCommand.ts index 1dc1e4b4cb14..c930cf50183e 100644 --- a/clients/client-clouddirectory/commands/DisableDirectoryCommand.ts +++ b/clients/client-clouddirectory/commands/DisableDirectoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableDirectoryCommandInput = DisableDirectoryRequest; @@ -67,14 +67,14 @@ export class DisableDirectoryCommand extends $Command< private serialize( input: DisableDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisableDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisableDirectoryCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/EnableDirectoryCommand.ts b/clients/client-clouddirectory/commands/EnableDirectoryCommand.ts index 5c76643f15cd..eea5e1743c54 100644 --- a/clients/client-clouddirectory/commands/EnableDirectoryCommand.ts +++ b/clients/client-clouddirectory/commands/EnableDirectoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableDirectoryCommandInput = EnableDirectoryRequest; @@ -67,14 +67,14 @@ export class EnableDirectoryCommand extends $Command< private serialize( input: EnableDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1EnableDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1EnableDirectoryCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/GetAppliedSchemaVersionCommand.ts b/clients/client-clouddirectory/commands/GetAppliedSchemaVersionCommand.ts index 0c689d57d149..118a4d3f09cc 100644 --- a/clients/client-clouddirectory/commands/GetAppliedSchemaVersionCommand.ts +++ b/clients/client-clouddirectory/commands/GetAppliedSchemaVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAppliedSchemaVersionCommandInput = GetAppliedSchemaVersionRequest; @@ -70,7 +70,7 @@ export class GetAppliedSchemaVersionCommand extends $Command< private serialize( input: GetAppliedSchemaVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAppliedSchemaVersionCommand( input, @@ -80,7 +80,7 @@ export class GetAppliedSchemaVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAppliedSchemaVersionCommand( output, diff --git a/clients/client-clouddirectory/commands/GetDirectoryCommand.ts b/clients/client-clouddirectory/commands/GetDirectoryCommand.ts index f1c0ec7354bf..e47ea49566ad 100644 --- a/clients/client-clouddirectory/commands/GetDirectoryCommand.ts +++ b/clients/client-clouddirectory/commands/GetDirectoryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDirectoryCommandInput = GetDirectoryRequest; @@ -64,14 +64,14 @@ export class GetDirectoryCommand extends $Command< private serialize( input: GetDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDirectoryCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/GetFacetCommand.ts b/clients/client-clouddirectory/commands/GetFacetCommand.ts index 830a0b17c594..e404d51cb285 100644 --- a/clients/client-clouddirectory/commands/GetFacetCommand.ts +++ b/clients/client-clouddirectory/commands/GetFacetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFacetCommandInput = GetFacetRequest; @@ -64,14 +64,14 @@ export class GetFacetCommand extends $Command< private serialize( input: GetFacetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFacetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFacetCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/GetLinkAttributesCommand.ts b/clients/client-clouddirectory/commands/GetLinkAttributesCommand.ts index 89c148b8800b..3f8fdad8ef8d 100644 --- a/clients/client-clouddirectory/commands/GetLinkAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/GetLinkAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLinkAttributesCommandInput = GetLinkAttributesRequest; @@ -67,14 +67,14 @@ export class GetLinkAttributesCommand extends $Command< private serialize( input: GetLinkAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLinkAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLinkAttributesCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/GetObjectAttributesCommand.ts b/clients/client-clouddirectory/commands/GetObjectAttributesCommand.ts index cf9181fe6200..f66131d08d80 100644 --- a/clients/client-clouddirectory/commands/GetObjectAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/GetObjectAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetObjectAttributesCommandInput = GetObjectAttributesRequest; @@ -70,14 +70,14 @@ export class GetObjectAttributesCommand extends $Command< private serialize( input: GetObjectAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetObjectAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetObjectAttributesCommand( output, diff --git a/clients/client-clouddirectory/commands/GetObjectInformationCommand.ts b/clients/client-clouddirectory/commands/GetObjectInformationCommand.ts index 12fa1b5d545f..0805311ecb8e 100644 --- a/clients/client-clouddirectory/commands/GetObjectInformationCommand.ts +++ b/clients/client-clouddirectory/commands/GetObjectInformationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetObjectInformationCommandInput = GetObjectInformationRequest; @@ -70,14 +70,14 @@ export class GetObjectInformationCommand extends $Command< private serialize( input: GetObjectInformationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetObjectInformationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetObjectInformationCommand( output, diff --git a/clients/client-clouddirectory/commands/GetSchemaAsJsonCommand.ts b/clients/client-clouddirectory/commands/GetSchemaAsJsonCommand.ts index 8d9c00dfa9f8..59120020e4f3 100644 --- a/clients/client-clouddirectory/commands/GetSchemaAsJsonCommand.ts +++ b/clients/client-clouddirectory/commands/GetSchemaAsJsonCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSchemaAsJsonCommandInput = GetSchemaAsJsonRequest; @@ -67,14 +67,14 @@ export class GetSchemaAsJsonCommand extends $Command< private serialize( input: GetSchemaAsJsonCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSchemaAsJsonCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSchemaAsJsonCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/GetTypedLinkFacetInformationCommand.ts b/clients/client-clouddirectory/commands/GetTypedLinkFacetInformationCommand.ts index 68a51f1fd7d1..11724af47b55 100644 --- a/clients/client-clouddirectory/commands/GetTypedLinkFacetInformationCommand.ts +++ b/clients/client-clouddirectory/commands/GetTypedLinkFacetInformationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTypedLinkFacetInformationCommandInput = GetTypedLinkFacetInformationRequest; @@ -70,7 +70,7 @@ export class GetTypedLinkFacetInformationCommand extends $Command< private serialize( input: GetTypedLinkFacetInformationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTypedLinkFacetInformationCommand( input, @@ -80,7 +80,7 @@ export class GetTypedLinkFacetInformationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTypedLinkFacetInformationCommand( output, diff --git a/clients/client-clouddirectory/commands/ListAppliedSchemaArnsCommand.ts b/clients/client-clouddirectory/commands/ListAppliedSchemaArnsCommand.ts index 1d248201c417..f4b7b9f4e553 100644 --- a/clients/client-clouddirectory/commands/ListAppliedSchemaArnsCommand.ts +++ b/clients/client-clouddirectory/commands/ListAppliedSchemaArnsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAppliedSchemaArnsCommandInput = ListAppliedSchemaArnsRequest; @@ -70,14 +70,14 @@ export class ListAppliedSchemaArnsCommand extends $Command< private serialize( input: ListAppliedSchemaArnsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAppliedSchemaArnsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAppliedSchemaArnsCommand( output, diff --git a/clients/client-clouddirectory/commands/ListAttachedIndicesCommand.ts b/clients/client-clouddirectory/commands/ListAttachedIndicesCommand.ts index 67f992fe0995..124b4ffca1f2 100644 --- a/clients/client-clouddirectory/commands/ListAttachedIndicesCommand.ts +++ b/clients/client-clouddirectory/commands/ListAttachedIndicesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAttachedIndicesCommandInput = ListAttachedIndicesRequest; @@ -70,14 +70,14 @@ export class ListAttachedIndicesCommand extends $Command< private serialize( input: ListAttachedIndicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAttachedIndicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAttachedIndicesCommand( output, diff --git a/clients/client-clouddirectory/commands/ListDevelopmentSchemaArnsCommand.ts b/clients/client-clouddirectory/commands/ListDevelopmentSchemaArnsCommand.ts index d37e0a8a0a8d..c4d4f6dbefbe 100644 --- a/clients/client-clouddirectory/commands/ListDevelopmentSchemaArnsCommand.ts +++ b/clients/client-clouddirectory/commands/ListDevelopmentSchemaArnsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDevelopmentSchemaArnsCommandInput = ListDevelopmentSchemaArnsRequest; @@ -70,7 +70,7 @@ export class ListDevelopmentSchemaArnsCommand extends $Command< private serialize( input: ListDevelopmentSchemaArnsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDevelopmentSchemaArnsCommand( input, @@ -80,7 +80,7 @@ export class ListDevelopmentSchemaArnsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDevelopmentSchemaArnsCommand( output, diff --git a/clients/client-clouddirectory/commands/ListDirectoriesCommand.ts b/clients/client-clouddirectory/commands/ListDirectoriesCommand.ts index c0cbabd2e4de..0f1f6efcb875 100644 --- a/clients/client-clouddirectory/commands/ListDirectoriesCommand.ts +++ b/clients/client-clouddirectory/commands/ListDirectoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDirectoriesCommandInput = ListDirectoriesRequest; @@ -67,14 +67,14 @@ export class ListDirectoriesCommand extends $Command< private serialize( input: ListDirectoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDirectoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDirectoriesCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/ListFacetAttributesCommand.ts b/clients/client-clouddirectory/commands/ListFacetAttributesCommand.ts index 070bbda03f50..d31b7c7b86da 100644 --- a/clients/client-clouddirectory/commands/ListFacetAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/ListFacetAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFacetAttributesCommandInput = ListFacetAttributesRequest; @@ -70,14 +70,14 @@ export class ListFacetAttributesCommand extends $Command< private serialize( input: ListFacetAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFacetAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFacetAttributesCommand( output, diff --git a/clients/client-clouddirectory/commands/ListFacetNamesCommand.ts b/clients/client-clouddirectory/commands/ListFacetNamesCommand.ts index 1b9166de5ad7..a238d50e862f 100644 --- a/clients/client-clouddirectory/commands/ListFacetNamesCommand.ts +++ b/clients/client-clouddirectory/commands/ListFacetNamesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFacetNamesCommandInput = ListFacetNamesRequest; @@ -64,14 +64,14 @@ export class ListFacetNamesCommand extends $Command< private serialize( input: ListFacetNamesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFacetNamesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFacetNamesCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/ListIncomingTypedLinksCommand.ts b/clients/client-clouddirectory/commands/ListIncomingTypedLinksCommand.ts index 012c13ba7979..ecee624b275f 100644 --- a/clients/client-clouddirectory/commands/ListIncomingTypedLinksCommand.ts +++ b/clients/client-clouddirectory/commands/ListIncomingTypedLinksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIncomingTypedLinksCommandInput = ListIncomingTypedLinksRequest; @@ -70,7 +70,7 @@ export class ListIncomingTypedLinksCommand extends $Command< private serialize( input: ListIncomingTypedLinksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListIncomingTypedLinksCommand( input, @@ -80,7 +80,7 @@ export class ListIncomingTypedLinksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListIncomingTypedLinksCommand( output, diff --git a/clients/client-clouddirectory/commands/ListIndexCommand.ts b/clients/client-clouddirectory/commands/ListIndexCommand.ts index 5216d86bf36a..ef6fd9c1db4e 100644 --- a/clients/client-clouddirectory/commands/ListIndexCommand.ts +++ b/clients/client-clouddirectory/commands/ListIndexCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIndexCommandInput = ListIndexRequest; @@ -64,14 +64,14 @@ export class ListIndexCommand extends $Command< private serialize( input: ListIndexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListIndexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListIndexCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/ListManagedSchemaArnsCommand.ts b/clients/client-clouddirectory/commands/ListManagedSchemaArnsCommand.ts index 160b76b2278a..7a410d16db5b 100644 --- a/clients/client-clouddirectory/commands/ListManagedSchemaArnsCommand.ts +++ b/clients/client-clouddirectory/commands/ListManagedSchemaArnsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListManagedSchemaArnsCommandInput = ListManagedSchemaArnsRequest; @@ -70,14 +70,14 @@ export class ListManagedSchemaArnsCommand extends $Command< private serialize( input: ListManagedSchemaArnsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListManagedSchemaArnsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListManagedSchemaArnsCommand( output, diff --git a/clients/client-clouddirectory/commands/ListObjectAttributesCommand.ts b/clients/client-clouddirectory/commands/ListObjectAttributesCommand.ts index c9b65edffb98..e7e65cf96c48 100644 --- a/clients/client-clouddirectory/commands/ListObjectAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/ListObjectAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListObjectAttributesCommandInput = ListObjectAttributesRequest; @@ -70,14 +70,14 @@ export class ListObjectAttributesCommand extends $Command< private serialize( input: ListObjectAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListObjectAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListObjectAttributesCommand( output, diff --git a/clients/client-clouddirectory/commands/ListObjectChildrenCommand.ts b/clients/client-clouddirectory/commands/ListObjectChildrenCommand.ts index 989e030427e1..02ddb2d10faf 100644 --- a/clients/client-clouddirectory/commands/ListObjectChildrenCommand.ts +++ b/clients/client-clouddirectory/commands/ListObjectChildrenCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListObjectChildrenCommandInput = ListObjectChildrenRequest; @@ -67,14 +67,14 @@ export class ListObjectChildrenCommand extends $Command< private serialize( input: ListObjectChildrenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListObjectChildrenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListObjectChildrenCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/ListObjectParentPathsCommand.ts b/clients/client-clouddirectory/commands/ListObjectParentPathsCommand.ts index 856c24a70658..897aa08a8830 100644 --- a/clients/client-clouddirectory/commands/ListObjectParentPathsCommand.ts +++ b/clients/client-clouddirectory/commands/ListObjectParentPathsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListObjectParentPathsCommandInput = ListObjectParentPathsRequest; @@ -70,14 +70,14 @@ export class ListObjectParentPathsCommand extends $Command< private serialize( input: ListObjectParentPathsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListObjectParentPathsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListObjectParentPathsCommand( output, diff --git a/clients/client-clouddirectory/commands/ListObjectParentsCommand.ts b/clients/client-clouddirectory/commands/ListObjectParentsCommand.ts index 1b0af461a734..d0e0620b0771 100644 --- a/clients/client-clouddirectory/commands/ListObjectParentsCommand.ts +++ b/clients/client-clouddirectory/commands/ListObjectParentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListObjectParentsCommandInput = ListObjectParentsRequest; @@ -67,14 +67,14 @@ export class ListObjectParentsCommand extends $Command< private serialize( input: ListObjectParentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListObjectParentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListObjectParentsCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/ListObjectPoliciesCommand.ts b/clients/client-clouddirectory/commands/ListObjectPoliciesCommand.ts index 76b9729d1078..17283f072d97 100644 --- a/clients/client-clouddirectory/commands/ListObjectPoliciesCommand.ts +++ b/clients/client-clouddirectory/commands/ListObjectPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListObjectPoliciesCommandInput = ListObjectPoliciesRequest; @@ -67,14 +67,14 @@ export class ListObjectPoliciesCommand extends $Command< private serialize( input: ListObjectPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListObjectPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListObjectPoliciesCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/ListOutgoingTypedLinksCommand.ts b/clients/client-clouddirectory/commands/ListOutgoingTypedLinksCommand.ts index 56dcc2ae4d2f..aa186ff43352 100644 --- a/clients/client-clouddirectory/commands/ListOutgoingTypedLinksCommand.ts +++ b/clients/client-clouddirectory/commands/ListOutgoingTypedLinksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOutgoingTypedLinksCommandInput = ListOutgoingTypedLinksRequest; @@ -70,7 +70,7 @@ export class ListOutgoingTypedLinksCommand extends $Command< private serialize( input: ListOutgoingTypedLinksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListOutgoingTypedLinksCommand( input, @@ -80,7 +80,7 @@ export class ListOutgoingTypedLinksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListOutgoingTypedLinksCommand( output, diff --git a/clients/client-clouddirectory/commands/ListPolicyAttachmentsCommand.ts b/clients/client-clouddirectory/commands/ListPolicyAttachmentsCommand.ts index 7fe69316f148..fc3056ff337f 100644 --- a/clients/client-clouddirectory/commands/ListPolicyAttachmentsCommand.ts +++ b/clients/client-clouddirectory/commands/ListPolicyAttachmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPolicyAttachmentsCommandInput = ListPolicyAttachmentsRequest; @@ -70,14 +70,14 @@ export class ListPolicyAttachmentsCommand extends $Command< private serialize( input: ListPolicyAttachmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPolicyAttachmentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPolicyAttachmentsCommand( output, diff --git a/clients/client-clouddirectory/commands/ListPublishedSchemaArnsCommand.ts b/clients/client-clouddirectory/commands/ListPublishedSchemaArnsCommand.ts index 21d8aaf8d99d..218484bcb57e 100644 --- a/clients/client-clouddirectory/commands/ListPublishedSchemaArnsCommand.ts +++ b/clients/client-clouddirectory/commands/ListPublishedSchemaArnsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPublishedSchemaArnsCommandInput = ListPublishedSchemaArnsRequest; @@ -70,7 +70,7 @@ export class ListPublishedSchemaArnsCommand extends $Command< private serialize( input: ListPublishedSchemaArnsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPublishedSchemaArnsCommand( input, @@ -80,7 +80,7 @@ export class ListPublishedSchemaArnsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPublishedSchemaArnsCommand( output, diff --git a/clients/client-clouddirectory/commands/ListTagsForResourceCommand.ts b/clients/client-clouddirectory/commands/ListTagsForResourceCommand.ts index fb66e8d57384..ba80851f0e95 100644 --- a/clients/client-clouddirectory/commands/ListTagsForResourceCommand.ts +++ b/clients/client-clouddirectory/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-clouddirectory/commands/ListTypedLinkFacetAttributesCommand.ts b/clients/client-clouddirectory/commands/ListTypedLinkFacetAttributesCommand.ts index e8c4f4f60014..08c80f41b0c3 100644 --- a/clients/client-clouddirectory/commands/ListTypedLinkFacetAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/ListTypedLinkFacetAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTypedLinkFacetAttributesCommandInput = ListTypedLinkFacetAttributesRequest; @@ -70,7 +70,7 @@ export class ListTypedLinkFacetAttributesCommand extends $Command< private serialize( input: ListTypedLinkFacetAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTypedLinkFacetAttributesCommand( input, @@ -80,7 +80,7 @@ export class ListTypedLinkFacetAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTypedLinkFacetAttributesCommand( output, diff --git a/clients/client-clouddirectory/commands/ListTypedLinkFacetNamesCommand.ts b/clients/client-clouddirectory/commands/ListTypedLinkFacetNamesCommand.ts index 50f25bea4fe9..6802afdbc9ce 100644 --- a/clients/client-clouddirectory/commands/ListTypedLinkFacetNamesCommand.ts +++ b/clients/client-clouddirectory/commands/ListTypedLinkFacetNamesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTypedLinkFacetNamesCommandInput = ListTypedLinkFacetNamesRequest; @@ -70,7 +70,7 @@ export class ListTypedLinkFacetNamesCommand extends $Command< private serialize( input: ListTypedLinkFacetNamesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTypedLinkFacetNamesCommand( input, @@ -80,7 +80,7 @@ export class ListTypedLinkFacetNamesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTypedLinkFacetNamesCommand( output, diff --git a/clients/client-clouddirectory/commands/LookupPolicyCommand.ts b/clients/client-clouddirectory/commands/LookupPolicyCommand.ts index 732538cfe955..4357452b2437 100644 --- a/clients/client-clouddirectory/commands/LookupPolicyCommand.ts +++ b/clients/client-clouddirectory/commands/LookupPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type LookupPolicyCommandInput = LookupPolicyRequest; @@ -64,14 +64,14 @@ export class LookupPolicyCommand extends $Command< private serialize( input: LookupPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1LookupPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1LookupPolicyCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/PublishSchemaCommand.ts b/clients/client-clouddirectory/commands/PublishSchemaCommand.ts index 47da4aadab01..1ac2b25fe530 100644 --- a/clients/client-clouddirectory/commands/PublishSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/PublishSchemaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PublishSchemaCommandInput = PublishSchemaRequest; @@ -64,14 +64,14 @@ export class PublishSchemaCommand extends $Command< private serialize( input: PublishSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PublishSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PublishSchemaCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/PutSchemaFromJsonCommand.ts b/clients/client-clouddirectory/commands/PutSchemaFromJsonCommand.ts index e192c2743df4..453bec6ce5ec 100644 --- a/clients/client-clouddirectory/commands/PutSchemaFromJsonCommand.ts +++ b/clients/client-clouddirectory/commands/PutSchemaFromJsonCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutSchemaFromJsonCommandInput = PutSchemaFromJsonRequest; @@ -67,14 +67,14 @@ export class PutSchemaFromJsonCommand extends $Command< private serialize( input: PutSchemaFromJsonCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutSchemaFromJsonCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutSchemaFromJsonCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/RemoveFacetFromObjectCommand.ts b/clients/client-clouddirectory/commands/RemoveFacetFromObjectCommand.ts index b6b9fe3d9256..4a81afbf2ab4 100644 --- a/clients/client-clouddirectory/commands/RemoveFacetFromObjectCommand.ts +++ b/clients/client-clouddirectory/commands/RemoveFacetFromObjectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveFacetFromObjectCommandInput = RemoveFacetFromObjectRequest; @@ -70,14 +70,14 @@ export class RemoveFacetFromObjectCommand extends $Command< private serialize( input: RemoveFacetFromObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RemoveFacetFromObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RemoveFacetFromObjectCommand( output, diff --git a/clients/client-clouddirectory/commands/TagResourceCommand.ts b/clients/client-clouddirectory/commands/TagResourceCommand.ts index d4a8e03e2632..9b53e66ab166 100644 --- a/clients/client-clouddirectory/commands/TagResourceCommand.ts +++ b/clients/client-clouddirectory/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/UntagResourceCommand.ts b/clients/client-clouddirectory/commands/UntagResourceCommand.ts index ca70f6a627c3..66f821e9d8dc 100644 --- a/clients/client-clouddirectory/commands/UntagResourceCommand.ts +++ b/clients/client-clouddirectory/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/UpdateFacetCommand.ts b/clients/client-clouddirectory/commands/UpdateFacetCommand.ts index cc84a02a8c0c..3ad4cf915558 100644 --- a/clients/client-clouddirectory/commands/UpdateFacetCommand.ts +++ b/clients/client-clouddirectory/commands/UpdateFacetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFacetCommandInput = UpdateFacetRequest; @@ -64,14 +64,14 @@ export class UpdateFacetCommand extends $Command< private serialize( input: UpdateFacetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFacetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFacetCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/UpdateLinkAttributesCommand.ts b/clients/client-clouddirectory/commands/UpdateLinkAttributesCommand.ts index 774c7809e753..20f588deb1a0 100644 --- a/clients/client-clouddirectory/commands/UpdateLinkAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/UpdateLinkAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLinkAttributesCommandInput = UpdateLinkAttributesRequest; @@ -70,14 +70,14 @@ export class UpdateLinkAttributesCommand extends $Command< private serialize( input: UpdateLinkAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateLinkAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateLinkAttributesCommand( output, diff --git a/clients/client-clouddirectory/commands/UpdateObjectAttributesCommand.ts b/clients/client-clouddirectory/commands/UpdateObjectAttributesCommand.ts index 2f93e83dbfd2..607b841f196a 100644 --- a/clients/client-clouddirectory/commands/UpdateObjectAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/UpdateObjectAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateObjectAttributesCommandInput = UpdateObjectAttributesRequest; @@ -70,7 +70,7 @@ export class UpdateObjectAttributesCommand extends $Command< private serialize( input: UpdateObjectAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateObjectAttributesCommand( input, @@ -80,7 +80,7 @@ export class UpdateObjectAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateObjectAttributesCommand( output, diff --git a/clients/client-clouddirectory/commands/UpdateSchemaCommand.ts b/clients/client-clouddirectory/commands/UpdateSchemaCommand.ts index c8d3092b2ab6..97c01fabd50d 100644 --- a/clients/client-clouddirectory/commands/UpdateSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/UpdateSchemaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSchemaCommandInput = UpdateSchemaRequest; @@ -64,14 +64,14 @@ export class UpdateSchemaCommand extends $Command< private serialize( input: UpdateSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateSchemaCommand(output, context); } diff --git a/clients/client-clouddirectory/commands/UpdateTypedLinkFacetCommand.ts b/clients/client-clouddirectory/commands/UpdateTypedLinkFacetCommand.ts index b9b51c5b69cb..8aa369cb323a 100644 --- a/clients/client-clouddirectory/commands/UpdateTypedLinkFacetCommand.ts +++ b/clients/client-clouddirectory/commands/UpdateTypedLinkFacetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTypedLinkFacetCommandInput = UpdateTypedLinkFacetRequest; @@ -70,14 +70,14 @@ export class UpdateTypedLinkFacetCommand extends $Command< private serialize( input: UpdateTypedLinkFacetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateTypedLinkFacetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateTypedLinkFacetCommand( output, diff --git a/clients/client-clouddirectory/commands/UpgradeAppliedSchemaCommand.ts b/clients/client-clouddirectory/commands/UpgradeAppliedSchemaCommand.ts index 8fe6f6b2a0b4..ea5c8f1585dc 100644 --- a/clients/client-clouddirectory/commands/UpgradeAppliedSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/UpgradeAppliedSchemaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpgradeAppliedSchemaCommandInput = UpgradeAppliedSchemaRequest; @@ -70,14 +70,14 @@ export class UpgradeAppliedSchemaCommand extends $Command< private serialize( input: UpgradeAppliedSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpgradeAppliedSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpgradeAppliedSchemaCommand( output, diff --git a/clients/client-clouddirectory/commands/UpgradePublishedSchemaCommand.ts b/clients/client-clouddirectory/commands/UpgradePublishedSchemaCommand.ts index 3083bc5a4645..e2268455cefb 100644 --- a/clients/client-clouddirectory/commands/UpgradePublishedSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/UpgradePublishedSchemaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpgradePublishedSchemaCommandInput = UpgradePublishedSchemaRequest; @@ -70,7 +70,7 @@ export class UpgradePublishedSchemaCommand extends $Command< private serialize( input: UpgradePublishedSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpgradePublishedSchemaCommand( input, @@ -80,7 +80,7 @@ export class UpgradePublishedSchemaCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpgradePublishedSchemaCommand( output, diff --git a/clients/client-clouddirectory/protocols/Aws_restJson1_1.ts b/clients/client-clouddirectory/protocols/Aws_restJson1_1.ts index f6be6442b482..8679b87361a8 100644 --- a/clients/client-clouddirectory/protocols/Aws_restJson1_1.ts +++ b/clients/client-clouddirectory/protocols/Aws_restJson1_1.ts @@ -13754,6 +13754,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cloudformation/commands/CancelUpdateStackCommand.ts b/clients/client-cloudformation/commands/CancelUpdateStackCommand.ts index 2d2e39218641..b656f8c7234b 100644 --- a/clients/client-cloudformation/commands/CancelUpdateStackCommand.ts +++ b/clients/client-cloudformation/commands/CancelUpdateStackCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelUpdateStackCommandInput = CancelUpdateStackInput; @@ -65,14 +65,14 @@ export class CancelUpdateStackCommand extends $Command< private serialize( input: CancelUpdateStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCancelUpdateStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCancelUpdateStackCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ContinueUpdateRollbackCommand.ts b/clients/client-cloudformation/commands/ContinueUpdateRollbackCommand.ts index b896b3b1151f..843a4266e9be 100644 --- a/clients/client-cloudformation/commands/ContinueUpdateRollbackCommand.ts +++ b/clients/client-cloudformation/commands/ContinueUpdateRollbackCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ContinueUpdateRollbackCommandInput = ContinueUpdateRollbackInput; @@ -70,14 +70,14 @@ export class ContinueUpdateRollbackCommand extends $Command< private serialize( input: ContinueUpdateRollbackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryContinueUpdateRollbackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryContinueUpdateRollbackCommand(output, context); } diff --git a/clients/client-cloudformation/commands/CreateChangeSetCommand.ts b/clients/client-cloudformation/commands/CreateChangeSetCommand.ts index bf3d1ea63bc0..ba5172a299d1 100644 --- a/clients/client-cloudformation/commands/CreateChangeSetCommand.ts +++ b/clients/client-cloudformation/commands/CreateChangeSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateChangeSetCommandInput = CreateChangeSetInput; @@ -64,14 +64,14 @@ export class CreateChangeSetCommand extends $Command< private serialize( input: CreateChangeSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateChangeSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateChangeSetCommand(output, context); } diff --git a/clients/client-cloudformation/commands/CreateStackCommand.ts b/clients/client-cloudformation/commands/CreateStackCommand.ts index b7801dacfb0e..fc2644c4f798 100644 --- a/clients/client-cloudformation/commands/CreateStackCommand.ts +++ b/clients/client-cloudformation/commands/CreateStackCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStackCommandInput = CreateStackInput; @@ -64,14 +64,14 @@ export class CreateStackCommand extends $Command< private serialize( input: CreateStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateStackCommand(output, context); } diff --git a/clients/client-cloudformation/commands/CreateStackInstancesCommand.ts b/clients/client-cloudformation/commands/CreateStackInstancesCommand.ts index 817336391123..4a0707989113 100644 --- a/clients/client-cloudformation/commands/CreateStackInstancesCommand.ts +++ b/clients/client-cloudformation/commands/CreateStackInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStackInstancesCommandInput = CreateStackInstancesInput; @@ -70,14 +70,14 @@ export class CreateStackInstancesCommand extends $Command< private serialize( input: CreateStackInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateStackInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateStackInstancesCommand(output, context); } diff --git a/clients/client-cloudformation/commands/CreateStackSetCommand.ts b/clients/client-cloudformation/commands/CreateStackSetCommand.ts index aa4552211b35..b4cd8152f6a5 100644 --- a/clients/client-cloudformation/commands/CreateStackSetCommand.ts +++ b/clients/client-cloudformation/commands/CreateStackSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStackSetCommandInput = CreateStackSetInput; @@ -64,14 +64,14 @@ export class CreateStackSetCommand extends $Command< private serialize( input: CreateStackSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateStackSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateStackSetCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DeleteChangeSetCommand.ts b/clients/client-cloudformation/commands/DeleteChangeSetCommand.ts index f215203c3ff0..682ed378f9dd 100644 --- a/clients/client-cloudformation/commands/DeleteChangeSetCommand.ts +++ b/clients/client-cloudformation/commands/DeleteChangeSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteChangeSetCommandInput = DeleteChangeSetInput; @@ -64,14 +64,14 @@ export class DeleteChangeSetCommand extends $Command< private serialize( input: DeleteChangeSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteChangeSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteChangeSetCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DeleteStackCommand.ts b/clients/client-cloudformation/commands/DeleteStackCommand.ts index c92c6be3f261..2812b06b5000 100644 --- a/clients/client-cloudformation/commands/DeleteStackCommand.ts +++ b/clients/client-cloudformation/commands/DeleteStackCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStackCommandInput = DeleteStackInput; @@ -65,14 +65,14 @@ export class DeleteStackCommand extends $Command< private serialize( input: DeleteStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteStackCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DeleteStackInstancesCommand.ts b/clients/client-cloudformation/commands/DeleteStackInstancesCommand.ts index d4a39986ded9..3a7981f25e81 100644 --- a/clients/client-cloudformation/commands/DeleteStackInstancesCommand.ts +++ b/clients/client-cloudformation/commands/DeleteStackInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStackInstancesCommandInput = DeleteStackInstancesInput; @@ -70,14 +70,14 @@ export class DeleteStackInstancesCommand extends $Command< private serialize( input: DeleteStackInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteStackInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteStackInstancesCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DeleteStackSetCommand.ts b/clients/client-cloudformation/commands/DeleteStackSetCommand.ts index 2f58cd3160ff..7de62dc6b996 100644 --- a/clients/client-cloudformation/commands/DeleteStackSetCommand.ts +++ b/clients/client-cloudformation/commands/DeleteStackSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStackSetCommandInput = DeleteStackSetInput; @@ -64,14 +64,14 @@ export class DeleteStackSetCommand extends $Command< private serialize( input: DeleteStackSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteStackSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteStackSetCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DeregisterTypeCommand.ts b/clients/client-cloudformation/commands/DeregisterTypeCommand.ts index 7c3574e0e820..8b0747781d49 100644 --- a/clients/client-cloudformation/commands/DeregisterTypeCommand.ts +++ b/clients/client-cloudformation/commands/DeregisterTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterTypeCommandInput = DeregisterTypeInput; @@ -64,14 +64,14 @@ export class DeregisterTypeCommand extends $Command< private serialize( input: DeregisterTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeregisterTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeregisterTypeCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DescribeAccountLimitsCommand.ts b/clients/client-cloudformation/commands/DescribeAccountLimitsCommand.ts index 5f8d2e6e00ca..4f2ef36f846d 100644 --- a/clients/client-cloudformation/commands/DescribeAccountLimitsCommand.ts +++ b/clients/client-cloudformation/commands/DescribeAccountLimitsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountLimitsCommandInput = DescribeAccountLimitsInput; @@ -70,14 +70,14 @@ export class DescribeAccountLimitsCommand extends $Command< private serialize( input: DescribeAccountLimitsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAccountLimitsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAccountLimitsCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DescribeChangeSetCommand.ts b/clients/client-cloudformation/commands/DescribeChangeSetCommand.ts index c7fca31bdb0a..8f156ac10f1a 100644 --- a/clients/client-cloudformation/commands/DescribeChangeSetCommand.ts +++ b/clients/client-cloudformation/commands/DescribeChangeSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeChangeSetCommandInput = DescribeChangeSetInput; @@ -67,14 +67,14 @@ export class DescribeChangeSetCommand extends $Command< private serialize( input: DescribeChangeSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeChangeSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeChangeSetCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DescribeStackDriftDetectionStatusCommand.ts b/clients/client-cloudformation/commands/DescribeStackDriftDetectionStatusCommand.ts index 43422abaaf43..b55052958abb 100644 --- a/clients/client-cloudformation/commands/DescribeStackDriftDetectionStatusCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackDriftDetectionStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStackDriftDetectionStatusCommandInput = DescribeStackDriftDetectionStatusInput; @@ -70,7 +70,7 @@ export class DescribeStackDriftDetectionStatusCommand extends $Command< private serialize( input: DescribeStackDriftDetectionStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeStackDriftDetectionStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribeStackDriftDetectionStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeStackDriftDetectionStatusCommand( output, diff --git a/clients/client-cloudformation/commands/DescribeStackEventsCommand.ts b/clients/client-cloudformation/commands/DescribeStackEventsCommand.ts index ace27868effd..832d53b4b8c2 100644 --- a/clients/client-cloudformation/commands/DescribeStackEventsCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStackEventsCommandInput = DescribeStackEventsInput; @@ -70,14 +70,14 @@ export class DescribeStackEventsCommand extends $Command< private serialize( input: DescribeStackEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeStackEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeStackEventsCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DescribeStackInstanceCommand.ts b/clients/client-cloudformation/commands/DescribeStackInstanceCommand.ts index 62e69e461324..489d5d405a7a 100644 --- a/clients/client-cloudformation/commands/DescribeStackInstanceCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStackInstanceCommandInput = DescribeStackInstanceInput; @@ -70,14 +70,14 @@ export class DescribeStackInstanceCommand extends $Command< private serialize( input: DescribeStackInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeStackInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeStackInstanceCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DescribeStackResourceCommand.ts b/clients/client-cloudformation/commands/DescribeStackResourceCommand.ts index 3a6aa6f7c7ce..6c1669ce32b7 100644 --- a/clients/client-cloudformation/commands/DescribeStackResourceCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStackResourceCommandInput = DescribeStackResourceInput; @@ -70,14 +70,14 @@ export class DescribeStackResourceCommand extends $Command< private serialize( input: DescribeStackResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeStackResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeStackResourceCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DescribeStackResourceDriftsCommand.ts b/clients/client-cloudformation/commands/DescribeStackResourceDriftsCommand.ts index ea33aeb0f89f..c5b38f9b303e 100644 --- a/clients/client-cloudformation/commands/DescribeStackResourceDriftsCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackResourceDriftsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStackResourceDriftsCommandInput = DescribeStackResourceDriftsInput; @@ -70,14 +70,14 @@ export class DescribeStackResourceDriftsCommand extends $Command< private serialize( input: DescribeStackResourceDriftsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeStackResourceDriftsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeStackResourceDriftsCommand( output, diff --git a/clients/client-cloudformation/commands/DescribeStackResourcesCommand.ts b/clients/client-cloudformation/commands/DescribeStackResourcesCommand.ts index e89dca11799b..39c51c220898 100644 --- a/clients/client-cloudformation/commands/DescribeStackResourcesCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStackResourcesCommandInput = DescribeStackResourcesInput; @@ -70,14 +70,14 @@ export class DescribeStackResourcesCommand extends $Command< private serialize( input: DescribeStackResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeStackResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeStackResourcesCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DescribeStackSetCommand.ts b/clients/client-cloudformation/commands/DescribeStackSetCommand.ts index e40c102eabc6..7e80ae9e6356 100644 --- a/clients/client-cloudformation/commands/DescribeStackSetCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStackSetCommandInput = DescribeStackSetInput; @@ -64,14 +64,14 @@ export class DescribeStackSetCommand extends $Command< private serialize( input: DescribeStackSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeStackSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeStackSetCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DescribeStackSetOperationCommand.ts b/clients/client-cloudformation/commands/DescribeStackSetOperationCommand.ts index 0b556ed3ba71..bc8ae81307c1 100644 --- a/clients/client-cloudformation/commands/DescribeStackSetOperationCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackSetOperationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStackSetOperationCommandInput = DescribeStackSetOperationInput; @@ -70,14 +70,14 @@ export class DescribeStackSetOperationCommand extends $Command< private serialize( input: DescribeStackSetOperationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeStackSetOperationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeStackSetOperationCommand( output, diff --git a/clients/client-cloudformation/commands/DescribeStacksCommand.ts b/clients/client-cloudformation/commands/DescribeStacksCommand.ts index a2d3c613c726..55e9c650c1c6 100644 --- a/clients/client-cloudformation/commands/DescribeStacksCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStacksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStacksCommandInput = DescribeStacksInput; @@ -64,14 +64,14 @@ export class DescribeStacksCommand extends $Command< private serialize( input: DescribeStacksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeStacksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeStacksCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DescribeTypeCommand.ts b/clients/client-cloudformation/commands/DescribeTypeCommand.ts index 35194b4aad15..5fa53355bb95 100644 --- a/clients/client-cloudformation/commands/DescribeTypeCommand.ts +++ b/clients/client-cloudformation/commands/DescribeTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTypeCommandInput = DescribeTypeInput; @@ -64,14 +64,14 @@ export class DescribeTypeCommand extends $Command< private serialize( input: DescribeTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeTypeCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DescribeTypeRegistrationCommand.ts b/clients/client-cloudformation/commands/DescribeTypeRegistrationCommand.ts index 796a769e92ea..7464c0c5cd27 100644 --- a/clients/client-cloudformation/commands/DescribeTypeRegistrationCommand.ts +++ b/clients/client-cloudformation/commands/DescribeTypeRegistrationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTypeRegistrationCommandInput = DescribeTypeRegistrationInput; @@ -70,14 +70,14 @@ export class DescribeTypeRegistrationCommand extends $Command< private serialize( input: DescribeTypeRegistrationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeTypeRegistrationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeTypeRegistrationCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DetectStackDriftCommand.ts b/clients/client-cloudformation/commands/DetectStackDriftCommand.ts index 3dc7ef21a664..c092fd22afe7 100644 --- a/clients/client-cloudformation/commands/DetectStackDriftCommand.ts +++ b/clients/client-cloudformation/commands/DetectStackDriftCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectStackDriftCommandInput = DetectStackDriftInput; @@ -64,14 +64,14 @@ export class DetectStackDriftCommand extends $Command< private serialize( input: DetectStackDriftCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDetectStackDriftCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDetectStackDriftCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DetectStackResourceDriftCommand.ts b/clients/client-cloudformation/commands/DetectStackResourceDriftCommand.ts index d693ab765f1b..f0f4b3fe5434 100644 --- a/clients/client-cloudformation/commands/DetectStackResourceDriftCommand.ts +++ b/clients/client-cloudformation/commands/DetectStackResourceDriftCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectStackResourceDriftCommandInput = DetectStackResourceDriftInput; @@ -70,14 +70,14 @@ export class DetectStackResourceDriftCommand extends $Command< private serialize( input: DetectStackResourceDriftCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDetectStackResourceDriftCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDetectStackResourceDriftCommand(output, context); } diff --git a/clients/client-cloudformation/commands/DetectStackSetDriftCommand.ts b/clients/client-cloudformation/commands/DetectStackSetDriftCommand.ts index c562a63ec470..2c4952f61251 100644 --- a/clients/client-cloudformation/commands/DetectStackSetDriftCommand.ts +++ b/clients/client-cloudformation/commands/DetectStackSetDriftCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectStackSetDriftCommandInput = DetectStackSetDriftInput; @@ -70,14 +70,14 @@ export class DetectStackSetDriftCommand extends $Command< private serialize( input: DetectStackSetDriftCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDetectStackSetDriftCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDetectStackSetDriftCommand(output, context); } diff --git a/clients/client-cloudformation/commands/EstimateTemplateCostCommand.ts b/clients/client-cloudformation/commands/EstimateTemplateCostCommand.ts index 75318e7bf2c2..5624c3d6e699 100644 --- a/clients/client-cloudformation/commands/EstimateTemplateCostCommand.ts +++ b/clients/client-cloudformation/commands/EstimateTemplateCostCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EstimateTemplateCostCommandInput = EstimateTemplateCostInput; @@ -70,14 +70,14 @@ export class EstimateTemplateCostCommand extends $Command< private serialize( input: EstimateTemplateCostCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryEstimateTemplateCostCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryEstimateTemplateCostCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ExecuteChangeSetCommand.ts b/clients/client-cloudformation/commands/ExecuteChangeSetCommand.ts index 15b431e674c1..91d9d9f66bc0 100644 --- a/clients/client-cloudformation/commands/ExecuteChangeSetCommand.ts +++ b/clients/client-cloudformation/commands/ExecuteChangeSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExecuteChangeSetCommandInput = ExecuteChangeSetInput; @@ -64,14 +64,14 @@ export class ExecuteChangeSetCommand extends $Command< private serialize( input: ExecuteChangeSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryExecuteChangeSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryExecuteChangeSetCommand(output, context); } diff --git a/clients/client-cloudformation/commands/GetStackPolicyCommand.ts b/clients/client-cloudformation/commands/GetStackPolicyCommand.ts index cc69d313b319..8a3c5c296a9b 100644 --- a/clients/client-cloudformation/commands/GetStackPolicyCommand.ts +++ b/clients/client-cloudformation/commands/GetStackPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetStackPolicyCommandInput = GetStackPolicyInput; @@ -64,14 +64,14 @@ export class GetStackPolicyCommand extends $Command< private serialize( input: GetStackPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetStackPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetStackPolicyCommand(output, context); } diff --git a/clients/client-cloudformation/commands/GetTemplateCommand.ts b/clients/client-cloudformation/commands/GetTemplateCommand.ts index 5e8b89eb97e5..f6f4e89ea991 100644 --- a/clients/client-cloudformation/commands/GetTemplateCommand.ts +++ b/clients/client-cloudformation/commands/GetTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTemplateCommandInput = GetTemplateInput; @@ -64,14 +64,14 @@ export class GetTemplateCommand extends $Command< private serialize( input: GetTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetTemplateCommand(output, context); } diff --git a/clients/client-cloudformation/commands/GetTemplateSummaryCommand.ts b/clients/client-cloudformation/commands/GetTemplateSummaryCommand.ts index c657c59c7052..9bbdab916634 100644 --- a/clients/client-cloudformation/commands/GetTemplateSummaryCommand.ts +++ b/clients/client-cloudformation/commands/GetTemplateSummaryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTemplateSummaryCommandInput = GetTemplateSummaryInput; @@ -67,14 +67,14 @@ export class GetTemplateSummaryCommand extends $Command< private serialize( input: GetTemplateSummaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetTemplateSummaryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetTemplateSummaryCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ListChangeSetsCommand.ts b/clients/client-cloudformation/commands/ListChangeSetsCommand.ts index 090ffc127ed8..47d7e62d7636 100644 --- a/clients/client-cloudformation/commands/ListChangeSetsCommand.ts +++ b/clients/client-cloudformation/commands/ListChangeSetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListChangeSetsCommandInput = ListChangeSetsInput; @@ -64,14 +64,14 @@ export class ListChangeSetsCommand extends $Command< private serialize( input: ListChangeSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListChangeSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListChangeSetsCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ListExportsCommand.ts b/clients/client-cloudformation/commands/ListExportsCommand.ts index 11afc40e8f29..58250ba70473 100644 --- a/clients/client-cloudformation/commands/ListExportsCommand.ts +++ b/clients/client-cloudformation/commands/ListExportsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListExportsCommandInput = ListExportsInput; @@ -64,14 +64,14 @@ export class ListExportsCommand extends $Command< private serialize( input: ListExportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListExportsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListExportsCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ListImportsCommand.ts b/clients/client-cloudformation/commands/ListImportsCommand.ts index b063f0cc1cf3..cf89fd5cc374 100644 --- a/clients/client-cloudformation/commands/ListImportsCommand.ts +++ b/clients/client-cloudformation/commands/ListImportsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListImportsCommandInput = ListImportsInput; @@ -64,14 +64,14 @@ export class ListImportsCommand extends $Command< private serialize( input: ListImportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListImportsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListImportsCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ListStackInstancesCommand.ts b/clients/client-cloudformation/commands/ListStackInstancesCommand.ts index a9e890265270..c12975790cdd 100644 --- a/clients/client-cloudformation/commands/ListStackInstancesCommand.ts +++ b/clients/client-cloudformation/commands/ListStackInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStackInstancesCommandInput = ListStackInstancesInput; @@ -67,14 +67,14 @@ export class ListStackInstancesCommand extends $Command< private serialize( input: ListStackInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListStackInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListStackInstancesCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ListStackResourcesCommand.ts b/clients/client-cloudformation/commands/ListStackResourcesCommand.ts index fb08ebb5268b..cb448387cdd6 100644 --- a/clients/client-cloudformation/commands/ListStackResourcesCommand.ts +++ b/clients/client-cloudformation/commands/ListStackResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStackResourcesCommandInput = ListStackResourcesInput; @@ -67,14 +67,14 @@ export class ListStackResourcesCommand extends $Command< private serialize( input: ListStackResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListStackResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListStackResourcesCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ListStackSetOperationResultsCommand.ts b/clients/client-cloudformation/commands/ListStackSetOperationResultsCommand.ts index 426086603618..65b0aaaebc93 100644 --- a/clients/client-cloudformation/commands/ListStackSetOperationResultsCommand.ts +++ b/clients/client-cloudformation/commands/ListStackSetOperationResultsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStackSetOperationResultsCommandInput = ListStackSetOperationResultsInput; @@ -70,7 +70,7 @@ export class ListStackSetOperationResultsCommand extends $Command< private serialize( input: ListStackSetOperationResultsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListStackSetOperationResultsCommand( input, @@ -80,7 +80,7 @@ export class ListStackSetOperationResultsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListStackSetOperationResultsCommand( output, diff --git a/clients/client-cloudformation/commands/ListStackSetOperationsCommand.ts b/clients/client-cloudformation/commands/ListStackSetOperationsCommand.ts index ed770f49d742..36dbf74cdde5 100644 --- a/clients/client-cloudformation/commands/ListStackSetOperationsCommand.ts +++ b/clients/client-cloudformation/commands/ListStackSetOperationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStackSetOperationsCommandInput = ListStackSetOperationsInput; @@ -70,14 +70,14 @@ export class ListStackSetOperationsCommand extends $Command< private serialize( input: ListStackSetOperationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListStackSetOperationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListStackSetOperationsCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ListStackSetsCommand.ts b/clients/client-cloudformation/commands/ListStackSetsCommand.ts index 636dfd8a7764..b3cb33770c4b 100644 --- a/clients/client-cloudformation/commands/ListStackSetsCommand.ts +++ b/clients/client-cloudformation/commands/ListStackSetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStackSetsCommandInput = ListStackSetsInput; @@ -64,14 +64,14 @@ export class ListStackSetsCommand extends $Command< private serialize( input: ListStackSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListStackSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListStackSetsCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ListStacksCommand.ts b/clients/client-cloudformation/commands/ListStacksCommand.ts index f3a83b41280e..aa6aa239bf2c 100644 --- a/clients/client-cloudformation/commands/ListStacksCommand.ts +++ b/clients/client-cloudformation/commands/ListStacksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStacksCommandInput = ListStacksInput; @@ -64,14 +64,14 @@ export class ListStacksCommand extends $Command< private serialize( input: ListStacksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListStacksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListStacksCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ListTypeRegistrationsCommand.ts b/clients/client-cloudformation/commands/ListTypeRegistrationsCommand.ts index 73b47dc56fc9..2f28eeae57ee 100644 --- a/clients/client-cloudformation/commands/ListTypeRegistrationsCommand.ts +++ b/clients/client-cloudformation/commands/ListTypeRegistrationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTypeRegistrationsCommandInput = ListTypeRegistrationsInput; @@ -70,14 +70,14 @@ export class ListTypeRegistrationsCommand extends $Command< private serialize( input: ListTypeRegistrationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTypeRegistrationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTypeRegistrationsCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ListTypeVersionsCommand.ts b/clients/client-cloudformation/commands/ListTypeVersionsCommand.ts index d09457e51faf..ae7d1ee7ae5b 100644 --- a/clients/client-cloudformation/commands/ListTypeVersionsCommand.ts +++ b/clients/client-cloudformation/commands/ListTypeVersionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTypeVersionsCommandInput = ListTypeVersionsInput; @@ -64,14 +64,14 @@ export class ListTypeVersionsCommand extends $Command< private serialize( input: ListTypeVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTypeVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTypeVersionsCommand(output, context); } diff --git a/clients/client-cloudformation/commands/ListTypesCommand.ts b/clients/client-cloudformation/commands/ListTypesCommand.ts index 504d023dacd9..8404e26fff5c 100644 --- a/clients/client-cloudformation/commands/ListTypesCommand.ts +++ b/clients/client-cloudformation/commands/ListTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTypesCommandInput = ListTypesInput; @@ -64,14 +64,14 @@ export class ListTypesCommand extends $Command< private serialize( input: ListTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTypesCommand(output, context); } diff --git a/clients/client-cloudformation/commands/RecordHandlerProgressCommand.ts b/clients/client-cloudformation/commands/RecordHandlerProgressCommand.ts index 446c2570c1fb..d1e7d8405b32 100644 --- a/clients/client-cloudformation/commands/RecordHandlerProgressCommand.ts +++ b/clients/client-cloudformation/commands/RecordHandlerProgressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RecordHandlerProgressCommandInput = RecordHandlerProgressInput; @@ -70,14 +70,14 @@ export class RecordHandlerProgressCommand extends $Command< private serialize( input: RecordHandlerProgressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRecordHandlerProgressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRecordHandlerProgressCommand(output, context); } diff --git a/clients/client-cloudformation/commands/RegisterTypeCommand.ts b/clients/client-cloudformation/commands/RegisterTypeCommand.ts index 12f987f660fa..16aa79b758a6 100644 --- a/clients/client-cloudformation/commands/RegisterTypeCommand.ts +++ b/clients/client-cloudformation/commands/RegisterTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterTypeCommandInput = RegisterTypeInput; @@ -64,14 +64,14 @@ export class RegisterTypeCommand extends $Command< private serialize( input: RegisterTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRegisterTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRegisterTypeCommand(output, context); } diff --git a/clients/client-cloudformation/commands/SetStackPolicyCommand.ts b/clients/client-cloudformation/commands/SetStackPolicyCommand.ts index a8a76fab5c07..1478955aa211 100644 --- a/clients/client-cloudformation/commands/SetStackPolicyCommand.ts +++ b/clients/client-cloudformation/commands/SetStackPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetStackPolicyCommandInput = SetStackPolicyInput; @@ -65,14 +65,14 @@ export class SetStackPolicyCommand extends $Command< private serialize( input: SetStackPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetStackPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetStackPolicyCommand(output, context); } diff --git a/clients/client-cloudformation/commands/SetTypeDefaultVersionCommand.ts b/clients/client-cloudformation/commands/SetTypeDefaultVersionCommand.ts index e9fe4d696ca0..6b87210d907a 100644 --- a/clients/client-cloudformation/commands/SetTypeDefaultVersionCommand.ts +++ b/clients/client-cloudformation/commands/SetTypeDefaultVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetTypeDefaultVersionCommandInput = SetTypeDefaultVersionInput; @@ -70,14 +70,14 @@ export class SetTypeDefaultVersionCommand extends $Command< private serialize( input: SetTypeDefaultVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetTypeDefaultVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetTypeDefaultVersionCommand(output, context); } diff --git a/clients/client-cloudformation/commands/SignalResourceCommand.ts b/clients/client-cloudformation/commands/SignalResourceCommand.ts index 8c35a362ece4..b6432d848973 100644 --- a/clients/client-cloudformation/commands/SignalResourceCommand.ts +++ b/clients/client-cloudformation/commands/SignalResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SignalResourceCommandInput = SignalResourceInput; @@ -65,14 +65,14 @@ export class SignalResourceCommand extends $Command< private serialize( input: SignalResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySignalResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySignalResourceCommand(output, context); } diff --git a/clients/client-cloudformation/commands/StopStackSetOperationCommand.ts b/clients/client-cloudformation/commands/StopStackSetOperationCommand.ts index 60a37409c723..5816c8937194 100644 --- a/clients/client-cloudformation/commands/StopStackSetOperationCommand.ts +++ b/clients/client-cloudformation/commands/StopStackSetOperationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopStackSetOperationCommandInput = StopStackSetOperationInput; @@ -70,14 +70,14 @@ export class StopStackSetOperationCommand extends $Command< private serialize( input: StopStackSetOperationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryStopStackSetOperationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryStopStackSetOperationCommand(output, context); } diff --git a/clients/client-cloudformation/commands/UpdateStackCommand.ts b/clients/client-cloudformation/commands/UpdateStackCommand.ts index 44e0a7bd09f9..bfa056b44274 100644 --- a/clients/client-cloudformation/commands/UpdateStackCommand.ts +++ b/clients/client-cloudformation/commands/UpdateStackCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStackCommandInput = UpdateStackInput; @@ -64,14 +64,14 @@ export class UpdateStackCommand extends $Command< private serialize( input: UpdateStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateStackCommand(output, context); } diff --git a/clients/client-cloudformation/commands/UpdateStackInstancesCommand.ts b/clients/client-cloudformation/commands/UpdateStackInstancesCommand.ts index 9e81fb27e97a..e4b18b58b5b4 100644 --- a/clients/client-cloudformation/commands/UpdateStackInstancesCommand.ts +++ b/clients/client-cloudformation/commands/UpdateStackInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStackInstancesCommandInput = UpdateStackInstancesInput; @@ -70,14 +70,14 @@ export class UpdateStackInstancesCommand extends $Command< private serialize( input: UpdateStackInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateStackInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateStackInstancesCommand(output, context); } diff --git a/clients/client-cloudformation/commands/UpdateStackSetCommand.ts b/clients/client-cloudformation/commands/UpdateStackSetCommand.ts index 3189361d2675..738ce425f3f8 100644 --- a/clients/client-cloudformation/commands/UpdateStackSetCommand.ts +++ b/clients/client-cloudformation/commands/UpdateStackSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStackSetCommandInput = UpdateStackSetInput; @@ -64,14 +64,14 @@ export class UpdateStackSetCommand extends $Command< private serialize( input: UpdateStackSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateStackSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateStackSetCommand(output, context); } diff --git a/clients/client-cloudformation/commands/UpdateTerminationProtectionCommand.ts b/clients/client-cloudformation/commands/UpdateTerminationProtectionCommand.ts index a9b61ccc537e..dbc3086c7c26 100644 --- a/clients/client-cloudformation/commands/UpdateTerminationProtectionCommand.ts +++ b/clients/client-cloudformation/commands/UpdateTerminationProtectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTerminationProtectionCommandInput = UpdateTerminationProtectionInput; @@ -70,14 +70,14 @@ export class UpdateTerminationProtectionCommand extends $Command< private serialize( input: UpdateTerminationProtectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateTerminationProtectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateTerminationProtectionCommand( output, diff --git a/clients/client-cloudformation/commands/ValidateTemplateCommand.ts b/clients/client-cloudformation/commands/ValidateTemplateCommand.ts index fc2faff43c3f..d4fff0622b68 100644 --- a/clients/client-cloudformation/commands/ValidateTemplateCommand.ts +++ b/clients/client-cloudformation/commands/ValidateTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ValidateTemplateCommandInput = ValidateTemplateInput; @@ -64,14 +64,14 @@ export class ValidateTemplateCommand extends $Command< private serialize( input: ValidateTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryValidateTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryValidateTemplateCommand(output, context); } diff --git a/clients/client-cloudformation/protocols/Aws_query.ts b/clients/client-cloudformation/protocols/Aws_query.ts index 7f9d7ddff94a..7f639edea477 100644 --- a/clients/client-cloudformation/protocols/Aws_query.ts +++ b/clients/client-cloudformation/protocols/Aws_query.ts @@ -10492,6 +10492,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cloudfront/commands/CreateCloudFrontOriginAccessIdentityCommand.ts b/clients/client-cloudfront/commands/CreateCloudFrontOriginAccessIdentityCommand.ts index 8d68680bbdb5..d96fd1c34329 100644 --- a/clients/client-cloudfront/commands/CreateCloudFrontOriginAccessIdentityCommand.ts +++ b/clients/client-cloudfront/commands/CreateCloudFrontOriginAccessIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCloudFrontOriginAccessIdentityCommandInput = CreateCloudFrontOriginAccessIdentityRequest; @@ -72,7 +72,7 @@ export class CreateCloudFrontOriginAccessIdentityCommand extends $Command< private serialize( input: CreateCloudFrontOriginAccessIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateCloudFrontOriginAccessIdentityCommand( input, @@ -82,7 +82,7 @@ export class CreateCloudFrontOriginAccessIdentityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateCloudFrontOriginAccessIdentityCommand( output, diff --git a/clients/client-cloudfront/commands/CreateDistributionCommand.ts b/clients/client-cloudfront/commands/CreateDistributionCommand.ts index 1eefc33f175f..c03203868849 100644 --- a/clients/client-cloudfront/commands/CreateDistributionCommand.ts +++ b/clients/client-cloudfront/commands/CreateDistributionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDistributionCommandInput = CreateDistributionRequest; @@ -67,14 +67,14 @@ export class CreateDistributionCommand extends $Command< private serialize( input: CreateDistributionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateDistributionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateDistributionCommand(output, context); } diff --git a/clients/client-cloudfront/commands/CreateDistributionWithTagsCommand.ts b/clients/client-cloudfront/commands/CreateDistributionWithTagsCommand.ts index 6624da99532e..9e3798e97dca 100644 --- a/clients/client-cloudfront/commands/CreateDistributionWithTagsCommand.ts +++ b/clients/client-cloudfront/commands/CreateDistributionWithTagsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDistributionWithTagsCommandInput = CreateDistributionWithTagsRequest; @@ -70,7 +70,7 @@ export class CreateDistributionWithTagsCommand extends $Command< private serialize( input: CreateDistributionWithTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateDistributionWithTagsCommand( input, @@ -80,7 +80,7 @@ export class CreateDistributionWithTagsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateDistributionWithTagsCommand( output, diff --git a/clients/client-cloudfront/commands/CreateFieldLevelEncryptionConfigCommand.ts b/clients/client-cloudfront/commands/CreateFieldLevelEncryptionConfigCommand.ts index 005718c67a37..0b82e78d53a1 100644 --- a/clients/client-cloudfront/commands/CreateFieldLevelEncryptionConfigCommand.ts +++ b/clients/client-cloudfront/commands/CreateFieldLevelEncryptionConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFieldLevelEncryptionConfigCommandInput = CreateFieldLevelEncryptionConfigRequest; @@ -70,7 +70,7 @@ export class CreateFieldLevelEncryptionConfigCommand extends $Command< private serialize( input: CreateFieldLevelEncryptionConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateFieldLevelEncryptionConfigCommand( input, @@ -80,7 +80,7 @@ export class CreateFieldLevelEncryptionConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateFieldLevelEncryptionConfigCommand( output, diff --git a/clients/client-cloudfront/commands/CreateFieldLevelEncryptionProfileCommand.ts b/clients/client-cloudfront/commands/CreateFieldLevelEncryptionProfileCommand.ts index 3a2ba1d58ef1..23981388d605 100644 --- a/clients/client-cloudfront/commands/CreateFieldLevelEncryptionProfileCommand.ts +++ b/clients/client-cloudfront/commands/CreateFieldLevelEncryptionProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFieldLevelEncryptionProfileCommandInput = CreateFieldLevelEncryptionProfileRequest; @@ -70,7 +70,7 @@ export class CreateFieldLevelEncryptionProfileCommand extends $Command< private serialize( input: CreateFieldLevelEncryptionProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateFieldLevelEncryptionProfileCommand( input, @@ -80,7 +80,7 @@ export class CreateFieldLevelEncryptionProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateFieldLevelEncryptionProfileCommand( output, diff --git a/clients/client-cloudfront/commands/CreateInvalidationCommand.ts b/clients/client-cloudfront/commands/CreateInvalidationCommand.ts index 2b7bb2243f95..52fbc1396428 100644 --- a/clients/client-cloudfront/commands/CreateInvalidationCommand.ts +++ b/clients/client-cloudfront/commands/CreateInvalidationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInvalidationCommandInput = CreateInvalidationRequest; @@ -67,14 +67,14 @@ export class CreateInvalidationCommand extends $Command< private serialize( input: CreateInvalidationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateInvalidationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateInvalidationCommand(output, context); } diff --git a/clients/client-cloudfront/commands/CreatePublicKeyCommand.ts b/clients/client-cloudfront/commands/CreatePublicKeyCommand.ts index a112087796c4..9e7b5dcec0d8 100644 --- a/clients/client-cloudfront/commands/CreatePublicKeyCommand.ts +++ b/clients/client-cloudfront/commands/CreatePublicKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePublicKeyCommandInput = CreatePublicKeyRequest; @@ -64,14 +64,14 @@ export class CreatePublicKeyCommand extends $Command< private serialize( input: CreatePublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreatePublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreatePublicKeyCommand(output, context); } diff --git a/clients/client-cloudfront/commands/CreateStreamingDistributionCommand.ts b/clients/client-cloudfront/commands/CreateStreamingDistributionCommand.ts index 0fa9c6cdb0a1..ad71d8da67d4 100644 --- a/clients/client-cloudfront/commands/CreateStreamingDistributionCommand.ts +++ b/clients/client-cloudfront/commands/CreateStreamingDistributionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStreamingDistributionCommandInput = CreateStreamingDistributionRequest; @@ -70,7 +70,7 @@ export class CreateStreamingDistributionCommand extends $Command< private serialize( input: CreateStreamingDistributionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateStreamingDistributionCommand( input, @@ -80,7 +80,7 @@ export class CreateStreamingDistributionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateStreamingDistributionCommand( output, diff --git a/clients/client-cloudfront/commands/CreateStreamingDistributionWithTagsCommand.ts b/clients/client-cloudfront/commands/CreateStreamingDistributionWithTagsCommand.ts index 6309116d27e8..e5ba7eba1946 100644 --- a/clients/client-cloudfront/commands/CreateStreamingDistributionWithTagsCommand.ts +++ b/clients/client-cloudfront/commands/CreateStreamingDistributionWithTagsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStreamingDistributionWithTagsCommandInput = CreateStreamingDistributionWithTagsRequest; @@ -70,7 +70,7 @@ export class CreateStreamingDistributionWithTagsCommand extends $Command< private serialize( input: CreateStreamingDistributionWithTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateStreamingDistributionWithTagsCommand( input, @@ -80,7 +80,7 @@ export class CreateStreamingDistributionWithTagsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateStreamingDistributionWithTagsCommand( output, diff --git a/clients/client-cloudfront/commands/DeleteCloudFrontOriginAccessIdentityCommand.ts b/clients/client-cloudfront/commands/DeleteCloudFrontOriginAccessIdentityCommand.ts index 909ae5c0cb3f..9191c6e906c9 100644 --- a/clients/client-cloudfront/commands/DeleteCloudFrontOriginAccessIdentityCommand.ts +++ b/clients/client-cloudfront/commands/DeleteCloudFrontOriginAccessIdentityCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCloudFrontOriginAccessIdentityCommandInput = DeleteCloudFrontOriginAccessIdentityRequest; @@ -70,7 +70,7 @@ export class DeleteCloudFrontOriginAccessIdentityCommand extends $Command< private serialize( input: DeleteCloudFrontOriginAccessIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteCloudFrontOriginAccessIdentityCommand( input, @@ -80,7 +80,7 @@ export class DeleteCloudFrontOriginAccessIdentityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteCloudFrontOriginAccessIdentityCommand( output, diff --git a/clients/client-cloudfront/commands/DeleteDistributionCommand.ts b/clients/client-cloudfront/commands/DeleteDistributionCommand.ts index a5707c3f969f..b8dbbe75a475 100644 --- a/clients/client-cloudfront/commands/DeleteDistributionCommand.ts +++ b/clients/client-cloudfront/commands/DeleteDistributionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDistributionCommandInput = DeleteDistributionRequest; @@ -65,14 +65,14 @@ export class DeleteDistributionCommand extends $Command< private serialize( input: DeleteDistributionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteDistributionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteDistributionCommand(output, context); } diff --git a/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionConfigCommand.ts b/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionConfigCommand.ts index fd981ece7f4f..e3478334fb63 100644 --- a/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionConfigCommand.ts +++ b/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionConfigCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFieldLevelEncryptionConfigCommandInput = DeleteFieldLevelEncryptionConfigRequest; @@ -68,7 +68,7 @@ export class DeleteFieldLevelEncryptionConfigCommand extends $Command< private serialize( input: DeleteFieldLevelEncryptionConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteFieldLevelEncryptionConfigCommand( input, @@ -78,7 +78,7 @@ export class DeleteFieldLevelEncryptionConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteFieldLevelEncryptionConfigCommand( output, diff --git a/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionProfileCommand.ts b/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionProfileCommand.ts index 3e45794e9be9..190e56fc0c1a 100644 --- a/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionProfileCommand.ts +++ b/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFieldLevelEncryptionProfileCommandInput = DeleteFieldLevelEncryptionProfileRequest; @@ -68,7 +68,7 @@ export class DeleteFieldLevelEncryptionProfileCommand extends $Command< private serialize( input: DeleteFieldLevelEncryptionProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteFieldLevelEncryptionProfileCommand( input, @@ -78,7 +78,7 @@ export class DeleteFieldLevelEncryptionProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteFieldLevelEncryptionProfileCommand( output, diff --git a/clients/client-cloudfront/commands/DeletePublicKeyCommand.ts b/clients/client-cloudfront/commands/DeletePublicKeyCommand.ts index 30916b115849..8121e76b0341 100644 --- a/clients/client-cloudfront/commands/DeletePublicKeyCommand.ts +++ b/clients/client-cloudfront/commands/DeletePublicKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePublicKeyCommandInput = DeletePublicKeyRequest; @@ -65,14 +65,14 @@ export class DeletePublicKeyCommand extends $Command< private serialize( input: DeletePublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeletePublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeletePublicKeyCommand(output, context); } diff --git a/clients/client-cloudfront/commands/DeleteStreamingDistributionCommand.ts b/clients/client-cloudfront/commands/DeleteStreamingDistributionCommand.ts index 742e30a29431..fbcc442bd845 100644 --- a/clients/client-cloudfront/commands/DeleteStreamingDistributionCommand.ts +++ b/clients/client-cloudfront/commands/DeleteStreamingDistributionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStreamingDistributionCommandInput = DeleteStreamingDistributionRequest; @@ -68,7 +68,7 @@ export class DeleteStreamingDistributionCommand extends $Command< private serialize( input: DeleteStreamingDistributionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteStreamingDistributionCommand( input, @@ -78,7 +78,7 @@ export class DeleteStreamingDistributionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteStreamingDistributionCommand( output, diff --git a/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityCommand.ts b/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityCommand.ts index f7686efc3ff0..439e0571dc20 100644 --- a/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityCommand.ts +++ b/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCloudFrontOriginAccessIdentityCommandInput = GetCloudFrontOriginAccessIdentityRequest; @@ -70,7 +70,7 @@ export class GetCloudFrontOriginAccessIdentityCommand extends $Command< private serialize( input: GetCloudFrontOriginAccessIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetCloudFrontOriginAccessIdentityCommand( input, @@ -80,7 +80,7 @@ export class GetCloudFrontOriginAccessIdentityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetCloudFrontOriginAccessIdentityCommand( output, diff --git a/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityConfigCommand.ts b/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityConfigCommand.ts index bc5fc7227f71..1ab77ebd4f16 100644 --- a/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCloudFrontOriginAccessIdentityConfigCommandInput = GetCloudFrontOriginAccessIdentityConfigRequest; @@ -72,7 +72,7 @@ export class GetCloudFrontOriginAccessIdentityConfigCommand extends $Command< private serialize( input: GetCloudFrontOriginAccessIdentityConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetCloudFrontOriginAccessIdentityConfigCommand( input, @@ -82,7 +82,7 @@ export class GetCloudFrontOriginAccessIdentityConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetCloudFrontOriginAccessIdentityConfigCommand( output, diff --git a/clients/client-cloudfront/commands/GetDistributionCommand.ts b/clients/client-cloudfront/commands/GetDistributionCommand.ts index c02b5d7b32e4..f8437feaf7dd 100644 --- a/clients/client-cloudfront/commands/GetDistributionCommand.ts +++ b/clients/client-cloudfront/commands/GetDistributionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDistributionCommandInput = GetDistributionRequest; @@ -64,14 +64,14 @@ export class GetDistributionCommand extends $Command< private serialize( input: GetDistributionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetDistributionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetDistributionCommand(output, context); } diff --git a/clients/client-cloudfront/commands/GetDistributionConfigCommand.ts b/clients/client-cloudfront/commands/GetDistributionConfigCommand.ts index 2a30d49d282b..fd851e6e89eb 100644 --- a/clients/client-cloudfront/commands/GetDistributionConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetDistributionConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDistributionConfigCommandInput = GetDistributionConfigRequest; @@ -70,14 +70,14 @@ export class GetDistributionConfigCommand extends $Command< private serialize( input: GetDistributionConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetDistributionConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetDistributionConfigCommand(output, context); } diff --git a/clients/client-cloudfront/commands/GetFieldLevelEncryptionCommand.ts b/clients/client-cloudfront/commands/GetFieldLevelEncryptionCommand.ts index 6dc236782da2..649ffb2d66c4 100644 --- a/clients/client-cloudfront/commands/GetFieldLevelEncryptionCommand.ts +++ b/clients/client-cloudfront/commands/GetFieldLevelEncryptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFieldLevelEncryptionCommandInput = GetFieldLevelEncryptionRequest; @@ -70,14 +70,14 @@ export class GetFieldLevelEncryptionCommand extends $Command< private serialize( input: GetFieldLevelEncryptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetFieldLevelEncryptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetFieldLevelEncryptionCommand( output, diff --git a/clients/client-cloudfront/commands/GetFieldLevelEncryptionConfigCommand.ts b/clients/client-cloudfront/commands/GetFieldLevelEncryptionConfigCommand.ts index 661918664e00..2b3182e7f7df 100644 --- a/clients/client-cloudfront/commands/GetFieldLevelEncryptionConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetFieldLevelEncryptionConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFieldLevelEncryptionConfigCommandInput = GetFieldLevelEncryptionConfigRequest; @@ -70,7 +70,7 @@ export class GetFieldLevelEncryptionConfigCommand extends $Command< private serialize( input: GetFieldLevelEncryptionConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetFieldLevelEncryptionConfigCommand( input, @@ -80,7 +80,7 @@ export class GetFieldLevelEncryptionConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetFieldLevelEncryptionConfigCommand( output, diff --git a/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileCommand.ts b/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileCommand.ts index 2fbda6afe8f8..daa6bc831bbc 100644 --- a/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileCommand.ts +++ b/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFieldLevelEncryptionProfileCommandInput = GetFieldLevelEncryptionProfileRequest; @@ -70,7 +70,7 @@ export class GetFieldLevelEncryptionProfileCommand extends $Command< private serialize( input: GetFieldLevelEncryptionProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetFieldLevelEncryptionProfileCommand( input, @@ -80,7 +80,7 @@ export class GetFieldLevelEncryptionProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetFieldLevelEncryptionProfileCommand( output, diff --git a/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileConfigCommand.ts b/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileConfigCommand.ts index 33f6f5ced436..f6c759d89131 100644 --- a/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFieldLevelEncryptionProfileConfigCommandInput = GetFieldLevelEncryptionProfileConfigRequest; @@ -72,7 +72,7 @@ export class GetFieldLevelEncryptionProfileConfigCommand extends $Command< private serialize( input: GetFieldLevelEncryptionProfileConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetFieldLevelEncryptionProfileConfigCommand( input, @@ -82,7 +82,7 @@ export class GetFieldLevelEncryptionProfileConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetFieldLevelEncryptionProfileConfigCommand( output, diff --git a/clients/client-cloudfront/commands/GetInvalidationCommand.ts b/clients/client-cloudfront/commands/GetInvalidationCommand.ts index 703a937aa08b..cd538aafc95f 100644 --- a/clients/client-cloudfront/commands/GetInvalidationCommand.ts +++ b/clients/client-cloudfront/commands/GetInvalidationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInvalidationCommandInput = GetInvalidationRequest; @@ -64,14 +64,14 @@ export class GetInvalidationCommand extends $Command< private serialize( input: GetInvalidationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetInvalidationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetInvalidationCommand(output, context); } diff --git a/clients/client-cloudfront/commands/GetPublicKeyCommand.ts b/clients/client-cloudfront/commands/GetPublicKeyCommand.ts index b25bc7087ad2..4d2dc37d2c25 100644 --- a/clients/client-cloudfront/commands/GetPublicKeyCommand.ts +++ b/clients/client-cloudfront/commands/GetPublicKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPublicKeyCommandInput = GetPublicKeyRequest; @@ -64,14 +64,14 @@ export class GetPublicKeyCommand extends $Command< private serialize( input: GetPublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetPublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetPublicKeyCommand(output, context); } diff --git a/clients/client-cloudfront/commands/GetPublicKeyConfigCommand.ts b/clients/client-cloudfront/commands/GetPublicKeyConfigCommand.ts index 1398038b7862..40651cf342d1 100644 --- a/clients/client-cloudfront/commands/GetPublicKeyConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetPublicKeyConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPublicKeyConfigCommandInput = GetPublicKeyConfigRequest; @@ -67,14 +67,14 @@ export class GetPublicKeyConfigCommand extends $Command< private serialize( input: GetPublicKeyConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetPublicKeyConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetPublicKeyConfigCommand(output, context); } diff --git a/clients/client-cloudfront/commands/GetStreamingDistributionCommand.ts b/clients/client-cloudfront/commands/GetStreamingDistributionCommand.ts index 1e948562f5d3..3c4bc7c994a8 100644 --- a/clients/client-cloudfront/commands/GetStreamingDistributionCommand.ts +++ b/clients/client-cloudfront/commands/GetStreamingDistributionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetStreamingDistributionCommandInput = GetStreamingDistributionRequest; @@ -70,14 +70,14 @@ export class GetStreamingDistributionCommand extends $Command< private serialize( input: GetStreamingDistributionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetStreamingDistributionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetStreamingDistributionCommand( output, diff --git a/clients/client-cloudfront/commands/GetStreamingDistributionConfigCommand.ts b/clients/client-cloudfront/commands/GetStreamingDistributionConfigCommand.ts index d2a59ab1547d..409989a08419 100644 --- a/clients/client-cloudfront/commands/GetStreamingDistributionConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetStreamingDistributionConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetStreamingDistributionConfigCommandInput = GetStreamingDistributionConfigRequest; @@ -70,7 +70,7 @@ export class GetStreamingDistributionConfigCommand extends $Command< private serialize( input: GetStreamingDistributionConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetStreamingDistributionConfigCommand( input, @@ -80,7 +80,7 @@ export class GetStreamingDistributionConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetStreamingDistributionConfigCommand( output, diff --git a/clients/client-cloudfront/commands/ListCloudFrontOriginAccessIdentitiesCommand.ts b/clients/client-cloudfront/commands/ListCloudFrontOriginAccessIdentitiesCommand.ts index 71acef9416f2..d35d68f96875 100644 --- a/clients/client-cloudfront/commands/ListCloudFrontOriginAccessIdentitiesCommand.ts +++ b/clients/client-cloudfront/commands/ListCloudFrontOriginAccessIdentitiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCloudFrontOriginAccessIdentitiesCommandInput = ListCloudFrontOriginAccessIdentitiesRequest; @@ -72,7 +72,7 @@ export class ListCloudFrontOriginAccessIdentitiesCommand extends $Command< private serialize( input: ListCloudFrontOriginAccessIdentitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListCloudFrontOriginAccessIdentitiesCommand( input, @@ -82,7 +82,7 @@ export class ListCloudFrontOriginAccessIdentitiesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListCloudFrontOriginAccessIdentitiesCommand( output, diff --git a/clients/client-cloudfront/commands/ListDistributionsByWebACLIdCommand.ts b/clients/client-cloudfront/commands/ListDistributionsByWebACLIdCommand.ts index c806dfae5a78..14249f4573ae 100644 --- a/clients/client-cloudfront/commands/ListDistributionsByWebACLIdCommand.ts +++ b/clients/client-cloudfront/commands/ListDistributionsByWebACLIdCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDistributionsByWebACLIdCommandInput = ListDistributionsByWebACLIdRequest; @@ -70,7 +70,7 @@ export class ListDistributionsByWebACLIdCommand extends $Command< private serialize( input: ListDistributionsByWebACLIdCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListDistributionsByWebACLIdCommand( input, @@ -80,7 +80,7 @@ export class ListDistributionsByWebACLIdCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListDistributionsByWebACLIdCommand( output, diff --git a/clients/client-cloudfront/commands/ListDistributionsCommand.ts b/clients/client-cloudfront/commands/ListDistributionsCommand.ts index 20503901fb7d..a089ce5cb66e 100644 --- a/clients/client-cloudfront/commands/ListDistributionsCommand.ts +++ b/clients/client-cloudfront/commands/ListDistributionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDistributionsCommandInput = ListDistributionsRequest; @@ -67,14 +67,14 @@ export class ListDistributionsCommand extends $Command< private serialize( input: ListDistributionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListDistributionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListDistributionsCommand(output, context); } diff --git a/clients/client-cloudfront/commands/ListFieldLevelEncryptionConfigsCommand.ts b/clients/client-cloudfront/commands/ListFieldLevelEncryptionConfigsCommand.ts index fa9eab2e3c4d..a7c7554d7e58 100644 --- a/clients/client-cloudfront/commands/ListFieldLevelEncryptionConfigsCommand.ts +++ b/clients/client-cloudfront/commands/ListFieldLevelEncryptionConfigsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFieldLevelEncryptionConfigsCommandInput = ListFieldLevelEncryptionConfigsRequest; @@ -70,7 +70,7 @@ export class ListFieldLevelEncryptionConfigsCommand extends $Command< private serialize( input: ListFieldLevelEncryptionConfigsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListFieldLevelEncryptionConfigsCommand( input, @@ -80,7 +80,7 @@ export class ListFieldLevelEncryptionConfigsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListFieldLevelEncryptionConfigsCommand( output, diff --git a/clients/client-cloudfront/commands/ListFieldLevelEncryptionProfilesCommand.ts b/clients/client-cloudfront/commands/ListFieldLevelEncryptionProfilesCommand.ts index 546e568ba7ae..11507308f928 100644 --- a/clients/client-cloudfront/commands/ListFieldLevelEncryptionProfilesCommand.ts +++ b/clients/client-cloudfront/commands/ListFieldLevelEncryptionProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFieldLevelEncryptionProfilesCommandInput = ListFieldLevelEncryptionProfilesRequest; @@ -70,7 +70,7 @@ export class ListFieldLevelEncryptionProfilesCommand extends $Command< private serialize( input: ListFieldLevelEncryptionProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListFieldLevelEncryptionProfilesCommand( input, @@ -80,7 +80,7 @@ export class ListFieldLevelEncryptionProfilesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListFieldLevelEncryptionProfilesCommand( output, diff --git a/clients/client-cloudfront/commands/ListInvalidationsCommand.ts b/clients/client-cloudfront/commands/ListInvalidationsCommand.ts index 073f2f95d6a8..e3628f6397fa 100644 --- a/clients/client-cloudfront/commands/ListInvalidationsCommand.ts +++ b/clients/client-cloudfront/commands/ListInvalidationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInvalidationsCommandInput = ListInvalidationsRequest; @@ -67,14 +67,14 @@ export class ListInvalidationsCommand extends $Command< private serialize( input: ListInvalidationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListInvalidationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListInvalidationsCommand(output, context); } diff --git a/clients/client-cloudfront/commands/ListPublicKeysCommand.ts b/clients/client-cloudfront/commands/ListPublicKeysCommand.ts index 1ad1d8d699d0..e0b6db16ad7f 100644 --- a/clients/client-cloudfront/commands/ListPublicKeysCommand.ts +++ b/clients/client-cloudfront/commands/ListPublicKeysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPublicKeysCommandInput = ListPublicKeysRequest; @@ -64,14 +64,14 @@ export class ListPublicKeysCommand extends $Command< private serialize( input: ListPublicKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListPublicKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListPublicKeysCommand(output, context); } diff --git a/clients/client-cloudfront/commands/ListStreamingDistributionsCommand.ts b/clients/client-cloudfront/commands/ListStreamingDistributionsCommand.ts index 08c2101fc5b6..5734e0e07c62 100644 --- a/clients/client-cloudfront/commands/ListStreamingDistributionsCommand.ts +++ b/clients/client-cloudfront/commands/ListStreamingDistributionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStreamingDistributionsCommandInput = ListStreamingDistributionsRequest; @@ -70,7 +70,7 @@ export class ListStreamingDistributionsCommand extends $Command< private serialize( input: ListStreamingDistributionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListStreamingDistributionsCommand( input, @@ -80,7 +80,7 @@ export class ListStreamingDistributionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListStreamingDistributionsCommand( output, diff --git a/clients/client-cloudfront/commands/ListTagsForResourceCommand.ts b/clients/client-cloudfront/commands/ListTagsForResourceCommand.ts index d4e4894ab4bf..5eed1d082cf0 100644 --- a/clients/client-cloudfront/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cloudfront/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListTagsForResourceCommand(output, context); } diff --git a/clients/client-cloudfront/commands/TagResourceCommand.ts b/clients/client-cloudfront/commands/TagResourceCommand.ts index 9881782974a5..3a1808edf797 100644 --- a/clients/client-cloudfront/commands/TagResourceCommand.ts +++ b/clients/client-cloudfront/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlTagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlTagResourceCommand(output, context); } diff --git a/clients/client-cloudfront/commands/UntagResourceCommand.ts b/clients/client-cloudfront/commands/UntagResourceCommand.ts index f18d8dcf18ff..48f1843b30c5 100644 --- a/clients/client-cloudfront/commands/UntagResourceCommand.ts +++ b/clients/client-cloudfront/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUntagResourceCommand(output, context); } diff --git a/clients/client-cloudfront/commands/UpdateCloudFrontOriginAccessIdentityCommand.ts b/clients/client-cloudfront/commands/UpdateCloudFrontOriginAccessIdentityCommand.ts index b86850419f09..f76397244bee 100644 --- a/clients/client-cloudfront/commands/UpdateCloudFrontOriginAccessIdentityCommand.ts +++ b/clients/client-cloudfront/commands/UpdateCloudFrontOriginAccessIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCloudFrontOriginAccessIdentityCommandInput = UpdateCloudFrontOriginAccessIdentityRequest; @@ -72,7 +72,7 @@ export class UpdateCloudFrontOriginAccessIdentityCommand extends $Command< private serialize( input: UpdateCloudFrontOriginAccessIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand( input, @@ -82,7 +82,7 @@ export class UpdateCloudFrontOriginAccessIdentityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand( output, diff --git a/clients/client-cloudfront/commands/UpdateDistributionCommand.ts b/clients/client-cloudfront/commands/UpdateDistributionCommand.ts index 8c4be2922f2f..10d961946503 100644 --- a/clients/client-cloudfront/commands/UpdateDistributionCommand.ts +++ b/clients/client-cloudfront/commands/UpdateDistributionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDistributionCommandInput = UpdateDistributionRequest; @@ -67,14 +67,14 @@ export class UpdateDistributionCommand extends $Command< private serialize( input: UpdateDistributionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdateDistributionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdateDistributionCommand(output, context); } diff --git a/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionConfigCommand.ts b/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionConfigCommand.ts index 7ce193d80508..dec7bfbd52c6 100644 --- a/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionConfigCommand.ts +++ b/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFieldLevelEncryptionConfigCommandInput = UpdateFieldLevelEncryptionConfigRequest; @@ -70,7 +70,7 @@ export class UpdateFieldLevelEncryptionConfigCommand extends $Command< private serialize( input: UpdateFieldLevelEncryptionConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand( input, @@ -80,7 +80,7 @@ export class UpdateFieldLevelEncryptionConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand( output, diff --git a/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionProfileCommand.ts b/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionProfileCommand.ts index 9f7223163780..7fee98a89977 100644 --- a/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionProfileCommand.ts +++ b/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFieldLevelEncryptionProfileCommandInput = UpdateFieldLevelEncryptionProfileRequest; @@ -70,7 +70,7 @@ export class UpdateFieldLevelEncryptionProfileCommand extends $Command< private serialize( input: UpdateFieldLevelEncryptionProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdateFieldLevelEncryptionProfileCommand( input, @@ -80,7 +80,7 @@ export class UpdateFieldLevelEncryptionProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdateFieldLevelEncryptionProfileCommand( output, diff --git a/clients/client-cloudfront/commands/UpdatePublicKeyCommand.ts b/clients/client-cloudfront/commands/UpdatePublicKeyCommand.ts index 7e34739013d6..659da3a2baf5 100644 --- a/clients/client-cloudfront/commands/UpdatePublicKeyCommand.ts +++ b/clients/client-cloudfront/commands/UpdatePublicKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePublicKeyCommandInput = UpdatePublicKeyRequest; @@ -64,14 +64,14 @@ export class UpdatePublicKeyCommand extends $Command< private serialize( input: UpdatePublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdatePublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdatePublicKeyCommand(output, context); } diff --git a/clients/client-cloudfront/commands/UpdateStreamingDistributionCommand.ts b/clients/client-cloudfront/commands/UpdateStreamingDistributionCommand.ts index 4858cdce7633..3d4d0191f5b8 100644 --- a/clients/client-cloudfront/commands/UpdateStreamingDistributionCommand.ts +++ b/clients/client-cloudfront/commands/UpdateStreamingDistributionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStreamingDistributionCommandInput = UpdateStreamingDistributionRequest; @@ -70,7 +70,7 @@ export class UpdateStreamingDistributionCommand extends $Command< private serialize( input: UpdateStreamingDistributionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdateStreamingDistributionCommand( input, @@ -80,7 +80,7 @@ export class UpdateStreamingDistributionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdateStreamingDistributionCommand( output, diff --git a/clients/client-cloudfront/protocols/Aws_restXml.ts b/clients/client-cloudfront/protocols/Aws_restXml.ts index 28b2865c17c4..4a256475be1a 100644 --- a/clients/client-cloudfront/protocols/Aws_restXml.ts +++ b/clients/client-cloudfront/protocols/Aws_restXml.ts @@ -12483,6 +12483,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cloudhsm-v2/commands/CopyBackupToRegionCommand.ts b/clients/client-cloudhsm-v2/commands/CopyBackupToRegionCommand.ts index d3a11f4935b2..75daeefd5f57 100644 --- a/clients/client-cloudhsm-v2/commands/CopyBackupToRegionCommand.ts +++ b/clients/client-cloudhsm-v2/commands/CopyBackupToRegionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyBackupToRegionCommandInput = CopyBackupToRegionRequest; @@ -67,14 +67,14 @@ export class CopyBackupToRegionCommand extends $Command< private serialize( input: CopyBackupToRegionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CopyBackupToRegionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CopyBackupToRegionCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/CreateClusterCommand.ts b/clients/client-cloudhsm-v2/commands/CreateClusterCommand.ts index eba4ed27e92c..4f4d71268df8 100644 --- a/clients/client-cloudhsm-v2/commands/CreateClusterCommand.ts +++ b/clients/client-cloudhsm-v2/commands/CreateClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClusterCommandInput = CreateClusterRequest; @@ -64,14 +64,14 @@ export class CreateClusterCommand extends $Command< private serialize( input: CreateClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateClusterCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/CreateHsmCommand.ts b/clients/client-cloudhsm-v2/commands/CreateHsmCommand.ts index 0718a9fc47e7..317a99c49a23 100644 --- a/clients/client-cloudhsm-v2/commands/CreateHsmCommand.ts +++ b/clients/client-cloudhsm-v2/commands/CreateHsmCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHsmCommandInput = CreateHsmRequest; @@ -64,14 +64,14 @@ export class CreateHsmCommand extends $Command< private serialize( input: CreateHsmCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateHsmCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateHsmCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/DeleteBackupCommand.ts b/clients/client-cloudhsm-v2/commands/DeleteBackupCommand.ts index 29c3c6f398e7..3925fd9ef456 100644 --- a/clients/client-cloudhsm-v2/commands/DeleteBackupCommand.ts +++ b/clients/client-cloudhsm-v2/commands/DeleteBackupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBackupCommandInput = DeleteBackupRequest; @@ -64,14 +64,14 @@ export class DeleteBackupCommand extends $Command< private serialize( input: DeleteBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteBackupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteBackupCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/DeleteClusterCommand.ts b/clients/client-cloudhsm-v2/commands/DeleteClusterCommand.ts index 6b214b2c69fe..5b3e3ad427f3 100644 --- a/clients/client-cloudhsm-v2/commands/DeleteClusterCommand.ts +++ b/clients/client-cloudhsm-v2/commands/DeleteClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClusterCommandInput = DeleteClusterRequest; @@ -64,14 +64,14 @@ export class DeleteClusterCommand extends $Command< private serialize( input: DeleteClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteClusterCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/DeleteHsmCommand.ts b/clients/client-cloudhsm-v2/commands/DeleteHsmCommand.ts index 760d0f812793..04d5a5595988 100644 --- a/clients/client-cloudhsm-v2/commands/DeleteHsmCommand.ts +++ b/clients/client-cloudhsm-v2/commands/DeleteHsmCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteHsmCommandInput = DeleteHsmRequest; @@ -64,14 +64,14 @@ export class DeleteHsmCommand extends $Command< private serialize( input: DeleteHsmCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteHsmCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteHsmCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/DescribeBackupsCommand.ts b/clients/client-cloudhsm-v2/commands/DescribeBackupsCommand.ts index d8c0a6178d71..e56ba683790e 100644 --- a/clients/client-cloudhsm-v2/commands/DescribeBackupsCommand.ts +++ b/clients/client-cloudhsm-v2/commands/DescribeBackupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBackupsCommandInput = DescribeBackupsRequest; @@ -67,14 +67,14 @@ export class DescribeBackupsCommand extends $Command< private serialize( input: DescribeBackupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeBackupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeBackupsCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/DescribeClustersCommand.ts b/clients/client-cloudhsm-v2/commands/DescribeClustersCommand.ts index 0d316247496f..ef4b0916394e 100644 --- a/clients/client-cloudhsm-v2/commands/DescribeClustersCommand.ts +++ b/clients/client-cloudhsm-v2/commands/DescribeClustersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClustersCommandInput = DescribeClustersRequest; @@ -67,14 +67,14 @@ export class DescribeClustersCommand extends $Command< private serialize( input: DescribeClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeClustersCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/InitializeClusterCommand.ts b/clients/client-cloudhsm-v2/commands/InitializeClusterCommand.ts index 3f1cd6e97115..6d0287d06529 100644 --- a/clients/client-cloudhsm-v2/commands/InitializeClusterCommand.ts +++ b/clients/client-cloudhsm-v2/commands/InitializeClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InitializeClusterCommandInput = InitializeClusterRequest; @@ -67,14 +67,14 @@ export class InitializeClusterCommand extends $Command< private serialize( input: InitializeClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1InitializeClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1InitializeClusterCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/ListTagsCommand.ts b/clients/client-cloudhsm-v2/commands/ListTagsCommand.ts index 86119a78d982..735468f7e949 100644 --- a/clients/client-cloudhsm-v2/commands/ListTagsCommand.ts +++ b/clients/client-cloudhsm-v2/commands/ListTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsCommandInput = ListTagsRequest; @@ -64,14 +64,14 @@ export class ListTagsCommand extends $Command< private serialize( input: ListTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/RestoreBackupCommand.ts b/clients/client-cloudhsm-v2/commands/RestoreBackupCommand.ts index 41dfe0eef99d..80bee437f28c 100644 --- a/clients/client-cloudhsm-v2/commands/RestoreBackupCommand.ts +++ b/clients/client-cloudhsm-v2/commands/RestoreBackupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreBackupCommandInput = RestoreBackupRequest; @@ -64,14 +64,14 @@ export class RestoreBackupCommand extends $Command< private serialize( input: RestoreBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RestoreBackupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RestoreBackupCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/TagResourceCommand.ts b/clients/client-cloudhsm-v2/commands/TagResourceCommand.ts index ebd9b72c7dd1..06f5d6a6827d 100644 --- a/clients/client-cloudhsm-v2/commands/TagResourceCommand.ts +++ b/clients/client-cloudhsm-v2/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/commands/UntagResourceCommand.ts b/clients/client-cloudhsm-v2/commands/UntagResourceCommand.ts index 08fd9d2f7909..8971a9717a4b 100644 --- a/clients/client-cloudhsm-v2/commands/UntagResourceCommand.ts +++ b/clients/client-cloudhsm-v2/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-cloudhsm-v2/protocols/Aws_json1_1.ts b/clients/client-cloudhsm-v2/protocols/Aws_json1_1.ts index 4104f6cf26bc..0831e7029e39 100644 --- a/clients/client-cloudhsm-v2/protocols/Aws_json1_1.ts +++ b/clients/client-cloudhsm-v2/protocols/Aws_json1_1.ts @@ -2391,6 +2391,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cloudhsm/commands/AddTagsToResourceCommand.ts b/clients/client-cloudhsm/commands/AddTagsToResourceCommand.ts index 746febd6fe18..18b88e8607b9 100644 --- a/clients/client-cloudhsm/commands/AddTagsToResourceCommand.ts +++ b/clients/client-cloudhsm/commands/AddTagsToResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToResourceCommandInput = AddTagsToResourceRequest; @@ -67,14 +67,14 @@ export class AddTagsToResourceCommand extends $Command< private serialize( input: AddTagsToResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsToResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsToResourceCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/CreateHapgCommand.ts b/clients/client-cloudhsm/commands/CreateHapgCommand.ts index d84c6698dce0..3da12394180e 100644 --- a/clients/client-cloudhsm/commands/CreateHapgCommand.ts +++ b/clients/client-cloudhsm/commands/CreateHapgCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHapgCommandInput = CreateHapgRequest; @@ -64,14 +64,14 @@ export class CreateHapgCommand extends $Command< private serialize( input: CreateHapgCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateHapgCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateHapgCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/CreateHsmCommand.ts b/clients/client-cloudhsm/commands/CreateHsmCommand.ts index acc6a076f8d9..a034a44f0e3e 100644 --- a/clients/client-cloudhsm/commands/CreateHsmCommand.ts +++ b/clients/client-cloudhsm/commands/CreateHsmCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHsmCommandInput = CreateHsmRequest; @@ -64,14 +64,14 @@ export class CreateHsmCommand extends $Command< private serialize( input: CreateHsmCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateHsmCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateHsmCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/CreateLunaClientCommand.ts b/clients/client-cloudhsm/commands/CreateLunaClientCommand.ts index 7e2dc8642ad6..abcc8f9358a7 100644 --- a/clients/client-cloudhsm/commands/CreateLunaClientCommand.ts +++ b/clients/client-cloudhsm/commands/CreateLunaClientCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLunaClientCommandInput = CreateLunaClientRequest; @@ -67,14 +67,14 @@ export class CreateLunaClientCommand extends $Command< private serialize( input: CreateLunaClientCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLunaClientCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLunaClientCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/DeleteHapgCommand.ts b/clients/client-cloudhsm/commands/DeleteHapgCommand.ts index 92f91f806f27..1f694ef5f69d 100644 --- a/clients/client-cloudhsm/commands/DeleteHapgCommand.ts +++ b/clients/client-cloudhsm/commands/DeleteHapgCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteHapgCommandInput = DeleteHapgRequest; @@ -64,14 +64,14 @@ export class DeleteHapgCommand extends $Command< private serialize( input: DeleteHapgCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteHapgCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteHapgCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/DeleteHsmCommand.ts b/clients/client-cloudhsm/commands/DeleteHsmCommand.ts index d8a063d5c60f..4b9da6ca8f6e 100644 --- a/clients/client-cloudhsm/commands/DeleteHsmCommand.ts +++ b/clients/client-cloudhsm/commands/DeleteHsmCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteHsmCommandInput = DeleteHsmRequest; @@ -64,14 +64,14 @@ export class DeleteHsmCommand extends $Command< private serialize( input: DeleteHsmCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteHsmCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteHsmCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/DeleteLunaClientCommand.ts b/clients/client-cloudhsm/commands/DeleteLunaClientCommand.ts index f09833987daa..5f4d0581c3a3 100644 --- a/clients/client-cloudhsm/commands/DeleteLunaClientCommand.ts +++ b/clients/client-cloudhsm/commands/DeleteLunaClientCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLunaClientCommandInput = DeleteLunaClientRequest; @@ -67,14 +67,14 @@ export class DeleteLunaClientCommand extends $Command< private serialize( input: DeleteLunaClientCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLunaClientCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLunaClientCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/DescribeHapgCommand.ts b/clients/client-cloudhsm/commands/DescribeHapgCommand.ts index dbfed49fcd42..18d0700342e9 100644 --- a/clients/client-cloudhsm/commands/DescribeHapgCommand.ts +++ b/clients/client-cloudhsm/commands/DescribeHapgCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHapgCommandInput = DescribeHapgRequest; @@ -64,14 +64,14 @@ export class DescribeHapgCommand extends $Command< private serialize( input: DescribeHapgCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeHapgCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeHapgCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/DescribeHsmCommand.ts b/clients/client-cloudhsm/commands/DescribeHsmCommand.ts index 635589cce2d1..a7fc95b23fce 100644 --- a/clients/client-cloudhsm/commands/DescribeHsmCommand.ts +++ b/clients/client-cloudhsm/commands/DescribeHsmCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHsmCommandInput = DescribeHsmRequest; @@ -64,14 +64,14 @@ export class DescribeHsmCommand extends $Command< private serialize( input: DescribeHsmCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeHsmCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeHsmCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/DescribeLunaClientCommand.ts b/clients/client-cloudhsm/commands/DescribeLunaClientCommand.ts index 3043a44bb0a2..f743b345dff9 100644 --- a/clients/client-cloudhsm/commands/DescribeLunaClientCommand.ts +++ b/clients/client-cloudhsm/commands/DescribeLunaClientCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLunaClientCommandInput = DescribeLunaClientRequest; @@ -67,14 +67,14 @@ export class DescribeLunaClientCommand extends $Command< private serialize( input: DescribeLunaClientCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLunaClientCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLunaClientCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/GetConfigCommand.ts b/clients/client-cloudhsm/commands/GetConfigCommand.ts index 1befa462cd0f..7e3c23b32ed1 100644 --- a/clients/client-cloudhsm/commands/GetConfigCommand.ts +++ b/clients/client-cloudhsm/commands/GetConfigCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConfigCommandInput = GetConfigRequest; @@ -64,14 +64,14 @@ export class GetConfigCommand extends $Command< private serialize( input: GetConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetConfigCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/ListAvailableZonesCommand.ts b/clients/client-cloudhsm/commands/ListAvailableZonesCommand.ts index ab309320c37f..46ea4d99b9df 100644 --- a/clients/client-cloudhsm/commands/ListAvailableZonesCommand.ts +++ b/clients/client-cloudhsm/commands/ListAvailableZonesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAvailableZonesCommandInput = ListAvailableZonesRequest; @@ -67,14 +67,14 @@ export class ListAvailableZonesCommand extends $Command< private serialize( input: ListAvailableZonesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAvailableZonesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAvailableZonesCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/ListHapgsCommand.ts b/clients/client-cloudhsm/commands/ListHapgsCommand.ts index 1708ad8ea4d1..8c4cf1a79935 100644 --- a/clients/client-cloudhsm/commands/ListHapgsCommand.ts +++ b/clients/client-cloudhsm/commands/ListHapgsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHapgsCommandInput = ListHapgsRequest; @@ -64,14 +64,14 @@ export class ListHapgsCommand extends $Command< private serialize( input: ListHapgsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListHapgsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListHapgsCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/ListHsmsCommand.ts b/clients/client-cloudhsm/commands/ListHsmsCommand.ts index 7f6e57519bef..dd4ddc0ab6bf 100644 --- a/clients/client-cloudhsm/commands/ListHsmsCommand.ts +++ b/clients/client-cloudhsm/commands/ListHsmsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHsmsCommandInput = ListHsmsRequest; @@ -64,14 +64,14 @@ export class ListHsmsCommand extends $Command< private serialize( input: ListHsmsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListHsmsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListHsmsCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/ListLunaClientsCommand.ts b/clients/client-cloudhsm/commands/ListLunaClientsCommand.ts index 9f274c6bf79c..85f88719362a 100644 --- a/clients/client-cloudhsm/commands/ListLunaClientsCommand.ts +++ b/clients/client-cloudhsm/commands/ListLunaClientsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLunaClientsCommandInput = ListLunaClientsRequest; @@ -67,14 +67,14 @@ export class ListLunaClientsCommand extends $Command< private serialize( input: ListLunaClientsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLunaClientsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLunaClientsCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/ListTagsForResourceCommand.ts b/clients/client-cloudhsm/commands/ListTagsForResourceCommand.ts index 9fc0c01b1971..2eb42ee062e6 100644 --- a/clients/client-cloudhsm/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cloudhsm/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/ModifyHapgCommand.ts b/clients/client-cloudhsm/commands/ModifyHapgCommand.ts index af92677a2555..195d1601836b 100644 --- a/clients/client-cloudhsm/commands/ModifyHapgCommand.ts +++ b/clients/client-cloudhsm/commands/ModifyHapgCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyHapgCommandInput = ModifyHapgRequest; @@ -64,14 +64,14 @@ export class ModifyHapgCommand extends $Command< private serialize( input: ModifyHapgCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyHapgCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyHapgCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/ModifyHsmCommand.ts b/clients/client-cloudhsm/commands/ModifyHsmCommand.ts index 802073efe78a..124a0d3a3ba4 100644 --- a/clients/client-cloudhsm/commands/ModifyHsmCommand.ts +++ b/clients/client-cloudhsm/commands/ModifyHsmCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyHsmCommandInput = ModifyHsmRequest; @@ -64,14 +64,14 @@ export class ModifyHsmCommand extends $Command< private serialize( input: ModifyHsmCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyHsmCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyHsmCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/ModifyLunaClientCommand.ts b/clients/client-cloudhsm/commands/ModifyLunaClientCommand.ts index 181a21f9d9d9..061c21e8a153 100644 --- a/clients/client-cloudhsm/commands/ModifyLunaClientCommand.ts +++ b/clients/client-cloudhsm/commands/ModifyLunaClientCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyLunaClientCommandInput = ModifyLunaClientRequest; @@ -67,14 +67,14 @@ export class ModifyLunaClientCommand extends $Command< private serialize( input: ModifyLunaClientCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyLunaClientCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyLunaClientCommand(output, context); } diff --git a/clients/client-cloudhsm/commands/RemoveTagsFromResourceCommand.ts b/clients/client-cloudhsm/commands/RemoveTagsFromResourceCommand.ts index 178bf00fda51..6f00ae50490a 100644 --- a/clients/client-cloudhsm/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-cloudhsm/commands/RemoveTagsFromResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromResourceCommandInput = RemoveTagsFromResourceRequest; @@ -70,14 +70,14 @@ export class RemoveTagsFromResourceCommand extends $Command< private serialize( input: RemoveTagsFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTagsFromResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTagsFromResourceCommand(output, context); } diff --git a/clients/client-cloudhsm/protocols/Aws_json1_1.ts b/clients/client-cloudhsm/protocols/Aws_json1_1.ts index b9dbc7d30755..e2199dbc4983 100644 --- a/clients/client-cloudhsm/protocols/Aws_json1_1.ts +++ b/clients/client-cloudhsm/protocols/Aws_json1_1.ts @@ -2805,6 +2805,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cloudsearch-domain/commands/SearchCommand.ts b/clients/client-cloudsearch-domain/commands/SearchCommand.ts index 7d85c738025e..d727ac21f59d 100644 --- a/clients/client-cloudsearch-domain/commands/SearchCommand.ts +++ b/clients/client-cloudsearch-domain/commands/SearchCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchCommandInput = SearchRequest; @@ -64,14 +64,14 @@ export class SearchCommand extends $Command< private serialize( input: SearchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SearchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SearchCommand(output, context); } diff --git a/clients/client-cloudsearch-domain/commands/SuggestCommand.ts b/clients/client-cloudsearch-domain/commands/SuggestCommand.ts index 48cdb470d958..0785966df0e7 100644 --- a/clients/client-cloudsearch-domain/commands/SuggestCommand.ts +++ b/clients/client-cloudsearch-domain/commands/SuggestCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SuggestCommandInput = SuggestRequest; @@ -64,14 +64,14 @@ export class SuggestCommand extends $Command< private serialize( input: SuggestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SuggestCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SuggestCommand(output, context); } diff --git a/clients/client-cloudsearch-domain/commands/UploadDocumentsCommand.ts b/clients/client-cloudsearch-domain/commands/UploadDocumentsCommand.ts index 1a117f697889..c5b632b8d175 100644 --- a/clients/client-cloudsearch-domain/commands/UploadDocumentsCommand.ts +++ b/clients/client-cloudsearch-domain/commands/UploadDocumentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UploadDocumentsCommandInput = UploadDocumentsRequest; @@ -67,14 +67,14 @@ export class UploadDocumentsCommand extends $Command< private serialize( input: UploadDocumentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UploadDocumentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UploadDocumentsCommand(output, context); } diff --git a/clients/client-cloudsearch-domain/protocols/Aws_restJson1_1.ts b/clients/client-cloudsearch-domain/protocols/Aws_restJson1_1.ts index f3ebc173bd37..0e481600d8b7 100644 --- a/clients/client-cloudsearch-domain/protocols/Aws_restJson1_1.ts +++ b/clients/client-cloudsearch-domain/protocols/Aws_restJson1_1.ts @@ -772,6 +772,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cloudsearch/commands/BuildSuggestersCommand.ts b/clients/client-cloudsearch/commands/BuildSuggestersCommand.ts index 3918f5845802..67ac72738082 100644 --- a/clients/client-cloudsearch/commands/BuildSuggestersCommand.ts +++ b/clients/client-cloudsearch/commands/BuildSuggestersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BuildSuggestersCommandInput = BuildSuggestersRequest; @@ -67,14 +67,14 @@ export class BuildSuggestersCommand extends $Command< private serialize( input: BuildSuggestersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryBuildSuggestersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryBuildSuggestersCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/CreateDomainCommand.ts b/clients/client-cloudsearch/commands/CreateDomainCommand.ts index 78e7b3e3c30e..6c11a903e4dc 100644 --- a/clients/client-cloudsearch/commands/CreateDomainCommand.ts +++ b/clients/client-cloudsearch/commands/CreateDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDomainCommandInput = CreateDomainRequest; @@ -64,14 +64,14 @@ export class CreateDomainCommand extends $Command< private serialize( input: CreateDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDomainCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DefineAnalysisSchemeCommand.ts b/clients/client-cloudsearch/commands/DefineAnalysisSchemeCommand.ts index 904ea81bb454..df2ed5358931 100644 --- a/clients/client-cloudsearch/commands/DefineAnalysisSchemeCommand.ts +++ b/clients/client-cloudsearch/commands/DefineAnalysisSchemeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DefineAnalysisSchemeCommandInput = DefineAnalysisSchemeRequest; @@ -70,14 +70,14 @@ export class DefineAnalysisSchemeCommand extends $Command< private serialize( input: DefineAnalysisSchemeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDefineAnalysisSchemeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDefineAnalysisSchemeCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DefineExpressionCommand.ts b/clients/client-cloudsearch/commands/DefineExpressionCommand.ts index 535af8ddb81c..8f5138680e90 100644 --- a/clients/client-cloudsearch/commands/DefineExpressionCommand.ts +++ b/clients/client-cloudsearch/commands/DefineExpressionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DefineExpressionCommandInput = DefineExpressionRequest; @@ -67,14 +67,14 @@ export class DefineExpressionCommand extends $Command< private serialize( input: DefineExpressionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDefineExpressionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDefineExpressionCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DefineIndexFieldCommand.ts b/clients/client-cloudsearch/commands/DefineIndexFieldCommand.ts index 611220c3007d..e3290b54ee8b 100644 --- a/clients/client-cloudsearch/commands/DefineIndexFieldCommand.ts +++ b/clients/client-cloudsearch/commands/DefineIndexFieldCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DefineIndexFieldCommandInput = DefineIndexFieldRequest; @@ -67,14 +67,14 @@ export class DefineIndexFieldCommand extends $Command< private serialize( input: DefineIndexFieldCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDefineIndexFieldCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDefineIndexFieldCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DefineSuggesterCommand.ts b/clients/client-cloudsearch/commands/DefineSuggesterCommand.ts index 0e8d5cdb14de..6c5ca7062173 100644 --- a/clients/client-cloudsearch/commands/DefineSuggesterCommand.ts +++ b/clients/client-cloudsearch/commands/DefineSuggesterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DefineSuggesterCommandInput = DefineSuggesterRequest; @@ -67,14 +67,14 @@ export class DefineSuggesterCommand extends $Command< private serialize( input: DefineSuggesterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDefineSuggesterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDefineSuggesterCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DeleteAnalysisSchemeCommand.ts b/clients/client-cloudsearch/commands/DeleteAnalysisSchemeCommand.ts index 91260cfcfec3..1805e6aa1866 100644 --- a/clients/client-cloudsearch/commands/DeleteAnalysisSchemeCommand.ts +++ b/clients/client-cloudsearch/commands/DeleteAnalysisSchemeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAnalysisSchemeCommandInput = DeleteAnalysisSchemeRequest; @@ -70,14 +70,14 @@ export class DeleteAnalysisSchemeCommand extends $Command< private serialize( input: DeleteAnalysisSchemeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteAnalysisSchemeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteAnalysisSchemeCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DeleteDomainCommand.ts b/clients/client-cloudsearch/commands/DeleteDomainCommand.ts index 45db35356940..c98e2beda294 100644 --- a/clients/client-cloudsearch/commands/DeleteDomainCommand.ts +++ b/clients/client-cloudsearch/commands/DeleteDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDomainCommandInput = DeleteDomainRequest; @@ -64,14 +64,14 @@ export class DeleteDomainCommand extends $Command< private serialize( input: DeleteDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDomainCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DeleteExpressionCommand.ts b/clients/client-cloudsearch/commands/DeleteExpressionCommand.ts index 8dca4eb7e37c..2c80f719c0a7 100644 --- a/clients/client-cloudsearch/commands/DeleteExpressionCommand.ts +++ b/clients/client-cloudsearch/commands/DeleteExpressionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteExpressionCommandInput = DeleteExpressionRequest; @@ -67,14 +67,14 @@ export class DeleteExpressionCommand extends $Command< private serialize( input: DeleteExpressionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteExpressionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteExpressionCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DeleteIndexFieldCommand.ts b/clients/client-cloudsearch/commands/DeleteIndexFieldCommand.ts index ecd53ab99d1f..91517e62251d 100644 --- a/clients/client-cloudsearch/commands/DeleteIndexFieldCommand.ts +++ b/clients/client-cloudsearch/commands/DeleteIndexFieldCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIndexFieldCommandInput = DeleteIndexFieldRequest; @@ -67,14 +67,14 @@ export class DeleteIndexFieldCommand extends $Command< private serialize( input: DeleteIndexFieldCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteIndexFieldCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteIndexFieldCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DeleteSuggesterCommand.ts b/clients/client-cloudsearch/commands/DeleteSuggesterCommand.ts index fac9fbbac6e5..84abb1284620 100644 --- a/clients/client-cloudsearch/commands/DeleteSuggesterCommand.ts +++ b/clients/client-cloudsearch/commands/DeleteSuggesterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSuggesterCommandInput = DeleteSuggesterRequest; @@ -67,14 +67,14 @@ export class DeleteSuggesterCommand extends $Command< private serialize( input: DeleteSuggesterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteSuggesterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteSuggesterCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DescribeAnalysisSchemesCommand.ts b/clients/client-cloudsearch/commands/DescribeAnalysisSchemesCommand.ts index 3134a44419f4..10c9ed366d2f 100644 --- a/clients/client-cloudsearch/commands/DescribeAnalysisSchemesCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeAnalysisSchemesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAnalysisSchemesCommandInput = DescribeAnalysisSchemesRequest; @@ -70,14 +70,14 @@ export class DescribeAnalysisSchemesCommand extends $Command< private serialize( input: DescribeAnalysisSchemesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAnalysisSchemesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAnalysisSchemesCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DescribeAvailabilityOptionsCommand.ts b/clients/client-cloudsearch/commands/DescribeAvailabilityOptionsCommand.ts index 55364f64461b..bd6f8598acef 100644 --- a/clients/client-cloudsearch/commands/DescribeAvailabilityOptionsCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeAvailabilityOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAvailabilityOptionsCommandInput = DescribeAvailabilityOptionsRequest; @@ -70,14 +70,14 @@ export class DescribeAvailabilityOptionsCommand extends $Command< private serialize( input: DescribeAvailabilityOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAvailabilityOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAvailabilityOptionsCommand( output, diff --git a/clients/client-cloudsearch/commands/DescribeDomainEndpointOptionsCommand.ts b/clients/client-cloudsearch/commands/DescribeDomainEndpointOptionsCommand.ts index 5cef85022a73..a8ca0ab8e348 100644 --- a/clients/client-cloudsearch/commands/DescribeDomainEndpointOptionsCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeDomainEndpointOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDomainEndpointOptionsCommandInput = DescribeDomainEndpointOptionsRequest; @@ -70,7 +70,7 @@ export class DescribeDomainEndpointOptionsCommand extends $Command< private serialize( input: DescribeDomainEndpointOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDomainEndpointOptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeDomainEndpointOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDomainEndpointOptionsCommand( output, diff --git a/clients/client-cloudsearch/commands/DescribeDomainsCommand.ts b/clients/client-cloudsearch/commands/DescribeDomainsCommand.ts index bb065fbf7f1e..6baecbff533d 100644 --- a/clients/client-cloudsearch/commands/DescribeDomainsCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeDomainsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDomainsCommandInput = DescribeDomainsRequest; @@ -67,14 +67,14 @@ export class DescribeDomainsCommand extends $Command< private serialize( input: DescribeDomainsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDomainsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDomainsCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DescribeExpressionsCommand.ts b/clients/client-cloudsearch/commands/DescribeExpressionsCommand.ts index 3bb596b99a26..1f403e4ec91a 100644 --- a/clients/client-cloudsearch/commands/DescribeExpressionsCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeExpressionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeExpressionsCommandInput = DescribeExpressionsRequest; @@ -70,14 +70,14 @@ export class DescribeExpressionsCommand extends $Command< private serialize( input: DescribeExpressionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeExpressionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeExpressionsCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DescribeIndexFieldsCommand.ts b/clients/client-cloudsearch/commands/DescribeIndexFieldsCommand.ts index 028629dd137b..772dd6ead852 100644 --- a/clients/client-cloudsearch/commands/DescribeIndexFieldsCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeIndexFieldsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIndexFieldsCommandInput = DescribeIndexFieldsRequest; @@ -70,14 +70,14 @@ export class DescribeIndexFieldsCommand extends $Command< private serialize( input: DescribeIndexFieldsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeIndexFieldsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeIndexFieldsCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/DescribeScalingParametersCommand.ts b/clients/client-cloudsearch/commands/DescribeScalingParametersCommand.ts index ebeba32093bc..b8aaf7f2fbcd 100644 --- a/clients/client-cloudsearch/commands/DescribeScalingParametersCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeScalingParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScalingParametersCommandInput = DescribeScalingParametersRequest; @@ -70,14 +70,14 @@ export class DescribeScalingParametersCommand extends $Command< private serialize( input: DescribeScalingParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeScalingParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeScalingParametersCommand( output, diff --git a/clients/client-cloudsearch/commands/DescribeServiceAccessPoliciesCommand.ts b/clients/client-cloudsearch/commands/DescribeServiceAccessPoliciesCommand.ts index 0857f353acb4..ab7540282d25 100644 --- a/clients/client-cloudsearch/commands/DescribeServiceAccessPoliciesCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeServiceAccessPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeServiceAccessPoliciesCommandInput = DescribeServiceAccessPoliciesRequest; @@ -70,7 +70,7 @@ export class DescribeServiceAccessPoliciesCommand extends $Command< private serialize( input: DescribeServiceAccessPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeServiceAccessPoliciesCommand( input, @@ -80,7 +80,7 @@ export class DescribeServiceAccessPoliciesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeServiceAccessPoliciesCommand( output, diff --git a/clients/client-cloudsearch/commands/DescribeSuggestersCommand.ts b/clients/client-cloudsearch/commands/DescribeSuggestersCommand.ts index 3dbeefa8774f..96b5ef00954c 100644 --- a/clients/client-cloudsearch/commands/DescribeSuggestersCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeSuggestersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSuggestersCommandInput = DescribeSuggestersRequest; @@ -67,14 +67,14 @@ export class DescribeSuggestersCommand extends $Command< private serialize( input: DescribeSuggestersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeSuggestersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeSuggestersCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/IndexDocumentsCommand.ts b/clients/client-cloudsearch/commands/IndexDocumentsCommand.ts index 238196c89356..6cce8fbcc777 100644 --- a/clients/client-cloudsearch/commands/IndexDocumentsCommand.ts +++ b/clients/client-cloudsearch/commands/IndexDocumentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type IndexDocumentsCommandInput = IndexDocumentsRequest; @@ -64,14 +64,14 @@ export class IndexDocumentsCommand extends $Command< private serialize( input: IndexDocumentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryIndexDocumentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryIndexDocumentsCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/ListDomainNamesCommand.ts b/clients/client-cloudsearch/commands/ListDomainNamesCommand.ts index 20a525d71777..2cea89e0e9b1 100644 --- a/clients/client-cloudsearch/commands/ListDomainNamesCommand.ts +++ b/clients/client-cloudsearch/commands/ListDomainNamesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDomainNamesCommandInput = {}; @@ -64,14 +64,14 @@ export class ListDomainNamesCommand extends $Command< private serialize( input: ListDomainNamesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListDomainNamesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListDomainNamesCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/UpdateAvailabilityOptionsCommand.ts b/clients/client-cloudsearch/commands/UpdateAvailabilityOptionsCommand.ts index 1f654b868f85..bacb3cb51fc9 100644 --- a/clients/client-cloudsearch/commands/UpdateAvailabilityOptionsCommand.ts +++ b/clients/client-cloudsearch/commands/UpdateAvailabilityOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAvailabilityOptionsCommandInput = UpdateAvailabilityOptionsRequest; @@ -70,14 +70,14 @@ export class UpdateAvailabilityOptionsCommand extends $Command< private serialize( input: UpdateAvailabilityOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateAvailabilityOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateAvailabilityOptionsCommand( output, diff --git a/clients/client-cloudsearch/commands/UpdateDomainEndpointOptionsCommand.ts b/clients/client-cloudsearch/commands/UpdateDomainEndpointOptionsCommand.ts index 5df81f0b3e4d..b5d108dc75f2 100644 --- a/clients/client-cloudsearch/commands/UpdateDomainEndpointOptionsCommand.ts +++ b/clients/client-cloudsearch/commands/UpdateDomainEndpointOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDomainEndpointOptionsCommandInput = UpdateDomainEndpointOptionsRequest; @@ -70,14 +70,14 @@ export class UpdateDomainEndpointOptionsCommand extends $Command< private serialize( input: UpdateDomainEndpointOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateDomainEndpointOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateDomainEndpointOptionsCommand( output, diff --git a/clients/client-cloudsearch/commands/UpdateScalingParametersCommand.ts b/clients/client-cloudsearch/commands/UpdateScalingParametersCommand.ts index 94d9fc9494ac..23d95f2b5929 100644 --- a/clients/client-cloudsearch/commands/UpdateScalingParametersCommand.ts +++ b/clients/client-cloudsearch/commands/UpdateScalingParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateScalingParametersCommandInput = UpdateScalingParametersRequest; @@ -70,14 +70,14 @@ export class UpdateScalingParametersCommand extends $Command< private serialize( input: UpdateScalingParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateScalingParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateScalingParametersCommand(output, context); } diff --git a/clients/client-cloudsearch/commands/UpdateServiceAccessPoliciesCommand.ts b/clients/client-cloudsearch/commands/UpdateServiceAccessPoliciesCommand.ts index 3f5da7bd9e12..c52ee01afcf9 100644 --- a/clients/client-cloudsearch/commands/UpdateServiceAccessPoliciesCommand.ts +++ b/clients/client-cloudsearch/commands/UpdateServiceAccessPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServiceAccessPoliciesCommandInput = UpdateServiceAccessPoliciesRequest; @@ -70,14 +70,14 @@ export class UpdateServiceAccessPoliciesCommand extends $Command< private serialize( input: UpdateServiceAccessPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateServiceAccessPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateServiceAccessPoliciesCommand( output, diff --git a/clients/client-cloudsearch/protocols/Aws_query.ts b/clients/client-cloudsearch/protocols/Aws_query.ts index 1c2965c81308..738a827fcf97 100644 --- a/clients/client-cloudsearch/protocols/Aws_query.ts +++ b/clients/client-cloudsearch/protocols/Aws_query.ts @@ -5496,6 +5496,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cloudtrail/commands/AddTagsCommand.ts b/clients/client-cloudtrail/commands/AddTagsCommand.ts index 113a09e47800..4ab63a1e5b07 100644 --- a/clients/client-cloudtrail/commands/AddTagsCommand.ts +++ b/clients/client-cloudtrail/commands/AddTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsCommandInput = AddTagsRequest; @@ -64,14 +64,14 @@ export class AddTagsCommand extends $Command< private serialize( input: AddTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/CreateTrailCommand.ts b/clients/client-cloudtrail/commands/CreateTrailCommand.ts index c9ea772bd300..7a977841ea9c 100644 --- a/clients/client-cloudtrail/commands/CreateTrailCommand.ts +++ b/clients/client-cloudtrail/commands/CreateTrailCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrailCommandInput = CreateTrailRequest; @@ -64,14 +64,14 @@ export class CreateTrailCommand extends $Command< private serialize( input: CreateTrailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTrailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTrailCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/DeleteTrailCommand.ts b/clients/client-cloudtrail/commands/DeleteTrailCommand.ts index df952b7bfd8b..3a9b1e380d32 100644 --- a/clients/client-cloudtrail/commands/DeleteTrailCommand.ts +++ b/clients/client-cloudtrail/commands/DeleteTrailCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTrailCommandInput = DeleteTrailRequest; @@ -64,14 +64,14 @@ export class DeleteTrailCommand extends $Command< private serialize( input: DeleteTrailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTrailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTrailCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/DescribeTrailsCommand.ts b/clients/client-cloudtrail/commands/DescribeTrailsCommand.ts index c7532851d8a4..d874b6114d6f 100644 --- a/clients/client-cloudtrail/commands/DescribeTrailsCommand.ts +++ b/clients/client-cloudtrail/commands/DescribeTrailsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrailsCommandInput = DescribeTrailsRequest; @@ -64,14 +64,14 @@ export class DescribeTrailsCommand extends $Command< private serialize( input: DescribeTrailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTrailsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTrailsCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/GetEventSelectorsCommand.ts b/clients/client-cloudtrail/commands/GetEventSelectorsCommand.ts index 4f928bf79b15..da01817fd396 100644 --- a/clients/client-cloudtrail/commands/GetEventSelectorsCommand.ts +++ b/clients/client-cloudtrail/commands/GetEventSelectorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEventSelectorsCommandInput = GetEventSelectorsRequest; @@ -67,14 +67,14 @@ export class GetEventSelectorsCommand extends $Command< private serialize( input: GetEventSelectorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetEventSelectorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetEventSelectorsCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/GetInsightSelectorsCommand.ts b/clients/client-cloudtrail/commands/GetInsightSelectorsCommand.ts index 85e2cd5bc1e6..d23fc5822d8d 100644 --- a/clients/client-cloudtrail/commands/GetInsightSelectorsCommand.ts +++ b/clients/client-cloudtrail/commands/GetInsightSelectorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInsightSelectorsCommandInput = GetInsightSelectorsRequest; @@ -70,14 +70,14 @@ export class GetInsightSelectorsCommand extends $Command< private serialize( input: GetInsightSelectorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInsightSelectorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInsightSelectorsCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/GetTrailCommand.ts b/clients/client-cloudtrail/commands/GetTrailCommand.ts index 41346cf2af19..09fc474bdb75 100644 --- a/clients/client-cloudtrail/commands/GetTrailCommand.ts +++ b/clients/client-cloudtrail/commands/GetTrailCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTrailCommandInput = GetTrailRequest; @@ -64,14 +64,14 @@ export class GetTrailCommand extends $Command< private serialize( input: GetTrailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTrailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTrailCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/GetTrailStatusCommand.ts b/clients/client-cloudtrail/commands/GetTrailStatusCommand.ts index 9e125060cffc..cea4f070b135 100644 --- a/clients/client-cloudtrail/commands/GetTrailStatusCommand.ts +++ b/clients/client-cloudtrail/commands/GetTrailStatusCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTrailStatusCommandInput = GetTrailStatusRequest; @@ -64,14 +64,14 @@ export class GetTrailStatusCommand extends $Command< private serialize( input: GetTrailStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTrailStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTrailStatusCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/ListPublicKeysCommand.ts b/clients/client-cloudtrail/commands/ListPublicKeysCommand.ts index 5857dd603bd7..02a2ac29979a 100644 --- a/clients/client-cloudtrail/commands/ListPublicKeysCommand.ts +++ b/clients/client-cloudtrail/commands/ListPublicKeysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPublicKeysCommandInput = ListPublicKeysRequest; @@ -64,14 +64,14 @@ export class ListPublicKeysCommand extends $Command< private serialize( input: ListPublicKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPublicKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPublicKeysCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/ListTagsCommand.ts b/clients/client-cloudtrail/commands/ListTagsCommand.ts index 22c0db95f54d..14c85dd80fd6 100644 --- a/clients/client-cloudtrail/commands/ListTagsCommand.ts +++ b/clients/client-cloudtrail/commands/ListTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsCommandInput = ListTagsRequest; @@ -64,14 +64,14 @@ export class ListTagsCommand extends $Command< private serialize( input: ListTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/ListTrailsCommand.ts b/clients/client-cloudtrail/commands/ListTrailsCommand.ts index 260a6959d390..c47313d7442f 100644 --- a/clients/client-cloudtrail/commands/ListTrailsCommand.ts +++ b/clients/client-cloudtrail/commands/ListTrailsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTrailsCommandInput = ListTrailsRequest; @@ -64,14 +64,14 @@ export class ListTrailsCommand extends $Command< private serialize( input: ListTrailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTrailsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTrailsCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/LookupEventsCommand.ts b/clients/client-cloudtrail/commands/LookupEventsCommand.ts index 00551ebd17d1..d4cfbb05d10d 100644 --- a/clients/client-cloudtrail/commands/LookupEventsCommand.ts +++ b/clients/client-cloudtrail/commands/LookupEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type LookupEventsCommandInput = LookupEventsRequest; @@ -64,14 +64,14 @@ export class LookupEventsCommand extends $Command< private serialize( input: LookupEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1LookupEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1LookupEventsCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/PutEventSelectorsCommand.ts b/clients/client-cloudtrail/commands/PutEventSelectorsCommand.ts index 252f44a7f02e..eb83a68fc53a 100644 --- a/clients/client-cloudtrail/commands/PutEventSelectorsCommand.ts +++ b/clients/client-cloudtrail/commands/PutEventSelectorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEventSelectorsCommandInput = PutEventSelectorsRequest; @@ -67,14 +67,14 @@ export class PutEventSelectorsCommand extends $Command< private serialize( input: PutEventSelectorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutEventSelectorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutEventSelectorsCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/PutInsightSelectorsCommand.ts b/clients/client-cloudtrail/commands/PutInsightSelectorsCommand.ts index 62804a9e2d99..9017e5fe32cc 100644 --- a/clients/client-cloudtrail/commands/PutInsightSelectorsCommand.ts +++ b/clients/client-cloudtrail/commands/PutInsightSelectorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutInsightSelectorsCommandInput = PutInsightSelectorsRequest; @@ -70,14 +70,14 @@ export class PutInsightSelectorsCommand extends $Command< private serialize( input: PutInsightSelectorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutInsightSelectorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutInsightSelectorsCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/RemoveTagsCommand.ts b/clients/client-cloudtrail/commands/RemoveTagsCommand.ts index d8e74c00a4ec..0f2ec2616ba2 100644 --- a/clients/client-cloudtrail/commands/RemoveTagsCommand.ts +++ b/clients/client-cloudtrail/commands/RemoveTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsCommandInput = RemoveTagsRequest; @@ -64,14 +64,14 @@ export class RemoveTagsCommand extends $Command< private serialize( input: RemoveTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTagsCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/StartLoggingCommand.ts b/clients/client-cloudtrail/commands/StartLoggingCommand.ts index 9f5c4164bf2b..921e3f69d021 100644 --- a/clients/client-cloudtrail/commands/StartLoggingCommand.ts +++ b/clients/client-cloudtrail/commands/StartLoggingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartLoggingCommandInput = StartLoggingRequest; @@ -64,14 +64,14 @@ export class StartLoggingCommand extends $Command< private serialize( input: StartLoggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartLoggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartLoggingCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/StopLoggingCommand.ts b/clients/client-cloudtrail/commands/StopLoggingCommand.ts index aad07385de94..3cf3b6d77ad6 100644 --- a/clients/client-cloudtrail/commands/StopLoggingCommand.ts +++ b/clients/client-cloudtrail/commands/StopLoggingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopLoggingCommandInput = StopLoggingRequest; @@ -64,14 +64,14 @@ export class StopLoggingCommand extends $Command< private serialize( input: StopLoggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopLoggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopLoggingCommand(output, context); } diff --git a/clients/client-cloudtrail/commands/UpdateTrailCommand.ts b/clients/client-cloudtrail/commands/UpdateTrailCommand.ts index 504b542b4345..58906405180e 100644 --- a/clients/client-cloudtrail/commands/UpdateTrailCommand.ts +++ b/clients/client-cloudtrail/commands/UpdateTrailCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTrailCommandInput = UpdateTrailRequest; @@ -64,14 +64,14 @@ export class UpdateTrailCommand extends $Command< private serialize( input: UpdateTrailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTrailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTrailCommand(output, context); } diff --git a/clients/client-cloudtrail/protocols/Aws_json1_1.ts b/clients/client-cloudtrail/protocols/Aws_json1_1.ts index 2ebe328fee48..47a66b65b209 100644 --- a/clients/client-cloudtrail/protocols/Aws_json1_1.ts +++ b/clients/client-cloudtrail/protocols/Aws_json1_1.ts @@ -5151,6 +5151,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cloudwatch-events/commands/ActivateEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/ActivateEventSourceCommand.ts index c615d83cebf9..6206d25091eb 100644 --- a/clients/client-cloudwatch-events/commands/ActivateEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/ActivateEventSourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ActivateEventSourceCommandInput = ActivateEventSourceRequest; @@ -68,14 +68,14 @@ export class ActivateEventSourceCommand extends $Command< private serialize( input: ActivateEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ActivateEventSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ActivateEventSourceCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/CreateEventBusCommand.ts b/clients/client-cloudwatch-events/commands/CreateEventBusCommand.ts index 36382e148ee8..49913cf55b98 100644 --- a/clients/client-cloudwatch-events/commands/CreateEventBusCommand.ts +++ b/clients/client-cloudwatch-events/commands/CreateEventBusCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEventBusCommandInput = CreateEventBusRequest; @@ -64,14 +64,14 @@ export class CreateEventBusCommand extends $Command< private serialize( input: CreateEventBusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEventBusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEventBusCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/CreatePartnerEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/CreatePartnerEventSourceCommand.ts index 73b224d42a7b..7a55520e634c 100644 --- a/clients/client-cloudwatch-events/commands/CreatePartnerEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/CreatePartnerEventSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePartnerEventSourceCommandInput = CreatePartnerEventSourceRequest; @@ -70,14 +70,14 @@ export class CreatePartnerEventSourceCommand extends $Command< private serialize( input: CreatePartnerEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePartnerEventSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePartnerEventSourceCommand( output, diff --git a/clients/client-cloudwatch-events/commands/DeactivateEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/DeactivateEventSourceCommand.ts index 4aa23be68139..9dea5415a7a1 100644 --- a/clients/client-cloudwatch-events/commands/DeactivateEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/DeactivateEventSourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeactivateEventSourceCommandInput = DeactivateEventSourceRequest; @@ -68,14 +68,14 @@ export class DeactivateEventSourceCommand extends $Command< private serialize( input: DeactivateEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeactivateEventSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeactivateEventSourceCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/DeleteEventBusCommand.ts b/clients/client-cloudwatch-events/commands/DeleteEventBusCommand.ts index 673f5b66938f..73621c21fb17 100644 --- a/clients/client-cloudwatch-events/commands/DeleteEventBusCommand.ts +++ b/clients/client-cloudwatch-events/commands/DeleteEventBusCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEventBusCommandInput = DeleteEventBusRequest; @@ -65,14 +65,14 @@ export class DeleteEventBusCommand extends $Command< private serialize( input: DeleteEventBusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEventBusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEventBusCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/DeletePartnerEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/DeletePartnerEventSourceCommand.ts index d21eb49133fd..07115a6158ec 100644 --- a/clients/client-cloudwatch-events/commands/DeletePartnerEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/DeletePartnerEventSourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePartnerEventSourceCommandInput = DeletePartnerEventSourceRequest; @@ -68,14 +68,14 @@ export class DeletePartnerEventSourceCommand extends $Command< private serialize( input: DeletePartnerEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePartnerEventSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePartnerEventSourceCommand( output, diff --git a/clients/client-cloudwatch-events/commands/DeleteRuleCommand.ts b/clients/client-cloudwatch-events/commands/DeleteRuleCommand.ts index 989079d64131..0b9d9732284a 100644 --- a/clients/client-cloudwatch-events/commands/DeleteRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/DeleteRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRuleCommandInput = DeleteRuleRequest; @@ -65,14 +65,14 @@ export class DeleteRuleCommand extends $Command< private serialize( input: DeleteRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRuleCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/DescribeEventBusCommand.ts b/clients/client-cloudwatch-events/commands/DescribeEventBusCommand.ts index de0bfc46b016..465b57036601 100644 --- a/clients/client-cloudwatch-events/commands/DescribeEventBusCommand.ts +++ b/clients/client-cloudwatch-events/commands/DescribeEventBusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventBusCommandInput = DescribeEventBusRequest; @@ -67,14 +67,14 @@ export class DescribeEventBusCommand extends $Command< private serialize( input: DescribeEventBusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventBusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventBusCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/DescribeEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/DescribeEventSourceCommand.ts index e2be83b4bb30..257572518f6b 100644 --- a/clients/client-cloudwatch-events/commands/DescribeEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/DescribeEventSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventSourceCommandInput = DescribeEventSourceRequest; @@ -70,14 +70,14 @@ export class DescribeEventSourceCommand extends $Command< private serialize( input: DescribeEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventSourceCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/DescribePartnerEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/DescribePartnerEventSourceCommand.ts index ffeb7c6f93b4..4b68994935b1 100644 --- a/clients/client-cloudwatch-events/commands/DescribePartnerEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/DescribePartnerEventSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePartnerEventSourceCommandInput = DescribePartnerEventSourceRequest; @@ -70,7 +70,7 @@ export class DescribePartnerEventSourceCommand extends $Command< private serialize( input: DescribePartnerEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePartnerEventSourceCommand( input, @@ -80,7 +80,7 @@ export class DescribePartnerEventSourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePartnerEventSourceCommand( output, diff --git a/clients/client-cloudwatch-events/commands/DescribeRuleCommand.ts b/clients/client-cloudwatch-events/commands/DescribeRuleCommand.ts index ecf10bd19899..8a9f002b8f05 100644 --- a/clients/client-cloudwatch-events/commands/DescribeRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/DescribeRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRuleCommandInput = DescribeRuleRequest; @@ -64,14 +64,14 @@ export class DescribeRuleCommand extends $Command< private serialize( input: DescribeRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRuleCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/DisableRuleCommand.ts b/clients/client-cloudwatch-events/commands/DisableRuleCommand.ts index 8bafbbbd8e71..29b5fddc30da 100644 --- a/clients/client-cloudwatch-events/commands/DisableRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/DisableRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableRuleCommandInput = DisableRuleRequest; @@ -65,14 +65,14 @@ export class DisableRuleCommand extends $Command< private serialize( input: DisableRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableRuleCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/EnableRuleCommand.ts b/clients/client-cloudwatch-events/commands/EnableRuleCommand.ts index 691a86a8d516..d1b48f59d05a 100644 --- a/clients/client-cloudwatch-events/commands/EnableRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/EnableRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableRuleCommandInput = EnableRuleRequest; @@ -65,14 +65,14 @@ export class EnableRuleCommand extends $Command< private serialize( input: EnableRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableRuleCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/ListEventBusesCommand.ts b/clients/client-cloudwatch-events/commands/ListEventBusesCommand.ts index 74168a996cf6..c52bcad9c936 100644 --- a/clients/client-cloudwatch-events/commands/ListEventBusesCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListEventBusesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEventBusesCommandInput = ListEventBusesRequest; @@ -64,14 +64,14 @@ export class ListEventBusesCommand extends $Command< private serialize( input: ListEventBusesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEventBusesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEventBusesCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/ListEventSourcesCommand.ts b/clients/client-cloudwatch-events/commands/ListEventSourcesCommand.ts index 54e917cd07e2..fc3c3dcdf91a 100644 --- a/clients/client-cloudwatch-events/commands/ListEventSourcesCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListEventSourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEventSourcesCommandInput = ListEventSourcesRequest; @@ -67,14 +67,14 @@ export class ListEventSourcesCommand extends $Command< private serialize( input: ListEventSourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEventSourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEventSourcesCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/ListPartnerEventSourceAccountsCommand.ts b/clients/client-cloudwatch-events/commands/ListPartnerEventSourceAccountsCommand.ts index d38338d599a7..22cb83b328af 100644 --- a/clients/client-cloudwatch-events/commands/ListPartnerEventSourceAccountsCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListPartnerEventSourceAccountsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPartnerEventSourceAccountsCommandInput = ListPartnerEventSourceAccountsRequest; @@ -70,7 +70,7 @@ export class ListPartnerEventSourceAccountsCommand extends $Command< private serialize( input: ListPartnerEventSourceAccountsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPartnerEventSourceAccountsCommand( input, @@ -80,7 +80,7 @@ export class ListPartnerEventSourceAccountsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPartnerEventSourceAccountsCommand( output, diff --git a/clients/client-cloudwatch-events/commands/ListPartnerEventSourcesCommand.ts b/clients/client-cloudwatch-events/commands/ListPartnerEventSourcesCommand.ts index 072c5e323ae0..32e6f63cdeab 100644 --- a/clients/client-cloudwatch-events/commands/ListPartnerEventSourcesCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListPartnerEventSourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPartnerEventSourcesCommandInput = ListPartnerEventSourcesRequest; @@ -70,14 +70,14 @@ export class ListPartnerEventSourcesCommand extends $Command< private serialize( input: ListPartnerEventSourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPartnerEventSourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPartnerEventSourcesCommand( output, diff --git a/clients/client-cloudwatch-events/commands/ListRuleNamesByTargetCommand.ts b/clients/client-cloudwatch-events/commands/ListRuleNamesByTargetCommand.ts index 23d3d5147839..680d7304c447 100644 --- a/clients/client-cloudwatch-events/commands/ListRuleNamesByTargetCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListRuleNamesByTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRuleNamesByTargetCommandInput = ListRuleNamesByTargetRequest; @@ -70,14 +70,14 @@ export class ListRuleNamesByTargetCommand extends $Command< private serialize( input: ListRuleNamesByTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRuleNamesByTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRuleNamesByTargetCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/ListRulesCommand.ts b/clients/client-cloudwatch-events/commands/ListRulesCommand.ts index ae6d389c16f0..5732ea6f644d 100644 --- a/clients/client-cloudwatch-events/commands/ListRulesCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListRulesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRulesCommandInput = ListRulesRequest; @@ -64,14 +64,14 @@ export class ListRulesCommand extends $Command< private serialize( input: ListRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRulesCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/ListTagsForResourceCommand.ts b/clients/client-cloudwatch-events/commands/ListTagsForResourceCommand.ts index 8d91163516eb..c10a40862172 100644 --- a/clients/client-cloudwatch-events/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/ListTargetsByRuleCommand.ts b/clients/client-cloudwatch-events/commands/ListTargetsByRuleCommand.ts index 7bec5edd3977..f2eb7c97fbbd 100644 --- a/clients/client-cloudwatch-events/commands/ListTargetsByRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListTargetsByRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTargetsByRuleCommandInput = ListTargetsByRuleRequest; @@ -67,14 +67,14 @@ export class ListTargetsByRuleCommand extends $Command< private serialize( input: ListTargetsByRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTargetsByRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTargetsByRuleCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/PutEventsCommand.ts b/clients/client-cloudwatch-events/commands/PutEventsCommand.ts index 7281b6fd3837..242b9a6ed644 100644 --- a/clients/client-cloudwatch-events/commands/PutEventsCommand.ts +++ b/clients/client-cloudwatch-events/commands/PutEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEventsCommandInput = PutEventsRequest; @@ -64,14 +64,14 @@ export class PutEventsCommand extends $Command< private serialize( input: PutEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutEventsCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/PutPartnerEventsCommand.ts b/clients/client-cloudwatch-events/commands/PutPartnerEventsCommand.ts index 5d523523dea6..193c7e7caf74 100644 --- a/clients/client-cloudwatch-events/commands/PutPartnerEventsCommand.ts +++ b/clients/client-cloudwatch-events/commands/PutPartnerEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutPartnerEventsCommandInput = PutPartnerEventsRequest; @@ -67,14 +67,14 @@ export class PutPartnerEventsCommand extends $Command< private serialize( input: PutPartnerEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutPartnerEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutPartnerEventsCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/PutPermissionCommand.ts b/clients/client-cloudwatch-events/commands/PutPermissionCommand.ts index 267c0a0d4852..03a8cde8933b 100644 --- a/clients/client-cloudwatch-events/commands/PutPermissionCommand.ts +++ b/clients/client-cloudwatch-events/commands/PutPermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutPermissionCommandInput = PutPermissionRequest; @@ -65,14 +65,14 @@ export class PutPermissionCommand extends $Command< private serialize( input: PutPermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutPermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutPermissionCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/PutRuleCommand.ts b/clients/client-cloudwatch-events/commands/PutRuleCommand.ts index 96919ec9f24c..9a9494528090 100644 --- a/clients/client-cloudwatch-events/commands/PutRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/PutRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRuleCommandInput = PutRuleRequest; @@ -64,14 +64,14 @@ export class PutRuleCommand extends $Command< private serialize( input: PutRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRuleCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/PutTargetsCommand.ts b/clients/client-cloudwatch-events/commands/PutTargetsCommand.ts index 67950e06b83f..a0191407bc2a 100644 --- a/clients/client-cloudwatch-events/commands/PutTargetsCommand.ts +++ b/clients/client-cloudwatch-events/commands/PutTargetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutTargetsCommandInput = PutTargetsRequest; @@ -64,14 +64,14 @@ export class PutTargetsCommand extends $Command< private serialize( input: PutTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutTargetsCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/RemovePermissionCommand.ts b/clients/client-cloudwatch-events/commands/RemovePermissionCommand.ts index 4d09f3c60fcb..26a2e0524d92 100644 --- a/clients/client-cloudwatch-events/commands/RemovePermissionCommand.ts +++ b/clients/client-cloudwatch-events/commands/RemovePermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemovePermissionCommandInput = RemovePermissionRequest; @@ -65,14 +65,14 @@ export class RemovePermissionCommand extends $Command< private serialize( input: RemovePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemovePermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemovePermissionCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/RemoveTargetsCommand.ts b/clients/client-cloudwatch-events/commands/RemoveTargetsCommand.ts index abfab7781bbf..69257c730627 100644 --- a/clients/client-cloudwatch-events/commands/RemoveTargetsCommand.ts +++ b/clients/client-cloudwatch-events/commands/RemoveTargetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTargetsCommandInput = RemoveTargetsRequest; @@ -64,14 +64,14 @@ export class RemoveTargetsCommand extends $Command< private serialize( input: RemoveTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTargetsCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/TagResourceCommand.ts b/clients/client-cloudwatch-events/commands/TagResourceCommand.ts index 37929ca3cf99..3fccc75398a3 100644 --- a/clients/client-cloudwatch-events/commands/TagResourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/TestEventPatternCommand.ts b/clients/client-cloudwatch-events/commands/TestEventPatternCommand.ts index 3cb53b309b9d..97df0444ba52 100644 --- a/clients/client-cloudwatch-events/commands/TestEventPatternCommand.ts +++ b/clients/client-cloudwatch-events/commands/TestEventPatternCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestEventPatternCommandInput = TestEventPatternRequest; @@ -67,14 +67,14 @@ export class TestEventPatternCommand extends $Command< private serialize( input: TestEventPatternCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TestEventPatternCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TestEventPatternCommand(output, context); } diff --git a/clients/client-cloudwatch-events/commands/UntagResourceCommand.ts b/clients/client-cloudwatch-events/commands/UntagResourceCommand.ts index 16073cbc5d84..5171005ec773 100644 --- a/clients/client-cloudwatch-events/commands/UntagResourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-cloudwatch-events/protocols/Aws_json1_1.ts b/clients/client-cloudwatch-events/protocols/Aws_json1_1.ts index a9e97bf6df3e..6ee66ec73976 100644 --- a/clients/client-cloudwatch-events/protocols/Aws_json1_1.ts +++ b/clients/client-cloudwatch-events/protocols/Aws_json1_1.ts @@ -5159,6 +5159,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cloudwatch-logs/commands/AssociateKmsKeyCommand.ts b/clients/client-cloudwatch-logs/commands/AssociateKmsKeyCommand.ts index 85f112981aeb..daee9b278c8d 100644 --- a/clients/client-cloudwatch-logs/commands/AssociateKmsKeyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/AssociateKmsKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateKmsKeyCommandInput = AssociateKmsKeyRequest; @@ -65,14 +65,14 @@ export class AssociateKmsKeyCommand extends $Command< private serialize( input: AssociateKmsKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateKmsKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateKmsKeyCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/CancelExportTaskCommand.ts b/clients/client-cloudwatch-logs/commands/CancelExportTaskCommand.ts index 9b534e77e2be..c6948c6252c6 100644 --- a/clients/client-cloudwatch-logs/commands/CancelExportTaskCommand.ts +++ b/clients/client-cloudwatch-logs/commands/CancelExportTaskCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelExportTaskCommandInput = CancelExportTaskRequest; @@ -65,14 +65,14 @@ export class CancelExportTaskCommand extends $Command< private serialize( input: CancelExportTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelExportTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelExportTaskCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/CreateExportTaskCommand.ts b/clients/client-cloudwatch-logs/commands/CreateExportTaskCommand.ts index ea251fd32f8d..4c7e45e7426e 100644 --- a/clients/client-cloudwatch-logs/commands/CreateExportTaskCommand.ts +++ b/clients/client-cloudwatch-logs/commands/CreateExportTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateExportTaskCommandInput = CreateExportTaskRequest; @@ -67,14 +67,14 @@ export class CreateExportTaskCommand extends $Command< private serialize( input: CreateExportTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateExportTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateExportTaskCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/CreateLogGroupCommand.ts b/clients/client-cloudwatch-logs/commands/CreateLogGroupCommand.ts index 83693c61471a..62c1436cf5eb 100644 --- a/clients/client-cloudwatch-logs/commands/CreateLogGroupCommand.ts +++ b/clients/client-cloudwatch-logs/commands/CreateLogGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLogGroupCommandInput = CreateLogGroupRequest; @@ -65,14 +65,14 @@ export class CreateLogGroupCommand extends $Command< private serialize( input: CreateLogGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLogGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLogGroupCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/CreateLogStreamCommand.ts b/clients/client-cloudwatch-logs/commands/CreateLogStreamCommand.ts index a435417aea19..7a1eb9eb353f 100644 --- a/clients/client-cloudwatch-logs/commands/CreateLogStreamCommand.ts +++ b/clients/client-cloudwatch-logs/commands/CreateLogStreamCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLogStreamCommandInput = CreateLogStreamRequest; @@ -65,14 +65,14 @@ export class CreateLogStreamCommand extends $Command< private serialize( input: CreateLogStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLogStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLogStreamCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DeleteDestinationCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteDestinationCommand.ts index a73dbf04726a..d38fd29aa99f 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteDestinationCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteDestinationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDestinationCommandInput = DeleteDestinationRequest; @@ -65,14 +65,14 @@ export class DeleteDestinationCommand extends $Command< private serialize( input: DeleteDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDestinationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDestinationCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DeleteLogGroupCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteLogGroupCommand.ts index 6f122800bff4..97098e75b08a 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteLogGroupCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteLogGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLogGroupCommandInput = DeleteLogGroupRequest; @@ -65,14 +65,14 @@ export class DeleteLogGroupCommand extends $Command< private serialize( input: DeleteLogGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLogGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLogGroupCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DeleteLogStreamCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteLogStreamCommand.ts index 304e6e537a48..50bf3d2eb883 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteLogStreamCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteLogStreamCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLogStreamCommandInput = DeleteLogStreamRequest; @@ -65,14 +65,14 @@ export class DeleteLogStreamCommand extends $Command< private serialize( input: DeleteLogStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLogStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLogStreamCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DeleteMetricFilterCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteMetricFilterCommand.ts index dfc718a4550a..14c382b5f2d3 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteMetricFilterCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteMetricFilterCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMetricFilterCommandInput = DeleteMetricFilterRequest; @@ -65,14 +65,14 @@ export class DeleteMetricFilterCommand extends $Command< private serialize( input: DeleteMetricFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteMetricFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteMetricFilterCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DeleteResourcePolicyCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteResourcePolicyCommand.ts index 58c954a96c24..596701569790 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteResourcePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResourcePolicyCommandInput = DeleteResourcePolicyRequest; @@ -68,14 +68,14 @@ export class DeleteResourcePolicyCommand extends $Command< private serialize( input: DeleteResourcePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteResourcePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteResourcePolicyCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DeleteRetentionPolicyCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteRetentionPolicyCommand.ts index 00dd12b84684..8fe67da3e90a 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteRetentionPolicyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteRetentionPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRetentionPolicyCommandInput = DeleteRetentionPolicyRequest; @@ -68,14 +68,14 @@ export class DeleteRetentionPolicyCommand extends $Command< private serialize( input: DeleteRetentionPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRetentionPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRetentionPolicyCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DeleteSubscriptionFilterCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteSubscriptionFilterCommand.ts index 9a239003269e..8e94a8607a46 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteSubscriptionFilterCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteSubscriptionFilterCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSubscriptionFilterCommandInput = DeleteSubscriptionFilterRequest; @@ -68,14 +68,14 @@ export class DeleteSubscriptionFilterCommand extends $Command< private serialize( input: DeleteSubscriptionFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSubscriptionFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSubscriptionFilterCommand( output, diff --git a/clients/client-cloudwatch-logs/commands/DescribeDestinationsCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeDestinationsCommand.ts index e37181f6a586..9ceed43d8487 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeDestinationsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeDestinationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDestinationsCommandInput = DescribeDestinationsRequest; @@ -70,14 +70,14 @@ export class DescribeDestinationsCommand extends $Command< private serialize( input: DescribeDestinationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDestinationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDestinationsCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DescribeExportTasksCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeExportTasksCommand.ts index 7788eff02528..c842b055f5ed 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeExportTasksCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeExportTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeExportTasksCommandInput = DescribeExportTasksRequest; @@ -70,14 +70,14 @@ export class DescribeExportTasksCommand extends $Command< private serialize( input: DescribeExportTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeExportTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeExportTasksCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DescribeLogGroupsCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeLogGroupsCommand.ts index d39b63d255a8..bbaa013758fa 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeLogGroupsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeLogGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLogGroupsCommandInput = DescribeLogGroupsRequest; @@ -67,14 +67,14 @@ export class DescribeLogGroupsCommand extends $Command< private serialize( input: DescribeLogGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLogGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLogGroupsCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DescribeLogStreamsCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeLogStreamsCommand.ts index 9ffcac34d34b..02bfbfa1523e 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeLogStreamsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeLogStreamsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLogStreamsCommandInput = DescribeLogStreamsRequest; @@ -67,14 +67,14 @@ export class DescribeLogStreamsCommand extends $Command< private serialize( input: DescribeLogStreamsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLogStreamsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLogStreamsCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DescribeMetricFiltersCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeMetricFiltersCommand.ts index 11e6f9a85fb0..e9a967def7c8 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeMetricFiltersCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeMetricFiltersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMetricFiltersCommandInput = DescribeMetricFiltersRequest; @@ -70,14 +70,14 @@ export class DescribeMetricFiltersCommand extends $Command< private serialize( input: DescribeMetricFiltersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMetricFiltersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMetricFiltersCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DescribeQueriesCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeQueriesCommand.ts index 11f4277c4424..eb3df6134ee4 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeQueriesCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeQueriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeQueriesCommandInput = DescribeQueriesRequest; @@ -67,14 +67,14 @@ export class DescribeQueriesCommand extends $Command< private serialize( input: DescribeQueriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeQueriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeQueriesCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/DescribeResourcePoliciesCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeResourcePoliciesCommand.ts index 02c38285392a..1b7dbc8c005b 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeResourcePoliciesCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeResourcePoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeResourcePoliciesCommandInput = DescribeResourcePoliciesRequest; @@ -70,14 +70,14 @@ export class DescribeResourcePoliciesCommand extends $Command< private serialize( input: DescribeResourcePoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeResourcePoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeResourcePoliciesCommand( output, diff --git a/clients/client-cloudwatch-logs/commands/DescribeSubscriptionFiltersCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeSubscriptionFiltersCommand.ts index 8c767ec5e557..53569360cc5d 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeSubscriptionFiltersCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeSubscriptionFiltersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSubscriptionFiltersCommandInput = DescribeSubscriptionFiltersRequest; @@ -70,7 +70,7 @@ export class DescribeSubscriptionFiltersCommand extends $Command< private serialize( input: DescribeSubscriptionFiltersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSubscriptionFiltersCommand( input, @@ -80,7 +80,7 @@ export class DescribeSubscriptionFiltersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSubscriptionFiltersCommand( output, diff --git a/clients/client-cloudwatch-logs/commands/DisassociateKmsKeyCommand.ts b/clients/client-cloudwatch-logs/commands/DisassociateKmsKeyCommand.ts index 742a23bd6fd3..55e0c594f6fa 100644 --- a/clients/client-cloudwatch-logs/commands/DisassociateKmsKeyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DisassociateKmsKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateKmsKeyCommandInput = DisassociateKmsKeyRequest; @@ -65,14 +65,14 @@ export class DisassociateKmsKeyCommand extends $Command< private serialize( input: DisassociateKmsKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateKmsKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateKmsKeyCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/FilterLogEventsCommand.ts b/clients/client-cloudwatch-logs/commands/FilterLogEventsCommand.ts index f0d3d19f5410..a9da5493b41c 100644 --- a/clients/client-cloudwatch-logs/commands/FilterLogEventsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/FilterLogEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type FilterLogEventsCommandInput = FilterLogEventsRequest; @@ -67,14 +67,14 @@ export class FilterLogEventsCommand extends $Command< private serialize( input: FilterLogEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1FilterLogEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1FilterLogEventsCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/GetLogEventsCommand.ts b/clients/client-cloudwatch-logs/commands/GetLogEventsCommand.ts index 76924923fec0..64eec6604f1a 100644 --- a/clients/client-cloudwatch-logs/commands/GetLogEventsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/GetLogEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLogEventsCommandInput = GetLogEventsRequest; @@ -64,14 +64,14 @@ export class GetLogEventsCommand extends $Command< private serialize( input: GetLogEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLogEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLogEventsCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/GetLogGroupFieldsCommand.ts b/clients/client-cloudwatch-logs/commands/GetLogGroupFieldsCommand.ts index 3391bddd6aeb..0b4481c59587 100644 --- a/clients/client-cloudwatch-logs/commands/GetLogGroupFieldsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/GetLogGroupFieldsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLogGroupFieldsCommandInput = GetLogGroupFieldsRequest; @@ -67,14 +67,14 @@ export class GetLogGroupFieldsCommand extends $Command< private serialize( input: GetLogGroupFieldsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLogGroupFieldsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLogGroupFieldsCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/GetLogRecordCommand.ts b/clients/client-cloudwatch-logs/commands/GetLogRecordCommand.ts index f8c6b7058334..bd151704e561 100644 --- a/clients/client-cloudwatch-logs/commands/GetLogRecordCommand.ts +++ b/clients/client-cloudwatch-logs/commands/GetLogRecordCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLogRecordCommandInput = GetLogRecordRequest; @@ -64,14 +64,14 @@ export class GetLogRecordCommand extends $Command< private serialize( input: GetLogRecordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLogRecordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLogRecordCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/GetQueryResultsCommand.ts b/clients/client-cloudwatch-logs/commands/GetQueryResultsCommand.ts index 45e13b56e88c..20ad53a390f3 100644 --- a/clients/client-cloudwatch-logs/commands/GetQueryResultsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/GetQueryResultsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetQueryResultsCommandInput = GetQueryResultsRequest; @@ -67,14 +67,14 @@ export class GetQueryResultsCommand extends $Command< private serialize( input: GetQueryResultsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetQueryResultsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetQueryResultsCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/ListTagsLogGroupCommand.ts b/clients/client-cloudwatch-logs/commands/ListTagsLogGroupCommand.ts index cfc43971c7df..7826a39249a4 100644 --- a/clients/client-cloudwatch-logs/commands/ListTagsLogGroupCommand.ts +++ b/clients/client-cloudwatch-logs/commands/ListTagsLogGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsLogGroupCommandInput = ListTagsLogGroupRequest; @@ -67,14 +67,14 @@ export class ListTagsLogGroupCommand extends $Command< private serialize( input: ListTagsLogGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsLogGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsLogGroupCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/PutDestinationCommand.ts b/clients/client-cloudwatch-logs/commands/PutDestinationCommand.ts index 7248f2668b6f..e7d7128c7a67 100644 --- a/clients/client-cloudwatch-logs/commands/PutDestinationCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutDestinationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDestinationCommandInput = PutDestinationRequest; @@ -64,14 +64,14 @@ export class PutDestinationCommand extends $Command< private serialize( input: PutDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutDestinationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutDestinationCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/PutDestinationPolicyCommand.ts b/clients/client-cloudwatch-logs/commands/PutDestinationPolicyCommand.ts index 0aa38393d776..2446f402ad77 100644 --- a/clients/client-cloudwatch-logs/commands/PutDestinationPolicyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutDestinationPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDestinationPolicyCommandInput = PutDestinationPolicyRequest; @@ -68,14 +68,14 @@ export class PutDestinationPolicyCommand extends $Command< private serialize( input: PutDestinationPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutDestinationPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutDestinationPolicyCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/PutLogEventsCommand.ts b/clients/client-cloudwatch-logs/commands/PutLogEventsCommand.ts index b04281aeaf20..396d614500a2 100644 --- a/clients/client-cloudwatch-logs/commands/PutLogEventsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutLogEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLogEventsCommandInput = PutLogEventsRequest; @@ -64,14 +64,14 @@ export class PutLogEventsCommand extends $Command< private serialize( input: PutLogEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutLogEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutLogEventsCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/PutMetricFilterCommand.ts b/clients/client-cloudwatch-logs/commands/PutMetricFilterCommand.ts index d48254d12506..4392be97fadb 100644 --- a/clients/client-cloudwatch-logs/commands/PutMetricFilterCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutMetricFilterCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutMetricFilterCommandInput = PutMetricFilterRequest; @@ -65,14 +65,14 @@ export class PutMetricFilterCommand extends $Command< private serialize( input: PutMetricFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutMetricFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutMetricFilterCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/PutResourcePolicyCommand.ts b/clients/client-cloudwatch-logs/commands/PutResourcePolicyCommand.ts index d3f04ef13ebd..4abe517dad57 100644 --- a/clients/client-cloudwatch-logs/commands/PutResourcePolicyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutResourcePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutResourcePolicyCommandInput = PutResourcePolicyRequest; @@ -67,14 +67,14 @@ export class PutResourcePolicyCommand extends $Command< private serialize( input: PutResourcePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutResourcePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutResourcePolicyCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/PutRetentionPolicyCommand.ts b/clients/client-cloudwatch-logs/commands/PutRetentionPolicyCommand.ts index a96715c50284..78862c23c8cb 100644 --- a/clients/client-cloudwatch-logs/commands/PutRetentionPolicyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutRetentionPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRetentionPolicyCommandInput = PutRetentionPolicyRequest; @@ -65,14 +65,14 @@ export class PutRetentionPolicyCommand extends $Command< private serialize( input: PutRetentionPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRetentionPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRetentionPolicyCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/PutSubscriptionFilterCommand.ts b/clients/client-cloudwatch-logs/commands/PutSubscriptionFilterCommand.ts index 68497a5bacbf..637db73427e7 100644 --- a/clients/client-cloudwatch-logs/commands/PutSubscriptionFilterCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutSubscriptionFilterCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutSubscriptionFilterCommandInput = PutSubscriptionFilterRequest; @@ -68,14 +68,14 @@ export class PutSubscriptionFilterCommand extends $Command< private serialize( input: PutSubscriptionFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutSubscriptionFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutSubscriptionFilterCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/StartQueryCommand.ts b/clients/client-cloudwatch-logs/commands/StartQueryCommand.ts index 350f23d3282f..8a84d5d1fbf5 100644 --- a/clients/client-cloudwatch-logs/commands/StartQueryCommand.ts +++ b/clients/client-cloudwatch-logs/commands/StartQueryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartQueryCommandInput = StartQueryRequest; @@ -64,14 +64,14 @@ export class StartQueryCommand extends $Command< private serialize( input: StartQueryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartQueryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartQueryCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/StopQueryCommand.ts b/clients/client-cloudwatch-logs/commands/StopQueryCommand.ts index 61e5130cedcc..ee2c1765fba8 100644 --- a/clients/client-cloudwatch-logs/commands/StopQueryCommand.ts +++ b/clients/client-cloudwatch-logs/commands/StopQueryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopQueryCommandInput = StopQueryRequest; @@ -64,14 +64,14 @@ export class StopQueryCommand extends $Command< private serialize( input: StopQueryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopQueryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopQueryCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/TagLogGroupCommand.ts b/clients/client-cloudwatch-logs/commands/TagLogGroupCommand.ts index a1b8cd9f835e..4d198ae1b56d 100644 --- a/clients/client-cloudwatch-logs/commands/TagLogGroupCommand.ts +++ b/clients/client-cloudwatch-logs/commands/TagLogGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagLogGroupCommandInput = TagLogGroupRequest; @@ -65,14 +65,14 @@ export class TagLogGroupCommand extends $Command< private serialize( input: TagLogGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagLogGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagLogGroupCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/TestMetricFilterCommand.ts b/clients/client-cloudwatch-logs/commands/TestMetricFilterCommand.ts index d3cbdc49f510..024d52532cda 100644 --- a/clients/client-cloudwatch-logs/commands/TestMetricFilterCommand.ts +++ b/clients/client-cloudwatch-logs/commands/TestMetricFilterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestMetricFilterCommandInput = TestMetricFilterRequest; @@ -67,14 +67,14 @@ export class TestMetricFilterCommand extends $Command< private serialize( input: TestMetricFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TestMetricFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TestMetricFilterCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/commands/UntagLogGroupCommand.ts b/clients/client-cloudwatch-logs/commands/UntagLogGroupCommand.ts index a5079e46da43..6b0dd96b8be3 100644 --- a/clients/client-cloudwatch-logs/commands/UntagLogGroupCommand.ts +++ b/clients/client-cloudwatch-logs/commands/UntagLogGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagLogGroupCommandInput = UntagLogGroupRequest; @@ -65,14 +65,14 @@ export class UntagLogGroupCommand extends $Command< private serialize( input: UntagLogGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagLogGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagLogGroupCommand(output, context); } diff --git a/clients/client-cloudwatch-logs/protocols/Aws_json1_1.ts b/clients/client-cloudwatch-logs/protocols/Aws_json1_1.ts index e5d7e97f77d4..785dbae0ae08 100644 --- a/clients/client-cloudwatch-logs/protocols/Aws_json1_1.ts +++ b/clients/client-cloudwatch-logs/protocols/Aws_json1_1.ts @@ -5993,6 +5993,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cloudwatch/commands/DeleteAlarmsCommand.ts b/clients/client-cloudwatch/commands/DeleteAlarmsCommand.ts index ad4b3167a411..6db509fd5fb6 100644 --- a/clients/client-cloudwatch/commands/DeleteAlarmsCommand.ts +++ b/clients/client-cloudwatch/commands/DeleteAlarmsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAlarmsCommandInput = DeleteAlarmsInput; @@ -65,14 +65,14 @@ export class DeleteAlarmsCommand extends $Command< private serialize( input: DeleteAlarmsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteAlarmsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteAlarmsCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/DeleteAnomalyDetectorCommand.ts b/clients/client-cloudwatch/commands/DeleteAnomalyDetectorCommand.ts index a295f18964cb..66bee104e4aa 100644 --- a/clients/client-cloudwatch/commands/DeleteAnomalyDetectorCommand.ts +++ b/clients/client-cloudwatch/commands/DeleteAnomalyDetectorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAnomalyDetectorCommandInput = DeleteAnomalyDetectorInput; @@ -70,14 +70,14 @@ export class DeleteAnomalyDetectorCommand extends $Command< private serialize( input: DeleteAnomalyDetectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteAnomalyDetectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteAnomalyDetectorCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/DeleteDashboardsCommand.ts b/clients/client-cloudwatch/commands/DeleteDashboardsCommand.ts index 3446e9e96d3a..c737a78935c9 100644 --- a/clients/client-cloudwatch/commands/DeleteDashboardsCommand.ts +++ b/clients/client-cloudwatch/commands/DeleteDashboardsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDashboardsCommandInput = DeleteDashboardsInput; @@ -64,14 +64,14 @@ export class DeleteDashboardsCommand extends $Command< private serialize( input: DeleteDashboardsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDashboardsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDashboardsCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/DeleteInsightRulesCommand.ts b/clients/client-cloudwatch/commands/DeleteInsightRulesCommand.ts index 2e01c71eb568..6be4cfb0f15d 100644 --- a/clients/client-cloudwatch/commands/DeleteInsightRulesCommand.ts +++ b/clients/client-cloudwatch/commands/DeleteInsightRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInsightRulesCommandInput = DeleteInsightRulesInput; @@ -67,14 +67,14 @@ export class DeleteInsightRulesCommand extends $Command< private serialize( input: DeleteInsightRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteInsightRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteInsightRulesCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/DescribeAlarmHistoryCommand.ts b/clients/client-cloudwatch/commands/DescribeAlarmHistoryCommand.ts index cc5a9ca7969d..182441f508c6 100644 --- a/clients/client-cloudwatch/commands/DescribeAlarmHistoryCommand.ts +++ b/clients/client-cloudwatch/commands/DescribeAlarmHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAlarmHistoryCommandInput = DescribeAlarmHistoryInput; @@ -70,14 +70,14 @@ export class DescribeAlarmHistoryCommand extends $Command< private serialize( input: DescribeAlarmHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAlarmHistoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAlarmHistoryCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/DescribeAlarmsCommand.ts b/clients/client-cloudwatch/commands/DescribeAlarmsCommand.ts index 993d4e955a1c..d38c1583444f 100644 --- a/clients/client-cloudwatch/commands/DescribeAlarmsCommand.ts +++ b/clients/client-cloudwatch/commands/DescribeAlarmsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAlarmsCommandInput = DescribeAlarmsInput; @@ -64,14 +64,14 @@ export class DescribeAlarmsCommand extends $Command< private serialize( input: DescribeAlarmsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAlarmsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAlarmsCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/DescribeAlarmsForMetricCommand.ts b/clients/client-cloudwatch/commands/DescribeAlarmsForMetricCommand.ts index f8613127107e..5379c64bd150 100644 --- a/clients/client-cloudwatch/commands/DescribeAlarmsForMetricCommand.ts +++ b/clients/client-cloudwatch/commands/DescribeAlarmsForMetricCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAlarmsForMetricCommandInput = DescribeAlarmsForMetricInput; @@ -70,14 +70,14 @@ export class DescribeAlarmsForMetricCommand extends $Command< private serialize( input: DescribeAlarmsForMetricCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAlarmsForMetricCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAlarmsForMetricCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/DescribeAnomalyDetectorsCommand.ts b/clients/client-cloudwatch/commands/DescribeAnomalyDetectorsCommand.ts index 858140497196..bf53e4b2bb6a 100644 --- a/clients/client-cloudwatch/commands/DescribeAnomalyDetectorsCommand.ts +++ b/clients/client-cloudwatch/commands/DescribeAnomalyDetectorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAnomalyDetectorsCommandInput = DescribeAnomalyDetectorsInput; @@ -70,14 +70,14 @@ export class DescribeAnomalyDetectorsCommand extends $Command< private serialize( input: DescribeAnomalyDetectorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAnomalyDetectorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAnomalyDetectorsCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/DescribeInsightRulesCommand.ts b/clients/client-cloudwatch/commands/DescribeInsightRulesCommand.ts index bd9120950c9a..0a4380e88ad8 100644 --- a/clients/client-cloudwatch/commands/DescribeInsightRulesCommand.ts +++ b/clients/client-cloudwatch/commands/DescribeInsightRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInsightRulesCommandInput = DescribeInsightRulesInput; @@ -70,14 +70,14 @@ export class DescribeInsightRulesCommand extends $Command< private serialize( input: DescribeInsightRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeInsightRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeInsightRulesCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/DisableAlarmActionsCommand.ts b/clients/client-cloudwatch/commands/DisableAlarmActionsCommand.ts index 8e704d3e4070..696e8cc2408f 100644 --- a/clients/client-cloudwatch/commands/DisableAlarmActionsCommand.ts +++ b/clients/client-cloudwatch/commands/DisableAlarmActionsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableAlarmActionsCommandInput = DisableAlarmActionsInput; @@ -68,14 +68,14 @@ export class DisableAlarmActionsCommand extends $Command< private serialize( input: DisableAlarmActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDisableAlarmActionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDisableAlarmActionsCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/DisableInsightRulesCommand.ts b/clients/client-cloudwatch/commands/DisableInsightRulesCommand.ts index 8a81c1925b01..942809078267 100644 --- a/clients/client-cloudwatch/commands/DisableInsightRulesCommand.ts +++ b/clients/client-cloudwatch/commands/DisableInsightRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableInsightRulesCommandInput = DisableInsightRulesInput; @@ -70,14 +70,14 @@ export class DisableInsightRulesCommand extends $Command< private serialize( input: DisableInsightRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDisableInsightRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDisableInsightRulesCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/EnableAlarmActionsCommand.ts b/clients/client-cloudwatch/commands/EnableAlarmActionsCommand.ts index e1589f520f70..0ea69bbfe0af 100644 --- a/clients/client-cloudwatch/commands/EnableAlarmActionsCommand.ts +++ b/clients/client-cloudwatch/commands/EnableAlarmActionsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableAlarmActionsCommandInput = EnableAlarmActionsInput; @@ -65,14 +65,14 @@ export class EnableAlarmActionsCommand extends $Command< private serialize( input: EnableAlarmActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryEnableAlarmActionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryEnableAlarmActionsCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/EnableInsightRulesCommand.ts b/clients/client-cloudwatch/commands/EnableInsightRulesCommand.ts index ffbf0bd2dc74..412b165feecc 100644 --- a/clients/client-cloudwatch/commands/EnableInsightRulesCommand.ts +++ b/clients/client-cloudwatch/commands/EnableInsightRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableInsightRulesCommandInput = EnableInsightRulesInput; @@ -67,14 +67,14 @@ export class EnableInsightRulesCommand extends $Command< private serialize( input: EnableInsightRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryEnableInsightRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryEnableInsightRulesCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/GetDashboardCommand.ts b/clients/client-cloudwatch/commands/GetDashboardCommand.ts index 049d554cfd47..2fb28a318ef8 100644 --- a/clients/client-cloudwatch/commands/GetDashboardCommand.ts +++ b/clients/client-cloudwatch/commands/GetDashboardCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDashboardCommandInput = GetDashboardInput; @@ -64,14 +64,14 @@ export class GetDashboardCommand extends $Command< private serialize( input: GetDashboardCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetDashboardCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetDashboardCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/GetInsightRuleReportCommand.ts b/clients/client-cloudwatch/commands/GetInsightRuleReportCommand.ts index 5f0f19a8fbc1..b2771129b125 100644 --- a/clients/client-cloudwatch/commands/GetInsightRuleReportCommand.ts +++ b/clients/client-cloudwatch/commands/GetInsightRuleReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInsightRuleReportCommandInput = GetInsightRuleReportInput; @@ -70,14 +70,14 @@ export class GetInsightRuleReportCommand extends $Command< private serialize( input: GetInsightRuleReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetInsightRuleReportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetInsightRuleReportCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/GetMetricDataCommand.ts b/clients/client-cloudwatch/commands/GetMetricDataCommand.ts index 90f7785762eb..477cd7ec88ba 100644 --- a/clients/client-cloudwatch/commands/GetMetricDataCommand.ts +++ b/clients/client-cloudwatch/commands/GetMetricDataCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMetricDataCommandInput = GetMetricDataInput; @@ -64,14 +64,14 @@ export class GetMetricDataCommand extends $Command< private serialize( input: GetMetricDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetMetricDataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetMetricDataCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/GetMetricStatisticsCommand.ts b/clients/client-cloudwatch/commands/GetMetricStatisticsCommand.ts index 40e241579d93..68fcce8a46ab 100644 --- a/clients/client-cloudwatch/commands/GetMetricStatisticsCommand.ts +++ b/clients/client-cloudwatch/commands/GetMetricStatisticsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMetricStatisticsCommandInput = GetMetricStatisticsInput; @@ -70,14 +70,14 @@ export class GetMetricStatisticsCommand extends $Command< private serialize( input: GetMetricStatisticsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetMetricStatisticsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetMetricStatisticsCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/GetMetricWidgetImageCommand.ts b/clients/client-cloudwatch/commands/GetMetricWidgetImageCommand.ts index 8d53faf52e7e..2a9f7ced3166 100644 --- a/clients/client-cloudwatch/commands/GetMetricWidgetImageCommand.ts +++ b/clients/client-cloudwatch/commands/GetMetricWidgetImageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMetricWidgetImageCommandInput = GetMetricWidgetImageInput; @@ -70,14 +70,14 @@ export class GetMetricWidgetImageCommand extends $Command< private serialize( input: GetMetricWidgetImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetMetricWidgetImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetMetricWidgetImageCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/ListDashboardsCommand.ts b/clients/client-cloudwatch/commands/ListDashboardsCommand.ts index 5c7f450b4722..a5df81939096 100644 --- a/clients/client-cloudwatch/commands/ListDashboardsCommand.ts +++ b/clients/client-cloudwatch/commands/ListDashboardsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDashboardsCommandInput = ListDashboardsInput; @@ -64,14 +64,14 @@ export class ListDashboardsCommand extends $Command< private serialize( input: ListDashboardsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListDashboardsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListDashboardsCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/ListMetricsCommand.ts b/clients/client-cloudwatch/commands/ListMetricsCommand.ts index 00da85b75140..de7309f1a35c 100644 --- a/clients/client-cloudwatch/commands/ListMetricsCommand.ts +++ b/clients/client-cloudwatch/commands/ListMetricsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMetricsCommandInput = ListMetricsInput; @@ -64,14 +64,14 @@ export class ListMetricsCommand extends $Command< private serialize( input: ListMetricsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListMetricsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListMetricsCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/ListTagsForResourceCommand.ts b/clients/client-cloudwatch/commands/ListTagsForResourceCommand.ts index f6424cf8ca80..159770989eec 100644 --- a/clients/client-cloudwatch/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cloudwatch/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTagsForResourceCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/PutAnomalyDetectorCommand.ts b/clients/client-cloudwatch/commands/PutAnomalyDetectorCommand.ts index ba4623fee5f8..c016c946ab3e 100644 --- a/clients/client-cloudwatch/commands/PutAnomalyDetectorCommand.ts +++ b/clients/client-cloudwatch/commands/PutAnomalyDetectorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAnomalyDetectorCommandInput = PutAnomalyDetectorInput; @@ -67,14 +67,14 @@ export class PutAnomalyDetectorCommand extends $Command< private serialize( input: PutAnomalyDetectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutAnomalyDetectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutAnomalyDetectorCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/PutDashboardCommand.ts b/clients/client-cloudwatch/commands/PutDashboardCommand.ts index 6accd85e7ab1..9a900277ca8d 100644 --- a/clients/client-cloudwatch/commands/PutDashboardCommand.ts +++ b/clients/client-cloudwatch/commands/PutDashboardCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDashboardCommandInput = PutDashboardInput; @@ -64,14 +64,14 @@ export class PutDashboardCommand extends $Command< private serialize( input: PutDashboardCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutDashboardCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutDashboardCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/PutInsightRuleCommand.ts b/clients/client-cloudwatch/commands/PutInsightRuleCommand.ts index d13c916bb524..88502d425bca 100644 --- a/clients/client-cloudwatch/commands/PutInsightRuleCommand.ts +++ b/clients/client-cloudwatch/commands/PutInsightRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutInsightRuleCommandInput = PutInsightRuleInput; @@ -64,14 +64,14 @@ export class PutInsightRuleCommand extends $Command< private serialize( input: PutInsightRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutInsightRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutInsightRuleCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/PutMetricAlarmCommand.ts b/clients/client-cloudwatch/commands/PutMetricAlarmCommand.ts index 6199349d631a..d5102d7de30b 100644 --- a/clients/client-cloudwatch/commands/PutMetricAlarmCommand.ts +++ b/clients/client-cloudwatch/commands/PutMetricAlarmCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutMetricAlarmCommandInput = PutMetricAlarmInput; @@ -65,14 +65,14 @@ export class PutMetricAlarmCommand extends $Command< private serialize( input: PutMetricAlarmCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutMetricAlarmCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutMetricAlarmCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/PutMetricDataCommand.ts b/clients/client-cloudwatch/commands/PutMetricDataCommand.ts index 68ee24428433..fac447bee185 100644 --- a/clients/client-cloudwatch/commands/PutMetricDataCommand.ts +++ b/clients/client-cloudwatch/commands/PutMetricDataCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutMetricDataCommandInput = PutMetricDataInput; @@ -65,14 +65,14 @@ export class PutMetricDataCommand extends $Command< private serialize( input: PutMetricDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutMetricDataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutMetricDataCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/SetAlarmStateCommand.ts b/clients/client-cloudwatch/commands/SetAlarmStateCommand.ts index ad87f14dfca8..cb4a968be634 100644 --- a/clients/client-cloudwatch/commands/SetAlarmStateCommand.ts +++ b/clients/client-cloudwatch/commands/SetAlarmStateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetAlarmStateCommandInput = SetAlarmStateInput; @@ -65,14 +65,14 @@ export class SetAlarmStateCommand extends $Command< private serialize( input: SetAlarmStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetAlarmStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetAlarmStateCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/TagResourceCommand.ts b/clients/client-cloudwatch/commands/TagResourceCommand.ts index ccbf6ded18aa..d30b796fb68c 100644 --- a/clients/client-cloudwatch/commands/TagResourceCommand.ts +++ b/clients/client-cloudwatch/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryTagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryTagResourceCommand(output, context); } diff --git a/clients/client-cloudwatch/commands/UntagResourceCommand.ts b/clients/client-cloudwatch/commands/UntagResourceCommand.ts index d362afdf4eec..febdfbfae313 100644 --- a/clients/client-cloudwatch/commands/UntagResourceCommand.ts +++ b/clients/client-cloudwatch/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUntagResourceCommand(output, context); } diff --git a/clients/client-cloudwatch/protocols/Aws_query.ts b/clients/client-cloudwatch/protocols/Aws_query.ts index a522af7c2c2f..6b650c988dd9 100644 --- a/clients/client-cloudwatch/protocols/Aws_query.ts +++ b/clients/client-cloudwatch/protocols/Aws_query.ts @@ -5851,6 +5851,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-codebuild/commands/BatchDeleteBuildsCommand.ts b/clients/client-codebuild/commands/BatchDeleteBuildsCommand.ts index 9890beadfa18..b1b8564a5460 100644 --- a/clients/client-codebuild/commands/BatchDeleteBuildsCommand.ts +++ b/clients/client-codebuild/commands/BatchDeleteBuildsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDeleteBuildsCommandInput = BatchDeleteBuildsInput; @@ -67,14 +67,14 @@ export class BatchDeleteBuildsCommand extends $Command< private serialize( input: BatchDeleteBuildsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDeleteBuildsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDeleteBuildsCommand(output, context); } diff --git a/clients/client-codebuild/commands/BatchGetBuildsCommand.ts b/clients/client-codebuild/commands/BatchGetBuildsCommand.ts index d669017ceea9..acb904520a48 100644 --- a/clients/client-codebuild/commands/BatchGetBuildsCommand.ts +++ b/clients/client-codebuild/commands/BatchGetBuildsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetBuildsCommandInput = BatchGetBuildsInput; @@ -64,14 +64,14 @@ export class BatchGetBuildsCommand extends $Command< private serialize( input: BatchGetBuildsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetBuildsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetBuildsCommand(output, context); } diff --git a/clients/client-codebuild/commands/BatchGetProjectsCommand.ts b/clients/client-codebuild/commands/BatchGetProjectsCommand.ts index d4c2d69581e0..43cf90f09218 100644 --- a/clients/client-codebuild/commands/BatchGetProjectsCommand.ts +++ b/clients/client-codebuild/commands/BatchGetProjectsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetProjectsCommandInput = BatchGetProjectsInput; @@ -64,14 +64,14 @@ export class BatchGetProjectsCommand extends $Command< private serialize( input: BatchGetProjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetProjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetProjectsCommand(output, context); } diff --git a/clients/client-codebuild/commands/BatchGetReportGroupsCommand.ts b/clients/client-codebuild/commands/BatchGetReportGroupsCommand.ts index 14df890c365e..c933cc1c7c82 100644 --- a/clients/client-codebuild/commands/BatchGetReportGroupsCommand.ts +++ b/clients/client-codebuild/commands/BatchGetReportGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetReportGroupsCommandInput = BatchGetReportGroupsInput; @@ -70,14 +70,14 @@ export class BatchGetReportGroupsCommand extends $Command< private serialize( input: BatchGetReportGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetReportGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetReportGroupsCommand(output, context); } diff --git a/clients/client-codebuild/commands/BatchGetReportsCommand.ts b/clients/client-codebuild/commands/BatchGetReportsCommand.ts index 3e6f1bfd2bc8..4f03441e0965 100644 --- a/clients/client-codebuild/commands/BatchGetReportsCommand.ts +++ b/clients/client-codebuild/commands/BatchGetReportsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetReportsCommandInput = BatchGetReportsInput; @@ -64,14 +64,14 @@ export class BatchGetReportsCommand extends $Command< private serialize( input: BatchGetReportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetReportsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetReportsCommand(output, context); } diff --git a/clients/client-codebuild/commands/CreateProjectCommand.ts b/clients/client-codebuild/commands/CreateProjectCommand.ts index e5c5579daa7a..88f68b50fd9c 100644 --- a/clients/client-codebuild/commands/CreateProjectCommand.ts +++ b/clients/client-codebuild/commands/CreateProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProjectCommandInput = CreateProjectInput; @@ -64,14 +64,14 @@ export class CreateProjectCommand extends $Command< private serialize( input: CreateProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProjectCommand(output, context); } diff --git a/clients/client-codebuild/commands/CreateReportGroupCommand.ts b/clients/client-codebuild/commands/CreateReportGroupCommand.ts index 9abdda93d3c4..3b870a08eb2d 100644 --- a/clients/client-codebuild/commands/CreateReportGroupCommand.ts +++ b/clients/client-codebuild/commands/CreateReportGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateReportGroupCommandInput = CreateReportGroupInput; @@ -67,14 +67,14 @@ export class CreateReportGroupCommand extends $Command< private serialize( input: CreateReportGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateReportGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateReportGroupCommand(output, context); } diff --git a/clients/client-codebuild/commands/CreateWebhookCommand.ts b/clients/client-codebuild/commands/CreateWebhookCommand.ts index d3a0c3f55723..5c5a73c2c8c8 100644 --- a/clients/client-codebuild/commands/CreateWebhookCommand.ts +++ b/clients/client-codebuild/commands/CreateWebhookCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateWebhookCommandInput = CreateWebhookInput; @@ -64,14 +64,14 @@ export class CreateWebhookCommand extends $Command< private serialize( input: CreateWebhookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateWebhookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateWebhookCommand(output, context); } diff --git a/clients/client-codebuild/commands/DeleteProjectCommand.ts b/clients/client-codebuild/commands/DeleteProjectCommand.ts index e9a5b82ebfcd..2fc2028f6576 100644 --- a/clients/client-codebuild/commands/DeleteProjectCommand.ts +++ b/clients/client-codebuild/commands/DeleteProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProjectCommandInput = DeleteProjectInput; @@ -64,14 +64,14 @@ export class DeleteProjectCommand extends $Command< private serialize( input: DeleteProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteProjectCommand(output, context); } diff --git a/clients/client-codebuild/commands/DeleteReportCommand.ts b/clients/client-codebuild/commands/DeleteReportCommand.ts index b15001dab1b7..208b2522952a 100644 --- a/clients/client-codebuild/commands/DeleteReportCommand.ts +++ b/clients/client-codebuild/commands/DeleteReportCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReportCommandInput = DeleteReportInput; @@ -64,14 +64,14 @@ export class DeleteReportCommand extends $Command< private serialize( input: DeleteReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteReportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteReportCommand(output, context); } diff --git a/clients/client-codebuild/commands/DeleteReportGroupCommand.ts b/clients/client-codebuild/commands/DeleteReportGroupCommand.ts index de1669877288..f7a4d7c725ff 100644 --- a/clients/client-codebuild/commands/DeleteReportGroupCommand.ts +++ b/clients/client-codebuild/commands/DeleteReportGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReportGroupCommandInput = DeleteReportGroupInput; @@ -67,14 +67,14 @@ export class DeleteReportGroupCommand extends $Command< private serialize( input: DeleteReportGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteReportGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteReportGroupCommand(output, context); } diff --git a/clients/client-codebuild/commands/DeleteResourcePolicyCommand.ts b/clients/client-codebuild/commands/DeleteResourcePolicyCommand.ts index 837a6a500f4b..968bc9ae2d73 100644 --- a/clients/client-codebuild/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-codebuild/commands/DeleteResourcePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResourcePolicyCommandInput = DeleteResourcePolicyInput; @@ -70,14 +70,14 @@ export class DeleteResourcePolicyCommand extends $Command< private serialize( input: DeleteResourcePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteResourcePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteResourcePolicyCommand(output, context); } diff --git a/clients/client-codebuild/commands/DeleteSourceCredentialsCommand.ts b/clients/client-codebuild/commands/DeleteSourceCredentialsCommand.ts index 39cd4fc3b3c3..f3d6f3791e65 100644 --- a/clients/client-codebuild/commands/DeleteSourceCredentialsCommand.ts +++ b/clients/client-codebuild/commands/DeleteSourceCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSourceCredentialsCommandInput = DeleteSourceCredentialsInput; @@ -70,14 +70,14 @@ export class DeleteSourceCredentialsCommand extends $Command< private serialize( input: DeleteSourceCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSourceCredentialsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSourceCredentialsCommand( output, diff --git a/clients/client-codebuild/commands/DeleteWebhookCommand.ts b/clients/client-codebuild/commands/DeleteWebhookCommand.ts index eccffc871a43..b44a4ef19227 100644 --- a/clients/client-codebuild/commands/DeleteWebhookCommand.ts +++ b/clients/client-codebuild/commands/DeleteWebhookCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteWebhookCommandInput = DeleteWebhookInput; @@ -64,14 +64,14 @@ export class DeleteWebhookCommand extends $Command< private serialize( input: DeleteWebhookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteWebhookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteWebhookCommand(output, context); } diff --git a/clients/client-codebuild/commands/DescribeTestCasesCommand.ts b/clients/client-codebuild/commands/DescribeTestCasesCommand.ts index 5599301aad25..d3f139c2d360 100644 --- a/clients/client-codebuild/commands/DescribeTestCasesCommand.ts +++ b/clients/client-codebuild/commands/DescribeTestCasesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTestCasesCommandInput = DescribeTestCasesInput; @@ -67,14 +67,14 @@ export class DescribeTestCasesCommand extends $Command< private serialize( input: DescribeTestCasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTestCasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTestCasesCommand(output, context); } diff --git a/clients/client-codebuild/commands/GetResourcePolicyCommand.ts b/clients/client-codebuild/commands/GetResourcePolicyCommand.ts index 560913c51e2c..0f1c2c8d3558 100644 --- a/clients/client-codebuild/commands/GetResourcePolicyCommand.ts +++ b/clients/client-codebuild/commands/GetResourcePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourcePolicyCommandInput = GetResourcePolicyInput; @@ -67,14 +67,14 @@ export class GetResourcePolicyCommand extends $Command< private serialize( input: GetResourcePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetResourcePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetResourcePolicyCommand(output, context); } diff --git a/clients/client-codebuild/commands/ImportSourceCredentialsCommand.ts b/clients/client-codebuild/commands/ImportSourceCredentialsCommand.ts index 8f7aa34c80df..a2eaf5f965af 100644 --- a/clients/client-codebuild/commands/ImportSourceCredentialsCommand.ts +++ b/clients/client-codebuild/commands/ImportSourceCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportSourceCredentialsCommandInput = ImportSourceCredentialsInput; @@ -70,14 +70,14 @@ export class ImportSourceCredentialsCommand extends $Command< private serialize( input: ImportSourceCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportSourceCredentialsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportSourceCredentialsCommand( output, diff --git a/clients/client-codebuild/commands/InvalidateProjectCacheCommand.ts b/clients/client-codebuild/commands/InvalidateProjectCacheCommand.ts index c3193eea7766..63054a1118cf 100644 --- a/clients/client-codebuild/commands/InvalidateProjectCacheCommand.ts +++ b/clients/client-codebuild/commands/InvalidateProjectCacheCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InvalidateProjectCacheCommandInput = InvalidateProjectCacheInput; @@ -70,14 +70,14 @@ export class InvalidateProjectCacheCommand extends $Command< private serialize( input: InvalidateProjectCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1InvalidateProjectCacheCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1InvalidateProjectCacheCommand(output, context); } diff --git a/clients/client-codebuild/commands/ListBuildsCommand.ts b/clients/client-codebuild/commands/ListBuildsCommand.ts index 4a29450a0d01..e941fb33c59a 100644 --- a/clients/client-codebuild/commands/ListBuildsCommand.ts +++ b/clients/client-codebuild/commands/ListBuildsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBuildsCommandInput = ListBuildsInput; @@ -64,14 +64,14 @@ export class ListBuildsCommand extends $Command< private serialize( input: ListBuildsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListBuildsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListBuildsCommand(output, context); } diff --git a/clients/client-codebuild/commands/ListBuildsForProjectCommand.ts b/clients/client-codebuild/commands/ListBuildsForProjectCommand.ts index 5da1fcbe7248..adb58222cc12 100644 --- a/clients/client-codebuild/commands/ListBuildsForProjectCommand.ts +++ b/clients/client-codebuild/commands/ListBuildsForProjectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBuildsForProjectCommandInput = ListBuildsForProjectInput; @@ -70,14 +70,14 @@ export class ListBuildsForProjectCommand extends $Command< private serialize( input: ListBuildsForProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListBuildsForProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListBuildsForProjectCommand(output, context); } diff --git a/clients/client-codebuild/commands/ListCuratedEnvironmentImagesCommand.ts b/clients/client-codebuild/commands/ListCuratedEnvironmentImagesCommand.ts index e49b021debb0..655fe8b83bae 100644 --- a/clients/client-codebuild/commands/ListCuratedEnvironmentImagesCommand.ts +++ b/clients/client-codebuild/commands/ListCuratedEnvironmentImagesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCuratedEnvironmentImagesCommandInput = ListCuratedEnvironmentImagesInput; @@ -70,7 +70,7 @@ export class ListCuratedEnvironmentImagesCommand extends $Command< private serialize( input: ListCuratedEnvironmentImagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCuratedEnvironmentImagesCommand( input, @@ -80,7 +80,7 @@ export class ListCuratedEnvironmentImagesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCuratedEnvironmentImagesCommand( output, diff --git a/clients/client-codebuild/commands/ListProjectsCommand.ts b/clients/client-codebuild/commands/ListProjectsCommand.ts index 95f0c7fb1b83..31bb3a49c8b3 100644 --- a/clients/client-codebuild/commands/ListProjectsCommand.ts +++ b/clients/client-codebuild/commands/ListProjectsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProjectsCommandInput = ListProjectsInput; @@ -64,14 +64,14 @@ export class ListProjectsCommand extends $Command< private serialize( input: ListProjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListProjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListProjectsCommand(output, context); } diff --git a/clients/client-codebuild/commands/ListReportGroupsCommand.ts b/clients/client-codebuild/commands/ListReportGroupsCommand.ts index cb66be424bde..713b42e1f45e 100644 --- a/clients/client-codebuild/commands/ListReportGroupsCommand.ts +++ b/clients/client-codebuild/commands/ListReportGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListReportGroupsCommandInput = ListReportGroupsInput; @@ -64,14 +64,14 @@ export class ListReportGroupsCommand extends $Command< private serialize( input: ListReportGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListReportGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListReportGroupsCommand(output, context); } diff --git a/clients/client-codebuild/commands/ListReportsCommand.ts b/clients/client-codebuild/commands/ListReportsCommand.ts index 8a81357f1dfa..dbd0911073a4 100644 --- a/clients/client-codebuild/commands/ListReportsCommand.ts +++ b/clients/client-codebuild/commands/ListReportsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListReportsCommandInput = ListReportsInput; @@ -64,14 +64,14 @@ export class ListReportsCommand extends $Command< private serialize( input: ListReportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListReportsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListReportsCommand(output, context); } diff --git a/clients/client-codebuild/commands/ListReportsForReportGroupCommand.ts b/clients/client-codebuild/commands/ListReportsForReportGroupCommand.ts index 57432936c25e..4c8fb1afc122 100644 --- a/clients/client-codebuild/commands/ListReportsForReportGroupCommand.ts +++ b/clients/client-codebuild/commands/ListReportsForReportGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListReportsForReportGroupCommandInput = ListReportsForReportGroupInput; @@ -70,14 +70,14 @@ export class ListReportsForReportGroupCommand extends $Command< private serialize( input: ListReportsForReportGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListReportsForReportGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListReportsForReportGroupCommand( output, diff --git a/clients/client-codebuild/commands/ListSharedProjectsCommand.ts b/clients/client-codebuild/commands/ListSharedProjectsCommand.ts index 304425e79820..fc64fc6aaa1d 100644 --- a/clients/client-codebuild/commands/ListSharedProjectsCommand.ts +++ b/clients/client-codebuild/commands/ListSharedProjectsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSharedProjectsCommandInput = ListSharedProjectsInput; @@ -67,14 +67,14 @@ export class ListSharedProjectsCommand extends $Command< private serialize( input: ListSharedProjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSharedProjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSharedProjectsCommand(output, context); } diff --git a/clients/client-codebuild/commands/ListSharedReportGroupsCommand.ts b/clients/client-codebuild/commands/ListSharedReportGroupsCommand.ts index c2e428cfaeae..26a2717c22d6 100644 --- a/clients/client-codebuild/commands/ListSharedReportGroupsCommand.ts +++ b/clients/client-codebuild/commands/ListSharedReportGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSharedReportGroupsCommandInput = ListSharedReportGroupsInput; @@ -70,14 +70,14 @@ export class ListSharedReportGroupsCommand extends $Command< private serialize( input: ListSharedReportGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSharedReportGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSharedReportGroupsCommand(output, context); } diff --git a/clients/client-codebuild/commands/ListSourceCredentialsCommand.ts b/clients/client-codebuild/commands/ListSourceCredentialsCommand.ts index ce4f64398637..ccfbb7bcb263 100644 --- a/clients/client-codebuild/commands/ListSourceCredentialsCommand.ts +++ b/clients/client-codebuild/commands/ListSourceCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSourceCredentialsCommandInput = ListSourceCredentialsInput; @@ -70,14 +70,14 @@ export class ListSourceCredentialsCommand extends $Command< private serialize( input: ListSourceCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSourceCredentialsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSourceCredentialsCommand(output, context); } diff --git a/clients/client-codebuild/commands/PutResourcePolicyCommand.ts b/clients/client-codebuild/commands/PutResourcePolicyCommand.ts index 1ab8b4dc85fd..91d5cfbf2cd8 100644 --- a/clients/client-codebuild/commands/PutResourcePolicyCommand.ts +++ b/clients/client-codebuild/commands/PutResourcePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutResourcePolicyCommandInput = PutResourcePolicyInput; @@ -67,14 +67,14 @@ export class PutResourcePolicyCommand extends $Command< private serialize( input: PutResourcePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutResourcePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutResourcePolicyCommand(output, context); } diff --git a/clients/client-codebuild/commands/StartBuildCommand.ts b/clients/client-codebuild/commands/StartBuildCommand.ts index b7829a5c4892..e7aff102b529 100644 --- a/clients/client-codebuild/commands/StartBuildCommand.ts +++ b/clients/client-codebuild/commands/StartBuildCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartBuildCommandInput = StartBuildInput; @@ -64,14 +64,14 @@ export class StartBuildCommand extends $Command< private serialize( input: StartBuildCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartBuildCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartBuildCommand(output, context); } diff --git a/clients/client-codebuild/commands/StopBuildCommand.ts b/clients/client-codebuild/commands/StopBuildCommand.ts index b355d750eca5..0361fa9b9836 100644 --- a/clients/client-codebuild/commands/StopBuildCommand.ts +++ b/clients/client-codebuild/commands/StopBuildCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopBuildCommandInput = StopBuildInput; @@ -64,14 +64,14 @@ export class StopBuildCommand extends $Command< private serialize( input: StopBuildCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopBuildCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopBuildCommand(output, context); } diff --git a/clients/client-codebuild/commands/UpdateProjectCommand.ts b/clients/client-codebuild/commands/UpdateProjectCommand.ts index 7b131171a6aa..d55fc2a7c363 100644 --- a/clients/client-codebuild/commands/UpdateProjectCommand.ts +++ b/clients/client-codebuild/commands/UpdateProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProjectCommandInput = UpdateProjectInput; @@ -64,14 +64,14 @@ export class UpdateProjectCommand extends $Command< private serialize( input: UpdateProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateProjectCommand(output, context); } diff --git a/clients/client-codebuild/commands/UpdateReportGroupCommand.ts b/clients/client-codebuild/commands/UpdateReportGroupCommand.ts index fd2cc6a65fa8..f3cb9402887c 100644 --- a/clients/client-codebuild/commands/UpdateReportGroupCommand.ts +++ b/clients/client-codebuild/commands/UpdateReportGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateReportGroupCommandInput = UpdateReportGroupInput; @@ -67,14 +67,14 @@ export class UpdateReportGroupCommand extends $Command< private serialize( input: UpdateReportGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateReportGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateReportGroupCommand(output, context); } diff --git a/clients/client-codebuild/commands/UpdateWebhookCommand.ts b/clients/client-codebuild/commands/UpdateWebhookCommand.ts index 473aeea1a366..1979940e4399 100644 --- a/clients/client-codebuild/commands/UpdateWebhookCommand.ts +++ b/clients/client-codebuild/commands/UpdateWebhookCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateWebhookCommandInput = UpdateWebhookInput; @@ -64,14 +64,14 @@ export class UpdateWebhookCommand extends $Command< private serialize( input: UpdateWebhookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateWebhookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateWebhookCommand(output, context); } diff --git a/clients/client-codebuild/protocols/Aws_json1_1.ts b/clients/client-codebuild/protocols/Aws_json1_1.ts index da775625596c..d01f0dc9cf22 100644 --- a/clients/client-codebuild/protocols/Aws_json1_1.ts +++ b/clients/client-codebuild/protocols/Aws_json1_1.ts @@ -6442,6 +6442,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-codecommit/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.ts b/clients/client-codecommit/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.ts index 04868fe21097..61bcd9421d1a 100644 --- a/clients/client-codecommit/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.ts +++ b/clients/client-codecommit/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateApprovalRuleTemplateWithRepositoryCommandInput = AssociateApprovalRuleTemplateWithRepositoryInput; @@ -70,7 +70,7 @@ export class AssociateApprovalRuleTemplateWithRepositoryCommand extends $Command private serialize( input: AssociateApprovalRuleTemplateWithRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateApprovalRuleTemplateWithRepositoryCommand( input, @@ -80,7 +80,7 @@ export class AssociateApprovalRuleTemplateWithRepositoryCommand extends $Command private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateApprovalRuleTemplateWithRepositoryCommand( output, diff --git a/clients/client-codecommit/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.ts b/clients/client-codecommit/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.ts index 52b2c57456c3..fcd070c65c32 100644 --- a/clients/client-codecommit/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.ts +++ b/clients/client-codecommit/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput = BatchAssociateApprovalRuleTemplateWithRepositoriesInput; @@ -72,7 +72,7 @@ export class BatchAssociateApprovalRuleTemplateWithRepositoriesCommand extends $ private serialize( input: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchAssociateApprovalRuleTemplateWithRepositoriesCommand( input, @@ -82,7 +82,7 @@ export class BatchAssociateApprovalRuleTemplateWithRepositoriesCommand extends $ private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchAssociateApprovalRuleTemplateWithRepositoriesCommand( output, diff --git a/clients/client-codecommit/commands/BatchDescribeMergeConflictsCommand.ts b/clients/client-codecommit/commands/BatchDescribeMergeConflictsCommand.ts index 8a073ca2af21..bd9ae4561c83 100644 --- a/clients/client-codecommit/commands/BatchDescribeMergeConflictsCommand.ts +++ b/clients/client-codecommit/commands/BatchDescribeMergeConflictsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDescribeMergeConflictsCommandInput = BatchDescribeMergeConflictsInput; @@ -70,7 +70,7 @@ export class BatchDescribeMergeConflictsCommand extends $Command< private serialize( input: BatchDescribeMergeConflictsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDescribeMergeConflictsCommand( input, @@ -80,7 +80,7 @@ export class BatchDescribeMergeConflictsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDescribeMergeConflictsCommand( output, diff --git a/clients/client-codecommit/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.ts b/clients/client-codecommit/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.ts index e9165728ec0a..b8bd0ab703e3 100644 --- a/clients/client-codecommit/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.ts +++ b/clients/client-codecommit/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput = BatchDisassociateApprovalRuleTemplateFromRepositoriesInput; @@ -72,7 +72,7 @@ export class BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand extend private serialize( input: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand( input, @@ -82,7 +82,7 @@ export class BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand extend private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise< BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput > { diff --git a/clients/client-codecommit/commands/BatchGetCommitsCommand.ts b/clients/client-codecommit/commands/BatchGetCommitsCommand.ts index d78c54fc436e..9c8ad95bdb71 100644 --- a/clients/client-codecommit/commands/BatchGetCommitsCommand.ts +++ b/clients/client-codecommit/commands/BatchGetCommitsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetCommitsCommandInput = BatchGetCommitsInput; @@ -64,14 +64,14 @@ export class BatchGetCommitsCommand extends $Command< private serialize( input: BatchGetCommitsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetCommitsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetCommitsCommand(output, context); } diff --git a/clients/client-codecommit/commands/BatchGetRepositoriesCommand.ts b/clients/client-codecommit/commands/BatchGetRepositoriesCommand.ts index 3a9a0e2d8fb1..e0a35ad472bb 100644 --- a/clients/client-codecommit/commands/BatchGetRepositoriesCommand.ts +++ b/clients/client-codecommit/commands/BatchGetRepositoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetRepositoriesCommandInput = BatchGetRepositoriesInput; @@ -70,14 +70,14 @@ export class BatchGetRepositoriesCommand extends $Command< private serialize( input: BatchGetRepositoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetRepositoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetRepositoriesCommand(output, context); } diff --git a/clients/client-codecommit/commands/CreateApprovalRuleTemplateCommand.ts b/clients/client-codecommit/commands/CreateApprovalRuleTemplateCommand.ts index 332957b58ef5..76d1de1c755d 100644 --- a/clients/client-codecommit/commands/CreateApprovalRuleTemplateCommand.ts +++ b/clients/client-codecommit/commands/CreateApprovalRuleTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApprovalRuleTemplateCommandInput = CreateApprovalRuleTemplateInput; @@ -70,7 +70,7 @@ export class CreateApprovalRuleTemplateCommand extends $Command< private serialize( input: CreateApprovalRuleTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateApprovalRuleTemplateCommand( input, @@ -80,7 +80,7 @@ export class CreateApprovalRuleTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateApprovalRuleTemplateCommand( output, diff --git a/clients/client-codecommit/commands/CreateBranchCommand.ts b/clients/client-codecommit/commands/CreateBranchCommand.ts index c3ec5e3d6519..ac0ff747e9bf 100644 --- a/clients/client-codecommit/commands/CreateBranchCommand.ts +++ b/clients/client-codecommit/commands/CreateBranchCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBranchCommandInput = CreateBranchInput; @@ -65,14 +65,14 @@ export class CreateBranchCommand extends $Command< private serialize( input: CreateBranchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateBranchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateBranchCommand(output, context); } diff --git a/clients/client-codecommit/commands/CreateCommitCommand.ts b/clients/client-codecommit/commands/CreateCommitCommand.ts index 150cb10a7ace..ba909c48d333 100644 --- a/clients/client-codecommit/commands/CreateCommitCommand.ts +++ b/clients/client-codecommit/commands/CreateCommitCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCommitCommandInput = CreateCommitInput; @@ -64,14 +64,14 @@ export class CreateCommitCommand extends $Command< private serialize( input: CreateCommitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCommitCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCommitCommand(output, context); } diff --git a/clients/client-codecommit/commands/CreatePullRequestApprovalRuleCommand.ts b/clients/client-codecommit/commands/CreatePullRequestApprovalRuleCommand.ts index c4d4b957c85b..914eb2c1ab92 100644 --- a/clients/client-codecommit/commands/CreatePullRequestApprovalRuleCommand.ts +++ b/clients/client-codecommit/commands/CreatePullRequestApprovalRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePullRequestApprovalRuleCommandInput = CreatePullRequestApprovalRuleInput; @@ -70,7 +70,7 @@ export class CreatePullRequestApprovalRuleCommand extends $Command< private serialize( input: CreatePullRequestApprovalRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePullRequestApprovalRuleCommand( input, @@ -80,7 +80,7 @@ export class CreatePullRequestApprovalRuleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePullRequestApprovalRuleCommand( output, diff --git a/clients/client-codecommit/commands/CreatePullRequestCommand.ts b/clients/client-codecommit/commands/CreatePullRequestCommand.ts index 76089f5fb22b..a152514dd7e9 100644 --- a/clients/client-codecommit/commands/CreatePullRequestCommand.ts +++ b/clients/client-codecommit/commands/CreatePullRequestCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePullRequestCommandInput = CreatePullRequestInput; @@ -67,14 +67,14 @@ export class CreatePullRequestCommand extends $Command< private serialize( input: CreatePullRequestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePullRequestCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePullRequestCommand(output, context); } diff --git a/clients/client-codecommit/commands/CreateRepositoryCommand.ts b/clients/client-codecommit/commands/CreateRepositoryCommand.ts index b8d7c9ed6a7e..e924b6e770f8 100644 --- a/clients/client-codecommit/commands/CreateRepositoryCommand.ts +++ b/clients/client-codecommit/commands/CreateRepositoryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRepositoryCommandInput = CreateRepositoryInput; @@ -64,14 +64,14 @@ export class CreateRepositoryCommand extends $Command< private serialize( input: CreateRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRepositoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRepositoryCommand(output, context); } diff --git a/clients/client-codecommit/commands/CreateUnreferencedMergeCommitCommand.ts b/clients/client-codecommit/commands/CreateUnreferencedMergeCommitCommand.ts index b4b44dd36868..592dfe66dc35 100644 --- a/clients/client-codecommit/commands/CreateUnreferencedMergeCommitCommand.ts +++ b/clients/client-codecommit/commands/CreateUnreferencedMergeCommitCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUnreferencedMergeCommitCommandInput = CreateUnreferencedMergeCommitInput; @@ -70,7 +70,7 @@ export class CreateUnreferencedMergeCommitCommand extends $Command< private serialize( input: CreateUnreferencedMergeCommitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUnreferencedMergeCommitCommand( input, @@ -80,7 +80,7 @@ export class CreateUnreferencedMergeCommitCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUnreferencedMergeCommitCommand( output, diff --git a/clients/client-codecommit/commands/DeleteApprovalRuleTemplateCommand.ts b/clients/client-codecommit/commands/DeleteApprovalRuleTemplateCommand.ts index bd8583af9385..cc95c6d72c93 100644 --- a/clients/client-codecommit/commands/DeleteApprovalRuleTemplateCommand.ts +++ b/clients/client-codecommit/commands/DeleteApprovalRuleTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApprovalRuleTemplateCommandInput = DeleteApprovalRuleTemplateInput; @@ -70,7 +70,7 @@ export class DeleteApprovalRuleTemplateCommand extends $Command< private serialize( input: DeleteApprovalRuleTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApprovalRuleTemplateCommand( input, @@ -80,7 +80,7 @@ export class DeleteApprovalRuleTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApprovalRuleTemplateCommand( output, diff --git a/clients/client-codecommit/commands/DeleteBranchCommand.ts b/clients/client-codecommit/commands/DeleteBranchCommand.ts index 8eb1f949236d..385bed2d65a0 100644 --- a/clients/client-codecommit/commands/DeleteBranchCommand.ts +++ b/clients/client-codecommit/commands/DeleteBranchCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBranchCommandInput = DeleteBranchInput; @@ -64,14 +64,14 @@ export class DeleteBranchCommand extends $Command< private serialize( input: DeleteBranchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteBranchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteBranchCommand(output, context); } diff --git a/clients/client-codecommit/commands/DeleteCommentContentCommand.ts b/clients/client-codecommit/commands/DeleteCommentContentCommand.ts index ba7909cfa4a0..9c17eb5620f6 100644 --- a/clients/client-codecommit/commands/DeleteCommentContentCommand.ts +++ b/clients/client-codecommit/commands/DeleteCommentContentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCommentContentCommandInput = DeleteCommentContentInput; @@ -70,14 +70,14 @@ export class DeleteCommentContentCommand extends $Command< private serialize( input: DeleteCommentContentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCommentContentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCommentContentCommand(output, context); } diff --git a/clients/client-codecommit/commands/DeleteFileCommand.ts b/clients/client-codecommit/commands/DeleteFileCommand.ts index 34b00cc0064e..1a7ed022c0b1 100644 --- a/clients/client-codecommit/commands/DeleteFileCommand.ts +++ b/clients/client-codecommit/commands/DeleteFileCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFileCommandInput = DeleteFileInput; @@ -64,14 +64,14 @@ export class DeleteFileCommand extends $Command< private serialize( input: DeleteFileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteFileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteFileCommand(output, context); } diff --git a/clients/client-codecommit/commands/DeletePullRequestApprovalRuleCommand.ts b/clients/client-codecommit/commands/DeletePullRequestApprovalRuleCommand.ts index 1f4486c09cc9..e5bdbc2b00cd 100644 --- a/clients/client-codecommit/commands/DeletePullRequestApprovalRuleCommand.ts +++ b/clients/client-codecommit/commands/DeletePullRequestApprovalRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePullRequestApprovalRuleCommandInput = DeletePullRequestApprovalRuleInput; @@ -70,7 +70,7 @@ export class DeletePullRequestApprovalRuleCommand extends $Command< private serialize( input: DeletePullRequestApprovalRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePullRequestApprovalRuleCommand( input, @@ -80,7 +80,7 @@ export class DeletePullRequestApprovalRuleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePullRequestApprovalRuleCommand( output, diff --git a/clients/client-codecommit/commands/DeleteRepositoryCommand.ts b/clients/client-codecommit/commands/DeleteRepositoryCommand.ts index ad221289437e..3dec9ef0f18c 100644 --- a/clients/client-codecommit/commands/DeleteRepositoryCommand.ts +++ b/clients/client-codecommit/commands/DeleteRepositoryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRepositoryCommandInput = DeleteRepositoryInput; @@ -64,14 +64,14 @@ export class DeleteRepositoryCommand extends $Command< private serialize( input: DeleteRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRepositoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRepositoryCommand(output, context); } diff --git a/clients/client-codecommit/commands/DescribeMergeConflictsCommand.ts b/clients/client-codecommit/commands/DescribeMergeConflictsCommand.ts index 5c1464a5e765..4dc9f0849e34 100644 --- a/clients/client-codecommit/commands/DescribeMergeConflictsCommand.ts +++ b/clients/client-codecommit/commands/DescribeMergeConflictsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMergeConflictsCommandInput = DescribeMergeConflictsInput; @@ -70,14 +70,14 @@ export class DescribeMergeConflictsCommand extends $Command< private serialize( input: DescribeMergeConflictsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMergeConflictsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMergeConflictsCommand(output, context); } diff --git a/clients/client-codecommit/commands/DescribePullRequestEventsCommand.ts b/clients/client-codecommit/commands/DescribePullRequestEventsCommand.ts index 74722befc118..462416fa5fa1 100644 --- a/clients/client-codecommit/commands/DescribePullRequestEventsCommand.ts +++ b/clients/client-codecommit/commands/DescribePullRequestEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePullRequestEventsCommandInput = DescribePullRequestEventsInput; @@ -70,14 +70,14 @@ export class DescribePullRequestEventsCommand extends $Command< private serialize( input: DescribePullRequestEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePullRequestEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePullRequestEventsCommand( output, diff --git a/clients/client-codecommit/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.ts b/clients/client-codecommit/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.ts index 06db24bd1e7a..ea59398440da 100644 --- a/clients/client-codecommit/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.ts +++ b/clients/client-codecommit/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateApprovalRuleTemplateFromRepositoryCommandInput = DisassociateApprovalRuleTemplateFromRepositoryInput; @@ -70,7 +70,7 @@ export class DisassociateApprovalRuleTemplateFromRepositoryCommand extends $Comm private serialize( input: DisassociateApprovalRuleTemplateFromRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateApprovalRuleTemplateFromRepositoryCommand( input, @@ -80,7 +80,7 @@ export class DisassociateApprovalRuleTemplateFromRepositoryCommand extends $Comm private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateApprovalRuleTemplateFromRepositoryCommand( output, diff --git a/clients/client-codecommit/commands/EvaluatePullRequestApprovalRulesCommand.ts b/clients/client-codecommit/commands/EvaluatePullRequestApprovalRulesCommand.ts index 57eabecdf6fe..fca7a38866b2 100644 --- a/clients/client-codecommit/commands/EvaluatePullRequestApprovalRulesCommand.ts +++ b/clients/client-codecommit/commands/EvaluatePullRequestApprovalRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EvaluatePullRequestApprovalRulesCommandInput = EvaluatePullRequestApprovalRulesInput; @@ -70,7 +70,7 @@ export class EvaluatePullRequestApprovalRulesCommand extends $Command< private serialize( input: EvaluatePullRequestApprovalRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EvaluatePullRequestApprovalRulesCommand( input, @@ -80,7 +80,7 @@ export class EvaluatePullRequestApprovalRulesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EvaluatePullRequestApprovalRulesCommand( output, diff --git a/clients/client-codecommit/commands/GetApprovalRuleTemplateCommand.ts b/clients/client-codecommit/commands/GetApprovalRuleTemplateCommand.ts index aa26f44937db..e39a05266424 100644 --- a/clients/client-codecommit/commands/GetApprovalRuleTemplateCommand.ts +++ b/clients/client-codecommit/commands/GetApprovalRuleTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApprovalRuleTemplateCommandInput = GetApprovalRuleTemplateInput; @@ -70,14 +70,14 @@ export class GetApprovalRuleTemplateCommand extends $Command< private serialize( input: GetApprovalRuleTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetApprovalRuleTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetApprovalRuleTemplateCommand( output, diff --git a/clients/client-codecommit/commands/GetBlobCommand.ts b/clients/client-codecommit/commands/GetBlobCommand.ts index 0d3b62b6b080..803af6bf7644 100644 --- a/clients/client-codecommit/commands/GetBlobCommand.ts +++ b/clients/client-codecommit/commands/GetBlobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBlobCommandInput = GetBlobInput; @@ -64,14 +64,14 @@ export class GetBlobCommand extends $Command< private serialize( input: GetBlobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetBlobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetBlobCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetBranchCommand.ts b/clients/client-codecommit/commands/GetBranchCommand.ts index 5ce701fc025b..e555d76d20d6 100644 --- a/clients/client-codecommit/commands/GetBranchCommand.ts +++ b/clients/client-codecommit/commands/GetBranchCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBranchCommandInput = GetBranchInput; @@ -64,14 +64,14 @@ export class GetBranchCommand extends $Command< private serialize( input: GetBranchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetBranchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetBranchCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetCommentCommand.ts b/clients/client-codecommit/commands/GetCommentCommand.ts index b849724b295e..108760324512 100644 --- a/clients/client-codecommit/commands/GetCommentCommand.ts +++ b/clients/client-codecommit/commands/GetCommentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCommentCommandInput = GetCommentInput; @@ -64,14 +64,14 @@ export class GetCommentCommand extends $Command< private serialize( input: GetCommentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCommentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCommentCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetCommentsForComparedCommitCommand.ts b/clients/client-codecommit/commands/GetCommentsForComparedCommitCommand.ts index d60a7d0eeb47..dae9a0a18e85 100644 --- a/clients/client-codecommit/commands/GetCommentsForComparedCommitCommand.ts +++ b/clients/client-codecommit/commands/GetCommentsForComparedCommitCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCommentsForComparedCommitCommandInput = GetCommentsForComparedCommitInput; @@ -70,7 +70,7 @@ export class GetCommentsForComparedCommitCommand extends $Command< private serialize( input: GetCommentsForComparedCommitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCommentsForComparedCommitCommand( input, @@ -80,7 +80,7 @@ export class GetCommentsForComparedCommitCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCommentsForComparedCommitCommand( output, diff --git a/clients/client-codecommit/commands/GetCommentsForPullRequestCommand.ts b/clients/client-codecommit/commands/GetCommentsForPullRequestCommand.ts index f1a0f37f6c0f..6971aaa9c489 100644 --- a/clients/client-codecommit/commands/GetCommentsForPullRequestCommand.ts +++ b/clients/client-codecommit/commands/GetCommentsForPullRequestCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCommentsForPullRequestCommandInput = GetCommentsForPullRequestInput; @@ -70,14 +70,14 @@ export class GetCommentsForPullRequestCommand extends $Command< private serialize( input: GetCommentsForPullRequestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCommentsForPullRequestCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCommentsForPullRequestCommand( output, diff --git a/clients/client-codecommit/commands/GetCommitCommand.ts b/clients/client-codecommit/commands/GetCommitCommand.ts index 839ecd7e78a3..7ae902617b1d 100644 --- a/clients/client-codecommit/commands/GetCommitCommand.ts +++ b/clients/client-codecommit/commands/GetCommitCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCommitCommandInput = GetCommitInput; @@ -64,14 +64,14 @@ export class GetCommitCommand extends $Command< private serialize( input: GetCommitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCommitCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCommitCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetDifferencesCommand.ts b/clients/client-codecommit/commands/GetDifferencesCommand.ts index ce547eca4c80..ed59eeee791d 100644 --- a/clients/client-codecommit/commands/GetDifferencesCommand.ts +++ b/clients/client-codecommit/commands/GetDifferencesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDifferencesCommandInput = GetDifferencesInput; @@ -64,14 +64,14 @@ export class GetDifferencesCommand extends $Command< private serialize( input: GetDifferencesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDifferencesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDifferencesCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetFileCommand.ts b/clients/client-codecommit/commands/GetFileCommand.ts index 1443349b8d99..d651050df18b 100644 --- a/clients/client-codecommit/commands/GetFileCommand.ts +++ b/clients/client-codecommit/commands/GetFileCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFileCommandInput = GetFileInput; @@ -64,14 +64,14 @@ export class GetFileCommand extends $Command< private serialize( input: GetFileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetFileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetFileCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetFolderCommand.ts b/clients/client-codecommit/commands/GetFolderCommand.ts index fe2717dc8507..8132c9b6b834 100644 --- a/clients/client-codecommit/commands/GetFolderCommand.ts +++ b/clients/client-codecommit/commands/GetFolderCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFolderCommandInput = GetFolderInput; @@ -64,14 +64,14 @@ export class GetFolderCommand extends $Command< private serialize( input: GetFolderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetFolderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetFolderCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetMergeCommitCommand.ts b/clients/client-codecommit/commands/GetMergeCommitCommand.ts index f6889ce7b46f..5e786a030863 100644 --- a/clients/client-codecommit/commands/GetMergeCommitCommand.ts +++ b/clients/client-codecommit/commands/GetMergeCommitCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMergeCommitCommandInput = GetMergeCommitInput; @@ -64,14 +64,14 @@ export class GetMergeCommitCommand extends $Command< private serialize( input: GetMergeCommitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMergeCommitCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMergeCommitCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetMergeConflictsCommand.ts b/clients/client-codecommit/commands/GetMergeConflictsCommand.ts index 6eb002550c8d..d427aefedaf6 100644 --- a/clients/client-codecommit/commands/GetMergeConflictsCommand.ts +++ b/clients/client-codecommit/commands/GetMergeConflictsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMergeConflictsCommandInput = GetMergeConflictsInput; @@ -67,14 +67,14 @@ export class GetMergeConflictsCommand extends $Command< private serialize( input: GetMergeConflictsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMergeConflictsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMergeConflictsCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetMergeOptionsCommand.ts b/clients/client-codecommit/commands/GetMergeOptionsCommand.ts index 5b920ec8aeea..b34357be827a 100644 --- a/clients/client-codecommit/commands/GetMergeOptionsCommand.ts +++ b/clients/client-codecommit/commands/GetMergeOptionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMergeOptionsCommandInput = GetMergeOptionsInput; @@ -64,14 +64,14 @@ export class GetMergeOptionsCommand extends $Command< private serialize( input: GetMergeOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMergeOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMergeOptionsCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetPullRequestApprovalStatesCommand.ts b/clients/client-codecommit/commands/GetPullRequestApprovalStatesCommand.ts index eb7157be1d64..dfaabcb93007 100644 --- a/clients/client-codecommit/commands/GetPullRequestApprovalStatesCommand.ts +++ b/clients/client-codecommit/commands/GetPullRequestApprovalStatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPullRequestApprovalStatesCommandInput = GetPullRequestApprovalStatesInput; @@ -70,7 +70,7 @@ export class GetPullRequestApprovalStatesCommand extends $Command< private serialize( input: GetPullRequestApprovalStatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPullRequestApprovalStatesCommand( input, @@ -80,7 +80,7 @@ export class GetPullRequestApprovalStatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPullRequestApprovalStatesCommand( output, diff --git a/clients/client-codecommit/commands/GetPullRequestCommand.ts b/clients/client-codecommit/commands/GetPullRequestCommand.ts index f3377c5f8114..a5e9c78d270e 100644 --- a/clients/client-codecommit/commands/GetPullRequestCommand.ts +++ b/clients/client-codecommit/commands/GetPullRequestCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPullRequestCommandInput = GetPullRequestInput; @@ -64,14 +64,14 @@ export class GetPullRequestCommand extends $Command< private serialize( input: GetPullRequestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPullRequestCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPullRequestCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetPullRequestOverrideStateCommand.ts b/clients/client-codecommit/commands/GetPullRequestOverrideStateCommand.ts index bafee3ad02b3..5d30257607f2 100644 --- a/clients/client-codecommit/commands/GetPullRequestOverrideStateCommand.ts +++ b/clients/client-codecommit/commands/GetPullRequestOverrideStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPullRequestOverrideStateCommandInput = GetPullRequestOverrideStateInput; @@ -70,7 +70,7 @@ export class GetPullRequestOverrideStateCommand extends $Command< private serialize( input: GetPullRequestOverrideStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPullRequestOverrideStateCommand( input, @@ -80,7 +80,7 @@ export class GetPullRequestOverrideStateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPullRequestOverrideStateCommand( output, diff --git a/clients/client-codecommit/commands/GetRepositoryCommand.ts b/clients/client-codecommit/commands/GetRepositoryCommand.ts index 77baf2a8a740..194151d1971b 100644 --- a/clients/client-codecommit/commands/GetRepositoryCommand.ts +++ b/clients/client-codecommit/commands/GetRepositoryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRepositoryCommandInput = GetRepositoryInput; @@ -64,14 +64,14 @@ export class GetRepositoryCommand extends $Command< private serialize( input: GetRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRepositoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRepositoryCommand(output, context); } diff --git a/clients/client-codecommit/commands/GetRepositoryTriggersCommand.ts b/clients/client-codecommit/commands/GetRepositoryTriggersCommand.ts index b2ef65ca050f..e99f736076cc 100644 --- a/clients/client-codecommit/commands/GetRepositoryTriggersCommand.ts +++ b/clients/client-codecommit/commands/GetRepositoryTriggersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRepositoryTriggersCommandInput = GetRepositoryTriggersInput; @@ -70,14 +70,14 @@ export class GetRepositoryTriggersCommand extends $Command< private serialize( input: GetRepositoryTriggersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRepositoryTriggersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRepositoryTriggersCommand(output, context); } diff --git a/clients/client-codecommit/commands/ListApprovalRuleTemplatesCommand.ts b/clients/client-codecommit/commands/ListApprovalRuleTemplatesCommand.ts index 045c1c6e073a..62defcb91575 100644 --- a/clients/client-codecommit/commands/ListApprovalRuleTemplatesCommand.ts +++ b/clients/client-codecommit/commands/ListApprovalRuleTemplatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApprovalRuleTemplatesCommandInput = ListApprovalRuleTemplatesInput; @@ -70,14 +70,14 @@ export class ListApprovalRuleTemplatesCommand extends $Command< private serialize( input: ListApprovalRuleTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListApprovalRuleTemplatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListApprovalRuleTemplatesCommand( output, diff --git a/clients/client-codecommit/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.ts b/clients/client-codecommit/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.ts index 401eb479390b..fa80008978df 100644 --- a/clients/client-codecommit/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.ts +++ b/clients/client-codecommit/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput = ListAssociatedApprovalRuleTemplatesForRepositoryInput; @@ -72,7 +72,7 @@ export class ListAssociatedApprovalRuleTemplatesForRepositoryCommand extends $Co private serialize( input: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAssociatedApprovalRuleTemplatesForRepositoryCommand( input, @@ -82,7 +82,7 @@ export class ListAssociatedApprovalRuleTemplatesForRepositoryCommand extends $Co private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAssociatedApprovalRuleTemplatesForRepositoryCommand( output, diff --git a/clients/client-codecommit/commands/ListBranchesCommand.ts b/clients/client-codecommit/commands/ListBranchesCommand.ts index ca970cc30994..ab0a9f7cb829 100644 --- a/clients/client-codecommit/commands/ListBranchesCommand.ts +++ b/clients/client-codecommit/commands/ListBranchesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBranchesCommandInput = ListBranchesInput; @@ -64,14 +64,14 @@ export class ListBranchesCommand extends $Command< private serialize( input: ListBranchesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListBranchesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListBranchesCommand(output, context); } diff --git a/clients/client-codecommit/commands/ListPullRequestsCommand.ts b/clients/client-codecommit/commands/ListPullRequestsCommand.ts index 4016e993c83f..a6ea1d9c5550 100644 --- a/clients/client-codecommit/commands/ListPullRequestsCommand.ts +++ b/clients/client-codecommit/commands/ListPullRequestsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPullRequestsCommandInput = ListPullRequestsInput; @@ -64,14 +64,14 @@ export class ListPullRequestsCommand extends $Command< private serialize( input: ListPullRequestsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPullRequestsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPullRequestsCommand(output, context); } diff --git a/clients/client-codecommit/commands/ListRepositoriesCommand.ts b/clients/client-codecommit/commands/ListRepositoriesCommand.ts index 07faaee3398c..06a39806f946 100644 --- a/clients/client-codecommit/commands/ListRepositoriesCommand.ts +++ b/clients/client-codecommit/commands/ListRepositoriesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRepositoriesCommandInput = ListRepositoriesInput; @@ -64,14 +64,14 @@ export class ListRepositoriesCommand extends $Command< private serialize( input: ListRepositoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRepositoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRepositoriesCommand(output, context); } diff --git a/clients/client-codecommit/commands/ListRepositoriesForApprovalRuleTemplateCommand.ts b/clients/client-codecommit/commands/ListRepositoriesForApprovalRuleTemplateCommand.ts index 00373bcb63cb..2335159ac96c 100644 --- a/clients/client-codecommit/commands/ListRepositoriesForApprovalRuleTemplateCommand.ts +++ b/clients/client-codecommit/commands/ListRepositoriesForApprovalRuleTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRepositoriesForApprovalRuleTemplateCommandInput = ListRepositoriesForApprovalRuleTemplateInput; @@ -72,7 +72,7 @@ export class ListRepositoriesForApprovalRuleTemplateCommand extends $Command< private serialize( input: ListRepositoriesForApprovalRuleTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRepositoriesForApprovalRuleTemplateCommand( input, @@ -82,7 +82,7 @@ export class ListRepositoriesForApprovalRuleTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRepositoriesForApprovalRuleTemplateCommand( output, diff --git a/clients/client-codecommit/commands/ListTagsForResourceCommand.ts b/clients/client-codecommit/commands/ListTagsForResourceCommand.ts index 855e78f8fac7..9ab592ee3d57 100644 --- a/clients/client-codecommit/commands/ListTagsForResourceCommand.ts +++ b/clients/client-codecommit/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-codecommit/commands/MergeBranchesByFastForwardCommand.ts b/clients/client-codecommit/commands/MergeBranchesByFastForwardCommand.ts index 6cd72980e865..52c25a778661 100644 --- a/clients/client-codecommit/commands/MergeBranchesByFastForwardCommand.ts +++ b/clients/client-codecommit/commands/MergeBranchesByFastForwardCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MergeBranchesByFastForwardCommandInput = MergeBranchesByFastForwardInput; @@ -70,7 +70,7 @@ export class MergeBranchesByFastForwardCommand extends $Command< private serialize( input: MergeBranchesByFastForwardCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1MergeBranchesByFastForwardCommand( input, @@ -80,7 +80,7 @@ export class MergeBranchesByFastForwardCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1MergeBranchesByFastForwardCommand( output, diff --git a/clients/client-codecommit/commands/MergeBranchesBySquashCommand.ts b/clients/client-codecommit/commands/MergeBranchesBySquashCommand.ts index 6d66b20134de..6f277bf47932 100644 --- a/clients/client-codecommit/commands/MergeBranchesBySquashCommand.ts +++ b/clients/client-codecommit/commands/MergeBranchesBySquashCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MergeBranchesBySquashCommandInput = MergeBranchesBySquashInput; @@ -70,14 +70,14 @@ export class MergeBranchesBySquashCommand extends $Command< private serialize( input: MergeBranchesBySquashCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1MergeBranchesBySquashCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1MergeBranchesBySquashCommand(output, context); } diff --git a/clients/client-codecommit/commands/MergeBranchesByThreeWayCommand.ts b/clients/client-codecommit/commands/MergeBranchesByThreeWayCommand.ts index 7f8a4b2564f0..ce005002a655 100644 --- a/clients/client-codecommit/commands/MergeBranchesByThreeWayCommand.ts +++ b/clients/client-codecommit/commands/MergeBranchesByThreeWayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MergeBranchesByThreeWayCommandInput = MergeBranchesByThreeWayInput; @@ -70,14 +70,14 @@ export class MergeBranchesByThreeWayCommand extends $Command< private serialize( input: MergeBranchesByThreeWayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1MergeBranchesByThreeWayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1MergeBranchesByThreeWayCommand( output, diff --git a/clients/client-codecommit/commands/MergePullRequestByFastForwardCommand.ts b/clients/client-codecommit/commands/MergePullRequestByFastForwardCommand.ts index 2efa055d8738..cf544ffc573d 100644 --- a/clients/client-codecommit/commands/MergePullRequestByFastForwardCommand.ts +++ b/clients/client-codecommit/commands/MergePullRequestByFastForwardCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MergePullRequestByFastForwardCommandInput = MergePullRequestByFastForwardInput; @@ -70,7 +70,7 @@ export class MergePullRequestByFastForwardCommand extends $Command< private serialize( input: MergePullRequestByFastForwardCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1MergePullRequestByFastForwardCommand( input, @@ -80,7 +80,7 @@ export class MergePullRequestByFastForwardCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1MergePullRequestByFastForwardCommand( output, diff --git a/clients/client-codecommit/commands/MergePullRequestBySquashCommand.ts b/clients/client-codecommit/commands/MergePullRequestBySquashCommand.ts index 6a7a8e678d5b..5ca24c695677 100644 --- a/clients/client-codecommit/commands/MergePullRequestBySquashCommand.ts +++ b/clients/client-codecommit/commands/MergePullRequestBySquashCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MergePullRequestBySquashCommandInput = MergePullRequestBySquashInput; @@ -70,14 +70,14 @@ export class MergePullRequestBySquashCommand extends $Command< private serialize( input: MergePullRequestBySquashCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1MergePullRequestBySquashCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1MergePullRequestBySquashCommand( output, diff --git a/clients/client-codecommit/commands/MergePullRequestByThreeWayCommand.ts b/clients/client-codecommit/commands/MergePullRequestByThreeWayCommand.ts index fb5bb9dfe9b0..56852c11c8c7 100644 --- a/clients/client-codecommit/commands/MergePullRequestByThreeWayCommand.ts +++ b/clients/client-codecommit/commands/MergePullRequestByThreeWayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MergePullRequestByThreeWayCommandInput = MergePullRequestByThreeWayInput; @@ -70,7 +70,7 @@ export class MergePullRequestByThreeWayCommand extends $Command< private serialize( input: MergePullRequestByThreeWayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1MergePullRequestByThreeWayCommand( input, @@ -80,7 +80,7 @@ export class MergePullRequestByThreeWayCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1MergePullRequestByThreeWayCommand( output, diff --git a/clients/client-codecommit/commands/OverridePullRequestApprovalRulesCommand.ts b/clients/client-codecommit/commands/OverridePullRequestApprovalRulesCommand.ts index bf3692afc08d..f6642bcc1e95 100644 --- a/clients/client-codecommit/commands/OverridePullRequestApprovalRulesCommand.ts +++ b/clients/client-codecommit/commands/OverridePullRequestApprovalRulesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type OverridePullRequestApprovalRulesCommandInput = OverridePullRequestApprovalRulesInput; @@ -68,7 +68,7 @@ export class OverridePullRequestApprovalRulesCommand extends $Command< private serialize( input: OverridePullRequestApprovalRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1OverridePullRequestApprovalRulesCommand( input, @@ -78,7 +78,7 @@ export class OverridePullRequestApprovalRulesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1OverridePullRequestApprovalRulesCommand( output, diff --git a/clients/client-codecommit/commands/PostCommentForComparedCommitCommand.ts b/clients/client-codecommit/commands/PostCommentForComparedCommitCommand.ts index f3b3e179ce08..22da19a434ac 100644 --- a/clients/client-codecommit/commands/PostCommentForComparedCommitCommand.ts +++ b/clients/client-codecommit/commands/PostCommentForComparedCommitCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PostCommentForComparedCommitCommandInput = PostCommentForComparedCommitInput; @@ -70,7 +70,7 @@ export class PostCommentForComparedCommitCommand extends $Command< private serialize( input: PostCommentForComparedCommitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PostCommentForComparedCommitCommand( input, @@ -80,7 +80,7 @@ export class PostCommentForComparedCommitCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PostCommentForComparedCommitCommand( output, diff --git a/clients/client-codecommit/commands/PostCommentForPullRequestCommand.ts b/clients/client-codecommit/commands/PostCommentForPullRequestCommand.ts index bdaa4f9be753..0889bfa25ac4 100644 --- a/clients/client-codecommit/commands/PostCommentForPullRequestCommand.ts +++ b/clients/client-codecommit/commands/PostCommentForPullRequestCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PostCommentForPullRequestCommandInput = PostCommentForPullRequestInput; @@ -70,14 +70,14 @@ export class PostCommentForPullRequestCommand extends $Command< private serialize( input: PostCommentForPullRequestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PostCommentForPullRequestCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PostCommentForPullRequestCommand( output, diff --git a/clients/client-codecommit/commands/PostCommentReplyCommand.ts b/clients/client-codecommit/commands/PostCommentReplyCommand.ts index 7ffd457453f1..bf9d2731be11 100644 --- a/clients/client-codecommit/commands/PostCommentReplyCommand.ts +++ b/clients/client-codecommit/commands/PostCommentReplyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PostCommentReplyCommandInput = PostCommentReplyInput; @@ -64,14 +64,14 @@ export class PostCommentReplyCommand extends $Command< private serialize( input: PostCommentReplyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PostCommentReplyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PostCommentReplyCommand(output, context); } diff --git a/clients/client-codecommit/commands/PutFileCommand.ts b/clients/client-codecommit/commands/PutFileCommand.ts index 8f79b7e0269c..8e853f22296d 100644 --- a/clients/client-codecommit/commands/PutFileCommand.ts +++ b/clients/client-codecommit/commands/PutFileCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutFileCommandInput = PutFileInput; @@ -64,14 +64,14 @@ export class PutFileCommand extends $Command< private serialize( input: PutFileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutFileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutFileCommand(output, context); } diff --git a/clients/client-codecommit/commands/PutRepositoryTriggersCommand.ts b/clients/client-codecommit/commands/PutRepositoryTriggersCommand.ts index f7ae50c420d6..9ac983bfd6f5 100644 --- a/clients/client-codecommit/commands/PutRepositoryTriggersCommand.ts +++ b/clients/client-codecommit/commands/PutRepositoryTriggersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRepositoryTriggersCommandInput = PutRepositoryTriggersInput; @@ -70,14 +70,14 @@ export class PutRepositoryTriggersCommand extends $Command< private serialize( input: PutRepositoryTriggersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRepositoryTriggersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRepositoryTriggersCommand(output, context); } diff --git a/clients/client-codecommit/commands/TagResourceCommand.ts b/clients/client-codecommit/commands/TagResourceCommand.ts index df248f1b73a6..21a8312dc93e 100644 --- a/clients/client-codecommit/commands/TagResourceCommand.ts +++ b/clients/client-codecommit/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-codecommit/commands/TestRepositoryTriggersCommand.ts b/clients/client-codecommit/commands/TestRepositoryTriggersCommand.ts index 438770c8062b..d5c4821ac4d6 100644 --- a/clients/client-codecommit/commands/TestRepositoryTriggersCommand.ts +++ b/clients/client-codecommit/commands/TestRepositoryTriggersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestRepositoryTriggersCommandInput = TestRepositoryTriggersInput; @@ -70,14 +70,14 @@ export class TestRepositoryTriggersCommand extends $Command< private serialize( input: TestRepositoryTriggersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TestRepositoryTriggersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TestRepositoryTriggersCommand(output, context); } diff --git a/clients/client-codecommit/commands/UntagResourceCommand.ts b/clients/client-codecommit/commands/UntagResourceCommand.ts index 49b083390cdc..04c5cc69218a 100644 --- a/clients/client-codecommit/commands/UntagResourceCommand.ts +++ b/clients/client-codecommit/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateContentCommand.ts b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateContentCommand.ts index 22759eb2fdd2..94e46a6efdce 100644 --- a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateContentCommand.ts +++ b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateContentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApprovalRuleTemplateContentCommandInput = UpdateApprovalRuleTemplateContentInput; @@ -70,7 +70,7 @@ export class UpdateApprovalRuleTemplateContentCommand extends $Command< private serialize( input: UpdateApprovalRuleTemplateContentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateApprovalRuleTemplateContentCommand( input, @@ -80,7 +80,7 @@ export class UpdateApprovalRuleTemplateContentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateApprovalRuleTemplateContentCommand( output, diff --git a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateDescriptionCommand.ts b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateDescriptionCommand.ts index faeebc57db99..aa62eb1dfcd8 100644 --- a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateDescriptionCommand.ts +++ b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateDescriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApprovalRuleTemplateDescriptionCommandInput = UpdateApprovalRuleTemplateDescriptionInput; @@ -72,7 +72,7 @@ export class UpdateApprovalRuleTemplateDescriptionCommand extends $Command< private serialize( input: UpdateApprovalRuleTemplateDescriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateApprovalRuleTemplateDescriptionCommand( input, @@ -82,7 +82,7 @@ export class UpdateApprovalRuleTemplateDescriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateApprovalRuleTemplateDescriptionCommand( output, diff --git a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateNameCommand.ts b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateNameCommand.ts index d6be8b235596..4cd3370e71fa 100644 --- a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateNameCommand.ts +++ b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateNameCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApprovalRuleTemplateNameCommandInput = UpdateApprovalRuleTemplateNameInput; @@ -70,7 +70,7 @@ export class UpdateApprovalRuleTemplateNameCommand extends $Command< private serialize( input: UpdateApprovalRuleTemplateNameCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateApprovalRuleTemplateNameCommand( input, @@ -80,7 +80,7 @@ export class UpdateApprovalRuleTemplateNameCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateApprovalRuleTemplateNameCommand( output, diff --git a/clients/client-codecommit/commands/UpdateCommentCommand.ts b/clients/client-codecommit/commands/UpdateCommentCommand.ts index 06f9ae3b28ee..c844d5c1ce1e 100644 --- a/clients/client-codecommit/commands/UpdateCommentCommand.ts +++ b/clients/client-codecommit/commands/UpdateCommentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCommentCommandInput = UpdateCommentInput; @@ -64,14 +64,14 @@ export class UpdateCommentCommand extends $Command< private serialize( input: UpdateCommentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateCommentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateCommentCommand(output, context); } diff --git a/clients/client-codecommit/commands/UpdateDefaultBranchCommand.ts b/clients/client-codecommit/commands/UpdateDefaultBranchCommand.ts index 4f0c0537eba4..6b0e7321d5ca 100644 --- a/clients/client-codecommit/commands/UpdateDefaultBranchCommand.ts +++ b/clients/client-codecommit/commands/UpdateDefaultBranchCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDefaultBranchCommandInput = UpdateDefaultBranchInput; @@ -68,14 +68,14 @@ export class UpdateDefaultBranchCommand extends $Command< private serialize( input: UpdateDefaultBranchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDefaultBranchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDefaultBranchCommand(output, context); } diff --git a/clients/client-codecommit/commands/UpdatePullRequestApprovalRuleContentCommand.ts b/clients/client-codecommit/commands/UpdatePullRequestApprovalRuleContentCommand.ts index 27a92a391468..394fe20678e1 100644 --- a/clients/client-codecommit/commands/UpdatePullRequestApprovalRuleContentCommand.ts +++ b/clients/client-codecommit/commands/UpdatePullRequestApprovalRuleContentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePullRequestApprovalRuleContentCommandInput = UpdatePullRequestApprovalRuleContentInput; @@ -72,7 +72,7 @@ export class UpdatePullRequestApprovalRuleContentCommand extends $Command< private serialize( input: UpdatePullRequestApprovalRuleContentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdatePullRequestApprovalRuleContentCommand( input, @@ -82,7 +82,7 @@ export class UpdatePullRequestApprovalRuleContentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdatePullRequestApprovalRuleContentCommand( output, diff --git a/clients/client-codecommit/commands/UpdatePullRequestApprovalStateCommand.ts b/clients/client-codecommit/commands/UpdatePullRequestApprovalStateCommand.ts index f9dcfe95901b..646e83170c45 100644 --- a/clients/client-codecommit/commands/UpdatePullRequestApprovalStateCommand.ts +++ b/clients/client-codecommit/commands/UpdatePullRequestApprovalStateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePullRequestApprovalStateCommandInput = UpdatePullRequestApprovalStateInput; @@ -68,7 +68,7 @@ export class UpdatePullRequestApprovalStateCommand extends $Command< private serialize( input: UpdatePullRequestApprovalStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdatePullRequestApprovalStateCommand( input, @@ -78,7 +78,7 @@ export class UpdatePullRequestApprovalStateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdatePullRequestApprovalStateCommand( output, diff --git a/clients/client-codecommit/commands/UpdatePullRequestDescriptionCommand.ts b/clients/client-codecommit/commands/UpdatePullRequestDescriptionCommand.ts index eb247cee0d3d..b44e5e040696 100644 --- a/clients/client-codecommit/commands/UpdatePullRequestDescriptionCommand.ts +++ b/clients/client-codecommit/commands/UpdatePullRequestDescriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePullRequestDescriptionCommandInput = UpdatePullRequestDescriptionInput; @@ -70,7 +70,7 @@ export class UpdatePullRequestDescriptionCommand extends $Command< private serialize( input: UpdatePullRequestDescriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdatePullRequestDescriptionCommand( input, @@ -80,7 +80,7 @@ export class UpdatePullRequestDescriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdatePullRequestDescriptionCommand( output, diff --git a/clients/client-codecommit/commands/UpdatePullRequestStatusCommand.ts b/clients/client-codecommit/commands/UpdatePullRequestStatusCommand.ts index eb4eb3039649..8e217e657809 100644 --- a/clients/client-codecommit/commands/UpdatePullRequestStatusCommand.ts +++ b/clients/client-codecommit/commands/UpdatePullRequestStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePullRequestStatusCommandInput = UpdatePullRequestStatusInput; @@ -70,14 +70,14 @@ export class UpdatePullRequestStatusCommand extends $Command< private serialize( input: UpdatePullRequestStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdatePullRequestStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdatePullRequestStatusCommand( output, diff --git a/clients/client-codecommit/commands/UpdatePullRequestTitleCommand.ts b/clients/client-codecommit/commands/UpdatePullRequestTitleCommand.ts index d966dafac12d..defc26c63ed4 100644 --- a/clients/client-codecommit/commands/UpdatePullRequestTitleCommand.ts +++ b/clients/client-codecommit/commands/UpdatePullRequestTitleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePullRequestTitleCommandInput = UpdatePullRequestTitleInput; @@ -70,14 +70,14 @@ export class UpdatePullRequestTitleCommand extends $Command< private serialize( input: UpdatePullRequestTitleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdatePullRequestTitleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdatePullRequestTitleCommand(output, context); } diff --git a/clients/client-codecommit/commands/UpdateRepositoryDescriptionCommand.ts b/clients/client-codecommit/commands/UpdateRepositoryDescriptionCommand.ts index a8d432ac0647..f4c00883bd0f 100644 --- a/clients/client-codecommit/commands/UpdateRepositoryDescriptionCommand.ts +++ b/clients/client-codecommit/commands/UpdateRepositoryDescriptionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRepositoryDescriptionCommandInput = UpdateRepositoryDescriptionInput; @@ -68,7 +68,7 @@ export class UpdateRepositoryDescriptionCommand extends $Command< private serialize( input: UpdateRepositoryDescriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRepositoryDescriptionCommand( input, @@ -78,7 +78,7 @@ export class UpdateRepositoryDescriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRepositoryDescriptionCommand( output, diff --git a/clients/client-codecommit/commands/UpdateRepositoryNameCommand.ts b/clients/client-codecommit/commands/UpdateRepositoryNameCommand.ts index b54f5ce6c3f4..f040c5fe305a 100644 --- a/clients/client-codecommit/commands/UpdateRepositoryNameCommand.ts +++ b/clients/client-codecommit/commands/UpdateRepositoryNameCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRepositoryNameCommandInput = UpdateRepositoryNameInput; @@ -68,14 +68,14 @@ export class UpdateRepositoryNameCommand extends $Command< private serialize( input: UpdateRepositoryNameCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRepositoryNameCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRepositoryNameCommand(output, context); } diff --git a/clients/client-codecommit/protocols/Aws_json1_1.ts b/clients/client-codecommit/protocols/Aws_json1_1.ts index 4963afa55f5d..b4f1016f2961 100644 --- a/clients/client-codecommit/protocols/Aws_json1_1.ts +++ b/clients/client-codecommit/protocols/Aws_json1_1.ts @@ -23845,6 +23845,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-codedeploy/commands/AddTagsToOnPremisesInstancesCommand.ts b/clients/client-codedeploy/commands/AddTagsToOnPremisesInstancesCommand.ts index 69d9a9670ed7..9d88ed3f87ec 100644 --- a/clients/client-codedeploy/commands/AddTagsToOnPremisesInstancesCommand.ts +++ b/clients/client-codedeploy/commands/AddTagsToOnPremisesInstancesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToOnPremisesInstancesCommandInput = AddTagsToOnPremisesInstancesInput; @@ -68,7 +68,7 @@ export class AddTagsToOnPremisesInstancesCommand extends $Command< private serialize( input: AddTagsToOnPremisesInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsToOnPremisesInstancesCommand( input, @@ -78,7 +78,7 @@ export class AddTagsToOnPremisesInstancesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsToOnPremisesInstancesCommand( output, diff --git a/clients/client-codedeploy/commands/BatchGetApplicationRevisionsCommand.ts b/clients/client-codedeploy/commands/BatchGetApplicationRevisionsCommand.ts index 715ae25cd452..176646caed29 100644 --- a/clients/client-codedeploy/commands/BatchGetApplicationRevisionsCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetApplicationRevisionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetApplicationRevisionsCommandInput = BatchGetApplicationRevisionsInput; @@ -70,7 +70,7 @@ export class BatchGetApplicationRevisionsCommand extends $Command< private serialize( input: BatchGetApplicationRevisionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetApplicationRevisionsCommand( input, @@ -80,7 +80,7 @@ export class BatchGetApplicationRevisionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetApplicationRevisionsCommand( output, diff --git a/clients/client-codedeploy/commands/BatchGetApplicationsCommand.ts b/clients/client-codedeploy/commands/BatchGetApplicationsCommand.ts index a107fc60f166..025bfeb4c8e6 100644 --- a/clients/client-codedeploy/commands/BatchGetApplicationsCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetApplicationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetApplicationsCommandInput = BatchGetApplicationsInput; @@ -70,14 +70,14 @@ export class BatchGetApplicationsCommand extends $Command< private serialize( input: BatchGetApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetApplicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetApplicationsCommand(output, context); } diff --git a/clients/client-codedeploy/commands/BatchGetDeploymentGroupsCommand.ts b/clients/client-codedeploy/commands/BatchGetDeploymentGroupsCommand.ts index 3001d7e3bc69..cfb5e7ba6d1a 100644 --- a/clients/client-codedeploy/commands/BatchGetDeploymentGroupsCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetDeploymentGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetDeploymentGroupsCommandInput = BatchGetDeploymentGroupsInput; @@ -70,14 +70,14 @@ export class BatchGetDeploymentGroupsCommand extends $Command< private serialize( input: BatchGetDeploymentGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetDeploymentGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetDeploymentGroupsCommand( output, diff --git a/clients/client-codedeploy/commands/BatchGetDeploymentInstancesCommand.ts b/clients/client-codedeploy/commands/BatchGetDeploymentInstancesCommand.ts index a8928494d0c2..1f7b3738b289 100644 --- a/clients/client-codedeploy/commands/BatchGetDeploymentInstancesCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetDeploymentInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetDeploymentInstancesCommandInput = BatchGetDeploymentInstancesInput; @@ -70,7 +70,7 @@ export class BatchGetDeploymentInstancesCommand extends $Command< private serialize( input: BatchGetDeploymentInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetDeploymentInstancesCommand( input, @@ -80,7 +80,7 @@ export class BatchGetDeploymentInstancesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetDeploymentInstancesCommand( output, diff --git a/clients/client-codedeploy/commands/BatchGetDeploymentTargetsCommand.ts b/clients/client-codedeploy/commands/BatchGetDeploymentTargetsCommand.ts index 1794a0baef8a..dc97b377983d 100644 --- a/clients/client-codedeploy/commands/BatchGetDeploymentTargetsCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetDeploymentTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetDeploymentTargetsCommandInput = BatchGetDeploymentTargetsInput; @@ -70,14 +70,14 @@ export class BatchGetDeploymentTargetsCommand extends $Command< private serialize( input: BatchGetDeploymentTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetDeploymentTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetDeploymentTargetsCommand( output, diff --git a/clients/client-codedeploy/commands/BatchGetDeploymentsCommand.ts b/clients/client-codedeploy/commands/BatchGetDeploymentsCommand.ts index e66f3dfb9108..66ac587012c9 100644 --- a/clients/client-codedeploy/commands/BatchGetDeploymentsCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetDeploymentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetDeploymentsCommandInput = BatchGetDeploymentsInput; @@ -70,14 +70,14 @@ export class BatchGetDeploymentsCommand extends $Command< private serialize( input: BatchGetDeploymentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetDeploymentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetDeploymentsCommand(output, context); } diff --git a/clients/client-codedeploy/commands/BatchGetOnPremisesInstancesCommand.ts b/clients/client-codedeploy/commands/BatchGetOnPremisesInstancesCommand.ts index 10678841172e..ef76a606523f 100644 --- a/clients/client-codedeploy/commands/BatchGetOnPremisesInstancesCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetOnPremisesInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetOnPremisesInstancesCommandInput = BatchGetOnPremisesInstancesInput; @@ -70,7 +70,7 @@ export class BatchGetOnPremisesInstancesCommand extends $Command< private serialize( input: BatchGetOnPremisesInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetOnPremisesInstancesCommand( input, @@ -80,7 +80,7 @@ export class BatchGetOnPremisesInstancesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetOnPremisesInstancesCommand( output, diff --git a/clients/client-codedeploy/commands/ContinueDeploymentCommand.ts b/clients/client-codedeploy/commands/ContinueDeploymentCommand.ts index a030f92e76b3..5404ce6e2c90 100644 --- a/clients/client-codedeploy/commands/ContinueDeploymentCommand.ts +++ b/clients/client-codedeploy/commands/ContinueDeploymentCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ContinueDeploymentCommandInput = ContinueDeploymentInput; @@ -65,14 +65,14 @@ export class ContinueDeploymentCommand extends $Command< private serialize( input: ContinueDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ContinueDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ContinueDeploymentCommand(output, context); } diff --git a/clients/client-codedeploy/commands/CreateApplicationCommand.ts b/clients/client-codedeploy/commands/CreateApplicationCommand.ts index 42bf68dbb160..01bb3d1e480f 100644 --- a/clients/client-codedeploy/commands/CreateApplicationCommand.ts +++ b/clients/client-codedeploy/commands/CreateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApplicationCommandInput = CreateApplicationInput; @@ -67,14 +67,14 @@ export class CreateApplicationCommand extends $Command< private serialize( input: CreateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateApplicationCommand(output, context); } diff --git a/clients/client-codedeploy/commands/CreateDeploymentCommand.ts b/clients/client-codedeploy/commands/CreateDeploymentCommand.ts index f5e6ecb39a5a..343b0ff33a58 100644 --- a/clients/client-codedeploy/commands/CreateDeploymentCommand.ts +++ b/clients/client-codedeploy/commands/CreateDeploymentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeploymentCommandInput = CreateDeploymentInput; @@ -64,14 +64,14 @@ export class CreateDeploymentCommand extends $Command< private serialize( input: CreateDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDeploymentCommand(output, context); } diff --git a/clients/client-codedeploy/commands/CreateDeploymentConfigCommand.ts b/clients/client-codedeploy/commands/CreateDeploymentConfigCommand.ts index b742ed6f1cac..065c7c732ee0 100644 --- a/clients/client-codedeploy/commands/CreateDeploymentConfigCommand.ts +++ b/clients/client-codedeploy/commands/CreateDeploymentConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeploymentConfigCommandInput = CreateDeploymentConfigInput; @@ -70,14 +70,14 @@ export class CreateDeploymentConfigCommand extends $Command< private serialize( input: CreateDeploymentConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDeploymentConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDeploymentConfigCommand(output, context); } diff --git a/clients/client-codedeploy/commands/CreateDeploymentGroupCommand.ts b/clients/client-codedeploy/commands/CreateDeploymentGroupCommand.ts index 26a68a7cce6c..4a3ec44d11a7 100644 --- a/clients/client-codedeploy/commands/CreateDeploymentGroupCommand.ts +++ b/clients/client-codedeploy/commands/CreateDeploymentGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeploymentGroupCommandInput = CreateDeploymentGroupInput; @@ -70,14 +70,14 @@ export class CreateDeploymentGroupCommand extends $Command< private serialize( input: CreateDeploymentGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDeploymentGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDeploymentGroupCommand(output, context); } diff --git a/clients/client-codedeploy/commands/DeleteApplicationCommand.ts b/clients/client-codedeploy/commands/DeleteApplicationCommand.ts index 44c6e7a5b939..6734bddf5ab6 100644 --- a/clients/client-codedeploy/commands/DeleteApplicationCommand.ts +++ b/clients/client-codedeploy/commands/DeleteApplicationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationCommandInput = DeleteApplicationInput; @@ -65,14 +65,14 @@ export class DeleteApplicationCommand extends $Command< private serialize( input: DeleteApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationCommand(output, context); } diff --git a/clients/client-codedeploy/commands/DeleteDeploymentConfigCommand.ts b/clients/client-codedeploy/commands/DeleteDeploymentConfigCommand.ts index 2bf734501fe0..8ba91fe44720 100644 --- a/clients/client-codedeploy/commands/DeleteDeploymentConfigCommand.ts +++ b/clients/client-codedeploy/commands/DeleteDeploymentConfigCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDeploymentConfigCommandInput = DeleteDeploymentConfigInput; @@ -68,14 +68,14 @@ export class DeleteDeploymentConfigCommand extends $Command< private serialize( input: DeleteDeploymentConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDeploymentConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDeploymentConfigCommand(output, context); } diff --git a/clients/client-codedeploy/commands/DeleteDeploymentGroupCommand.ts b/clients/client-codedeploy/commands/DeleteDeploymentGroupCommand.ts index 2b1048addeb6..7d3aa6856cfb 100644 --- a/clients/client-codedeploy/commands/DeleteDeploymentGroupCommand.ts +++ b/clients/client-codedeploy/commands/DeleteDeploymentGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDeploymentGroupCommandInput = DeleteDeploymentGroupInput; @@ -70,14 +70,14 @@ export class DeleteDeploymentGroupCommand extends $Command< private serialize( input: DeleteDeploymentGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDeploymentGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDeploymentGroupCommand(output, context); } diff --git a/clients/client-codedeploy/commands/DeleteGitHubAccountTokenCommand.ts b/clients/client-codedeploy/commands/DeleteGitHubAccountTokenCommand.ts index 8f0e8ce7ce83..24332adebf23 100644 --- a/clients/client-codedeploy/commands/DeleteGitHubAccountTokenCommand.ts +++ b/clients/client-codedeploy/commands/DeleteGitHubAccountTokenCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGitHubAccountTokenCommandInput = DeleteGitHubAccountTokenInput; @@ -70,14 +70,14 @@ export class DeleteGitHubAccountTokenCommand extends $Command< private serialize( input: DeleteGitHubAccountTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteGitHubAccountTokenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteGitHubAccountTokenCommand( output, diff --git a/clients/client-codedeploy/commands/DeregisterOnPremisesInstanceCommand.ts b/clients/client-codedeploy/commands/DeregisterOnPremisesInstanceCommand.ts index b9b8c67e882d..89f8a58cf07e 100644 --- a/clients/client-codedeploy/commands/DeregisterOnPremisesInstanceCommand.ts +++ b/clients/client-codedeploy/commands/DeregisterOnPremisesInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterOnPremisesInstanceCommandInput = DeregisterOnPremisesInstanceInput; @@ -68,7 +68,7 @@ export class DeregisterOnPremisesInstanceCommand extends $Command< private serialize( input: DeregisterOnPremisesInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterOnPremisesInstanceCommand( input, @@ -78,7 +78,7 @@ export class DeregisterOnPremisesInstanceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterOnPremisesInstanceCommand( output, diff --git a/clients/client-codedeploy/commands/GetApplicationCommand.ts b/clients/client-codedeploy/commands/GetApplicationCommand.ts index 5b5d15e818c4..9de3b9dd83c4 100644 --- a/clients/client-codedeploy/commands/GetApplicationCommand.ts +++ b/clients/client-codedeploy/commands/GetApplicationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApplicationCommandInput = GetApplicationInput; @@ -64,14 +64,14 @@ export class GetApplicationCommand extends $Command< private serialize( input: GetApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetApplicationCommand(output, context); } diff --git a/clients/client-codedeploy/commands/GetApplicationRevisionCommand.ts b/clients/client-codedeploy/commands/GetApplicationRevisionCommand.ts index 30cc29d53dd0..59c48f966d18 100644 --- a/clients/client-codedeploy/commands/GetApplicationRevisionCommand.ts +++ b/clients/client-codedeploy/commands/GetApplicationRevisionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApplicationRevisionCommandInput = GetApplicationRevisionInput; @@ -70,14 +70,14 @@ export class GetApplicationRevisionCommand extends $Command< private serialize( input: GetApplicationRevisionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetApplicationRevisionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetApplicationRevisionCommand(output, context); } diff --git a/clients/client-codedeploy/commands/GetDeploymentCommand.ts b/clients/client-codedeploy/commands/GetDeploymentCommand.ts index 969691c61d42..9191dd022fe8 100644 --- a/clients/client-codedeploy/commands/GetDeploymentCommand.ts +++ b/clients/client-codedeploy/commands/GetDeploymentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentCommandInput = GetDeploymentInput; @@ -64,14 +64,14 @@ export class GetDeploymentCommand extends $Command< private serialize( input: GetDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDeploymentCommand(output, context); } diff --git a/clients/client-codedeploy/commands/GetDeploymentConfigCommand.ts b/clients/client-codedeploy/commands/GetDeploymentConfigCommand.ts index ff0d631e49bf..a8700539968f 100644 --- a/clients/client-codedeploy/commands/GetDeploymentConfigCommand.ts +++ b/clients/client-codedeploy/commands/GetDeploymentConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentConfigCommandInput = GetDeploymentConfigInput; @@ -70,14 +70,14 @@ export class GetDeploymentConfigCommand extends $Command< private serialize( input: GetDeploymentConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDeploymentConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDeploymentConfigCommand(output, context); } diff --git a/clients/client-codedeploy/commands/GetDeploymentGroupCommand.ts b/clients/client-codedeploy/commands/GetDeploymentGroupCommand.ts index 50d87b267d47..e21423a4cb48 100644 --- a/clients/client-codedeploy/commands/GetDeploymentGroupCommand.ts +++ b/clients/client-codedeploy/commands/GetDeploymentGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentGroupCommandInput = GetDeploymentGroupInput; @@ -67,14 +67,14 @@ export class GetDeploymentGroupCommand extends $Command< private serialize( input: GetDeploymentGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDeploymentGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDeploymentGroupCommand(output, context); } diff --git a/clients/client-codedeploy/commands/GetDeploymentInstanceCommand.ts b/clients/client-codedeploy/commands/GetDeploymentInstanceCommand.ts index d94fc6cccb05..e48b9d512d56 100644 --- a/clients/client-codedeploy/commands/GetDeploymentInstanceCommand.ts +++ b/clients/client-codedeploy/commands/GetDeploymentInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentInstanceCommandInput = GetDeploymentInstanceInput; @@ -70,14 +70,14 @@ export class GetDeploymentInstanceCommand extends $Command< private serialize( input: GetDeploymentInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDeploymentInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDeploymentInstanceCommand(output, context); } diff --git a/clients/client-codedeploy/commands/GetDeploymentTargetCommand.ts b/clients/client-codedeploy/commands/GetDeploymentTargetCommand.ts index ba612fe485f0..b2f5865d69d1 100644 --- a/clients/client-codedeploy/commands/GetDeploymentTargetCommand.ts +++ b/clients/client-codedeploy/commands/GetDeploymentTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentTargetCommandInput = GetDeploymentTargetInput; @@ -70,14 +70,14 @@ export class GetDeploymentTargetCommand extends $Command< private serialize( input: GetDeploymentTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDeploymentTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDeploymentTargetCommand(output, context); } diff --git a/clients/client-codedeploy/commands/GetOnPremisesInstanceCommand.ts b/clients/client-codedeploy/commands/GetOnPremisesInstanceCommand.ts index 42660abd7811..d5c5c18ee89b 100644 --- a/clients/client-codedeploy/commands/GetOnPremisesInstanceCommand.ts +++ b/clients/client-codedeploy/commands/GetOnPremisesInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOnPremisesInstanceCommandInput = GetOnPremisesInstanceInput; @@ -70,14 +70,14 @@ export class GetOnPremisesInstanceCommand extends $Command< private serialize( input: GetOnPremisesInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOnPremisesInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOnPremisesInstanceCommand(output, context); } diff --git a/clients/client-codedeploy/commands/ListApplicationRevisionsCommand.ts b/clients/client-codedeploy/commands/ListApplicationRevisionsCommand.ts index 5ce215bbdc5a..f05f440e4c86 100644 --- a/clients/client-codedeploy/commands/ListApplicationRevisionsCommand.ts +++ b/clients/client-codedeploy/commands/ListApplicationRevisionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApplicationRevisionsCommandInput = ListApplicationRevisionsInput; @@ -70,14 +70,14 @@ export class ListApplicationRevisionsCommand extends $Command< private serialize( input: ListApplicationRevisionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListApplicationRevisionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListApplicationRevisionsCommand( output, diff --git a/clients/client-codedeploy/commands/ListApplicationsCommand.ts b/clients/client-codedeploy/commands/ListApplicationsCommand.ts index 64eb6ce75d82..56b6d59c6c86 100644 --- a/clients/client-codedeploy/commands/ListApplicationsCommand.ts +++ b/clients/client-codedeploy/commands/ListApplicationsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApplicationsCommandInput = ListApplicationsInput; @@ -64,14 +64,14 @@ export class ListApplicationsCommand extends $Command< private serialize( input: ListApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListApplicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListApplicationsCommand(output, context); } diff --git a/clients/client-codedeploy/commands/ListDeploymentConfigsCommand.ts b/clients/client-codedeploy/commands/ListDeploymentConfigsCommand.ts index 60cba2466808..6f1c493030a9 100644 --- a/clients/client-codedeploy/commands/ListDeploymentConfigsCommand.ts +++ b/clients/client-codedeploy/commands/ListDeploymentConfigsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeploymentConfigsCommandInput = ListDeploymentConfigsInput; @@ -70,14 +70,14 @@ export class ListDeploymentConfigsCommand extends $Command< private serialize( input: ListDeploymentConfigsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDeploymentConfigsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDeploymentConfigsCommand(output, context); } diff --git a/clients/client-codedeploy/commands/ListDeploymentGroupsCommand.ts b/clients/client-codedeploy/commands/ListDeploymentGroupsCommand.ts index 92882f2dc504..68b18bf6ce09 100644 --- a/clients/client-codedeploy/commands/ListDeploymentGroupsCommand.ts +++ b/clients/client-codedeploy/commands/ListDeploymentGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeploymentGroupsCommandInput = ListDeploymentGroupsInput; @@ -70,14 +70,14 @@ export class ListDeploymentGroupsCommand extends $Command< private serialize( input: ListDeploymentGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDeploymentGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDeploymentGroupsCommand(output, context); } diff --git a/clients/client-codedeploy/commands/ListDeploymentInstancesCommand.ts b/clients/client-codedeploy/commands/ListDeploymentInstancesCommand.ts index 9450247eb0a1..408028db593a 100644 --- a/clients/client-codedeploy/commands/ListDeploymentInstancesCommand.ts +++ b/clients/client-codedeploy/commands/ListDeploymentInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeploymentInstancesCommandInput = ListDeploymentInstancesInput; @@ -70,14 +70,14 @@ export class ListDeploymentInstancesCommand extends $Command< private serialize( input: ListDeploymentInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDeploymentInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDeploymentInstancesCommand( output, diff --git a/clients/client-codedeploy/commands/ListDeploymentTargetsCommand.ts b/clients/client-codedeploy/commands/ListDeploymentTargetsCommand.ts index 0dd9c064666a..2e66b6930f3f 100644 --- a/clients/client-codedeploy/commands/ListDeploymentTargetsCommand.ts +++ b/clients/client-codedeploy/commands/ListDeploymentTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeploymentTargetsCommandInput = ListDeploymentTargetsInput; @@ -70,14 +70,14 @@ export class ListDeploymentTargetsCommand extends $Command< private serialize( input: ListDeploymentTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDeploymentTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDeploymentTargetsCommand(output, context); } diff --git a/clients/client-codedeploy/commands/ListDeploymentsCommand.ts b/clients/client-codedeploy/commands/ListDeploymentsCommand.ts index c974e1967052..9714eac6772d 100644 --- a/clients/client-codedeploy/commands/ListDeploymentsCommand.ts +++ b/clients/client-codedeploy/commands/ListDeploymentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeploymentsCommandInput = ListDeploymentsInput; @@ -64,14 +64,14 @@ export class ListDeploymentsCommand extends $Command< private serialize( input: ListDeploymentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDeploymentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDeploymentsCommand(output, context); } diff --git a/clients/client-codedeploy/commands/ListGitHubAccountTokenNamesCommand.ts b/clients/client-codedeploy/commands/ListGitHubAccountTokenNamesCommand.ts index 7de7d6e08ef0..98b93ebcb452 100644 --- a/clients/client-codedeploy/commands/ListGitHubAccountTokenNamesCommand.ts +++ b/clients/client-codedeploy/commands/ListGitHubAccountTokenNamesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGitHubAccountTokenNamesCommandInput = ListGitHubAccountTokenNamesInput; @@ -70,7 +70,7 @@ export class ListGitHubAccountTokenNamesCommand extends $Command< private serialize( input: ListGitHubAccountTokenNamesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListGitHubAccountTokenNamesCommand( input, @@ -80,7 +80,7 @@ export class ListGitHubAccountTokenNamesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListGitHubAccountTokenNamesCommand( output, diff --git a/clients/client-codedeploy/commands/ListOnPremisesInstancesCommand.ts b/clients/client-codedeploy/commands/ListOnPremisesInstancesCommand.ts index 00d6ac5ab016..c74389d3aee6 100644 --- a/clients/client-codedeploy/commands/ListOnPremisesInstancesCommand.ts +++ b/clients/client-codedeploy/commands/ListOnPremisesInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOnPremisesInstancesCommandInput = ListOnPremisesInstancesInput; @@ -70,14 +70,14 @@ export class ListOnPremisesInstancesCommand extends $Command< private serialize( input: ListOnPremisesInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListOnPremisesInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListOnPremisesInstancesCommand( output, diff --git a/clients/client-codedeploy/commands/ListTagsForResourceCommand.ts b/clients/client-codedeploy/commands/ListTagsForResourceCommand.ts index ce0898fc1df8..19592288d3a2 100644 --- a/clients/client-codedeploy/commands/ListTagsForResourceCommand.ts +++ b/clients/client-codedeploy/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-codedeploy/commands/PutLifecycleEventHookExecutionStatusCommand.ts b/clients/client-codedeploy/commands/PutLifecycleEventHookExecutionStatusCommand.ts index 901152c2b2ef..9ac9dbc7458b 100644 --- a/clients/client-codedeploy/commands/PutLifecycleEventHookExecutionStatusCommand.ts +++ b/clients/client-codedeploy/commands/PutLifecycleEventHookExecutionStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLifecycleEventHookExecutionStatusCommandInput = PutLifecycleEventHookExecutionStatusInput; @@ -72,7 +72,7 @@ export class PutLifecycleEventHookExecutionStatusCommand extends $Command< private serialize( input: PutLifecycleEventHookExecutionStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutLifecycleEventHookExecutionStatusCommand( input, @@ -82,7 +82,7 @@ export class PutLifecycleEventHookExecutionStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutLifecycleEventHookExecutionStatusCommand( output, diff --git a/clients/client-codedeploy/commands/RegisterApplicationRevisionCommand.ts b/clients/client-codedeploy/commands/RegisterApplicationRevisionCommand.ts index 13c6e5a7578b..a7f5cdb2554b 100644 --- a/clients/client-codedeploy/commands/RegisterApplicationRevisionCommand.ts +++ b/clients/client-codedeploy/commands/RegisterApplicationRevisionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterApplicationRevisionCommandInput = RegisterApplicationRevisionInput; @@ -68,7 +68,7 @@ export class RegisterApplicationRevisionCommand extends $Command< private serialize( input: RegisterApplicationRevisionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterApplicationRevisionCommand( input, @@ -78,7 +78,7 @@ export class RegisterApplicationRevisionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterApplicationRevisionCommand( output, diff --git a/clients/client-codedeploy/commands/RegisterOnPremisesInstanceCommand.ts b/clients/client-codedeploy/commands/RegisterOnPremisesInstanceCommand.ts index a09be06650ac..a35a828d5e73 100644 --- a/clients/client-codedeploy/commands/RegisterOnPremisesInstanceCommand.ts +++ b/clients/client-codedeploy/commands/RegisterOnPremisesInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterOnPremisesInstanceCommandInput = RegisterOnPremisesInstanceInput; @@ -68,7 +68,7 @@ export class RegisterOnPremisesInstanceCommand extends $Command< private serialize( input: RegisterOnPremisesInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterOnPremisesInstanceCommand( input, @@ -78,7 +78,7 @@ export class RegisterOnPremisesInstanceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterOnPremisesInstanceCommand( output, diff --git a/clients/client-codedeploy/commands/RemoveTagsFromOnPremisesInstancesCommand.ts b/clients/client-codedeploy/commands/RemoveTagsFromOnPremisesInstancesCommand.ts index c1f012f8ed84..2f8defffd75c 100644 --- a/clients/client-codedeploy/commands/RemoveTagsFromOnPremisesInstancesCommand.ts +++ b/clients/client-codedeploy/commands/RemoveTagsFromOnPremisesInstancesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromOnPremisesInstancesCommandInput = RemoveTagsFromOnPremisesInstancesInput; @@ -68,7 +68,7 @@ export class RemoveTagsFromOnPremisesInstancesCommand extends $Command< private serialize( input: RemoveTagsFromOnPremisesInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTagsFromOnPremisesInstancesCommand( input, @@ -78,7 +78,7 @@ export class RemoveTagsFromOnPremisesInstancesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTagsFromOnPremisesInstancesCommand( output, diff --git a/clients/client-codedeploy/commands/SkipWaitTimeForInstanceTerminationCommand.ts b/clients/client-codedeploy/commands/SkipWaitTimeForInstanceTerminationCommand.ts index dee6efd0b237..a3c2013f7447 100644 --- a/clients/client-codedeploy/commands/SkipWaitTimeForInstanceTerminationCommand.ts +++ b/clients/client-codedeploy/commands/SkipWaitTimeForInstanceTerminationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SkipWaitTimeForInstanceTerminationCommandInput = SkipWaitTimeForInstanceTerminationInput; @@ -68,7 +68,7 @@ export class SkipWaitTimeForInstanceTerminationCommand extends $Command< private serialize( input: SkipWaitTimeForInstanceTerminationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SkipWaitTimeForInstanceTerminationCommand( input, @@ -78,7 +78,7 @@ export class SkipWaitTimeForInstanceTerminationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SkipWaitTimeForInstanceTerminationCommand( output, diff --git a/clients/client-codedeploy/commands/StopDeploymentCommand.ts b/clients/client-codedeploy/commands/StopDeploymentCommand.ts index e3100d59dcfe..82909780ebe2 100644 --- a/clients/client-codedeploy/commands/StopDeploymentCommand.ts +++ b/clients/client-codedeploy/commands/StopDeploymentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopDeploymentCommandInput = StopDeploymentInput; @@ -64,14 +64,14 @@ export class StopDeploymentCommand extends $Command< private serialize( input: StopDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopDeploymentCommand(output, context); } diff --git a/clients/client-codedeploy/commands/TagResourceCommand.ts b/clients/client-codedeploy/commands/TagResourceCommand.ts index a2c42872530a..0e1bae96a603 100644 --- a/clients/client-codedeploy/commands/TagResourceCommand.ts +++ b/clients/client-codedeploy/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-codedeploy/commands/UntagResourceCommand.ts b/clients/client-codedeploy/commands/UntagResourceCommand.ts index 9aadb45a259b..62ec9e26c53d 100644 --- a/clients/client-codedeploy/commands/UntagResourceCommand.ts +++ b/clients/client-codedeploy/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-codedeploy/commands/UpdateApplicationCommand.ts b/clients/client-codedeploy/commands/UpdateApplicationCommand.ts index b99d634bbb0f..5946c22045bd 100644 --- a/clients/client-codedeploy/commands/UpdateApplicationCommand.ts +++ b/clients/client-codedeploy/commands/UpdateApplicationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApplicationCommandInput = UpdateApplicationInput; @@ -65,14 +65,14 @@ export class UpdateApplicationCommand extends $Command< private serialize( input: UpdateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateApplicationCommand(output, context); } diff --git a/clients/client-codedeploy/commands/UpdateDeploymentGroupCommand.ts b/clients/client-codedeploy/commands/UpdateDeploymentGroupCommand.ts index d7bf5c4e21c2..31b3ca2a2b75 100644 --- a/clients/client-codedeploy/commands/UpdateDeploymentGroupCommand.ts +++ b/clients/client-codedeploy/commands/UpdateDeploymentGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDeploymentGroupCommandInput = UpdateDeploymentGroupInput; @@ -70,14 +70,14 @@ export class UpdateDeploymentGroupCommand extends $Command< private serialize( input: UpdateDeploymentGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDeploymentGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDeploymentGroupCommand(output, context); } diff --git a/clients/client-codedeploy/protocols/Aws_json1_1.ts b/clients/client-codedeploy/protocols/Aws_json1_1.ts index 8be1d8efa3fb..53df113eedac 100644 --- a/clients/client-codedeploy/protocols/Aws_json1_1.ts +++ b/clients/client-codedeploy/protocols/Aws_json1_1.ts @@ -13566,6 +13566,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-codeguru-reviewer/commands/AssociateRepositoryCommand.ts b/clients/client-codeguru-reviewer/commands/AssociateRepositoryCommand.ts index 2b93e0178710..728f63358284 100644 --- a/clients/client-codeguru-reviewer/commands/AssociateRepositoryCommand.ts +++ b/clients/client-codeguru-reviewer/commands/AssociateRepositoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateRepositoryCommandInput = AssociateRepositoryRequest; @@ -70,14 +70,14 @@ export class AssociateRepositoryCommand extends $Command< private serialize( input: AssociateRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateRepositoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateRepositoryCommand( output, diff --git a/clients/client-codeguru-reviewer/commands/DescribeRepositoryAssociationCommand.ts b/clients/client-codeguru-reviewer/commands/DescribeRepositoryAssociationCommand.ts index d1e3211b5a72..cd62db6c7283 100644 --- a/clients/client-codeguru-reviewer/commands/DescribeRepositoryAssociationCommand.ts +++ b/clients/client-codeguru-reviewer/commands/DescribeRepositoryAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRepositoryAssociationCommandInput = DescribeRepositoryAssociationRequest; @@ -70,7 +70,7 @@ export class DescribeRepositoryAssociationCommand extends $Command< private serialize( input: DescribeRepositoryAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeRepositoryAssociationCommand( input, @@ -80,7 +80,7 @@ export class DescribeRepositoryAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeRepositoryAssociationCommand( output, diff --git a/clients/client-codeguru-reviewer/commands/DisassociateRepositoryCommand.ts b/clients/client-codeguru-reviewer/commands/DisassociateRepositoryCommand.ts index dad008f86ee2..a50f0b616ae2 100644 --- a/clients/client-codeguru-reviewer/commands/DisassociateRepositoryCommand.ts +++ b/clients/client-codeguru-reviewer/commands/DisassociateRepositoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateRepositoryCommandInput = DisassociateRepositoryRequest; @@ -70,7 +70,7 @@ export class DisassociateRepositoryCommand extends $Command< private serialize( input: DisassociateRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateRepositoryCommand( input, @@ -80,7 +80,7 @@ export class DisassociateRepositoryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateRepositoryCommand( output, diff --git a/clients/client-codeguru-reviewer/commands/ListRepositoryAssociationsCommand.ts b/clients/client-codeguru-reviewer/commands/ListRepositoryAssociationsCommand.ts index b0b557bec006..462a9e8f8c5d 100644 --- a/clients/client-codeguru-reviewer/commands/ListRepositoryAssociationsCommand.ts +++ b/clients/client-codeguru-reviewer/commands/ListRepositoryAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRepositoryAssociationsCommandInput = ListRepositoryAssociationsRequest; @@ -70,7 +70,7 @@ export class ListRepositoryAssociationsCommand extends $Command< private serialize( input: ListRepositoryAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRepositoryAssociationsCommand( input, @@ -80,7 +80,7 @@ export class ListRepositoryAssociationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRepositoryAssociationsCommand( output, diff --git a/clients/client-codeguru-reviewer/protocols/Aws_restJson1_1.ts b/clients/client-codeguru-reviewer/protocols/Aws_restJson1_1.ts index 3afef696f92e..d009ea3d8b50 100644 --- a/clients/client-codeguru-reviewer/protocols/Aws_restJson1_1.ts +++ b/clients/client-codeguru-reviewer/protocols/Aws_restJson1_1.ts @@ -785,6 +785,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-codeguruprofiler/commands/ConfigureAgentCommand.ts b/clients/client-codeguruprofiler/commands/ConfigureAgentCommand.ts index dfe38162ca51..e3942b8ab5be 100644 --- a/clients/client-codeguruprofiler/commands/ConfigureAgentCommand.ts +++ b/clients/client-codeguruprofiler/commands/ConfigureAgentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfigureAgentCommandInput = ConfigureAgentRequest; @@ -64,14 +64,14 @@ export class ConfigureAgentCommand extends $Command< private serialize( input: ConfigureAgentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ConfigureAgentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ConfigureAgentCommand(output, context); } diff --git a/clients/client-codeguruprofiler/commands/CreateProfilingGroupCommand.ts b/clients/client-codeguruprofiler/commands/CreateProfilingGroupCommand.ts index 32b1cec9c984..4fe45ef8a15d 100644 --- a/clients/client-codeguruprofiler/commands/CreateProfilingGroupCommand.ts +++ b/clients/client-codeguruprofiler/commands/CreateProfilingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProfilingGroupCommandInput = CreateProfilingGroupRequest; @@ -70,14 +70,14 @@ export class CreateProfilingGroupCommand extends $Command< private serialize( input: CreateProfilingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateProfilingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateProfilingGroupCommand( output, diff --git a/clients/client-codeguruprofiler/commands/DeleteProfilingGroupCommand.ts b/clients/client-codeguruprofiler/commands/DeleteProfilingGroupCommand.ts index 77d5af0e50f2..7edd9148daf9 100644 --- a/clients/client-codeguruprofiler/commands/DeleteProfilingGroupCommand.ts +++ b/clients/client-codeguruprofiler/commands/DeleteProfilingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProfilingGroupCommandInput = DeleteProfilingGroupRequest; @@ -70,14 +70,14 @@ export class DeleteProfilingGroupCommand extends $Command< private serialize( input: DeleteProfilingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteProfilingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteProfilingGroupCommand( output, diff --git a/clients/client-codeguruprofiler/commands/DescribeProfilingGroupCommand.ts b/clients/client-codeguruprofiler/commands/DescribeProfilingGroupCommand.ts index 4ad791573106..9b9fdc3a3beb 100644 --- a/clients/client-codeguruprofiler/commands/DescribeProfilingGroupCommand.ts +++ b/clients/client-codeguruprofiler/commands/DescribeProfilingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProfilingGroupCommandInput = DescribeProfilingGroupRequest; @@ -70,7 +70,7 @@ export class DescribeProfilingGroupCommand extends $Command< private serialize( input: DescribeProfilingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeProfilingGroupCommand( input, @@ -80,7 +80,7 @@ export class DescribeProfilingGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeProfilingGroupCommand( output, diff --git a/clients/client-codeguruprofiler/commands/GetProfileCommand.ts b/clients/client-codeguruprofiler/commands/GetProfileCommand.ts index bb4a01c93bf8..5cb4f009a9c6 100644 --- a/clients/client-codeguruprofiler/commands/GetProfileCommand.ts +++ b/clients/client-codeguruprofiler/commands/GetProfileCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetProfileCommandInput = GetProfileRequest; @@ -64,14 +64,14 @@ export class GetProfileCommand extends $Command< private serialize( input: GetProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetProfileCommand(output, context); } diff --git a/clients/client-codeguruprofiler/commands/ListProfileTimesCommand.ts b/clients/client-codeguruprofiler/commands/ListProfileTimesCommand.ts index 6fbf8db9c117..e77bd7169355 100644 --- a/clients/client-codeguruprofiler/commands/ListProfileTimesCommand.ts +++ b/clients/client-codeguruprofiler/commands/ListProfileTimesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProfileTimesCommandInput = ListProfileTimesRequest; @@ -67,14 +67,14 @@ export class ListProfileTimesCommand extends $Command< private serialize( input: ListProfileTimesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListProfileTimesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListProfileTimesCommand(output, context); } diff --git a/clients/client-codeguruprofiler/commands/ListProfilingGroupsCommand.ts b/clients/client-codeguruprofiler/commands/ListProfilingGroupsCommand.ts index 87b34a99c1ed..b70198b9b978 100644 --- a/clients/client-codeguruprofiler/commands/ListProfilingGroupsCommand.ts +++ b/clients/client-codeguruprofiler/commands/ListProfilingGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProfilingGroupsCommandInput = ListProfilingGroupsRequest; @@ -70,14 +70,14 @@ export class ListProfilingGroupsCommand extends $Command< private serialize( input: ListProfilingGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListProfilingGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListProfilingGroupsCommand( output, diff --git a/clients/client-codeguruprofiler/commands/PostAgentProfileCommand.ts b/clients/client-codeguruprofiler/commands/PostAgentProfileCommand.ts index 379ddb7b5fda..768c1a14f477 100644 --- a/clients/client-codeguruprofiler/commands/PostAgentProfileCommand.ts +++ b/clients/client-codeguruprofiler/commands/PostAgentProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PostAgentProfileCommandInput = PostAgentProfileRequest; @@ -67,14 +67,14 @@ export class PostAgentProfileCommand extends $Command< private serialize( input: PostAgentProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PostAgentProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PostAgentProfileCommand(output, context); } diff --git a/clients/client-codeguruprofiler/commands/UpdateProfilingGroupCommand.ts b/clients/client-codeguruprofiler/commands/UpdateProfilingGroupCommand.ts index 8aede18bc5cb..ce12dd889a07 100644 --- a/clients/client-codeguruprofiler/commands/UpdateProfilingGroupCommand.ts +++ b/clients/client-codeguruprofiler/commands/UpdateProfilingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProfilingGroupCommandInput = UpdateProfilingGroupRequest; @@ -70,14 +70,14 @@ export class UpdateProfilingGroupCommand extends $Command< private serialize( input: UpdateProfilingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateProfilingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateProfilingGroupCommand( output, diff --git a/clients/client-codeguruprofiler/protocols/Aws_restJson1_1.ts b/clients/client-codeguruprofiler/protocols/Aws_restJson1_1.ts index 09f6d37d46e4..e64e8ab765cc 100644 --- a/clients/client-codeguruprofiler/protocols/Aws_restJson1_1.ts +++ b/clients/client-codeguruprofiler/protocols/Aws_restJson1_1.ts @@ -1463,6 +1463,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-codepipeline/commands/AcknowledgeJobCommand.ts b/clients/client-codepipeline/commands/AcknowledgeJobCommand.ts index dbec9a88b04a..baebada4ca76 100644 --- a/clients/client-codepipeline/commands/AcknowledgeJobCommand.ts +++ b/clients/client-codepipeline/commands/AcknowledgeJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcknowledgeJobCommandInput = AcknowledgeJobInput; @@ -64,14 +64,14 @@ export class AcknowledgeJobCommand extends $Command< private serialize( input: AcknowledgeJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AcknowledgeJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AcknowledgeJobCommand(output, context); } diff --git a/clients/client-codepipeline/commands/AcknowledgeThirdPartyJobCommand.ts b/clients/client-codepipeline/commands/AcknowledgeThirdPartyJobCommand.ts index 2547045a91d0..1309576e5ae7 100644 --- a/clients/client-codepipeline/commands/AcknowledgeThirdPartyJobCommand.ts +++ b/clients/client-codepipeline/commands/AcknowledgeThirdPartyJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcknowledgeThirdPartyJobCommandInput = AcknowledgeThirdPartyJobInput; @@ -70,14 +70,14 @@ export class AcknowledgeThirdPartyJobCommand extends $Command< private serialize( input: AcknowledgeThirdPartyJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AcknowledgeThirdPartyJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AcknowledgeThirdPartyJobCommand( output, diff --git a/clients/client-codepipeline/commands/CreateCustomActionTypeCommand.ts b/clients/client-codepipeline/commands/CreateCustomActionTypeCommand.ts index 778f56d0a8bc..c3685e620f62 100644 --- a/clients/client-codepipeline/commands/CreateCustomActionTypeCommand.ts +++ b/clients/client-codepipeline/commands/CreateCustomActionTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCustomActionTypeCommandInput = CreateCustomActionTypeInput; @@ -70,14 +70,14 @@ export class CreateCustomActionTypeCommand extends $Command< private serialize( input: CreateCustomActionTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCustomActionTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCustomActionTypeCommand(output, context); } diff --git a/clients/client-codepipeline/commands/CreatePipelineCommand.ts b/clients/client-codepipeline/commands/CreatePipelineCommand.ts index 637c56681c65..91011ec4cd7d 100644 --- a/clients/client-codepipeline/commands/CreatePipelineCommand.ts +++ b/clients/client-codepipeline/commands/CreatePipelineCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePipelineCommandInput = CreatePipelineInput; @@ -64,14 +64,14 @@ export class CreatePipelineCommand extends $Command< private serialize( input: CreatePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePipelineCommand(output, context); } diff --git a/clients/client-codepipeline/commands/DeleteCustomActionTypeCommand.ts b/clients/client-codepipeline/commands/DeleteCustomActionTypeCommand.ts index 193dd691763b..6ec64dba9bf1 100644 --- a/clients/client-codepipeline/commands/DeleteCustomActionTypeCommand.ts +++ b/clients/client-codepipeline/commands/DeleteCustomActionTypeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCustomActionTypeCommandInput = DeleteCustomActionTypeInput; @@ -68,14 +68,14 @@ export class DeleteCustomActionTypeCommand extends $Command< private serialize( input: DeleteCustomActionTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCustomActionTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCustomActionTypeCommand(output, context); } diff --git a/clients/client-codepipeline/commands/DeletePipelineCommand.ts b/clients/client-codepipeline/commands/DeletePipelineCommand.ts index f175067c13b5..d876ae47249e 100644 --- a/clients/client-codepipeline/commands/DeletePipelineCommand.ts +++ b/clients/client-codepipeline/commands/DeletePipelineCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePipelineCommandInput = DeletePipelineInput; @@ -65,14 +65,14 @@ export class DeletePipelineCommand extends $Command< private serialize( input: DeletePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePipelineCommand(output, context); } diff --git a/clients/client-codepipeline/commands/DeleteWebhookCommand.ts b/clients/client-codepipeline/commands/DeleteWebhookCommand.ts index 63942014b30c..bb52916d7ced 100644 --- a/clients/client-codepipeline/commands/DeleteWebhookCommand.ts +++ b/clients/client-codepipeline/commands/DeleteWebhookCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteWebhookCommandInput = DeleteWebhookInput; @@ -64,14 +64,14 @@ export class DeleteWebhookCommand extends $Command< private serialize( input: DeleteWebhookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteWebhookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteWebhookCommand(output, context); } diff --git a/clients/client-codepipeline/commands/DeregisterWebhookWithThirdPartyCommand.ts b/clients/client-codepipeline/commands/DeregisterWebhookWithThirdPartyCommand.ts index dc562c42e07f..4dfb2537ade4 100644 --- a/clients/client-codepipeline/commands/DeregisterWebhookWithThirdPartyCommand.ts +++ b/clients/client-codepipeline/commands/DeregisterWebhookWithThirdPartyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterWebhookWithThirdPartyCommandInput = DeregisterWebhookWithThirdPartyInput; @@ -70,7 +70,7 @@ export class DeregisterWebhookWithThirdPartyCommand extends $Command< private serialize( input: DeregisterWebhookWithThirdPartyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterWebhookWithThirdPartyCommand( input, @@ -80,7 +80,7 @@ export class DeregisterWebhookWithThirdPartyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand( output, diff --git a/clients/client-codepipeline/commands/DisableStageTransitionCommand.ts b/clients/client-codepipeline/commands/DisableStageTransitionCommand.ts index 1b784f381c2c..4c7536413a10 100644 --- a/clients/client-codepipeline/commands/DisableStageTransitionCommand.ts +++ b/clients/client-codepipeline/commands/DisableStageTransitionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableStageTransitionCommandInput = DisableStageTransitionInput; @@ -68,14 +68,14 @@ export class DisableStageTransitionCommand extends $Command< private serialize( input: DisableStageTransitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableStageTransitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableStageTransitionCommand(output, context); } diff --git a/clients/client-codepipeline/commands/EnableStageTransitionCommand.ts b/clients/client-codepipeline/commands/EnableStageTransitionCommand.ts index 7809969f3c57..289356cacf87 100644 --- a/clients/client-codepipeline/commands/EnableStageTransitionCommand.ts +++ b/clients/client-codepipeline/commands/EnableStageTransitionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableStageTransitionCommandInput = EnableStageTransitionInput; @@ -68,14 +68,14 @@ export class EnableStageTransitionCommand extends $Command< private serialize( input: EnableStageTransitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableStageTransitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableStageTransitionCommand(output, context); } diff --git a/clients/client-codepipeline/commands/GetJobDetailsCommand.ts b/clients/client-codepipeline/commands/GetJobDetailsCommand.ts index 34510b840a99..df1bf1892fb3 100644 --- a/clients/client-codepipeline/commands/GetJobDetailsCommand.ts +++ b/clients/client-codepipeline/commands/GetJobDetailsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobDetailsCommandInput = GetJobDetailsInput; @@ -64,14 +64,14 @@ export class GetJobDetailsCommand extends $Command< private serialize( input: GetJobDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetJobDetailsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetJobDetailsCommand(output, context); } diff --git a/clients/client-codepipeline/commands/GetPipelineCommand.ts b/clients/client-codepipeline/commands/GetPipelineCommand.ts index 5bfa9be8752d..e2be066e0ff9 100644 --- a/clients/client-codepipeline/commands/GetPipelineCommand.ts +++ b/clients/client-codepipeline/commands/GetPipelineCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPipelineCommandInput = GetPipelineInput; @@ -64,14 +64,14 @@ export class GetPipelineCommand extends $Command< private serialize( input: GetPipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPipelineCommand(output, context); } diff --git a/clients/client-codepipeline/commands/GetPipelineExecutionCommand.ts b/clients/client-codepipeline/commands/GetPipelineExecutionCommand.ts index 368794729250..120481e558cf 100644 --- a/clients/client-codepipeline/commands/GetPipelineExecutionCommand.ts +++ b/clients/client-codepipeline/commands/GetPipelineExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPipelineExecutionCommandInput = GetPipelineExecutionInput; @@ -70,14 +70,14 @@ export class GetPipelineExecutionCommand extends $Command< private serialize( input: GetPipelineExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPipelineExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPipelineExecutionCommand(output, context); } diff --git a/clients/client-codepipeline/commands/GetPipelineStateCommand.ts b/clients/client-codepipeline/commands/GetPipelineStateCommand.ts index efcb8b9071c4..46f6d9966de3 100644 --- a/clients/client-codepipeline/commands/GetPipelineStateCommand.ts +++ b/clients/client-codepipeline/commands/GetPipelineStateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPipelineStateCommandInput = GetPipelineStateInput; @@ -64,14 +64,14 @@ export class GetPipelineStateCommand extends $Command< private serialize( input: GetPipelineStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPipelineStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPipelineStateCommand(output, context); } diff --git a/clients/client-codepipeline/commands/GetThirdPartyJobDetailsCommand.ts b/clients/client-codepipeline/commands/GetThirdPartyJobDetailsCommand.ts index 7ac048b67420..c8c9428af116 100644 --- a/clients/client-codepipeline/commands/GetThirdPartyJobDetailsCommand.ts +++ b/clients/client-codepipeline/commands/GetThirdPartyJobDetailsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetThirdPartyJobDetailsCommandInput = GetThirdPartyJobDetailsInput; @@ -70,14 +70,14 @@ export class GetThirdPartyJobDetailsCommand extends $Command< private serialize( input: GetThirdPartyJobDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetThirdPartyJobDetailsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetThirdPartyJobDetailsCommand( output, diff --git a/clients/client-codepipeline/commands/ListActionExecutionsCommand.ts b/clients/client-codepipeline/commands/ListActionExecutionsCommand.ts index f155b3cd8ce3..87ca5cdd1e74 100644 --- a/clients/client-codepipeline/commands/ListActionExecutionsCommand.ts +++ b/clients/client-codepipeline/commands/ListActionExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListActionExecutionsCommandInput = ListActionExecutionsInput; @@ -70,14 +70,14 @@ export class ListActionExecutionsCommand extends $Command< private serialize( input: ListActionExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListActionExecutionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListActionExecutionsCommand(output, context); } diff --git a/clients/client-codepipeline/commands/ListActionTypesCommand.ts b/clients/client-codepipeline/commands/ListActionTypesCommand.ts index 27f5f2374d05..55996556a0dd 100644 --- a/clients/client-codepipeline/commands/ListActionTypesCommand.ts +++ b/clients/client-codepipeline/commands/ListActionTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListActionTypesCommandInput = ListActionTypesInput; @@ -64,14 +64,14 @@ export class ListActionTypesCommand extends $Command< private serialize( input: ListActionTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListActionTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListActionTypesCommand(output, context); } diff --git a/clients/client-codepipeline/commands/ListPipelineExecutionsCommand.ts b/clients/client-codepipeline/commands/ListPipelineExecutionsCommand.ts index a3f3a314ae5c..8a6da984996f 100644 --- a/clients/client-codepipeline/commands/ListPipelineExecutionsCommand.ts +++ b/clients/client-codepipeline/commands/ListPipelineExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPipelineExecutionsCommandInput = ListPipelineExecutionsInput; @@ -70,14 +70,14 @@ export class ListPipelineExecutionsCommand extends $Command< private serialize( input: ListPipelineExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPipelineExecutionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPipelineExecutionsCommand(output, context); } diff --git a/clients/client-codepipeline/commands/ListPipelinesCommand.ts b/clients/client-codepipeline/commands/ListPipelinesCommand.ts index e2182e3ccad4..ca2237199965 100644 --- a/clients/client-codepipeline/commands/ListPipelinesCommand.ts +++ b/clients/client-codepipeline/commands/ListPipelinesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPipelinesCommandInput = ListPipelinesInput; @@ -64,14 +64,14 @@ export class ListPipelinesCommand extends $Command< private serialize( input: ListPipelinesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPipelinesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPipelinesCommand(output, context); } diff --git a/clients/client-codepipeline/commands/ListTagsForResourceCommand.ts b/clients/client-codepipeline/commands/ListTagsForResourceCommand.ts index 2a678b14d474..5012d96ce2b8 100644 --- a/clients/client-codepipeline/commands/ListTagsForResourceCommand.ts +++ b/clients/client-codepipeline/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-codepipeline/commands/ListWebhooksCommand.ts b/clients/client-codepipeline/commands/ListWebhooksCommand.ts index c053680e6ced..197d637bf380 100644 --- a/clients/client-codepipeline/commands/ListWebhooksCommand.ts +++ b/clients/client-codepipeline/commands/ListWebhooksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWebhooksCommandInput = ListWebhooksInput; @@ -64,14 +64,14 @@ export class ListWebhooksCommand extends $Command< private serialize( input: ListWebhooksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListWebhooksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListWebhooksCommand(output, context); } diff --git a/clients/client-codepipeline/commands/PollForJobsCommand.ts b/clients/client-codepipeline/commands/PollForJobsCommand.ts index ec5c83fd70b2..fab7735fd6dd 100644 --- a/clients/client-codepipeline/commands/PollForJobsCommand.ts +++ b/clients/client-codepipeline/commands/PollForJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PollForJobsCommandInput = PollForJobsInput; @@ -64,14 +64,14 @@ export class PollForJobsCommand extends $Command< private serialize( input: PollForJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PollForJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PollForJobsCommand(output, context); } diff --git a/clients/client-codepipeline/commands/PollForThirdPartyJobsCommand.ts b/clients/client-codepipeline/commands/PollForThirdPartyJobsCommand.ts index c50801c99834..5335db80a3d8 100644 --- a/clients/client-codepipeline/commands/PollForThirdPartyJobsCommand.ts +++ b/clients/client-codepipeline/commands/PollForThirdPartyJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PollForThirdPartyJobsCommandInput = PollForThirdPartyJobsInput; @@ -70,14 +70,14 @@ export class PollForThirdPartyJobsCommand extends $Command< private serialize( input: PollForThirdPartyJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PollForThirdPartyJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PollForThirdPartyJobsCommand(output, context); } diff --git a/clients/client-codepipeline/commands/PutActionRevisionCommand.ts b/clients/client-codepipeline/commands/PutActionRevisionCommand.ts index 86d0e0ba4fd7..2e6f8d6c5997 100644 --- a/clients/client-codepipeline/commands/PutActionRevisionCommand.ts +++ b/clients/client-codepipeline/commands/PutActionRevisionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutActionRevisionCommandInput = PutActionRevisionInput; @@ -67,14 +67,14 @@ export class PutActionRevisionCommand extends $Command< private serialize( input: PutActionRevisionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutActionRevisionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutActionRevisionCommand(output, context); } diff --git a/clients/client-codepipeline/commands/PutApprovalResultCommand.ts b/clients/client-codepipeline/commands/PutApprovalResultCommand.ts index 4fdebf18ca0f..778b38f0d06b 100644 --- a/clients/client-codepipeline/commands/PutApprovalResultCommand.ts +++ b/clients/client-codepipeline/commands/PutApprovalResultCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutApprovalResultCommandInput = PutApprovalResultInput; @@ -67,14 +67,14 @@ export class PutApprovalResultCommand extends $Command< private serialize( input: PutApprovalResultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutApprovalResultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutApprovalResultCommand(output, context); } diff --git a/clients/client-codepipeline/commands/PutJobFailureResultCommand.ts b/clients/client-codepipeline/commands/PutJobFailureResultCommand.ts index 3c692b2a6427..7f9e1ccb7ff2 100644 --- a/clients/client-codepipeline/commands/PutJobFailureResultCommand.ts +++ b/clients/client-codepipeline/commands/PutJobFailureResultCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutJobFailureResultCommandInput = PutJobFailureResultInput; @@ -68,14 +68,14 @@ export class PutJobFailureResultCommand extends $Command< private serialize( input: PutJobFailureResultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutJobFailureResultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutJobFailureResultCommand(output, context); } diff --git a/clients/client-codepipeline/commands/PutJobSuccessResultCommand.ts b/clients/client-codepipeline/commands/PutJobSuccessResultCommand.ts index 10505ba73cdf..2e3e4e34054f 100644 --- a/clients/client-codepipeline/commands/PutJobSuccessResultCommand.ts +++ b/clients/client-codepipeline/commands/PutJobSuccessResultCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutJobSuccessResultCommandInput = PutJobSuccessResultInput; @@ -68,14 +68,14 @@ export class PutJobSuccessResultCommand extends $Command< private serialize( input: PutJobSuccessResultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutJobSuccessResultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutJobSuccessResultCommand(output, context); } diff --git a/clients/client-codepipeline/commands/PutThirdPartyJobFailureResultCommand.ts b/clients/client-codepipeline/commands/PutThirdPartyJobFailureResultCommand.ts index 1a0e323e532f..0068face2602 100644 --- a/clients/client-codepipeline/commands/PutThirdPartyJobFailureResultCommand.ts +++ b/clients/client-codepipeline/commands/PutThirdPartyJobFailureResultCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutThirdPartyJobFailureResultCommandInput = PutThirdPartyJobFailureResultInput; @@ -68,7 +68,7 @@ export class PutThirdPartyJobFailureResultCommand extends $Command< private serialize( input: PutThirdPartyJobFailureResultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutThirdPartyJobFailureResultCommand( input, @@ -78,7 +78,7 @@ export class PutThirdPartyJobFailureResultCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutThirdPartyJobFailureResultCommand( output, diff --git a/clients/client-codepipeline/commands/PutThirdPartyJobSuccessResultCommand.ts b/clients/client-codepipeline/commands/PutThirdPartyJobSuccessResultCommand.ts index 3cb62ae9ad66..7269fca02b73 100644 --- a/clients/client-codepipeline/commands/PutThirdPartyJobSuccessResultCommand.ts +++ b/clients/client-codepipeline/commands/PutThirdPartyJobSuccessResultCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutThirdPartyJobSuccessResultCommandInput = PutThirdPartyJobSuccessResultInput; @@ -68,7 +68,7 @@ export class PutThirdPartyJobSuccessResultCommand extends $Command< private serialize( input: PutThirdPartyJobSuccessResultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutThirdPartyJobSuccessResultCommand( input, @@ -78,7 +78,7 @@ export class PutThirdPartyJobSuccessResultCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutThirdPartyJobSuccessResultCommand( output, diff --git a/clients/client-codepipeline/commands/PutWebhookCommand.ts b/clients/client-codepipeline/commands/PutWebhookCommand.ts index 3ddfb2140c6e..17d9ed7b94a4 100644 --- a/clients/client-codepipeline/commands/PutWebhookCommand.ts +++ b/clients/client-codepipeline/commands/PutWebhookCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutWebhookCommandInput = PutWebhookInput; @@ -64,14 +64,14 @@ export class PutWebhookCommand extends $Command< private serialize( input: PutWebhookCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutWebhookCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutWebhookCommand(output, context); } diff --git a/clients/client-codepipeline/commands/RegisterWebhookWithThirdPartyCommand.ts b/clients/client-codepipeline/commands/RegisterWebhookWithThirdPartyCommand.ts index 56268e3b4306..69c6ca2046ed 100644 --- a/clients/client-codepipeline/commands/RegisterWebhookWithThirdPartyCommand.ts +++ b/clients/client-codepipeline/commands/RegisterWebhookWithThirdPartyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterWebhookWithThirdPartyCommandInput = RegisterWebhookWithThirdPartyInput; @@ -70,7 +70,7 @@ export class RegisterWebhookWithThirdPartyCommand extends $Command< private serialize( input: RegisterWebhookWithThirdPartyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterWebhookWithThirdPartyCommand( input, @@ -80,7 +80,7 @@ export class RegisterWebhookWithThirdPartyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterWebhookWithThirdPartyCommand( output, diff --git a/clients/client-codepipeline/commands/RetryStageExecutionCommand.ts b/clients/client-codepipeline/commands/RetryStageExecutionCommand.ts index 5468484625f7..cec202e175b4 100644 --- a/clients/client-codepipeline/commands/RetryStageExecutionCommand.ts +++ b/clients/client-codepipeline/commands/RetryStageExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RetryStageExecutionCommandInput = RetryStageExecutionInput; @@ -70,14 +70,14 @@ export class RetryStageExecutionCommand extends $Command< private serialize( input: RetryStageExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RetryStageExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RetryStageExecutionCommand(output, context); } diff --git a/clients/client-codepipeline/commands/StartPipelineExecutionCommand.ts b/clients/client-codepipeline/commands/StartPipelineExecutionCommand.ts index 7a6c0832ab74..434236609f8e 100644 --- a/clients/client-codepipeline/commands/StartPipelineExecutionCommand.ts +++ b/clients/client-codepipeline/commands/StartPipelineExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartPipelineExecutionCommandInput = StartPipelineExecutionInput; @@ -70,14 +70,14 @@ export class StartPipelineExecutionCommand extends $Command< private serialize( input: StartPipelineExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartPipelineExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartPipelineExecutionCommand(output, context); } diff --git a/clients/client-codepipeline/commands/StopPipelineExecutionCommand.ts b/clients/client-codepipeline/commands/StopPipelineExecutionCommand.ts index 167ce89f996d..da9502b67ade 100644 --- a/clients/client-codepipeline/commands/StopPipelineExecutionCommand.ts +++ b/clients/client-codepipeline/commands/StopPipelineExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopPipelineExecutionCommandInput = StopPipelineExecutionInput; @@ -70,14 +70,14 @@ export class StopPipelineExecutionCommand extends $Command< private serialize( input: StopPipelineExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopPipelineExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopPipelineExecutionCommand(output, context); } diff --git a/clients/client-codepipeline/commands/TagResourceCommand.ts b/clients/client-codepipeline/commands/TagResourceCommand.ts index d4ea6646a362..708271f33937 100644 --- a/clients/client-codepipeline/commands/TagResourceCommand.ts +++ b/clients/client-codepipeline/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-codepipeline/commands/UntagResourceCommand.ts b/clients/client-codepipeline/commands/UntagResourceCommand.ts index 535297ecd2e8..9763ca88d572 100644 --- a/clients/client-codepipeline/commands/UntagResourceCommand.ts +++ b/clients/client-codepipeline/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-codepipeline/commands/UpdatePipelineCommand.ts b/clients/client-codepipeline/commands/UpdatePipelineCommand.ts index 44ef5454775f..083acbbfdb7a 100644 --- a/clients/client-codepipeline/commands/UpdatePipelineCommand.ts +++ b/clients/client-codepipeline/commands/UpdatePipelineCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePipelineCommandInput = UpdatePipelineInput; @@ -64,14 +64,14 @@ export class UpdatePipelineCommand extends $Command< private serialize( input: UpdatePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdatePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdatePipelineCommand(output, context); } diff --git a/clients/client-codepipeline/protocols/Aws_json1_1.ts b/clients/client-codepipeline/protocols/Aws_json1_1.ts index 4958ff734026..8d82784745c2 100644 --- a/clients/client-codepipeline/protocols/Aws_json1_1.ts +++ b/clients/client-codepipeline/protocols/Aws_json1_1.ts @@ -8269,6 +8269,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-codestar-connections/commands/CreateConnectionCommand.ts b/clients/client-codestar-connections/commands/CreateConnectionCommand.ts index daa9e26232c5..d7f2818a166c 100644 --- a/clients/client-codestar-connections/commands/CreateConnectionCommand.ts +++ b/clients/client-codestar-connections/commands/CreateConnectionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConnectionCommandInput = CreateConnectionInput; @@ -64,14 +64,14 @@ export class CreateConnectionCommand extends $Command< private serialize( input: CreateConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0CreateConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0CreateConnectionCommand(output, context); } diff --git a/clients/client-codestar-connections/commands/DeleteConnectionCommand.ts b/clients/client-codestar-connections/commands/DeleteConnectionCommand.ts index d7ad1e236af6..2188a9e1aaac 100644 --- a/clients/client-codestar-connections/commands/DeleteConnectionCommand.ts +++ b/clients/client-codestar-connections/commands/DeleteConnectionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConnectionCommandInput = DeleteConnectionInput; @@ -64,14 +64,14 @@ export class DeleteConnectionCommand extends $Command< private serialize( input: DeleteConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DeleteConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DeleteConnectionCommand(output, context); } diff --git a/clients/client-codestar-connections/commands/GetConnectionCommand.ts b/clients/client-codestar-connections/commands/GetConnectionCommand.ts index 50361ced683a..2709e57f6b35 100644 --- a/clients/client-codestar-connections/commands/GetConnectionCommand.ts +++ b/clients/client-codestar-connections/commands/GetConnectionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConnectionCommandInput = GetConnectionInput; @@ -64,14 +64,14 @@ export class GetConnectionCommand extends $Command< private serialize( input: GetConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetConnectionCommand(output, context); } diff --git a/clients/client-codestar-connections/commands/ListConnectionsCommand.ts b/clients/client-codestar-connections/commands/ListConnectionsCommand.ts index 1a10484e0183..2f09d6955f87 100644 --- a/clients/client-codestar-connections/commands/ListConnectionsCommand.ts +++ b/clients/client-codestar-connections/commands/ListConnectionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConnectionsCommandInput = ListConnectionsInput; @@ -64,14 +64,14 @@ export class ListConnectionsCommand extends $Command< private serialize( input: ListConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListConnectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListConnectionsCommand(output, context); } diff --git a/clients/client-codestar-connections/protocols/Aws_json1_0.ts b/clients/client-codestar-connections/protocols/Aws_json1_0.ts index 32216da72b2b..b2473cd2734a 100644 --- a/clients/client-codestar-connections/protocols/Aws_json1_0.ts +++ b/clients/client-codestar-connections/protocols/Aws_json1_0.ts @@ -543,6 +543,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-codestar-notifications/commands/CreateNotificationRuleCommand.ts b/clients/client-codestar-notifications/commands/CreateNotificationRuleCommand.ts index d363e1bb45b4..70140d497f63 100644 --- a/clients/client-codestar-notifications/commands/CreateNotificationRuleCommand.ts +++ b/clients/client-codestar-notifications/commands/CreateNotificationRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNotificationRuleCommandInput = CreateNotificationRuleRequest; @@ -70,7 +70,7 @@ export class CreateNotificationRuleCommand extends $Command< private serialize( input: CreateNotificationRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateNotificationRuleCommand( input, @@ -80,7 +80,7 @@ export class CreateNotificationRuleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateNotificationRuleCommand( output, diff --git a/clients/client-codestar-notifications/commands/DeleteNotificationRuleCommand.ts b/clients/client-codestar-notifications/commands/DeleteNotificationRuleCommand.ts index ff6db7193033..7cd079fe6316 100644 --- a/clients/client-codestar-notifications/commands/DeleteNotificationRuleCommand.ts +++ b/clients/client-codestar-notifications/commands/DeleteNotificationRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNotificationRuleCommandInput = DeleteNotificationRuleRequest; @@ -70,7 +70,7 @@ export class DeleteNotificationRuleCommand extends $Command< private serialize( input: DeleteNotificationRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteNotificationRuleCommand( input, @@ -80,7 +80,7 @@ export class DeleteNotificationRuleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteNotificationRuleCommand( output, diff --git a/clients/client-codestar-notifications/commands/DeleteTargetCommand.ts b/clients/client-codestar-notifications/commands/DeleteTargetCommand.ts index 916dbf6a6235..439eb18ceea6 100644 --- a/clients/client-codestar-notifications/commands/DeleteTargetCommand.ts +++ b/clients/client-codestar-notifications/commands/DeleteTargetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTargetCommandInput = DeleteTargetRequest; @@ -64,14 +64,14 @@ export class DeleteTargetCommand extends $Command< private serialize( input: DeleteTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteTargetCommand(output, context); } diff --git a/clients/client-codestar-notifications/commands/DescribeNotificationRuleCommand.ts b/clients/client-codestar-notifications/commands/DescribeNotificationRuleCommand.ts index e07dd4d3b41c..3ec08804f417 100644 --- a/clients/client-codestar-notifications/commands/DescribeNotificationRuleCommand.ts +++ b/clients/client-codestar-notifications/commands/DescribeNotificationRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNotificationRuleCommandInput = DescribeNotificationRuleRequest; @@ -70,7 +70,7 @@ export class DescribeNotificationRuleCommand extends $Command< private serialize( input: DescribeNotificationRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeNotificationRuleCommand( input, @@ -80,7 +80,7 @@ export class DescribeNotificationRuleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeNotificationRuleCommand( output, diff --git a/clients/client-codestar-notifications/commands/ListEventTypesCommand.ts b/clients/client-codestar-notifications/commands/ListEventTypesCommand.ts index b0706c209f0f..8a9ff5bdbad1 100644 --- a/clients/client-codestar-notifications/commands/ListEventTypesCommand.ts +++ b/clients/client-codestar-notifications/commands/ListEventTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEventTypesCommandInput = ListEventTypesRequest; @@ -64,14 +64,14 @@ export class ListEventTypesCommand extends $Command< private serialize( input: ListEventTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListEventTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListEventTypesCommand(output, context); } diff --git a/clients/client-codestar-notifications/commands/ListNotificationRulesCommand.ts b/clients/client-codestar-notifications/commands/ListNotificationRulesCommand.ts index 4ab7d9138650..185071658d26 100644 --- a/clients/client-codestar-notifications/commands/ListNotificationRulesCommand.ts +++ b/clients/client-codestar-notifications/commands/ListNotificationRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListNotificationRulesCommandInput = ListNotificationRulesRequest; @@ -70,14 +70,14 @@ export class ListNotificationRulesCommand extends $Command< private serialize( input: ListNotificationRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListNotificationRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListNotificationRulesCommand( output, diff --git a/clients/client-codestar-notifications/commands/ListTagsForResourceCommand.ts b/clients/client-codestar-notifications/commands/ListTagsForResourceCommand.ts index 959bb6f70638..3ee8862e5289 100644 --- a/clients/client-codestar-notifications/commands/ListTagsForResourceCommand.ts +++ b/clients/client-codestar-notifications/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-codestar-notifications/commands/ListTargetsCommand.ts b/clients/client-codestar-notifications/commands/ListTargetsCommand.ts index 360d2270ed0f..737acb06bd6e 100644 --- a/clients/client-codestar-notifications/commands/ListTargetsCommand.ts +++ b/clients/client-codestar-notifications/commands/ListTargetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTargetsCommandInput = ListTargetsRequest; @@ -64,14 +64,14 @@ export class ListTargetsCommand extends $Command< private serialize( input: ListTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTargetsCommand(output, context); } diff --git a/clients/client-codestar-notifications/commands/SubscribeCommand.ts b/clients/client-codestar-notifications/commands/SubscribeCommand.ts index 30305c396c60..66f399ca6019 100644 --- a/clients/client-codestar-notifications/commands/SubscribeCommand.ts +++ b/clients/client-codestar-notifications/commands/SubscribeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SubscribeCommandInput = SubscribeRequest; @@ -64,14 +64,14 @@ export class SubscribeCommand extends $Command< private serialize( input: SubscribeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SubscribeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SubscribeCommand(output, context); } diff --git a/clients/client-codestar-notifications/commands/TagResourceCommand.ts b/clients/client-codestar-notifications/commands/TagResourceCommand.ts index 25df25aec7af..fd25900a1485 100644 --- a/clients/client-codestar-notifications/commands/TagResourceCommand.ts +++ b/clients/client-codestar-notifications/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-codestar-notifications/commands/UnsubscribeCommand.ts b/clients/client-codestar-notifications/commands/UnsubscribeCommand.ts index e9b2b7c562e9..6badf3cbc3ac 100644 --- a/clients/client-codestar-notifications/commands/UnsubscribeCommand.ts +++ b/clients/client-codestar-notifications/commands/UnsubscribeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnsubscribeCommandInput = UnsubscribeRequest; @@ -64,14 +64,14 @@ export class UnsubscribeCommand extends $Command< private serialize( input: UnsubscribeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UnsubscribeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UnsubscribeCommand(output, context); } diff --git a/clients/client-codestar-notifications/commands/UntagResourceCommand.ts b/clients/client-codestar-notifications/commands/UntagResourceCommand.ts index b74ab2ee8c33..7a55ccbd731e 100644 --- a/clients/client-codestar-notifications/commands/UntagResourceCommand.ts +++ b/clients/client-codestar-notifications/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-codestar-notifications/commands/UpdateNotificationRuleCommand.ts b/clients/client-codestar-notifications/commands/UpdateNotificationRuleCommand.ts index 0e51b53a043b..d79141e260a6 100644 --- a/clients/client-codestar-notifications/commands/UpdateNotificationRuleCommand.ts +++ b/clients/client-codestar-notifications/commands/UpdateNotificationRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateNotificationRuleCommandInput = UpdateNotificationRuleRequest; @@ -70,7 +70,7 @@ export class UpdateNotificationRuleCommand extends $Command< private serialize( input: UpdateNotificationRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateNotificationRuleCommand( input, @@ -80,7 +80,7 @@ export class UpdateNotificationRuleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateNotificationRuleCommand( output, diff --git a/clients/client-codestar-notifications/protocols/Aws_restJson1_1.ts b/clients/client-codestar-notifications/protocols/Aws_restJson1_1.ts index 6eafb6bd81ad..4c61f83457ae 100644 --- a/clients/client-codestar-notifications/protocols/Aws_restJson1_1.ts +++ b/clients/client-codestar-notifications/protocols/Aws_restJson1_1.ts @@ -1749,6 +1749,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-codestar/commands/AssociateTeamMemberCommand.ts b/clients/client-codestar/commands/AssociateTeamMemberCommand.ts index 65c543440ed7..f0c7c356d449 100644 --- a/clients/client-codestar/commands/AssociateTeamMemberCommand.ts +++ b/clients/client-codestar/commands/AssociateTeamMemberCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateTeamMemberCommandInput = AssociateTeamMemberRequest; @@ -70,14 +70,14 @@ export class AssociateTeamMemberCommand extends $Command< private serialize( input: AssociateTeamMemberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateTeamMemberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateTeamMemberCommand(output, context); } diff --git a/clients/client-codestar/commands/CreateProjectCommand.ts b/clients/client-codestar/commands/CreateProjectCommand.ts index 229bfeb37072..fd1fc635957e 100644 --- a/clients/client-codestar/commands/CreateProjectCommand.ts +++ b/clients/client-codestar/commands/CreateProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProjectCommandInput = CreateProjectRequest; @@ -64,14 +64,14 @@ export class CreateProjectCommand extends $Command< private serialize( input: CreateProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProjectCommand(output, context); } diff --git a/clients/client-codestar/commands/CreateUserProfileCommand.ts b/clients/client-codestar/commands/CreateUserProfileCommand.ts index 07c21cc7d608..a73483bb9089 100644 --- a/clients/client-codestar/commands/CreateUserProfileCommand.ts +++ b/clients/client-codestar/commands/CreateUserProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserProfileCommandInput = CreateUserProfileRequest; @@ -67,14 +67,14 @@ export class CreateUserProfileCommand extends $Command< private serialize( input: CreateUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserProfileCommand(output, context); } diff --git a/clients/client-codestar/commands/DeleteProjectCommand.ts b/clients/client-codestar/commands/DeleteProjectCommand.ts index 3c94e7dd8b3e..e74a8cca4051 100644 --- a/clients/client-codestar/commands/DeleteProjectCommand.ts +++ b/clients/client-codestar/commands/DeleteProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProjectCommandInput = DeleteProjectRequest; @@ -64,14 +64,14 @@ export class DeleteProjectCommand extends $Command< private serialize( input: DeleteProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteProjectCommand(output, context); } diff --git a/clients/client-codestar/commands/DeleteUserProfileCommand.ts b/clients/client-codestar/commands/DeleteUserProfileCommand.ts index 04916ce84dcb..36765c0d6b25 100644 --- a/clients/client-codestar/commands/DeleteUserProfileCommand.ts +++ b/clients/client-codestar/commands/DeleteUserProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserProfileCommandInput = DeleteUserProfileRequest; @@ -67,14 +67,14 @@ export class DeleteUserProfileCommand extends $Command< private serialize( input: DeleteUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserProfileCommand(output, context); } diff --git a/clients/client-codestar/commands/DescribeProjectCommand.ts b/clients/client-codestar/commands/DescribeProjectCommand.ts index 093be4b6203d..65cfd25fd61c 100644 --- a/clients/client-codestar/commands/DescribeProjectCommand.ts +++ b/clients/client-codestar/commands/DescribeProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProjectCommandInput = DescribeProjectRequest; @@ -64,14 +64,14 @@ export class DescribeProjectCommand extends $Command< private serialize( input: DescribeProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProjectCommand(output, context); } diff --git a/clients/client-codestar/commands/DescribeUserProfileCommand.ts b/clients/client-codestar/commands/DescribeUserProfileCommand.ts index 0506519e9946..100d7b77be93 100644 --- a/clients/client-codestar/commands/DescribeUserProfileCommand.ts +++ b/clients/client-codestar/commands/DescribeUserProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserProfileCommandInput = DescribeUserProfileRequest; @@ -70,14 +70,14 @@ export class DescribeUserProfileCommand extends $Command< private serialize( input: DescribeUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUserProfileCommand(output, context); } diff --git a/clients/client-codestar/commands/DisassociateTeamMemberCommand.ts b/clients/client-codestar/commands/DisassociateTeamMemberCommand.ts index 332b6f6295e6..1d9d14f3f7cf 100644 --- a/clients/client-codestar/commands/DisassociateTeamMemberCommand.ts +++ b/clients/client-codestar/commands/DisassociateTeamMemberCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateTeamMemberCommandInput = DisassociateTeamMemberRequest; @@ -70,14 +70,14 @@ export class DisassociateTeamMemberCommand extends $Command< private serialize( input: DisassociateTeamMemberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateTeamMemberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateTeamMemberCommand(output, context); } diff --git a/clients/client-codestar/commands/ListProjectsCommand.ts b/clients/client-codestar/commands/ListProjectsCommand.ts index f8cee8eda21b..9f777361e8c7 100644 --- a/clients/client-codestar/commands/ListProjectsCommand.ts +++ b/clients/client-codestar/commands/ListProjectsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProjectsCommandInput = ListProjectsRequest; @@ -64,14 +64,14 @@ export class ListProjectsCommand extends $Command< private serialize( input: ListProjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListProjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListProjectsCommand(output, context); } diff --git a/clients/client-codestar/commands/ListResourcesCommand.ts b/clients/client-codestar/commands/ListResourcesCommand.ts index 7bbcba46732f..52c6c4142f23 100644 --- a/clients/client-codestar/commands/ListResourcesCommand.ts +++ b/clients/client-codestar/commands/ListResourcesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourcesCommandInput = ListResourcesRequest; @@ -64,14 +64,14 @@ export class ListResourcesCommand extends $Command< private serialize( input: ListResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourcesCommand(output, context); } diff --git a/clients/client-codestar/commands/ListTagsForProjectCommand.ts b/clients/client-codestar/commands/ListTagsForProjectCommand.ts index 2a77b41d2e2d..2697747abc4e 100644 --- a/clients/client-codestar/commands/ListTagsForProjectCommand.ts +++ b/clients/client-codestar/commands/ListTagsForProjectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForProjectCommandInput = ListTagsForProjectRequest; @@ -67,14 +67,14 @@ export class ListTagsForProjectCommand extends $Command< private serialize( input: ListTagsForProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForProjectCommand(output, context); } diff --git a/clients/client-codestar/commands/ListTeamMembersCommand.ts b/clients/client-codestar/commands/ListTeamMembersCommand.ts index 730698934124..b4bc68c079da 100644 --- a/clients/client-codestar/commands/ListTeamMembersCommand.ts +++ b/clients/client-codestar/commands/ListTeamMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTeamMembersCommandInput = ListTeamMembersRequest; @@ -64,14 +64,14 @@ export class ListTeamMembersCommand extends $Command< private serialize( input: ListTeamMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTeamMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTeamMembersCommand(output, context); } diff --git a/clients/client-codestar/commands/ListUserProfilesCommand.ts b/clients/client-codestar/commands/ListUserProfilesCommand.ts index 0ca280586da9..5f32ae3f139b 100644 --- a/clients/client-codestar/commands/ListUserProfilesCommand.ts +++ b/clients/client-codestar/commands/ListUserProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUserProfilesCommandInput = ListUserProfilesRequest; @@ -67,14 +67,14 @@ export class ListUserProfilesCommand extends $Command< private serialize( input: ListUserProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUserProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUserProfilesCommand(output, context); } diff --git a/clients/client-codestar/commands/TagProjectCommand.ts b/clients/client-codestar/commands/TagProjectCommand.ts index 82e9add46d76..b7b916317e07 100644 --- a/clients/client-codestar/commands/TagProjectCommand.ts +++ b/clients/client-codestar/commands/TagProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagProjectCommandInput = TagProjectRequest; @@ -64,14 +64,14 @@ export class TagProjectCommand extends $Command< private serialize( input: TagProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagProjectCommand(output, context); } diff --git a/clients/client-codestar/commands/UntagProjectCommand.ts b/clients/client-codestar/commands/UntagProjectCommand.ts index 0952a13190ae..6dd0adc4443e 100644 --- a/clients/client-codestar/commands/UntagProjectCommand.ts +++ b/clients/client-codestar/commands/UntagProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagProjectCommandInput = UntagProjectRequest; @@ -64,14 +64,14 @@ export class UntagProjectCommand extends $Command< private serialize( input: UntagProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagProjectCommand(output, context); } diff --git a/clients/client-codestar/commands/UpdateProjectCommand.ts b/clients/client-codestar/commands/UpdateProjectCommand.ts index b3ab89c742cd..251c7a896fc1 100644 --- a/clients/client-codestar/commands/UpdateProjectCommand.ts +++ b/clients/client-codestar/commands/UpdateProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProjectCommandInput = UpdateProjectRequest; @@ -64,14 +64,14 @@ export class UpdateProjectCommand extends $Command< private serialize( input: UpdateProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateProjectCommand(output, context); } diff --git a/clients/client-codestar/commands/UpdateTeamMemberCommand.ts b/clients/client-codestar/commands/UpdateTeamMemberCommand.ts index 69d488ddb246..8248f47e6e9c 100644 --- a/clients/client-codestar/commands/UpdateTeamMemberCommand.ts +++ b/clients/client-codestar/commands/UpdateTeamMemberCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTeamMemberCommandInput = UpdateTeamMemberRequest; @@ -67,14 +67,14 @@ export class UpdateTeamMemberCommand extends $Command< private serialize( input: UpdateTeamMemberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTeamMemberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTeamMemberCommand(output, context); } diff --git a/clients/client-codestar/commands/UpdateUserProfileCommand.ts b/clients/client-codestar/commands/UpdateUserProfileCommand.ts index 7b7f65c0a663..9961f5e3b253 100644 --- a/clients/client-codestar/commands/UpdateUserProfileCommand.ts +++ b/clients/client-codestar/commands/UpdateUserProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserProfileCommandInput = UpdateUserProfileRequest; @@ -67,14 +67,14 @@ export class UpdateUserProfileCommand extends $Command< private serialize( input: UpdateUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateUserProfileCommand(output, context); } diff --git a/clients/client-codestar/protocols/Aws_json1_1.ts b/clients/client-codestar/protocols/Aws_json1_1.ts index 9f4ea3eef138..9225d1d82284 100644 --- a/clients/client-codestar/protocols/Aws_json1_1.ts +++ b/clients/client-codestar/protocols/Aws_json1_1.ts @@ -3232,6 +3232,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cognito-identity-provider/commands/AddCustomAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/AddCustomAttributesCommand.ts index 3aae939ae1fc..0e608641ca8d 100644 --- a/clients/client-cognito-identity-provider/commands/AddCustomAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AddCustomAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddCustomAttributesCommandInput = AddCustomAttributesRequest; @@ -70,14 +70,14 @@ export class AddCustomAttributesCommand extends $Command< private serialize( input: AddCustomAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddCustomAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddCustomAttributesCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminAddUserToGroupCommand.ts b/clients/client-cognito-identity-provider/commands/AdminAddUserToGroupCommand.ts index e085d52b80f8..46e90836ffbf 100644 --- a/clients/client-cognito-identity-provider/commands/AdminAddUserToGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminAddUserToGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminAddUserToGroupCommandInput = AdminAddUserToGroupRequest; @@ -68,14 +68,14 @@ export class AdminAddUserToGroupCommand extends $Command< private serialize( input: AdminAddUserToGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminAddUserToGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminAddUserToGroupCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminConfirmSignUpCommand.ts b/clients/client-cognito-identity-provider/commands/AdminConfirmSignUpCommand.ts index 50cf3fa2bb7b..98a6a421e2ac 100644 --- a/clients/client-cognito-identity-provider/commands/AdminConfirmSignUpCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminConfirmSignUpCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminConfirmSignUpCommandInput = AdminConfirmSignUpRequest; @@ -67,14 +67,14 @@ export class AdminConfirmSignUpCommand extends $Command< private serialize( input: AdminConfirmSignUpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminConfirmSignUpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminConfirmSignUpCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts index 2f0f4328f7c3..fc7832dfcf93 100644 --- a/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminCreateUserCommandInput = AdminCreateUserRequest; @@ -67,14 +67,14 @@ export class AdminCreateUserCommand extends $Command< private serialize( input: AdminCreateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminCreateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminCreateUserCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminDeleteUserAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/AdminDeleteUserAttributesCommand.ts index 2cb3eebd39cd..bb73c091f8e6 100644 --- a/clients/client-cognito-identity-provider/commands/AdminDeleteUserAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminDeleteUserAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminDeleteUserAttributesCommandInput = AdminDeleteUserAttributesRequest; @@ -70,14 +70,14 @@ export class AdminDeleteUserAttributesCommand extends $Command< private serialize( input: AdminDeleteUserAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminDeleteUserAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminDeleteUserAttributesCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/AdminDeleteUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminDeleteUserCommand.ts index 8fb0199fa446..ce5c2c3febca 100644 --- a/clients/client-cognito-identity-provider/commands/AdminDeleteUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminDeleteUserCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminDeleteUserCommandInput = AdminDeleteUserRequest; @@ -65,14 +65,14 @@ export class AdminDeleteUserCommand extends $Command< private serialize( input: AdminDeleteUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminDeleteUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminDeleteUserCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminDisableProviderForUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminDisableProviderForUserCommand.ts index 80ee23d71508..2d54c35f8e4f 100644 --- a/clients/client-cognito-identity-provider/commands/AdminDisableProviderForUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminDisableProviderForUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminDisableProviderForUserCommandInput = AdminDisableProviderForUserRequest; @@ -70,7 +70,7 @@ export class AdminDisableProviderForUserCommand extends $Command< private serialize( input: AdminDisableProviderForUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminDisableProviderForUserCommand( input, @@ -80,7 +80,7 @@ export class AdminDisableProviderForUserCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminDisableProviderForUserCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/AdminDisableUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminDisableUserCommand.ts index 376dc121d9f1..67d1eef82908 100644 --- a/clients/client-cognito-identity-provider/commands/AdminDisableUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminDisableUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminDisableUserCommandInput = AdminDisableUserRequest; @@ -67,14 +67,14 @@ export class AdminDisableUserCommand extends $Command< private serialize( input: AdminDisableUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminDisableUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminDisableUserCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminEnableUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminEnableUserCommand.ts index c524f4435055..7c8e12d089fa 100644 --- a/clients/client-cognito-identity-provider/commands/AdminEnableUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminEnableUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminEnableUserCommandInput = AdminEnableUserRequest; @@ -67,14 +67,14 @@ export class AdminEnableUserCommand extends $Command< private serialize( input: AdminEnableUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminEnableUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminEnableUserCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminForgetDeviceCommand.ts b/clients/client-cognito-identity-provider/commands/AdminForgetDeviceCommand.ts index 15a068e55fd8..b2e06b44d0de 100644 --- a/clients/client-cognito-identity-provider/commands/AdminForgetDeviceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminForgetDeviceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminForgetDeviceCommandInput = AdminForgetDeviceRequest; @@ -65,14 +65,14 @@ export class AdminForgetDeviceCommand extends $Command< private serialize( input: AdminForgetDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminForgetDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminForgetDeviceCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminGetDeviceCommand.ts b/clients/client-cognito-identity-provider/commands/AdminGetDeviceCommand.ts index 1def6d308894..830974717008 100644 --- a/clients/client-cognito-identity-provider/commands/AdminGetDeviceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminGetDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminGetDeviceCommandInput = AdminGetDeviceRequest; @@ -64,14 +64,14 @@ export class AdminGetDeviceCommand extends $Command< private serialize( input: AdminGetDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminGetDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminGetDeviceCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminGetUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminGetUserCommand.ts index 9d712cadf95e..728ac1a6b13e 100644 --- a/clients/client-cognito-identity-provider/commands/AdminGetUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminGetUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminGetUserCommandInput = AdminGetUserRequest; @@ -64,14 +64,14 @@ export class AdminGetUserCommand extends $Command< private serialize( input: AdminGetUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminGetUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminGetUserCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts b/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts index 6dd47a30db7d..d8d3441db0c6 100644 --- a/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminInitiateAuthCommandInput = AdminInitiateAuthRequest; @@ -67,14 +67,14 @@ export class AdminInitiateAuthCommand extends $Command< private serialize( input: AdminInitiateAuthCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminInitiateAuthCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminInitiateAuthCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminLinkProviderForUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminLinkProviderForUserCommand.ts index 55ea7e916a03..451d78d90cde 100644 --- a/clients/client-cognito-identity-provider/commands/AdminLinkProviderForUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminLinkProviderForUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminLinkProviderForUserCommandInput = AdminLinkProviderForUserRequest; @@ -70,14 +70,14 @@ export class AdminLinkProviderForUserCommand extends $Command< private serialize( input: AdminLinkProviderForUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminLinkProviderForUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminLinkProviderForUserCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/AdminListDevicesCommand.ts b/clients/client-cognito-identity-provider/commands/AdminListDevicesCommand.ts index a728ce97b364..d4f1da6d0c53 100644 --- a/clients/client-cognito-identity-provider/commands/AdminListDevicesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminListDevicesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminListDevicesCommandInput = AdminListDevicesRequest; @@ -67,14 +67,14 @@ export class AdminListDevicesCommand extends $Command< private serialize( input: AdminListDevicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminListDevicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminListDevicesCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminListGroupsForUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminListGroupsForUserCommand.ts index 450220c5f6d2..f818321b5f4c 100644 --- a/clients/client-cognito-identity-provider/commands/AdminListGroupsForUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminListGroupsForUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminListGroupsForUserCommandInput = AdminListGroupsForUserRequest; @@ -70,14 +70,14 @@ export class AdminListGroupsForUserCommand extends $Command< private serialize( input: AdminListGroupsForUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminListGroupsForUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminListGroupsForUserCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminListUserAuthEventsCommand.ts b/clients/client-cognito-identity-provider/commands/AdminListUserAuthEventsCommand.ts index 938b46f9e94c..fc0833b023ef 100644 --- a/clients/client-cognito-identity-provider/commands/AdminListUserAuthEventsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminListUserAuthEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminListUserAuthEventsCommandInput = AdminListUserAuthEventsRequest; @@ -70,14 +70,14 @@ export class AdminListUserAuthEventsCommand extends $Command< private serialize( input: AdminListUserAuthEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminListUserAuthEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminListUserAuthEventsCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/AdminRemoveUserFromGroupCommand.ts b/clients/client-cognito-identity-provider/commands/AdminRemoveUserFromGroupCommand.ts index cc0ab2a2935a..c17b9723d006 100644 --- a/clients/client-cognito-identity-provider/commands/AdminRemoveUserFromGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminRemoveUserFromGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminRemoveUserFromGroupCommandInput = AdminRemoveUserFromGroupRequest; @@ -68,14 +68,14 @@ export class AdminRemoveUserFromGroupCommand extends $Command< private serialize( input: AdminRemoveUserFromGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminRemoveUserFromGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminRemoveUserFromGroupCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts b/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts index 78ac0f61e052..b2182d090e65 100644 --- a/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminResetUserPasswordCommandInput = AdminResetUserPasswordRequest; @@ -70,14 +70,14 @@ export class AdminResetUserPasswordCommand extends $Command< private serialize( input: AdminResetUserPasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminResetUserPasswordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminResetUserPasswordCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts b/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts index 1a1fef343489..8c76f2e05881 100644 --- a/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminRespondToAuthChallengeCommandInput = AdminRespondToAuthChallengeRequest; @@ -70,7 +70,7 @@ export class AdminRespondToAuthChallengeCommand extends $Command< private serialize( input: AdminRespondToAuthChallengeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminRespondToAuthChallengeCommand( input, @@ -80,7 +80,7 @@ export class AdminRespondToAuthChallengeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminRespondToAuthChallengeCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/AdminSetUserMFAPreferenceCommand.ts b/clients/client-cognito-identity-provider/commands/AdminSetUserMFAPreferenceCommand.ts index 36db45db3d80..f88085e7be6d 100644 --- a/clients/client-cognito-identity-provider/commands/AdminSetUserMFAPreferenceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminSetUserMFAPreferenceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminSetUserMFAPreferenceCommandInput = AdminSetUserMFAPreferenceRequest; @@ -70,14 +70,14 @@ export class AdminSetUserMFAPreferenceCommand extends $Command< private serialize( input: AdminSetUserMFAPreferenceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminSetUserMFAPreferenceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminSetUserMFAPreferenceCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/AdminSetUserPasswordCommand.ts b/clients/client-cognito-identity-provider/commands/AdminSetUserPasswordCommand.ts index 7c4a60154734..ef4c641432d6 100644 --- a/clients/client-cognito-identity-provider/commands/AdminSetUserPasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminSetUserPasswordCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminSetUserPasswordCommandInput = AdminSetUserPasswordRequest; @@ -70,14 +70,14 @@ export class AdminSetUserPasswordCommand extends $Command< private serialize( input: AdminSetUserPasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminSetUserPasswordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminSetUserPasswordCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminSetUserSettingsCommand.ts b/clients/client-cognito-identity-provider/commands/AdminSetUserSettingsCommand.ts index 72344460d116..57f704805acb 100644 --- a/clients/client-cognito-identity-provider/commands/AdminSetUserSettingsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminSetUserSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminSetUserSettingsCommandInput = AdminSetUserSettingsRequest; @@ -70,14 +70,14 @@ export class AdminSetUserSettingsCommand extends $Command< private serialize( input: AdminSetUserSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminSetUserSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminSetUserSettingsCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AdminUpdateAuthEventFeedbackCommand.ts b/clients/client-cognito-identity-provider/commands/AdminUpdateAuthEventFeedbackCommand.ts index d182d1dbdf46..24e41f4afa26 100644 --- a/clients/client-cognito-identity-provider/commands/AdminUpdateAuthEventFeedbackCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminUpdateAuthEventFeedbackCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminUpdateAuthEventFeedbackCommandInput = AdminUpdateAuthEventFeedbackRequest; @@ -70,7 +70,7 @@ export class AdminUpdateAuthEventFeedbackCommand extends $Command< private serialize( input: AdminUpdateAuthEventFeedbackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminUpdateAuthEventFeedbackCommand( input, @@ -80,7 +80,7 @@ export class AdminUpdateAuthEventFeedbackCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminUpdateAuthEventFeedbackCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/AdminUpdateDeviceStatusCommand.ts b/clients/client-cognito-identity-provider/commands/AdminUpdateDeviceStatusCommand.ts index 6758d9ab568e..167ee649fe12 100644 --- a/clients/client-cognito-identity-provider/commands/AdminUpdateDeviceStatusCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminUpdateDeviceStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminUpdateDeviceStatusCommandInput = AdminUpdateDeviceStatusRequest; @@ -70,14 +70,14 @@ export class AdminUpdateDeviceStatusCommand extends $Command< private serialize( input: AdminUpdateDeviceStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminUpdateDeviceStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminUpdateDeviceStatusCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts index 3b1255f3675b..f50f3b32a30f 100644 --- a/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminUpdateUserAttributesCommandInput = AdminUpdateUserAttributesRequest; @@ -70,14 +70,14 @@ export class AdminUpdateUserAttributesCommand extends $Command< private serialize( input: AdminUpdateUserAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminUpdateUserAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminUpdateUserAttributesCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/AdminUserGlobalSignOutCommand.ts b/clients/client-cognito-identity-provider/commands/AdminUserGlobalSignOutCommand.ts index 58bbbb7bb25a..9dedfd9424c2 100644 --- a/clients/client-cognito-identity-provider/commands/AdminUserGlobalSignOutCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminUserGlobalSignOutCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdminUserGlobalSignOutCommandInput = AdminUserGlobalSignOutRequest; @@ -70,14 +70,14 @@ export class AdminUserGlobalSignOutCommand extends $Command< private serialize( input: AdminUserGlobalSignOutCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AdminUserGlobalSignOutCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AdminUserGlobalSignOutCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/AssociateSoftwareTokenCommand.ts b/clients/client-cognito-identity-provider/commands/AssociateSoftwareTokenCommand.ts index 5034ed289780..bf6d0424f78f 100644 --- a/clients/client-cognito-identity-provider/commands/AssociateSoftwareTokenCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AssociateSoftwareTokenCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateSoftwareTokenCommandInput = AssociateSoftwareTokenRequest; @@ -70,14 +70,14 @@ export class AssociateSoftwareTokenCommand extends $Command< private serialize( input: AssociateSoftwareTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateSoftwareTokenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateSoftwareTokenCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ChangePasswordCommand.ts b/clients/client-cognito-identity-provider/commands/ChangePasswordCommand.ts index 24d05df85e11..c03fa735bae0 100644 --- a/clients/client-cognito-identity-provider/commands/ChangePasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ChangePasswordCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ChangePasswordCommandInput = ChangePasswordRequest; @@ -64,14 +64,14 @@ export class ChangePasswordCommand extends $Command< private serialize( input: ChangePasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ChangePasswordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ChangePasswordCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ConfirmDeviceCommand.ts b/clients/client-cognito-identity-provider/commands/ConfirmDeviceCommand.ts index eceabac9cf5b..387d6be36282 100644 --- a/clients/client-cognito-identity-provider/commands/ConfirmDeviceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ConfirmDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfirmDeviceCommandInput = ConfirmDeviceRequest; @@ -64,14 +64,14 @@ export class ConfirmDeviceCommand extends $Command< private serialize( input: ConfirmDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ConfirmDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ConfirmDeviceCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ConfirmForgotPasswordCommand.ts b/clients/client-cognito-identity-provider/commands/ConfirmForgotPasswordCommand.ts index 987407c26a92..480754f0fb8a 100644 --- a/clients/client-cognito-identity-provider/commands/ConfirmForgotPasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ConfirmForgotPasswordCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfirmForgotPasswordCommandInput = ConfirmForgotPasswordRequest; @@ -70,14 +70,14 @@ export class ConfirmForgotPasswordCommand extends $Command< private serialize( input: ConfirmForgotPasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ConfirmForgotPasswordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ConfirmForgotPasswordCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ConfirmSignUpCommand.ts b/clients/client-cognito-identity-provider/commands/ConfirmSignUpCommand.ts index 760104b29ff6..d0a6177c8fc8 100644 --- a/clients/client-cognito-identity-provider/commands/ConfirmSignUpCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ConfirmSignUpCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfirmSignUpCommandInput = ConfirmSignUpRequest; @@ -64,14 +64,14 @@ export class ConfirmSignUpCommand extends $Command< private serialize( input: ConfirmSignUpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ConfirmSignUpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ConfirmSignUpCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/CreateGroupCommand.ts b/clients/client-cognito-identity-provider/commands/CreateGroupCommand.ts index d1c89d68ac19..0ee7a22686dc 100644 --- a/clients/client-cognito-identity-provider/commands/CreateGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGroupCommandInput = CreateGroupRequest; @@ -64,14 +64,14 @@ export class CreateGroupCommand extends $Command< private serialize( input: CreateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateGroupCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/CreateIdentityProviderCommand.ts b/clients/client-cognito-identity-provider/commands/CreateIdentityProviderCommand.ts index 5be7ed16902c..f8af634a0014 100644 --- a/clients/client-cognito-identity-provider/commands/CreateIdentityProviderCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateIdentityProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIdentityProviderCommandInput = CreateIdentityProviderRequest; @@ -70,14 +70,14 @@ export class CreateIdentityProviderCommand extends $Command< private serialize( input: CreateIdentityProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateIdentityProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateIdentityProviderCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/CreateResourceServerCommand.ts b/clients/client-cognito-identity-provider/commands/CreateResourceServerCommand.ts index 0fec80c53035..d2c50071eb45 100644 --- a/clients/client-cognito-identity-provider/commands/CreateResourceServerCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateResourceServerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateResourceServerCommandInput = CreateResourceServerRequest; @@ -70,14 +70,14 @@ export class CreateResourceServerCommand extends $Command< private serialize( input: CreateResourceServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateResourceServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateResourceServerCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/CreateUserImportJobCommand.ts b/clients/client-cognito-identity-provider/commands/CreateUserImportJobCommand.ts index 3014fea1ff45..b45c4be6784d 100644 --- a/clients/client-cognito-identity-provider/commands/CreateUserImportJobCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateUserImportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserImportJobCommandInput = CreateUserImportJobRequest; @@ -70,14 +70,14 @@ export class CreateUserImportJobCommand extends $Command< private serialize( input: CreateUserImportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserImportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserImportJobCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/CreateUserPoolClientCommand.ts b/clients/client-cognito-identity-provider/commands/CreateUserPoolClientCommand.ts index 3e721b9af0ef..f97066d2f8dc 100644 --- a/clients/client-cognito-identity-provider/commands/CreateUserPoolClientCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateUserPoolClientCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserPoolClientCommandInput = CreateUserPoolClientRequest; @@ -70,14 +70,14 @@ export class CreateUserPoolClientCommand extends $Command< private serialize( input: CreateUserPoolClientCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserPoolClientCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserPoolClientCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts b/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts index 5130e6329b67..79e3c293df27 100644 --- a/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserPoolCommandInput = CreateUserPoolRequest; @@ -64,14 +64,14 @@ export class CreateUserPoolCommand extends $Command< private serialize( input: CreateUserPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserPoolCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/CreateUserPoolDomainCommand.ts b/clients/client-cognito-identity-provider/commands/CreateUserPoolDomainCommand.ts index 062b5f7b3f6d..cb45fa3b10ed 100644 --- a/clients/client-cognito-identity-provider/commands/CreateUserPoolDomainCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateUserPoolDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserPoolDomainCommandInput = CreateUserPoolDomainRequest; @@ -70,14 +70,14 @@ export class CreateUserPoolDomainCommand extends $Command< private serialize( input: CreateUserPoolDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserPoolDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserPoolDomainCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DeleteGroupCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteGroupCommand.ts index 3e7fe1823114..0711558bd037 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGroupCommandInput = DeleteGroupRequest; @@ -65,14 +65,14 @@ export class DeleteGroupCommand extends $Command< private serialize( input: DeleteGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteGroupCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DeleteIdentityProviderCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteIdentityProviderCommand.ts index 64834757fdd8..0739461bdae5 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteIdentityProviderCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteIdentityProviderCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIdentityProviderCommandInput = DeleteIdentityProviderRequest; @@ -68,14 +68,14 @@ export class DeleteIdentityProviderCommand extends $Command< private serialize( input: DeleteIdentityProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteIdentityProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteIdentityProviderCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DeleteResourceServerCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteResourceServerCommand.ts index c92bfa146e9e..b3acac17cb30 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteResourceServerCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteResourceServerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResourceServerCommandInput = DeleteResourceServerRequest; @@ -68,14 +68,14 @@ export class DeleteResourceServerCommand extends $Command< private serialize( input: DeleteResourceServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteResourceServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteResourceServerCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DeleteUserAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteUserAttributesCommand.ts index 6aebbb76edb8..66580fe30600 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteUserAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteUserAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserAttributesCommandInput = DeleteUserAttributesRequest; @@ -70,14 +70,14 @@ export class DeleteUserAttributesCommand extends $Command< private serialize( input: DeleteUserAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserAttributesCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DeleteUserCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteUserCommand.ts index 0c984155552f..bbbc8d4e59d8 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteUserCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserCommandInput = DeleteUserRequest; @@ -65,14 +65,14 @@ export class DeleteUserCommand extends $Command< private serialize( input: DeleteUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DeleteUserPoolClientCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteUserPoolClientCommand.ts index 02c29c9364a6..c26830e78e25 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteUserPoolClientCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteUserPoolClientCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserPoolClientCommandInput = DeleteUserPoolClientRequest; @@ -68,14 +68,14 @@ export class DeleteUserPoolClientCommand extends $Command< private serialize( input: DeleteUserPoolClientCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserPoolClientCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserPoolClientCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DeleteUserPoolCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteUserPoolCommand.ts index adc8d5af5653..ccd0c7702857 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteUserPoolCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteUserPoolCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserPoolCommandInput = DeleteUserPoolRequest; @@ -65,14 +65,14 @@ export class DeleteUserPoolCommand extends $Command< private serialize( input: DeleteUserPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserPoolCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DeleteUserPoolDomainCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteUserPoolDomainCommand.ts index c7268334e8ce..b38d4e7bca60 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteUserPoolDomainCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteUserPoolDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserPoolDomainCommandInput = DeleteUserPoolDomainRequest; @@ -70,14 +70,14 @@ export class DeleteUserPoolDomainCommand extends $Command< private serialize( input: DeleteUserPoolDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserPoolDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserPoolDomainCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DescribeIdentityProviderCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeIdentityProviderCommand.ts index 016dedc0945f..d4358290b71f 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeIdentityProviderCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeIdentityProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIdentityProviderCommandInput = DescribeIdentityProviderRequest; @@ -70,14 +70,14 @@ export class DescribeIdentityProviderCommand extends $Command< private serialize( input: DescribeIdentityProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeIdentityProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeIdentityProviderCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/DescribeResourceServerCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeResourceServerCommand.ts index 2ee8c68e17cf..af8fcba29d23 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeResourceServerCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeResourceServerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeResourceServerCommandInput = DescribeResourceServerRequest; @@ -70,14 +70,14 @@ export class DescribeResourceServerCommand extends $Command< private serialize( input: DescribeResourceServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeResourceServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeResourceServerCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DescribeRiskConfigurationCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeRiskConfigurationCommand.ts index 0062af90faf1..e9195bd15069 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeRiskConfigurationCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeRiskConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRiskConfigurationCommandInput = DescribeRiskConfigurationRequest; @@ -70,14 +70,14 @@ export class DescribeRiskConfigurationCommand extends $Command< private serialize( input: DescribeRiskConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRiskConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRiskConfigurationCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/DescribeUserImportJobCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeUserImportJobCommand.ts index 4fc4c2c71377..6734bdb94df1 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeUserImportJobCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeUserImportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserImportJobCommandInput = DescribeUserImportJobRequest; @@ -70,14 +70,14 @@ export class DescribeUserImportJobCommand extends $Command< private serialize( input: DescribeUserImportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUserImportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUserImportJobCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DescribeUserPoolClientCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeUserPoolClientCommand.ts index 3c3ec5aceb27..8b17ac72587a 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeUserPoolClientCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeUserPoolClientCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserPoolClientCommandInput = DescribeUserPoolClientRequest; @@ -70,14 +70,14 @@ export class DescribeUserPoolClientCommand extends $Command< private serialize( input: DescribeUserPoolClientCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUserPoolClientCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUserPoolClientCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DescribeUserPoolCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeUserPoolCommand.ts index 39cf1d396c89..51515b751453 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeUserPoolCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeUserPoolCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserPoolCommandInput = DescribeUserPoolRequest; @@ -67,14 +67,14 @@ export class DescribeUserPoolCommand extends $Command< private serialize( input: DescribeUserPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUserPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUserPoolCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/DescribeUserPoolDomainCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeUserPoolDomainCommand.ts index 06b0d480f414..b64ce7f6a61e 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeUserPoolDomainCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeUserPoolDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserPoolDomainCommandInput = DescribeUserPoolDomainRequest; @@ -70,14 +70,14 @@ export class DescribeUserPoolDomainCommand extends $Command< private serialize( input: DescribeUserPoolDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUserPoolDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUserPoolDomainCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ForgetDeviceCommand.ts b/clients/client-cognito-identity-provider/commands/ForgetDeviceCommand.ts index 339878c9324b..68bdfce27fbd 100644 --- a/clients/client-cognito-identity-provider/commands/ForgetDeviceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ForgetDeviceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ForgetDeviceCommandInput = ForgetDeviceRequest; @@ -65,14 +65,14 @@ export class ForgetDeviceCommand extends $Command< private serialize( input: ForgetDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ForgetDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ForgetDeviceCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts b/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts index 54d8e750149c..c0cfa73fe37f 100644 --- a/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ForgotPasswordCommandInput = ForgotPasswordRequest; @@ -64,14 +64,14 @@ export class ForgotPasswordCommand extends $Command< private serialize( input: ForgotPasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ForgotPasswordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ForgotPasswordCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/GetCSVHeaderCommand.ts b/clients/client-cognito-identity-provider/commands/GetCSVHeaderCommand.ts index ae186e1d3011..c89974d3ab52 100644 --- a/clients/client-cognito-identity-provider/commands/GetCSVHeaderCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetCSVHeaderCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCSVHeaderCommandInput = GetCSVHeaderRequest; @@ -64,14 +64,14 @@ export class GetCSVHeaderCommand extends $Command< private serialize( input: GetCSVHeaderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCSVHeaderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCSVHeaderCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/GetDeviceCommand.ts b/clients/client-cognito-identity-provider/commands/GetDeviceCommand.ts index a37a21852034..bc81bbbdf76c 100644 --- a/clients/client-cognito-identity-provider/commands/GetDeviceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeviceCommandInput = GetDeviceRequest; @@ -64,14 +64,14 @@ export class GetDeviceCommand extends $Command< private serialize( input: GetDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDeviceCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/GetGroupCommand.ts b/clients/client-cognito-identity-provider/commands/GetGroupCommand.ts index 0f445158f984..8a855d2b4044 100644 --- a/clients/client-cognito-identity-provider/commands/GetGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGroupCommandInput = GetGroupRequest; @@ -64,14 +64,14 @@ export class GetGroupCommand extends $Command< private serialize( input: GetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetGroupCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/GetIdentityProviderByIdentifierCommand.ts b/clients/client-cognito-identity-provider/commands/GetIdentityProviderByIdentifierCommand.ts index 67d74cf64f44..81340c9503fd 100644 --- a/clients/client-cognito-identity-provider/commands/GetIdentityProviderByIdentifierCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetIdentityProviderByIdentifierCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIdentityProviderByIdentifierCommandInput = GetIdentityProviderByIdentifierRequest; @@ -70,7 +70,7 @@ export class GetIdentityProviderByIdentifierCommand extends $Command< private serialize( input: GetIdentityProviderByIdentifierCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetIdentityProviderByIdentifierCommand( input, @@ -80,7 +80,7 @@ export class GetIdentityProviderByIdentifierCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetIdentityProviderByIdentifierCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/GetSigningCertificateCommand.ts b/clients/client-cognito-identity-provider/commands/GetSigningCertificateCommand.ts index 99c4c7d90e53..6b32b1172115 100644 --- a/clients/client-cognito-identity-provider/commands/GetSigningCertificateCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetSigningCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSigningCertificateCommandInput = GetSigningCertificateRequest; @@ -70,14 +70,14 @@ export class GetSigningCertificateCommand extends $Command< private serialize( input: GetSigningCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSigningCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSigningCertificateCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/GetUICustomizationCommand.ts b/clients/client-cognito-identity-provider/commands/GetUICustomizationCommand.ts index 704ff0d6aeaa..070f5e413736 100644 --- a/clients/client-cognito-identity-provider/commands/GetUICustomizationCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetUICustomizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUICustomizationCommandInput = GetUICustomizationRequest; @@ -67,14 +67,14 @@ export class GetUICustomizationCommand extends $Command< private serialize( input: GetUICustomizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetUICustomizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetUICustomizationCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts b/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts index 8eb15c6a8dca..3e685ed3f144 100644 --- a/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUserAttributeVerificationCodeCommandInput = GetUserAttributeVerificationCodeRequest; @@ -70,7 +70,7 @@ export class GetUserAttributeVerificationCodeCommand extends $Command< private serialize( input: GetUserAttributeVerificationCodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetUserAttributeVerificationCodeCommand( input, @@ -80,7 +80,7 @@ export class GetUserAttributeVerificationCodeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetUserAttributeVerificationCodeCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/GetUserCommand.ts b/clients/client-cognito-identity-provider/commands/GetUserCommand.ts index d13cf9f11fcc..37666841226d 100644 --- a/clients/client-cognito-identity-provider/commands/GetUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUserCommandInput = GetUserRequest; @@ -64,14 +64,14 @@ export class GetUserCommand extends $Command< private serialize( input: GetUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetUserCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/GetUserPoolMfaConfigCommand.ts b/clients/client-cognito-identity-provider/commands/GetUserPoolMfaConfigCommand.ts index dd272dc2b398..816fafcffa21 100644 --- a/clients/client-cognito-identity-provider/commands/GetUserPoolMfaConfigCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetUserPoolMfaConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUserPoolMfaConfigCommandInput = GetUserPoolMfaConfigRequest; @@ -70,14 +70,14 @@ export class GetUserPoolMfaConfigCommand extends $Command< private serialize( input: GetUserPoolMfaConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetUserPoolMfaConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetUserPoolMfaConfigCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/GlobalSignOutCommand.ts b/clients/client-cognito-identity-provider/commands/GlobalSignOutCommand.ts index 315cdcf9e0f4..e76f5063d751 100644 --- a/clients/client-cognito-identity-provider/commands/GlobalSignOutCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GlobalSignOutCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GlobalSignOutCommandInput = GlobalSignOutRequest; @@ -64,14 +64,14 @@ export class GlobalSignOutCommand extends $Command< private serialize( input: GlobalSignOutCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GlobalSignOutCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GlobalSignOutCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts b/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts index d1218bb59d94..360da72b5871 100644 --- a/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts +++ b/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InitiateAuthCommandInput = InitiateAuthRequest; @@ -64,14 +64,14 @@ export class InitiateAuthCommand extends $Command< private serialize( input: InitiateAuthCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1InitiateAuthCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1InitiateAuthCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ListDevicesCommand.ts b/clients/client-cognito-identity-provider/commands/ListDevicesCommand.ts index 94f53ae1903b..edd006da13cd 100644 --- a/clients/client-cognito-identity-provider/commands/ListDevicesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListDevicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDevicesCommandInput = ListDevicesRequest; @@ -64,14 +64,14 @@ export class ListDevicesCommand extends $Command< private serialize( input: ListDevicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDevicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDevicesCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ListGroupsCommand.ts b/clients/client-cognito-identity-provider/commands/ListGroupsCommand.ts index 423ee0aab74e..1e53d33126e9 100644 --- a/clients/client-cognito-identity-provider/commands/ListGroupsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupsCommandInput = ListGroupsRequest; @@ -64,14 +64,14 @@ export class ListGroupsCommand extends $Command< private serialize( input: ListGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListGroupsCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ListIdentityProvidersCommand.ts b/clients/client-cognito-identity-provider/commands/ListIdentityProvidersCommand.ts index 54123f378a08..e75c7eedeaec 100644 --- a/clients/client-cognito-identity-provider/commands/ListIdentityProvidersCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListIdentityProvidersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIdentityProvidersCommandInput = ListIdentityProvidersRequest; @@ -70,14 +70,14 @@ export class ListIdentityProvidersCommand extends $Command< private serialize( input: ListIdentityProvidersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListIdentityProvidersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListIdentityProvidersCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ListResourceServersCommand.ts b/clients/client-cognito-identity-provider/commands/ListResourceServersCommand.ts index 49575e858597..e21d62905493 100644 --- a/clients/client-cognito-identity-provider/commands/ListResourceServersCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListResourceServersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourceServersCommandInput = ListResourceServersRequest; @@ -70,14 +70,14 @@ export class ListResourceServersCommand extends $Command< private serialize( input: ListResourceServersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourceServersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourceServersCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ListTagsForResourceCommand.ts b/clients/client-cognito-identity-provider/commands/ListTagsForResourceCommand.ts index d60b65e5b2d7..2e0fdcdef7c8 100644 --- a/clients/client-cognito-identity-provider/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ListUserImportJobsCommand.ts b/clients/client-cognito-identity-provider/commands/ListUserImportJobsCommand.ts index 1ec52135754d..306369ef2021 100644 --- a/clients/client-cognito-identity-provider/commands/ListUserImportJobsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListUserImportJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUserImportJobsCommandInput = ListUserImportJobsRequest; @@ -67,14 +67,14 @@ export class ListUserImportJobsCommand extends $Command< private serialize( input: ListUserImportJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUserImportJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUserImportJobsCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ListUserPoolClientsCommand.ts b/clients/client-cognito-identity-provider/commands/ListUserPoolClientsCommand.ts index 53ad4e35b816..6e110b8321a6 100644 --- a/clients/client-cognito-identity-provider/commands/ListUserPoolClientsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListUserPoolClientsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUserPoolClientsCommandInput = ListUserPoolClientsRequest; @@ -70,14 +70,14 @@ export class ListUserPoolClientsCommand extends $Command< private serialize( input: ListUserPoolClientsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUserPoolClientsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUserPoolClientsCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts b/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts index ec8cc9dae53f..ca023b73747d 100644 --- a/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUserPoolsCommandInput = ListUserPoolsRequest; @@ -64,14 +64,14 @@ export class ListUserPoolsCommand extends $Command< private serialize( input: ListUserPoolsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUserPoolsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUserPoolsCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ListUsersCommand.ts b/clients/client-cognito-identity-provider/commands/ListUsersCommand.ts index 5a3ad5e5a246..ab060bccec43 100644 --- a/clients/client-cognito-identity-provider/commands/ListUsersCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUsersCommandInput = ListUsersRequest; @@ -64,14 +64,14 @@ export class ListUsersCommand extends $Command< private serialize( input: ListUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUsersCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ListUsersInGroupCommand.ts b/clients/client-cognito-identity-provider/commands/ListUsersInGroupCommand.ts index fde3d486ac38..79124dee82e1 100644 --- a/clients/client-cognito-identity-provider/commands/ListUsersInGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListUsersInGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUsersInGroupCommandInput = ListUsersInGroupRequest; @@ -67,14 +67,14 @@ export class ListUsersInGroupCommand extends $Command< private serialize( input: ListUsersInGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUsersInGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUsersInGroupCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts b/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts index ff451a9a6347..59236cec7262 100644 --- a/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResendConfirmationCodeCommandInput = ResendConfirmationCodeRequest; @@ -70,14 +70,14 @@ export class ResendConfirmationCodeCommand extends $Command< private serialize( input: ResendConfirmationCodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResendConfirmationCodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResendConfirmationCodeCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts b/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts index 29c45cdc92fd..bb6530ca0fe0 100644 --- a/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RespondToAuthChallengeCommandInput = RespondToAuthChallengeRequest; @@ -70,14 +70,14 @@ export class RespondToAuthChallengeCommand extends $Command< private serialize( input: RespondToAuthChallengeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RespondToAuthChallengeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RespondToAuthChallengeCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/SetRiskConfigurationCommand.ts b/clients/client-cognito-identity-provider/commands/SetRiskConfigurationCommand.ts index 1dec846dcad6..9026e2e6c758 100644 --- a/clients/client-cognito-identity-provider/commands/SetRiskConfigurationCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SetRiskConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetRiskConfigurationCommandInput = SetRiskConfigurationRequest; @@ -70,14 +70,14 @@ export class SetRiskConfigurationCommand extends $Command< private serialize( input: SetRiskConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetRiskConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetRiskConfigurationCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/SetUICustomizationCommand.ts b/clients/client-cognito-identity-provider/commands/SetUICustomizationCommand.ts index ce48d97a96d9..aa0e63affec8 100644 --- a/clients/client-cognito-identity-provider/commands/SetUICustomizationCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SetUICustomizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetUICustomizationCommandInput = SetUICustomizationRequest; @@ -67,14 +67,14 @@ export class SetUICustomizationCommand extends $Command< private serialize( input: SetUICustomizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetUICustomizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetUICustomizationCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/SetUserMFAPreferenceCommand.ts b/clients/client-cognito-identity-provider/commands/SetUserMFAPreferenceCommand.ts index 1d3061373855..8b3cd3c33a9a 100644 --- a/clients/client-cognito-identity-provider/commands/SetUserMFAPreferenceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SetUserMFAPreferenceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetUserMFAPreferenceCommandInput = SetUserMFAPreferenceRequest; @@ -70,14 +70,14 @@ export class SetUserMFAPreferenceCommand extends $Command< private serialize( input: SetUserMFAPreferenceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetUserMFAPreferenceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetUserMFAPreferenceCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts b/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts index 6f99a44193bd..d69bb4dcbdd4 100644 --- a/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetUserPoolMfaConfigCommandInput = SetUserPoolMfaConfigRequest; @@ -70,14 +70,14 @@ export class SetUserPoolMfaConfigCommand extends $Command< private serialize( input: SetUserPoolMfaConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetUserPoolMfaConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetUserPoolMfaConfigCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/SetUserSettingsCommand.ts b/clients/client-cognito-identity-provider/commands/SetUserSettingsCommand.ts index ea210973729b..c946ad06e346 100644 --- a/clients/client-cognito-identity-provider/commands/SetUserSettingsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SetUserSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetUserSettingsCommandInput = SetUserSettingsRequest; @@ -67,14 +67,14 @@ export class SetUserSettingsCommand extends $Command< private serialize( input: SetUserSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetUserSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetUserSettingsCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/SignUpCommand.ts b/clients/client-cognito-identity-provider/commands/SignUpCommand.ts index 44cdc358dee5..e16c0a46b35a 100644 --- a/clients/client-cognito-identity-provider/commands/SignUpCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SignUpCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SignUpCommandInput = SignUpRequest; @@ -64,14 +64,14 @@ export class SignUpCommand extends $Command< private serialize( input: SignUpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SignUpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SignUpCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/StartUserImportJobCommand.ts b/clients/client-cognito-identity-provider/commands/StartUserImportJobCommand.ts index e00b2abde671..8f2053d12991 100644 --- a/clients/client-cognito-identity-provider/commands/StartUserImportJobCommand.ts +++ b/clients/client-cognito-identity-provider/commands/StartUserImportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartUserImportJobCommandInput = StartUserImportJobRequest; @@ -67,14 +67,14 @@ export class StartUserImportJobCommand extends $Command< private serialize( input: StartUserImportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartUserImportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartUserImportJobCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/StopUserImportJobCommand.ts b/clients/client-cognito-identity-provider/commands/StopUserImportJobCommand.ts index e08c9843346d..236f49560014 100644 --- a/clients/client-cognito-identity-provider/commands/StopUserImportJobCommand.ts +++ b/clients/client-cognito-identity-provider/commands/StopUserImportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopUserImportJobCommandInput = StopUserImportJobRequest; @@ -67,14 +67,14 @@ export class StopUserImportJobCommand extends $Command< private serialize( input: StopUserImportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopUserImportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopUserImportJobCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/TagResourceCommand.ts b/clients/client-cognito-identity-provider/commands/TagResourceCommand.ts index 4361036a53f8..b87907f0f83f 100644 --- a/clients/client-cognito-identity-provider/commands/TagResourceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/UntagResourceCommand.ts b/clients/client-cognito-identity-provider/commands/UntagResourceCommand.ts index f612687387ec..67e9c40227a3 100644 --- a/clients/client-cognito-identity-provider/commands/UntagResourceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/UpdateAuthEventFeedbackCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateAuthEventFeedbackCommand.ts index 4d6dad05c8ad..10fb3dd5c506 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateAuthEventFeedbackCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateAuthEventFeedbackCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAuthEventFeedbackCommandInput = UpdateAuthEventFeedbackRequest; @@ -70,14 +70,14 @@ export class UpdateAuthEventFeedbackCommand extends $Command< private serialize( input: UpdateAuthEventFeedbackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAuthEventFeedbackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAuthEventFeedbackCommand( output, diff --git a/clients/client-cognito-identity-provider/commands/UpdateDeviceStatusCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateDeviceStatusCommand.ts index d81e34cd0d33..daca0c1b8819 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateDeviceStatusCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateDeviceStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDeviceStatusCommandInput = UpdateDeviceStatusRequest; @@ -67,14 +67,14 @@ export class UpdateDeviceStatusCommand extends $Command< private serialize( input: UpdateDeviceStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDeviceStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDeviceStatusCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts index 836e21da65d8..ddfec41c09e3 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGroupCommandInput = UpdateGroupRequest; @@ -64,14 +64,14 @@ export class UpdateGroupCommand extends $Command< private serialize( input: UpdateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateGroupCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/UpdateIdentityProviderCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateIdentityProviderCommand.ts index 3ed9c84e56e5..50a8bd611f70 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateIdentityProviderCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateIdentityProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIdentityProviderCommandInput = UpdateIdentityProviderRequest; @@ -70,14 +70,14 @@ export class UpdateIdentityProviderCommand extends $Command< private serialize( input: UpdateIdentityProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateIdentityProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateIdentityProviderCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/UpdateResourceServerCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateResourceServerCommand.ts index d11a68bd9345..d8131b87a5f2 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateResourceServerCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateResourceServerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateResourceServerCommandInput = UpdateResourceServerRequest; @@ -70,14 +70,14 @@ export class UpdateResourceServerCommand extends $Command< private serialize( input: UpdateResourceServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateResourceServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateResourceServerCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts index 3a9c59ca35e7..0a110239b2eb 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserAttributesCommandInput = UpdateUserAttributesRequest; @@ -70,14 +70,14 @@ export class UpdateUserAttributesCommand extends $Command< private serialize( input: UpdateUserAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateUserAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateUserAttributesCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/UpdateUserPoolClientCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateUserPoolClientCommand.ts index e17fa6458aea..279e0e02aa25 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateUserPoolClientCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateUserPoolClientCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserPoolClientCommandInput = UpdateUserPoolClientRequest; @@ -70,14 +70,14 @@ export class UpdateUserPoolClientCommand extends $Command< private serialize( input: UpdateUserPoolClientCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateUserPoolClientCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateUserPoolClientCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts index 25f487d80c3a..db6f8ed03570 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserPoolCommandInput = UpdateUserPoolRequest; @@ -64,14 +64,14 @@ export class UpdateUserPoolCommand extends $Command< private serialize( input: UpdateUserPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateUserPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateUserPoolCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts index ec601b8c2941..e5101797e3e3 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserPoolDomainCommandInput = UpdateUserPoolDomainRequest; @@ -70,14 +70,14 @@ export class UpdateUserPoolDomainCommand extends $Command< private serialize( input: UpdateUserPoolDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateUserPoolDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateUserPoolDomainCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/VerifySoftwareTokenCommand.ts b/clients/client-cognito-identity-provider/commands/VerifySoftwareTokenCommand.ts index 142ad2c55cf1..768c2ecaca4f 100644 --- a/clients/client-cognito-identity-provider/commands/VerifySoftwareTokenCommand.ts +++ b/clients/client-cognito-identity-provider/commands/VerifySoftwareTokenCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type VerifySoftwareTokenCommandInput = VerifySoftwareTokenRequest; @@ -70,14 +70,14 @@ export class VerifySoftwareTokenCommand extends $Command< private serialize( input: VerifySoftwareTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1VerifySoftwareTokenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1VerifySoftwareTokenCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/commands/VerifyUserAttributeCommand.ts b/clients/client-cognito-identity-provider/commands/VerifyUserAttributeCommand.ts index 9e381f948a84..d4492ba83b93 100644 --- a/clients/client-cognito-identity-provider/commands/VerifyUserAttributeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/VerifyUserAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type VerifyUserAttributeCommandInput = VerifyUserAttributeRequest; @@ -70,14 +70,14 @@ export class VerifyUserAttributeCommand extends $Command< private serialize( input: VerifyUserAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1VerifyUserAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1VerifyUserAttributeCommand(output, context); } diff --git a/clients/client-cognito-identity-provider/protocols/Aws_json1_1.ts b/clients/client-cognito-identity-provider/protocols/Aws_json1_1.ts index d6db1916205b..e89ebee72884 100644 --- a/clients/client-cognito-identity-provider/protocols/Aws_json1_1.ts +++ b/clients/client-cognito-identity-provider/protocols/Aws_json1_1.ts @@ -21020,6 +21020,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cognito-identity/commands/CreateIdentityPoolCommand.ts b/clients/client-cognito-identity/commands/CreateIdentityPoolCommand.ts index 7b72e6bec74e..7a4536f5485f 100644 --- a/clients/client-cognito-identity/commands/CreateIdentityPoolCommand.ts +++ b/clients/client-cognito-identity/commands/CreateIdentityPoolCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIdentityPoolCommandInput = CreateIdentityPoolInput; @@ -66,14 +66,14 @@ export class CreateIdentityPoolCommand extends $Command< private serialize( input: CreateIdentityPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateIdentityPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateIdentityPoolCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/DeleteIdentitiesCommand.ts b/clients/client-cognito-identity/commands/DeleteIdentitiesCommand.ts index d28b6d369199..33dbe2c231f5 100644 --- a/clients/client-cognito-identity/commands/DeleteIdentitiesCommand.ts +++ b/clients/client-cognito-identity/commands/DeleteIdentitiesCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIdentitiesCommandInput = DeleteIdentitiesInput; @@ -69,14 +69,14 @@ export class DeleteIdentitiesCommand extends $Command< private serialize( input: DeleteIdentitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteIdentitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteIdentitiesCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/DeleteIdentityPoolCommand.ts b/clients/client-cognito-identity/commands/DeleteIdentityPoolCommand.ts index a2eca5f10b02..ab24e5289c62 100644 --- a/clients/client-cognito-identity/commands/DeleteIdentityPoolCommand.ts +++ b/clients/client-cognito-identity/commands/DeleteIdentityPoolCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIdentityPoolCommandInput = DeleteIdentityPoolInput; @@ -67,14 +67,14 @@ export class DeleteIdentityPoolCommand extends $Command< private serialize( input: DeleteIdentityPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteIdentityPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteIdentityPoolCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/DescribeIdentityCommand.ts b/clients/client-cognito-identity/commands/DescribeIdentityCommand.ts index 94600188c6d6..b7debfa561bb 100644 --- a/clients/client-cognito-identity/commands/DescribeIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/DescribeIdentityCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIdentityCommandInput = DescribeIdentityInput; @@ -66,14 +66,14 @@ export class DescribeIdentityCommand extends $Command< private serialize( input: DescribeIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeIdentityCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/DescribeIdentityPoolCommand.ts b/clients/client-cognito-identity/commands/DescribeIdentityPoolCommand.ts index 8c92d049aa62..6cbf8669daab 100644 --- a/clients/client-cognito-identity/commands/DescribeIdentityPoolCommand.ts +++ b/clients/client-cognito-identity/commands/DescribeIdentityPoolCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIdentityPoolCommandInput = DescribeIdentityPoolInput; @@ -69,14 +69,14 @@ export class DescribeIdentityPoolCommand extends $Command< private serialize( input: DescribeIdentityPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeIdentityPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeIdentityPoolCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/GetCredentialsForIdentityCommand.ts b/clients/client-cognito-identity/commands/GetCredentialsForIdentityCommand.ts index 4fa9268c404a..5aca4e259a4b 100644 --- a/clients/client-cognito-identity/commands/GetCredentialsForIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/GetCredentialsForIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCredentialsForIdentityCommandInput = GetCredentialsForIdentityInput; @@ -70,14 +70,14 @@ export class GetCredentialsForIdentityCommand extends $Command< private serialize( input: GetCredentialsForIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCredentialsForIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCredentialsForIdentityCommand( output, diff --git a/clients/client-cognito-identity/commands/GetIdCommand.ts b/clients/client-cognito-identity/commands/GetIdCommand.ts index c3e97ed2c295..d148f997c6bf 100644 --- a/clients/client-cognito-identity/commands/GetIdCommand.ts +++ b/clients/client-cognito-identity/commands/GetIdCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIdCommandInput = GetIdInput; @@ -64,14 +64,14 @@ export class GetIdCommand extends $Command< private serialize( input: GetIdCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetIdCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetIdCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/GetIdentityPoolRolesCommand.ts b/clients/client-cognito-identity/commands/GetIdentityPoolRolesCommand.ts index e33ce928a0ea..9662cad912fc 100644 --- a/clients/client-cognito-identity/commands/GetIdentityPoolRolesCommand.ts +++ b/clients/client-cognito-identity/commands/GetIdentityPoolRolesCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIdentityPoolRolesCommandInput = GetIdentityPoolRolesInput; @@ -72,14 +72,14 @@ export class GetIdentityPoolRolesCommand extends $Command< private serialize( input: GetIdentityPoolRolesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetIdentityPoolRolesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetIdentityPoolRolesCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/GetOpenIdTokenCommand.ts b/clients/client-cognito-identity/commands/GetOpenIdTokenCommand.ts index 258e96a74405..26646a403602 100644 --- a/clients/client-cognito-identity/commands/GetOpenIdTokenCommand.ts +++ b/clients/client-cognito-identity/commands/GetOpenIdTokenCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOpenIdTokenCommandInput = GetOpenIdTokenInput; @@ -64,14 +64,14 @@ export class GetOpenIdTokenCommand extends $Command< private serialize( input: GetOpenIdTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOpenIdTokenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOpenIdTokenCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/GetOpenIdTokenForDeveloperIdentityCommand.ts b/clients/client-cognito-identity/commands/GetOpenIdTokenForDeveloperIdentityCommand.ts index 25e9fc49d689..6d7cd3097f1a 100644 --- a/clients/client-cognito-identity/commands/GetOpenIdTokenForDeveloperIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/GetOpenIdTokenForDeveloperIdentityCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOpenIdTokenForDeveloperIdentityCommandInput = GetOpenIdTokenForDeveloperIdentityInput; @@ -72,7 +72,7 @@ export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command< private serialize( input: GetOpenIdTokenForDeveloperIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOpenIdTokenForDeveloperIdentityCommand( input, @@ -82,7 +82,7 @@ export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOpenIdTokenForDeveloperIdentityCommand( output, diff --git a/clients/client-cognito-identity/commands/ListIdentitiesCommand.ts b/clients/client-cognito-identity/commands/ListIdentitiesCommand.ts index 789d80222523..55fbea233f9f 100644 --- a/clients/client-cognito-identity/commands/ListIdentitiesCommand.ts +++ b/clients/client-cognito-identity/commands/ListIdentitiesCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIdentitiesCommandInput = ListIdentitiesInput; @@ -66,14 +66,14 @@ export class ListIdentitiesCommand extends $Command< private serialize( input: ListIdentitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListIdentitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListIdentitiesCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/ListIdentityPoolsCommand.ts b/clients/client-cognito-identity/commands/ListIdentityPoolsCommand.ts index d5aeb66ec778..f5eba0482464 100644 --- a/clients/client-cognito-identity/commands/ListIdentityPoolsCommand.ts +++ b/clients/client-cognito-identity/commands/ListIdentityPoolsCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIdentityPoolsCommandInput = ListIdentityPoolsInput; @@ -69,14 +69,14 @@ export class ListIdentityPoolsCommand extends $Command< private serialize( input: ListIdentityPoolsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListIdentityPoolsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListIdentityPoolsCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/ListTagsForResourceCommand.ts b/clients/client-cognito-identity/commands/ListTagsForResourceCommand.ts index 3945e4bfbe88..de589c7291ac 100644 --- a/clients/client-cognito-identity/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cognito-identity/commands/ListTagsForResourceCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -72,14 +72,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/LookupDeveloperIdentityCommand.ts b/clients/client-cognito-identity/commands/LookupDeveloperIdentityCommand.ts index ab2b23e9a455..c7460fdf63e4 100644 --- a/clients/client-cognito-identity/commands/LookupDeveloperIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/LookupDeveloperIdentityCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type LookupDeveloperIdentityCommandInput = LookupDeveloperIdentityInput; @@ -72,14 +72,14 @@ export class LookupDeveloperIdentityCommand extends $Command< private serialize( input: LookupDeveloperIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1LookupDeveloperIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1LookupDeveloperIdentityCommand( output, diff --git a/clients/client-cognito-identity/commands/MergeDeveloperIdentitiesCommand.ts b/clients/client-cognito-identity/commands/MergeDeveloperIdentitiesCommand.ts index 4214625a0507..821d83bf63e8 100644 --- a/clients/client-cognito-identity/commands/MergeDeveloperIdentitiesCommand.ts +++ b/clients/client-cognito-identity/commands/MergeDeveloperIdentitiesCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MergeDeveloperIdentitiesCommandInput = MergeDeveloperIdentitiesInput; @@ -72,14 +72,14 @@ export class MergeDeveloperIdentitiesCommand extends $Command< private serialize( input: MergeDeveloperIdentitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1MergeDeveloperIdentitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1MergeDeveloperIdentitiesCommand( output, diff --git a/clients/client-cognito-identity/commands/SetIdentityPoolRolesCommand.ts b/clients/client-cognito-identity/commands/SetIdentityPoolRolesCommand.ts index cb0afcea2282..28fdd92cd773 100644 --- a/clients/client-cognito-identity/commands/SetIdentityPoolRolesCommand.ts +++ b/clients/client-cognito-identity/commands/SetIdentityPoolRolesCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetIdentityPoolRolesCommandInput = SetIdentityPoolRolesInput; @@ -70,14 +70,14 @@ export class SetIdentityPoolRolesCommand extends $Command< private serialize( input: SetIdentityPoolRolesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetIdentityPoolRolesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetIdentityPoolRolesCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/TagResourceCommand.ts b/clients/client-cognito-identity/commands/TagResourceCommand.ts index aa90082e2f2f..df7372b3bc75 100644 --- a/clients/client-cognito-identity/commands/TagResourceCommand.ts +++ b/clients/client-cognito-identity/commands/TagResourceCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -66,14 +66,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/UnlinkDeveloperIdentityCommand.ts b/clients/client-cognito-identity/commands/UnlinkDeveloperIdentityCommand.ts index 0458f249891f..7e813d004512 100644 --- a/clients/client-cognito-identity/commands/UnlinkDeveloperIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/UnlinkDeveloperIdentityCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnlinkDeveloperIdentityCommandInput = UnlinkDeveloperIdentityInput; @@ -70,14 +70,14 @@ export class UnlinkDeveloperIdentityCommand extends $Command< private serialize( input: UnlinkDeveloperIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UnlinkDeveloperIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UnlinkDeveloperIdentityCommand( output, diff --git a/clients/client-cognito-identity/commands/UnlinkIdentityCommand.ts b/clients/client-cognito-identity/commands/UnlinkIdentityCommand.ts index 19076bde240e..c95ff014418e 100644 --- a/clients/client-cognito-identity/commands/UnlinkIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/UnlinkIdentityCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnlinkIdentityCommandInput = UnlinkIdentityInput; @@ -67,14 +67,14 @@ export class UnlinkIdentityCommand extends $Command< private serialize( input: UnlinkIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UnlinkIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UnlinkIdentityCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/UntagResourceCommand.ts b/clients/client-cognito-identity/commands/UntagResourceCommand.ts index e09531cfa50a..e0ab39370cd3 100644 --- a/clients/client-cognito-identity/commands/UntagResourceCommand.ts +++ b/clients/client-cognito-identity/commands/UntagResourceCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -66,14 +66,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-cognito-identity/commands/UpdateIdentityPoolCommand.ts b/clients/client-cognito-identity/commands/UpdateIdentityPoolCommand.ts index 0c0531d681ff..b19dc783649c 100644 --- a/clients/client-cognito-identity/commands/UpdateIdentityPoolCommand.ts +++ b/clients/client-cognito-identity/commands/UpdateIdentityPoolCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIdentityPoolCommandInput = IdentityPool; @@ -66,14 +66,14 @@ export class UpdateIdentityPoolCommand extends $Command< private serialize( input: UpdateIdentityPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateIdentityPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateIdentityPoolCommand(output, context); } diff --git a/clients/client-cognito-identity/protocols/Aws_json1_1.ts b/clients/client-cognito-identity/protocols/Aws_json1_1.ts index 5023865c922f..a93493d523d6 100644 --- a/clients/client-cognito-identity/protocols/Aws_json1_1.ts +++ b/clients/client-cognito-identity/protocols/Aws_json1_1.ts @@ -3990,6 +3990,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cognito-sync/commands/BulkPublishCommand.ts b/clients/client-cognito-sync/commands/BulkPublishCommand.ts index cd8d2e3f4bdb..dc8a7c978342 100644 --- a/clients/client-cognito-sync/commands/BulkPublishCommand.ts +++ b/clients/client-cognito-sync/commands/BulkPublishCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BulkPublishCommandInput = BulkPublishRequest; @@ -64,14 +64,14 @@ export class BulkPublishCommand extends $Command< private serialize( input: BulkPublishCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BulkPublishCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BulkPublishCommand(output, context); } diff --git a/clients/client-cognito-sync/commands/DeleteDatasetCommand.ts b/clients/client-cognito-sync/commands/DeleteDatasetCommand.ts index 7ee75c86d6da..a04223ecc3d5 100644 --- a/clients/client-cognito-sync/commands/DeleteDatasetCommand.ts +++ b/clients/client-cognito-sync/commands/DeleteDatasetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDatasetCommandInput = DeleteDatasetRequest; @@ -64,14 +64,14 @@ export class DeleteDatasetCommand extends $Command< private serialize( input: DeleteDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDatasetCommand(output, context); } diff --git a/clients/client-cognito-sync/commands/DescribeDatasetCommand.ts b/clients/client-cognito-sync/commands/DescribeDatasetCommand.ts index 306e9105f484..62bc9428238e 100644 --- a/clients/client-cognito-sync/commands/DescribeDatasetCommand.ts +++ b/clients/client-cognito-sync/commands/DescribeDatasetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDatasetCommandInput = DescribeDatasetRequest; @@ -67,14 +67,14 @@ export class DescribeDatasetCommand extends $Command< private serialize( input: DescribeDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDatasetCommand(output, context); } diff --git a/clients/client-cognito-sync/commands/DescribeIdentityPoolUsageCommand.ts b/clients/client-cognito-sync/commands/DescribeIdentityPoolUsageCommand.ts index ab1f493c9ac7..6ca72e76782b 100644 --- a/clients/client-cognito-sync/commands/DescribeIdentityPoolUsageCommand.ts +++ b/clients/client-cognito-sync/commands/DescribeIdentityPoolUsageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIdentityPoolUsageCommandInput = DescribeIdentityPoolUsageRequest; @@ -70,7 +70,7 @@ export class DescribeIdentityPoolUsageCommand extends $Command< private serialize( input: DescribeIdentityPoolUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeIdentityPoolUsageCommand( input, @@ -80,7 +80,7 @@ export class DescribeIdentityPoolUsageCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeIdentityPoolUsageCommand( output, diff --git a/clients/client-cognito-sync/commands/DescribeIdentityUsageCommand.ts b/clients/client-cognito-sync/commands/DescribeIdentityUsageCommand.ts index 31e712f417ef..fb689537f72d 100644 --- a/clients/client-cognito-sync/commands/DescribeIdentityUsageCommand.ts +++ b/clients/client-cognito-sync/commands/DescribeIdentityUsageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIdentityUsageCommandInput = DescribeIdentityUsageRequest; @@ -70,14 +70,14 @@ export class DescribeIdentityUsageCommand extends $Command< private serialize( input: DescribeIdentityUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeIdentityUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeIdentityUsageCommand( output, diff --git a/clients/client-cognito-sync/commands/GetBulkPublishDetailsCommand.ts b/clients/client-cognito-sync/commands/GetBulkPublishDetailsCommand.ts index 194f2be409d2..4a7d193e794e 100644 --- a/clients/client-cognito-sync/commands/GetBulkPublishDetailsCommand.ts +++ b/clients/client-cognito-sync/commands/GetBulkPublishDetailsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBulkPublishDetailsCommandInput = GetBulkPublishDetailsRequest; @@ -70,14 +70,14 @@ export class GetBulkPublishDetailsCommand extends $Command< private serialize( input: GetBulkPublishDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBulkPublishDetailsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBulkPublishDetailsCommand( output, diff --git a/clients/client-cognito-sync/commands/GetCognitoEventsCommand.ts b/clients/client-cognito-sync/commands/GetCognitoEventsCommand.ts index 752f23f749c5..6fe1bce6bc45 100644 --- a/clients/client-cognito-sync/commands/GetCognitoEventsCommand.ts +++ b/clients/client-cognito-sync/commands/GetCognitoEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCognitoEventsCommandInput = GetCognitoEventsRequest; @@ -67,14 +67,14 @@ export class GetCognitoEventsCommand extends $Command< private serialize( input: GetCognitoEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCognitoEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCognitoEventsCommand(output, context); } diff --git a/clients/client-cognito-sync/commands/GetIdentityPoolConfigurationCommand.ts b/clients/client-cognito-sync/commands/GetIdentityPoolConfigurationCommand.ts index 44303a4a98a1..31ff382089f3 100644 --- a/clients/client-cognito-sync/commands/GetIdentityPoolConfigurationCommand.ts +++ b/clients/client-cognito-sync/commands/GetIdentityPoolConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIdentityPoolConfigurationCommandInput = GetIdentityPoolConfigurationRequest; @@ -70,7 +70,7 @@ export class GetIdentityPoolConfigurationCommand extends $Command< private serialize( input: GetIdentityPoolConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIdentityPoolConfigurationCommand( input, @@ -80,7 +80,7 @@ export class GetIdentityPoolConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIdentityPoolConfigurationCommand( output, diff --git a/clients/client-cognito-sync/commands/ListDatasetsCommand.ts b/clients/client-cognito-sync/commands/ListDatasetsCommand.ts index 32d0ab467f79..f375344386c9 100644 --- a/clients/client-cognito-sync/commands/ListDatasetsCommand.ts +++ b/clients/client-cognito-sync/commands/ListDatasetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDatasetsCommandInput = ListDatasetsRequest; @@ -64,14 +64,14 @@ export class ListDatasetsCommand extends $Command< private serialize( input: ListDatasetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDatasetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDatasetsCommand(output, context); } diff --git a/clients/client-cognito-sync/commands/ListIdentityPoolUsageCommand.ts b/clients/client-cognito-sync/commands/ListIdentityPoolUsageCommand.ts index 4ea67aabbce0..ee397f0188e8 100644 --- a/clients/client-cognito-sync/commands/ListIdentityPoolUsageCommand.ts +++ b/clients/client-cognito-sync/commands/ListIdentityPoolUsageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIdentityPoolUsageCommandInput = ListIdentityPoolUsageRequest; @@ -70,14 +70,14 @@ export class ListIdentityPoolUsageCommand extends $Command< private serialize( input: ListIdentityPoolUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListIdentityPoolUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListIdentityPoolUsageCommand( output, diff --git a/clients/client-cognito-sync/commands/ListRecordsCommand.ts b/clients/client-cognito-sync/commands/ListRecordsCommand.ts index cc025c944264..259606282bb5 100644 --- a/clients/client-cognito-sync/commands/ListRecordsCommand.ts +++ b/clients/client-cognito-sync/commands/ListRecordsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRecordsCommandInput = ListRecordsRequest; @@ -64,14 +64,14 @@ export class ListRecordsCommand extends $Command< private serialize( input: ListRecordsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRecordsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRecordsCommand(output, context); } diff --git a/clients/client-cognito-sync/commands/RegisterDeviceCommand.ts b/clients/client-cognito-sync/commands/RegisterDeviceCommand.ts index 3a400c2c3a0c..84cdf4041af8 100644 --- a/clients/client-cognito-sync/commands/RegisterDeviceCommand.ts +++ b/clients/client-cognito-sync/commands/RegisterDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterDeviceCommandInput = RegisterDeviceRequest; @@ -64,14 +64,14 @@ export class RegisterDeviceCommand extends $Command< private serialize( input: RegisterDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RegisterDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RegisterDeviceCommand(output, context); } diff --git a/clients/client-cognito-sync/commands/SetCognitoEventsCommand.ts b/clients/client-cognito-sync/commands/SetCognitoEventsCommand.ts index 5204ccbd3f27..42d61ee92c31 100644 --- a/clients/client-cognito-sync/commands/SetCognitoEventsCommand.ts +++ b/clients/client-cognito-sync/commands/SetCognitoEventsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetCognitoEventsCommandInput = SetCognitoEventsRequest; @@ -65,14 +65,14 @@ export class SetCognitoEventsCommand extends $Command< private serialize( input: SetCognitoEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SetCognitoEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SetCognitoEventsCommand(output, context); } diff --git a/clients/client-cognito-sync/commands/SetIdentityPoolConfigurationCommand.ts b/clients/client-cognito-sync/commands/SetIdentityPoolConfigurationCommand.ts index 2225f8e377cd..5bd3775d72b4 100644 --- a/clients/client-cognito-sync/commands/SetIdentityPoolConfigurationCommand.ts +++ b/clients/client-cognito-sync/commands/SetIdentityPoolConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetIdentityPoolConfigurationCommandInput = SetIdentityPoolConfigurationRequest; @@ -70,7 +70,7 @@ export class SetIdentityPoolConfigurationCommand extends $Command< private serialize( input: SetIdentityPoolConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SetIdentityPoolConfigurationCommand( input, @@ -80,7 +80,7 @@ export class SetIdentityPoolConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SetIdentityPoolConfigurationCommand( output, diff --git a/clients/client-cognito-sync/commands/SubscribeToDatasetCommand.ts b/clients/client-cognito-sync/commands/SubscribeToDatasetCommand.ts index 99de7edad9bc..72b0d0aa38f4 100644 --- a/clients/client-cognito-sync/commands/SubscribeToDatasetCommand.ts +++ b/clients/client-cognito-sync/commands/SubscribeToDatasetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SubscribeToDatasetCommandInput = SubscribeToDatasetRequest; @@ -67,14 +67,14 @@ export class SubscribeToDatasetCommand extends $Command< private serialize( input: SubscribeToDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SubscribeToDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SubscribeToDatasetCommand(output, context); } diff --git a/clients/client-cognito-sync/commands/UnsubscribeFromDatasetCommand.ts b/clients/client-cognito-sync/commands/UnsubscribeFromDatasetCommand.ts index e2ce3b70f73a..7702a1f25dab 100644 --- a/clients/client-cognito-sync/commands/UnsubscribeFromDatasetCommand.ts +++ b/clients/client-cognito-sync/commands/UnsubscribeFromDatasetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnsubscribeFromDatasetCommandInput = UnsubscribeFromDatasetRequest; @@ -70,7 +70,7 @@ export class UnsubscribeFromDatasetCommand extends $Command< private serialize( input: UnsubscribeFromDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UnsubscribeFromDatasetCommand( input, @@ -80,7 +80,7 @@ export class UnsubscribeFromDatasetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UnsubscribeFromDatasetCommand( output, diff --git a/clients/client-cognito-sync/commands/UpdateRecordsCommand.ts b/clients/client-cognito-sync/commands/UpdateRecordsCommand.ts index fd9262272119..93f03d881727 100644 --- a/clients/client-cognito-sync/commands/UpdateRecordsCommand.ts +++ b/clients/client-cognito-sync/commands/UpdateRecordsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRecordsCommandInput = UpdateRecordsRequest; @@ -64,14 +64,14 @@ export class UpdateRecordsCommand extends $Command< private serialize( input: UpdateRecordsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRecordsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRecordsCommand(output, context); } diff --git a/clients/client-cognito-sync/protocols/Aws_restJson1_1.ts b/clients/client-cognito-sync/protocols/Aws_restJson1_1.ts index ca6c2969c22e..dfc42752fce0 100644 --- a/clients/client-cognito-sync/protocols/Aws_restJson1_1.ts +++ b/clients/client-cognito-sync/protocols/Aws_restJson1_1.ts @@ -3104,6 +3104,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-comprehend/commands/BatchDetectDominantLanguageCommand.ts b/clients/client-comprehend/commands/BatchDetectDominantLanguageCommand.ts index 3458797d0e7d..5918dd99817a 100644 --- a/clients/client-comprehend/commands/BatchDetectDominantLanguageCommand.ts +++ b/clients/client-comprehend/commands/BatchDetectDominantLanguageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDetectDominantLanguageCommandInput = BatchDetectDominantLanguageRequest; @@ -70,7 +70,7 @@ export class BatchDetectDominantLanguageCommand extends $Command< private serialize( input: BatchDetectDominantLanguageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDetectDominantLanguageCommand( input, @@ -80,7 +80,7 @@ export class BatchDetectDominantLanguageCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDetectDominantLanguageCommand( output, diff --git a/clients/client-comprehend/commands/BatchDetectEntitiesCommand.ts b/clients/client-comprehend/commands/BatchDetectEntitiesCommand.ts index 95788ebf1ea7..5b778bb20514 100644 --- a/clients/client-comprehend/commands/BatchDetectEntitiesCommand.ts +++ b/clients/client-comprehend/commands/BatchDetectEntitiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDetectEntitiesCommandInput = BatchDetectEntitiesRequest; @@ -70,14 +70,14 @@ export class BatchDetectEntitiesCommand extends $Command< private serialize( input: BatchDetectEntitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDetectEntitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDetectEntitiesCommand(output, context); } diff --git a/clients/client-comprehend/commands/BatchDetectKeyPhrasesCommand.ts b/clients/client-comprehend/commands/BatchDetectKeyPhrasesCommand.ts index 0ce26a7c0dc5..2c9b89471567 100644 --- a/clients/client-comprehend/commands/BatchDetectKeyPhrasesCommand.ts +++ b/clients/client-comprehend/commands/BatchDetectKeyPhrasesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDetectKeyPhrasesCommandInput = BatchDetectKeyPhrasesRequest; @@ -70,14 +70,14 @@ export class BatchDetectKeyPhrasesCommand extends $Command< private serialize( input: BatchDetectKeyPhrasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDetectKeyPhrasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDetectKeyPhrasesCommand(output, context); } diff --git a/clients/client-comprehend/commands/BatchDetectSentimentCommand.ts b/clients/client-comprehend/commands/BatchDetectSentimentCommand.ts index c41dc158943c..0b48a9f53b97 100644 --- a/clients/client-comprehend/commands/BatchDetectSentimentCommand.ts +++ b/clients/client-comprehend/commands/BatchDetectSentimentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDetectSentimentCommandInput = BatchDetectSentimentRequest; @@ -70,14 +70,14 @@ export class BatchDetectSentimentCommand extends $Command< private serialize( input: BatchDetectSentimentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDetectSentimentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDetectSentimentCommand(output, context); } diff --git a/clients/client-comprehend/commands/BatchDetectSyntaxCommand.ts b/clients/client-comprehend/commands/BatchDetectSyntaxCommand.ts index 42dce795efde..a22d80ca910e 100644 --- a/clients/client-comprehend/commands/BatchDetectSyntaxCommand.ts +++ b/clients/client-comprehend/commands/BatchDetectSyntaxCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDetectSyntaxCommandInput = BatchDetectSyntaxRequest; @@ -67,14 +67,14 @@ export class BatchDetectSyntaxCommand extends $Command< private serialize( input: BatchDetectSyntaxCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDetectSyntaxCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDetectSyntaxCommand(output, context); } diff --git a/clients/client-comprehend/commands/ClassifyDocumentCommand.ts b/clients/client-comprehend/commands/ClassifyDocumentCommand.ts index 6e25d34f0cca..e230dabc19a2 100644 --- a/clients/client-comprehend/commands/ClassifyDocumentCommand.ts +++ b/clients/client-comprehend/commands/ClassifyDocumentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ClassifyDocumentCommandInput = ClassifyDocumentRequest; @@ -67,14 +67,14 @@ export class ClassifyDocumentCommand extends $Command< private serialize( input: ClassifyDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ClassifyDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ClassifyDocumentCommand(output, context); } diff --git a/clients/client-comprehend/commands/CreateDocumentClassifierCommand.ts b/clients/client-comprehend/commands/CreateDocumentClassifierCommand.ts index 44b8fc7c3fc2..323a4f24a348 100644 --- a/clients/client-comprehend/commands/CreateDocumentClassifierCommand.ts +++ b/clients/client-comprehend/commands/CreateDocumentClassifierCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDocumentClassifierCommandInput = CreateDocumentClassifierRequest; @@ -70,14 +70,14 @@ export class CreateDocumentClassifierCommand extends $Command< private serialize( input: CreateDocumentClassifierCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDocumentClassifierCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDocumentClassifierCommand( output, diff --git a/clients/client-comprehend/commands/CreateEndpointCommand.ts b/clients/client-comprehend/commands/CreateEndpointCommand.ts index cdbcec094530..e9e8453b24a0 100644 --- a/clients/client-comprehend/commands/CreateEndpointCommand.ts +++ b/clients/client-comprehend/commands/CreateEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEndpointCommandInput = CreateEndpointRequest; @@ -64,14 +64,14 @@ export class CreateEndpointCommand extends $Command< private serialize( input: CreateEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEndpointCommand(output, context); } diff --git a/clients/client-comprehend/commands/CreateEntityRecognizerCommand.ts b/clients/client-comprehend/commands/CreateEntityRecognizerCommand.ts index ec341af92ac1..cc1cb036168c 100644 --- a/clients/client-comprehend/commands/CreateEntityRecognizerCommand.ts +++ b/clients/client-comprehend/commands/CreateEntityRecognizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEntityRecognizerCommandInput = CreateEntityRecognizerRequest; @@ -70,14 +70,14 @@ export class CreateEntityRecognizerCommand extends $Command< private serialize( input: CreateEntityRecognizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEntityRecognizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEntityRecognizerCommand(output, context); } diff --git a/clients/client-comprehend/commands/DeleteDocumentClassifierCommand.ts b/clients/client-comprehend/commands/DeleteDocumentClassifierCommand.ts index 005b40d748f9..6b924daa4d69 100644 --- a/clients/client-comprehend/commands/DeleteDocumentClassifierCommand.ts +++ b/clients/client-comprehend/commands/DeleteDocumentClassifierCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDocumentClassifierCommandInput = DeleteDocumentClassifierRequest; @@ -70,14 +70,14 @@ export class DeleteDocumentClassifierCommand extends $Command< private serialize( input: DeleteDocumentClassifierCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDocumentClassifierCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDocumentClassifierCommand( output, diff --git a/clients/client-comprehend/commands/DeleteEndpointCommand.ts b/clients/client-comprehend/commands/DeleteEndpointCommand.ts index ec1dfeeda42f..0f42f5d8cbb3 100644 --- a/clients/client-comprehend/commands/DeleteEndpointCommand.ts +++ b/clients/client-comprehend/commands/DeleteEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEndpointCommandInput = DeleteEndpointRequest; @@ -64,14 +64,14 @@ export class DeleteEndpointCommand extends $Command< private serialize( input: DeleteEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEndpointCommand(output, context); } diff --git a/clients/client-comprehend/commands/DeleteEntityRecognizerCommand.ts b/clients/client-comprehend/commands/DeleteEntityRecognizerCommand.ts index 5d0d553587ce..4b61b5975fe0 100644 --- a/clients/client-comprehend/commands/DeleteEntityRecognizerCommand.ts +++ b/clients/client-comprehend/commands/DeleteEntityRecognizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEntityRecognizerCommandInput = DeleteEntityRecognizerRequest; @@ -70,14 +70,14 @@ export class DeleteEntityRecognizerCommand extends $Command< private serialize( input: DeleteEntityRecognizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEntityRecognizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEntityRecognizerCommand(output, context); } diff --git a/clients/client-comprehend/commands/DescribeDocumentClassificationJobCommand.ts b/clients/client-comprehend/commands/DescribeDocumentClassificationJobCommand.ts index 6fe274e78344..de6d45cb770d 100644 --- a/clients/client-comprehend/commands/DescribeDocumentClassificationJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeDocumentClassificationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDocumentClassificationJobCommandInput = DescribeDocumentClassificationJobRequest; @@ -70,7 +70,7 @@ export class DescribeDocumentClassificationJobCommand extends $Command< private serialize( input: DescribeDocumentClassificationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDocumentClassificationJobCommand( input, @@ -80,7 +80,7 @@ export class DescribeDocumentClassificationJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDocumentClassificationJobCommand( output, diff --git a/clients/client-comprehend/commands/DescribeDocumentClassifierCommand.ts b/clients/client-comprehend/commands/DescribeDocumentClassifierCommand.ts index 1bf5c6170e36..8ed5cfcdc442 100644 --- a/clients/client-comprehend/commands/DescribeDocumentClassifierCommand.ts +++ b/clients/client-comprehend/commands/DescribeDocumentClassifierCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDocumentClassifierCommandInput = DescribeDocumentClassifierRequest; @@ -70,7 +70,7 @@ export class DescribeDocumentClassifierCommand extends $Command< private serialize( input: DescribeDocumentClassifierCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDocumentClassifierCommand( input, @@ -80,7 +80,7 @@ export class DescribeDocumentClassifierCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDocumentClassifierCommand( output, diff --git a/clients/client-comprehend/commands/DescribeDominantLanguageDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribeDominantLanguageDetectionJobCommand.ts index 6c66dc819c68..6d78416437e0 100644 --- a/clients/client-comprehend/commands/DescribeDominantLanguageDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeDominantLanguageDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDominantLanguageDetectionJobCommandInput = DescribeDominantLanguageDetectionJobRequest; @@ -72,7 +72,7 @@ export class DescribeDominantLanguageDetectionJobCommand extends $Command< private serialize( input: DescribeDominantLanguageDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDominantLanguageDetectionJobCommand( input, @@ -82,7 +82,7 @@ export class DescribeDominantLanguageDetectionJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDominantLanguageDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/DescribeEndpointCommand.ts b/clients/client-comprehend/commands/DescribeEndpointCommand.ts index ad873e8218c6..4ce07c48365a 100644 --- a/clients/client-comprehend/commands/DescribeEndpointCommand.ts +++ b/clients/client-comprehend/commands/DescribeEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEndpointCommandInput = DescribeEndpointRequest; @@ -67,14 +67,14 @@ export class DescribeEndpointCommand extends $Command< private serialize( input: DescribeEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEndpointCommand(output, context); } diff --git a/clients/client-comprehend/commands/DescribeEntitiesDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribeEntitiesDetectionJobCommand.ts index 0fc8464920ea..5e6bfeb251bc 100644 --- a/clients/client-comprehend/commands/DescribeEntitiesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeEntitiesDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEntitiesDetectionJobCommandInput = DescribeEntitiesDetectionJobRequest; @@ -70,7 +70,7 @@ export class DescribeEntitiesDetectionJobCommand extends $Command< private serialize( input: DescribeEntitiesDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEntitiesDetectionJobCommand( input, @@ -80,7 +80,7 @@ export class DescribeEntitiesDetectionJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEntitiesDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/DescribeEntityRecognizerCommand.ts b/clients/client-comprehend/commands/DescribeEntityRecognizerCommand.ts index 9713a4c2047b..1828e2a179e8 100644 --- a/clients/client-comprehend/commands/DescribeEntityRecognizerCommand.ts +++ b/clients/client-comprehend/commands/DescribeEntityRecognizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEntityRecognizerCommandInput = DescribeEntityRecognizerRequest; @@ -70,14 +70,14 @@ export class DescribeEntityRecognizerCommand extends $Command< private serialize( input: DescribeEntityRecognizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEntityRecognizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEntityRecognizerCommand( output, diff --git a/clients/client-comprehend/commands/DescribeKeyPhrasesDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribeKeyPhrasesDetectionJobCommand.ts index f5df90ee2e89..82f0eb57ce32 100644 --- a/clients/client-comprehend/commands/DescribeKeyPhrasesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeKeyPhrasesDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeKeyPhrasesDetectionJobCommandInput = DescribeKeyPhrasesDetectionJobRequest; @@ -70,7 +70,7 @@ export class DescribeKeyPhrasesDetectionJobCommand extends $Command< private serialize( input: DescribeKeyPhrasesDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeKeyPhrasesDetectionJobCommand( input, @@ -80,7 +80,7 @@ export class DescribeKeyPhrasesDetectionJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeKeyPhrasesDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/DescribeSentimentDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribeSentimentDetectionJobCommand.ts index 0eb4ed34b6ab..a3eb7f694d3a 100644 --- a/clients/client-comprehend/commands/DescribeSentimentDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeSentimentDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSentimentDetectionJobCommandInput = DescribeSentimentDetectionJobRequest; @@ -70,7 +70,7 @@ export class DescribeSentimentDetectionJobCommand extends $Command< private serialize( input: DescribeSentimentDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSentimentDetectionJobCommand( input, @@ -80,7 +80,7 @@ export class DescribeSentimentDetectionJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSentimentDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/DescribeTopicsDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribeTopicsDetectionJobCommand.ts index baafd8b4c984..a6e36e237df4 100644 --- a/clients/client-comprehend/commands/DescribeTopicsDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeTopicsDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTopicsDetectionJobCommandInput = DescribeTopicsDetectionJobRequest; @@ -70,7 +70,7 @@ export class DescribeTopicsDetectionJobCommand extends $Command< private serialize( input: DescribeTopicsDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTopicsDetectionJobCommand( input, @@ -80,7 +80,7 @@ export class DescribeTopicsDetectionJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTopicsDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/DetectDominantLanguageCommand.ts b/clients/client-comprehend/commands/DetectDominantLanguageCommand.ts index 1011a5b81b2b..fe5c63a99f6d 100644 --- a/clients/client-comprehend/commands/DetectDominantLanguageCommand.ts +++ b/clients/client-comprehend/commands/DetectDominantLanguageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectDominantLanguageCommandInput = DetectDominantLanguageRequest; @@ -70,14 +70,14 @@ export class DetectDominantLanguageCommand extends $Command< private serialize( input: DetectDominantLanguageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectDominantLanguageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectDominantLanguageCommand(output, context); } diff --git a/clients/client-comprehend/commands/DetectEntitiesCommand.ts b/clients/client-comprehend/commands/DetectEntitiesCommand.ts index c0551dcf0c6d..cb9e011bece7 100644 --- a/clients/client-comprehend/commands/DetectEntitiesCommand.ts +++ b/clients/client-comprehend/commands/DetectEntitiesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectEntitiesCommandInput = DetectEntitiesRequest; @@ -64,14 +64,14 @@ export class DetectEntitiesCommand extends $Command< private serialize( input: DetectEntitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectEntitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectEntitiesCommand(output, context); } diff --git a/clients/client-comprehend/commands/DetectKeyPhrasesCommand.ts b/clients/client-comprehend/commands/DetectKeyPhrasesCommand.ts index 8d67e869fb07..72623f056810 100644 --- a/clients/client-comprehend/commands/DetectKeyPhrasesCommand.ts +++ b/clients/client-comprehend/commands/DetectKeyPhrasesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectKeyPhrasesCommandInput = DetectKeyPhrasesRequest; @@ -67,14 +67,14 @@ export class DetectKeyPhrasesCommand extends $Command< private serialize( input: DetectKeyPhrasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectKeyPhrasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectKeyPhrasesCommand(output, context); } diff --git a/clients/client-comprehend/commands/DetectSentimentCommand.ts b/clients/client-comprehend/commands/DetectSentimentCommand.ts index bda052fc351f..6476dccea813 100644 --- a/clients/client-comprehend/commands/DetectSentimentCommand.ts +++ b/clients/client-comprehend/commands/DetectSentimentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectSentimentCommandInput = DetectSentimentRequest; @@ -67,14 +67,14 @@ export class DetectSentimentCommand extends $Command< private serialize( input: DetectSentimentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectSentimentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectSentimentCommand(output, context); } diff --git a/clients/client-comprehend/commands/DetectSyntaxCommand.ts b/clients/client-comprehend/commands/DetectSyntaxCommand.ts index b41cb9d60b6c..18d061961334 100644 --- a/clients/client-comprehend/commands/DetectSyntaxCommand.ts +++ b/clients/client-comprehend/commands/DetectSyntaxCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectSyntaxCommandInput = DetectSyntaxRequest; @@ -64,14 +64,14 @@ export class DetectSyntaxCommand extends $Command< private serialize( input: DetectSyntaxCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectSyntaxCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectSyntaxCommand(output, context); } diff --git a/clients/client-comprehend/commands/ListDocumentClassificationJobsCommand.ts b/clients/client-comprehend/commands/ListDocumentClassificationJobsCommand.ts index 78e73370e52a..4eab0a15c102 100644 --- a/clients/client-comprehend/commands/ListDocumentClassificationJobsCommand.ts +++ b/clients/client-comprehend/commands/ListDocumentClassificationJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDocumentClassificationJobsCommandInput = ListDocumentClassificationJobsRequest; @@ -70,7 +70,7 @@ export class ListDocumentClassificationJobsCommand extends $Command< private serialize( input: ListDocumentClassificationJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDocumentClassificationJobsCommand( input, @@ -80,7 +80,7 @@ export class ListDocumentClassificationJobsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDocumentClassificationJobsCommand( output, diff --git a/clients/client-comprehend/commands/ListDocumentClassifiersCommand.ts b/clients/client-comprehend/commands/ListDocumentClassifiersCommand.ts index 851325244ca2..bd5bbaa333df 100644 --- a/clients/client-comprehend/commands/ListDocumentClassifiersCommand.ts +++ b/clients/client-comprehend/commands/ListDocumentClassifiersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDocumentClassifiersCommandInput = ListDocumentClassifiersRequest; @@ -70,14 +70,14 @@ export class ListDocumentClassifiersCommand extends $Command< private serialize( input: ListDocumentClassifiersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDocumentClassifiersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDocumentClassifiersCommand( output, diff --git a/clients/client-comprehend/commands/ListDominantLanguageDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListDominantLanguageDetectionJobsCommand.ts index 4f95927e5aac..fa0d338de426 100644 --- a/clients/client-comprehend/commands/ListDominantLanguageDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListDominantLanguageDetectionJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDominantLanguageDetectionJobsCommandInput = ListDominantLanguageDetectionJobsRequest; @@ -70,7 +70,7 @@ export class ListDominantLanguageDetectionJobsCommand extends $Command< private serialize( input: ListDominantLanguageDetectionJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDominantLanguageDetectionJobsCommand( input, @@ -80,7 +80,7 @@ export class ListDominantLanguageDetectionJobsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDominantLanguageDetectionJobsCommand( output, diff --git a/clients/client-comprehend/commands/ListEndpointsCommand.ts b/clients/client-comprehend/commands/ListEndpointsCommand.ts index 421e08e94da2..4f6beca19969 100644 --- a/clients/client-comprehend/commands/ListEndpointsCommand.ts +++ b/clients/client-comprehend/commands/ListEndpointsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEndpointsCommandInput = ListEndpointsRequest; @@ -64,14 +64,14 @@ export class ListEndpointsCommand extends $Command< private serialize( input: ListEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEndpointsCommand(output, context); } diff --git a/clients/client-comprehend/commands/ListEntitiesDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListEntitiesDetectionJobsCommand.ts index 03a3448292e4..d3211ae8afca 100644 --- a/clients/client-comprehend/commands/ListEntitiesDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListEntitiesDetectionJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEntitiesDetectionJobsCommandInput = ListEntitiesDetectionJobsRequest; @@ -70,14 +70,14 @@ export class ListEntitiesDetectionJobsCommand extends $Command< private serialize( input: ListEntitiesDetectionJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEntitiesDetectionJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEntitiesDetectionJobsCommand( output, diff --git a/clients/client-comprehend/commands/ListEntityRecognizersCommand.ts b/clients/client-comprehend/commands/ListEntityRecognizersCommand.ts index 2b487f83d23b..736d4164bf9e 100644 --- a/clients/client-comprehend/commands/ListEntityRecognizersCommand.ts +++ b/clients/client-comprehend/commands/ListEntityRecognizersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEntityRecognizersCommandInput = ListEntityRecognizersRequest; @@ -70,14 +70,14 @@ export class ListEntityRecognizersCommand extends $Command< private serialize( input: ListEntityRecognizersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEntityRecognizersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEntityRecognizersCommand(output, context); } diff --git a/clients/client-comprehend/commands/ListKeyPhrasesDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListKeyPhrasesDetectionJobsCommand.ts index 6bc92c6ed53f..e05930685ba4 100644 --- a/clients/client-comprehend/commands/ListKeyPhrasesDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListKeyPhrasesDetectionJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListKeyPhrasesDetectionJobsCommandInput = ListKeyPhrasesDetectionJobsRequest; @@ -70,7 +70,7 @@ export class ListKeyPhrasesDetectionJobsCommand extends $Command< private serialize( input: ListKeyPhrasesDetectionJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListKeyPhrasesDetectionJobsCommand( input, @@ -80,7 +80,7 @@ export class ListKeyPhrasesDetectionJobsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListKeyPhrasesDetectionJobsCommand( output, diff --git a/clients/client-comprehend/commands/ListSentimentDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListSentimentDetectionJobsCommand.ts index 48de3a562ea9..682fac7007c0 100644 --- a/clients/client-comprehend/commands/ListSentimentDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListSentimentDetectionJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSentimentDetectionJobsCommandInput = ListSentimentDetectionJobsRequest; @@ -70,7 +70,7 @@ export class ListSentimentDetectionJobsCommand extends $Command< private serialize( input: ListSentimentDetectionJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSentimentDetectionJobsCommand( input, @@ -80,7 +80,7 @@ export class ListSentimentDetectionJobsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSentimentDetectionJobsCommand( output, diff --git a/clients/client-comprehend/commands/ListTagsForResourceCommand.ts b/clients/client-comprehend/commands/ListTagsForResourceCommand.ts index 69faa0fdfba1..7145dc1cdd23 100644 --- a/clients/client-comprehend/commands/ListTagsForResourceCommand.ts +++ b/clients/client-comprehend/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-comprehend/commands/ListTopicsDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListTopicsDetectionJobsCommand.ts index 269c4cc8da0f..aa07e0b8d803 100644 --- a/clients/client-comprehend/commands/ListTopicsDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListTopicsDetectionJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTopicsDetectionJobsCommandInput = ListTopicsDetectionJobsRequest; @@ -70,14 +70,14 @@ export class ListTopicsDetectionJobsCommand extends $Command< private serialize( input: ListTopicsDetectionJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTopicsDetectionJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTopicsDetectionJobsCommand( output, diff --git a/clients/client-comprehend/commands/StartDocumentClassificationJobCommand.ts b/clients/client-comprehend/commands/StartDocumentClassificationJobCommand.ts index e16d1a7b1e6b..3b1d2e983ce2 100644 --- a/clients/client-comprehend/commands/StartDocumentClassificationJobCommand.ts +++ b/clients/client-comprehend/commands/StartDocumentClassificationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDocumentClassificationJobCommandInput = StartDocumentClassificationJobRequest; @@ -70,7 +70,7 @@ export class StartDocumentClassificationJobCommand extends $Command< private serialize( input: StartDocumentClassificationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartDocumentClassificationJobCommand( input, @@ -80,7 +80,7 @@ export class StartDocumentClassificationJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartDocumentClassificationJobCommand( output, diff --git a/clients/client-comprehend/commands/StartDominantLanguageDetectionJobCommand.ts b/clients/client-comprehend/commands/StartDominantLanguageDetectionJobCommand.ts index 9e31c3a2ec0c..9e809c7545d8 100644 --- a/clients/client-comprehend/commands/StartDominantLanguageDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartDominantLanguageDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDominantLanguageDetectionJobCommandInput = StartDominantLanguageDetectionJobRequest; @@ -70,7 +70,7 @@ export class StartDominantLanguageDetectionJobCommand extends $Command< private serialize( input: StartDominantLanguageDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartDominantLanguageDetectionJobCommand( input, @@ -80,7 +80,7 @@ export class StartDominantLanguageDetectionJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartDominantLanguageDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/StartEntitiesDetectionJobCommand.ts b/clients/client-comprehend/commands/StartEntitiesDetectionJobCommand.ts index 0c78e1ab189d..35166806509f 100644 --- a/clients/client-comprehend/commands/StartEntitiesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartEntitiesDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartEntitiesDetectionJobCommandInput = StartEntitiesDetectionJobRequest; @@ -70,14 +70,14 @@ export class StartEntitiesDetectionJobCommand extends $Command< private serialize( input: StartEntitiesDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartEntitiesDetectionJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartEntitiesDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/StartKeyPhrasesDetectionJobCommand.ts b/clients/client-comprehend/commands/StartKeyPhrasesDetectionJobCommand.ts index 3955f839b801..fe3f724a5272 100644 --- a/clients/client-comprehend/commands/StartKeyPhrasesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartKeyPhrasesDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartKeyPhrasesDetectionJobCommandInput = StartKeyPhrasesDetectionJobRequest; @@ -70,7 +70,7 @@ export class StartKeyPhrasesDetectionJobCommand extends $Command< private serialize( input: StartKeyPhrasesDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartKeyPhrasesDetectionJobCommand( input, @@ -80,7 +80,7 @@ export class StartKeyPhrasesDetectionJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartKeyPhrasesDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/StartSentimentDetectionJobCommand.ts b/clients/client-comprehend/commands/StartSentimentDetectionJobCommand.ts index 34214ef3761f..5dbbd21fab75 100644 --- a/clients/client-comprehend/commands/StartSentimentDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartSentimentDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartSentimentDetectionJobCommandInput = StartSentimentDetectionJobRequest; @@ -70,7 +70,7 @@ export class StartSentimentDetectionJobCommand extends $Command< private serialize( input: StartSentimentDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartSentimentDetectionJobCommand( input, @@ -80,7 +80,7 @@ export class StartSentimentDetectionJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartSentimentDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/StartTopicsDetectionJobCommand.ts b/clients/client-comprehend/commands/StartTopicsDetectionJobCommand.ts index df231f239fc2..b67cd760aa80 100644 --- a/clients/client-comprehend/commands/StartTopicsDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartTopicsDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartTopicsDetectionJobCommandInput = StartTopicsDetectionJobRequest; @@ -70,14 +70,14 @@ export class StartTopicsDetectionJobCommand extends $Command< private serialize( input: StartTopicsDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartTopicsDetectionJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartTopicsDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/StopDominantLanguageDetectionJobCommand.ts b/clients/client-comprehend/commands/StopDominantLanguageDetectionJobCommand.ts index 1d5cc1a58eb2..dfee713b675f 100644 --- a/clients/client-comprehend/commands/StopDominantLanguageDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StopDominantLanguageDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopDominantLanguageDetectionJobCommandInput = StopDominantLanguageDetectionJobRequest; @@ -70,7 +70,7 @@ export class StopDominantLanguageDetectionJobCommand extends $Command< private serialize( input: StopDominantLanguageDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopDominantLanguageDetectionJobCommand( input, @@ -80,7 +80,7 @@ export class StopDominantLanguageDetectionJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopDominantLanguageDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/StopEntitiesDetectionJobCommand.ts b/clients/client-comprehend/commands/StopEntitiesDetectionJobCommand.ts index 6cec69f24927..93fcf00557cc 100644 --- a/clients/client-comprehend/commands/StopEntitiesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StopEntitiesDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopEntitiesDetectionJobCommandInput = StopEntitiesDetectionJobRequest; @@ -70,14 +70,14 @@ export class StopEntitiesDetectionJobCommand extends $Command< private serialize( input: StopEntitiesDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopEntitiesDetectionJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopEntitiesDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/StopKeyPhrasesDetectionJobCommand.ts b/clients/client-comprehend/commands/StopKeyPhrasesDetectionJobCommand.ts index 167662cecaab..479c41b47df2 100644 --- a/clients/client-comprehend/commands/StopKeyPhrasesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StopKeyPhrasesDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopKeyPhrasesDetectionJobCommandInput = StopKeyPhrasesDetectionJobRequest; @@ -70,7 +70,7 @@ export class StopKeyPhrasesDetectionJobCommand extends $Command< private serialize( input: StopKeyPhrasesDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopKeyPhrasesDetectionJobCommand( input, @@ -80,7 +80,7 @@ export class StopKeyPhrasesDetectionJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopKeyPhrasesDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/StopSentimentDetectionJobCommand.ts b/clients/client-comprehend/commands/StopSentimentDetectionJobCommand.ts index 6bc54ad48195..7363a0e81f1f 100644 --- a/clients/client-comprehend/commands/StopSentimentDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StopSentimentDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopSentimentDetectionJobCommandInput = StopSentimentDetectionJobRequest; @@ -70,14 +70,14 @@ export class StopSentimentDetectionJobCommand extends $Command< private serialize( input: StopSentimentDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopSentimentDetectionJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopSentimentDetectionJobCommand( output, diff --git a/clients/client-comprehend/commands/StopTrainingDocumentClassifierCommand.ts b/clients/client-comprehend/commands/StopTrainingDocumentClassifierCommand.ts index 78f957736907..67faac47e290 100644 --- a/clients/client-comprehend/commands/StopTrainingDocumentClassifierCommand.ts +++ b/clients/client-comprehend/commands/StopTrainingDocumentClassifierCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopTrainingDocumentClassifierCommandInput = StopTrainingDocumentClassifierRequest; @@ -70,7 +70,7 @@ export class StopTrainingDocumentClassifierCommand extends $Command< private serialize( input: StopTrainingDocumentClassifierCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopTrainingDocumentClassifierCommand( input, @@ -80,7 +80,7 @@ export class StopTrainingDocumentClassifierCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopTrainingDocumentClassifierCommand( output, diff --git a/clients/client-comprehend/commands/StopTrainingEntityRecognizerCommand.ts b/clients/client-comprehend/commands/StopTrainingEntityRecognizerCommand.ts index b9338bae1f81..a621343a4e51 100644 --- a/clients/client-comprehend/commands/StopTrainingEntityRecognizerCommand.ts +++ b/clients/client-comprehend/commands/StopTrainingEntityRecognizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopTrainingEntityRecognizerCommandInput = StopTrainingEntityRecognizerRequest; @@ -70,7 +70,7 @@ export class StopTrainingEntityRecognizerCommand extends $Command< private serialize( input: StopTrainingEntityRecognizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopTrainingEntityRecognizerCommand( input, @@ -80,7 +80,7 @@ export class StopTrainingEntityRecognizerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopTrainingEntityRecognizerCommand( output, diff --git a/clients/client-comprehend/commands/TagResourceCommand.ts b/clients/client-comprehend/commands/TagResourceCommand.ts index b105d31b1d0c..c8c8ad7be68a 100644 --- a/clients/client-comprehend/commands/TagResourceCommand.ts +++ b/clients/client-comprehend/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-comprehend/commands/UntagResourceCommand.ts b/clients/client-comprehend/commands/UntagResourceCommand.ts index 27e2d96d3c32..237418440370 100644 --- a/clients/client-comprehend/commands/UntagResourceCommand.ts +++ b/clients/client-comprehend/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-comprehend/commands/UpdateEndpointCommand.ts b/clients/client-comprehend/commands/UpdateEndpointCommand.ts index 7354fdc8d591..da8b02c8060b 100644 --- a/clients/client-comprehend/commands/UpdateEndpointCommand.ts +++ b/clients/client-comprehend/commands/UpdateEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEndpointCommandInput = UpdateEndpointRequest; @@ -64,14 +64,14 @@ export class UpdateEndpointCommand extends $Command< private serialize( input: UpdateEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateEndpointCommand(output, context); } diff --git a/clients/client-comprehend/protocols/Aws_json1_1.ts b/clients/client-comprehend/protocols/Aws_json1_1.ts index 2547df31cc29..145dcb8879ab 100644 --- a/clients/client-comprehend/protocols/Aws_json1_1.ts +++ b/clients/client-comprehend/protocols/Aws_json1_1.ts @@ -9928,6 +9928,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-comprehendmedical/commands/DescribeEntitiesDetectionV2JobCommand.ts b/clients/client-comprehendmedical/commands/DescribeEntitiesDetectionV2JobCommand.ts index cbc033e5823d..e6b009d33be7 100644 --- a/clients/client-comprehendmedical/commands/DescribeEntitiesDetectionV2JobCommand.ts +++ b/clients/client-comprehendmedical/commands/DescribeEntitiesDetectionV2JobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEntitiesDetectionV2JobCommandInput = DescribeEntitiesDetectionV2JobRequest; @@ -70,7 +70,7 @@ export class DescribeEntitiesDetectionV2JobCommand extends $Command< private serialize( input: DescribeEntitiesDetectionV2JobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEntitiesDetectionV2JobCommand( input, @@ -80,7 +80,7 @@ export class DescribeEntitiesDetectionV2JobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommand( output, diff --git a/clients/client-comprehendmedical/commands/DescribePHIDetectionJobCommand.ts b/clients/client-comprehendmedical/commands/DescribePHIDetectionJobCommand.ts index e77fec51abfd..8b974580ee6e 100644 --- a/clients/client-comprehendmedical/commands/DescribePHIDetectionJobCommand.ts +++ b/clients/client-comprehendmedical/commands/DescribePHIDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePHIDetectionJobCommandInput = DescribePHIDetectionJobRequest; @@ -70,14 +70,14 @@ export class DescribePHIDetectionJobCommand extends $Command< private serialize( input: DescribePHIDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePHIDetectionJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePHIDetectionJobCommand( output, diff --git a/clients/client-comprehendmedical/commands/DetectEntitiesCommand.ts b/clients/client-comprehendmedical/commands/DetectEntitiesCommand.ts index 06c4756b7df7..a04be5dd4c0d 100644 --- a/clients/client-comprehendmedical/commands/DetectEntitiesCommand.ts +++ b/clients/client-comprehendmedical/commands/DetectEntitiesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectEntitiesCommandInput = DetectEntitiesRequest; @@ -64,14 +64,14 @@ export class DetectEntitiesCommand extends $Command< private serialize( input: DetectEntitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectEntitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectEntitiesCommand(output, context); } diff --git a/clients/client-comprehendmedical/commands/DetectEntitiesV2Command.ts b/clients/client-comprehendmedical/commands/DetectEntitiesV2Command.ts index 36d3dd3f35cd..7a795987709f 100644 --- a/clients/client-comprehendmedical/commands/DetectEntitiesV2Command.ts +++ b/clients/client-comprehendmedical/commands/DetectEntitiesV2Command.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectEntitiesV2CommandInput = DetectEntitiesV2Request; @@ -67,14 +67,14 @@ export class DetectEntitiesV2Command extends $Command< private serialize( input: DetectEntitiesV2CommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectEntitiesV2Command(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectEntitiesV2Command(output, context); } diff --git a/clients/client-comprehendmedical/commands/DetectPHICommand.ts b/clients/client-comprehendmedical/commands/DetectPHICommand.ts index 57a45ab79fd6..8924e6e17c63 100644 --- a/clients/client-comprehendmedical/commands/DetectPHICommand.ts +++ b/clients/client-comprehendmedical/commands/DetectPHICommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectPHICommandInput = DetectPHIRequest; @@ -64,14 +64,14 @@ export class DetectPHICommand extends $Command< private serialize( input: DetectPHICommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectPHICommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectPHICommand(output, context); } diff --git a/clients/client-comprehendmedical/commands/InferICD10CMCommand.ts b/clients/client-comprehendmedical/commands/InferICD10CMCommand.ts index a4ed79de9b79..1e9c6635ac7a 100644 --- a/clients/client-comprehendmedical/commands/InferICD10CMCommand.ts +++ b/clients/client-comprehendmedical/commands/InferICD10CMCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InferICD10CMCommandInput = InferICD10CMRequest; @@ -64,14 +64,14 @@ export class InferICD10CMCommand extends $Command< private serialize( input: InferICD10CMCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1InferICD10CMCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1InferICD10CMCommand(output, context); } diff --git a/clients/client-comprehendmedical/commands/InferRxNormCommand.ts b/clients/client-comprehendmedical/commands/InferRxNormCommand.ts index 7e5b715fd7d9..6471e0162b7e 100644 --- a/clients/client-comprehendmedical/commands/InferRxNormCommand.ts +++ b/clients/client-comprehendmedical/commands/InferRxNormCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InferRxNormCommandInput = InferRxNormRequest; @@ -64,14 +64,14 @@ export class InferRxNormCommand extends $Command< private serialize( input: InferRxNormCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1InferRxNormCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1InferRxNormCommand(output, context); } diff --git a/clients/client-comprehendmedical/commands/ListEntitiesDetectionV2JobsCommand.ts b/clients/client-comprehendmedical/commands/ListEntitiesDetectionV2JobsCommand.ts index a12d009d62c5..e5e9668a5b0b 100644 --- a/clients/client-comprehendmedical/commands/ListEntitiesDetectionV2JobsCommand.ts +++ b/clients/client-comprehendmedical/commands/ListEntitiesDetectionV2JobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEntitiesDetectionV2JobsCommandInput = ListEntitiesDetectionV2JobsRequest; @@ -70,7 +70,7 @@ export class ListEntitiesDetectionV2JobsCommand extends $Command< private serialize( input: ListEntitiesDetectionV2JobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEntitiesDetectionV2JobsCommand( input, @@ -80,7 +80,7 @@ export class ListEntitiesDetectionV2JobsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEntitiesDetectionV2JobsCommand( output, diff --git a/clients/client-comprehendmedical/commands/ListPHIDetectionJobsCommand.ts b/clients/client-comprehendmedical/commands/ListPHIDetectionJobsCommand.ts index 8dee3c243055..b03c8f3da512 100644 --- a/clients/client-comprehendmedical/commands/ListPHIDetectionJobsCommand.ts +++ b/clients/client-comprehendmedical/commands/ListPHIDetectionJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPHIDetectionJobsCommandInput = ListPHIDetectionJobsRequest; @@ -70,14 +70,14 @@ export class ListPHIDetectionJobsCommand extends $Command< private serialize( input: ListPHIDetectionJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPHIDetectionJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPHIDetectionJobsCommand(output, context); } diff --git a/clients/client-comprehendmedical/commands/StartEntitiesDetectionV2JobCommand.ts b/clients/client-comprehendmedical/commands/StartEntitiesDetectionV2JobCommand.ts index f66eb6420823..3ae879f435c6 100644 --- a/clients/client-comprehendmedical/commands/StartEntitiesDetectionV2JobCommand.ts +++ b/clients/client-comprehendmedical/commands/StartEntitiesDetectionV2JobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartEntitiesDetectionV2JobCommandInput = StartEntitiesDetectionV2JobRequest; @@ -70,7 +70,7 @@ export class StartEntitiesDetectionV2JobCommand extends $Command< private serialize( input: StartEntitiesDetectionV2JobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartEntitiesDetectionV2JobCommand( input, @@ -80,7 +80,7 @@ export class StartEntitiesDetectionV2JobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartEntitiesDetectionV2JobCommand( output, diff --git a/clients/client-comprehendmedical/commands/StartPHIDetectionJobCommand.ts b/clients/client-comprehendmedical/commands/StartPHIDetectionJobCommand.ts index 4c11efa2a518..766933410062 100644 --- a/clients/client-comprehendmedical/commands/StartPHIDetectionJobCommand.ts +++ b/clients/client-comprehendmedical/commands/StartPHIDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartPHIDetectionJobCommandInput = StartPHIDetectionJobRequest; @@ -70,14 +70,14 @@ export class StartPHIDetectionJobCommand extends $Command< private serialize( input: StartPHIDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartPHIDetectionJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartPHIDetectionJobCommand(output, context); } diff --git a/clients/client-comprehendmedical/commands/StopEntitiesDetectionV2JobCommand.ts b/clients/client-comprehendmedical/commands/StopEntitiesDetectionV2JobCommand.ts index 309e47159284..0201256436d7 100644 --- a/clients/client-comprehendmedical/commands/StopEntitiesDetectionV2JobCommand.ts +++ b/clients/client-comprehendmedical/commands/StopEntitiesDetectionV2JobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopEntitiesDetectionV2JobCommandInput = StopEntitiesDetectionV2JobRequest; @@ -70,7 +70,7 @@ export class StopEntitiesDetectionV2JobCommand extends $Command< private serialize( input: StopEntitiesDetectionV2JobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopEntitiesDetectionV2JobCommand( input, @@ -80,7 +80,7 @@ export class StopEntitiesDetectionV2JobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopEntitiesDetectionV2JobCommand( output, diff --git a/clients/client-comprehendmedical/commands/StopPHIDetectionJobCommand.ts b/clients/client-comprehendmedical/commands/StopPHIDetectionJobCommand.ts index a8059ba40dd7..f335b6d4b6b4 100644 --- a/clients/client-comprehendmedical/commands/StopPHIDetectionJobCommand.ts +++ b/clients/client-comprehendmedical/commands/StopPHIDetectionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopPHIDetectionJobCommandInput = StopPHIDetectionJobRequest; @@ -70,14 +70,14 @@ export class StopPHIDetectionJobCommand extends $Command< private serialize( input: StopPHIDetectionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopPHIDetectionJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopPHIDetectionJobCommand(output, context); } diff --git a/clients/client-comprehendmedical/protocols/Aws_json1_1.ts b/clients/client-comprehendmedical/protocols/Aws_json1_1.ts index bca4d1705807..7e9e56aaceee 100644 --- a/clients/client-comprehendmedical/protocols/Aws_json1_1.ts +++ b/clients/client-comprehendmedical/protocols/Aws_json1_1.ts @@ -2881,6 +2881,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-compute-optimizer/commands/GetAutoScalingGroupRecommendationsCommand.ts b/clients/client-compute-optimizer/commands/GetAutoScalingGroupRecommendationsCommand.ts index 6436ea05e342..8387f8878a8c 100644 --- a/clients/client-compute-optimizer/commands/GetAutoScalingGroupRecommendationsCommand.ts +++ b/clients/client-compute-optimizer/commands/GetAutoScalingGroupRecommendationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAutoScalingGroupRecommendationsCommandInput = GetAutoScalingGroupRecommendationsRequest; @@ -70,7 +70,7 @@ export class GetAutoScalingGroupRecommendationsCommand extends $Command< private serialize( input: GetAutoScalingGroupRecommendationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetAutoScalingGroupRecommendationsCommand( input, @@ -80,7 +80,7 @@ export class GetAutoScalingGroupRecommendationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetAutoScalingGroupRecommendationsCommand( output, diff --git a/clients/client-compute-optimizer/commands/GetEC2InstanceRecommendationsCommand.ts b/clients/client-compute-optimizer/commands/GetEC2InstanceRecommendationsCommand.ts index 83a4fc95fa9b..15bc157f177e 100644 --- a/clients/client-compute-optimizer/commands/GetEC2InstanceRecommendationsCommand.ts +++ b/clients/client-compute-optimizer/commands/GetEC2InstanceRecommendationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEC2InstanceRecommendationsCommandInput = GetEC2InstanceRecommendationsRequest; @@ -70,7 +70,7 @@ export class GetEC2InstanceRecommendationsCommand extends $Command< private serialize( input: GetEC2InstanceRecommendationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetEC2InstanceRecommendationsCommand( input, @@ -80,7 +80,7 @@ export class GetEC2InstanceRecommendationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetEC2InstanceRecommendationsCommand( output, diff --git a/clients/client-compute-optimizer/commands/GetEC2RecommendationProjectedMetricsCommand.ts b/clients/client-compute-optimizer/commands/GetEC2RecommendationProjectedMetricsCommand.ts index 3e7f3e1a45c9..44ca232d981b 100644 --- a/clients/client-compute-optimizer/commands/GetEC2RecommendationProjectedMetricsCommand.ts +++ b/clients/client-compute-optimizer/commands/GetEC2RecommendationProjectedMetricsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEC2RecommendationProjectedMetricsCommandInput = GetEC2RecommendationProjectedMetricsRequest; @@ -72,7 +72,7 @@ export class GetEC2RecommendationProjectedMetricsCommand extends $Command< private serialize( input: GetEC2RecommendationProjectedMetricsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetEC2RecommendationProjectedMetricsCommand( input, @@ -82,7 +82,7 @@ export class GetEC2RecommendationProjectedMetricsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetEC2RecommendationProjectedMetricsCommand( output, diff --git a/clients/client-compute-optimizer/commands/GetEnrollmentStatusCommand.ts b/clients/client-compute-optimizer/commands/GetEnrollmentStatusCommand.ts index b5f9745b458a..70dfa011cbea 100644 --- a/clients/client-compute-optimizer/commands/GetEnrollmentStatusCommand.ts +++ b/clients/client-compute-optimizer/commands/GetEnrollmentStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEnrollmentStatusCommandInput = GetEnrollmentStatusRequest; @@ -70,14 +70,14 @@ export class GetEnrollmentStatusCommand extends $Command< private serialize( input: GetEnrollmentStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetEnrollmentStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetEnrollmentStatusCommand(output, context); } diff --git a/clients/client-compute-optimizer/commands/GetRecommendationSummariesCommand.ts b/clients/client-compute-optimizer/commands/GetRecommendationSummariesCommand.ts index d66d7e7134c7..b787993f75d2 100644 --- a/clients/client-compute-optimizer/commands/GetRecommendationSummariesCommand.ts +++ b/clients/client-compute-optimizer/commands/GetRecommendationSummariesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRecommendationSummariesCommandInput = GetRecommendationSummariesRequest; @@ -70,7 +70,7 @@ export class GetRecommendationSummariesCommand extends $Command< private serialize( input: GetRecommendationSummariesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetRecommendationSummariesCommand( input, @@ -80,7 +80,7 @@ export class GetRecommendationSummariesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetRecommendationSummariesCommand( output, diff --git a/clients/client-compute-optimizer/commands/UpdateEnrollmentStatusCommand.ts b/clients/client-compute-optimizer/commands/UpdateEnrollmentStatusCommand.ts index 472006041d39..7b95006ea79b 100644 --- a/clients/client-compute-optimizer/commands/UpdateEnrollmentStatusCommand.ts +++ b/clients/client-compute-optimizer/commands/UpdateEnrollmentStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEnrollmentStatusCommandInput = UpdateEnrollmentStatusRequest; @@ -70,14 +70,14 @@ export class UpdateEnrollmentStatusCommand extends $Command< private serialize( input: UpdateEnrollmentStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UpdateEnrollmentStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UpdateEnrollmentStatusCommand(output, context); } diff --git a/clients/client-compute-optimizer/protocols/Aws_json1_0.ts b/clients/client-compute-optimizer/protocols/Aws_json1_0.ts index d62abafe6614..217cb0359372 100644 --- a/clients/client-compute-optimizer/protocols/Aws_json1_0.ts +++ b/clients/client-compute-optimizer/protocols/Aws_json1_0.ts @@ -1930,6 +1930,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-config-service/commands/BatchGetAggregateResourceConfigCommand.ts b/clients/client-config-service/commands/BatchGetAggregateResourceConfigCommand.ts index 01a50c651b37..4c2141a53f81 100644 --- a/clients/client-config-service/commands/BatchGetAggregateResourceConfigCommand.ts +++ b/clients/client-config-service/commands/BatchGetAggregateResourceConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetAggregateResourceConfigCommandInput = BatchGetAggregateResourceConfigRequest; @@ -70,7 +70,7 @@ export class BatchGetAggregateResourceConfigCommand extends $Command< private serialize( input: BatchGetAggregateResourceConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetAggregateResourceConfigCommand( input, @@ -80,7 +80,7 @@ export class BatchGetAggregateResourceConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetAggregateResourceConfigCommand( output, diff --git a/clients/client-config-service/commands/BatchGetResourceConfigCommand.ts b/clients/client-config-service/commands/BatchGetResourceConfigCommand.ts index d65e543b7eed..77ef66eeeca6 100644 --- a/clients/client-config-service/commands/BatchGetResourceConfigCommand.ts +++ b/clients/client-config-service/commands/BatchGetResourceConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetResourceConfigCommandInput = BatchGetResourceConfigRequest; @@ -70,14 +70,14 @@ export class BatchGetResourceConfigCommand extends $Command< private serialize( input: BatchGetResourceConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetResourceConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetResourceConfigCommand(output, context); } diff --git a/clients/client-config-service/commands/DeleteAggregationAuthorizationCommand.ts b/clients/client-config-service/commands/DeleteAggregationAuthorizationCommand.ts index 646b2cec0653..9165fd854849 100644 --- a/clients/client-config-service/commands/DeleteAggregationAuthorizationCommand.ts +++ b/clients/client-config-service/commands/DeleteAggregationAuthorizationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAggregationAuthorizationCommandInput = DeleteAggregationAuthorizationRequest; @@ -68,7 +68,7 @@ export class DeleteAggregationAuthorizationCommand extends $Command< private serialize( input: DeleteAggregationAuthorizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAggregationAuthorizationCommand( input, @@ -78,7 +78,7 @@ export class DeleteAggregationAuthorizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAggregationAuthorizationCommand( output, diff --git a/clients/client-config-service/commands/DeleteConfigRuleCommand.ts b/clients/client-config-service/commands/DeleteConfigRuleCommand.ts index 8c4be6b5987d..a005bb889b01 100644 --- a/clients/client-config-service/commands/DeleteConfigRuleCommand.ts +++ b/clients/client-config-service/commands/DeleteConfigRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigRuleCommandInput = DeleteConfigRuleRequest; @@ -65,14 +65,14 @@ export class DeleteConfigRuleCommand extends $Command< private serialize( input: DeleteConfigRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteConfigRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteConfigRuleCommand(output, context); } diff --git a/clients/client-config-service/commands/DeleteConfigurationAggregatorCommand.ts b/clients/client-config-service/commands/DeleteConfigurationAggregatorCommand.ts index 2dddbdb08e82..af4a311fa2b6 100644 --- a/clients/client-config-service/commands/DeleteConfigurationAggregatorCommand.ts +++ b/clients/client-config-service/commands/DeleteConfigurationAggregatorCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationAggregatorCommandInput = DeleteConfigurationAggregatorRequest; @@ -68,7 +68,7 @@ export class DeleteConfigurationAggregatorCommand extends $Command< private serialize( input: DeleteConfigurationAggregatorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteConfigurationAggregatorCommand( input, @@ -78,7 +78,7 @@ export class DeleteConfigurationAggregatorCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteConfigurationAggregatorCommand( output, diff --git a/clients/client-config-service/commands/DeleteConfigurationRecorderCommand.ts b/clients/client-config-service/commands/DeleteConfigurationRecorderCommand.ts index 41f270049fb1..db1270dec180 100644 --- a/clients/client-config-service/commands/DeleteConfigurationRecorderCommand.ts +++ b/clients/client-config-service/commands/DeleteConfigurationRecorderCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationRecorderCommandInput = DeleteConfigurationRecorderRequest; @@ -68,7 +68,7 @@ export class DeleteConfigurationRecorderCommand extends $Command< private serialize( input: DeleteConfigurationRecorderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteConfigurationRecorderCommand( input, @@ -78,7 +78,7 @@ export class DeleteConfigurationRecorderCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteConfigurationRecorderCommand( output, diff --git a/clients/client-config-service/commands/DeleteConformancePackCommand.ts b/clients/client-config-service/commands/DeleteConformancePackCommand.ts index 3adec66e9c09..7389895e6449 100644 --- a/clients/client-config-service/commands/DeleteConformancePackCommand.ts +++ b/clients/client-config-service/commands/DeleteConformancePackCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConformancePackCommandInput = DeleteConformancePackRequest; @@ -68,14 +68,14 @@ export class DeleteConformancePackCommand extends $Command< private serialize( input: DeleteConformancePackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteConformancePackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteConformancePackCommand(output, context); } diff --git a/clients/client-config-service/commands/DeleteDeliveryChannelCommand.ts b/clients/client-config-service/commands/DeleteDeliveryChannelCommand.ts index 0eae20b5cab1..793c4bc780a8 100644 --- a/clients/client-config-service/commands/DeleteDeliveryChannelCommand.ts +++ b/clients/client-config-service/commands/DeleteDeliveryChannelCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDeliveryChannelCommandInput = DeleteDeliveryChannelRequest; @@ -68,14 +68,14 @@ export class DeleteDeliveryChannelCommand extends $Command< private serialize( input: DeleteDeliveryChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDeliveryChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDeliveryChannelCommand(output, context); } diff --git a/clients/client-config-service/commands/DeleteEvaluationResultsCommand.ts b/clients/client-config-service/commands/DeleteEvaluationResultsCommand.ts index d17cc8050981..cd77b721557f 100644 --- a/clients/client-config-service/commands/DeleteEvaluationResultsCommand.ts +++ b/clients/client-config-service/commands/DeleteEvaluationResultsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEvaluationResultsCommandInput = DeleteEvaluationResultsRequest; @@ -70,14 +70,14 @@ export class DeleteEvaluationResultsCommand extends $Command< private serialize( input: DeleteEvaluationResultsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEvaluationResultsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEvaluationResultsCommand( output, diff --git a/clients/client-config-service/commands/DeleteOrganizationConfigRuleCommand.ts b/clients/client-config-service/commands/DeleteOrganizationConfigRuleCommand.ts index e5eb07ac25b4..efa993284550 100644 --- a/clients/client-config-service/commands/DeleteOrganizationConfigRuleCommand.ts +++ b/clients/client-config-service/commands/DeleteOrganizationConfigRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteOrganizationConfigRuleCommandInput = DeleteOrganizationConfigRuleRequest; @@ -68,7 +68,7 @@ export class DeleteOrganizationConfigRuleCommand extends $Command< private serialize( input: DeleteOrganizationConfigRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteOrganizationConfigRuleCommand( input, @@ -78,7 +78,7 @@ export class DeleteOrganizationConfigRuleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteOrganizationConfigRuleCommand( output, diff --git a/clients/client-config-service/commands/DeleteOrganizationConformancePackCommand.ts b/clients/client-config-service/commands/DeleteOrganizationConformancePackCommand.ts index d7707c42314f..5e702729ce14 100644 --- a/clients/client-config-service/commands/DeleteOrganizationConformancePackCommand.ts +++ b/clients/client-config-service/commands/DeleteOrganizationConformancePackCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteOrganizationConformancePackCommandInput = DeleteOrganizationConformancePackRequest; @@ -68,7 +68,7 @@ export class DeleteOrganizationConformancePackCommand extends $Command< private serialize( input: DeleteOrganizationConformancePackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteOrganizationConformancePackCommand( input, @@ -78,7 +78,7 @@ export class DeleteOrganizationConformancePackCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteOrganizationConformancePackCommand( output, diff --git a/clients/client-config-service/commands/DeletePendingAggregationRequestCommand.ts b/clients/client-config-service/commands/DeletePendingAggregationRequestCommand.ts index f6e0528aa672..1fc01a420439 100644 --- a/clients/client-config-service/commands/DeletePendingAggregationRequestCommand.ts +++ b/clients/client-config-service/commands/DeletePendingAggregationRequestCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePendingAggregationRequestCommandInput = DeletePendingAggregationRequestRequest; @@ -68,7 +68,7 @@ export class DeletePendingAggregationRequestCommand extends $Command< private serialize( input: DeletePendingAggregationRequestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePendingAggregationRequestCommand( input, @@ -78,7 +78,7 @@ export class DeletePendingAggregationRequestCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePendingAggregationRequestCommand( output, diff --git a/clients/client-config-service/commands/DeleteRemediationConfigurationCommand.ts b/clients/client-config-service/commands/DeleteRemediationConfigurationCommand.ts index 7fbc78164482..58bd74bc830a 100644 --- a/clients/client-config-service/commands/DeleteRemediationConfigurationCommand.ts +++ b/clients/client-config-service/commands/DeleteRemediationConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRemediationConfigurationCommandInput = DeleteRemediationConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteRemediationConfigurationCommand extends $Command< private serialize( input: DeleteRemediationConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRemediationConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteRemediationConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRemediationConfigurationCommand( output, diff --git a/clients/client-config-service/commands/DeleteRemediationExceptionsCommand.ts b/clients/client-config-service/commands/DeleteRemediationExceptionsCommand.ts index a84998de4a0f..a16a921656e1 100644 --- a/clients/client-config-service/commands/DeleteRemediationExceptionsCommand.ts +++ b/clients/client-config-service/commands/DeleteRemediationExceptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRemediationExceptionsCommandInput = DeleteRemediationExceptionsRequest; @@ -70,7 +70,7 @@ export class DeleteRemediationExceptionsCommand extends $Command< private serialize( input: DeleteRemediationExceptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRemediationExceptionsCommand( input, @@ -80,7 +80,7 @@ export class DeleteRemediationExceptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRemediationExceptionsCommand( output, diff --git a/clients/client-config-service/commands/DeleteResourceConfigCommand.ts b/clients/client-config-service/commands/DeleteResourceConfigCommand.ts index d0991de15355..1991203fba91 100644 --- a/clients/client-config-service/commands/DeleteResourceConfigCommand.ts +++ b/clients/client-config-service/commands/DeleteResourceConfigCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResourceConfigCommandInput = DeleteResourceConfigRequest; @@ -68,14 +68,14 @@ export class DeleteResourceConfigCommand extends $Command< private serialize( input: DeleteResourceConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteResourceConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteResourceConfigCommand(output, context); } diff --git a/clients/client-config-service/commands/DeleteRetentionConfigurationCommand.ts b/clients/client-config-service/commands/DeleteRetentionConfigurationCommand.ts index d7b39f63ddd6..2a4945da1eff 100644 --- a/clients/client-config-service/commands/DeleteRetentionConfigurationCommand.ts +++ b/clients/client-config-service/commands/DeleteRetentionConfigurationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRetentionConfigurationCommandInput = DeleteRetentionConfigurationRequest; @@ -68,7 +68,7 @@ export class DeleteRetentionConfigurationCommand extends $Command< private serialize( input: DeleteRetentionConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRetentionConfigurationCommand( input, @@ -78,7 +78,7 @@ export class DeleteRetentionConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRetentionConfigurationCommand( output, diff --git a/clients/client-config-service/commands/DeliverConfigSnapshotCommand.ts b/clients/client-config-service/commands/DeliverConfigSnapshotCommand.ts index 0b5946760242..07f0b1eb6c61 100644 --- a/clients/client-config-service/commands/DeliverConfigSnapshotCommand.ts +++ b/clients/client-config-service/commands/DeliverConfigSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeliverConfigSnapshotCommandInput = DeliverConfigSnapshotRequest; @@ -70,14 +70,14 @@ export class DeliverConfigSnapshotCommand extends $Command< private serialize( input: DeliverConfigSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeliverConfigSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeliverConfigSnapshotCommand(output, context); } diff --git a/clients/client-config-service/commands/DescribeAggregateComplianceByConfigRulesCommand.ts b/clients/client-config-service/commands/DescribeAggregateComplianceByConfigRulesCommand.ts index 3727efad1c7e..cf616fc8d797 100644 --- a/clients/client-config-service/commands/DescribeAggregateComplianceByConfigRulesCommand.ts +++ b/clients/client-config-service/commands/DescribeAggregateComplianceByConfigRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAggregateComplianceByConfigRulesCommandInput = DescribeAggregateComplianceByConfigRulesRequest; @@ -72,7 +72,7 @@ export class DescribeAggregateComplianceByConfigRulesCommand extends $Command< private serialize( input: DescribeAggregateComplianceByConfigRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommand( input, @@ -82,7 +82,7 @@ export class DescribeAggregateComplianceByConfigRulesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommand( output, diff --git a/clients/client-config-service/commands/DescribeAggregationAuthorizationsCommand.ts b/clients/client-config-service/commands/DescribeAggregationAuthorizationsCommand.ts index db2ab55c5e84..3e0cf0156c16 100644 --- a/clients/client-config-service/commands/DescribeAggregationAuthorizationsCommand.ts +++ b/clients/client-config-service/commands/DescribeAggregationAuthorizationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAggregationAuthorizationsCommandInput = DescribeAggregationAuthorizationsRequest; @@ -70,7 +70,7 @@ export class DescribeAggregationAuthorizationsCommand extends $Command< private serialize( input: DescribeAggregationAuthorizationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAggregationAuthorizationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeAggregationAuthorizationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAggregationAuthorizationsCommand( output, diff --git a/clients/client-config-service/commands/DescribeComplianceByConfigRuleCommand.ts b/clients/client-config-service/commands/DescribeComplianceByConfigRuleCommand.ts index 0cbf754e95d1..4e590638c9d7 100644 --- a/clients/client-config-service/commands/DescribeComplianceByConfigRuleCommand.ts +++ b/clients/client-config-service/commands/DescribeComplianceByConfigRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeComplianceByConfigRuleCommandInput = DescribeComplianceByConfigRuleRequest; @@ -70,7 +70,7 @@ export class DescribeComplianceByConfigRuleCommand extends $Command< private serialize( input: DescribeComplianceByConfigRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeComplianceByConfigRuleCommand( input, @@ -80,7 +80,7 @@ export class DescribeComplianceByConfigRuleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeComplianceByConfigRuleCommand( output, diff --git a/clients/client-config-service/commands/DescribeComplianceByResourceCommand.ts b/clients/client-config-service/commands/DescribeComplianceByResourceCommand.ts index 526ab0edf1b6..e98b410314f8 100644 --- a/clients/client-config-service/commands/DescribeComplianceByResourceCommand.ts +++ b/clients/client-config-service/commands/DescribeComplianceByResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeComplianceByResourceCommandInput = DescribeComplianceByResourceRequest; @@ -70,7 +70,7 @@ export class DescribeComplianceByResourceCommand extends $Command< private serialize( input: DescribeComplianceByResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeComplianceByResourceCommand( input, @@ -80,7 +80,7 @@ export class DescribeComplianceByResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeComplianceByResourceCommand( output, diff --git a/clients/client-config-service/commands/DescribeConfigRuleEvaluationStatusCommand.ts b/clients/client-config-service/commands/DescribeConfigRuleEvaluationStatusCommand.ts index f747cd1e882d..9f14801d6ecd 100644 --- a/clients/client-config-service/commands/DescribeConfigRuleEvaluationStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigRuleEvaluationStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigRuleEvaluationStatusCommandInput = DescribeConfigRuleEvaluationStatusRequest; @@ -70,7 +70,7 @@ export class DescribeConfigRuleEvaluationStatusCommand extends $Command< private serialize( input: DescribeConfigRuleEvaluationStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConfigRuleEvaluationStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribeConfigRuleEvaluationStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConfigRuleEvaluationStatusCommand( output, diff --git a/clients/client-config-service/commands/DescribeConfigRulesCommand.ts b/clients/client-config-service/commands/DescribeConfigRulesCommand.ts index 36d77173ce28..db952b1904dd 100644 --- a/clients/client-config-service/commands/DescribeConfigRulesCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigRulesCommandInput = DescribeConfigRulesRequest; @@ -70,14 +70,14 @@ export class DescribeConfigRulesCommand extends $Command< private serialize( input: DescribeConfigRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConfigRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConfigRulesCommand(output, context); } diff --git a/clients/client-config-service/commands/DescribeConfigurationAggregatorSourcesStatusCommand.ts b/clients/client-config-service/commands/DescribeConfigurationAggregatorSourcesStatusCommand.ts index caaadcdfcb41..a661bae55ba4 100644 --- a/clients/client-config-service/commands/DescribeConfigurationAggregatorSourcesStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigurationAggregatorSourcesStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationAggregatorSourcesStatusCommandInput = DescribeConfigurationAggregatorSourcesStatusRequest; @@ -72,7 +72,7 @@ export class DescribeConfigurationAggregatorSourcesStatusCommand extends $Comman private serialize( input: DescribeConfigurationAggregatorSourcesStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommand( input, @@ -82,7 +82,7 @@ export class DescribeConfigurationAggregatorSourcesStatusCommand extends $Comman private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommand( output, diff --git a/clients/client-config-service/commands/DescribeConfigurationAggregatorsCommand.ts b/clients/client-config-service/commands/DescribeConfigurationAggregatorsCommand.ts index 04113bd13295..0d466e36ea71 100644 --- a/clients/client-config-service/commands/DescribeConfigurationAggregatorsCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigurationAggregatorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationAggregatorsCommandInput = DescribeConfigurationAggregatorsRequest; @@ -70,7 +70,7 @@ export class DescribeConfigurationAggregatorsCommand extends $Command< private serialize( input: DescribeConfigurationAggregatorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConfigurationAggregatorsCommand( input, @@ -80,7 +80,7 @@ export class DescribeConfigurationAggregatorsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConfigurationAggregatorsCommand( output, diff --git a/clients/client-config-service/commands/DescribeConfigurationRecorderStatusCommand.ts b/clients/client-config-service/commands/DescribeConfigurationRecorderStatusCommand.ts index b358374da3bd..9aad9791ed46 100644 --- a/clients/client-config-service/commands/DescribeConfigurationRecorderStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigurationRecorderStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationRecorderStatusCommandInput = DescribeConfigurationRecorderStatusRequest; @@ -70,7 +70,7 @@ export class DescribeConfigurationRecorderStatusCommand extends $Command< private serialize( input: DescribeConfigurationRecorderStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConfigurationRecorderStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribeConfigurationRecorderStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConfigurationRecorderStatusCommand( output, diff --git a/clients/client-config-service/commands/DescribeConfigurationRecordersCommand.ts b/clients/client-config-service/commands/DescribeConfigurationRecordersCommand.ts index 6c1424f408cc..e16133ad274e 100644 --- a/clients/client-config-service/commands/DescribeConfigurationRecordersCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigurationRecordersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationRecordersCommandInput = DescribeConfigurationRecordersRequest; @@ -70,7 +70,7 @@ export class DescribeConfigurationRecordersCommand extends $Command< private serialize( input: DescribeConfigurationRecordersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConfigurationRecordersCommand( input, @@ -80,7 +80,7 @@ export class DescribeConfigurationRecordersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConfigurationRecordersCommand( output, diff --git a/clients/client-config-service/commands/DescribeConformancePackComplianceCommand.ts b/clients/client-config-service/commands/DescribeConformancePackComplianceCommand.ts index 3dc6915424de..02687a43ca14 100644 --- a/clients/client-config-service/commands/DescribeConformancePackComplianceCommand.ts +++ b/clients/client-config-service/commands/DescribeConformancePackComplianceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConformancePackComplianceCommandInput = DescribeConformancePackComplianceRequest; @@ -70,7 +70,7 @@ export class DescribeConformancePackComplianceCommand extends $Command< private serialize( input: DescribeConformancePackComplianceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConformancePackComplianceCommand( input, @@ -80,7 +80,7 @@ export class DescribeConformancePackComplianceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConformancePackComplianceCommand( output, diff --git a/clients/client-config-service/commands/DescribeConformancePackStatusCommand.ts b/clients/client-config-service/commands/DescribeConformancePackStatusCommand.ts index 23a1664da497..0b50ac83bd4f 100644 --- a/clients/client-config-service/commands/DescribeConformancePackStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeConformancePackStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConformancePackStatusCommandInput = DescribeConformancePackStatusRequest; @@ -70,7 +70,7 @@ export class DescribeConformancePackStatusCommand extends $Command< private serialize( input: DescribeConformancePackStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConformancePackStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribeConformancePackStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConformancePackStatusCommand( output, diff --git a/clients/client-config-service/commands/DescribeConformancePacksCommand.ts b/clients/client-config-service/commands/DescribeConformancePacksCommand.ts index d024109a732d..f4a7f651c597 100644 --- a/clients/client-config-service/commands/DescribeConformancePacksCommand.ts +++ b/clients/client-config-service/commands/DescribeConformancePacksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConformancePacksCommandInput = DescribeConformancePacksRequest; @@ -70,14 +70,14 @@ export class DescribeConformancePacksCommand extends $Command< private serialize( input: DescribeConformancePacksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConformancePacksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConformancePacksCommand( output, diff --git a/clients/client-config-service/commands/DescribeDeliveryChannelStatusCommand.ts b/clients/client-config-service/commands/DescribeDeliveryChannelStatusCommand.ts index cb641b07a403..168d12289b1b 100644 --- a/clients/client-config-service/commands/DescribeDeliveryChannelStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeDeliveryChannelStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDeliveryChannelStatusCommandInput = DescribeDeliveryChannelStatusRequest; @@ -70,7 +70,7 @@ export class DescribeDeliveryChannelStatusCommand extends $Command< private serialize( input: DescribeDeliveryChannelStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDeliveryChannelStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribeDeliveryChannelStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDeliveryChannelStatusCommand( output, diff --git a/clients/client-config-service/commands/DescribeDeliveryChannelsCommand.ts b/clients/client-config-service/commands/DescribeDeliveryChannelsCommand.ts index 8f4e2b101415..289319b350f9 100644 --- a/clients/client-config-service/commands/DescribeDeliveryChannelsCommand.ts +++ b/clients/client-config-service/commands/DescribeDeliveryChannelsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDeliveryChannelsCommandInput = DescribeDeliveryChannelsRequest; @@ -70,14 +70,14 @@ export class DescribeDeliveryChannelsCommand extends $Command< private serialize( input: DescribeDeliveryChannelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDeliveryChannelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDeliveryChannelsCommand( output, diff --git a/clients/client-config-service/commands/DescribeOrganizationConfigRuleStatusesCommand.ts b/clients/client-config-service/commands/DescribeOrganizationConfigRuleStatusesCommand.ts index 6b731f1c7a79..8c5e41c8e0c8 100644 --- a/clients/client-config-service/commands/DescribeOrganizationConfigRuleStatusesCommand.ts +++ b/clients/client-config-service/commands/DescribeOrganizationConfigRuleStatusesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrganizationConfigRuleStatusesCommandInput = DescribeOrganizationConfigRuleStatusesRequest; @@ -72,7 +72,7 @@ export class DescribeOrganizationConfigRuleStatusesCommand extends $Command< private serialize( input: DescribeOrganizationConfigRuleStatusesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommand( input, @@ -82,7 +82,7 @@ export class DescribeOrganizationConfigRuleStatusesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommand( output, diff --git a/clients/client-config-service/commands/DescribeOrganizationConfigRulesCommand.ts b/clients/client-config-service/commands/DescribeOrganizationConfigRulesCommand.ts index 8923d11f226a..cf33776b0df1 100644 --- a/clients/client-config-service/commands/DescribeOrganizationConfigRulesCommand.ts +++ b/clients/client-config-service/commands/DescribeOrganizationConfigRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrganizationConfigRulesCommandInput = DescribeOrganizationConfigRulesRequest; @@ -70,7 +70,7 @@ export class DescribeOrganizationConfigRulesCommand extends $Command< private serialize( input: DescribeOrganizationConfigRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeOrganizationConfigRulesCommand( input, @@ -80,7 +80,7 @@ export class DescribeOrganizationConfigRulesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeOrganizationConfigRulesCommand( output, diff --git a/clients/client-config-service/commands/DescribeOrganizationConformancePackStatusesCommand.ts b/clients/client-config-service/commands/DescribeOrganizationConformancePackStatusesCommand.ts index 2299f7528a87..3ca70b66845d 100644 --- a/clients/client-config-service/commands/DescribeOrganizationConformancePackStatusesCommand.ts +++ b/clients/client-config-service/commands/DescribeOrganizationConformancePackStatusesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrganizationConformancePackStatusesCommandInput = DescribeOrganizationConformancePackStatusesRequest; @@ -72,7 +72,7 @@ export class DescribeOrganizationConformancePackStatusesCommand extends $Command private serialize( input: DescribeOrganizationConformancePackStatusesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeOrganizationConformancePackStatusesCommand( input, @@ -82,7 +82,7 @@ export class DescribeOrganizationConformancePackStatusesCommand extends $Command private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeOrganizationConformancePackStatusesCommand( output, diff --git a/clients/client-config-service/commands/DescribeOrganizationConformancePacksCommand.ts b/clients/client-config-service/commands/DescribeOrganizationConformancePacksCommand.ts index f425816377c9..c138f16e54a4 100644 --- a/clients/client-config-service/commands/DescribeOrganizationConformancePacksCommand.ts +++ b/clients/client-config-service/commands/DescribeOrganizationConformancePacksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrganizationConformancePacksCommandInput = DescribeOrganizationConformancePacksRequest; @@ -72,7 +72,7 @@ export class DescribeOrganizationConformancePacksCommand extends $Command< private serialize( input: DescribeOrganizationConformancePacksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeOrganizationConformancePacksCommand( input, @@ -82,7 +82,7 @@ export class DescribeOrganizationConformancePacksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeOrganizationConformancePacksCommand( output, diff --git a/clients/client-config-service/commands/DescribePendingAggregationRequestsCommand.ts b/clients/client-config-service/commands/DescribePendingAggregationRequestsCommand.ts index d5c696c34080..0b605d0fc086 100644 --- a/clients/client-config-service/commands/DescribePendingAggregationRequestsCommand.ts +++ b/clients/client-config-service/commands/DescribePendingAggregationRequestsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePendingAggregationRequestsCommandInput = DescribePendingAggregationRequestsRequest; @@ -70,7 +70,7 @@ export class DescribePendingAggregationRequestsCommand extends $Command< private serialize( input: DescribePendingAggregationRequestsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePendingAggregationRequestsCommand( input, @@ -80,7 +80,7 @@ export class DescribePendingAggregationRequestsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePendingAggregationRequestsCommand( output, diff --git a/clients/client-config-service/commands/DescribeRemediationConfigurationsCommand.ts b/clients/client-config-service/commands/DescribeRemediationConfigurationsCommand.ts index 52527ec4682b..7be87ebab076 100644 --- a/clients/client-config-service/commands/DescribeRemediationConfigurationsCommand.ts +++ b/clients/client-config-service/commands/DescribeRemediationConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRemediationConfigurationsCommandInput = DescribeRemediationConfigurationsRequest; @@ -70,7 +70,7 @@ export class DescribeRemediationConfigurationsCommand extends $Command< private serialize( input: DescribeRemediationConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRemediationConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeRemediationConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRemediationConfigurationsCommand( output, diff --git a/clients/client-config-service/commands/DescribeRemediationExceptionsCommand.ts b/clients/client-config-service/commands/DescribeRemediationExceptionsCommand.ts index 57046f09b1c5..ec898d647f89 100644 --- a/clients/client-config-service/commands/DescribeRemediationExceptionsCommand.ts +++ b/clients/client-config-service/commands/DescribeRemediationExceptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRemediationExceptionsCommandInput = DescribeRemediationExceptionsRequest; @@ -70,7 +70,7 @@ export class DescribeRemediationExceptionsCommand extends $Command< private serialize( input: DescribeRemediationExceptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRemediationExceptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeRemediationExceptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRemediationExceptionsCommand( output, diff --git a/clients/client-config-service/commands/DescribeRemediationExecutionStatusCommand.ts b/clients/client-config-service/commands/DescribeRemediationExecutionStatusCommand.ts index ae4dbd855859..9f78cbd67c31 100644 --- a/clients/client-config-service/commands/DescribeRemediationExecutionStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeRemediationExecutionStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRemediationExecutionStatusCommandInput = DescribeRemediationExecutionStatusRequest; @@ -70,7 +70,7 @@ export class DescribeRemediationExecutionStatusCommand extends $Command< private serialize( input: DescribeRemediationExecutionStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRemediationExecutionStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribeRemediationExecutionStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRemediationExecutionStatusCommand( output, diff --git a/clients/client-config-service/commands/DescribeRetentionConfigurationsCommand.ts b/clients/client-config-service/commands/DescribeRetentionConfigurationsCommand.ts index 93cf2c4eed1b..28dc888b5865 100644 --- a/clients/client-config-service/commands/DescribeRetentionConfigurationsCommand.ts +++ b/clients/client-config-service/commands/DescribeRetentionConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRetentionConfigurationsCommandInput = DescribeRetentionConfigurationsRequest; @@ -70,7 +70,7 @@ export class DescribeRetentionConfigurationsCommand extends $Command< private serialize( input: DescribeRetentionConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRetentionConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeRetentionConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRetentionConfigurationsCommand( output, diff --git a/clients/client-config-service/commands/GetAggregateComplianceDetailsByConfigRuleCommand.ts b/clients/client-config-service/commands/GetAggregateComplianceDetailsByConfigRuleCommand.ts index f29c59dcdd21..5a0cf967614a 100644 --- a/clients/client-config-service/commands/GetAggregateComplianceDetailsByConfigRuleCommand.ts +++ b/clients/client-config-service/commands/GetAggregateComplianceDetailsByConfigRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAggregateComplianceDetailsByConfigRuleCommandInput = GetAggregateComplianceDetailsByConfigRuleRequest; @@ -72,7 +72,7 @@ export class GetAggregateComplianceDetailsByConfigRuleCommand extends $Command< private serialize( input: GetAggregateComplianceDetailsByConfigRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommand( input, @@ -82,7 +82,7 @@ export class GetAggregateComplianceDetailsByConfigRuleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommand( output, diff --git a/clients/client-config-service/commands/GetAggregateConfigRuleComplianceSummaryCommand.ts b/clients/client-config-service/commands/GetAggregateConfigRuleComplianceSummaryCommand.ts index 71c3a1bf3d6a..c6acd16dba46 100644 --- a/clients/client-config-service/commands/GetAggregateConfigRuleComplianceSummaryCommand.ts +++ b/clients/client-config-service/commands/GetAggregateConfigRuleComplianceSummaryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAggregateConfigRuleComplianceSummaryCommandInput = GetAggregateConfigRuleComplianceSummaryRequest; @@ -72,7 +72,7 @@ export class GetAggregateConfigRuleComplianceSummaryCommand extends $Command< private serialize( input: GetAggregateConfigRuleComplianceSummaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommand( input, @@ -82,7 +82,7 @@ export class GetAggregateConfigRuleComplianceSummaryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommand( output, diff --git a/clients/client-config-service/commands/GetAggregateDiscoveredResourceCountsCommand.ts b/clients/client-config-service/commands/GetAggregateDiscoveredResourceCountsCommand.ts index dde47747ecca..493017d24eac 100644 --- a/clients/client-config-service/commands/GetAggregateDiscoveredResourceCountsCommand.ts +++ b/clients/client-config-service/commands/GetAggregateDiscoveredResourceCountsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAggregateDiscoveredResourceCountsCommandInput = GetAggregateDiscoveredResourceCountsRequest; @@ -72,7 +72,7 @@ export class GetAggregateDiscoveredResourceCountsCommand extends $Command< private serialize( input: GetAggregateDiscoveredResourceCountsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAggregateDiscoveredResourceCountsCommand( input, @@ -82,7 +82,7 @@ export class GetAggregateDiscoveredResourceCountsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAggregateDiscoveredResourceCountsCommand( output, diff --git a/clients/client-config-service/commands/GetAggregateResourceConfigCommand.ts b/clients/client-config-service/commands/GetAggregateResourceConfigCommand.ts index ddfdb7d48962..f2ffb5a08ed8 100644 --- a/clients/client-config-service/commands/GetAggregateResourceConfigCommand.ts +++ b/clients/client-config-service/commands/GetAggregateResourceConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAggregateResourceConfigCommandInput = GetAggregateResourceConfigRequest; @@ -70,7 +70,7 @@ export class GetAggregateResourceConfigCommand extends $Command< private serialize( input: GetAggregateResourceConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAggregateResourceConfigCommand( input, @@ -80,7 +80,7 @@ export class GetAggregateResourceConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAggregateResourceConfigCommand( output, diff --git a/clients/client-config-service/commands/GetComplianceDetailsByConfigRuleCommand.ts b/clients/client-config-service/commands/GetComplianceDetailsByConfigRuleCommand.ts index e2b939a22be5..f2014602b38e 100644 --- a/clients/client-config-service/commands/GetComplianceDetailsByConfigRuleCommand.ts +++ b/clients/client-config-service/commands/GetComplianceDetailsByConfigRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetComplianceDetailsByConfigRuleCommandInput = GetComplianceDetailsByConfigRuleRequest; @@ -70,7 +70,7 @@ export class GetComplianceDetailsByConfigRuleCommand extends $Command< private serialize( input: GetComplianceDetailsByConfigRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetComplianceDetailsByConfigRuleCommand( input, @@ -80,7 +80,7 @@ export class GetComplianceDetailsByConfigRuleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetComplianceDetailsByConfigRuleCommand( output, diff --git a/clients/client-config-service/commands/GetComplianceDetailsByResourceCommand.ts b/clients/client-config-service/commands/GetComplianceDetailsByResourceCommand.ts index 447060131d66..c10bade0dc15 100644 --- a/clients/client-config-service/commands/GetComplianceDetailsByResourceCommand.ts +++ b/clients/client-config-service/commands/GetComplianceDetailsByResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetComplianceDetailsByResourceCommandInput = GetComplianceDetailsByResourceRequest; @@ -70,7 +70,7 @@ export class GetComplianceDetailsByResourceCommand extends $Command< private serialize( input: GetComplianceDetailsByResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetComplianceDetailsByResourceCommand( input, @@ -80,7 +80,7 @@ export class GetComplianceDetailsByResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetComplianceDetailsByResourceCommand( output, diff --git a/clients/client-config-service/commands/GetComplianceSummaryByConfigRuleCommand.ts b/clients/client-config-service/commands/GetComplianceSummaryByConfigRuleCommand.ts index 38131b15aebc..2aaecee3cdb2 100644 --- a/clients/client-config-service/commands/GetComplianceSummaryByConfigRuleCommand.ts +++ b/clients/client-config-service/commands/GetComplianceSummaryByConfigRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetComplianceSummaryByConfigRuleCommandInput = {}; @@ -67,7 +67,7 @@ export class GetComplianceSummaryByConfigRuleCommand extends $Command< private serialize( input: GetComplianceSummaryByConfigRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetComplianceSummaryByConfigRuleCommand( input, @@ -77,7 +77,7 @@ export class GetComplianceSummaryByConfigRuleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetComplianceSummaryByConfigRuleCommand( output, diff --git a/clients/client-config-service/commands/GetComplianceSummaryByResourceTypeCommand.ts b/clients/client-config-service/commands/GetComplianceSummaryByResourceTypeCommand.ts index 46e1f9ab00b4..8e10f8b02d47 100644 --- a/clients/client-config-service/commands/GetComplianceSummaryByResourceTypeCommand.ts +++ b/clients/client-config-service/commands/GetComplianceSummaryByResourceTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetComplianceSummaryByResourceTypeCommandInput = GetComplianceSummaryByResourceTypeRequest; @@ -70,7 +70,7 @@ export class GetComplianceSummaryByResourceTypeCommand extends $Command< private serialize( input: GetComplianceSummaryByResourceTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetComplianceSummaryByResourceTypeCommand( input, @@ -80,7 +80,7 @@ export class GetComplianceSummaryByResourceTypeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetComplianceSummaryByResourceTypeCommand( output, diff --git a/clients/client-config-service/commands/GetConformancePackComplianceDetailsCommand.ts b/clients/client-config-service/commands/GetConformancePackComplianceDetailsCommand.ts index 5d3d1251739f..dcb3b08d3e54 100644 --- a/clients/client-config-service/commands/GetConformancePackComplianceDetailsCommand.ts +++ b/clients/client-config-service/commands/GetConformancePackComplianceDetailsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConformancePackComplianceDetailsCommandInput = GetConformancePackComplianceDetailsRequest; @@ -70,7 +70,7 @@ export class GetConformancePackComplianceDetailsCommand extends $Command< private serialize( input: GetConformancePackComplianceDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetConformancePackComplianceDetailsCommand( input, @@ -80,7 +80,7 @@ export class GetConformancePackComplianceDetailsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetConformancePackComplianceDetailsCommand( output, diff --git a/clients/client-config-service/commands/GetConformancePackComplianceSummaryCommand.ts b/clients/client-config-service/commands/GetConformancePackComplianceSummaryCommand.ts index 063eb22239be..0efe51aa5d62 100644 --- a/clients/client-config-service/commands/GetConformancePackComplianceSummaryCommand.ts +++ b/clients/client-config-service/commands/GetConformancePackComplianceSummaryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConformancePackComplianceSummaryCommandInput = GetConformancePackComplianceSummaryRequest; @@ -70,7 +70,7 @@ export class GetConformancePackComplianceSummaryCommand extends $Command< private serialize( input: GetConformancePackComplianceSummaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetConformancePackComplianceSummaryCommand( input, @@ -80,7 +80,7 @@ export class GetConformancePackComplianceSummaryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetConformancePackComplianceSummaryCommand( output, diff --git a/clients/client-config-service/commands/GetDiscoveredResourceCountsCommand.ts b/clients/client-config-service/commands/GetDiscoveredResourceCountsCommand.ts index c2cd6d26b0da..0a566a770c6f 100644 --- a/clients/client-config-service/commands/GetDiscoveredResourceCountsCommand.ts +++ b/clients/client-config-service/commands/GetDiscoveredResourceCountsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDiscoveredResourceCountsCommandInput = GetDiscoveredResourceCountsRequest; @@ -70,7 +70,7 @@ export class GetDiscoveredResourceCountsCommand extends $Command< private serialize( input: GetDiscoveredResourceCountsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDiscoveredResourceCountsCommand( input, @@ -80,7 +80,7 @@ export class GetDiscoveredResourceCountsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDiscoveredResourceCountsCommand( output, diff --git a/clients/client-config-service/commands/GetOrganizationConfigRuleDetailedStatusCommand.ts b/clients/client-config-service/commands/GetOrganizationConfigRuleDetailedStatusCommand.ts index c722f078f8db..454d8460df3e 100644 --- a/clients/client-config-service/commands/GetOrganizationConfigRuleDetailedStatusCommand.ts +++ b/clients/client-config-service/commands/GetOrganizationConfigRuleDetailedStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOrganizationConfigRuleDetailedStatusCommandInput = GetOrganizationConfigRuleDetailedStatusRequest; @@ -72,7 +72,7 @@ export class GetOrganizationConfigRuleDetailedStatusCommand extends $Command< private serialize( input: GetOrganizationConfigRuleDetailedStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand( input, @@ -82,7 +82,7 @@ export class GetOrganizationConfigRuleDetailedStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand( output, diff --git a/clients/client-config-service/commands/GetOrganizationConformancePackDetailedStatusCommand.ts b/clients/client-config-service/commands/GetOrganizationConformancePackDetailedStatusCommand.ts index 7946377ff365..830ea8626267 100644 --- a/clients/client-config-service/commands/GetOrganizationConformancePackDetailedStatusCommand.ts +++ b/clients/client-config-service/commands/GetOrganizationConformancePackDetailedStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOrganizationConformancePackDetailedStatusCommandInput = GetOrganizationConformancePackDetailedStatusRequest; @@ -72,7 +72,7 @@ export class GetOrganizationConformancePackDetailedStatusCommand extends $Comman private serialize( input: GetOrganizationConformancePackDetailedStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand( input, @@ -82,7 +82,7 @@ export class GetOrganizationConformancePackDetailedStatusCommand extends $Comman private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand( output, diff --git a/clients/client-config-service/commands/GetResourceConfigHistoryCommand.ts b/clients/client-config-service/commands/GetResourceConfigHistoryCommand.ts index 0c949623ff2f..0723afc71b36 100644 --- a/clients/client-config-service/commands/GetResourceConfigHistoryCommand.ts +++ b/clients/client-config-service/commands/GetResourceConfigHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourceConfigHistoryCommandInput = GetResourceConfigHistoryRequest; @@ -70,14 +70,14 @@ export class GetResourceConfigHistoryCommand extends $Command< private serialize( input: GetResourceConfigHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetResourceConfigHistoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetResourceConfigHistoryCommand( output, diff --git a/clients/client-config-service/commands/ListAggregateDiscoveredResourcesCommand.ts b/clients/client-config-service/commands/ListAggregateDiscoveredResourcesCommand.ts index de5a591563bf..d45f4b77bcd7 100644 --- a/clients/client-config-service/commands/ListAggregateDiscoveredResourcesCommand.ts +++ b/clients/client-config-service/commands/ListAggregateDiscoveredResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAggregateDiscoveredResourcesCommandInput = ListAggregateDiscoveredResourcesRequest; @@ -70,7 +70,7 @@ export class ListAggregateDiscoveredResourcesCommand extends $Command< private serialize( input: ListAggregateDiscoveredResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAggregateDiscoveredResourcesCommand( input, @@ -80,7 +80,7 @@ export class ListAggregateDiscoveredResourcesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAggregateDiscoveredResourcesCommand( output, diff --git a/clients/client-config-service/commands/ListDiscoveredResourcesCommand.ts b/clients/client-config-service/commands/ListDiscoveredResourcesCommand.ts index 889915b38693..c460e259a8c6 100644 --- a/clients/client-config-service/commands/ListDiscoveredResourcesCommand.ts +++ b/clients/client-config-service/commands/ListDiscoveredResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDiscoveredResourcesCommandInput = ListDiscoveredResourcesRequest; @@ -70,14 +70,14 @@ export class ListDiscoveredResourcesCommand extends $Command< private serialize( input: ListDiscoveredResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDiscoveredResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDiscoveredResourcesCommand( output, diff --git a/clients/client-config-service/commands/ListTagsForResourceCommand.ts b/clients/client-config-service/commands/ListTagsForResourceCommand.ts index acbe27749d17..c787853db6e2 100644 --- a/clients/client-config-service/commands/ListTagsForResourceCommand.ts +++ b/clients/client-config-service/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-config-service/commands/PutAggregationAuthorizationCommand.ts b/clients/client-config-service/commands/PutAggregationAuthorizationCommand.ts index 83b8694f5efe..e35d597d22ca 100644 --- a/clients/client-config-service/commands/PutAggregationAuthorizationCommand.ts +++ b/clients/client-config-service/commands/PutAggregationAuthorizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAggregationAuthorizationCommandInput = PutAggregationAuthorizationRequest; @@ -70,7 +70,7 @@ export class PutAggregationAuthorizationCommand extends $Command< private serialize( input: PutAggregationAuthorizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutAggregationAuthorizationCommand( input, @@ -80,7 +80,7 @@ export class PutAggregationAuthorizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutAggregationAuthorizationCommand( output, diff --git a/clients/client-config-service/commands/PutConfigRuleCommand.ts b/clients/client-config-service/commands/PutConfigRuleCommand.ts index 8c4a2dbb2cfb..135673e3c989 100644 --- a/clients/client-config-service/commands/PutConfigRuleCommand.ts +++ b/clients/client-config-service/commands/PutConfigRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigRuleCommandInput = PutConfigRuleRequest; @@ -65,14 +65,14 @@ export class PutConfigRuleCommand extends $Command< private serialize( input: PutConfigRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutConfigRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutConfigRuleCommand(output, context); } diff --git a/clients/client-config-service/commands/PutConfigurationAggregatorCommand.ts b/clients/client-config-service/commands/PutConfigurationAggregatorCommand.ts index 9f1a7ff0d46e..166c31a895f8 100644 --- a/clients/client-config-service/commands/PutConfigurationAggregatorCommand.ts +++ b/clients/client-config-service/commands/PutConfigurationAggregatorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationAggregatorCommandInput = PutConfigurationAggregatorRequest; @@ -70,7 +70,7 @@ export class PutConfigurationAggregatorCommand extends $Command< private serialize( input: PutConfigurationAggregatorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutConfigurationAggregatorCommand( input, @@ -80,7 +80,7 @@ export class PutConfigurationAggregatorCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutConfigurationAggregatorCommand( output, diff --git a/clients/client-config-service/commands/PutConfigurationRecorderCommand.ts b/clients/client-config-service/commands/PutConfigurationRecorderCommand.ts index fcc7f6c35b51..2be2dc40ddf6 100644 --- a/clients/client-config-service/commands/PutConfigurationRecorderCommand.ts +++ b/clients/client-config-service/commands/PutConfigurationRecorderCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationRecorderCommandInput = PutConfigurationRecorderRequest; @@ -68,14 +68,14 @@ export class PutConfigurationRecorderCommand extends $Command< private serialize( input: PutConfigurationRecorderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutConfigurationRecorderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutConfigurationRecorderCommand( output, diff --git a/clients/client-config-service/commands/PutConformancePackCommand.ts b/clients/client-config-service/commands/PutConformancePackCommand.ts index 64d62e2b220f..e341ccf5703f 100644 --- a/clients/client-config-service/commands/PutConformancePackCommand.ts +++ b/clients/client-config-service/commands/PutConformancePackCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConformancePackCommandInput = PutConformancePackRequest; @@ -67,14 +67,14 @@ export class PutConformancePackCommand extends $Command< private serialize( input: PutConformancePackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutConformancePackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutConformancePackCommand(output, context); } diff --git a/clients/client-config-service/commands/PutDeliveryChannelCommand.ts b/clients/client-config-service/commands/PutDeliveryChannelCommand.ts index 8a298fee255f..68d99a398fa2 100644 --- a/clients/client-config-service/commands/PutDeliveryChannelCommand.ts +++ b/clients/client-config-service/commands/PutDeliveryChannelCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDeliveryChannelCommandInput = PutDeliveryChannelRequest; @@ -65,14 +65,14 @@ export class PutDeliveryChannelCommand extends $Command< private serialize( input: PutDeliveryChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutDeliveryChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutDeliveryChannelCommand(output, context); } diff --git a/clients/client-config-service/commands/PutEvaluationsCommand.ts b/clients/client-config-service/commands/PutEvaluationsCommand.ts index 5b7accb0907d..61e5517e5b05 100644 --- a/clients/client-config-service/commands/PutEvaluationsCommand.ts +++ b/clients/client-config-service/commands/PutEvaluationsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEvaluationsCommandInput = PutEvaluationsRequest; @@ -64,14 +64,14 @@ export class PutEvaluationsCommand extends $Command< private serialize( input: PutEvaluationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutEvaluationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutEvaluationsCommand(output, context); } diff --git a/clients/client-config-service/commands/PutOrganizationConfigRuleCommand.ts b/clients/client-config-service/commands/PutOrganizationConfigRuleCommand.ts index 2ca6935ef08c..cc57819b2a58 100644 --- a/clients/client-config-service/commands/PutOrganizationConfigRuleCommand.ts +++ b/clients/client-config-service/commands/PutOrganizationConfigRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutOrganizationConfigRuleCommandInput = PutOrganizationConfigRuleRequest; @@ -70,14 +70,14 @@ export class PutOrganizationConfigRuleCommand extends $Command< private serialize( input: PutOrganizationConfigRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutOrganizationConfigRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutOrganizationConfigRuleCommand( output, diff --git a/clients/client-config-service/commands/PutOrganizationConformancePackCommand.ts b/clients/client-config-service/commands/PutOrganizationConformancePackCommand.ts index 82e1e119ceb6..a74d528dd6a2 100644 --- a/clients/client-config-service/commands/PutOrganizationConformancePackCommand.ts +++ b/clients/client-config-service/commands/PutOrganizationConformancePackCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutOrganizationConformancePackCommandInput = PutOrganizationConformancePackRequest; @@ -70,7 +70,7 @@ export class PutOrganizationConformancePackCommand extends $Command< private serialize( input: PutOrganizationConformancePackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutOrganizationConformancePackCommand( input, @@ -80,7 +80,7 @@ export class PutOrganizationConformancePackCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutOrganizationConformancePackCommand( output, diff --git a/clients/client-config-service/commands/PutRemediationConfigurationsCommand.ts b/clients/client-config-service/commands/PutRemediationConfigurationsCommand.ts index 24f2bc63c896..023a21dba347 100644 --- a/clients/client-config-service/commands/PutRemediationConfigurationsCommand.ts +++ b/clients/client-config-service/commands/PutRemediationConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRemediationConfigurationsCommandInput = PutRemediationConfigurationsRequest; @@ -70,7 +70,7 @@ export class PutRemediationConfigurationsCommand extends $Command< private serialize( input: PutRemediationConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRemediationConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class PutRemediationConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRemediationConfigurationsCommand( output, diff --git a/clients/client-config-service/commands/PutRemediationExceptionsCommand.ts b/clients/client-config-service/commands/PutRemediationExceptionsCommand.ts index c3d9e71dcd1f..ceb742e661d2 100644 --- a/clients/client-config-service/commands/PutRemediationExceptionsCommand.ts +++ b/clients/client-config-service/commands/PutRemediationExceptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRemediationExceptionsCommandInput = PutRemediationExceptionsRequest; @@ -70,14 +70,14 @@ export class PutRemediationExceptionsCommand extends $Command< private serialize( input: PutRemediationExceptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRemediationExceptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRemediationExceptionsCommand( output, diff --git a/clients/client-config-service/commands/PutResourceConfigCommand.ts b/clients/client-config-service/commands/PutResourceConfigCommand.ts index 3336f506e4fb..127e3637e583 100644 --- a/clients/client-config-service/commands/PutResourceConfigCommand.ts +++ b/clients/client-config-service/commands/PutResourceConfigCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutResourceConfigCommandInput = PutResourceConfigRequest; @@ -65,14 +65,14 @@ export class PutResourceConfigCommand extends $Command< private serialize( input: PutResourceConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutResourceConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutResourceConfigCommand(output, context); } diff --git a/clients/client-config-service/commands/PutRetentionConfigurationCommand.ts b/clients/client-config-service/commands/PutRetentionConfigurationCommand.ts index bdccb2961a6c..a6bff4bff785 100644 --- a/clients/client-config-service/commands/PutRetentionConfigurationCommand.ts +++ b/clients/client-config-service/commands/PutRetentionConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRetentionConfigurationCommandInput = PutRetentionConfigurationRequest; @@ -70,14 +70,14 @@ export class PutRetentionConfigurationCommand extends $Command< private serialize( input: PutRetentionConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRetentionConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRetentionConfigurationCommand( output, diff --git a/clients/client-config-service/commands/SelectResourceConfigCommand.ts b/clients/client-config-service/commands/SelectResourceConfigCommand.ts index 7bf331b6e16a..903fb9dc45f2 100644 --- a/clients/client-config-service/commands/SelectResourceConfigCommand.ts +++ b/clients/client-config-service/commands/SelectResourceConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SelectResourceConfigCommandInput = SelectResourceConfigRequest; @@ -70,14 +70,14 @@ export class SelectResourceConfigCommand extends $Command< private serialize( input: SelectResourceConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SelectResourceConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SelectResourceConfigCommand(output, context); } diff --git a/clients/client-config-service/commands/StartConfigRulesEvaluationCommand.ts b/clients/client-config-service/commands/StartConfigRulesEvaluationCommand.ts index bbd49af5ce7a..b24bd61a0d6f 100644 --- a/clients/client-config-service/commands/StartConfigRulesEvaluationCommand.ts +++ b/clients/client-config-service/commands/StartConfigRulesEvaluationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartConfigRulesEvaluationCommandInput = StartConfigRulesEvaluationRequest; @@ -70,7 +70,7 @@ export class StartConfigRulesEvaluationCommand extends $Command< private serialize( input: StartConfigRulesEvaluationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartConfigRulesEvaluationCommand( input, @@ -80,7 +80,7 @@ export class StartConfigRulesEvaluationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartConfigRulesEvaluationCommand( output, diff --git a/clients/client-config-service/commands/StartConfigurationRecorderCommand.ts b/clients/client-config-service/commands/StartConfigurationRecorderCommand.ts index 89c4d6c80d59..33cbc981194f 100644 --- a/clients/client-config-service/commands/StartConfigurationRecorderCommand.ts +++ b/clients/client-config-service/commands/StartConfigurationRecorderCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartConfigurationRecorderCommandInput = StartConfigurationRecorderRequest; @@ -68,7 +68,7 @@ export class StartConfigurationRecorderCommand extends $Command< private serialize( input: StartConfigurationRecorderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartConfigurationRecorderCommand( input, @@ -78,7 +78,7 @@ export class StartConfigurationRecorderCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartConfigurationRecorderCommand( output, diff --git a/clients/client-config-service/commands/StartRemediationExecutionCommand.ts b/clients/client-config-service/commands/StartRemediationExecutionCommand.ts index 5e6c8674a65f..d983524c4fc7 100644 --- a/clients/client-config-service/commands/StartRemediationExecutionCommand.ts +++ b/clients/client-config-service/commands/StartRemediationExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartRemediationExecutionCommandInput = StartRemediationExecutionRequest; @@ -70,14 +70,14 @@ export class StartRemediationExecutionCommand extends $Command< private serialize( input: StartRemediationExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartRemediationExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartRemediationExecutionCommand( output, diff --git a/clients/client-config-service/commands/StopConfigurationRecorderCommand.ts b/clients/client-config-service/commands/StopConfigurationRecorderCommand.ts index 27ad89a68655..4ff9e5a24368 100644 --- a/clients/client-config-service/commands/StopConfigurationRecorderCommand.ts +++ b/clients/client-config-service/commands/StopConfigurationRecorderCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopConfigurationRecorderCommandInput = StopConfigurationRecorderRequest; @@ -68,14 +68,14 @@ export class StopConfigurationRecorderCommand extends $Command< private serialize( input: StopConfigurationRecorderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopConfigurationRecorderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopConfigurationRecorderCommand( output, diff --git a/clients/client-config-service/commands/TagResourceCommand.ts b/clients/client-config-service/commands/TagResourceCommand.ts index 4f7354b04a30..f413b1657171 100644 --- a/clients/client-config-service/commands/TagResourceCommand.ts +++ b/clients/client-config-service/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-config-service/commands/UntagResourceCommand.ts b/clients/client-config-service/commands/UntagResourceCommand.ts index 95d8c9efa8a5..afc322c50ab9 100644 --- a/clients/client-config-service/commands/UntagResourceCommand.ts +++ b/clients/client-config-service/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-config-service/protocols/Aws_json1_1.ts b/clients/client-config-service/protocols/Aws_json1_1.ts index 4e5b75e06f9b..8300ac70665f 100644 --- a/clients/client-config-service/protocols/Aws_json1_1.ts +++ b/clients/client-config-service/protocols/Aws_json1_1.ts @@ -16007,6 +16007,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-connect/commands/CreateUserCommand.ts b/clients/client-connect/commands/CreateUserCommand.ts index 44d5857672b9..ee2e899ef656 100644 --- a/clients/client-connect/commands/CreateUserCommand.ts +++ b/clients/client-connect/commands/CreateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserCommandInput = CreateUserRequest; @@ -64,14 +64,14 @@ export class CreateUserCommand extends $Command< private serialize( input: CreateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateUserCommand(output, context); } diff --git a/clients/client-connect/commands/DeleteUserCommand.ts b/clients/client-connect/commands/DeleteUserCommand.ts index d587a36dc81a..2503de391a20 100644 --- a/clients/client-connect/commands/DeleteUserCommand.ts +++ b/clients/client-connect/commands/DeleteUserCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserCommandInput = DeleteUserRequest; @@ -65,14 +65,14 @@ export class DeleteUserCommand extends $Command< private serialize( input: DeleteUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteUserCommand(output, context); } diff --git a/clients/client-connect/commands/DescribeUserCommand.ts b/clients/client-connect/commands/DescribeUserCommand.ts index cd5ec3630fc8..24fb6d3416ac 100644 --- a/clients/client-connect/commands/DescribeUserCommand.ts +++ b/clients/client-connect/commands/DescribeUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserCommandInput = DescribeUserRequest; @@ -64,14 +64,14 @@ export class DescribeUserCommand extends $Command< private serialize( input: DescribeUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeUserCommand(output, context); } diff --git a/clients/client-connect/commands/DescribeUserHierarchyGroupCommand.ts b/clients/client-connect/commands/DescribeUserHierarchyGroupCommand.ts index e7dbc1f4f6a8..ccf9ffe0a77d 100644 --- a/clients/client-connect/commands/DescribeUserHierarchyGroupCommand.ts +++ b/clients/client-connect/commands/DescribeUserHierarchyGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserHierarchyGroupCommandInput = DescribeUserHierarchyGroupRequest; @@ -70,7 +70,7 @@ export class DescribeUserHierarchyGroupCommand extends $Command< private serialize( input: DescribeUserHierarchyGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeUserHierarchyGroupCommand( input, @@ -80,7 +80,7 @@ export class DescribeUserHierarchyGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeUserHierarchyGroupCommand( output, diff --git a/clients/client-connect/commands/DescribeUserHierarchyStructureCommand.ts b/clients/client-connect/commands/DescribeUserHierarchyStructureCommand.ts index fb72d4e0b2ce..b0d41114b2ce 100644 --- a/clients/client-connect/commands/DescribeUserHierarchyStructureCommand.ts +++ b/clients/client-connect/commands/DescribeUserHierarchyStructureCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserHierarchyStructureCommandInput = DescribeUserHierarchyStructureRequest; @@ -70,7 +70,7 @@ export class DescribeUserHierarchyStructureCommand extends $Command< private serialize( input: DescribeUserHierarchyStructureCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeUserHierarchyStructureCommand( input, @@ -80,7 +80,7 @@ export class DescribeUserHierarchyStructureCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeUserHierarchyStructureCommand( output, diff --git a/clients/client-connect/commands/GetContactAttributesCommand.ts b/clients/client-connect/commands/GetContactAttributesCommand.ts index afc363a9617f..61a71a71b98b 100644 --- a/clients/client-connect/commands/GetContactAttributesCommand.ts +++ b/clients/client-connect/commands/GetContactAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetContactAttributesCommandInput = GetContactAttributesRequest; @@ -70,14 +70,14 @@ export class GetContactAttributesCommand extends $Command< private serialize( input: GetContactAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetContactAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetContactAttributesCommand( output, diff --git a/clients/client-connect/commands/GetCurrentMetricDataCommand.ts b/clients/client-connect/commands/GetCurrentMetricDataCommand.ts index 9b7d8a1971af..0891b4a76fd7 100644 --- a/clients/client-connect/commands/GetCurrentMetricDataCommand.ts +++ b/clients/client-connect/commands/GetCurrentMetricDataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCurrentMetricDataCommandInput = GetCurrentMetricDataRequest; @@ -70,14 +70,14 @@ export class GetCurrentMetricDataCommand extends $Command< private serialize( input: GetCurrentMetricDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCurrentMetricDataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCurrentMetricDataCommand( output, diff --git a/clients/client-connect/commands/GetFederationTokenCommand.ts b/clients/client-connect/commands/GetFederationTokenCommand.ts index b02009bb1e06..1021052d9558 100644 --- a/clients/client-connect/commands/GetFederationTokenCommand.ts +++ b/clients/client-connect/commands/GetFederationTokenCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFederationTokenCommandInput = GetFederationTokenRequest; @@ -67,14 +67,14 @@ export class GetFederationTokenCommand extends $Command< private serialize( input: GetFederationTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFederationTokenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFederationTokenCommand(output, context); } diff --git a/clients/client-connect/commands/GetMetricDataCommand.ts b/clients/client-connect/commands/GetMetricDataCommand.ts index 18f4a0cfbf96..930e33f8bb00 100644 --- a/clients/client-connect/commands/GetMetricDataCommand.ts +++ b/clients/client-connect/commands/GetMetricDataCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMetricDataCommandInput = GetMetricDataRequest; @@ -64,14 +64,14 @@ export class GetMetricDataCommand extends $Command< private serialize( input: GetMetricDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMetricDataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMetricDataCommand(output, context); } diff --git a/clients/client-connect/commands/ListContactFlowsCommand.ts b/clients/client-connect/commands/ListContactFlowsCommand.ts index ac816aea385d..eaee161742da 100644 --- a/clients/client-connect/commands/ListContactFlowsCommand.ts +++ b/clients/client-connect/commands/ListContactFlowsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListContactFlowsCommandInput = ListContactFlowsRequest; @@ -67,14 +67,14 @@ export class ListContactFlowsCommand extends $Command< private serialize( input: ListContactFlowsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListContactFlowsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListContactFlowsCommand(output, context); } diff --git a/clients/client-connect/commands/ListHoursOfOperationsCommand.ts b/clients/client-connect/commands/ListHoursOfOperationsCommand.ts index e553965fab02..c0f8af786205 100644 --- a/clients/client-connect/commands/ListHoursOfOperationsCommand.ts +++ b/clients/client-connect/commands/ListHoursOfOperationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHoursOfOperationsCommandInput = ListHoursOfOperationsRequest; @@ -70,14 +70,14 @@ export class ListHoursOfOperationsCommand extends $Command< private serialize( input: ListHoursOfOperationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListHoursOfOperationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListHoursOfOperationsCommand( output, diff --git a/clients/client-connect/commands/ListPhoneNumbersCommand.ts b/clients/client-connect/commands/ListPhoneNumbersCommand.ts index dc20d753eb95..6add546ae0dc 100644 --- a/clients/client-connect/commands/ListPhoneNumbersCommand.ts +++ b/clients/client-connect/commands/ListPhoneNumbersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPhoneNumbersCommandInput = ListPhoneNumbersRequest; @@ -67,14 +67,14 @@ export class ListPhoneNumbersCommand extends $Command< private serialize( input: ListPhoneNumbersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPhoneNumbersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPhoneNumbersCommand(output, context); } diff --git a/clients/client-connect/commands/ListQueuesCommand.ts b/clients/client-connect/commands/ListQueuesCommand.ts index 93844b71cc2e..0d034c361526 100644 --- a/clients/client-connect/commands/ListQueuesCommand.ts +++ b/clients/client-connect/commands/ListQueuesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListQueuesCommandInput = ListQueuesRequest; @@ -64,14 +64,14 @@ export class ListQueuesCommand extends $Command< private serialize( input: ListQueuesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListQueuesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListQueuesCommand(output, context); } diff --git a/clients/client-connect/commands/ListRoutingProfilesCommand.ts b/clients/client-connect/commands/ListRoutingProfilesCommand.ts index 3fa03f6d239b..996ad9be4983 100644 --- a/clients/client-connect/commands/ListRoutingProfilesCommand.ts +++ b/clients/client-connect/commands/ListRoutingProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRoutingProfilesCommandInput = ListRoutingProfilesRequest; @@ -70,14 +70,14 @@ export class ListRoutingProfilesCommand extends $Command< private serialize( input: ListRoutingProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRoutingProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRoutingProfilesCommand( output, diff --git a/clients/client-connect/commands/ListSecurityProfilesCommand.ts b/clients/client-connect/commands/ListSecurityProfilesCommand.ts index b65b3247a633..3e30e18b3096 100644 --- a/clients/client-connect/commands/ListSecurityProfilesCommand.ts +++ b/clients/client-connect/commands/ListSecurityProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSecurityProfilesCommandInput = ListSecurityProfilesRequest; @@ -70,14 +70,14 @@ export class ListSecurityProfilesCommand extends $Command< private serialize( input: ListSecurityProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSecurityProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSecurityProfilesCommand( output, diff --git a/clients/client-connect/commands/ListTagsForResourceCommand.ts b/clients/client-connect/commands/ListTagsForResourceCommand.ts index 53d8a4677e80..675a1894be1e 100644 --- a/clients/client-connect/commands/ListTagsForResourceCommand.ts +++ b/clients/client-connect/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-connect/commands/ListUserHierarchyGroupsCommand.ts b/clients/client-connect/commands/ListUserHierarchyGroupsCommand.ts index 750eb94d75f3..3139dbd3684e 100644 --- a/clients/client-connect/commands/ListUserHierarchyGroupsCommand.ts +++ b/clients/client-connect/commands/ListUserHierarchyGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUserHierarchyGroupsCommandInput = ListUserHierarchyGroupsRequest; @@ -70,7 +70,7 @@ export class ListUserHierarchyGroupsCommand extends $Command< private serialize( input: ListUserHierarchyGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListUserHierarchyGroupsCommand( input, @@ -80,7 +80,7 @@ export class ListUserHierarchyGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListUserHierarchyGroupsCommand( output, diff --git a/clients/client-connect/commands/ListUsersCommand.ts b/clients/client-connect/commands/ListUsersCommand.ts index ef752baef96b..0c32ed230f48 100644 --- a/clients/client-connect/commands/ListUsersCommand.ts +++ b/clients/client-connect/commands/ListUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUsersCommandInput = ListUsersRequest; @@ -64,14 +64,14 @@ export class ListUsersCommand extends $Command< private serialize( input: ListUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListUsersCommand(output, context); } diff --git a/clients/client-connect/commands/StartChatContactCommand.ts b/clients/client-connect/commands/StartChatContactCommand.ts index d00f4de29754..5e4c5b860bb2 100644 --- a/clients/client-connect/commands/StartChatContactCommand.ts +++ b/clients/client-connect/commands/StartChatContactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartChatContactCommandInput = StartChatContactRequest; @@ -67,14 +67,14 @@ export class StartChatContactCommand extends $Command< private serialize( input: StartChatContactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartChatContactCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartChatContactCommand(output, context); } diff --git a/clients/client-connect/commands/StartOutboundVoiceContactCommand.ts b/clients/client-connect/commands/StartOutboundVoiceContactCommand.ts index 618fee2647d0..39492bf008df 100644 --- a/clients/client-connect/commands/StartOutboundVoiceContactCommand.ts +++ b/clients/client-connect/commands/StartOutboundVoiceContactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartOutboundVoiceContactCommandInput = StartOutboundVoiceContactRequest; @@ -70,7 +70,7 @@ export class StartOutboundVoiceContactCommand extends $Command< private serialize( input: StartOutboundVoiceContactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartOutboundVoiceContactCommand( input, @@ -80,7 +80,7 @@ export class StartOutboundVoiceContactCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartOutboundVoiceContactCommand( output, diff --git a/clients/client-connect/commands/StopContactCommand.ts b/clients/client-connect/commands/StopContactCommand.ts index 120aa96dcfea..84f052176b79 100644 --- a/clients/client-connect/commands/StopContactCommand.ts +++ b/clients/client-connect/commands/StopContactCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopContactCommandInput = StopContactRequest; @@ -64,14 +64,14 @@ export class StopContactCommand extends $Command< private serialize( input: StopContactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopContactCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopContactCommand(output, context); } diff --git a/clients/client-connect/commands/TagResourceCommand.ts b/clients/client-connect/commands/TagResourceCommand.ts index 05613d2e3b7e..5aae78bc9bcc 100644 --- a/clients/client-connect/commands/TagResourceCommand.ts +++ b/clients/client-connect/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-connect/commands/UntagResourceCommand.ts b/clients/client-connect/commands/UntagResourceCommand.ts index 8dd062692f2f..4a70a20b276f 100644 --- a/clients/client-connect/commands/UntagResourceCommand.ts +++ b/clients/client-connect/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-connect/commands/UpdateContactAttributesCommand.ts b/clients/client-connect/commands/UpdateContactAttributesCommand.ts index 1c1bcc0ba868..4547f528551b 100644 --- a/clients/client-connect/commands/UpdateContactAttributesCommand.ts +++ b/clients/client-connect/commands/UpdateContactAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateContactAttributesCommandInput = UpdateContactAttributesRequest; @@ -70,7 +70,7 @@ export class UpdateContactAttributesCommand extends $Command< private serialize( input: UpdateContactAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateContactAttributesCommand( input, @@ -80,7 +80,7 @@ export class UpdateContactAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateContactAttributesCommand( output, diff --git a/clients/client-connect/commands/UpdateUserHierarchyCommand.ts b/clients/client-connect/commands/UpdateUserHierarchyCommand.ts index eb352f040040..cf1efb08381b 100644 --- a/clients/client-connect/commands/UpdateUserHierarchyCommand.ts +++ b/clients/client-connect/commands/UpdateUserHierarchyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserHierarchyCommandInput = UpdateUserHierarchyRequest; @@ -68,14 +68,14 @@ export class UpdateUserHierarchyCommand extends $Command< private serialize( input: UpdateUserHierarchyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUserHierarchyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUserHierarchyCommand( output, diff --git a/clients/client-connect/commands/UpdateUserIdentityInfoCommand.ts b/clients/client-connect/commands/UpdateUserIdentityInfoCommand.ts index 684f25c2f64f..b139e3eddf2b 100644 --- a/clients/client-connect/commands/UpdateUserIdentityInfoCommand.ts +++ b/clients/client-connect/commands/UpdateUserIdentityInfoCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserIdentityInfoCommandInput = UpdateUserIdentityInfoRequest; @@ -68,7 +68,7 @@ export class UpdateUserIdentityInfoCommand extends $Command< private serialize( input: UpdateUserIdentityInfoCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUserIdentityInfoCommand( input, @@ -78,7 +78,7 @@ export class UpdateUserIdentityInfoCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUserIdentityInfoCommand( output, diff --git a/clients/client-connect/commands/UpdateUserPhoneConfigCommand.ts b/clients/client-connect/commands/UpdateUserPhoneConfigCommand.ts index ce5074865b95..6f2826aca669 100644 --- a/clients/client-connect/commands/UpdateUserPhoneConfigCommand.ts +++ b/clients/client-connect/commands/UpdateUserPhoneConfigCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserPhoneConfigCommandInput = UpdateUserPhoneConfigRequest; @@ -68,14 +68,14 @@ export class UpdateUserPhoneConfigCommand extends $Command< private serialize( input: UpdateUserPhoneConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUserPhoneConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUserPhoneConfigCommand( output, diff --git a/clients/client-connect/commands/UpdateUserRoutingProfileCommand.ts b/clients/client-connect/commands/UpdateUserRoutingProfileCommand.ts index 0adc4414c8a3..eed1fb6f22a6 100644 --- a/clients/client-connect/commands/UpdateUserRoutingProfileCommand.ts +++ b/clients/client-connect/commands/UpdateUserRoutingProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserRoutingProfileCommandInput = UpdateUserRoutingProfileRequest; @@ -68,7 +68,7 @@ export class UpdateUserRoutingProfileCommand extends $Command< private serialize( input: UpdateUserRoutingProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUserRoutingProfileCommand( input, @@ -78,7 +78,7 @@ export class UpdateUserRoutingProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUserRoutingProfileCommand( output, diff --git a/clients/client-connect/commands/UpdateUserSecurityProfilesCommand.ts b/clients/client-connect/commands/UpdateUserSecurityProfilesCommand.ts index df546624c96c..b3ca6e1f2915 100644 --- a/clients/client-connect/commands/UpdateUserSecurityProfilesCommand.ts +++ b/clients/client-connect/commands/UpdateUserSecurityProfilesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserSecurityProfilesCommandInput = UpdateUserSecurityProfilesRequest; @@ -68,7 +68,7 @@ export class UpdateUserSecurityProfilesCommand extends $Command< private serialize( input: UpdateUserSecurityProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUserSecurityProfilesCommand( input, @@ -78,7 +78,7 @@ export class UpdateUserSecurityProfilesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUserSecurityProfilesCommand( output, diff --git a/clients/client-connect/protocols/Aws_restJson1_1.ts b/clients/client-connect/protocols/Aws_restJson1_1.ts index e2c0c5a4f168..0bc05a577a4c 100644 --- a/clients/client-connect/protocols/Aws_restJson1_1.ts +++ b/clients/client-connect/protocols/Aws_restJson1_1.ts @@ -5159,6 +5159,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-connectparticipant/commands/CreateParticipantConnectionCommand.ts b/clients/client-connectparticipant/commands/CreateParticipantConnectionCommand.ts index 7a3df6eddf25..869db54fccd2 100644 --- a/clients/client-connectparticipant/commands/CreateParticipantConnectionCommand.ts +++ b/clients/client-connectparticipant/commands/CreateParticipantConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateParticipantConnectionCommandInput = CreateParticipantConnectionRequest; @@ -70,7 +70,7 @@ export class CreateParticipantConnectionCommand extends $Command< private serialize( input: CreateParticipantConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateParticipantConnectionCommand( input, @@ -80,7 +80,7 @@ export class CreateParticipantConnectionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateParticipantConnectionCommand( output, diff --git a/clients/client-connectparticipant/commands/DisconnectParticipantCommand.ts b/clients/client-connectparticipant/commands/DisconnectParticipantCommand.ts index 253068fd60fb..f66cc8ad6887 100644 --- a/clients/client-connectparticipant/commands/DisconnectParticipantCommand.ts +++ b/clients/client-connectparticipant/commands/DisconnectParticipantCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisconnectParticipantCommandInput = DisconnectParticipantRequest; @@ -70,14 +70,14 @@ export class DisconnectParticipantCommand extends $Command< private serialize( input: DisconnectParticipantCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisconnectParticipantCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisconnectParticipantCommand( output, diff --git a/clients/client-connectparticipant/commands/GetTranscriptCommand.ts b/clients/client-connectparticipant/commands/GetTranscriptCommand.ts index c04fcff23ef0..20066281a725 100644 --- a/clients/client-connectparticipant/commands/GetTranscriptCommand.ts +++ b/clients/client-connectparticipant/commands/GetTranscriptCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTranscriptCommandInput = GetTranscriptRequest; @@ -64,14 +64,14 @@ export class GetTranscriptCommand extends $Command< private serialize( input: GetTranscriptCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTranscriptCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTranscriptCommand(output, context); } diff --git a/clients/client-connectparticipant/commands/SendEventCommand.ts b/clients/client-connectparticipant/commands/SendEventCommand.ts index afec0e3f7f71..17df868a7209 100644 --- a/clients/client-connectparticipant/commands/SendEventCommand.ts +++ b/clients/client-connectparticipant/commands/SendEventCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendEventCommandInput = SendEventRequest; @@ -64,14 +64,14 @@ export class SendEventCommand extends $Command< private serialize( input: SendEventCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SendEventCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SendEventCommand(output, context); } diff --git a/clients/client-connectparticipant/commands/SendMessageCommand.ts b/clients/client-connectparticipant/commands/SendMessageCommand.ts index 47a09699cc05..80d46ba2a739 100644 --- a/clients/client-connectparticipant/commands/SendMessageCommand.ts +++ b/clients/client-connectparticipant/commands/SendMessageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendMessageCommandInput = SendMessageRequest; @@ -64,14 +64,14 @@ export class SendMessageCommand extends $Command< private serialize( input: SendMessageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SendMessageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SendMessageCommand(output, context); } diff --git a/clients/client-connectparticipant/protocols/Aws_restJson1_1.ts b/clients/client-connectparticipant/protocols/Aws_restJson1_1.ts index d3758d93dc59..5e51ed40dca9 100644 --- a/clients/client-connectparticipant/protocols/Aws_restJson1_1.ts +++ b/clients/client-connectparticipant/protocols/Aws_restJson1_1.ts @@ -811,6 +811,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cost-and-usage-report-service/commands/DeleteReportDefinitionCommand.ts b/clients/client-cost-and-usage-report-service/commands/DeleteReportDefinitionCommand.ts index 11955e0e5978..31ee446f38eb 100644 --- a/clients/client-cost-and-usage-report-service/commands/DeleteReportDefinitionCommand.ts +++ b/clients/client-cost-and-usage-report-service/commands/DeleteReportDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReportDefinitionCommandInput = DeleteReportDefinitionRequest; @@ -70,14 +70,14 @@ export class DeleteReportDefinitionCommand extends $Command< private serialize( input: DeleteReportDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteReportDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteReportDefinitionCommand(output, context); } diff --git a/clients/client-cost-and-usage-report-service/commands/DescribeReportDefinitionsCommand.ts b/clients/client-cost-and-usage-report-service/commands/DescribeReportDefinitionsCommand.ts index 5a636f3eb56b..3ffd8ba6567e 100644 --- a/clients/client-cost-and-usage-report-service/commands/DescribeReportDefinitionsCommand.ts +++ b/clients/client-cost-and-usage-report-service/commands/DescribeReportDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReportDefinitionsCommandInput = DescribeReportDefinitionsRequest; @@ -70,14 +70,14 @@ export class DescribeReportDefinitionsCommand extends $Command< private serialize( input: DescribeReportDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeReportDefinitionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeReportDefinitionsCommand( output, diff --git a/clients/client-cost-and-usage-report-service/commands/ModifyReportDefinitionCommand.ts b/clients/client-cost-and-usage-report-service/commands/ModifyReportDefinitionCommand.ts index 1ae5bde1ad81..3ed7567886dd 100644 --- a/clients/client-cost-and-usage-report-service/commands/ModifyReportDefinitionCommand.ts +++ b/clients/client-cost-and-usage-report-service/commands/ModifyReportDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyReportDefinitionCommandInput = ModifyReportDefinitionRequest; @@ -70,14 +70,14 @@ export class ModifyReportDefinitionCommand extends $Command< private serialize( input: ModifyReportDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyReportDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyReportDefinitionCommand(output, context); } diff --git a/clients/client-cost-and-usage-report-service/commands/PutReportDefinitionCommand.ts b/clients/client-cost-and-usage-report-service/commands/PutReportDefinitionCommand.ts index 6f56f8bf71d4..086d5a8a46f3 100644 --- a/clients/client-cost-and-usage-report-service/commands/PutReportDefinitionCommand.ts +++ b/clients/client-cost-and-usage-report-service/commands/PutReportDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutReportDefinitionCommandInput = PutReportDefinitionRequest; @@ -70,14 +70,14 @@ export class PutReportDefinitionCommand extends $Command< private serialize( input: PutReportDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutReportDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutReportDefinitionCommand(output, context); } diff --git a/clients/client-cost-and-usage-report-service/protocols/Aws_json1_1.ts b/clients/client-cost-and-usage-report-service/protocols/Aws_json1_1.ts index 06a7111e3cf8..50ba71b187c7 100644 --- a/clients/client-cost-and-usage-report-service/protocols/Aws_json1_1.ts +++ b/clients/client-cost-and-usage-report-service/protocols/Aws_json1_1.ts @@ -797,6 +797,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-cost-explorer/commands/CreateCostCategoryDefinitionCommand.ts b/clients/client-cost-explorer/commands/CreateCostCategoryDefinitionCommand.ts index 55a5a9470a2e..5edc452eb75a 100644 --- a/clients/client-cost-explorer/commands/CreateCostCategoryDefinitionCommand.ts +++ b/clients/client-cost-explorer/commands/CreateCostCategoryDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCostCategoryDefinitionCommandInput = CreateCostCategoryDefinitionRequest; @@ -70,7 +70,7 @@ export class CreateCostCategoryDefinitionCommand extends $Command< private serialize( input: CreateCostCategoryDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCostCategoryDefinitionCommand( input, @@ -80,7 +80,7 @@ export class CreateCostCategoryDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCostCategoryDefinitionCommand( output, diff --git a/clients/client-cost-explorer/commands/DeleteCostCategoryDefinitionCommand.ts b/clients/client-cost-explorer/commands/DeleteCostCategoryDefinitionCommand.ts index 6248f2ffb9d8..87e715d36812 100644 --- a/clients/client-cost-explorer/commands/DeleteCostCategoryDefinitionCommand.ts +++ b/clients/client-cost-explorer/commands/DeleteCostCategoryDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCostCategoryDefinitionCommandInput = DeleteCostCategoryDefinitionRequest; @@ -70,7 +70,7 @@ export class DeleteCostCategoryDefinitionCommand extends $Command< private serialize( input: DeleteCostCategoryDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCostCategoryDefinitionCommand( input, @@ -80,7 +80,7 @@ export class DeleteCostCategoryDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCostCategoryDefinitionCommand( output, diff --git a/clients/client-cost-explorer/commands/DescribeCostCategoryDefinitionCommand.ts b/clients/client-cost-explorer/commands/DescribeCostCategoryDefinitionCommand.ts index 085d1c0ecbd1..5270852346e7 100644 --- a/clients/client-cost-explorer/commands/DescribeCostCategoryDefinitionCommand.ts +++ b/clients/client-cost-explorer/commands/DescribeCostCategoryDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCostCategoryDefinitionCommandInput = DescribeCostCategoryDefinitionRequest; @@ -70,7 +70,7 @@ export class DescribeCostCategoryDefinitionCommand extends $Command< private serialize( input: DescribeCostCategoryDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCostCategoryDefinitionCommand( input, @@ -80,7 +80,7 @@ export class DescribeCostCategoryDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCostCategoryDefinitionCommand( output, diff --git a/clients/client-cost-explorer/commands/GetCostAndUsageCommand.ts b/clients/client-cost-explorer/commands/GetCostAndUsageCommand.ts index df02994ea7a0..3df401af8273 100644 --- a/clients/client-cost-explorer/commands/GetCostAndUsageCommand.ts +++ b/clients/client-cost-explorer/commands/GetCostAndUsageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCostAndUsageCommandInput = GetCostAndUsageRequest; @@ -67,14 +67,14 @@ export class GetCostAndUsageCommand extends $Command< private serialize( input: GetCostAndUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCostAndUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCostAndUsageCommand(output, context); } diff --git a/clients/client-cost-explorer/commands/GetCostAndUsageWithResourcesCommand.ts b/clients/client-cost-explorer/commands/GetCostAndUsageWithResourcesCommand.ts index 27d5883a11b3..9bdd73dc3332 100644 --- a/clients/client-cost-explorer/commands/GetCostAndUsageWithResourcesCommand.ts +++ b/clients/client-cost-explorer/commands/GetCostAndUsageWithResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCostAndUsageWithResourcesCommandInput = GetCostAndUsageWithResourcesRequest; @@ -70,7 +70,7 @@ export class GetCostAndUsageWithResourcesCommand extends $Command< private serialize( input: GetCostAndUsageWithResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCostAndUsageWithResourcesCommand( input, @@ -80,7 +80,7 @@ export class GetCostAndUsageWithResourcesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCostAndUsageWithResourcesCommand( output, diff --git a/clients/client-cost-explorer/commands/GetCostForecastCommand.ts b/clients/client-cost-explorer/commands/GetCostForecastCommand.ts index 6607c7cce75b..82f6b1ee058e 100644 --- a/clients/client-cost-explorer/commands/GetCostForecastCommand.ts +++ b/clients/client-cost-explorer/commands/GetCostForecastCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCostForecastCommandInput = GetCostForecastRequest; @@ -67,14 +67,14 @@ export class GetCostForecastCommand extends $Command< private serialize( input: GetCostForecastCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCostForecastCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCostForecastCommand(output, context); } diff --git a/clients/client-cost-explorer/commands/GetDimensionValuesCommand.ts b/clients/client-cost-explorer/commands/GetDimensionValuesCommand.ts index 1da599e445b2..56c5aa2a0688 100644 --- a/clients/client-cost-explorer/commands/GetDimensionValuesCommand.ts +++ b/clients/client-cost-explorer/commands/GetDimensionValuesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDimensionValuesCommandInput = GetDimensionValuesRequest; @@ -67,14 +67,14 @@ export class GetDimensionValuesCommand extends $Command< private serialize( input: GetDimensionValuesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDimensionValuesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDimensionValuesCommand(output, context); } diff --git a/clients/client-cost-explorer/commands/GetReservationCoverageCommand.ts b/clients/client-cost-explorer/commands/GetReservationCoverageCommand.ts index afaa21ac6caa..ed77dd1073d5 100644 --- a/clients/client-cost-explorer/commands/GetReservationCoverageCommand.ts +++ b/clients/client-cost-explorer/commands/GetReservationCoverageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetReservationCoverageCommandInput = GetReservationCoverageRequest; @@ -70,14 +70,14 @@ export class GetReservationCoverageCommand extends $Command< private serialize( input: GetReservationCoverageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetReservationCoverageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetReservationCoverageCommand(output, context); } diff --git a/clients/client-cost-explorer/commands/GetReservationPurchaseRecommendationCommand.ts b/clients/client-cost-explorer/commands/GetReservationPurchaseRecommendationCommand.ts index 1e952d7fb55b..ab90df1fbba3 100644 --- a/clients/client-cost-explorer/commands/GetReservationPurchaseRecommendationCommand.ts +++ b/clients/client-cost-explorer/commands/GetReservationPurchaseRecommendationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetReservationPurchaseRecommendationCommandInput = GetReservationPurchaseRecommendationRequest; @@ -72,7 +72,7 @@ export class GetReservationPurchaseRecommendationCommand extends $Command< private serialize( input: GetReservationPurchaseRecommendationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetReservationPurchaseRecommendationCommand( input, @@ -82,7 +82,7 @@ export class GetReservationPurchaseRecommendationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetReservationPurchaseRecommendationCommand( output, diff --git a/clients/client-cost-explorer/commands/GetReservationUtilizationCommand.ts b/clients/client-cost-explorer/commands/GetReservationUtilizationCommand.ts index a84daab201c6..f51d0575ed7e 100644 --- a/clients/client-cost-explorer/commands/GetReservationUtilizationCommand.ts +++ b/clients/client-cost-explorer/commands/GetReservationUtilizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetReservationUtilizationCommandInput = GetReservationUtilizationRequest; @@ -70,14 +70,14 @@ export class GetReservationUtilizationCommand extends $Command< private serialize( input: GetReservationUtilizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetReservationUtilizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetReservationUtilizationCommand( output, diff --git a/clients/client-cost-explorer/commands/GetRightsizingRecommendationCommand.ts b/clients/client-cost-explorer/commands/GetRightsizingRecommendationCommand.ts index 349724a7be3a..9100bb6b54b4 100644 --- a/clients/client-cost-explorer/commands/GetRightsizingRecommendationCommand.ts +++ b/clients/client-cost-explorer/commands/GetRightsizingRecommendationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRightsizingRecommendationCommandInput = GetRightsizingRecommendationRequest; @@ -70,7 +70,7 @@ export class GetRightsizingRecommendationCommand extends $Command< private serialize( input: GetRightsizingRecommendationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRightsizingRecommendationCommand( input, @@ -80,7 +80,7 @@ export class GetRightsizingRecommendationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRightsizingRecommendationCommand( output, diff --git a/clients/client-cost-explorer/commands/GetSavingsPlansCoverageCommand.ts b/clients/client-cost-explorer/commands/GetSavingsPlansCoverageCommand.ts index c15bbcbe85ef..567b1fbb928f 100644 --- a/clients/client-cost-explorer/commands/GetSavingsPlansCoverageCommand.ts +++ b/clients/client-cost-explorer/commands/GetSavingsPlansCoverageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSavingsPlansCoverageCommandInput = GetSavingsPlansCoverageRequest; @@ -70,14 +70,14 @@ export class GetSavingsPlansCoverageCommand extends $Command< private serialize( input: GetSavingsPlansCoverageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSavingsPlansCoverageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSavingsPlansCoverageCommand( output, diff --git a/clients/client-cost-explorer/commands/GetSavingsPlansPurchaseRecommendationCommand.ts b/clients/client-cost-explorer/commands/GetSavingsPlansPurchaseRecommendationCommand.ts index 2ebb05f8cd43..e9cdbe1cde6c 100644 --- a/clients/client-cost-explorer/commands/GetSavingsPlansPurchaseRecommendationCommand.ts +++ b/clients/client-cost-explorer/commands/GetSavingsPlansPurchaseRecommendationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSavingsPlansPurchaseRecommendationCommandInput = GetSavingsPlansPurchaseRecommendationRequest; @@ -72,7 +72,7 @@ export class GetSavingsPlansPurchaseRecommendationCommand extends $Command< private serialize( input: GetSavingsPlansPurchaseRecommendationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommand( input, @@ -82,7 +82,7 @@ export class GetSavingsPlansPurchaseRecommendationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommand( output, diff --git a/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationCommand.ts b/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationCommand.ts index 5d68a7e67c06..b53de3f614ed 100644 --- a/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationCommand.ts +++ b/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSavingsPlansUtilizationCommandInput = GetSavingsPlansUtilizationRequest; @@ -70,7 +70,7 @@ export class GetSavingsPlansUtilizationCommand extends $Command< private serialize( input: GetSavingsPlansUtilizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSavingsPlansUtilizationCommand( input, @@ -80,7 +80,7 @@ export class GetSavingsPlansUtilizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSavingsPlansUtilizationCommand( output, diff --git a/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationDetailsCommand.ts b/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationDetailsCommand.ts index da1818c4c005..7b0ed86524f1 100644 --- a/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationDetailsCommand.ts +++ b/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationDetailsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSavingsPlansUtilizationDetailsCommandInput = GetSavingsPlansUtilizationDetailsRequest; @@ -70,7 +70,7 @@ export class GetSavingsPlansUtilizationDetailsCommand extends $Command< private serialize( input: GetSavingsPlansUtilizationDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand( input, @@ -80,7 +80,7 @@ export class GetSavingsPlansUtilizationDetailsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand( output, diff --git a/clients/client-cost-explorer/commands/GetTagsCommand.ts b/clients/client-cost-explorer/commands/GetTagsCommand.ts index 2e83a6e0ff95..6861bf85bc0e 100644 --- a/clients/client-cost-explorer/commands/GetTagsCommand.ts +++ b/clients/client-cost-explorer/commands/GetTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTagsCommandInput = GetTagsRequest; @@ -64,14 +64,14 @@ export class GetTagsCommand extends $Command< private serialize( input: GetTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTagsCommand(output, context); } diff --git a/clients/client-cost-explorer/commands/GetUsageForecastCommand.ts b/clients/client-cost-explorer/commands/GetUsageForecastCommand.ts index 18be7649aa4a..84da88905dce 100644 --- a/clients/client-cost-explorer/commands/GetUsageForecastCommand.ts +++ b/clients/client-cost-explorer/commands/GetUsageForecastCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUsageForecastCommandInput = GetUsageForecastRequest; @@ -67,14 +67,14 @@ export class GetUsageForecastCommand extends $Command< private serialize( input: GetUsageForecastCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetUsageForecastCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetUsageForecastCommand(output, context); } diff --git a/clients/client-cost-explorer/commands/ListCostCategoryDefinitionsCommand.ts b/clients/client-cost-explorer/commands/ListCostCategoryDefinitionsCommand.ts index 1dfaf1374a3b..964eeca731be 100644 --- a/clients/client-cost-explorer/commands/ListCostCategoryDefinitionsCommand.ts +++ b/clients/client-cost-explorer/commands/ListCostCategoryDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCostCategoryDefinitionsCommandInput = ListCostCategoryDefinitionsRequest; @@ -70,7 +70,7 @@ export class ListCostCategoryDefinitionsCommand extends $Command< private serialize( input: ListCostCategoryDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCostCategoryDefinitionsCommand( input, @@ -80,7 +80,7 @@ export class ListCostCategoryDefinitionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCostCategoryDefinitionsCommand( output, diff --git a/clients/client-cost-explorer/commands/UpdateCostCategoryDefinitionCommand.ts b/clients/client-cost-explorer/commands/UpdateCostCategoryDefinitionCommand.ts index b74a33b7eaf5..e17fe3f95953 100644 --- a/clients/client-cost-explorer/commands/UpdateCostCategoryDefinitionCommand.ts +++ b/clients/client-cost-explorer/commands/UpdateCostCategoryDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCostCategoryDefinitionCommandInput = UpdateCostCategoryDefinitionRequest; @@ -70,7 +70,7 @@ export class UpdateCostCategoryDefinitionCommand extends $Command< private serialize( input: UpdateCostCategoryDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateCostCategoryDefinitionCommand( input, @@ -80,7 +80,7 @@ export class UpdateCostCategoryDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateCostCategoryDefinitionCommand( output, diff --git a/clients/client-cost-explorer/protocols/Aws_json1_1.ts b/clients/client-cost-explorer/protocols/Aws_json1_1.ts index 9491127bfc76..6a34dd4a7a9b 100644 --- a/clients/client-cost-explorer/protocols/Aws_json1_1.ts +++ b/clients/client-cost-explorer/protocols/Aws_json1_1.ts @@ -5785,6 +5785,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-data-pipeline/commands/ActivatePipelineCommand.ts b/clients/client-data-pipeline/commands/ActivatePipelineCommand.ts index a5d781203628..933648268cd8 100644 --- a/clients/client-data-pipeline/commands/ActivatePipelineCommand.ts +++ b/clients/client-data-pipeline/commands/ActivatePipelineCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ActivatePipelineCommandInput = ActivatePipelineInput; @@ -64,14 +64,14 @@ export class ActivatePipelineCommand extends $Command< private serialize( input: ActivatePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ActivatePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ActivatePipelineCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/AddTagsCommand.ts b/clients/client-data-pipeline/commands/AddTagsCommand.ts index e896f5cc48c6..b462b25e67cd 100644 --- a/clients/client-data-pipeline/commands/AddTagsCommand.ts +++ b/clients/client-data-pipeline/commands/AddTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsCommandInput = AddTagsInput; @@ -64,14 +64,14 @@ export class AddTagsCommand extends $Command< private serialize( input: AddTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/CreatePipelineCommand.ts b/clients/client-data-pipeline/commands/CreatePipelineCommand.ts index d7d25dcfd58d..a592f2bebd0c 100644 --- a/clients/client-data-pipeline/commands/CreatePipelineCommand.ts +++ b/clients/client-data-pipeline/commands/CreatePipelineCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePipelineCommandInput = CreatePipelineInput; @@ -64,14 +64,14 @@ export class CreatePipelineCommand extends $Command< private serialize( input: CreatePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePipelineCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/DeactivatePipelineCommand.ts b/clients/client-data-pipeline/commands/DeactivatePipelineCommand.ts index 0c82cbbbb758..c8800c0bb1cc 100644 --- a/clients/client-data-pipeline/commands/DeactivatePipelineCommand.ts +++ b/clients/client-data-pipeline/commands/DeactivatePipelineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeactivatePipelineCommandInput = DeactivatePipelineInput; @@ -67,14 +67,14 @@ export class DeactivatePipelineCommand extends $Command< private serialize( input: DeactivatePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeactivatePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeactivatePipelineCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/DeletePipelineCommand.ts b/clients/client-data-pipeline/commands/DeletePipelineCommand.ts index 9a54f9a974c6..063145fec8ce 100644 --- a/clients/client-data-pipeline/commands/DeletePipelineCommand.ts +++ b/clients/client-data-pipeline/commands/DeletePipelineCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePipelineCommandInput = DeletePipelineInput; @@ -65,14 +65,14 @@ export class DeletePipelineCommand extends $Command< private serialize( input: DeletePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePipelineCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/DescribeObjectsCommand.ts b/clients/client-data-pipeline/commands/DescribeObjectsCommand.ts index a7fa1e010db0..01df0aa35c72 100644 --- a/clients/client-data-pipeline/commands/DescribeObjectsCommand.ts +++ b/clients/client-data-pipeline/commands/DescribeObjectsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeObjectsCommandInput = DescribeObjectsInput; @@ -64,14 +64,14 @@ export class DescribeObjectsCommand extends $Command< private serialize( input: DescribeObjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeObjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeObjectsCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/DescribePipelinesCommand.ts b/clients/client-data-pipeline/commands/DescribePipelinesCommand.ts index 56155ab67ce7..ce66880b9f59 100644 --- a/clients/client-data-pipeline/commands/DescribePipelinesCommand.ts +++ b/clients/client-data-pipeline/commands/DescribePipelinesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePipelinesCommandInput = DescribePipelinesInput; @@ -67,14 +67,14 @@ export class DescribePipelinesCommand extends $Command< private serialize( input: DescribePipelinesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePipelinesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePipelinesCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/EvaluateExpressionCommand.ts b/clients/client-data-pipeline/commands/EvaluateExpressionCommand.ts index 93e6121b5304..fb45eda76da8 100644 --- a/clients/client-data-pipeline/commands/EvaluateExpressionCommand.ts +++ b/clients/client-data-pipeline/commands/EvaluateExpressionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EvaluateExpressionCommandInput = EvaluateExpressionInput; @@ -67,14 +67,14 @@ export class EvaluateExpressionCommand extends $Command< private serialize( input: EvaluateExpressionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EvaluateExpressionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EvaluateExpressionCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/GetPipelineDefinitionCommand.ts b/clients/client-data-pipeline/commands/GetPipelineDefinitionCommand.ts index 9166ff1caa9e..48e263163eb3 100644 --- a/clients/client-data-pipeline/commands/GetPipelineDefinitionCommand.ts +++ b/clients/client-data-pipeline/commands/GetPipelineDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPipelineDefinitionCommandInput = GetPipelineDefinitionInput; @@ -70,14 +70,14 @@ export class GetPipelineDefinitionCommand extends $Command< private serialize( input: GetPipelineDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPipelineDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPipelineDefinitionCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/ListPipelinesCommand.ts b/clients/client-data-pipeline/commands/ListPipelinesCommand.ts index 1994ee67ff5b..0ed48d65ba78 100644 --- a/clients/client-data-pipeline/commands/ListPipelinesCommand.ts +++ b/clients/client-data-pipeline/commands/ListPipelinesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPipelinesCommandInput = ListPipelinesInput; @@ -64,14 +64,14 @@ export class ListPipelinesCommand extends $Command< private serialize( input: ListPipelinesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPipelinesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPipelinesCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/PollForTaskCommand.ts b/clients/client-data-pipeline/commands/PollForTaskCommand.ts index 46725189d366..223730ecf42c 100644 --- a/clients/client-data-pipeline/commands/PollForTaskCommand.ts +++ b/clients/client-data-pipeline/commands/PollForTaskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PollForTaskCommandInput = PollForTaskInput; @@ -64,14 +64,14 @@ export class PollForTaskCommand extends $Command< private serialize( input: PollForTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PollForTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PollForTaskCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/PutPipelineDefinitionCommand.ts b/clients/client-data-pipeline/commands/PutPipelineDefinitionCommand.ts index 1df28837143b..aaabe7df4c3b 100644 --- a/clients/client-data-pipeline/commands/PutPipelineDefinitionCommand.ts +++ b/clients/client-data-pipeline/commands/PutPipelineDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutPipelineDefinitionCommandInput = PutPipelineDefinitionInput; @@ -70,14 +70,14 @@ export class PutPipelineDefinitionCommand extends $Command< private serialize( input: PutPipelineDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutPipelineDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutPipelineDefinitionCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/QueryObjectsCommand.ts b/clients/client-data-pipeline/commands/QueryObjectsCommand.ts index 439a0eed2738..313fcb0c9346 100644 --- a/clients/client-data-pipeline/commands/QueryObjectsCommand.ts +++ b/clients/client-data-pipeline/commands/QueryObjectsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type QueryObjectsCommandInput = QueryObjectsInput; @@ -64,14 +64,14 @@ export class QueryObjectsCommand extends $Command< private serialize( input: QueryObjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1QueryObjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1QueryObjectsCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/RemoveTagsCommand.ts b/clients/client-data-pipeline/commands/RemoveTagsCommand.ts index efcfd3728a8d..5821663a10a4 100644 --- a/clients/client-data-pipeline/commands/RemoveTagsCommand.ts +++ b/clients/client-data-pipeline/commands/RemoveTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsCommandInput = RemoveTagsInput; @@ -64,14 +64,14 @@ export class RemoveTagsCommand extends $Command< private serialize( input: RemoveTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTagsCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/ReportTaskProgressCommand.ts b/clients/client-data-pipeline/commands/ReportTaskProgressCommand.ts index b2443600fe71..8a1218e177aa 100644 --- a/clients/client-data-pipeline/commands/ReportTaskProgressCommand.ts +++ b/clients/client-data-pipeline/commands/ReportTaskProgressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReportTaskProgressCommandInput = ReportTaskProgressInput; @@ -67,14 +67,14 @@ export class ReportTaskProgressCommand extends $Command< private serialize( input: ReportTaskProgressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ReportTaskProgressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ReportTaskProgressCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/ReportTaskRunnerHeartbeatCommand.ts b/clients/client-data-pipeline/commands/ReportTaskRunnerHeartbeatCommand.ts index 1a1169ea9ca5..75fdc0253d80 100644 --- a/clients/client-data-pipeline/commands/ReportTaskRunnerHeartbeatCommand.ts +++ b/clients/client-data-pipeline/commands/ReportTaskRunnerHeartbeatCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReportTaskRunnerHeartbeatCommandInput = ReportTaskRunnerHeartbeatInput; @@ -70,14 +70,14 @@ export class ReportTaskRunnerHeartbeatCommand extends $Command< private serialize( input: ReportTaskRunnerHeartbeatCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ReportTaskRunnerHeartbeatCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ReportTaskRunnerHeartbeatCommand( output, diff --git a/clients/client-data-pipeline/commands/SetStatusCommand.ts b/clients/client-data-pipeline/commands/SetStatusCommand.ts index 4121566f9153..e330605e23f2 100644 --- a/clients/client-data-pipeline/commands/SetStatusCommand.ts +++ b/clients/client-data-pipeline/commands/SetStatusCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetStatusCommandInput = SetStatusInput; @@ -65,14 +65,14 @@ export class SetStatusCommand extends $Command< private serialize( input: SetStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetStatusCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/SetTaskStatusCommand.ts b/clients/client-data-pipeline/commands/SetTaskStatusCommand.ts index f798b1b09082..b42352fd20f4 100644 --- a/clients/client-data-pipeline/commands/SetTaskStatusCommand.ts +++ b/clients/client-data-pipeline/commands/SetTaskStatusCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetTaskStatusCommandInput = SetTaskStatusInput; @@ -64,14 +64,14 @@ export class SetTaskStatusCommand extends $Command< private serialize( input: SetTaskStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetTaskStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetTaskStatusCommand(output, context); } diff --git a/clients/client-data-pipeline/commands/ValidatePipelineDefinitionCommand.ts b/clients/client-data-pipeline/commands/ValidatePipelineDefinitionCommand.ts index ae6abee0a06a..61ecc4062dd1 100644 --- a/clients/client-data-pipeline/commands/ValidatePipelineDefinitionCommand.ts +++ b/clients/client-data-pipeline/commands/ValidatePipelineDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ValidatePipelineDefinitionCommandInput = ValidatePipelineDefinitionInput; @@ -70,7 +70,7 @@ export class ValidatePipelineDefinitionCommand extends $Command< private serialize( input: ValidatePipelineDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ValidatePipelineDefinitionCommand( input, @@ -80,7 +80,7 @@ export class ValidatePipelineDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ValidatePipelineDefinitionCommand( output, diff --git a/clients/client-data-pipeline/protocols/Aws_json1_1.ts b/clients/client-data-pipeline/protocols/Aws_json1_1.ts index 162253bc2714..23f0d62ca548 100644 --- a/clients/client-data-pipeline/protocols/Aws_json1_1.ts +++ b/clients/client-data-pipeline/protocols/Aws_json1_1.ts @@ -3265,6 +3265,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts b/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts index bb2ce7f60628..40694d7cdfa0 100644 --- a/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts +++ b/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToResourceCommandInput = AddTagsToResourceMessage; @@ -67,14 +67,14 @@ export class AddTagsToResourceCommand extends $Command< private serialize( input: AddTagsToResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsToResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsToResourceCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/ApplyPendingMaintenanceActionCommand.ts b/clients/client-database-migration-service/commands/ApplyPendingMaintenanceActionCommand.ts index 491e823bc314..a19af7d2d757 100644 --- a/clients/client-database-migration-service/commands/ApplyPendingMaintenanceActionCommand.ts +++ b/clients/client-database-migration-service/commands/ApplyPendingMaintenanceActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ApplyPendingMaintenanceActionCommandInput = ApplyPendingMaintenanceActionMessage; @@ -70,7 +70,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< private serialize( input: ApplyPendingMaintenanceActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ApplyPendingMaintenanceActionCommand( input, @@ -80,7 +80,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ApplyPendingMaintenanceActionCommand( output, diff --git a/clients/client-database-migration-service/commands/CreateEndpointCommand.ts b/clients/client-database-migration-service/commands/CreateEndpointCommand.ts index 6c4b87f5e003..370688258f03 100644 --- a/clients/client-database-migration-service/commands/CreateEndpointCommand.ts +++ b/clients/client-database-migration-service/commands/CreateEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEndpointCommandInput = CreateEndpointMessage; @@ -64,14 +64,14 @@ export class CreateEndpointCommand extends $Command< private serialize( input: CreateEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEndpointCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts b/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts index 99ddd1cfbb2c..479200e09c7f 100644 --- a/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts +++ b/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEventSubscriptionCommandInput = CreateEventSubscriptionMessage; @@ -70,14 +70,14 @@ export class CreateEventSubscriptionCommand extends $Command< private serialize( input: CreateEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEventSubscriptionCommand( output, diff --git a/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts b/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts index e283e4ec682c..8d6f0e150da7 100644 --- a/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts +++ b/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateReplicationInstanceCommandInput = CreateReplicationInstanceMessage; @@ -70,14 +70,14 @@ export class CreateReplicationInstanceCommand extends $Command< private serialize( input: CreateReplicationInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateReplicationInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateReplicationInstanceCommand( output, diff --git a/clients/client-database-migration-service/commands/CreateReplicationSubnetGroupCommand.ts b/clients/client-database-migration-service/commands/CreateReplicationSubnetGroupCommand.ts index d3f302745197..fedaa541fec2 100644 --- a/clients/client-database-migration-service/commands/CreateReplicationSubnetGroupCommand.ts +++ b/clients/client-database-migration-service/commands/CreateReplicationSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateReplicationSubnetGroupCommandInput = CreateReplicationSubnetGroupMessage; @@ -70,7 +70,7 @@ export class CreateReplicationSubnetGroupCommand extends $Command< private serialize( input: CreateReplicationSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateReplicationSubnetGroupCommand( input, @@ -80,7 +80,7 @@ export class CreateReplicationSubnetGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateReplicationSubnetGroupCommand( output, diff --git a/clients/client-database-migration-service/commands/CreateReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/CreateReplicationTaskCommand.ts index 17036941227a..5ddb75845fa1 100644 --- a/clients/client-database-migration-service/commands/CreateReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/CreateReplicationTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateReplicationTaskCommandInput = CreateReplicationTaskMessage; @@ -70,14 +70,14 @@ export class CreateReplicationTaskCommand extends $Command< private serialize( input: CreateReplicationTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateReplicationTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateReplicationTaskCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/DeleteCertificateCommand.ts b/clients/client-database-migration-service/commands/DeleteCertificateCommand.ts index 04aa11cddd29..916a6cb27a33 100644 --- a/clients/client-database-migration-service/commands/DeleteCertificateCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCertificateCommandInput = DeleteCertificateMessage; @@ -67,14 +67,14 @@ export class DeleteCertificateCommand extends $Command< private serialize( input: DeleteCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCertificateCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/DeleteConnectionCommand.ts b/clients/client-database-migration-service/commands/DeleteConnectionCommand.ts index af852f6041c2..dfcf020f1c5a 100644 --- a/clients/client-database-migration-service/commands/DeleteConnectionCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConnectionCommandInput = DeleteConnectionMessage; @@ -67,14 +67,14 @@ export class DeleteConnectionCommand extends $Command< private serialize( input: DeleteConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteConnectionCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/DeleteEndpointCommand.ts b/clients/client-database-migration-service/commands/DeleteEndpointCommand.ts index 8d91b1bf6000..c5b230ede59e 100644 --- a/clients/client-database-migration-service/commands/DeleteEndpointCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEndpointCommandInput = DeleteEndpointMessage; @@ -64,14 +64,14 @@ export class DeleteEndpointCommand extends $Command< private serialize( input: DeleteEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEndpointCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts b/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts index 6f5e31d995f8..a6562357a260 100644 --- a/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEventSubscriptionCommandInput = DeleteEventSubscriptionMessage; @@ -70,14 +70,14 @@ export class DeleteEventSubscriptionCommand extends $Command< private serialize( input: DeleteEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEventSubscriptionCommand( output, diff --git a/clients/client-database-migration-service/commands/DeleteReplicationInstanceCommand.ts b/clients/client-database-migration-service/commands/DeleteReplicationInstanceCommand.ts index 52ede5f773e3..c5dd6c28ef5e 100644 --- a/clients/client-database-migration-service/commands/DeleteReplicationInstanceCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteReplicationInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReplicationInstanceCommandInput = DeleteReplicationInstanceMessage; @@ -70,14 +70,14 @@ export class DeleteReplicationInstanceCommand extends $Command< private serialize( input: DeleteReplicationInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteReplicationInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteReplicationInstanceCommand( output, diff --git a/clients/client-database-migration-service/commands/DeleteReplicationSubnetGroupCommand.ts b/clients/client-database-migration-service/commands/DeleteReplicationSubnetGroupCommand.ts index 00d03b6e582b..7b9c0cde829c 100644 --- a/clients/client-database-migration-service/commands/DeleteReplicationSubnetGroupCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteReplicationSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReplicationSubnetGroupCommandInput = DeleteReplicationSubnetGroupMessage; @@ -70,7 +70,7 @@ export class DeleteReplicationSubnetGroupCommand extends $Command< private serialize( input: DeleteReplicationSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteReplicationSubnetGroupCommand( input, @@ -80,7 +80,7 @@ export class DeleteReplicationSubnetGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteReplicationSubnetGroupCommand( output, diff --git a/clients/client-database-migration-service/commands/DeleteReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/DeleteReplicationTaskCommand.ts index 24abdc27a873..df3a650059be 100644 --- a/clients/client-database-migration-service/commands/DeleteReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteReplicationTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReplicationTaskCommandInput = DeleteReplicationTaskMessage; @@ -70,14 +70,14 @@ export class DeleteReplicationTaskCommand extends $Command< private serialize( input: DeleteReplicationTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteReplicationTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteReplicationTaskCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts b/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts index 22c2db3721a7..7036ed095a3c 100644 --- a/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountAttributesCommandInput = DescribeAccountAttributesMessage; @@ -70,14 +70,14 @@ export class DescribeAccountAttributesCommand extends $Command< private serialize( input: DescribeAccountAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAccountAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAccountAttributesCommand( output, diff --git a/clients/client-database-migration-service/commands/DescribeCertificatesCommand.ts b/clients/client-database-migration-service/commands/DescribeCertificatesCommand.ts index 4b915c901abb..204425378393 100644 --- a/clients/client-database-migration-service/commands/DescribeCertificatesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCertificatesCommandInput = DescribeCertificatesMessage; @@ -70,14 +70,14 @@ export class DescribeCertificatesCommand extends $Command< private serialize( input: DescribeCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCertificatesCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/DescribeConnectionsCommand.ts b/clients/client-database-migration-service/commands/DescribeConnectionsCommand.ts index 7af09602625b..3dccdd2a5303 100644 --- a/clients/client-database-migration-service/commands/DescribeConnectionsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeConnectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConnectionsCommandInput = DescribeConnectionsMessage; @@ -70,14 +70,14 @@ export class DescribeConnectionsCommand extends $Command< private serialize( input: DescribeConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConnectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConnectionsCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/DescribeEndpointTypesCommand.ts b/clients/client-database-migration-service/commands/DescribeEndpointTypesCommand.ts index db6bcba46231..aec2fa4eda11 100644 --- a/clients/client-database-migration-service/commands/DescribeEndpointTypesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEndpointTypesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEndpointTypesCommandInput = DescribeEndpointTypesMessage; @@ -70,14 +70,14 @@ export class DescribeEndpointTypesCommand extends $Command< private serialize( input: DescribeEndpointTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEndpointTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEndpointTypesCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/DescribeEndpointsCommand.ts b/clients/client-database-migration-service/commands/DescribeEndpointsCommand.ts index af2919295310..5ef069c2dc6f 100644 --- a/clients/client-database-migration-service/commands/DescribeEndpointsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEndpointsCommandInput = DescribeEndpointsMessage; @@ -67,14 +67,14 @@ export class DescribeEndpointsCommand extends $Command< private serialize( input: DescribeEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEndpointsCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts b/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts index 55e7e3a5392f..eea6bd15a91a 100644 --- a/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventCategoriesCommandInput = DescribeEventCategoriesMessage; @@ -70,14 +70,14 @@ export class DescribeEventCategoriesCommand extends $Command< private serialize( input: DescribeEventCategoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventCategoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventCategoriesCommand( output, diff --git a/clients/client-database-migration-service/commands/DescribeEventSubscriptionsCommand.ts b/clients/client-database-migration-service/commands/DescribeEventSubscriptionsCommand.ts index c81092a35cbe..586053ed94d2 100644 --- a/clients/client-database-migration-service/commands/DescribeEventSubscriptionsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEventSubscriptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventSubscriptionsCommandInput = DescribeEventSubscriptionsMessage; @@ -70,7 +70,7 @@ export class DescribeEventSubscriptionsCommand extends $Command< private serialize( input: DescribeEventSubscriptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventSubscriptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeEventSubscriptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventSubscriptionsCommand( output, diff --git a/clients/client-database-migration-service/commands/DescribeEventsCommand.ts b/clients/client-database-migration-service/commands/DescribeEventsCommand.ts index c66845b31127..66a9a4e74e9f 100644 --- a/clients/client-database-migration-service/commands/DescribeEventsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventsCommandInput = DescribeEventsMessage; @@ -64,14 +64,14 @@ export class DescribeEventsCommand extends $Command< private serialize( input: DescribeEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventsCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/DescribeOrderableReplicationInstancesCommand.ts b/clients/client-database-migration-service/commands/DescribeOrderableReplicationInstancesCommand.ts index 883b25302b4c..8e7eafc0849b 100644 --- a/clients/client-database-migration-service/commands/DescribeOrderableReplicationInstancesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeOrderableReplicationInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrderableReplicationInstancesCommandInput = DescribeOrderableReplicationInstancesMessage; @@ -72,7 +72,7 @@ export class DescribeOrderableReplicationInstancesCommand extends $Command< private serialize( input: DescribeOrderableReplicationInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeOrderableReplicationInstancesCommand( input, @@ -82,7 +82,7 @@ export class DescribeOrderableReplicationInstancesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeOrderableReplicationInstancesCommand( output, diff --git a/clients/client-database-migration-service/commands/DescribePendingMaintenanceActionsCommand.ts b/clients/client-database-migration-service/commands/DescribePendingMaintenanceActionsCommand.ts index 4000e8b51281..bdf0ede6c73a 100644 --- a/clients/client-database-migration-service/commands/DescribePendingMaintenanceActionsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribePendingMaintenanceActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePendingMaintenanceActionsCommandInput = DescribePendingMaintenanceActionsMessage; @@ -70,7 +70,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< private serialize( input: DescribePendingMaintenanceActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePendingMaintenanceActionsCommand( input, @@ -80,7 +80,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePendingMaintenanceActionsCommand( output, diff --git a/clients/client-database-migration-service/commands/DescribeRefreshSchemasStatusCommand.ts b/clients/client-database-migration-service/commands/DescribeRefreshSchemasStatusCommand.ts index 9bf8505f32d4..02b49555efd2 100644 --- a/clients/client-database-migration-service/commands/DescribeRefreshSchemasStatusCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeRefreshSchemasStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRefreshSchemasStatusCommandInput = DescribeRefreshSchemasStatusMessage; @@ -70,7 +70,7 @@ export class DescribeRefreshSchemasStatusCommand extends $Command< private serialize( input: DescribeRefreshSchemasStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRefreshSchemasStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribeRefreshSchemasStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRefreshSchemasStatusCommand( output, diff --git a/clients/client-database-migration-service/commands/DescribeReplicationInstanceTaskLogsCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationInstanceTaskLogsCommand.ts index b513c825e706..682e05ba5d6a 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationInstanceTaskLogsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationInstanceTaskLogsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReplicationInstanceTaskLogsCommandInput = DescribeReplicationInstanceTaskLogsMessage; @@ -70,7 +70,7 @@ export class DescribeReplicationInstanceTaskLogsCommand extends $Command< private serialize( input: DescribeReplicationInstanceTaskLogsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeReplicationInstanceTaskLogsCommand( input, @@ -80,7 +80,7 @@ export class DescribeReplicationInstanceTaskLogsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeReplicationInstanceTaskLogsCommand( output, diff --git a/clients/client-database-migration-service/commands/DescribeReplicationInstancesCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationInstancesCommand.ts index fc6b278b42da..8e56270ad2f4 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationInstancesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReplicationInstancesCommandInput = DescribeReplicationInstancesMessage; @@ -70,7 +70,7 @@ export class DescribeReplicationInstancesCommand extends $Command< private serialize( input: DescribeReplicationInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeReplicationInstancesCommand( input, @@ -80,7 +80,7 @@ export class DescribeReplicationInstancesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeReplicationInstancesCommand( output, diff --git a/clients/client-database-migration-service/commands/DescribeReplicationSubnetGroupsCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationSubnetGroupsCommand.ts index 5a950bf8b4a4..ce813c1922a4 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationSubnetGroupsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationSubnetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReplicationSubnetGroupsCommandInput = DescribeReplicationSubnetGroupsMessage; @@ -70,7 +70,7 @@ export class DescribeReplicationSubnetGroupsCommand extends $Command< private serialize( input: DescribeReplicationSubnetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeReplicationSubnetGroupsCommand( input, @@ -80,7 +80,7 @@ export class DescribeReplicationSubnetGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeReplicationSubnetGroupsCommand( output, diff --git a/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts index 19663afad1d6..4119f3505b9e 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReplicationTaskAssessmentResultsCommandInput = DescribeReplicationTaskAssessmentResultsMessage; @@ -72,7 +72,7 @@ export class DescribeReplicationTaskAssessmentResultsCommand extends $Command< private serialize( input: DescribeReplicationTaskAssessmentResultsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeReplicationTaskAssessmentResultsCommand( input, @@ -82,7 +82,7 @@ export class DescribeReplicationTaskAssessmentResultsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeReplicationTaskAssessmentResultsCommand( output, diff --git a/clients/client-database-migration-service/commands/DescribeReplicationTasksCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationTasksCommand.ts index 4e09fccd4e38..52853ae3cad8 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationTasksCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReplicationTasksCommandInput = DescribeReplicationTasksMessage; @@ -70,14 +70,14 @@ export class DescribeReplicationTasksCommand extends $Command< private serialize( input: DescribeReplicationTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeReplicationTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeReplicationTasksCommand( output, diff --git a/clients/client-database-migration-service/commands/DescribeSchemasCommand.ts b/clients/client-database-migration-service/commands/DescribeSchemasCommand.ts index 7b9c9050bc0f..7e3070e6d319 100644 --- a/clients/client-database-migration-service/commands/DescribeSchemasCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeSchemasCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSchemasCommandInput = DescribeSchemasMessage; @@ -67,14 +67,14 @@ export class DescribeSchemasCommand extends $Command< private serialize( input: DescribeSchemasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSchemasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSchemasCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts b/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts index ba601fc1412a..ebbe3443215d 100644 --- a/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTableStatisticsCommandInput = DescribeTableStatisticsMessage; @@ -70,14 +70,14 @@ export class DescribeTableStatisticsCommand extends $Command< private serialize( input: DescribeTableStatisticsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTableStatisticsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTableStatisticsCommand( output, diff --git a/clients/client-database-migration-service/commands/ImportCertificateCommand.ts b/clients/client-database-migration-service/commands/ImportCertificateCommand.ts index b2784ca64082..eebfaf44b1da 100644 --- a/clients/client-database-migration-service/commands/ImportCertificateCommand.ts +++ b/clients/client-database-migration-service/commands/ImportCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportCertificateCommandInput = ImportCertificateMessage; @@ -67,14 +67,14 @@ export class ImportCertificateCommand extends $Command< private serialize( input: ImportCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportCertificateCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts b/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts index 6999f9af42ea..fce21ac80011 100644 --- a/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts +++ b/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceMessage; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts b/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts index dc91580ab1ec..03a88327f767 100644 --- a/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyEndpointCommandInput = ModifyEndpointMessage; @@ -64,14 +64,14 @@ export class ModifyEndpointCommand extends $Command< private serialize( input: ModifyEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyEndpointCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts b/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts index 14c85ac5fe80..063c4ef36ace 100644 --- a/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyEventSubscriptionCommandInput = ModifyEventSubscriptionMessage; @@ -70,14 +70,14 @@ export class ModifyEventSubscriptionCommand extends $Command< private serialize( input: ModifyEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyEventSubscriptionCommand( output, diff --git a/clients/client-database-migration-service/commands/ModifyReplicationInstanceCommand.ts b/clients/client-database-migration-service/commands/ModifyReplicationInstanceCommand.ts index 7ec8962b3727..88ce8e3fd43d 100644 --- a/clients/client-database-migration-service/commands/ModifyReplicationInstanceCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyReplicationInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyReplicationInstanceCommandInput = ModifyReplicationInstanceMessage; @@ -70,14 +70,14 @@ export class ModifyReplicationInstanceCommand extends $Command< private serialize( input: ModifyReplicationInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyReplicationInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyReplicationInstanceCommand( output, diff --git a/clients/client-database-migration-service/commands/ModifyReplicationSubnetGroupCommand.ts b/clients/client-database-migration-service/commands/ModifyReplicationSubnetGroupCommand.ts index c377b4faa756..c73e5e2ace3b 100644 --- a/clients/client-database-migration-service/commands/ModifyReplicationSubnetGroupCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyReplicationSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyReplicationSubnetGroupCommandInput = ModifyReplicationSubnetGroupMessage; @@ -70,7 +70,7 @@ export class ModifyReplicationSubnetGroupCommand extends $Command< private serialize( input: ModifyReplicationSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyReplicationSubnetGroupCommand( input, @@ -80,7 +80,7 @@ export class ModifyReplicationSubnetGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyReplicationSubnetGroupCommand( output, diff --git a/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts index 7df69ffab14e..2f440f8173ad 100644 --- a/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyReplicationTaskCommandInput = ModifyReplicationTaskMessage; @@ -70,14 +70,14 @@ export class ModifyReplicationTaskCommand extends $Command< private serialize( input: ModifyReplicationTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyReplicationTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyReplicationTaskCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/RebootReplicationInstanceCommand.ts b/clients/client-database-migration-service/commands/RebootReplicationInstanceCommand.ts index 0e5419a2ac17..27f6bfd15d05 100644 --- a/clients/client-database-migration-service/commands/RebootReplicationInstanceCommand.ts +++ b/clients/client-database-migration-service/commands/RebootReplicationInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootReplicationInstanceCommandInput = RebootReplicationInstanceMessage; @@ -70,14 +70,14 @@ export class RebootReplicationInstanceCommand extends $Command< private serialize( input: RebootReplicationInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RebootReplicationInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RebootReplicationInstanceCommand( output, diff --git a/clients/client-database-migration-service/commands/RefreshSchemasCommand.ts b/clients/client-database-migration-service/commands/RefreshSchemasCommand.ts index 93e6deb69863..a8ee756f1bce 100644 --- a/clients/client-database-migration-service/commands/RefreshSchemasCommand.ts +++ b/clients/client-database-migration-service/commands/RefreshSchemasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RefreshSchemasCommandInput = RefreshSchemasMessage; @@ -64,14 +64,14 @@ export class RefreshSchemasCommand extends $Command< private serialize( input: RefreshSchemasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RefreshSchemasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RefreshSchemasCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/ReloadTablesCommand.ts b/clients/client-database-migration-service/commands/ReloadTablesCommand.ts index 7877cee22447..5ea15a43c834 100644 --- a/clients/client-database-migration-service/commands/ReloadTablesCommand.ts +++ b/clients/client-database-migration-service/commands/ReloadTablesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReloadTablesCommandInput = ReloadTablesMessage; @@ -64,14 +64,14 @@ export class ReloadTablesCommand extends $Command< private serialize( input: ReloadTablesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ReloadTablesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ReloadTablesCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts b/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts index e0fe275dbf2d..e0892e0096d9 100644 --- a/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromResourceCommandInput = RemoveTagsFromResourceMessage; @@ -70,14 +70,14 @@ export class RemoveTagsFromResourceCommand extends $Command< private serialize( input: RemoveTagsFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTagsFromResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTagsFromResourceCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentCommand.ts b/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentCommand.ts index aee423958f1c..8630b93c80a1 100644 --- a/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentCommand.ts +++ b/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartReplicationTaskAssessmentCommandInput = StartReplicationTaskAssessmentMessage; @@ -70,7 +70,7 @@ export class StartReplicationTaskAssessmentCommand extends $Command< private serialize( input: StartReplicationTaskAssessmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartReplicationTaskAssessmentCommand( input, @@ -80,7 +80,7 @@ export class StartReplicationTaskAssessmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartReplicationTaskAssessmentCommand( output, diff --git a/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts index 9134f960fee3..f36b8b2aa08f 100644 --- a/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartReplicationTaskCommandInput = StartReplicationTaskMessage; @@ -70,14 +70,14 @@ export class StartReplicationTaskCommand extends $Command< private serialize( input: StartReplicationTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartReplicationTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartReplicationTaskCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/StopReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/StopReplicationTaskCommand.ts index b2290a7fefad..96ba95ab5e97 100644 --- a/clients/client-database-migration-service/commands/StopReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/StopReplicationTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopReplicationTaskCommandInput = StopReplicationTaskMessage; @@ -70,14 +70,14 @@ export class StopReplicationTaskCommand extends $Command< private serialize( input: StopReplicationTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopReplicationTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopReplicationTaskCommand(output, context); } diff --git a/clients/client-database-migration-service/commands/TestConnectionCommand.ts b/clients/client-database-migration-service/commands/TestConnectionCommand.ts index 06c991e1c052..f4b38ed7ccd3 100644 --- a/clients/client-database-migration-service/commands/TestConnectionCommand.ts +++ b/clients/client-database-migration-service/commands/TestConnectionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestConnectionCommandInput = TestConnectionMessage; @@ -64,14 +64,14 @@ export class TestConnectionCommand extends $Command< private serialize( input: TestConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TestConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TestConnectionCommand(output, context); } diff --git a/clients/client-database-migration-service/protocols/Aws_json1_1.ts b/clients/client-database-migration-service/protocols/Aws_json1_1.ts index 5726f4bb0793..11a95b3f53cd 100644 --- a/clients/client-database-migration-service/protocols/Aws_json1_1.ts +++ b/clients/client-database-migration-service/protocols/Aws_json1_1.ts @@ -9390,6 +9390,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-dataexchange/commands/CancelJobCommand.ts b/clients/client-dataexchange/commands/CancelJobCommand.ts index 2a76c605e23b..df52cc260aac 100644 --- a/clients/client-dataexchange/commands/CancelJobCommand.ts +++ b/clients/client-dataexchange/commands/CancelJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelJobCommandInput = CancelJobRequest; @@ -65,14 +65,14 @@ export class CancelJobCommand extends $Command< private serialize( input: CancelJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelJobCommand(output, context); } diff --git a/clients/client-dataexchange/commands/CreateDataSetCommand.ts b/clients/client-dataexchange/commands/CreateDataSetCommand.ts index 371433bddd29..695c0f42151b 100644 --- a/clients/client-dataexchange/commands/CreateDataSetCommand.ts +++ b/clients/client-dataexchange/commands/CreateDataSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDataSetCommandInput = CreateDataSetRequest; @@ -64,14 +64,14 @@ export class CreateDataSetCommand extends $Command< private serialize( input: CreateDataSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDataSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDataSetCommand(output, context); } diff --git a/clients/client-dataexchange/commands/CreateJobCommand.ts b/clients/client-dataexchange/commands/CreateJobCommand.ts index cb049b81d4bf..57f94b8beb2a 100644 --- a/clients/client-dataexchange/commands/CreateJobCommand.ts +++ b/clients/client-dataexchange/commands/CreateJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateJobCommandInput = CreateJobRequest; @@ -64,14 +64,14 @@ export class CreateJobCommand extends $Command< private serialize( input: CreateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateJobCommand(output, context); } diff --git a/clients/client-dataexchange/commands/CreateRevisionCommand.ts b/clients/client-dataexchange/commands/CreateRevisionCommand.ts index 0714bd6a4065..3f41851299e0 100644 --- a/clients/client-dataexchange/commands/CreateRevisionCommand.ts +++ b/clients/client-dataexchange/commands/CreateRevisionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRevisionCommandInput = CreateRevisionRequest; @@ -64,14 +64,14 @@ export class CreateRevisionCommand extends $Command< private serialize( input: CreateRevisionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRevisionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRevisionCommand(output, context); } diff --git a/clients/client-dataexchange/commands/DeleteAssetCommand.ts b/clients/client-dataexchange/commands/DeleteAssetCommand.ts index 4d73b9ef56ae..2eb901106bf3 100644 --- a/clients/client-dataexchange/commands/DeleteAssetCommand.ts +++ b/clients/client-dataexchange/commands/DeleteAssetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAssetCommandInput = DeleteAssetRequest; @@ -65,14 +65,14 @@ export class DeleteAssetCommand extends $Command< private serialize( input: DeleteAssetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAssetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAssetCommand(output, context); } diff --git a/clients/client-dataexchange/commands/DeleteDataSetCommand.ts b/clients/client-dataexchange/commands/DeleteDataSetCommand.ts index 2e909a6d954d..ca7221738ead 100644 --- a/clients/client-dataexchange/commands/DeleteDataSetCommand.ts +++ b/clients/client-dataexchange/commands/DeleteDataSetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDataSetCommandInput = DeleteDataSetRequest; @@ -65,14 +65,14 @@ export class DeleteDataSetCommand extends $Command< private serialize( input: DeleteDataSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDataSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDataSetCommand(output, context); } diff --git a/clients/client-dataexchange/commands/DeleteRevisionCommand.ts b/clients/client-dataexchange/commands/DeleteRevisionCommand.ts index d0a0277ee60b..bc40feec690c 100644 --- a/clients/client-dataexchange/commands/DeleteRevisionCommand.ts +++ b/clients/client-dataexchange/commands/DeleteRevisionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRevisionCommandInput = DeleteRevisionRequest; @@ -65,14 +65,14 @@ export class DeleteRevisionCommand extends $Command< private serialize( input: DeleteRevisionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRevisionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRevisionCommand(output, context); } diff --git a/clients/client-dataexchange/commands/GetAssetCommand.ts b/clients/client-dataexchange/commands/GetAssetCommand.ts index 4d9bbb5021e8..0fdfa4086ff2 100644 --- a/clients/client-dataexchange/commands/GetAssetCommand.ts +++ b/clients/client-dataexchange/commands/GetAssetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAssetCommandInput = GetAssetRequest; @@ -64,14 +64,14 @@ export class GetAssetCommand extends $Command< private serialize( input: GetAssetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAssetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAssetCommand(output, context); } diff --git a/clients/client-dataexchange/commands/GetDataSetCommand.ts b/clients/client-dataexchange/commands/GetDataSetCommand.ts index d2bb92a4d78e..4ddc1210092f 100644 --- a/clients/client-dataexchange/commands/GetDataSetCommand.ts +++ b/clients/client-dataexchange/commands/GetDataSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDataSetCommandInput = GetDataSetRequest; @@ -64,14 +64,14 @@ export class GetDataSetCommand extends $Command< private serialize( input: GetDataSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDataSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDataSetCommand(output, context); } diff --git a/clients/client-dataexchange/commands/GetJobCommand.ts b/clients/client-dataexchange/commands/GetJobCommand.ts index a1e1da0f488f..f74b6ce4739c 100644 --- a/clients/client-dataexchange/commands/GetJobCommand.ts +++ b/clients/client-dataexchange/commands/GetJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobCommandInput = GetJobRequest; @@ -64,14 +64,14 @@ export class GetJobCommand extends $Command< private serialize( input: GetJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetJobCommand(output, context); } diff --git a/clients/client-dataexchange/commands/GetRevisionCommand.ts b/clients/client-dataexchange/commands/GetRevisionCommand.ts index a8e16b101908..6a9d2eb609ff 100644 --- a/clients/client-dataexchange/commands/GetRevisionCommand.ts +++ b/clients/client-dataexchange/commands/GetRevisionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRevisionCommandInput = GetRevisionRequest; @@ -64,14 +64,14 @@ export class GetRevisionCommand extends $Command< private serialize( input: GetRevisionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRevisionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRevisionCommand(output, context); } diff --git a/clients/client-dataexchange/commands/ListDataSetRevisionsCommand.ts b/clients/client-dataexchange/commands/ListDataSetRevisionsCommand.ts index a245a3a6e30f..b31ad2cd95c5 100644 --- a/clients/client-dataexchange/commands/ListDataSetRevisionsCommand.ts +++ b/clients/client-dataexchange/commands/ListDataSetRevisionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDataSetRevisionsCommandInput = ListDataSetRevisionsRequest; @@ -70,14 +70,14 @@ export class ListDataSetRevisionsCommand extends $Command< private serialize( input: ListDataSetRevisionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDataSetRevisionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDataSetRevisionsCommand( output, diff --git a/clients/client-dataexchange/commands/ListDataSetsCommand.ts b/clients/client-dataexchange/commands/ListDataSetsCommand.ts index b82b388b33ca..c02aee41d46d 100644 --- a/clients/client-dataexchange/commands/ListDataSetsCommand.ts +++ b/clients/client-dataexchange/commands/ListDataSetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDataSetsCommandInput = ListDataSetsRequest; @@ -64,14 +64,14 @@ export class ListDataSetsCommand extends $Command< private serialize( input: ListDataSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDataSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDataSetsCommand(output, context); } diff --git a/clients/client-dataexchange/commands/ListJobsCommand.ts b/clients/client-dataexchange/commands/ListJobsCommand.ts index c963886e3cb1..3384b5936cfa 100644 --- a/clients/client-dataexchange/commands/ListJobsCommand.ts +++ b/clients/client-dataexchange/commands/ListJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsCommandInput = ListJobsRequest; @@ -64,14 +64,14 @@ export class ListJobsCommand extends $Command< private serialize( input: ListJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJobsCommand(output, context); } diff --git a/clients/client-dataexchange/commands/ListRevisionAssetsCommand.ts b/clients/client-dataexchange/commands/ListRevisionAssetsCommand.ts index a18c582d8fd9..d3407d88b3dd 100644 --- a/clients/client-dataexchange/commands/ListRevisionAssetsCommand.ts +++ b/clients/client-dataexchange/commands/ListRevisionAssetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRevisionAssetsCommandInput = ListRevisionAssetsRequest; @@ -67,14 +67,14 @@ export class ListRevisionAssetsCommand extends $Command< private serialize( input: ListRevisionAssetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRevisionAssetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRevisionAssetsCommand(output, context); } diff --git a/clients/client-dataexchange/commands/ListTagsForResourceCommand.ts b/clients/client-dataexchange/commands/ListTagsForResourceCommand.ts index a07332f9f9b9..a36bf0c9fedd 100644 --- a/clients/client-dataexchange/commands/ListTagsForResourceCommand.ts +++ b/clients/client-dataexchange/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-dataexchange/commands/StartJobCommand.ts b/clients/client-dataexchange/commands/StartJobCommand.ts index a0aa5dfeff66..af643bb95912 100644 --- a/clients/client-dataexchange/commands/StartJobCommand.ts +++ b/clients/client-dataexchange/commands/StartJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartJobCommandInput = StartJobRequest; @@ -64,14 +64,14 @@ export class StartJobCommand extends $Command< private serialize( input: StartJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartJobCommand(output, context); } diff --git a/clients/client-dataexchange/commands/TagResourceCommand.ts b/clients/client-dataexchange/commands/TagResourceCommand.ts index 6361c438c274..deb638ed7952 100644 --- a/clients/client-dataexchange/commands/TagResourceCommand.ts +++ b/clients/client-dataexchange/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-dataexchange/commands/UntagResourceCommand.ts b/clients/client-dataexchange/commands/UntagResourceCommand.ts index afda2e7c9730..dd3ab2b6556c 100644 --- a/clients/client-dataexchange/commands/UntagResourceCommand.ts +++ b/clients/client-dataexchange/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-dataexchange/commands/UpdateAssetCommand.ts b/clients/client-dataexchange/commands/UpdateAssetCommand.ts index 0c017bcf0980..7d9db5ccb146 100644 --- a/clients/client-dataexchange/commands/UpdateAssetCommand.ts +++ b/clients/client-dataexchange/commands/UpdateAssetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAssetCommandInput = UpdateAssetRequest; @@ -64,14 +64,14 @@ export class UpdateAssetCommand extends $Command< private serialize( input: UpdateAssetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAssetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAssetCommand(output, context); } diff --git a/clients/client-dataexchange/commands/UpdateDataSetCommand.ts b/clients/client-dataexchange/commands/UpdateDataSetCommand.ts index 20895837582f..e444f01e41e1 100644 --- a/clients/client-dataexchange/commands/UpdateDataSetCommand.ts +++ b/clients/client-dataexchange/commands/UpdateDataSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDataSetCommandInput = UpdateDataSetRequest; @@ -64,14 +64,14 @@ export class UpdateDataSetCommand extends $Command< private serialize( input: UpdateDataSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDataSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDataSetCommand(output, context); } diff --git a/clients/client-dataexchange/commands/UpdateRevisionCommand.ts b/clients/client-dataexchange/commands/UpdateRevisionCommand.ts index e988a0775420..b2fb4245fe4d 100644 --- a/clients/client-dataexchange/commands/UpdateRevisionCommand.ts +++ b/clients/client-dataexchange/commands/UpdateRevisionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRevisionCommandInput = UpdateRevisionRequest; @@ -64,14 +64,14 @@ export class UpdateRevisionCommand extends $Command< private serialize( input: UpdateRevisionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRevisionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRevisionCommand(output, context); } diff --git a/clients/client-dataexchange/protocols/Aws_restJson1_1.ts b/clients/client-dataexchange/protocols/Aws_restJson1_1.ts index 436c63ea03e4..f74ee18b8714 100644 --- a/clients/client-dataexchange/protocols/Aws_restJson1_1.ts +++ b/clients/client-dataexchange/protocols/Aws_restJson1_1.ts @@ -3965,6 +3965,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-datasync/commands/CancelTaskExecutionCommand.ts b/clients/client-datasync/commands/CancelTaskExecutionCommand.ts index d664d1c3ca0c..4a360a67e593 100644 --- a/clients/client-datasync/commands/CancelTaskExecutionCommand.ts +++ b/clients/client-datasync/commands/CancelTaskExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelTaskExecutionCommandInput = CancelTaskExecutionRequest; @@ -70,14 +70,14 @@ export class CancelTaskExecutionCommand extends $Command< private serialize( input: CancelTaskExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelTaskExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelTaskExecutionCommand(output, context); } diff --git a/clients/client-datasync/commands/CreateAgentCommand.ts b/clients/client-datasync/commands/CreateAgentCommand.ts index ccb8f082bef8..3d71a2ded79f 100644 --- a/clients/client-datasync/commands/CreateAgentCommand.ts +++ b/clients/client-datasync/commands/CreateAgentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAgentCommandInput = CreateAgentRequest; @@ -64,14 +64,14 @@ export class CreateAgentCommand extends $Command< private serialize( input: CreateAgentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAgentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAgentCommand(output, context); } diff --git a/clients/client-datasync/commands/CreateLocationEfsCommand.ts b/clients/client-datasync/commands/CreateLocationEfsCommand.ts index c31823edecdb..0091b04c0ffb 100644 --- a/clients/client-datasync/commands/CreateLocationEfsCommand.ts +++ b/clients/client-datasync/commands/CreateLocationEfsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLocationEfsCommandInput = CreateLocationEfsRequest; @@ -67,14 +67,14 @@ export class CreateLocationEfsCommand extends $Command< private serialize( input: CreateLocationEfsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLocationEfsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLocationEfsCommand(output, context); } diff --git a/clients/client-datasync/commands/CreateLocationNfsCommand.ts b/clients/client-datasync/commands/CreateLocationNfsCommand.ts index 3dddae708613..cf4de87f63d2 100644 --- a/clients/client-datasync/commands/CreateLocationNfsCommand.ts +++ b/clients/client-datasync/commands/CreateLocationNfsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLocationNfsCommandInput = CreateLocationNfsRequest; @@ -67,14 +67,14 @@ export class CreateLocationNfsCommand extends $Command< private serialize( input: CreateLocationNfsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLocationNfsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLocationNfsCommand(output, context); } diff --git a/clients/client-datasync/commands/CreateLocationS3Command.ts b/clients/client-datasync/commands/CreateLocationS3Command.ts index 4826ebd4b1b9..3d09da7b630f 100644 --- a/clients/client-datasync/commands/CreateLocationS3Command.ts +++ b/clients/client-datasync/commands/CreateLocationS3Command.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLocationS3CommandInput = CreateLocationS3Request; @@ -67,14 +67,14 @@ export class CreateLocationS3Command extends $Command< private serialize( input: CreateLocationS3CommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLocationS3Command(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLocationS3Command(output, context); } diff --git a/clients/client-datasync/commands/CreateLocationSmbCommand.ts b/clients/client-datasync/commands/CreateLocationSmbCommand.ts index aef67717cdad..3ec5bf997de8 100644 --- a/clients/client-datasync/commands/CreateLocationSmbCommand.ts +++ b/clients/client-datasync/commands/CreateLocationSmbCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLocationSmbCommandInput = CreateLocationSmbRequest; @@ -67,14 +67,14 @@ export class CreateLocationSmbCommand extends $Command< private serialize( input: CreateLocationSmbCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLocationSmbCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLocationSmbCommand(output, context); } diff --git a/clients/client-datasync/commands/CreateTaskCommand.ts b/clients/client-datasync/commands/CreateTaskCommand.ts index d6695ee56dde..2796e38f96cf 100644 --- a/clients/client-datasync/commands/CreateTaskCommand.ts +++ b/clients/client-datasync/commands/CreateTaskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTaskCommandInput = CreateTaskRequest; @@ -64,14 +64,14 @@ export class CreateTaskCommand extends $Command< private serialize( input: CreateTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTaskCommand(output, context); } diff --git a/clients/client-datasync/commands/DeleteAgentCommand.ts b/clients/client-datasync/commands/DeleteAgentCommand.ts index e50dacc773ac..f21e3f8c1a59 100644 --- a/clients/client-datasync/commands/DeleteAgentCommand.ts +++ b/clients/client-datasync/commands/DeleteAgentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAgentCommandInput = DeleteAgentRequest; @@ -64,14 +64,14 @@ export class DeleteAgentCommand extends $Command< private serialize( input: DeleteAgentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAgentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAgentCommand(output, context); } diff --git a/clients/client-datasync/commands/DeleteLocationCommand.ts b/clients/client-datasync/commands/DeleteLocationCommand.ts index 210b725e8878..c99ab2e4c37c 100644 --- a/clients/client-datasync/commands/DeleteLocationCommand.ts +++ b/clients/client-datasync/commands/DeleteLocationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLocationCommandInput = DeleteLocationRequest; @@ -64,14 +64,14 @@ export class DeleteLocationCommand extends $Command< private serialize( input: DeleteLocationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLocationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLocationCommand(output, context); } diff --git a/clients/client-datasync/commands/DeleteTaskCommand.ts b/clients/client-datasync/commands/DeleteTaskCommand.ts index 2f1846788dc2..4259d692a8f2 100644 --- a/clients/client-datasync/commands/DeleteTaskCommand.ts +++ b/clients/client-datasync/commands/DeleteTaskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTaskCommandInput = DeleteTaskRequest; @@ -64,14 +64,14 @@ export class DeleteTaskCommand extends $Command< private serialize( input: DeleteTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTaskCommand(output, context); } diff --git a/clients/client-datasync/commands/DescribeAgentCommand.ts b/clients/client-datasync/commands/DescribeAgentCommand.ts index 76b2306187ea..cade37528085 100644 --- a/clients/client-datasync/commands/DescribeAgentCommand.ts +++ b/clients/client-datasync/commands/DescribeAgentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAgentCommandInput = DescribeAgentRequest; @@ -64,14 +64,14 @@ export class DescribeAgentCommand extends $Command< private serialize( input: DescribeAgentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAgentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAgentCommand(output, context); } diff --git a/clients/client-datasync/commands/DescribeLocationEfsCommand.ts b/clients/client-datasync/commands/DescribeLocationEfsCommand.ts index 0c17e13c310c..7e07cce11ff6 100644 --- a/clients/client-datasync/commands/DescribeLocationEfsCommand.ts +++ b/clients/client-datasync/commands/DescribeLocationEfsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLocationEfsCommandInput = DescribeLocationEfsRequest; @@ -70,14 +70,14 @@ export class DescribeLocationEfsCommand extends $Command< private serialize( input: DescribeLocationEfsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLocationEfsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLocationEfsCommand(output, context); } diff --git a/clients/client-datasync/commands/DescribeLocationNfsCommand.ts b/clients/client-datasync/commands/DescribeLocationNfsCommand.ts index fa85eac05eb1..a535db5af047 100644 --- a/clients/client-datasync/commands/DescribeLocationNfsCommand.ts +++ b/clients/client-datasync/commands/DescribeLocationNfsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLocationNfsCommandInput = DescribeLocationNfsRequest; @@ -70,14 +70,14 @@ export class DescribeLocationNfsCommand extends $Command< private serialize( input: DescribeLocationNfsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLocationNfsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLocationNfsCommand(output, context); } diff --git a/clients/client-datasync/commands/DescribeLocationS3Command.ts b/clients/client-datasync/commands/DescribeLocationS3Command.ts index 890b6ff8824e..00fb3b89e068 100644 --- a/clients/client-datasync/commands/DescribeLocationS3Command.ts +++ b/clients/client-datasync/commands/DescribeLocationS3Command.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLocationS3CommandInput = DescribeLocationS3Request; @@ -67,14 +67,14 @@ export class DescribeLocationS3Command extends $Command< private serialize( input: DescribeLocationS3CommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLocationS3Command(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLocationS3Command(output, context); } diff --git a/clients/client-datasync/commands/DescribeLocationSmbCommand.ts b/clients/client-datasync/commands/DescribeLocationSmbCommand.ts index ff74b8107a91..35b65437557b 100644 --- a/clients/client-datasync/commands/DescribeLocationSmbCommand.ts +++ b/clients/client-datasync/commands/DescribeLocationSmbCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLocationSmbCommandInput = DescribeLocationSmbRequest; @@ -70,14 +70,14 @@ export class DescribeLocationSmbCommand extends $Command< private serialize( input: DescribeLocationSmbCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLocationSmbCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLocationSmbCommand(output, context); } diff --git a/clients/client-datasync/commands/DescribeTaskCommand.ts b/clients/client-datasync/commands/DescribeTaskCommand.ts index 4f47beb0a8bc..6af982df2d8b 100644 --- a/clients/client-datasync/commands/DescribeTaskCommand.ts +++ b/clients/client-datasync/commands/DescribeTaskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTaskCommandInput = DescribeTaskRequest; @@ -64,14 +64,14 @@ export class DescribeTaskCommand extends $Command< private serialize( input: DescribeTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTaskCommand(output, context); } diff --git a/clients/client-datasync/commands/DescribeTaskExecutionCommand.ts b/clients/client-datasync/commands/DescribeTaskExecutionCommand.ts index 422551106de3..4044c867c54e 100644 --- a/clients/client-datasync/commands/DescribeTaskExecutionCommand.ts +++ b/clients/client-datasync/commands/DescribeTaskExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTaskExecutionCommandInput = DescribeTaskExecutionRequest; @@ -70,14 +70,14 @@ export class DescribeTaskExecutionCommand extends $Command< private serialize( input: DescribeTaskExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTaskExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTaskExecutionCommand(output, context); } diff --git a/clients/client-datasync/commands/ListAgentsCommand.ts b/clients/client-datasync/commands/ListAgentsCommand.ts index 9d32675dc3b0..7c4f029ec7f1 100644 --- a/clients/client-datasync/commands/ListAgentsCommand.ts +++ b/clients/client-datasync/commands/ListAgentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAgentsCommandInput = ListAgentsRequest; @@ -64,14 +64,14 @@ export class ListAgentsCommand extends $Command< private serialize( input: ListAgentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAgentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAgentsCommand(output, context); } diff --git a/clients/client-datasync/commands/ListLocationsCommand.ts b/clients/client-datasync/commands/ListLocationsCommand.ts index 64aa11878406..e61cccd2af52 100644 --- a/clients/client-datasync/commands/ListLocationsCommand.ts +++ b/clients/client-datasync/commands/ListLocationsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLocationsCommandInput = ListLocationsRequest; @@ -64,14 +64,14 @@ export class ListLocationsCommand extends $Command< private serialize( input: ListLocationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLocationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLocationsCommand(output, context); } diff --git a/clients/client-datasync/commands/ListTagsForResourceCommand.ts b/clients/client-datasync/commands/ListTagsForResourceCommand.ts index 4410bbbe8b74..3d77255602ad 100644 --- a/clients/client-datasync/commands/ListTagsForResourceCommand.ts +++ b/clients/client-datasync/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-datasync/commands/ListTaskExecutionsCommand.ts b/clients/client-datasync/commands/ListTaskExecutionsCommand.ts index 8f08965d2b37..23719fc5f75d 100644 --- a/clients/client-datasync/commands/ListTaskExecutionsCommand.ts +++ b/clients/client-datasync/commands/ListTaskExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTaskExecutionsCommandInput = ListTaskExecutionsRequest; @@ -67,14 +67,14 @@ export class ListTaskExecutionsCommand extends $Command< private serialize( input: ListTaskExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTaskExecutionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTaskExecutionsCommand(output, context); } diff --git a/clients/client-datasync/commands/ListTasksCommand.ts b/clients/client-datasync/commands/ListTasksCommand.ts index 5b8e952c00b0..6bc25f6e9b12 100644 --- a/clients/client-datasync/commands/ListTasksCommand.ts +++ b/clients/client-datasync/commands/ListTasksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTasksCommandInput = ListTasksRequest; @@ -64,14 +64,14 @@ export class ListTasksCommand extends $Command< private serialize( input: ListTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTasksCommand(output, context); } diff --git a/clients/client-datasync/commands/StartTaskExecutionCommand.ts b/clients/client-datasync/commands/StartTaskExecutionCommand.ts index 63c552dd0411..892f35a77b41 100644 --- a/clients/client-datasync/commands/StartTaskExecutionCommand.ts +++ b/clients/client-datasync/commands/StartTaskExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartTaskExecutionCommandInput = StartTaskExecutionRequest; @@ -67,14 +67,14 @@ export class StartTaskExecutionCommand extends $Command< private serialize( input: StartTaskExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartTaskExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartTaskExecutionCommand(output, context); } diff --git a/clients/client-datasync/commands/TagResourceCommand.ts b/clients/client-datasync/commands/TagResourceCommand.ts index fc9a32512e12..13e8886204ca 100644 --- a/clients/client-datasync/commands/TagResourceCommand.ts +++ b/clients/client-datasync/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-datasync/commands/UntagResourceCommand.ts b/clients/client-datasync/commands/UntagResourceCommand.ts index f8ebc6d008a9..a59537a94cf5 100644 --- a/clients/client-datasync/commands/UntagResourceCommand.ts +++ b/clients/client-datasync/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-datasync/commands/UpdateAgentCommand.ts b/clients/client-datasync/commands/UpdateAgentCommand.ts index 725024fbe620..db69916cf8b1 100644 --- a/clients/client-datasync/commands/UpdateAgentCommand.ts +++ b/clients/client-datasync/commands/UpdateAgentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAgentCommandInput = UpdateAgentRequest; @@ -64,14 +64,14 @@ export class UpdateAgentCommand extends $Command< private serialize( input: UpdateAgentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAgentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAgentCommand(output, context); } diff --git a/clients/client-datasync/commands/UpdateTaskCommand.ts b/clients/client-datasync/commands/UpdateTaskCommand.ts index 5adf64cedf0f..5d2dfe646df2 100644 --- a/clients/client-datasync/commands/UpdateTaskCommand.ts +++ b/clients/client-datasync/commands/UpdateTaskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTaskCommandInput = UpdateTaskRequest; @@ -64,14 +64,14 @@ export class UpdateTaskCommand extends $Command< private serialize( input: UpdateTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTaskCommand(output, context); } diff --git a/clients/client-datasync/protocols/Aws_json1_1.ts b/clients/client-datasync/protocols/Aws_json1_1.ts index f3754b39bb6e..0488492a844b 100644 --- a/clients/client-datasync/protocols/Aws_json1_1.ts +++ b/clients/client-datasync/protocols/Aws_json1_1.ts @@ -4159,6 +4159,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-dax/commands/CreateClusterCommand.ts b/clients/client-dax/commands/CreateClusterCommand.ts index 6a617c67c2bc..ad1ee8570ef2 100644 --- a/clients/client-dax/commands/CreateClusterCommand.ts +++ b/clients/client-dax/commands/CreateClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClusterCommandInput = CreateClusterRequest; @@ -64,14 +64,14 @@ export class CreateClusterCommand extends $Command< private serialize( input: CreateClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateClusterCommand(output, context); } diff --git a/clients/client-dax/commands/CreateParameterGroupCommand.ts b/clients/client-dax/commands/CreateParameterGroupCommand.ts index f03b98a2df8c..2034939bb86c 100644 --- a/clients/client-dax/commands/CreateParameterGroupCommand.ts +++ b/clients/client-dax/commands/CreateParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateParameterGroupCommandInput = CreateParameterGroupRequest; @@ -70,14 +70,14 @@ export class CreateParameterGroupCommand extends $Command< private serialize( input: CreateParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateParameterGroupCommand(output, context); } diff --git a/clients/client-dax/commands/CreateSubnetGroupCommand.ts b/clients/client-dax/commands/CreateSubnetGroupCommand.ts index 0b6ddd50f3db..a77ed8e8f71b 100644 --- a/clients/client-dax/commands/CreateSubnetGroupCommand.ts +++ b/clients/client-dax/commands/CreateSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSubnetGroupCommandInput = CreateSubnetGroupRequest; @@ -67,14 +67,14 @@ export class CreateSubnetGroupCommand extends $Command< private serialize( input: CreateSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSubnetGroupCommand(output, context); } diff --git a/clients/client-dax/commands/DecreaseReplicationFactorCommand.ts b/clients/client-dax/commands/DecreaseReplicationFactorCommand.ts index 9df757c4e138..26b6fcfd3455 100644 --- a/clients/client-dax/commands/DecreaseReplicationFactorCommand.ts +++ b/clients/client-dax/commands/DecreaseReplicationFactorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DecreaseReplicationFactorCommandInput = DecreaseReplicationFactorRequest; @@ -70,14 +70,14 @@ export class DecreaseReplicationFactorCommand extends $Command< private serialize( input: DecreaseReplicationFactorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DecreaseReplicationFactorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DecreaseReplicationFactorCommand( output, diff --git a/clients/client-dax/commands/DeleteClusterCommand.ts b/clients/client-dax/commands/DeleteClusterCommand.ts index 4a801b0805a8..61e1b176bb7a 100644 --- a/clients/client-dax/commands/DeleteClusterCommand.ts +++ b/clients/client-dax/commands/DeleteClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClusterCommandInput = DeleteClusterRequest; @@ -64,14 +64,14 @@ export class DeleteClusterCommand extends $Command< private serialize( input: DeleteClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteClusterCommand(output, context); } diff --git a/clients/client-dax/commands/DeleteParameterGroupCommand.ts b/clients/client-dax/commands/DeleteParameterGroupCommand.ts index 416eac1d266c..132b80fe721a 100644 --- a/clients/client-dax/commands/DeleteParameterGroupCommand.ts +++ b/clients/client-dax/commands/DeleteParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteParameterGroupCommandInput = DeleteParameterGroupRequest; @@ -70,14 +70,14 @@ export class DeleteParameterGroupCommand extends $Command< private serialize( input: DeleteParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteParameterGroupCommand(output, context); } diff --git a/clients/client-dax/commands/DeleteSubnetGroupCommand.ts b/clients/client-dax/commands/DeleteSubnetGroupCommand.ts index e39cdcacc029..535c6d8147d3 100644 --- a/clients/client-dax/commands/DeleteSubnetGroupCommand.ts +++ b/clients/client-dax/commands/DeleteSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSubnetGroupCommandInput = DeleteSubnetGroupRequest; @@ -67,14 +67,14 @@ export class DeleteSubnetGroupCommand extends $Command< private serialize( input: DeleteSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSubnetGroupCommand(output, context); } diff --git a/clients/client-dax/commands/DescribeClustersCommand.ts b/clients/client-dax/commands/DescribeClustersCommand.ts index 169aeec08e46..792f1dba1c4a 100644 --- a/clients/client-dax/commands/DescribeClustersCommand.ts +++ b/clients/client-dax/commands/DescribeClustersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClustersCommandInput = DescribeClustersRequest; @@ -67,14 +67,14 @@ export class DescribeClustersCommand extends $Command< private serialize( input: DescribeClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeClustersCommand(output, context); } diff --git a/clients/client-dax/commands/DescribeDefaultParametersCommand.ts b/clients/client-dax/commands/DescribeDefaultParametersCommand.ts index a2c9e9dc77f3..9bf71b003434 100644 --- a/clients/client-dax/commands/DescribeDefaultParametersCommand.ts +++ b/clients/client-dax/commands/DescribeDefaultParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDefaultParametersCommandInput = DescribeDefaultParametersRequest; @@ -70,14 +70,14 @@ export class DescribeDefaultParametersCommand extends $Command< private serialize( input: DescribeDefaultParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDefaultParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDefaultParametersCommand( output, diff --git a/clients/client-dax/commands/DescribeEventsCommand.ts b/clients/client-dax/commands/DescribeEventsCommand.ts index d31f32a8ee33..df96eda9622e 100644 --- a/clients/client-dax/commands/DescribeEventsCommand.ts +++ b/clients/client-dax/commands/DescribeEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventsCommandInput = DescribeEventsRequest; @@ -64,14 +64,14 @@ export class DescribeEventsCommand extends $Command< private serialize( input: DescribeEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventsCommand(output, context); } diff --git a/clients/client-dax/commands/DescribeParameterGroupsCommand.ts b/clients/client-dax/commands/DescribeParameterGroupsCommand.ts index 4bc5ed12bec0..55c4cc030ba5 100644 --- a/clients/client-dax/commands/DescribeParameterGroupsCommand.ts +++ b/clients/client-dax/commands/DescribeParameterGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeParameterGroupsCommandInput = DescribeParameterGroupsRequest; @@ -70,14 +70,14 @@ export class DescribeParameterGroupsCommand extends $Command< private serialize( input: DescribeParameterGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeParameterGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeParameterGroupsCommand( output, diff --git a/clients/client-dax/commands/DescribeParametersCommand.ts b/clients/client-dax/commands/DescribeParametersCommand.ts index 122093458430..46c60fa7b3c9 100644 --- a/clients/client-dax/commands/DescribeParametersCommand.ts +++ b/clients/client-dax/commands/DescribeParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeParametersCommandInput = DescribeParametersRequest; @@ -67,14 +67,14 @@ export class DescribeParametersCommand extends $Command< private serialize( input: DescribeParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeParametersCommand(output, context); } diff --git a/clients/client-dax/commands/DescribeSubnetGroupsCommand.ts b/clients/client-dax/commands/DescribeSubnetGroupsCommand.ts index a8ae98a7dcbc..9b3d00e8057a 100644 --- a/clients/client-dax/commands/DescribeSubnetGroupsCommand.ts +++ b/clients/client-dax/commands/DescribeSubnetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSubnetGroupsCommandInput = DescribeSubnetGroupsRequest; @@ -70,14 +70,14 @@ export class DescribeSubnetGroupsCommand extends $Command< private serialize( input: DescribeSubnetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSubnetGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSubnetGroupsCommand(output, context); } diff --git a/clients/client-dax/commands/IncreaseReplicationFactorCommand.ts b/clients/client-dax/commands/IncreaseReplicationFactorCommand.ts index 62280f649ff5..067028cd1208 100644 --- a/clients/client-dax/commands/IncreaseReplicationFactorCommand.ts +++ b/clients/client-dax/commands/IncreaseReplicationFactorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type IncreaseReplicationFactorCommandInput = IncreaseReplicationFactorRequest; @@ -70,14 +70,14 @@ export class IncreaseReplicationFactorCommand extends $Command< private serialize( input: IncreaseReplicationFactorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1IncreaseReplicationFactorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1IncreaseReplicationFactorCommand( output, diff --git a/clients/client-dax/commands/ListTagsCommand.ts b/clients/client-dax/commands/ListTagsCommand.ts index 1af9a70e4f62..f67045fffcee 100644 --- a/clients/client-dax/commands/ListTagsCommand.ts +++ b/clients/client-dax/commands/ListTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsCommandInput = ListTagsRequest; @@ -64,14 +64,14 @@ export class ListTagsCommand extends $Command< private serialize( input: ListTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsCommand(output, context); } diff --git a/clients/client-dax/commands/RebootNodeCommand.ts b/clients/client-dax/commands/RebootNodeCommand.ts index 8c2cadcf7286..78e16b5b3d30 100644 --- a/clients/client-dax/commands/RebootNodeCommand.ts +++ b/clients/client-dax/commands/RebootNodeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootNodeCommandInput = RebootNodeRequest; @@ -64,14 +64,14 @@ export class RebootNodeCommand extends $Command< private serialize( input: RebootNodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RebootNodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RebootNodeCommand(output, context); } diff --git a/clients/client-dax/commands/TagResourceCommand.ts b/clients/client-dax/commands/TagResourceCommand.ts index 87fccca554b6..480bb57e8ae5 100644 --- a/clients/client-dax/commands/TagResourceCommand.ts +++ b/clients/client-dax/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-dax/commands/UntagResourceCommand.ts b/clients/client-dax/commands/UntagResourceCommand.ts index fbcc147cf6b7..8cdbcdebd0a4 100644 --- a/clients/client-dax/commands/UntagResourceCommand.ts +++ b/clients/client-dax/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-dax/commands/UpdateClusterCommand.ts b/clients/client-dax/commands/UpdateClusterCommand.ts index ef53c21a479f..6e490f6e6361 100644 --- a/clients/client-dax/commands/UpdateClusterCommand.ts +++ b/clients/client-dax/commands/UpdateClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateClusterCommandInput = UpdateClusterRequest; @@ -64,14 +64,14 @@ export class UpdateClusterCommand extends $Command< private serialize( input: UpdateClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateClusterCommand(output, context); } diff --git a/clients/client-dax/commands/UpdateParameterGroupCommand.ts b/clients/client-dax/commands/UpdateParameterGroupCommand.ts index 9560cd9cfb2b..197a41bda2e4 100644 --- a/clients/client-dax/commands/UpdateParameterGroupCommand.ts +++ b/clients/client-dax/commands/UpdateParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateParameterGroupCommandInput = UpdateParameterGroupRequest; @@ -70,14 +70,14 @@ export class UpdateParameterGroupCommand extends $Command< private serialize( input: UpdateParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateParameterGroupCommand(output, context); } diff --git a/clients/client-dax/commands/UpdateSubnetGroupCommand.ts b/clients/client-dax/commands/UpdateSubnetGroupCommand.ts index 31b739c70c9a..c51532a3d722 100644 --- a/clients/client-dax/commands/UpdateSubnetGroupCommand.ts +++ b/clients/client-dax/commands/UpdateSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSubnetGroupCommandInput = UpdateSubnetGroupRequest; @@ -67,14 +67,14 @@ export class UpdateSubnetGroupCommand extends $Command< private serialize( input: UpdateSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSubnetGroupCommand(output, context); } diff --git a/clients/client-dax/protocols/Aws_json1_1.ts b/clients/client-dax/protocols/Aws_json1_1.ts index 066fff406f3a..959f0412390c 100644 --- a/clients/client-dax/protocols/Aws_json1_1.ts +++ b/clients/client-dax/protocols/Aws_json1_1.ts @@ -4609,6 +4609,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-detective/commands/AcceptInvitationCommand.ts b/clients/client-detective/commands/AcceptInvitationCommand.ts index 8ae1014d10f3..69bc674e7551 100644 --- a/clients/client-detective/commands/AcceptInvitationCommand.ts +++ b/clients/client-detective/commands/AcceptInvitationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptInvitationCommandInput = AcceptInvitationRequest; @@ -65,14 +65,14 @@ export class AcceptInvitationCommand extends $Command< private serialize( input: AcceptInvitationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AcceptInvitationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AcceptInvitationCommand(output, context); } diff --git a/clients/client-detective/commands/CreateGraphCommand.ts b/clients/client-detective/commands/CreateGraphCommand.ts index 36dccea96603..e6bcb3883c5f 100644 --- a/clients/client-detective/commands/CreateGraphCommand.ts +++ b/clients/client-detective/commands/CreateGraphCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGraphCommandInput = {}; @@ -64,14 +64,14 @@ export class CreateGraphCommand extends $Command< private serialize( input: CreateGraphCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateGraphCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateGraphCommand(output, context); } diff --git a/clients/client-detective/commands/CreateMembersCommand.ts b/clients/client-detective/commands/CreateMembersCommand.ts index 878d3fd26dac..9df822b82185 100644 --- a/clients/client-detective/commands/CreateMembersCommand.ts +++ b/clients/client-detective/commands/CreateMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMembersCommandInput = CreateMembersRequest; @@ -64,14 +64,14 @@ export class CreateMembersCommand extends $Command< private serialize( input: CreateMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateMembersCommand(output, context); } diff --git a/clients/client-detective/commands/DeleteGraphCommand.ts b/clients/client-detective/commands/DeleteGraphCommand.ts index 708b0c8f33fd..cf72c15c4526 100644 --- a/clients/client-detective/commands/DeleteGraphCommand.ts +++ b/clients/client-detective/commands/DeleteGraphCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGraphCommandInput = DeleteGraphRequest; @@ -65,14 +65,14 @@ export class DeleteGraphCommand extends $Command< private serialize( input: DeleteGraphCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteGraphCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteGraphCommand(output, context); } diff --git a/clients/client-detective/commands/DeleteMembersCommand.ts b/clients/client-detective/commands/DeleteMembersCommand.ts index a7b065e06b19..ffca6b88ddf7 100644 --- a/clients/client-detective/commands/DeleteMembersCommand.ts +++ b/clients/client-detective/commands/DeleteMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMembersCommandInput = DeleteMembersRequest; @@ -64,14 +64,14 @@ export class DeleteMembersCommand extends $Command< private serialize( input: DeleteMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMembersCommand(output, context); } diff --git a/clients/client-detective/commands/DisassociateMembershipCommand.ts b/clients/client-detective/commands/DisassociateMembershipCommand.ts index 89ff087ecff7..50942d4da80c 100644 --- a/clients/client-detective/commands/DisassociateMembershipCommand.ts +++ b/clients/client-detective/commands/DisassociateMembershipCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateMembershipCommandInput = DisassociateMembershipRequest; @@ -68,7 +68,7 @@ export class DisassociateMembershipCommand extends $Command< private serialize( input: DisassociateMembershipCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateMembershipCommand( input, @@ -78,7 +78,7 @@ export class DisassociateMembershipCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateMembershipCommand( output, diff --git a/clients/client-detective/commands/GetMembersCommand.ts b/clients/client-detective/commands/GetMembersCommand.ts index 9aa5773a550e..d978ce1bfbb0 100644 --- a/clients/client-detective/commands/GetMembersCommand.ts +++ b/clients/client-detective/commands/GetMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMembersCommandInput = GetMembersRequest; @@ -64,14 +64,14 @@ export class GetMembersCommand extends $Command< private serialize( input: GetMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMembersCommand(output, context); } diff --git a/clients/client-detective/commands/ListGraphsCommand.ts b/clients/client-detective/commands/ListGraphsCommand.ts index 86881aa2756d..ccfd416d3f52 100644 --- a/clients/client-detective/commands/ListGraphsCommand.ts +++ b/clients/client-detective/commands/ListGraphsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGraphsCommandInput = ListGraphsRequest; @@ -64,14 +64,14 @@ export class ListGraphsCommand extends $Command< private serialize( input: ListGraphsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListGraphsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListGraphsCommand(output, context); } diff --git a/clients/client-detective/commands/ListInvitationsCommand.ts b/clients/client-detective/commands/ListInvitationsCommand.ts index 3f834403ca28..e5f513be4f61 100644 --- a/clients/client-detective/commands/ListInvitationsCommand.ts +++ b/clients/client-detective/commands/ListInvitationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInvitationsCommandInput = ListInvitationsRequest; @@ -67,14 +67,14 @@ export class ListInvitationsCommand extends $Command< private serialize( input: ListInvitationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListInvitationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListInvitationsCommand(output, context); } diff --git a/clients/client-detective/commands/ListMembersCommand.ts b/clients/client-detective/commands/ListMembersCommand.ts index 73d2ffb35d4e..d54f5479f4cb 100644 --- a/clients/client-detective/commands/ListMembersCommand.ts +++ b/clients/client-detective/commands/ListMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMembersCommandInput = ListMembersRequest; @@ -64,14 +64,14 @@ export class ListMembersCommand extends $Command< private serialize( input: ListMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListMembersCommand(output, context); } diff --git a/clients/client-detective/commands/RejectInvitationCommand.ts b/clients/client-detective/commands/RejectInvitationCommand.ts index 99624191aa5b..13a9bd7fc8fd 100644 --- a/clients/client-detective/commands/RejectInvitationCommand.ts +++ b/clients/client-detective/commands/RejectInvitationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectInvitationCommandInput = RejectInvitationRequest; @@ -65,14 +65,14 @@ export class RejectInvitationCommand extends $Command< private serialize( input: RejectInvitationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RejectInvitationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RejectInvitationCommand(output, context); } diff --git a/clients/client-detective/protocols/Aws_restJson1_1.ts b/clients/client-detective/protocols/Aws_restJson1_1.ts index 34a99d303e28..2608d4d53281 100644 --- a/clients/client-detective/protocols/Aws_restJson1_1.ts +++ b/clients/client-detective/protocols/Aws_restJson1_1.ts @@ -1381,6 +1381,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-device-farm/commands/CreateDevicePoolCommand.ts b/clients/client-device-farm/commands/CreateDevicePoolCommand.ts index 9652122a299e..96b92f3dc366 100644 --- a/clients/client-device-farm/commands/CreateDevicePoolCommand.ts +++ b/clients/client-device-farm/commands/CreateDevicePoolCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDevicePoolCommandInput = CreateDevicePoolRequest; @@ -67,14 +67,14 @@ export class CreateDevicePoolCommand extends $Command< private serialize( input: CreateDevicePoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDevicePoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDevicePoolCommand(output, context); } diff --git a/clients/client-device-farm/commands/CreateInstanceProfileCommand.ts b/clients/client-device-farm/commands/CreateInstanceProfileCommand.ts index 65238781de79..8a9245678bea 100644 --- a/clients/client-device-farm/commands/CreateInstanceProfileCommand.ts +++ b/clients/client-device-farm/commands/CreateInstanceProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInstanceProfileCommandInput = CreateInstanceProfileRequest; @@ -70,14 +70,14 @@ export class CreateInstanceProfileCommand extends $Command< private serialize( input: CreateInstanceProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateInstanceProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateInstanceProfileCommand(output, context); } diff --git a/clients/client-device-farm/commands/CreateNetworkProfileCommand.ts b/clients/client-device-farm/commands/CreateNetworkProfileCommand.ts index c77c652dd225..8fb72f3ac43d 100644 --- a/clients/client-device-farm/commands/CreateNetworkProfileCommand.ts +++ b/clients/client-device-farm/commands/CreateNetworkProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNetworkProfileCommandInput = CreateNetworkProfileRequest; @@ -70,14 +70,14 @@ export class CreateNetworkProfileCommand extends $Command< private serialize( input: CreateNetworkProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateNetworkProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateNetworkProfileCommand(output, context); } diff --git a/clients/client-device-farm/commands/CreateProjectCommand.ts b/clients/client-device-farm/commands/CreateProjectCommand.ts index 30903af7b98a..769751f474c4 100644 --- a/clients/client-device-farm/commands/CreateProjectCommand.ts +++ b/clients/client-device-farm/commands/CreateProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProjectCommandInput = CreateProjectRequest; @@ -64,14 +64,14 @@ export class CreateProjectCommand extends $Command< private serialize( input: CreateProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProjectCommand(output, context); } diff --git a/clients/client-device-farm/commands/CreateRemoteAccessSessionCommand.ts b/clients/client-device-farm/commands/CreateRemoteAccessSessionCommand.ts index 72c382ff340a..1601808ceb26 100644 --- a/clients/client-device-farm/commands/CreateRemoteAccessSessionCommand.ts +++ b/clients/client-device-farm/commands/CreateRemoteAccessSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRemoteAccessSessionCommandInput = CreateRemoteAccessSessionRequest; @@ -70,14 +70,14 @@ export class CreateRemoteAccessSessionCommand extends $Command< private serialize( input: CreateRemoteAccessSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRemoteAccessSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRemoteAccessSessionCommand( output, diff --git a/clients/client-device-farm/commands/CreateTestGridProjectCommand.ts b/clients/client-device-farm/commands/CreateTestGridProjectCommand.ts index 80a91617d0d9..9c1c62340120 100644 --- a/clients/client-device-farm/commands/CreateTestGridProjectCommand.ts +++ b/clients/client-device-farm/commands/CreateTestGridProjectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTestGridProjectCommandInput = CreateTestGridProjectRequest; @@ -70,14 +70,14 @@ export class CreateTestGridProjectCommand extends $Command< private serialize( input: CreateTestGridProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTestGridProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTestGridProjectCommand(output, context); } diff --git a/clients/client-device-farm/commands/CreateTestGridUrlCommand.ts b/clients/client-device-farm/commands/CreateTestGridUrlCommand.ts index 125446105b59..10f7f48b486e 100644 --- a/clients/client-device-farm/commands/CreateTestGridUrlCommand.ts +++ b/clients/client-device-farm/commands/CreateTestGridUrlCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTestGridUrlCommandInput = CreateTestGridUrlRequest; @@ -67,14 +67,14 @@ export class CreateTestGridUrlCommand extends $Command< private serialize( input: CreateTestGridUrlCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTestGridUrlCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTestGridUrlCommand(output, context); } diff --git a/clients/client-device-farm/commands/CreateUploadCommand.ts b/clients/client-device-farm/commands/CreateUploadCommand.ts index 1a0b2ec89c92..a5b3a506cc5e 100644 --- a/clients/client-device-farm/commands/CreateUploadCommand.ts +++ b/clients/client-device-farm/commands/CreateUploadCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUploadCommandInput = CreateUploadRequest; @@ -64,14 +64,14 @@ export class CreateUploadCommand extends $Command< private serialize( input: CreateUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUploadCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUploadCommand(output, context); } diff --git a/clients/client-device-farm/commands/CreateVPCEConfigurationCommand.ts b/clients/client-device-farm/commands/CreateVPCEConfigurationCommand.ts index 6a0b1edcdf5d..cb01096a25c5 100644 --- a/clients/client-device-farm/commands/CreateVPCEConfigurationCommand.ts +++ b/clients/client-device-farm/commands/CreateVPCEConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVPCEConfigurationCommandInput = CreateVPCEConfigurationRequest; @@ -70,14 +70,14 @@ export class CreateVPCEConfigurationCommand extends $Command< private serialize( input: CreateVPCEConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateVPCEConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateVPCEConfigurationCommand( output, diff --git a/clients/client-device-farm/commands/DeleteDevicePoolCommand.ts b/clients/client-device-farm/commands/DeleteDevicePoolCommand.ts index b41d5ff35fea..7d0b3ade0f70 100644 --- a/clients/client-device-farm/commands/DeleteDevicePoolCommand.ts +++ b/clients/client-device-farm/commands/DeleteDevicePoolCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDevicePoolCommandInput = DeleteDevicePoolRequest; @@ -67,14 +67,14 @@ export class DeleteDevicePoolCommand extends $Command< private serialize( input: DeleteDevicePoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDevicePoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDevicePoolCommand(output, context); } diff --git a/clients/client-device-farm/commands/DeleteInstanceProfileCommand.ts b/clients/client-device-farm/commands/DeleteInstanceProfileCommand.ts index af0b9fb26c08..39052868c07c 100644 --- a/clients/client-device-farm/commands/DeleteInstanceProfileCommand.ts +++ b/clients/client-device-farm/commands/DeleteInstanceProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInstanceProfileCommandInput = DeleteInstanceProfileRequest; @@ -70,14 +70,14 @@ export class DeleteInstanceProfileCommand extends $Command< private serialize( input: DeleteInstanceProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteInstanceProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteInstanceProfileCommand(output, context); } diff --git a/clients/client-device-farm/commands/DeleteNetworkProfileCommand.ts b/clients/client-device-farm/commands/DeleteNetworkProfileCommand.ts index 3afe5c2dad73..36122c0f84ae 100644 --- a/clients/client-device-farm/commands/DeleteNetworkProfileCommand.ts +++ b/clients/client-device-farm/commands/DeleteNetworkProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNetworkProfileCommandInput = DeleteNetworkProfileRequest; @@ -70,14 +70,14 @@ export class DeleteNetworkProfileCommand extends $Command< private serialize( input: DeleteNetworkProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteNetworkProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteNetworkProfileCommand(output, context); } diff --git a/clients/client-device-farm/commands/DeleteProjectCommand.ts b/clients/client-device-farm/commands/DeleteProjectCommand.ts index 594b6f79e697..31a4ff09b34d 100644 --- a/clients/client-device-farm/commands/DeleteProjectCommand.ts +++ b/clients/client-device-farm/commands/DeleteProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProjectCommandInput = DeleteProjectRequest; @@ -64,14 +64,14 @@ export class DeleteProjectCommand extends $Command< private serialize( input: DeleteProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteProjectCommand(output, context); } diff --git a/clients/client-device-farm/commands/DeleteRemoteAccessSessionCommand.ts b/clients/client-device-farm/commands/DeleteRemoteAccessSessionCommand.ts index f55749446068..012cfc8278a1 100644 --- a/clients/client-device-farm/commands/DeleteRemoteAccessSessionCommand.ts +++ b/clients/client-device-farm/commands/DeleteRemoteAccessSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRemoteAccessSessionCommandInput = DeleteRemoteAccessSessionRequest; @@ -70,14 +70,14 @@ export class DeleteRemoteAccessSessionCommand extends $Command< private serialize( input: DeleteRemoteAccessSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRemoteAccessSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRemoteAccessSessionCommand( output, diff --git a/clients/client-device-farm/commands/DeleteRunCommand.ts b/clients/client-device-farm/commands/DeleteRunCommand.ts index 8653f394d39c..12e835c7384e 100644 --- a/clients/client-device-farm/commands/DeleteRunCommand.ts +++ b/clients/client-device-farm/commands/DeleteRunCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRunCommandInput = DeleteRunRequest; @@ -64,14 +64,14 @@ export class DeleteRunCommand extends $Command< private serialize( input: DeleteRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRunCommand(output, context); } diff --git a/clients/client-device-farm/commands/DeleteTestGridProjectCommand.ts b/clients/client-device-farm/commands/DeleteTestGridProjectCommand.ts index 2e2caf8262ba..e55c4813fc3e 100644 --- a/clients/client-device-farm/commands/DeleteTestGridProjectCommand.ts +++ b/clients/client-device-farm/commands/DeleteTestGridProjectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTestGridProjectCommandInput = DeleteTestGridProjectRequest; @@ -70,14 +70,14 @@ export class DeleteTestGridProjectCommand extends $Command< private serialize( input: DeleteTestGridProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTestGridProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTestGridProjectCommand(output, context); } diff --git a/clients/client-device-farm/commands/DeleteUploadCommand.ts b/clients/client-device-farm/commands/DeleteUploadCommand.ts index 2083cec37121..a35ce2a47bc4 100644 --- a/clients/client-device-farm/commands/DeleteUploadCommand.ts +++ b/clients/client-device-farm/commands/DeleteUploadCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUploadCommandInput = DeleteUploadRequest; @@ -64,14 +64,14 @@ export class DeleteUploadCommand extends $Command< private serialize( input: DeleteUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUploadCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUploadCommand(output, context); } diff --git a/clients/client-device-farm/commands/DeleteVPCEConfigurationCommand.ts b/clients/client-device-farm/commands/DeleteVPCEConfigurationCommand.ts index 91c5b13d5960..1a1578cae3d6 100644 --- a/clients/client-device-farm/commands/DeleteVPCEConfigurationCommand.ts +++ b/clients/client-device-farm/commands/DeleteVPCEConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVPCEConfigurationCommandInput = DeleteVPCEConfigurationRequest; @@ -70,14 +70,14 @@ export class DeleteVPCEConfigurationCommand extends $Command< private serialize( input: DeleteVPCEConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteVPCEConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteVPCEConfigurationCommand( output, diff --git a/clients/client-device-farm/commands/GetAccountSettingsCommand.ts b/clients/client-device-farm/commands/GetAccountSettingsCommand.ts index 25a7f16ad64f..771565289ec3 100644 --- a/clients/client-device-farm/commands/GetAccountSettingsCommand.ts +++ b/clients/client-device-farm/commands/GetAccountSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountSettingsCommandInput = GetAccountSettingsRequest; @@ -67,14 +67,14 @@ export class GetAccountSettingsCommand extends $Command< private serialize( input: GetAccountSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAccountSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAccountSettingsCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetDeviceCommand.ts b/clients/client-device-farm/commands/GetDeviceCommand.ts index 09c4bef25535..2d5b2e24983b 100644 --- a/clients/client-device-farm/commands/GetDeviceCommand.ts +++ b/clients/client-device-farm/commands/GetDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeviceCommandInput = GetDeviceRequest; @@ -64,14 +64,14 @@ export class GetDeviceCommand extends $Command< private serialize( input: GetDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDeviceCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetDeviceInstanceCommand.ts b/clients/client-device-farm/commands/GetDeviceInstanceCommand.ts index 1050d20e44ac..62bf7d7d8b60 100644 --- a/clients/client-device-farm/commands/GetDeviceInstanceCommand.ts +++ b/clients/client-device-farm/commands/GetDeviceInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeviceInstanceCommandInput = GetDeviceInstanceRequest; @@ -67,14 +67,14 @@ export class GetDeviceInstanceCommand extends $Command< private serialize( input: GetDeviceInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDeviceInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDeviceInstanceCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetDevicePoolCommand.ts b/clients/client-device-farm/commands/GetDevicePoolCommand.ts index e6720d9ddbef..dd1e05007d2b 100644 --- a/clients/client-device-farm/commands/GetDevicePoolCommand.ts +++ b/clients/client-device-farm/commands/GetDevicePoolCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDevicePoolCommandInput = GetDevicePoolRequest; @@ -64,14 +64,14 @@ export class GetDevicePoolCommand extends $Command< private serialize( input: GetDevicePoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDevicePoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDevicePoolCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetDevicePoolCompatibilityCommand.ts b/clients/client-device-farm/commands/GetDevicePoolCompatibilityCommand.ts index 78f98851f010..303ed379b157 100644 --- a/clients/client-device-farm/commands/GetDevicePoolCompatibilityCommand.ts +++ b/clients/client-device-farm/commands/GetDevicePoolCompatibilityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDevicePoolCompatibilityCommandInput = GetDevicePoolCompatibilityRequest; @@ -70,7 +70,7 @@ export class GetDevicePoolCompatibilityCommand extends $Command< private serialize( input: GetDevicePoolCompatibilityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDevicePoolCompatibilityCommand( input, @@ -80,7 +80,7 @@ export class GetDevicePoolCompatibilityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDevicePoolCompatibilityCommand( output, diff --git a/clients/client-device-farm/commands/GetInstanceProfileCommand.ts b/clients/client-device-farm/commands/GetInstanceProfileCommand.ts index 58018d951854..7d3be1fc0be9 100644 --- a/clients/client-device-farm/commands/GetInstanceProfileCommand.ts +++ b/clients/client-device-farm/commands/GetInstanceProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstanceProfileCommandInput = GetInstanceProfileRequest; @@ -67,14 +67,14 @@ export class GetInstanceProfileCommand extends $Command< private serialize( input: GetInstanceProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstanceProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstanceProfileCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetJobCommand.ts b/clients/client-device-farm/commands/GetJobCommand.ts index c2010691147b..4e2780f80e95 100644 --- a/clients/client-device-farm/commands/GetJobCommand.ts +++ b/clients/client-device-farm/commands/GetJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobCommandInput = GetJobRequest; @@ -64,14 +64,14 @@ export class GetJobCommand extends $Command< private serialize( input: GetJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetJobCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetNetworkProfileCommand.ts b/clients/client-device-farm/commands/GetNetworkProfileCommand.ts index 72825ab8dfe3..f4e83f7524a3 100644 --- a/clients/client-device-farm/commands/GetNetworkProfileCommand.ts +++ b/clients/client-device-farm/commands/GetNetworkProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetNetworkProfileCommandInput = GetNetworkProfileRequest; @@ -67,14 +67,14 @@ export class GetNetworkProfileCommand extends $Command< private serialize( input: GetNetworkProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetNetworkProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetNetworkProfileCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetOfferingStatusCommand.ts b/clients/client-device-farm/commands/GetOfferingStatusCommand.ts index c85971a9dc80..8c381b36e7aa 100644 --- a/clients/client-device-farm/commands/GetOfferingStatusCommand.ts +++ b/clients/client-device-farm/commands/GetOfferingStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOfferingStatusCommandInput = GetOfferingStatusRequest; @@ -67,14 +67,14 @@ export class GetOfferingStatusCommand extends $Command< private serialize( input: GetOfferingStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOfferingStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOfferingStatusCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetProjectCommand.ts b/clients/client-device-farm/commands/GetProjectCommand.ts index ab92e5f36c61..066c34c71758 100644 --- a/clients/client-device-farm/commands/GetProjectCommand.ts +++ b/clients/client-device-farm/commands/GetProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetProjectCommandInput = GetProjectRequest; @@ -64,14 +64,14 @@ export class GetProjectCommand extends $Command< private serialize( input: GetProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetProjectCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetRemoteAccessSessionCommand.ts b/clients/client-device-farm/commands/GetRemoteAccessSessionCommand.ts index b3ae25155e08..dbd591393b8f 100644 --- a/clients/client-device-farm/commands/GetRemoteAccessSessionCommand.ts +++ b/clients/client-device-farm/commands/GetRemoteAccessSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRemoteAccessSessionCommandInput = GetRemoteAccessSessionRequest; @@ -70,14 +70,14 @@ export class GetRemoteAccessSessionCommand extends $Command< private serialize( input: GetRemoteAccessSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRemoteAccessSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRemoteAccessSessionCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetRunCommand.ts b/clients/client-device-farm/commands/GetRunCommand.ts index 5e830ff1ebc1..47a0fbeb7cf0 100644 --- a/clients/client-device-farm/commands/GetRunCommand.ts +++ b/clients/client-device-farm/commands/GetRunCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRunCommandInput = GetRunRequest; @@ -64,14 +64,14 @@ export class GetRunCommand extends $Command< private serialize( input: GetRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRunCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetSuiteCommand.ts b/clients/client-device-farm/commands/GetSuiteCommand.ts index 3b2c70076ea7..7a4c97c91717 100644 --- a/clients/client-device-farm/commands/GetSuiteCommand.ts +++ b/clients/client-device-farm/commands/GetSuiteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSuiteCommandInput = GetSuiteRequest; @@ -64,14 +64,14 @@ export class GetSuiteCommand extends $Command< private serialize( input: GetSuiteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSuiteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSuiteCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetTestCommand.ts b/clients/client-device-farm/commands/GetTestCommand.ts index ff3d77217072..3f0263bc424c 100644 --- a/clients/client-device-farm/commands/GetTestCommand.ts +++ b/clients/client-device-farm/commands/GetTestCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTestCommandInput = GetTestRequest; @@ -64,14 +64,14 @@ export class GetTestCommand extends $Command< private serialize( input: GetTestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTestCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTestCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetTestGridProjectCommand.ts b/clients/client-device-farm/commands/GetTestGridProjectCommand.ts index 20ff0ef277e3..42fd20ee3a7d 100644 --- a/clients/client-device-farm/commands/GetTestGridProjectCommand.ts +++ b/clients/client-device-farm/commands/GetTestGridProjectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTestGridProjectCommandInput = GetTestGridProjectRequest; @@ -67,14 +67,14 @@ export class GetTestGridProjectCommand extends $Command< private serialize( input: GetTestGridProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTestGridProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTestGridProjectCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetTestGridSessionCommand.ts b/clients/client-device-farm/commands/GetTestGridSessionCommand.ts index 31b39db4dffc..069e73af6561 100644 --- a/clients/client-device-farm/commands/GetTestGridSessionCommand.ts +++ b/clients/client-device-farm/commands/GetTestGridSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTestGridSessionCommandInput = GetTestGridSessionRequest; @@ -67,14 +67,14 @@ export class GetTestGridSessionCommand extends $Command< private serialize( input: GetTestGridSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTestGridSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTestGridSessionCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetUploadCommand.ts b/clients/client-device-farm/commands/GetUploadCommand.ts index 4ebaa8af0475..6552cc8ddad0 100644 --- a/clients/client-device-farm/commands/GetUploadCommand.ts +++ b/clients/client-device-farm/commands/GetUploadCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUploadCommandInput = GetUploadRequest; @@ -64,14 +64,14 @@ export class GetUploadCommand extends $Command< private serialize( input: GetUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetUploadCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetUploadCommand(output, context); } diff --git a/clients/client-device-farm/commands/GetVPCEConfigurationCommand.ts b/clients/client-device-farm/commands/GetVPCEConfigurationCommand.ts index a1ca5889d9ff..a91d6ee3382d 100644 --- a/clients/client-device-farm/commands/GetVPCEConfigurationCommand.ts +++ b/clients/client-device-farm/commands/GetVPCEConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVPCEConfigurationCommandInput = GetVPCEConfigurationRequest; @@ -70,14 +70,14 @@ export class GetVPCEConfigurationCommand extends $Command< private serialize( input: GetVPCEConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetVPCEConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetVPCEConfigurationCommand(output, context); } diff --git a/clients/client-device-farm/commands/InstallToRemoteAccessSessionCommand.ts b/clients/client-device-farm/commands/InstallToRemoteAccessSessionCommand.ts index e53686786774..2fed769e4fd5 100644 --- a/clients/client-device-farm/commands/InstallToRemoteAccessSessionCommand.ts +++ b/clients/client-device-farm/commands/InstallToRemoteAccessSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InstallToRemoteAccessSessionCommandInput = InstallToRemoteAccessSessionRequest; @@ -70,7 +70,7 @@ export class InstallToRemoteAccessSessionCommand extends $Command< private serialize( input: InstallToRemoteAccessSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1InstallToRemoteAccessSessionCommand( input, @@ -80,7 +80,7 @@ export class InstallToRemoteAccessSessionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1InstallToRemoteAccessSessionCommand( output, diff --git a/clients/client-device-farm/commands/ListArtifactsCommand.ts b/clients/client-device-farm/commands/ListArtifactsCommand.ts index ca8e517a78f7..9bb64989d314 100644 --- a/clients/client-device-farm/commands/ListArtifactsCommand.ts +++ b/clients/client-device-farm/commands/ListArtifactsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListArtifactsCommandInput = ListArtifactsRequest; @@ -64,14 +64,14 @@ export class ListArtifactsCommand extends $Command< private serialize( input: ListArtifactsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListArtifactsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListArtifactsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListDeviceInstancesCommand.ts b/clients/client-device-farm/commands/ListDeviceInstancesCommand.ts index b69e944fed43..e84a8a2354e9 100644 --- a/clients/client-device-farm/commands/ListDeviceInstancesCommand.ts +++ b/clients/client-device-farm/commands/ListDeviceInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeviceInstancesCommandInput = ListDeviceInstancesRequest; @@ -70,14 +70,14 @@ export class ListDeviceInstancesCommand extends $Command< private serialize( input: ListDeviceInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDeviceInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDeviceInstancesCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListDevicePoolsCommand.ts b/clients/client-device-farm/commands/ListDevicePoolsCommand.ts index 54bb95569e85..2131565a71bf 100644 --- a/clients/client-device-farm/commands/ListDevicePoolsCommand.ts +++ b/clients/client-device-farm/commands/ListDevicePoolsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDevicePoolsCommandInput = ListDevicePoolsRequest; @@ -64,14 +64,14 @@ export class ListDevicePoolsCommand extends $Command< private serialize( input: ListDevicePoolsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDevicePoolsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDevicePoolsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListDevicesCommand.ts b/clients/client-device-farm/commands/ListDevicesCommand.ts index fb46a108d3fc..7db6a72e7625 100644 --- a/clients/client-device-farm/commands/ListDevicesCommand.ts +++ b/clients/client-device-farm/commands/ListDevicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDevicesCommandInput = ListDevicesRequest; @@ -64,14 +64,14 @@ export class ListDevicesCommand extends $Command< private serialize( input: ListDevicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDevicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDevicesCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListInstanceProfilesCommand.ts b/clients/client-device-farm/commands/ListInstanceProfilesCommand.ts index 4dd554ce5668..99c5431d3582 100644 --- a/clients/client-device-farm/commands/ListInstanceProfilesCommand.ts +++ b/clients/client-device-farm/commands/ListInstanceProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInstanceProfilesCommandInput = ListInstanceProfilesRequest; @@ -70,14 +70,14 @@ export class ListInstanceProfilesCommand extends $Command< private serialize( input: ListInstanceProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListInstanceProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListInstanceProfilesCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListJobsCommand.ts b/clients/client-device-farm/commands/ListJobsCommand.ts index c5035d06ad87..0d7dcaccf82c 100644 --- a/clients/client-device-farm/commands/ListJobsCommand.ts +++ b/clients/client-device-farm/commands/ListJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsCommandInput = ListJobsRequest; @@ -64,14 +64,14 @@ export class ListJobsCommand extends $Command< private serialize( input: ListJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListJobsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListNetworkProfilesCommand.ts b/clients/client-device-farm/commands/ListNetworkProfilesCommand.ts index 5121a814cd49..ea786972c90e 100644 --- a/clients/client-device-farm/commands/ListNetworkProfilesCommand.ts +++ b/clients/client-device-farm/commands/ListNetworkProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListNetworkProfilesCommandInput = ListNetworkProfilesRequest; @@ -70,14 +70,14 @@ export class ListNetworkProfilesCommand extends $Command< private serialize( input: ListNetworkProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListNetworkProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListNetworkProfilesCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListOfferingPromotionsCommand.ts b/clients/client-device-farm/commands/ListOfferingPromotionsCommand.ts index c1d26800cc5d..fb3173a59699 100644 --- a/clients/client-device-farm/commands/ListOfferingPromotionsCommand.ts +++ b/clients/client-device-farm/commands/ListOfferingPromotionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOfferingPromotionsCommandInput = ListOfferingPromotionsRequest; @@ -70,14 +70,14 @@ export class ListOfferingPromotionsCommand extends $Command< private serialize( input: ListOfferingPromotionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListOfferingPromotionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListOfferingPromotionsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListOfferingTransactionsCommand.ts b/clients/client-device-farm/commands/ListOfferingTransactionsCommand.ts index ceac817a35cb..e452e34cd997 100644 --- a/clients/client-device-farm/commands/ListOfferingTransactionsCommand.ts +++ b/clients/client-device-farm/commands/ListOfferingTransactionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOfferingTransactionsCommandInput = ListOfferingTransactionsRequest; @@ -70,14 +70,14 @@ export class ListOfferingTransactionsCommand extends $Command< private serialize( input: ListOfferingTransactionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListOfferingTransactionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListOfferingTransactionsCommand( output, diff --git a/clients/client-device-farm/commands/ListOfferingsCommand.ts b/clients/client-device-farm/commands/ListOfferingsCommand.ts index 1e0f6af6bdb4..396353a2bee8 100644 --- a/clients/client-device-farm/commands/ListOfferingsCommand.ts +++ b/clients/client-device-farm/commands/ListOfferingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOfferingsCommandInput = ListOfferingsRequest; @@ -64,14 +64,14 @@ export class ListOfferingsCommand extends $Command< private serialize( input: ListOfferingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListOfferingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListOfferingsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListProjectsCommand.ts b/clients/client-device-farm/commands/ListProjectsCommand.ts index 51807c1238ef..671946537e8c 100644 --- a/clients/client-device-farm/commands/ListProjectsCommand.ts +++ b/clients/client-device-farm/commands/ListProjectsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProjectsCommandInput = ListProjectsRequest; @@ -64,14 +64,14 @@ export class ListProjectsCommand extends $Command< private serialize( input: ListProjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListProjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListProjectsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListRemoteAccessSessionsCommand.ts b/clients/client-device-farm/commands/ListRemoteAccessSessionsCommand.ts index 94b223ad96bd..ff89cc95b5bc 100644 --- a/clients/client-device-farm/commands/ListRemoteAccessSessionsCommand.ts +++ b/clients/client-device-farm/commands/ListRemoteAccessSessionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRemoteAccessSessionsCommandInput = ListRemoteAccessSessionsRequest; @@ -70,14 +70,14 @@ export class ListRemoteAccessSessionsCommand extends $Command< private serialize( input: ListRemoteAccessSessionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRemoteAccessSessionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRemoteAccessSessionsCommand( output, diff --git a/clients/client-device-farm/commands/ListRunsCommand.ts b/clients/client-device-farm/commands/ListRunsCommand.ts index 6c1234c37e6c..2b491d81f82a 100644 --- a/clients/client-device-farm/commands/ListRunsCommand.ts +++ b/clients/client-device-farm/commands/ListRunsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRunsCommandInput = ListRunsRequest; @@ -64,14 +64,14 @@ export class ListRunsCommand extends $Command< private serialize( input: ListRunsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRunsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRunsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListSamplesCommand.ts b/clients/client-device-farm/commands/ListSamplesCommand.ts index 3f06037e6c02..7fb07f808ce5 100644 --- a/clients/client-device-farm/commands/ListSamplesCommand.ts +++ b/clients/client-device-farm/commands/ListSamplesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSamplesCommandInput = ListSamplesRequest; @@ -64,14 +64,14 @@ export class ListSamplesCommand extends $Command< private serialize( input: ListSamplesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSamplesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSamplesCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListSuitesCommand.ts b/clients/client-device-farm/commands/ListSuitesCommand.ts index 05ae4fc2f9dc..7b333906cf6e 100644 --- a/clients/client-device-farm/commands/ListSuitesCommand.ts +++ b/clients/client-device-farm/commands/ListSuitesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSuitesCommandInput = ListSuitesRequest; @@ -64,14 +64,14 @@ export class ListSuitesCommand extends $Command< private serialize( input: ListSuitesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSuitesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSuitesCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListTagsForResourceCommand.ts b/clients/client-device-farm/commands/ListTagsForResourceCommand.ts index cff81b8b3fbc..4b2bdba6286e 100644 --- a/clients/client-device-farm/commands/ListTagsForResourceCommand.ts +++ b/clients/client-device-farm/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListTestGridProjectsCommand.ts b/clients/client-device-farm/commands/ListTestGridProjectsCommand.ts index 8d981cb3699d..4144b62664e4 100644 --- a/clients/client-device-farm/commands/ListTestGridProjectsCommand.ts +++ b/clients/client-device-farm/commands/ListTestGridProjectsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTestGridProjectsCommandInput = ListTestGridProjectsRequest; @@ -70,14 +70,14 @@ export class ListTestGridProjectsCommand extends $Command< private serialize( input: ListTestGridProjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTestGridProjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTestGridProjectsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListTestGridSessionActionsCommand.ts b/clients/client-device-farm/commands/ListTestGridSessionActionsCommand.ts index 2971f6d8bbe1..91653205eb5f 100644 --- a/clients/client-device-farm/commands/ListTestGridSessionActionsCommand.ts +++ b/clients/client-device-farm/commands/ListTestGridSessionActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTestGridSessionActionsCommandInput = ListTestGridSessionActionsRequest; @@ -70,7 +70,7 @@ export class ListTestGridSessionActionsCommand extends $Command< private serialize( input: ListTestGridSessionActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTestGridSessionActionsCommand( input, @@ -80,7 +80,7 @@ export class ListTestGridSessionActionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTestGridSessionActionsCommand( output, diff --git a/clients/client-device-farm/commands/ListTestGridSessionArtifactsCommand.ts b/clients/client-device-farm/commands/ListTestGridSessionArtifactsCommand.ts index 1e54c6131554..7968707921f3 100644 --- a/clients/client-device-farm/commands/ListTestGridSessionArtifactsCommand.ts +++ b/clients/client-device-farm/commands/ListTestGridSessionArtifactsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTestGridSessionArtifactsCommandInput = ListTestGridSessionArtifactsRequest; @@ -70,7 +70,7 @@ export class ListTestGridSessionArtifactsCommand extends $Command< private serialize( input: ListTestGridSessionArtifactsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTestGridSessionArtifactsCommand( input, @@ -80,7 +80,7 @@ export class ListTestGridSessionArtifactsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTestGridSessionArtifactsCommand( output, diff --git a/clients/client-device-farm/commands/ListTestGridSessionsCommand.ts b/clients/client-device-farm/commands/ListTestGridSessionsCommand.ts index a582dbca1d52..1ac85579c359 100644 --- a/clients/client-device-farm/commands/ListTestGridSessionsCommand.ts +++ b/clients/client-device-farm/commands/ListTestGridSessionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTestGridSessionsCommandInput = ListTestGridSessionsRequest; @@ -70,14 +70,14 @@ export class ListTestGridSessionsCommand extends $Command< private serialize( input: ListTestGridSessionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTestGridSessionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTestGridSessionsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListTestsCommand.ts b/clients/client-device-farm/commands/ListTestsCommand.ts index e3be99402799..426cf1c8e600 100644 --- a/clients/client-device-farm/commands/ListTestsCommand.ts +++ b/clients/client-device-farm/commands/ListTestsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTestsCommandInput = ListTestsRequest; @@ -64,14 +64,14 @@ export class ListTestsCommand extends $Command< private serialize( input: ListTestsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTestsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTestsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListUniqueProblemsCommand.ts b/clients/client-device-farm/commands/ListUniqueProblemsCommand.ts index 65b5a36fa42c..7dd1ec82879a 100644 --- a/clients/client-device-farm/commands/ListUniqueProblemsCommand.ts +++ b/clients/client-device-farm/commands/ListUniqueProblemsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUniqueProblemsCommandInput = ListUniqueProblemsRequest; @@ -67,14 +67,14 @@ export class ListUniqueProblemsCommand extends $Command< private serialize( input: ListUniqueProblemsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUniqueProblemsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUniqueProblemsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListUploadsCommand.ts b/clients/client-device-farm/commands/ListUploadsCommand.ts index 12955e51b85f..9f18e2605581 100644 --- a/clients/client-device-farm/commands/ListUploadsCommand.ts +++ b/clients/client-device-farm/commands/ListUploadsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUploadsCommandInput = ListUploadsRequest; @@ -64,14 +64,14 @@ export class ListUploadsCommand extends $Command< private serialize( input: ListUploadsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUploadsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUploadsCommand(output, context); } diff --git a/clients/client-device-farm/commands/ListVPCEConfigurationsCommand.ts b/clients/client-device-farm/commands/ListVPCEConfigurationsCommand.ts index efca602210a8..55554ecea080 100644 --- a/clients/client-device-farm/commands/ListVPCEConfigurationsCommand.ts +++ b/clients/client-device-farm/commands/ListVPCEConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVPCEConfigurationsCommandInput = ListVPCEConfigurationsRequest; @@ -70,14 +70,14 @@ export class ListVPCEConfigurationsCommand extends $Command< private serialize( input: ListVPCEConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListVPCEConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListVPCEConfigurationsCommand(output, context); } diff --git a/clients/client-device-farm/commands/PurchaseOfferingCommand.ts b/clients/client-device-farm/commands/PurchaseOfferingCommand.ts index 97e36fa16f7d..11a82bf188e7 100644 --- a/clients/client-device-farm/commands/PurchaseOfferingCommand.ts +++ b/clients/client-device-farm/commands/PurchaseOfferingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PurchaseOfferingCommandInput = PurchaseOfferingRequest; @@ -67,14 +67,14 @@ export class PurchaseOfferingCommand extends $Command< private serialize( input: PurchaseOfferingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PurchaseOfferingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PurchaseOfferingCommand(output, context); } diff --git a/clients/client-device-farm/commands/RenewOfferingCommand.ts b/clients/client-device-farm/commands/RenewOfferingCommand.ts index 18f6a98701f0..6d47981567a0 100644 --- a/clients/client-device-farm/commands/RenewOfferingCommand.ts +++ b/clients/client-device-farm/commands/RenewOfferingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RenewOfferingCommandInput = RenewOfferingRequest; @@ -64,14 +64,14 @@ export class RenewOfferingCommand extends $Command< private serialize( input: RenewOfferingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RenewOfferingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RenewOfferingCommand(output, context); } diff --git a/clients/client-device-farm/commands/ScheduleRunCommand.ts b/clients/client-device-farm/commands/ScheduleRunCommand.ts index f5d1bbf7de5a..482dafb6ff78 100644 --- a/clients/client-device-farm/commands/ScheduleRunCommand.ts +++ b/clients/client-device-farm/commands/ScheduleRunCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ScheduleRunCommandInput = ScheduleRunRequest; @@ -64,14 +64,14 @@ export class ScheduleRunCommand extends $Command< private serialize( input: ScheduleRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ScheduleRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ScheduleRunCommand(output, context); } diff --git a/clients/client-device-farm/commands/StopJobCommand.ts b/clients/client-device-farm/commands/StopJobCommand.ts index bc48d2a57efb..d84d4155962a 100644 --- a/clients/client-device-farm/commands/StopJobCommand.ts +++ b/clients/client-device-farm/commands/StopJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopJobCommandInput = StopJobRequest; @@ -64,14 +64,14 @@ export class StopJobCommand extends $Command< private serialize( input: StopJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopJobCommand(output, context); } diff --git a/clients/client-device-farm/commands/StopRemoteAccessSessionCommand.ts b/clients/client-device-farm/commands/StopRemoteAccessSessionCommand.ts index d2e9e433b3ba..b85376572171 100644 --- a/clients/client-device-farm/commands/StopRemoteAccessSessionCommand.ts +++ b/clients/client-device-farm/commands/StopRemoteAccessSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopRemoteAccessSessionCommandInput = StopRemoteAccessSessionRequest; @@ -70,14 +70,14 @@ export class StopRemoteAccessSessionCommand extends $Command< private serialize( input: StopRemoteAccessSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopRemoteAccessSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopRemoteAccessSessionCommand( output, diff --git a/clients/client-device-farm/commands/StopRunCommand.ts b/clients/client-device-farm/commands/StopRunCommand.ts index 575d5e1c84b2..16d3d9607aba 100644 --- a/clients/client-device-farm/commands/StopRunCommand.ts +++ b/clients/client-device-farm/commands/StopRunCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopRunCommandInput = StopRunRequest; @@ -64,14 +64,14 @@ export class StopRunCommand extends $Command< private serialize( input: StopRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopRunCommand(output, context); } diff --git a/clients/client-device-farm/commands/TagResourceCommand.ts b/clients/client-device-farm/commands/TagResourceCommand.ts index 4cb6ec63c294..f6ee7a1efc87 100644 --- a/clients/client-device-farm/commands/TagResourceCommand.ts +++ b/clients/client-device-farm/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-device-farm/commands/UntagResourceCommand.ts b/clients/client-device-farm/commands/UntagResourceCommand.ts index d88e4efd39bf..7773993f6589 100644 --- a/clients/client-device-farm/commands/UntagResourceCommand.ts +++ b/clients/client-device-farm/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-device-farm/commands/UpdateDeviceInstanceCommand.ts b/clients/client-device-farm/commands/UpdateDeviceInstanceCommand.ts index 0f07967f57f8..f92efa4d21e3 100644 --- a/clients/client-device-farm/commands/UpdateDeviceInstanceCommand.ts +++ b/clients/client-device-farm/commands/UpdateDeviceInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDeviceInstanceCommandInput = UpdateDeviceInstanceRequest; @@ -70,14 +70,14 @@ export class UpdateDeviceInstanceCommand extends $Command< private serialize( input: UpdateDeviceInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDeviceInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDeviceInstanceCommand(output, context); } diff --git a/clients/client-device-farm/commands/UpdateDevicePoolCommand.ts b/clients/client-device-farm/commands/UpdateDevicePoolCommand.ts index 43d39a1e88be..0dd2f6ccb5ed 100644 --- a/clients/client-device-farm/commands/UpdateDevicePoolCommand.ts +++ b/clients/client-device-farm/commands/UpdateDevicePoolCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDevicePoolCommandInput = UpdateDevicePoolRequest; @@ -67,14 +67,14 @@ export class UpdateDevicePoolCommand extends $Command< private serialize( input: UpdateDevicePoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDevicePoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDevicePoolCommand(output, context); } diff --git a/clients/client-device-farm/commands/UpdateInstanceProfileCommand.ts b/clients/client-device-farm/commands/UpdateInstanceProfileCommand.ts index 45a84c3d4637..2106d163cbf8 100644 --- a/clients/client-device-farm/commands/UpdateInstanceProfileCommand.ts +++ b/clients/client-device-farm/commands/UpdateInstanceProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateInstanceProfileCommandInput = UpdateInstanceProfileRequest; @@ -70,14 +70,14 @@ export class UpdateInstanceProfileCommand extends $Command< private serialize( input: UpdateInstanceProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateInstanceProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateInstanceProfileCommand(output, context); } diff --git a/clients/client-device-farm/commands/UpdateNetworkProfileCommand.ts b/clients/client-device-farm/commands/UpdateNetworkProfileCommand.ts index a7358e074c3f..4f75e6dd4c55 100644 --- a/clients/client-device-farm/commands/UpdateNetworkProfileCommand.ts +++ b/clients/client-device-farm/commands/UpdateNetworkProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateNetworkProfileCommandInput = UpdateNetworkProfileRequest; @@ -70,14 +70,14 @@ export class UpdateNetworkProfileCommand extends $Command< private serialize( input: UpdateNetworkProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateNetworkProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateNetworkProfileCommand(output, context); } diff --git a/clients/client-device-farm/commands/UpdateProjectCommand.ts b/clients/client-device-farm/commands/UpdateProjectCommand.ts index 6a637664b8ed..b363e41b71e5 100644 --- a/clients/client-device-farm/commands/UpdateProjectCommand.ts +++ b/clients/client-device-farm/commands/UpdateProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProjectCommandInput = UpdateProjectRequest; @@ -64,14 +64,14 @@ export class UpdateProjectCommand extends $Command< private serialize( input: UpdateProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateProjectCommand(output, context); } diff --git a/clients/client-device-farm/commands/UpdateTestGridProjectCommand.ts b/clients/client-device-farm/commands/UpdateTestGridProjectCommand.ts index aa2e5f1d9d25..2fbba9e2c060 100644 --- a/clients/client-device-farm/commands/UpdateTestGridProjectCommand.ts +++ b/clients/client-device-farm/commands/UpdateTestGridProjectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTestGridProjectCommandInput = UpdateTestGridProjectRequest; @@ -70,14 +70,14 @@ export class UpdateTestGridProjectCommand extends $Command< private serialize( input: UpdateTestGridProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTestGridProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTestGridProjectCommand(output, context); } diff --git a/clients/client-device-farm/commands/UpdateUploadCommand.ts b/clients/client-device-farm/commands/UpdateUploadCommand.ts index ce312e88d4c0..75cd1095c4b1 100644 --- a/clients/client-device-farm/commands/UpdateUploadCommand.ts +++ b/clients/client-device-farm/commands/UpdateUploadCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUploadCommandInput = UpdateUploadRequest; @@ -64,14 +64,14 @@ export class UpdateUploadCommand extends $Command< private serialize( input: UpdateUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateUploadCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateUploadCommand(output, context); } diff --git a/clients/client-device-farm/commands/UpdateVPCEConfigurationCommand.ts b/clients/client-device-farm/commands/UpdateVPCEConfigurationCommand.ts index 5f8666a81221..f264ee1eb83a 100644 --- a/clients/client-device-farm/commands/UpdateVPCEConfigurationCommand.ts +++ b/clients/client-device-farm/commands/UpdateVPCEConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVPCEConfigurationCommandInput = UpdateVPCEConfigurationRequest; @@ -70,14 +70,14 @@ export class UpdateVPCEConfigurationCommand extends $Command< private serialize( input: UpdateVPCEConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateVPCEConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateVPCEConfigurationCommand( output, diff --git a/clients/client-device-farm/protocols/Aws_json1_1.ts b/clients/client-device-farm/protocols/Aws_json1_1.ts index dceae9ddf052..99bc2688f681 100644 --- a/clients/client-device-farm/protocols/Aws_json1_1.ts +++ b/clients/client-device-farm/protocols/Aws_json1_1.ts @@ -12953,6 +12953,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-direct-connect/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts b/clients/client-direct-connect/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts index 749c8bdc017b..bf3da569a401 100644 --- a/clients/client-direct-connect/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts +++ b/clients/client-direct-connect/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptDirectConnectGatewayAssociationProposalCommandInput = AcceptDirectConnectGatewayAssociationProposalRequest; @@ -72,7 +72,7 @@ export class AcceptDirectConnectGatewayAssociationProposalCommand extends $Comma private serialize( input: AcceptDirectConnectGatewayAssociationProposalCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalCommand( input, @@ -82,7 +82,7 @@ export class AcceptDirectConnectGatewayAssociationProposalCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalCommand( output, diff --git a/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts b/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts index 66b4ad373623..5902b1ab7942 100644 --- a/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AllocateConnectionOnInterconnectCommandInput = AllocateConnectionOnInterconnectRequest; @@ -70,7 +70,7 @@ export class AllocateConnectionOnInterconnectCommand extends $Command< private serialize( input: AllocateConnectionOnInterconnectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AllocateConnectionOnInterconnectCommand( input, @@ -80,7 +80,7 @@ export class AllocateConnectionOnInterconnectCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AllocateConnectionOnInterconnectCommand( output, diff --git a/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts b/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts index 123b10a516a3..1dd965a21797 100644 --- a/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts +++ b/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AllocateHostedConnectionCommandInput = AllocateHostedConnectionRequest; @@ -67,14 +67,14 @@ export class AllocateHostedConnectionCommand extends $Command< private serialize( input: AllocateHostedConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AllocateHostedConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AllocateHostedConnectionCommand( output, diff --git a/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts index 2d86692914e2..a1cbe80b321c 100644 --- a/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AllocatePrivateVirtualInterfaceCommandInput = AllocatePrivateVirtualInterfaceRequest; @@ -70,7 +70,7 @@ export class AllocatePrivateVirtualInterfaceCommand extends $Command< private serialize( input: AllocatePrivateVirtualInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AllocatePrivateVirtualInterfaceCommand( input, @@ -80,7 +80,7 @@ export class AllocatePrivateVirtualInterfaceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AllocatePrivateVirtualInterfaceCommand( output, diff --git a/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts index 496da9fe962d..a04078f568d1 100644 --- a/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AllocatePublicVirtualInterfaceCommandInput = AllocatePublicVirtualInterfaceRequest; @@ -70,7 +70,7 @@ export class AllocatePublicVirtualInterfaceCommand extends $Command< private serialize( input: AllocatePublicVirtualInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AllocatePublicVirtualInterfaceCommand( input, @@ -80,7 +80,7 @@ export class AllocatePublicVirtualInterfaceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AllocatePublicVirtualInterfaceCommand( output, diff --git a/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts index 798f0ed76b6c..bcd86aa64dcd 100644 --- a/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AllocateTransitVirtualInterfaceCommandInput = AllocateTransitVirtualInterfaceRequest; @@ -70,7 +70,7 @@ export class AllocateTransitVirtualInterfaceCommand extends $Command< private serialize( input: AllocateTransitVirtualInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AllocateTransitVirtualInterfaceCommand( input, @@ -80,7 +80,7 @@ export class AllocateTransitVirtualInterfaceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AllocateTransitVirtualInterfaceCommand( output, diff --git a/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts b/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts index 8a000d00a705..4ec9e68081af 100644 --- a/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts +++ b/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateConnectionWithLagCommandInput = AssociateConnectionWithLagRequest; @@ -67,7 +67,7 @@ export class AssociateConnectionWithLagCommand extends $Command< private serialize( input: AssociateConnectionWithLagCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateConnectionWithLagCommand( input, @@ -77,7 +77,7 @@ export class AssociateConnectionWithLagCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateConnectionWithLagCommand( output, diff --git a/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts b/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts index a1f5a8aca0b2..0c2f39181bd9 100644 --- a/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts +++ b/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateHostedConnectionCommandInput = AssociateHostedConnectionRequest; @@ -67,14 +67,14 @@ export class AssociateHostedConnectionCommand extends $Command< private serialize( input: AssociateHostedConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateHostedConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateHostedConnectionCommand( output, diff --git a/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts index 76fa72e671f6..5a451486b549 100644 --- a/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateVirtualInterfaceCommandInput = AssociateVirtualInterfaceRequest; @@ -70,14 +70,14 @@ export class AssociateVirtualInterfaceCommand extends $Command< private serialize( input: AssociateVirtualInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateVirtualInterfaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateVirtualInterfaceCommand( output, diff --git a/clients/client-direct-connect/commands/ConfirmConnectionCommand.ts b/clients/client-direct-connect/commands/ConfirmConnectionCommand.ts index faca0937c524..e7dc2e417014 100644 --- a/clients/client-direct-connect/commands/ConfirmConnectionCommand.ts +++ b/clients/client-direct-connect/commands/ConfirmConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfirmConnectionCommandInput = ConfirmConnectionRequest; @@ -67,14 +67,14 @@ export class ConfirmConnectionCommand extends $Command< private serialize( input: ConfirmConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ConfirmConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ConfirmConnectionCommand(output, context); } diff --git a/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts index 80ea4f41c38b..a8d36e681526 100644 --- a/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfirmPrivateVirtualInterfaceCommandInput = ConfirmPrivateVirtualInterfaceRequest; @@ -70,7 +70,7 @@ export class ConfirmPrivateVirtualInterfaceCommand extends $Command< private serialize( input: ConfirmPrivateVirtualInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ConfirmPrivateVirtualInterfaceCommand( input, @@ -80,7 +80,7 @@ export class ConfirmPrivateVirtualInterfaceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ConfirmPrivateVirtualInterfaceCommand( output, diff --git a/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts index eaff3549b454..d4d39a41ac1d 100644 --- a/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfirmPublicVirtualInterfaceCommandInput = ConfirmPublicVirtualInterfaceRequest; @@ -70,7 +70,7 @@ export class ConfirmPublicVirtualInterfaceCommand extends $Command< private serialize( input: ConfirmPublicVirtualInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ConfirmPublicVirtualInterfaceCommand( input, @@ -80,7 +80,7 @@ export class ConfirmPublicVirtualInterfaceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ConfirmPublicVirtualInterfaceCommand( output, diff --git a/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts index 019b6ac096ed..ccfb965c85e5 100644 --- a/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfirmTransitVirtualInterfaceCommandInput = ConfirmTransitVirtualInterfaceRequest; @@ -70,7 +70,7 @@ export class ConfirmTransitVirtualInterfaceCommand extends $Command< private serialize( input: ConfirmTransitVirtualInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ConfirmTransitVirtualInterfaceCommand( input, @@ -80,7 +80,7 @@ export class ConfirmTransitVirtualInterfaceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ConfirmTransitVirtualInterfaceCommand( output, diff --git a/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts b/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts index 780dbb8cb76e..4e52b87d16fc 100644 --- a/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts +++ b/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBGPPeerCommandInput = CreateBGPPeerRequest; @@ -64,14 +64,14 @@ export class CreateBGPPeerCommand extends $Command< private serialize( input: CreateBGPPeerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateBGPPeerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateBGPPeerCommand(output, context); } diff --git a/clients/client-direct-connect/commands/CreateConnectionCommand.ts b/clients/client-direct-connect/commands/CreateConnectionCommand.ts index 4f5d29c3d77b..0ffa9e63b1ae 100644 --- a/clients/client-direct-connect/commands/CreateConnectionCommand.ts +++ b/clients/client-direct-connect/commands/CreateConnectionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConnectionCommandInput = CreateConnectionRequest; @@ -64,14 +64,14 @@ export class CreateConnectionCommand extends $Command< private serialize( input: CreateConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateConnectionCommand(output, context); } diff --git a/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationCommand.ts b/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationCommand.ts index 6bbc77c93ddd..1434cf50ae4b 100644 --- a/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationCommand.ts +++ b/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDirectConnectGatewayAssociationCommandInput = CreateDirectConnectGatewayAssociationRequest; @@ -72,7 +72,7 @@ export class CreateDirectConnectGatewayAssociationCommand extends $Command< private serialize( input: CreateDirectConnectGatewayAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDirectConnectGatewayAssociationCommand( input, @@ -82,7 +82,7 @@ export class CreateDirectConnectGatewayAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDirectConnectGatewayAssociationCommand( output, diff --git a/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts b/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts index 316e40e5cd42..f43a15ba522c 100644 --- a/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts +++ b/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDirectConnectGatewayAssociationProposalCommandInput = CreateDirectConnectGatewayAssociationProposalRequest; @@ -72,7 +72,7 @@ export class CreateDirectConnectGatewayAssociationProposalCommand extends $Comma private serialize( input: CreateDirectConnectGatewayAssociationProposalCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDirectConnectGatewayAssociationProposalCommand( input, @@ -82,7 +82,7 @@ export class CreateDirectConnectGatewayAssociationProposalCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDirectConnectGatewayAssociationProposalCommand( output, diff --git a/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts b/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts index 4a880aaab06d..cf06129d29a4 100644 --- a/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts +++ b/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDirectConnectGatewayCommandInput = CreateDirectConnectGatewayRequest; @@ -70,7 +70,7 @@ export class CreateDirectConnectGatewayCommand extends $Command< private serialize( input: CreateDirectConnectGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDirectConnectGatewayCommand( input, @@ -80,7 +80,7 @@ export class CreateDirectConnectGatewayCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDirectConnectGatewayCommand( output, diff --git a/clients/client-direct-connect/commands/CreateInterconnectCommand.ts b/clients/client-direct-connect/commands/CreateInterconnectCommand.ts index 4a2664dff307..cb95f7b84cd7 100644 --- a/clients/client-direct-connect/commands/CreateInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/CreateInterconnectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInterconnectCommandInput = CreateInterconnectRequest; @@ -64,14 +64,14 @@ export class CreateInterconnectCommand extends $Command< private serialize( input: CreateInterconnectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateInterconnectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateInterconnectCommand(output, context); } diff --git a/clients/client-direct-connect/commands/CreateLagCommand.ts b/clients/client-direct-connect/commands/CreateLagCommand.ts index 2c27eb386d6b..caf4b0b93f98 100644 --- a/clients/client-direct-connect/commands/CreateLagCommand.ts +++ b/clients/client-direct-connect/commands/CreateLagCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLagCommandInput = CreateLagRequest; @@ -64,14 +64,14 @@ export class CreateLagCommand extends $Command< private serialize( input: CreateLagCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLagCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLagCommand(output, context); } diff --git a/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts index aa652e312e68..24f84b618d69 100644 --- a/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePrivateVirtualInterfaceCommandInput = CreatePrivateVirtualInterfaceRequest; @@ -70,7 +70,7 @@ export class CreatePrivateVirtualInterfaceCommand extends $Command< private serialize( input: CreatePrivateVirtualInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePrivateVirtualInterfaceCommand( input, @@ -80,7 +80,7 @@ export class CreatePrivateVirtualInterfaceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePrivateVirtualInterfaceCommand( output, diff --git a/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts index a9fa88c737f5..000463b5b611 100644 --- a/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePublicVirtualInterfaceCommandInput = CreatePublicVirtualInterfaceRequest; @@ -70,7 +70,7 @@ export class CreatePublicVirtualInterfaceCommand extends $Command< private serialize( input: CreatePublicVirtualInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePublicVirtualInterfaceCommand( input, @@ -80,7 +80,7 @@ export class CreatePublicVirtualInterfaceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePublicVirtualInterfaceCommand( output, diff --git a/clients/client-direct-connect/commands/CreateTransitVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/CreateTransitVirtualInterfaceCommand.ts index 370857df1122..8be28a293853 100644 --- a/clients/client-direct-connect/commands/CreateTransitVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/CreateTransitVirtualInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTransitVirtualInterfaceCommandInput = CreateTransitVirtualInterfaceRequest; @@ -70,7 +70,7 @@ export class CreateTransitVirtualInterfaceCommand extends $Command< private serialize( input: CreateTransitVirtualInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTransitVirtualInterfaceCommand( input, @@ -80,7 +80,7 @@ export class CreateTransitVirtualInterfaceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTransitVirtualInterfaceCommand( output, diff --git a/clients/client-direct-connect/commands/DeleteBGPPeerCommand.ts b/clients/client-direct-connect/commands/DeleteBGPPeerCommand.ts index 8d30ef9e7f30..2b58231f6105 100644 --- a/clients/client-direct-connect/commands/DeleteBGPPeerCommand.ts +++ b/clients/client-direct-connect/commands/DeleteBGPPeerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBGPPeerCommandInput = DeleteBGPPeerRequest; @@ -64,14 +64,14 @@ export class DeleteBGPPeerCommand extends $Command< private serialize( input: DeleteBGPPeerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteBGPPeerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteBGPPeerCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DeleteConnectionCommand.ts b/clients/client-direct-connect/commands/DeleteConnectionCommand.ts index 15284d50a12f..c0cb94eaa069 100644 --- a/clients/client-direct-connect/commands/DeleteConnectionCommand.ts +++ b/clients/client-direct-connect/commands/DeleteConnectionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConnectionCommandInput = DeleteConnectionRequest; @@ -64,14 +64,14 @@ export class DeleteConnectionCommand extends $Command< private serialize( input: DeleteConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteConnectionCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationCommand.ts b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationCommand.ts index c4d8ac06f4ac..1c3756cffcf0 100644 --- a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationCommand.ts +++ b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDirectConnectGatewayAssociationCommandInput = DeleteDirectConnectGatewayAssociationRequest; @@ -72,7 +72,7 @@ export class DeleteDirectConnectGatewayAssociationCommand extends $Command< private serialize( input: DeleteDirectConnectGatewayAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDirectConnectGatewayAssociationCommand( input, @@ -82,7 +82,7 @@ export class DeleteDirectConnectGatewayAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDirectConnectGatewayAssociationCommand( output, diff --git a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts index 8006f3c59312..192e04df0440 100644 --- a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts +++ b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDirectConnectGatewayAssociationProposalCommandInput = DeleteDirectConnectGatewayAssociationProposalRequest; @@ -72,7 +72,7 @@ export class DeleteDirectConnectGatewayAssociationProposalCommand extends $Comma private serialize( input: DeleteDirectConnectGatewayAssociationProposalCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand( input, @@ -82,7 +82,7 @@ export class DeleteDirectConnectGatewayAssociationProposalCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand( output, diff --git a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayCommand.ts b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayCommand.ts index 7a35a1e3e6a9..c84d4253081e 100644 --- a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayCommand.ts +++ b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDirectConnectGatewayCommandInput = DeleteDirectConnectGatewayRequest; @@ -70,7 +70,7 @@ export class DeleteDirectConnectGatewayCommand extends $Command< private serialize( input: DeleteDirectConnectGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDirectConnectGatewayCommand( input, @@ -80,7 +80,7 @@ export class DeleteDirectConnectGatewayCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDirectConnectGatewayCommand( output, diff --git a/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts b/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts index 46785d7dadea..8a3d3bc13688 100644 --- a/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInterconnectCommandInput = DeleteInterconnectRequest; @@ -67,14 +67,14 @@ export class DeleteInterconnectCommand extends $Command< private serialize( input: DeleteInterconnectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteInterconnectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteInterconnectCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DeleteLagCommand.ts b/clients/client-direct-connect/commands/DeleteLagCommand.ts index 03a1796af48b..46d3570a0247 100644 --- a/clients/client-direct-connect/commands/DeleteLagCommand.ts +++ b/clients/client-direct-connect/commands/DeleteLagCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLagCommandInput = DeleteLagRequest; @@ -64,14 +64,14 @@ export class DeleteLagCommand extends $Command< private serialize( input: DeleteLagCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLagCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLagCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DeleteVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/DeleteVirtualInterfaceCommand.ts index a430a7c0f3e7..e16a1269821c 100644 --- a/clients/client-direct-connect/commands/DeleteVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/DeleteVirtualInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVirtualInterfaceCommandInput = DeleteVirtualInterfaceRequest; @@ -70,14 +70,14 @@ export class DeleteVirtualInterfaceCommand extends $Command< private serialize( input: DeleteVirtualInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteVirtualInterfaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteVirtualInterfaceCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts b/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts index 4b88365cff7a..8df09c2eac36 100644 --- a/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts +++ b/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConnectionLoaCommandInput = DescribeConnectionLoaRequest; @@ -70,14 +70,14 @@ export class DescribeConnectionLoaCommand extends $Command< private serialize( input: DescribeConnectionLoaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConnectionLoaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConnectionLoaCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DescribeConnectionsCommand.ts b/clients/client-direct-connect/commands/DescribeConnectionsCommand.ts index d5b49830024f..238a39c509f9 100644 --- a/clients/client-direct-connect/commands/DescribeConnectionsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeConnectionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConnectionsCommandInput = DescribeConnectionsRequest; @@ -67,14 +67,14 @@ export class DescribeConnectionsCommand extends $Command< private serialize( input: DescribeConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConnectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConnectionsCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts b/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts index 3e83a013a5d5..547fbf6bdf3f 100644 --- a/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConnectionsOnInterconnectCommandInput = DescribeConnectionsOnInterconnectRequest; @@ -70,7 +70,7 @@ export class DescribeConnectionsOnInterconnectCommand extends $Command< private serialize( input: DescribeConnectionsOnInterconnectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConnectionsOnInterconnectCommand( input, @@ -80,7 +80,7 @@ export class DescribeConnectionsOnInterconnectCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConnectionsOnInterconnectCommand( output, diff --git a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts index 8baf28521e96..985928535485 100644 --- a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDirectConnectGatewayAssociationProposalsCommandInput = DescribeDirectConnectGatewayAssociationProposalsRequest; @@ -72,7 +72,7 @@ export class DescribeDirectConnectGatewayAssociationProposalsCommand extends $Co private serialize( input: DescribeDirectConnectGatewayAssociationProposalsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDirectConnectGatewayAssociationProposalsCommand( input, @@ -82,7 +82,7 @@ export class DescribeDirectConnectGatewayAssociationProposalsCommand extends $Co private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDirectConnectGatewayAssociationProposalsCommand( output, diff --git a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationsCommand.ts b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationsCommand.ts index 43aa5e4dec74..7fd6ba2d41fa 100644 --- a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDirectConnectGatewayAssociationsCommandInput = DescribeDirectConnectGatewayAssociationsRequest; @@ -72,7 +72,7 @@ export class DescribeDirectConnectGatewayAssociationsCommand extends $Command< private serialize( input: DescribeDirectConnectGatewayAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDirectConnectGatewayAssociationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeDirectConnectGatewayAssociationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDirectConnectGatewayAssociationsCommand( output, diff --git a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts index 44321cd26216..cee14855f5ff 100644 --- a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDirectConnectGatewayAttachmentsCommandInput = DescribeDirectConnectGatewayAttachmentsRequest; @@ -72,7 +72,7 @@ export class DescribeDirectConnectGatewayAttachmentsCommand extends $Command< private serialize( input: DescribeDirectConnectGatewayAttachmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDirectConnectGatewayAttachmentsCommand( input, @@ -82,7 +82,7 @@ export class DescribeDirectConnectGatewayAttachmentsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDirectConnectGatewayAttachmentsCommand( output, diff --git a/clients/client-direct-connect/commands/DescribeDirectConnectGatewaysCommand.ts b/clients/client-direct-connect/commands/DescribeDirectConnectGatewaysCommand.ts index 7b0d66008f09..a6d30be3c4e2 100644 --- a/clients/client-direct-connect/commands/DescribeDirectConnectGatewaysCommand.ts +++ b/clients/client-direct-connect/commands/DescribeDirectConnectGatewaysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDirectConnectGatewaysCommandInput = DescribeDirectConnectGatewaysRequest; @@ -70,7 +70,7 @@ export class DescribeDirectConnectGatewaysCommand extends $Command< private serialize( input: DescribeDirectConnectGatewaysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDirectConnectGatewaysCommand( input, @@ -80,7 +80,7 @@ export class DescribeDirectConnectGatewaysCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDirectConnectGatewaysCommand( output, diff --git a/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts b/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts index 0ba7e9545219..04dc4070c768 100644 --- a/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHostedConnectionsCommandInput = DescribeHostedConnectionsRequest; @@ -67,14 +67,14 @@ export class DescribeHostedConnectionsCommand extends $Command< private serialize( input: DescribeHostedConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeHostedConnectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeHostedConnectionsCommand( output, diff --git a/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts b/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts index 6bf322435bba..5fe11baa161d 100644 --- a/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts +++ b/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInterconnectLoaCommandInput = DescribeInterconnectLoaRequest; @@ -70,14 +70,14 @@ export class DescribeInterconnectLoaCommand extends $Command< private serialize( input: DescribeInterconnectLoaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeInterconnectLoaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeInterconnectLoaCommand( output, diff --git a/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts b/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts index 35b3eab487a7..d3f37a4d1b17 100644 --- a/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInterconnectsCommandInput = DescribeInterconnectsRequest; @@ -67,14 +67,14 @@ export class DescribeInterconnectsCommand extends $Command< private serialize( input: DescribeInterconnectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeInterconnectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeInterconnectsCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DescribeLagsCommand.ts b/clients/client-direct-connect/commands/DescribeLagsCommand.ts index ae28ac5e2ede..14f584df1cd8 100644 --- a/clients/client-direct-connect/commands/DescribeLagsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeLagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLagsCommandInput = DescribeLagsRequest; @@ -64,14 +64,14 @@ export class DescribeLagsCommand extends $Command< private serialize( input: DescribeLagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLagsCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DescribeLoaCommand.ts b/clients/client-direct-connect/commands/DescribeLoaCommand.ts index 854c5fa3beba..20683bfdadda 100644 --- a/clients/client-direct-connect/commands/DescribeLoaCommand.ts +++ b/clients/client-direct-connect/commands/DescribeLoaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoaCommandInput = DescribeLoaRequest; @@ -64,14 +64,14 @@ export class DescribeLoaCommand extends $Command< private serialize( input: DescribeLoaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLoaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLoaCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DescribeLocationsCommand.ts b/clients/client-direct-connect/commands/DescribeLocationsCommand.ts index c960a6f47f70..83cb90458410 100644 --- a/clients/client-direct-connect/commands/DescribeLocationsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeLocationsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLocationsCommandInput = {}; @@ -64,14 +64,14 @@ export class DescribeLocationsCommand extends $Command< private serialize( input: DescribeLocationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLocationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLocationsCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DescribeTagsCommand.ts b/clients/client-direct-connect/commands/DescribeTagsCommand.ts index 73965030f163..0d211d33f48c 100644 --- a/clients/client-direct-connect/commands/DescribeTagsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTagsCommandInput = DescribeTagsRequest; @@ -64,14 +64,14 @@ export class DescribeTagsCommand extends $Command< private serialize( input: DescribeTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTagsCommand(output, context); } diff --git a/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts b/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts index a7f3166ca834..2983a8073e3a 100644 --- a/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts +++ b/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVirtualGatewaysCommandInput = {}; @@ -67,14 +67,14 @@ export class DescribeVirtualGatewaysCommand extends $Command< private serialize( input: DescribeVirtualGatewaysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeVirtualGatewaysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeVirtualGatewaysCommand( output, diff --git a/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts b/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts index 3d4833bd7c34..c5527b90221d 100644 --- a/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts +++ b/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVirtualInterfacesCommandInput = DescribeVirtualInterfacesRequest; @@ -70,14 +70,14 @@ export class DescribeVirtualInterfacesCommand extends $Command< private serialize( input: DescribeVirtualInterfacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeVirtualInterfacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeVirtualInterfacesCommand( output, diff --git a/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts b/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts index 920b49eda82d..af18aeaaa7de 100644 --- a/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts +++ b/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateConnectionFromLagCommandInput = DisassociateConnectionFromLagRequest; @@ -70,7 +70,7 @@ export class DisassociateConnectionFromLagCommand extends $Command< private serialize( input: DisassociateConnectionFromLagCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateConnectionFromLagCommand( input, @@ -80,7 +80,7 @@ export class DisassociateConnectionFromLagCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateConnectionFromLagCommand( output, diff --git a/clients/client-direct-connect/commands/TagResourceCommand.ts b/clients/client-direct-connect/commands/TagResourceCommand.ts index 203ba1261ed2..afcc63e4b1f2 100644 --- a/clients/client-direct-connect/commands/TagResourceCommand.ts +++ b/clients/client-direct-connect/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-direct-connect/commands/UntagResourceCommand.ts b/clients/client-direct-connect/commands/UntagResourceCommand.ts index a9db00b7a78a..85eda7ebf14d 100644 --- a/clients/client-direct-connect/commands/UntagResourceCommand.ts +++ b/clients/client-direct-connect/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-direct-connect/commands/UpdateDirectConnectGatewayAssociationCommand.ts b/clients/client-direct-connect/commands/UpdateDirectConnectGatewayAssociationCommand.ts index 9cdcb6617d95..0f3de6b65110 100644 --- a/clients/client-direct-connect/commands/UpdateDirectConnectGatewayAssociationCommand.ts +++ b/clients/client-direct-connect/commands/UpdateDirectConnectGatewayAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDirectConnectGatewayAssociationCommandInput = UpdateDirectConnectGatewayAssociationRequest; @@ -72,7 +72,7 @@ export class UpdateDirectConnectGatewayAssociationCommand extends $Command< private serialize( input: UpdateDirectConnectGatewayAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDirectConnectGatewayAssociationCommand( input, @@ -82,7 +82,7 @@ export class UpdateDirectConnectGatewayAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDirectConnectGatewayAssociationCommand( output, diff --git a/clients/client-direct-connect/commands/UpdateLagCommand.ts b/clients/client-direct-connect/commands/UpdateLagCommand.ts index 90c785cc8ff7..5d715cfd1228 100644 --- a/clients/client-direct-connect/commands/UpdateLagCommand.ts +++ b/clients/client-direct-connect/commands/UpdateLagCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLagCommandInput = UpdateLagRequest; @@ -64,14 +64,14 @@ export class UpdateLagCommand extends $Command< private serialize( input: UpdateLagCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateLagCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateLagCommand(output, context); } diff --git a/clients/client-direct-connect/commands/UpdateVirtualInterfaceAttributesCommand.ts b/clients/client-direct-connect/commands/UpdateVirtualInterfaceAttributesCommand.ts index 49cc4299e7b8..06aa4d959b02 100644 --- a/clients/client-direct-connect/commands/UpdateVirtualInterfaceAttributesCommand.ts +++ b/clients/client-direct-connect/commands/UpdateVirtualInterfaceAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVirtualInterfaceAttributesCommandInput = UpdateVirtualInterfaceAttributesRequest; @@ -70,7 +70,7 @@ export class UpdateVirtualInterfaceAttributesCommand extends $Command< private serialize( input: UpdateVirtualInterfaceAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateVirtualInterfaceAttributesCommand( input, @@ -80,7 +80,7 @@ export class UpdateVirtualInterfaceAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateVirtualInterfaceAttributesCommand( output, diff --git a/clients/client-direct-connect/protocols/Aws_json1_1.ts b/clients/client-direct-connect/protocols/Aws_json1_1.ts index 7de32b9e33d7..b137f597be78 100644 --- a/clients/client-direct-connect/protocols/Aws_json1_1.ts +++ b/clients/client-direct-connect/protocols/Aws_json1_1.ts @@ -7696,6 +7696,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-directory-service/commands/AcceptSharedDirectoryCommand.ts b/clients/client-directory-service/commands/AcceptSharedDirectoryCommand.ts index 386a6caf891a..eacb0f570920 100644 --- a/clients/client-directory-service/commands/AcceptSharedDirectoryCommand.ts +++ b/clients/client-directory-service/commands/AcceptSharedDirectoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptSharedDirectoryCommandInput = AcceptSharedDirectoryRequest; @@ -70,14 +70,14 @@ export class AcceptSharedDirectoryCommand extends $Command< private serialize( input: AcceptSharedDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AcceptSharedDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AcceptSharedDirectoryCommand(output, context); } diff --git a/clients/client-directory-service/commands/AddIpRoutesCommand.ts b/clients/client-directory-service/commands/AddIpRoutesCommand.ts index 820c3618c29f..e4a8a6578bda 100644 --- a/clients/client-directory-service/commands/AddIpRoutesCommand.ts +++ b/clients/client-directory-service/commands/AddIpRoutesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddIpRoutesCommandInput = AddIpRoutesRequest; @@ -64,14 +64,14 @@ export class AddIpRoutesCommand extends $Command< private serialize( input: AddIpRoutesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddIpRoutesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddIpRoutesCommand(output, context); } diff --git a/clients/client-directory-service/commands/AddTagsToResourceCommand.ts b/clients/client-directory-service/commands/AddTagsToResourceCommand.ts index 7591153a3bcf..b6895b533b36 100644 --- a/clients/client-directory-service/commands/AddTagsToResourceCommand.ts +++ b/clients/client-directory-service/commands/AddTagsToResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToResourceCommandInput = AddTagsToResourceRequest; @@ -67,14 +67,14 @@ export class AddTagsToResourceCommand extends $Command< private serialize( input: AddTagsToResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsToResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsToResourceCommand(output, context); } diff --git a/clients/client-directory-service/commands/CancelSchemaExtensionCommand.ts b/clients/client-directory-service/commands/CancelSchemaExtensionCommand.ts index a93603b76e55..e49b4d7303a2 100644 --- a/clients/client-directory-service/commands/CancelSchemaExtensionCommand.ts +++ b/clients/client-directory-service/commands/CancelSchemaExtensionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelSchemaExtensionCommandInput = CancelSchemaExtensionRequest; @@ -70,14 +70,14 @@ export class CancelSchemaExtensionCommand extends $Command< private serialize( input: CancelSchemaExtensionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelSchemaExtensionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelSchemaExtensionCommand(output, context); } diff --git a/clients/client-directory-service/commands/ConnectDirectoryCommand.ts b/clients/client-directory-service/commands/ConnectDirectoryCommand.ts index 515639fb820d..2880c2429587 100644 --- a/clients/client-directory-service/commands/ConnectDirectoryCommand.ts +++ b/clients/client-directory-service/commands/ConnectDirectoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConnectDirectoryCommandInput = ConnectDirectoryRequest; @@ -67,14 +67,14 @@ export class ConnectDirectoryCommand extends $Command< private serialize( input: ConnectDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ConnectDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ConnectDirectoryCommand(output, context); } diff --git a/clients/client-directory-service/commands/CreateAliasCommand.ts b/clients/client-directory-service/commands/CreateAliasCommand.ts index 1ff1cef94578..6b4891e9a50a 100644 --- a/clients/client-directory-service/commands/CreateAliasCommand.ts +++ b/clients/client-directory-service/commands/CreateAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAliasCommandInput = CreateAliasRequest; @@ -64,14 +64,14 @@ export class CreateAliasCommand extends $Command< private serialize( input: CreateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAliasCommand(output, context); } diff --git a/clients/client-directory-service/commands/CreateComputerCommand.ts b/clients/client-directory-service/commands/CreateComputerCommand.ts index 2c47096f440e..c1bc28ccad13 100644 --- a/clients/client-directory-service/commands/CreateComputerCommand.ts +++ b/clients/client-directory-service/commands/CreateComputerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateComputerCommandInput = CreateComputerRequest; @@ -64,14 +64,14 @@ export class CreateComputerCommand extends $Command< private serialize( input: CreateComputerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateComputerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateComputerCommand(output, context); } diff --git a/clients/client-directory-service/commands/CreateConditionalForwarderCommand.ts b/clients/client-directory-service/commands/CreateConditionalForwarderCommand.ts index 8c5e0578a940..e64c0c1d0e1d 100644 --- a/clients/client-directory-service/commands/CreateConditionalForwarderCommand.ts +++ b/clients/client-directory-service/commands/CreateConditionalForwarderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConditionalForwarderCommandInput = CreateConditionalForwarderRequest; @@ -70,7 +70,7 @@ export class CreateConditionalForwarderCommand extends $Command< private serialize( input: CreateConditionalForwarderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateConditionalForwarderCommand( input, @@ -80,7 +80,7 @@ export class CreateConditionalForwarderCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateConditionalForwarderCommand( output, diff --git a/clients/client-directory-service/commands/CreateDirectoryCommand.ts b/clients/client-directory-service/commands/CreateDirectoryCommand.ts index 98e34c989e0c..c20c3ffd680b 100644 --- a/clients/client-directory-service/commands/CreateDirectoryCommand.ts +++ b/clients/client-directory-service/commands/CreateDirectoryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDirectoryCommandInput = CreateDirectoryRequest; @@ -64,14 +64,14 @@ export class CreateDirectoryCommand extends $Command< private serialize( input: CreateDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDirectoryCommand(output, context); } diff --git a/clients/client-directory-service/commands/CreateLogSubscriptionCommand.ts b/clients/client-directory-service/commands/CreateLogSubscriptionCommand.ts index 6c0bba9a40a8..0b90be80c145 100644 --- a/clients/client-directory-service/commands/CreateLogSubscriptionCommand.ts +++ b/clients/client-directory-service/commands/CreateLogSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLogSubscriptionCommandInput = CreateLogSubscriptionRequest; @@ -70,14 +70,14 @@ export class CreateLogSubscriptionCommand extends $Command< private serialize( input: CreateLogSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLogSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLogSubscriptionCommand(output, context); } diff --git a/clients/client-directory-service/commands/CreateMicrosoftADCommand.ts b/clients/client-directory-service/commands/CreateMicrosoftADCommand.ts index 3acaff43b36a..53f90a1e328b 100644 --- a/clients/client-directory-service/commands/CreateMicrosoftADCommand.ts +++ b/clients/client-directory-service/commands/CreateMicrosoftADCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMicrosoftADCommandInput = CreateMicrosoftADRequest; @@ -67,14 +67,14 @@ export class CreateMicrosoftADCommand extends $Command< private serialize( input: CreateMicrosoftADCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateMicrosoftADCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateMicrosoftADCommand(output, context); } diff --git a/clients/client-directory-service/commands/CreateSnapshotCommand.ts b/clients/client-directory-service/commands/CreateSnapshotCommand.ts index bc1121e191b3..4692a637acb9 100644 --- a/clients/client-directory-service/commands/CreateSnapshotCommand.ts +++ b/clients/client-directory-service/commands/CreateSnapshotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSnapshotCommandInput = CreateSnapshotRequest; @@ -64,14 +64,14 @@ export class CreateSnapshotCommand extends $Command< private serialize( input: CreateSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSnapshotCommand(output, context); } diff --git a/clients/client-directory-service/commands/CreateTrustCommand.ts b/clients/client-directory-service/commands/CreateTrustCommand.ts index 4a1fc4cf111b..40d79b05a836 100644 --- a/clients/client-directory-service/commands/CreateTrustCommand.ts +++ b/clients/client-directory-service/commands/CreateTrustCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrustCommandInput = CreateTrustRequest; @@ -64,14 +64,14 @@ export class CreateTrustCommand extends $Command< private serialize( input: CreateTrustCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTrustCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTrustCommand(output, context); } diff --git a/clients/client-directory-service/commands/DeleteConditionalForwarderCommand.ts b/clients/client-directory-service/commands/DeleteConditionalForwarderCommand.ts index 176d478ff874..7e9962d0d604 100644 --- a/clients/client-directory-service/commands/DeleteConditionalForwarderCommand.ts +++ b/clients/client-directory-service/commands/DeleteConditionalForwarderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConditionalForwarderCommandInput = DeleteConditionalForwarderRequest; @@ -70,7 +70,7 @@ export class DeleteConditionalForwarderCommand extends $Command< private serialize( input: DeleteConditionalForwarderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteConditionalForwarderCommand( input, @@ -80,7 +80,7 @@ export class DeleteConditionalForwarderCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteConditionalForwarderCommand( output, diff --git a/clients/client-directory-service/commands/DeleteDirectoryCommand.ts b/clients/client-directory-service/commands/DeleteDirectoryCommand.ts index eec23c7e59ce..72d3a3780096 100644 --- a/clients/client-directory-service/commands/DeleteDirectoryCommand.ts +++ b/clients/client-directory-service/commands/DeleteDirectoryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDirectoryCommandInput = DeleteDirectoryRequest; @@ -64,14 +64,14 @@ export class DeleteDirectoryCommand extends $Command< private serialize( input: DeleteDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDirectoryCommand(output, context); } diff --git a/clients/client-directory-service/commands/DeleteLogSubscriptionCommand.ts b/clients/client-directory-service/commands/DeleteLogSubscriptionCommand.ts index 2b281ac6bfd3..03a2f6fd9013 100644 --- a/clients/client-directory-service/commands/DeleteLogSubscriptionCommand.ts +++ b/clients/client-directory-service/commands/DeleteLogSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLogSubscriptionCommandInput = DeleteLogSubscriptionRequest; @@ -70,14 +70,14 @@ export class DeleteLogSubscriptionCommand extends $Command< private serialize( input: DeleteLogSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLogSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLogSubscriptionCommand(output, context); } diff --git a/clients/client-directory-service/commands/DeleteSnapshotCommand.ts b/clients/client-directory-service/commands/DeleteSnapshotCommand.ts index 6434d9aa14c1..ef4a4c5e5cdc 100644 --- a/clients/client-directory-service/commands/DeleteSnapshotCommand.ts +++ b/clients/client-directory-service/commands/DeleteSnapshotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSnapshotCommandInput = DeleteSnapshotRequest; @@ -64,14 +64,14 @@ export class DeleteSnapshotCommand extends $Command< private serialize( input: DeleteSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSnapshotCommand(output, context); } diff --git a/clients/client-directory-service/commands/DeleteTrustCommand.ts b/clients/client-directory-service/commands/DeleteTrustCommand.ts index 077ccf90ca76..221eed4f96ce 100644 --- a/clients/client-directory-service/commands/DeleteTrustCommand.ts +++ b/clients/client-directory-service/commands/DeleteTrustCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTrustCommandInput = DeleteTrustRequest; @@ -64,14 +64,14 @@ export class DeleteTrustCommand extends $Command< private serialize( input: DeleteTrustCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTrustCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTrustCommand(output, context); } diff --git a/clients/client-directory-service/commands/DeregisterCertificateCommand.ts b/clients/client-directory-service/commands/DeregisterCertificateCommand.ts index 4b04352e1358..8a818ff0f120 100644 --- a/clients/client-directory-service/commands/DeregisterCertificateCommand.ts +++ b/clients/client-directory-service/commands/DeregisterCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterCertificateCommandInput = DeregisterCertificateRequest; @@ -70,14 +70,14 @@ export class DeregisterCertificateCommand extends $Command< private serialize( input: DeregisterCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterCertificateCommand(output, context); } diff --git a/clients/client-directory-service/commands/DeregisterEventTopicCommand.ts b/clients/client-directory-service/commands/DeregisterEventTopicCommand.ts index 50f7122302ae..2d72a5ffd199 100644 --- a/clients/client-directory-service/commands/DeregisterEventTopicCommand.ts +++ b/clients/client-directory-service/commands/DeregisterEventTopicCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterEventTopicCommandInput = DeregisterEventTopicRequest; @@ -70,14 +70,14 @@ export class DeregisterEventTopicCommand extends $Command< private serialize( input: DeregisterEventTopicCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterEventTopicCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterEventTopicCommand(output, context); } diff --git a/clients/client-directory-service/commands/DescribeCertificateCommand.ts b/clients/client-directory-service/commands/DescribeCertificateCommand.ts index 537ee81ccebd..14a8ed847451 100644 --- a/clients/client-directory-service/commands/DescribeCertificateCommand.ts +++ b/clients/client-directory-service/commands/DescribeCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCertificateCommandInput = DescribeCertificateRequest; @@ -70,14 +70,14 @@ export class DescribeCertificateCommand extends $Command< private serialize( input: DescribeCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCertificateCommand(output, context); } diff --git a/clients/client-directory-service/commands/DescribeConditionalForwardersCommand.ts b/clients/client-directory-service/commands/DescribeConditionalForwardersCommand.ts index 74841b6fa2c9..7065071568d8 100644 --- a/clients/client-directory-service/commands/DescribeConditionalForwardersCommand.ts +++ b/clients/client-directory-service/commands/DescribeConditionalForwardersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConditionalForwardersCommandInput = DescribeConditionalForwardersRequest; @@ -70,7 +70,7 @@ export class DescribeConditionalForwardersCommand extends $Command< private serialize( input: DescribeConditionalForwardersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConditionalForwardersCommand( input, @@ -80,7 +80,7 @@ export class DescribeConditionalForwardersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConditionalForwardersCommand( output, diff --git a/clients/client-directory-service/commands/DescribeDirectoriesCommand.ts b/clients/client-directory-service/commands/DescribeDirectoriesCommand.ts index d27d78565b8b..76ddaaae1a1a 100644 --- a/clients/client-directory-service/commands/DescribeDirectoriesCommand.ts +++ b/clients/client-directory-service/commands/DescribeDirectoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDirectoriesCommandInput = DescribeDirectoriesRequest; @@ -70,14 +70,14 @@ export class DescribeDirectoriesCommand extends $Command< private serialize( input: DescribeDirectoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDirectoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDirectoriesCommand(output, context); } diff --git a/clients/client-directory-service/commands/DescribeDomainControllersCommand.ts b/clients/client-directory-service/commands/DescribeDomainControllersCommand.ts index 49a5b4c4c463..783b3b530acf 100644 --- a/clients/client-directory-service/commands/DescribeDomainControllersCommand.ts +++ b/clients/client-directory-service/commands/DescribeDomainControllersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDomainControllersCommandInput = DescribeDomainControllersRequest; @@ -70,14 +70,14 @@ export class DescribeDomainControllersCommand extends $Command< private serialize( input: DescribeDomainControllersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDomainControllersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDomainControllersCommand( output, diff --git a/clients/client-directory-service/commands/DescribeEventTopicsCommand.ts b/clients/client-directory-service/commands/DescribeEventTopicsCommand.ts index 3150e91e9c8d..182e7b3d49cf 100644 --- a/clients/client-directory-service/commands/DescribeEventTopicsCommand.ts +++ b/clients/client-directory-service/commands/DescribeEventTopicsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventTopicsCommandInput = DescribeEventTopicsRequest; @@ -70,14 +70,14 @@ export class DescribeEventTopicsCommand extends $Command< private serialize( input: DescribeEventTopicsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventTopicsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventTopicsCommand(output, context); } diff --git a/clients/client-directory-service/commands/DescribeLDAPSSettingsCommand.ts b/clients/client-directory-service/commands/DescribeLDAPSSettingsCommand.ts index 9f333bf29e37..1cf062376e49 100644 --- a/clients/client-directory-service/commands/DescribeLDAPSSettingsCommand.ts +++ b/clients/client-directory-service/commands/DescribeLDAPSSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLDAPSSettingsCommandInput = DescribeLDAPSSettingsRequest; @@ -70,14 +70,14 @@ export class DescribeLDAPSSettingsCommand extends $Command< private serialize( input: DescribeLDAPSSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLDAPSSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLDAPSSettingsCommand(output, context); } diff --git a/clients/client-directory-service/commands/DescribeSharedDirectoriesCommand.ts b/clients/client-directory-service/commands/DescribeSharedDirectoriesCommand.ts index 6b157203fdf0..c44ea0286b27 100644 --- a/clients/client-directory-service/commands/DescribeSharedDirectoriesCommand.ts +++ b/clients/client-directory-service/commands/DescribeSharedDirectoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSharedDirectoriesCommandInput = DescribeSharedDirectoriesRequest; @@ -70,14 +70,14 @@ export class DescribeSharedDirectoriesCommand extends $Command< private serialize( input: DescribeSharedDirectoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSharedDirectoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSharedDirectoriesCommand( output, diff --git a/clients/client-directory-service/commands/DescribeSnapshotsCommand.ts b/clients/client-directory-service/commands/DescribeSnapshotsCommand.ts index 515433a2b860..2192ffa7745c 100644 --- a/clients/client-directory-service/commands/DescribeSnapshotsCommand.ts +++ b/clients/client-directory-service/commands/DescribeSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSnapshotsCommandInput = DescribeSnapshotsRequest; @@ -67,14 +67,14 @@ export class DescribeSnapshotsCommand extends $Command< private serialize( input: DescribeSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSnapshotsCommand(output, context); } diff --git a/clients/client-directory-service/commands/DescribeTrustsCommand.ts b/clients/client-directory-service/commands/DescribeTrustsCommand.ts index ca4870b5276c..b5d5ac45c782 100644 --- a/clients/client-directory-service/commands/DescribeTrustsCommand.ts +++ b/clients/client-directory-service/commands/DescribeTrustsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrustsCommandInput = DescribeTrustsRequest; @@ -64,14 +64,14 @@ export class DescribeTrustsCommand extends $Command< private serialize( input: DescribeTrustsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTrustsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTrustsCommand(output, context); } diff --git a/clients/client-directory-service/commands/DisableLDAPSCommand.ts b/clients/client-directory-service/commands/DisableLDAPSCommand.ts index c7275058c769..3351b9266973 100644 --- a/clients/client-directory-service/commands/DisableLDAPSCommand.ts +++ b/clients/client-directory-service/commands/DisableLDAPSCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableLDAPSCommandInput = DisableLDAPSRequest; @@ -64,14 +64,14 @@ export class DisableLDAPSCommand extends $Command< private serialize( input: DisableLDAPSCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableLDAPSCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableLDAPSCommand(output, context); } diff --git a/clients/client-directory-service/commands/DisableRadiusCommand.ts b/clients/client-directory-service/commands/DisableRadiusCommand.ts index 1de61fe5c79f..e89920d3e366 100644 --- a/clients/client-directory-service/commands/DisableRadiusCommand.ts +++ b/clients/client-directory-service/commands/DisableRadiusCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableRadiusCommandInput = DisableRadiusRequest; @@ -64,14 +64,14 @@ export class DisableRadiusCommand extends $Command< private serialize( input: DisableRadiusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableRadiusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableRadiusCommand(output, context); } diff --git a/clients/client-directory-service/commands/DisableSsoCommand.ts b/clients/client-directory-service/commands/DisableSsoCommand.ts index 1c881f59322c..9dab18c24716 100644 --- a/clients/client-directory-service/commands/DisableSsoCommand.ts +++ b/clients/client-directory-service/commands/DisableSsoCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableSsoCommandInput = DisableSsoRequest; @@ -64,14 +64,14 @@ export class DisableSsoCommand extends $Command< private serialize( input: DisableSsoCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableSsoCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableSsoCommand(output, context); } diff --git a/clients/client-directory-service/commands/EnableLDAPSCommand.ts b/clients/client-directory-service/commands/EnableLDAPSCommand.ts index ced2f80b569a..792fede36090 100644 --- a/clients/client-directory-service/commands/EnableLDAPSCommand.ts +++ b/clients/client-directory-service/commands/EnableLDAPSCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableLDAPSCommandInput = EnableLDAPSRequest; @@ -64,14 +64,14 @@ export class EnableLDAPSCommand extends $Command< private serialize( input: EnableLDAPSCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableLDAPSCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableLDAPSCommand(output, context); } diff --git a/clients/client-directory-service/commands/EnableRadiusCommand.ts b/clients/client-directory-service/commands/EnableRadiusCommand.ts index 2078831e4a7f..50dfbd8b6446 100644 --- a/clients/client-directory-service/commands/EnableRadiusCommand.ts +++ b/clients/client-directory-service/commands/EnableRadiusCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableRadiusCommandInput = EnableRadiusRequest; @@ -64,14 +64,14 @@ export class EnableRadiusCommand extends $Command< private serialize( input: EnableRadiusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableRadiusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableRadiusCommand(output, context); } diff --git a/clients/client-directory-service/commands/EnableSsoCommand.ts b/clients/client-directory-service/commands/EnableSsoCommand.ts index 919f205e27bc..60cd8f7ae8a2 100644 --- a/clients/client-directory-service/commands/EnableSsoCommand.ts +++ b/clients/client-directory-service/commands/EnableSsoCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableSsoCommandInput = EnableSsoRequest; @@ -64,14 +64,14 @@ export class EnableSsoCommand extends $Command< private serialize( input: EnableSsoCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableSsoCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableSsoCommand(output, context); } diff --git a/clients/client-directory-service/commands/GetDirectoryLimitsCommand.ts b/clients/client-directory-service/commands/GetDirectoryLimitsCommand.ts index 1fa0edff5a66..4252ee33f301 100644 --- a/clients/client-directory-service/commands/GetDirectoryLimitsCommand.ts +++ b/clients/client-directory-service/commands/GetDirectoryLimitsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDirectoryLimitsCommandInput = GetDirectoryLimitsRequest; @@ -67,14 +67,14 @@ export class GetDirectoryLimitsCommand extends $Command< private serialize( input: GetDirectoryLimitsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDirectoryLimitsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDirectoryLimitsCommand(output, context); } diff --git a/clients/client-directory-service/commands/GetSnapshotLimitsCommand.ts b/clients/client-directory-service/commands/GetSnapshotLimitsCommand.ts index 762ed03b7b0e..ba3424203a14 100644 --- a/clients/client-directory-service/commands/GetSnapshotLimitsCommand.ts +++ b/clients/client-directory-service/commands/GetSnapshotLimitsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSnapshotLimitsCommandInput = GetSnapshotLimitsRequest; @@ -67,14 +67,14 @@ export class GetSnapshotLimitsCommand extends $Command< private serialize( input: GetSnapshotLimitsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSnapshotLimitsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSnapshotLimitsCommand(output, context); } diff --git a/clients/client-directory-service/commands/ListCertificatesCommand.ts b/clients/client-directory-service/commands/ListCertificatesCommand.ts index 5ba87c3717dc..8ca636bab2b2 100644 --- a/clients/client-directory-service/commands/ListCertificatesCommand.ts +++ b/clients/client-directory-service/commands/ListCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCertificatesCommandInput = ListCertificatesRequest; @@ -67,14 +67,14 @@ export class ListCertificatesCommand extends $Command< private serialize( input: ListCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCertificatesCommand(output, context); } diff --git a/clients/client-directory-service/commands/ListIpRoutesCommand.ts b/clients/client-directory-service/commands/ListIpRoutesCommand.ts index 2d6c00b8e93d..cb0af0b67445 100644 --- a/clients/client-directory-service/commands/ListIpRoutesCommand.ts +++ b/clients/client-directory-service/commands/ListIpRoutesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIpRoutesCommandInput = ListIpRoutesRequest; @@ -64,14 +64,14 @@ export class ListIpRoutesCommand extends $Command< private serialize( input: ListIpRoutesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListIpRoutesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListIpRoutesCommand(output, context); } diff --git a/clients/client-directory-service/commands/ListLogSubscriptionsCommand.ts b/clients/client-directory-service/commands/ListLogSubscriptionsCommand.ts index 192f1a400700..4ec0c849db66 100644 --- a/clients/client-directory-service/commands/ListLogSubscriptionsCommand.ts +++ b/clients/client-directory-service/commands/ListLogSubscriptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLogSubscriptionsCommandInput = ListLogSubscriptionsRequest; @@ -70,14 +70,14 @@ export class ListLogSubscriptionsCommand extends $Command< private serialize( input: ListLogSubscriptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLogSubscriptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLogSubscriptionsCommand(output, context); } diff --git a/clients/client-directory-service/commands/ListSchemaExtensionsCommand.ts b/clients/client-directory-service/commands/ListSchemaExtensionsCommand.ts index 64abc51c8cc8..afcc9bbd0e49 100644 --- a/clients/client-directory-service/commands/ListSchemaExtensionsCommand.ts +++ b/clients/client-directory-service/commands/ListSchemaExtensionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSchemaExtensionsCommandInput = ListSchemaExtensionsRequest; @@ -70,14 +70,14 @@ export class ListSchemaExtensionsCommand extends $Command< private serialize( input: ListSchemaExtensionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSchemaExtensionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSchemaExtensionsCommand(output, context); } diff --git a/clients/client-directory-service/commands/ListTagsForResourceCommand.ts b/clients/client-directory-service/commands/ListTagsForResourceCommand.ts index 78a765ed4524..5accf39da954 100644 --- a/clients/client-directory-service/commands/ListTagsForResourceCommand.ts +++ b/clients/client-directory-service/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-directory-service/commands/RegisterCertificateCommand.ts b/clients/client-directory-service/commands/RegisterCertificateCommand.ts index af28e2100c76..05ade3834ae0 100644 --- a/clients/client-directory-service/commands/RegisterCertificateCommand.ts +++ b/clients/client-directory-service/commands/RegisterCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterCertificateCommandInput = RegisterCertificateRequest; @@ -70,14 +70,14 @@ export class RegisterCertificateCommand extends $Command< private serialize( input: RegisterCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterCertificateCommand(output, context); } diff --git a/clients/client-directory-service/commands/RegisterEventTopicCommand.ts b/clients/client-directory-service/commands/RegisterEventTopicCommand.ts index b9cbbe5662fd..61a442691055 100644 --- a/clients/client-directory-service/commands/RegisterEventTopicCommand.ts +++ b/clients/client-directory-service/commands/RegisterEventTopicCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterEventTopicCommandInput = RegisterEventTopicRequest; @@ -67,14 +67,14 @@ export class RegisterEventTopicCommand extends $Command< private serialize( input: RegisterEventTopicCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterEventTopicCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterEventTopicCommand(output, context); } diff --git a/clients/client-directory-service/commands/RejectSharedDirectoryCommand.ts b/clients/client-directory-service/commands/RejectSharedDirectoryCommand.ts index c8716c6ee469..619d1b8772e8 100644 --- a/clients/client-directory-service/commands/RejectSharedDirectoryCommand.ts +++ b/clients/client-directory-service/commands/RejectSharedDirectoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectSharedDirectoryCommandInput = RejectSharedDirectoryRequest; @@ -70,14 +70,14 @@ export class RejectSharedDirectoryCommand extends $Command< private serialize( input: RejectSharedDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RejectSharedDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RejectSharedDirectoryCommand(output, context); } diff --git a/clients/client-directory-service/commands/RemoveIpRoutesCommand.ts b/clients/client-directory-service/commands/RemoveIpRoutesCommand.ts index a32093a6b9c7..b40c92fa37ba 100644 --- a/clients/client-directory-service/commands/RemoveIpRoutesCommand.ts +++ b/clients/client-directory-service/commands/RemoveIpRoutesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveIpRoutesCommandInput = RemoveIpRoutesRequest; @@ -64,14 +64,14 @@ export class RemoveIpRoutesCommand extends $Command< private serialize( input: RemoveIpRoutesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveIpRoutesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveIpRoutesCommand(output, context); } diff --git a/clients/client-directory-service/commands/RemoveTagsFromResourceCommand.ts b/clients/client-directory-service/commands/RemoveTagsFromResourceCommand.ts index fb93a77410fc..5c4c7887bbb5 100644 --- a/clients/client-directory-service/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-directory-service/commands/RemoveTagsFromResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromResourceCommandInput = RemoveTagsFromResourceRequest; @@ -70,14 +70,14 @@ export class RemoveTagsFromResourceCommand extends $Command< private serialize( input: RemoveTagsFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTagsFromResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTagsFromResourceCommand(output, context); } diff --git a/clients/client-directory-service/commands/ResetUserPasswordCommand.ts b/clients/client-directory-service/commands/ResetUserPasswordCommand.ts index f4cc6b413d24..f6a73d5fbdc4 100644 --- a/clients/client-directory-service/commands/ResetUserPasswordCommand.ts +++ b/clients/client-directory-service/commands/ResetUserPasswordCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetUserPasswordCommandInput = ResetUserPasswordRequest; @@ -67,14 +67,14 @@ export class ResetUserPasswordCommand extends $Command< private serialize( input: ResetUserPasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResetUserPasswordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResetUserPasswordCommand(output, context); } diff --git a/clients/client-directory-service/commands/RestoreFromSnapshotCommand.ts b/clients/client-directory-service/commands/RestoreFromSnapshotCommand.ts index c34b537ccf3b..59c470c4346e 100644 --- a/clients/client-directory-service/commands/RestoreFromSnapshotCommand.ts +++ b/clients/client-directory-service/commands/RestoreFromSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreFromSnapshotCommandInput = RestoreFromSnapshotRequest; @@ -70,14 +70,14 @@ export class RestoreFromSnapshotCommand extends $Command< private serialize( input: RestoreFromSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RestoreFromSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RestoreFromSnapshotCommand(output, context); } diff --git a/clients/client-directory-service/commands/ShareDirectoryCommand.ts b/clients/client-directory-service/commands/ShareDirectoryCommand.ts index fe7a4d52a1e3..198baa3fe657 100644 --- a/clients/client-directory-service/commands/ShareDirectoryCommand.ts +++ b/clients/client-directory-service/commands/ShareDirectoryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ShareDirectoryCommandInput = ShareDirectoryRequest; @@ -64,14 +64,14 @@ export class ShareDirectoryCommand extends $Command< private serialize( input: ShareDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ShareDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ShareDirectoryCommand(output, context); } diff --git a/clients/client-directory-service/commands/StartSchemaExtensionCommand.ts b/clients/client-directory-service/commands/StartSchemaExtensionCommand.ts index af25a21b52e6..ebb6303ab71b 100644 --- a/clients/client-directory-service/commands/StartSchemaExtensionCommand.ts +++ b/clients/client-directory-service/commands/StartSchemaExtensionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartSchemaExtensionCommandInput = StartSchemaExtensionRequest; @@ -70,14 +70,14 @@ export class StartSchemaExtensionCommand extends $Command< private serialize( input: StartSchemaExtensionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartSchemaExtensionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartSchemaExtensionCommand(output, context); } diff --git a/clients/client-directory-service/commands/UnshareDirectoryCommand.ts b/clients/client-directory-service/commands/UnshareDirectoryCommand.ts index 5cc44b880d0d..8ec3b2e66681 100644 --- a/clients/client-directory-service/commands/UnshareDirectoryCommand.ts +++ b/clients/client-directory-service/commands/UnshareDirectoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnshareDirectoryCommandInput = UnshareDirectoryRequest; @@ -67,14 +67,14 @@ export class UnshareDirectoryCommand extends $Command< private serialize( input: UnshareDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UnshareDirectoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UnshareDirectoryCommand(output, context); } diff --git a/clients/client-directory-service/commands/UpdateConditionalForwarderCommand.ts b/clients/client-directory-service/commands/UpdateConditionalForwarderCommand.ts index 36370e1eee7c..c1e49d2a09e4 100644 --- a/clients/client-directory-service/commands/UpdateConditionalForwarderCommand.ts +++ b/clients/client-directory-service/commands/UpdateConditionalForwarderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConditionalForwarderCommandInput = UpdateConditionalForwarderRequest; @@ -70,7 +70,7 @@ export class UpdateConditionalForwarderCommand extends $Command< private serialize( input: UpdateConditionalForwarderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateConditionalForwarderCommand( input, @@ -80,7 +80,7 @@ export class UpdateConditionalForwarderCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateConditionalForwarderCommand( output, diff --git a/clients/client-directory-service/commands/UpdateNumberOfDomainControllersCommand.ts b/clients/client-directory-service/commands/UpdateNumberOfDomainControllersCommand.ts index 7e2c4bf7496d..360b129896bc 100644 --- a/clients/client-directory-service/commands/UpdateNumberOfDomainControllersCommand.ts +++ b/clients/client-directory-service/commands/UpdateNumberOfDomainControllersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateNumberOfDomainControllersCommandInput = UpdateNumberOfDomainControllersRequest; @@ -70,7 +70,7 @@ export class UpdateNumberOfDomainControllersCommand extends $Command< private serialize( input: UpdateNumberOfDomainControllersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateNumberOfDomainControllersCommand( input, @@ -80,7 +80,7 @@ export class UpdateNumberOfDomainControllersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateNumberOfDomainControllersCommand( output, diff --git a/clients/client-directory-service/commands/UpdateRadiusCommand.ts b/clients/client-directory-service/commands/UpdateRadiusCommand.ts index 42cac1abf441..a3eaa61b7267 100644 --- a/clients/client-directory-service/commands/UpdateRadiusCommand.ts +++ b/clients/client-directory-service/commands/UpdateRadiusCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRadiusCommandInput = UpdateRadiusRequest; @@ -64,14 +64,14 @@ export class UpdateRadiusCommand extends $Command< private serialize( input: UpdateRadiusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRadiusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRadiusCommand(output, context); } diff --git a/clients/client-directory-service/commands/UpdateTrustCommand.ts b/clients/client-directory-service/commands/UpdateTrustCommand.ts index e82f868852f0..c54aeeb81230 100644 --- a/clients/client-directory-service/commands/UpdateTrustCommand.ts +++ b/clients/client-directory-service/commands/UpdateTrustCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTrustCommandInput = UpdateTrustRequest; @@ -64,14 +64,14 @@ export class UpdateTrustCommand extends $Command< private serialize( input: UpdateTrustCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTrustCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTrustCommand(output, context); } diff --git a/clients/client-directory-service/commands/VerifyTrustCommand.ts b/clients/client-directory-service/commands/VerifyTrustCommand.ts index 57e986fe0089..bbb84876273c 100644 --- a/clients/client-directory-service/commands/VerifyTrustCommand.ts +++ b/clients/client-directory-service/commands/VerifyTrustCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type VerifyTrustCommandInput = VerifyTrustRequest; @@ -64,14 +64,14 @@ export class VerifyTrustCommand extends $Command< private serialize( input: VerifyTrustCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1VerifyTrustCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1VerifyTrustCommand(output, context); } diff --git a/clients/client-directory-service/protocols/Aws_json1_1.ts b/clients/client-directory-service/protocols/Aws_json1_1.ts index 891d8102ef03..4b3bf8d303b3 100644 --- a/clients/client-directory-service/protocols/Aws_json1_1.ts +++ b/clients/client-directory-service/protocols/Aws_json1_1.ts @@ -10539,6 +10539,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-dlm/commands/CreateLifecyclePolicyCommand.ts b/clients/client-dlm/commands/CreateLifecyclePolicyCommand.ts index 58a7c698ad67..ef52aebd8bf5 100644 --- a/clients/client-dlm/commands/CreateLifecyclePolicyCommand.ts +++ b/clients/client-dlm/commands/CreateLifecyclePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLifecyclePolicyCommandInput = CreateLifecyclePolicyRequest; @@ -70,14 +70,14 @@ export class CreateLifecyclePolicyCommand extends $Command< private serialize( input: CreateLifecyclePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateLifecyclePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateLifecyclePolicyCommand( output, diff --git a/clients/client-dlm/commands/DeleteLifecyclePolicyCommand.ts b/clients/client-dlm/commands/DeleteLifecyclePolicyCommand.ts index fbf20091e4af..ed7cfc064f66 100644 --- a/clients/client-dlm/commands/DeleteLifecyclePolicyCommand.ts +++ b/clients/client-dlm/commands/DeleteLifecyclePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLifecyclePolicyCommandInput = DeleteLifecyclePolicyRequest; @@ -70,14 +70,14 @@ export class DeleteLifecyclePolicyCommand extends $Command< private serialize( input: DeleteLifecyclePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteLifecyclePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteLifecyclePolicyCommand( output, diff --git a/clients/client-dlm/commands/GetLifecyclePoliciesCommand.ts b/clients/client-dlm/commands/GetLifecyclePoliciesCommand.ts index 2a218a44b5a9..993880321cd5 100644 --- a/clients/client-dlm/commands/GetLifecyclePoliciesCommand.ts +++ b/clients/client-dlm/commands/GetLifecyclePoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLifecyclePoliciesCommandInput = GetLifecyclePoliciesRequest; @@ -70,14 +70,14 @@ export class GetLifecyclePoliciesCommand extends $Command< private serialize( input: GetLifecyclePoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLifecyclePoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLifecyclePoliciesCommand( output, diff --git a/clients/client-dlm/commands/GetLifecyclePolicyCommand.ts b/clients/client-dlm/commands/GetLifecyclePolicyCommand.ts index 7fb33b57d0b0..fd9ab76a73d2 100644 --- a/clients/client-dlm/commands/GetLifecyclePolicyCommand.ts +++ b/clients/client-dlm/commands/GetLifecyclePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLifecyclePolicyCommandInput = GetLifecyclePolicyRequest; @@ -67,14 +67,14 @@ export class GetLifecyclePolicyCommand extends $Command< private serialize( input: GetLifecyclePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLifecyclePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLifecyclePolicyCommand(output, context); } diff --git a/clients/client-dlm/commands/ListTagsForResourceCommand.ts b/clients/client-dlm/commands/ListTagsForResourceCommand.ts index 3c54e9e2ef47..0339fdb1f6b9 100644 --- a/clients/client-dlm/commands/ListTagsForResourceCommand.ts +++ b/clients/client-dlm/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-dlm/commands/TagResourceCommand.ts b/clients/client-dlm/commands/TagResourceCommand.ts index 4c6dd47ede7d..c9c6af257452 100644 --- a/clients/client-dlm/commands/TagResourceCommand.ts +++ b/clients/client-dlm/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-dlm/commands/UntagResourceCommand.ts b/clients/client-dlm/commands/UntagResourceCommand.ts index 05863293e837..56f2362a793b 100644 --- a/clients/client-dlm/commands/UntagResourceCommand.ts +++ b/clients/client-dlm/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-dlm/commands/UpdateLifecyclePolicyCommand.ts b/clients/client-dlm/commands/UpdateLifecyclePolicyCommand.ts index 764535a973ee..a75ecfe46342 100644 --- a/clients/client-dlm/commands/UpdateLifecyclePolicyCommand.ts +++ b/clients/client-dlm/commands/UpdateLifecyclePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLifecyclePolicyCommandInput = UpdateLifecyclePolicyRequest; @@ -70,14 +70,14 @@ export class UpdateLifecyclePolicyCommand extends $Command< private serialize( input: UpdateLifecyclePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateLifecyclePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateLifecyclePolicyCommand( output, diff --git a/clients/client-dlm/protocols/Aws_restJson1_1.ts b/clients/client-dlm/protocols/Aws_restJson1_1.ts index 95e5fbcca57d..3b195de643b8 100644 --- a/clients/client-dlm/protocols/Aws_restJson1_1.ts +++ b/clients/client-dlm/protocols/Aws_restJson1_1.ts @@ -1783,6 +1783,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-docdb/commands/AddTagsToResourceCommand.ts b/clients/client-docdb/commands/AddTagsToResourceCommand.ts index b059385bc672..5262cf1ec596 100644 --- a/clients/client-docdb/commands/AddTagsToResourceCommand.ts +++ b/clients/client-docdb/commands/AddTagsToResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToResourceCommandInput = AddTagsToResourceMessage; @@ -65,14 +65,14 @@ export class AddTagsToResourceCommand extends $Command< private serialize( input: AddTagsToResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddTagsToResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddTagsToResourceCommand(output, context); } diff --git a/clients/client-docdb/commands/ApplyPendingMaintenanceActionCommand.ts b/clients/client-docdb/commands/ApplyPendingMaintenanceActionCommand.ts index f7a7ec3c71bd..a24b58f5b09a 100644 --- a/clients/client-docdb/commands/ApplyPendingMaintenanceActionCommand.ts +++ b/clients/client-docdb/commands/ApplyPendingMaintenanceActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ApplyPendingMaintenanceActionCommandInput = ApplyPendingMaintenanceActionMessage; @@ -70,7 +70,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< private serialize( input: ApplyPendingMaintenanceActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryApplyPendingMaintenanceActionCommand( input, @@ -80,7 +80,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryApplyPendingMaintenanceActionCommand( output, diff --git a/clients/client-docdb/commands/CopyDBClusterParameterGroupCommand.ts b/clients/client-docdb/commands/CopyDBClusterParameterGroupCommand.ts index 568eb57c7ed9..1908b99bc5c1 100644 --- a/clients/client-docdb/commands/CopyDBClusterParameterGroupCommand.ts +++ b/clients/client-docdb/commands/CopyDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyDBClusterParameterGroupCommandInput = CopyDBClusterParameterGroupMessage; @@ -70,14 +70,14 @@ export class CopyDBClusterParameterGroupCommand extends $Command< private serialize( input: CopyDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopyDBClusterParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopyDBClusterParameterGroupCommand( output, diff --git a/clients/client-docdb/commands/CopyDBClusterSnapshotCommand.ts b/clients/client-docdb/commands/CopyDBClusterSnapshotCommand.ts index f92ee259740f..0df3685cbcf6 100644 --- a/clients/client-docdb/commands/CopyDBClusterSnapshotCommand.ts +++ b/clients/client-docdb/commands/CopyDBClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyDBClusterSnapshotCommandInput = CopyDBClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class CopyDBClusterSnapshotCommand extends $Command< private serialize( input: CopyDBClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopyDBClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopyDBClusterSnapshotCommand(output, context); } diff --git a/clients/client-docdb/commands/CreateDBClusterCommand.ts b/clients/client-docdb/commands/CreateDBClusterCommand.ts index 7befe949b4e7..b9b996277a34 100644 --- a/clients/client-docdb/commands/CreateDBClusterCommand.ts +++ b/clients/client-docdb/commands/CreateDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBClusterCommandInput = CreateDBClusterMessage; @@ -64,14 +64,14 @@ export class CreateDBClusterCommand extends $Command< private serialize( input: CreateDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBClusterCommand(output, context); } diff --git a/clients/client-docdb/commands/CreateDBClusterParameterGroupCommand.ts b/clients/client-docdb/commands/CreateDBClusterParameterGroupCommand.ts index 6a4be87fad97..cb9687255ea0 100644 --- a/clients/client-docdb/commands/CreateDBClusterParameterGroupCommand.ts +++ b/clients/client-docdb/commands/CreateDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBClusterParameterGroupCommandInput = CreateDBClusterParameterGroupMessage; @@ -70,7 +70,7 @@ export class CreateDBClusterParameterGroupCommand extends $Command< private serialize( input: CreateDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBClusterParameterGroupCommand( input, @@ -80,7 +80,7 @@ export class CreateDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBClusterParameterGroupCommand( output, diff --git a/clients/client-docdb/commands/CreateDBClusterSnapshotCommand.ts b/clients/client-docdb/commands/CreateDBClusterSnapshotCommand.ts index 76718a27ce0a..7918a4e0633c 100644 --- a/clients/client-docdb/commands/CreateDBClusterSnapshotCommand.ts +++ b/clients/client-docdb/commands/CreateDBClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBClusterSnapshotCommandInput = CreateDBClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class CreateDBClusterSnapshotCommand extends $Command< private serialize( input: CreateDBClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBClusterSnapshotCommand(output, context); } diff --git a/clients/client-docdb/commands/CreateDBInstanceCommand.ts b/clients/client-docdb/commands/CreateDBInstanceCommand.ts index 7e197dfd221b..cd177a64b924 100644 --- a/clients/client-docdb/commands/CreateDBInstanceCommand.ts +++ b/clients/client-docdb/commands/CreateDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBInstanceCommandInput = CreateDBInstanceMessage; @@ -67,14 +67,14 @@ export class CreateDBInstanceCommand extends $Command< private serialize( input: CreateDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBInstanceCommand(output, context); } diff --git a/clients/client-docdb/commands/CreateDBSubnetGroupCommand.ts b/clients/client-docdb/commands/CreateDBSubnetGroupCommand.ts index 0a988ec13287..bebb0d401c20 100644 --- a/clients/client-docdb/commands/CreateDBSubnetGroupCommand.ts +++ b/clients/client-docdb/commands/CreateDBSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBSubnetGroupCommandInput = CreateDBSubnetGroupMessage; @@ -70,14 +70,14 @@ export class CreateDBSubnetGroupCommand extends $Command< private serialize( input: CreateDBSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBSubnetGroupCommand(output, context); } diff --git a/clients/client-docdb/commands/DeleteDBClusterCommand.ts b/clients/client-docdb/commands/DeleteDBClusterCommand.ts index 19d7cd63b97f..2a200c6e6dce 100644 --- a/clients/client-docdb/commands/DeleteDBClusterCommand.ts +++ b/clients/client-docdb/commands/DeleteDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBClusterCommandInput = DeleteDBClusterMessage; @@ -64,14 +64,14 @@ export class DeleteDBClusterCommand extends $Command< private serialize( input: DeleteDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBClusterCommand(output, context); } diff --git a/clients/client-docdb/commands/DeleteDBClusterParameterGroupCommand.ts b/clients/client-docdb/commands/DeleteDBClusterParameterGroupCommand.ts index f1a4822038d6..9a1cf9f4dca6 100644 --- a/clients/client-docdb/commands/DeleteDBClusterParameterGroupCommand.ts +++ b/clients/client-docdb/commands/DeleteDBClusterParameterGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBClusterParameterGroupCommandInput = DeleteDBClusterParameterGroupMessage; @@ -68,7 +68,7 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< private serialize( input: DeleteDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBClusterParameterGroupCommand( input, @@ -78,7 +78,7 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBClusterParameterGroupCommand( output, diff --git a/clients/client-docdb/commands/DeleteDBClusterSnapshotCommand.ts b/clients/client-docdb/commands/DeleteDBClusterSnapshotCommand.ts index c67e3d0bb540..c27aec899aea 100644 --- a/clients/client-docdb/commands/DeleteDBClusterSnapshotCommand.ts +++ b/clients/client-docdb/commands/DeleteDBClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBClusterSnapshotCommandInput = DeleteDBClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class DeleteDBClusterSnapshotCommand extends $Command< private serialize( input: DeleteDBClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBClusterSnapshotCommand(output, context); } diff --git a/clients/client-docdb/commands/DeleteDBInstanceCommand.ts b/clients/client-docdb/commands/DeleteDBInstanceCommand.ts index 1f3bb92a1fa9..8d9a5bc6faa1 100644 --- a/clients/client-docdb/commands/DeleteDBInstanceCommand.ts +++ b/clients/client-docdb/commands/DeleteDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBInstanceCommandInput = DeleteDBInstanceMessage; @@ -67,14 +67,14 @@ export class DeleteDBInstanceCommand extends $Command< private serialize( input: DeleteDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBInstanceCommand(output, context); } diff --git a/clients/client-docdb/commands/DeleteDBSubnetGroupCommand.ts b/clients/client-docdb/commands/DeleteDBSubnetGroupCommand.ts index 344d616a36a5..c81477aa03f3 100644 --- a/clients/client-docdb/commands/DeleteDBSubnetGroupCommand.ts +++ b/clients/client-docdb/commands/DeleteDBSubnetGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBSubnetGroupCommandInput = DeleteDBSubnetGroupMessage; @@ -68,14 +68,14 @@ export class DeleteDBSubnetGroupCommand extends $Command< private serialize( input: DeleteDBSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBSubnetGroupCommand(output, context); } diff --git a/clients/client-docdb/commands/DescribeCertificatesCommand.ts b/clients/client-docdb/commands/DescribeCertificatesCommand.ts index b1fe437aaaf9..593329abe62d 100644 --- a/clients/client-docdb/commands/DescribeCertificatesCommand.ts +++ b/clients/client-docdb/commands/DescribeCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCertificatesCommandInput = DescribeCertificatesMessage; @@ -70,14 +70,14 @@ export class DescribeCertificatesCommand extends $Command< private serialize( input: DescribeCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeCertificatesCommand(output, context); } diff --git a/clients/client-docdb/commands/DescribeDBClusterParameterGroupsCommand.ts b/clients/client-docdb/commands/DescribeDBClusterParameterGroupsCommand.ts index 60de611db536..35b3d010b165 100644 --- a/clients/client-docdb/commands/DescribeDBClusterParameterGroupsCommand.ts +++ b/clients/client-docdb/commands/DescribeDBClusterParameterGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterParameterGroupsCommandInput = DescribeDBClusterParameterGroupsMessage; @@ -70,7 +70,7 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< private serialize( input: DescribeDBClusterParameterGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterParameterGroupsCommand( input, @@ -80,7 +80,7 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterParameterGroupsCommand( output, diff --git a/clients/client-docdb/commands/DescribeDBClusterParametersCommand.ts b/clients/client-docdb/commands/DescribeDBClusterParametersCommand.ts index 045508a5093b..498700e14f05 100644 --- a/clients/client-docdb/commands/DescribeDBClusterParametersCommand.ts +++ b/clients/client-docdb/commands/DescribeDBClusterParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterParametersCommandInput = DescribeDBClusterParametersMessage; @@ -70,14 +70,14 @@ export class DescribeDBClusterParametersCommand extends $Command< private serialize( input: DescribeDBClusterParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterParametersCommand( output, diff --git a/clients/client-docdb/commands/DescribeDBClusterSnapshotAttributesCommand.ts b/clients/client-docdb/commands/DescribeDBClusterSnapshotAttributesCommand.ts index d4bfda42761b..416f2518ebc8 100644 --- a/clients/client-docdb/commands/DescribeDBClusterSnapshotAttributesCommand.ts +++ b/clients/client-docdb/commands/DescribeDBClusterSnapshotAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterSnapshotAttributesCommandInput = DescribeDBClusterSnapshotAttributesMessage; @@ -70,7 +70,7 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< private serialize( input: DescribeDBClusterSnapshotAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterSnapshotAttributesCommand( input, @@ -80,7 +80,7 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterSnapshotAttributesCommand( output, diff --git a/clients/client-docdb/commands/DescribeDBClusterSnapshotsCommand.ts b/clients/client-docdb/commands/DescribeDBClusterSnapshotsCommand.ts index 319b55e49680..152ff7c4e78b 100644 --- a/clients/client-docdb/commands/DescribeDBClusterSnapshotsCommand.ts +++ b/clients/client-docdb/commands/DescribeDBClusterSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterSnapshotsCommandInput = DescribeDBClusterSnapshotsMessage; @@ -70,14 +70,14 @@ export class DescribeDBClusterSnapshotsCommand extends $Command< private serialize( input: DescribeDBClusterSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterSnapshotsCommand( output, diff --git a/clients/client-docdb/commands/DescribeDBClustersCommand.ts b/clients/client-docdb/commands/DescribeDBClustersCommand.ts index 56014e7ad960..c28ee3fd5138 100644 --- a/clients/client-docdb/commands/DescribeDBClustersCommand.ts +++ b/clients/client-docdb/commands/DescribeDBClustersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClustersCommandInput = DescribeDBClustersMessage; @@ -64,14 +64,14 @@ export class DescribeDBClustersCommand extends $Command< private serialize( input: DescribeDBClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClustersCommand(output, context); } diff --git a/clients/client-docdb/commands/DescribeDBEngineVersionsCommand.ts b/clients/client-docdb/commands/DescribeDBEngineVersionsCommand.ts index 82af530c73e7..ab3b7d72c23c 100644 --- a/clients/client-docdb/commands/DescribeDBEngineVersionsCommand.ts +++ b/clients/client-docdb/commands/DescribeDBEngineVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBEngineVersionsCommandInput = DescribeDBEngineVersionsMessage; @@ -70,14 +70,14 @@ export class DescribeDBEngineVersionsCommand extends $Command< private serialize( input: DescribeDBEngineVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBEngineVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBEngineVersionsCommand(output, context); } diff --git a/clients/client-docdb/commands/DescribeDBInstancesCommand.ts b/clients/client-docdb/commands/DescribeDBInstancesCommand.ts index 63b931bd5f06..3687351abe8b 100644 --- a/clients/client-docdb/commands/DescribeDBInstancesCommand.ts +++ b/clients/client-docdb/commands/DescribeDBInstancesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBInstancesCommandInput = DescribeDBInstancesMessage; @@ -67,14 +67,14 @@ export class DescribeDBInstancesCommand extends $Command< private serialize( input: DescribeDBInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBInstancesCommand(output, context); } diff --git a/clients/client-docdb/commands/DescribeDBSubnetGroupsCommand.ts b/clients/client-docdb/commands/DescribeDBSubnetGroupsCommand.ts index d4ca6dab4979..0e15d999d16b 100644 --- a/clients/client-docdb/commands/DescribeDBSubnetGroupsCommand.ts +++ b/clients/client-docdb/commands/DescribeDBSubnetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBSubnetGroupsCommandInput = DescribeDBSubnetGroupsMessage; @@ -70,14 +70,14 @@ export class DescribeDBSubnetGroupsCommand extends $Command< private serialize( input: DescribeDBSubnetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBSubnetGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBSubnetGroupsCommand(output, context); } diff --git a/clients/client-docdb/commands/DescribeEngineDefaultClusterParametersCommand.ts b/clients/client-docdb/commands/DescribeEngineDefaultClusterParametersCommand.ts index decf0f78a664..4bd2f6d58bfa 100644 --- a/clients/client-docdb/commands/DescribeEngineDefaultClusterParametersCommand.ts +++ b/clients/client-docdb/commands/DescribeEngineDefaultClusterParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEngineDefaultClusterParametersCommandInput = DescribeEngineDefaultClusterParametersMessage; @@ -72,7 +72,7 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< private serialize( input: DescribeEngineDefaultClusterParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEngineDefaultClusterParametersCommand( input, @@ -82,7 +82,7 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEngineDefaultClusterParametersCommand( output, diff --git a/clients/client-docdb/commands/DescribeEventCategoriesCommand.ts b/clients/client-docdb/commands/DescribeEventCategoriesCommand.ts index a37dcd294305..11097a734854 100644 --- a/clients/client-docdb/commands/DescribeEventCategoriesCommand.ts +++ b/clients/client-docdb/commands/DescribeEventCategoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventCategoriesCommandInput = DescribeEventCategoriesMessage; @@ -70,14 +70,14 @@ export class DescribeEventCategoriesCommand extends $Command< private serialize( input: DescribeEventCategoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventCategoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventCategoriesCommand(output, context); } diff --git a/clients/client-docdb/commands/DescribeEventsCommand.ts b/clients/client-docdb/commands/DescribeEventsCommand.ts index 21e06d7faa00..5a81d88e8294 100644 --- a/clients/client-docdb/commands/DescribeEventsCommand.ts +++ b/clients/client-docdb/commands/DescribeEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventsCommandInput = DescribeEventsMessage; @@ -64,14 +64,14 @@ export class DescribeEventsCommand extends $Command< private serialize( input: DescribeEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventsCommand(output, context); } diff --git a/clients/client-docdb/commands/DescribeOrderableDBInstanceOptionsCommand.ts b/clients/client-docdb/commands/DescribeOrderableDBInstanceOptionsCommand.ts index 54f8c1332d67..b4a9bb3c38fe 100644 --- a/clients/client-docdb/commands/DescribeOrderableDBInstanceOptionsCommand.ts +++ b/clients/client-docdb/commands/DescribeOrderableDBInstanceOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrderableDBInstanceOptionsCommandInput = DescribeOrderableDBInstanceOptionsMessage; @@ -70,7 +70,7 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< private serialize( input: DescribeOrderableDBInstanceOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeOrderableDBInstanceOptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeOrderableDBInstanceOptionsCommand( output, diff --git a/clients/client-docdb/commands/DescribePendingMaintenanceActionsCommand.ts b/clients/client-docdb/commands/DescribePendingMaintenanceActionsCommand.ts index 679438e21a3b..7cea785d8704 100644 --- a/clients/client-docdb/commands/DescribePendingMaintenanceActionsCommand.ts +++ b/clients/client-docdb/commands/DescribePendingMaintenanceActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePendingMaintenanceActionsCommandInput = DescribePendingMaintenanceActionsMessage; @@ -70,7 +70,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< private serialize( input: DescribePendingMaintenanceActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribePendingMaintenanceActionsCommand( input, @@ -80,7 +80,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribePendingMaintenanceActionsCommand( output, diff --git a/clients/client-docdb/commands/FailoverDBClusterCommand.ts b/clients/client-docdb/commands/FailoverDBClusterCommand.ts index fa33561a76ba..e880879acf37 100644 --- a/clients/client-docdb/commands/FailoverDBClusterCommand.ts +++ b/clients/client-docdb/commands/FailoverDBClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type FailoverDBClusterCommandInput = FailoverDBClusterMessage; @@ -67,14 +67,14 @@ export class FailoverDBClusterCommand extends $Command< private serialize( input: FailoverDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryFailoverDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryFailoverDBClusterCommand(output, context); } diff --git a/clients/client-docdb/commands/ListTagsForResourceCommand.ts b/clients/client-docdb/commands/ListTagsForResourceCommand.ts index a68c27e6884c..91a83062014d 100644 --- a/clients/client-docdb/commands/ListTagsForResourceCommand.ts +++ b/clients/client-docdb/commands/ListTagsForResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceMessage; @@ -67,14 +67,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTagsForResourceCommand(output, context); } diff --git a/clients/client-docdb/commands/ModifyDBClusterCommand.ts b/clients/client-docdb/commands/ModifyDBClusterCommand.ts index b8c2aa3e8211..25315ab2fac9 100644 --- a/clients/client-docdb/commands/ModifyDBClusterCommand.ts +++ b/clients/client-docdb/commands/ModifyDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBClusterCommandInput = ModifyDBClusterMessage; @@ -64,14 +64,14 @@ export class ModifyDBClusterCommand extends $Command< private serialize( input: ModifyDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBClusterCommand(output, context); } diff --git a/clients/client-docdb/commands/ModifyDBClusterParameterGroupCommand.ts b/clients/client-docdb/commands/ModifyDBClusterParameterGroupCommand.ts index f29ef00f2297..3229748c58b1 100644 --- a/clients/client-docdb/commands/ModifyDBClusterParameterGroupCommand.ts +++ b/clients/client-docdb/commands/ModifyDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBClusterParameterGroupCommandInput = ModifyDBClusterParameterGroupMessage; @@ -70,7 +70,7 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< private serialize( input: ModifyDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBClusterParameterGroupCommand( input, @@ -80,7 +80,7 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBClusterParameterGroupCommand( output, diff --git a/clients/client-docdb/commands/ModifyDBClusterSnapshotAttributeCommand.ts b/clients/client-docdb/commands/ModifyDBClusterSnapshotAttributeCommand.ts index 6ff06ecbb2a1..99e7d46667de 100644 --- a/clients/client-docdb/commands/ModifyDBClusterSnapshotAttributeCommand.ts +++ b/clients/client-docdb/commands/ModifyDBClusterSnapshotAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBClusterSnapshotAttributeCommandInput = ModifyDBClusterSnapshotAttributeMessage; @@ -70,7 +70,7 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< private serialize( input: ModifyDBClusterSnapshotAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBClusterSnapshotAttributeCommand( input, @@ -80,7 +80,7 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBClusterSnapshotAttributeCommand( output, diff --git a/clients/client-docdb/commands/ModifyDBInstanceCommand.ts b/clients/client-docdb/commands/ModifyDBInstanceCommand.ts index 613721b8f3c0..272d85b51948 100644 --- a/clients/client-docdb/commands/ModifyDBInstanceCommand.ts +++ b/clients/client-docdb/commands/ModifyDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBInstanceCommandInput = ModifyDBInstanceMessage; @@ -67,14 +67,14 @@ export class ModifyDBInstanceCommand extends $Command< private serialize( input: ModifyDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBInstanceCommand(output, context); } diff --git a/clients/client-docdb/commands/ModifyDBSubnetGroupCommand.ts b/clients/client-docdb/commands/ModifyDBSubnetGroupCommand.ts index 814df74cc729..1cca22ad01d6 100644 --- a/clients/client-docdb/commands/ModifyDBSubnetGroupCommand.ts +++ b/clients/client-docdb/commands/ModifyDBSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBSubnetGroupCommandInput = ModifyDBSubnetGroupMessage; @@ -70,14 +70,14 @@ export class ModifyDBSubnetGroupCommand extends $Command< private serialize( input: ModifyDBSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBSubnetGroupCommand(output, context); } diff --git a/clients/client-docdb/commands/RebootDBInstanceCommand.ts b/clients/client-docdb/commands/RebootDBInstanceCommand.ts index 1140b01ca26e..5e6de8c90620 100644 --- a/clients/client-docdb/commands/RebootDBInstanceCommand.ts +++ b/clients/client-docdb/commands/RebootDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootDBInstanceCommandInput = RebootDBInstanceMessage; @@ -67,14 +67,14 @@ export class RebootDBInstanceCommand extends $Command< private serialize( input: RebootDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRebootDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRebootDBInstanceCommand(output, context); } diff --git a/clients/client-docdb/commands/RemoveTagsFromResourceCommand.ts b/clients/client-docdb/commands/RemoveTagsFromResourceCommand.ts index 64b5fc9d8320..51ed518fcbae 100644 --- a/clients/client-docdb/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-docdb/commands/RemoveTagsFromResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromResourceCommandInput = RemoveTagsFromResourceMessage; @@ -68,14 +68,14 @@ export class RemoveTagsFromResourceCommand extends $Command< private serialize( input: RemoveTagsFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveTagsFromResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveTagsFromResourceCommand(output, context); } diff --git a/clients/client-docdb/commands/ResetDBClusterParameterGroupCommand.ts b/clients/client-docdb/commands/ResetDBClusterParameterGroupCommand.ts index 0a504c791b44..94d46b7f8cef 100644 --- a/clients/client-docdb/commands/ResetDBClusterParameterGroupCommand.ts +++ b/clients/client-docdb/commands/ResetDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetDBClusterParameterGroupCommandInput = ResetDBClusterParameterGroupMessage; @@ -70,7 +70,7 @@ export class ResetDBClusterParameterGroupCommand extends $Command< private serialize( input: ResetDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryResetDBClusterParameterGroupCommand( input, @@ -80,7 +80,7 @@ export class ResetDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryResetDBClusterParameterGroupCommand( output, diff --git a/clients/client-docdb/commands/RestoreDBClusterFromSnapshotCommand.ts b/clients/client-docdb/commands/RestoreDBClusterFromSnapshotCommand.ts index 4a4d012d0d33..4ae2ec36de93 100644 --- a/clients/client-docdb/commands/RestoreDBClusterFromSnapshotCommand.ts +++ b/clients/client-docdb/commands/RestoreDBClusterFromSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreDBClusterFromSnapshotCommandInput = RestoreDBClusterFromSnapshotMessage; @@ -70,7 +70,7 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< private serialize( input: RestoreDBClusterFromSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreDBClusterFromSnapshotCommand( input, @@ -80,7 +80,7 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreDBClusterFromSnapshotCommand( output, diff --git a/clients/client-docdb/commands/RestoreDBClusterToPointInTimeCommand.ts b/clients/client-docdb/commands/RestoreDBClusterToPointInTimeCommand.ts index 89b640622542..2f5de6108c71 100644 --- a/clients/client-docdb/commands/RestoreDBClusterToPointInTimeCommand.ts +++ b/clients/client-docdb/commands/RestoreDBClusterToPointInTimeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreDBClusterToPointInTimeCommandInput = RestoreDBClusterToPointInTimeMessage; @@ -70,7 +70,7 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< private serialize( input: RestoreDBClusterToPointInTimeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreDBClusterToPointInTimeCommand( input, @@ -80,7 +80,7 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreDBClusterToPointInTimeCommand( output, diff --git a/clients/client-docdb/commands/StartDBClusterCommand.ts b/clients/client-docdb/commands/StartDBClusterCommand.ts index f263bb0419db..e882e1ca520b 100644 --- a/clients/client-docdb/commands/StartDBClusterCommand.ts +++ b/clients/client-docdb/commands/StartDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDBClusterCommandInput = StartDBClusterMessage; @@ -64,14 +64,14 @@ export class StartDBClusterCommand extends $Command< private serialize( input: StartDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryStartDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryStartDBClusterCommand(output, context); } diff --git a/clients/client-docdb/commands/StopDBClusterCommand.ts b/clients/client-docdb/commands/StopDBClusterCommand.ts index 66e8afdaa3fe..0256d79a7952 100644 --- a/clients/client-docdb/commands/StopDBClusterCommand.ts +++ b/clients/client-docdb/commands/StopDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopDBClusterCommandInput = StopDBClusterMessage; @@ -64,14 +64,14 @@ export class StopDBClusterCommand extends $Command< private serialize( input: StopDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryStopDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryStopDBClusterCommand(output, context); } diff --git a/clients/client-docdb/protocols/Aws_query.ts b/clients/client-docdb/protocols/Aws_query.ts index c94243f6b1ad..06de96385ea6 100644 --- a/clients/client-docdb/protocols/Aws_query.ts +++ b/clients/client-docdb/protocols/Aws_query.ts @@ -9582,6 +9582,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-dynamodb-streams/commands/DescribeStreamCommand.ts b/clients/client-dynamodb-streams/commands/DescribeStreamCommand.ts index e266df88a4c8..e1b8267ebff1 100644 --- a/clients/client-dynamodb-streams/commands/DescribeStreamCommand.ts +++ b/clients/client-dynamodb-streams/commands/DescribeStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStreamCommandInput = DescribeStreamInput; @@ -64,14 +64,14 @@ export class DescribeStreamCommand extends $Command< private serialize( input: DescribeStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeStreamCommand(output, context); } diff --git a/clients/client-dynamodb-streams/commands/GetRecordsCommand.ts b/clients/client-dynamodb-streams/commands/GetRecordsCommand.ts index e8cfe9ae1c62..64a8d0372a2e 100644 --- a/clients/client-dynamodb-streams/commands/GetRecordsCommand.ts +++ b/clients/client-dynamodb-streams/commands/GetRecordsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRecordsCommandInput = GetRecordsInput; @@ -64,14 +64,14 @@ export class GetRecordsCommand extends $Command< private serialize( input: GetRecordsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetRecordsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetRecordsCommand(output, context); } diff --git a/clients/client-dynamodb-streams/commands/GetShardIteratorCommand.ts b/clients/client-dynamodb-streams/commands/GetShardIteratorCommand.ts index 29576405ed77..34597f6466f1 100644 --- a/clients/client-dynamodb-streams/commands/GetShardIteratorCommand.ts +++ b/clients/client-dynamodb-streams/commands/GetShardIteratorCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetShardIteratorCommandInput = GetShardIteratorInput; @@ -64,14 +64,14 @@ export class GetShardIteratorCommand extends $Command< private serialize( input: GetShardIteratorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetShardIteratorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetShardIteratorCommand(output, context); } diff --git a/clients/client-dynamodb-streams/commands/ListStreamsCommand.ts b/clients/client-dynamodb-streams/commands/ListStreamsCommand.ts index d0787cd70e71..0f543b508c33 100644 --- a/clients/client-dynamodb-streams/commands/ListStreamsCommand.ts +++ b/clients/client-dynamodb-streams/commands/ListStreamsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStreamsCommandInput = ListStreamsInput; @@ -64,14 +64,14 @@ export class ListStreamsCommand extends $Command< private serialize( input: ListStreamsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListStreamsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListStreamsCommand(output, context); } diff --git a/clients/client-dynamodb-streams/protocols/Aws_json1_0.ts b/clients/client-dynamodb-streams/protocols/Aws_json1_0.ts index 5e9b3c89e2cd..0af7bd2ede44 100644 --- a/clients/client-dynamodb-streams/protocols/Aws_json1_0.ts +++ b/clients/client-dynamodb-streams/protocols/Aws_json1_0.ts @@ -1114,6 +1114,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-dynamodb/commands/BatchGetItemCommand.ts b/clients/client-dynamodb/commands/BatchGetItemCommand.ts index fa4a55d48e28..725688b7d701 100644 --- a/clients/client-dynamodb/commands/BatchGetItemCommand.ts +++ b/clients/client-dynamodb/commands/BatchGetItemCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetItemCommandInput = BatchGetItemInput; @@ -64,14 +64,14 @@ export class BatchGetItemCommand extends $Command< private serialize( input: BatchGetItemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0BatchGetItemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0BatchGetItemCommand(output, context); } diff --git a/clients/client-dynamodb/commands/BatchWriteItemCommand.ts b/clients/client-dynamodb/commands/BatchWriteItemCommand.ts index 88974a6d3c35..7a27dfa0aebe 100644 --- a/clients/client-dynamodb/commands/BatchWriteItemCommand.ts +++ b/clients/client-dynamodb/commands/BatchWriteItemCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchWriteItemCommandInput = BatchWriteItemInput; @@ -64,14 +64,14 @@ export class BatchWriteItemCommand extends $Command< private serialize( input: BatchWriteItemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0BatchWriteItemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0BatchWriteItemCommand(output, context); } diff --git a/clients/client-dynamodb/commands/CreateBackupCommand.ts b/clients/client-dynamodb/commands/CreateBackupCommand.ts index 6ecd6798408b..d1e3b61f0feb 100644 --- a/clients/client-dynamodb/commands/CreateBackupCommand.ts +++ b/clients/client-dynamodb/commands/CreateBackupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBackupCommandInput = CreateBackupInput; @@ -64,14 +64,14 @@ export class CreateBackupCommand extends $Command< private serialize( input: CreateBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0CreateBackupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0CreateBackupCommand(output, context); } diff --git a/clients/client-dynamodb/commands/CreateGlobalTableCommand.ts b/clients/client-dynamodb/commands/CreateGlobalTableCommand.ts index e8e249152ad7..1b0e32f4a360 100644 --- a/clients/client-dynamodb/commands/CreateGlobalTableCommand.ts +++ b/clients/client-dynamodb/commands/CreateGlobalTableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGlobalTableCommandInput = CreateGlobalTableInput; @@ -67,14 +67,14 @@ export class CreateGlobalTableCommand extends $Command< private serialize( input: CreateGlobalTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0CreateGlobalTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0CreateGlobalTableCommand(output, context); } diff --git a/clients/client-dynamodb/commands/CreateTableCommand.ts b/clients/client-dynamodb/commands/CreateTableCommand.ts index d630875691b0..4927b6c6210a 100644 --- a/clients/client-dynamodb/commands/CreateTableCommand.ts +++ b/clients/client-dynamodb/commands/CreateTableCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTableCommandInput = CreateTableInput; @@ -64,14 +64,14 @@ export class CreateTableCommand extends $Command< private serialize( input: CreateTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0CreateTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0CreateTableCommand(output, context); } diff --git a/clients/client-dynamodb/commands/DeleteBackupCommand.ts b/clients/client-dynamodb/commands/DeleteBackupCommand.ts index 1cee6ec32a48..70210915d904 100644 --- a/clients/client-dynamodb/commands/DeleteBackupCommand.ts +++ b/clients/client-dynamodb/commands/DeleteBackupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBackupCommandInput = DeleteBackupInput; @@ -64,14 +64,14 @@ export class DeleteBackupCommand extends $Command< private serialize( input: DeleteBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DeleteBackupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DeleteBackupCommand(output, context); } diff --git a/clients/client-dynamodb/commands/DeleteItemCommand.ts b/clients/client-dynamodb/commands/DeleteItemCommand.ts index 600e32d1809d..6bff331aaf36 100644 --- a/clients/client-dynamodb/commands/DeleteItemCommand.ts +++ b/clients/client-dynamodb/commands/DeleteItemCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteItemCommandInput = DeleteItemInput; @@ -64,14 +64,14 @@ export class DeleteItemCommand extends $Command< private serialize( input: DeleteItemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DeleteItemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DeleteItemCommand(output, context); } diff --git a/clients/client-dynamodb/commands/DeleteTableCommand.ts b/clients/client-dynamodb/commands/DeleteTableCommand.ts index 9871c92f5da0..25090836fbb8 100644 --- a/clients/client-dynamodb/commands/DeleteTableCommand.ts +++ b/clients/client-dynamodb/commands/DeleteTableCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTableCommandInput = DeleteTableInput; @@ -64,14 +64,14 @@ export class DeleteTableCommand extends $Command< private serialize( input: DeleteTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DeleteTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DeleteTableCommand(output, context); } diff --git a/clients/client-dynamodb/commands/DescribeBackupCommand.ts b/clients/client-dynamodb/commands/DescribeBackupCommand.ts index c5ad6ce5ae73..edc64dc08579 100644 --- a/clients/client-dynamodb/commands/DescribeBackupCommand.ts +++ b/clients/client-dynamodb/commands/DescribeBackupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBackupCommandInput = DescribeBackupInput; @@ -64,14 +64,14 @@ export class DescribeBackupCommand extends $Command< private serialize( input: DescribeBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeBackupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeBackupCommand(output, context); } diff --git a/clients/client-dynamodb/commands/DescribeContinuousBackupsCommand.ts b/clients/client-dynamodb/commands/DescribeContinuousBackupsCommand.ts index 8f1f51c54616..74aa5f95375d 100644 --- a/clients/client-dynamodb/commands/DescribeContinuousBackupsCommand.ts +++ b/clients/client-dynamodb/commands/DescribeContinuousBackupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeContinuousBackupsCommandInput = DescribeContinuousBackupsInput; @@ -70,14 +70,14 @@ export class DescribeContinuousBackupsCommand extends $Command< private serialize( input: DescribeContinuousBackupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeContinuousBackupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeContinuousBackupsCommand( output, diff --git a/clients/client-dynamodb/commands/DescribeContributorInsightsCommand.ts b/clients/client-dynamodb/commands/DescribeContributorInsightsCommand.ts index 84724b4e76ca..40158eaa5b77 100644 --- a/clients/client-dynamodb/commands/DescribeContributorInsightsCommand.ts +++ b/clients/client-dynamodb/commands/DescribeContributorInsightsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeContributorInsightsCommandInput = DescribeContributorInsightsInput; @@ -70,7 +70,7 @@ export class DescribeContributorInsightsCommand extends $Command< private serialize( input: DescribeContributorInsightsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeContributorInsightsCommand( input, @@ -80,7 +80,7 @@ export class DescribeContributorInsightsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeContributorInsightsCommand( output, diff --git a/clients/client-dynamodb/commands/DescribeEndpointsCommand.ts b/clients/client-dynamodb/commands/DescribeEndpointsCommand.ts index 942c8f236273..4142a34b3ca7 100644 --- a/clients/client-dynamodb/commands/DescribeEndpointsCommand.ts +++ b/clients/client-dynamodb/commands/DescribeEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEndpointsCommandInput = DescribeEndpointsRequest; @@ -67,14 +67,14 @@ export class DescribeEndpointsCommand extends $Command< private serialize( input: DescribeEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeEndpointsCommand(output, context); } diff --git a/clients/client-dynamodb/commands/DescribeGlobalTableCommand.ts b/clients/client-dynamodb/commands/DescribeGlobalTableCommand.ts index 88b5cd7911c8..085055e2b068 100644 --- a/clients/client-dynamodb/commands/DescribeGlobalTableCommand.ts +++ b/clients/client-dynamodb/commands/DescribeGlobalTableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGlobalTableCommandInput = DescribeGlobalTableInput; @@ -70,14 +70,14 @@ export class DescribeGlobalTableCommand extends $Command< private serialize( input: DescribeGlobalTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeGlobalTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeGlobalTableCommand(output, context); } diff --git a/clients/client-dynamodb/commands/DescribeGlobalTableSettingsCommand.ts b/clients/client-dynamodb/commands/DescribeGlobalTableSettingsCommand.ts index 4a44e053b09c..d5e6b4829977 100644 --- a/clients/client-dynamodb/commands/DescribeGlobalTableSettingsCommand.ts +++ b/clients/client-dynamodb/commands/DescribeGlobalTableSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGlobalTableSettingsCommandInput = DescribeGlobalTableSettingsInput; @@ -70,7 +70,7 @@ export class DescribeGlobalTableSettingsCommand extends $Command< private serialize( input: DescribeGlobalTableSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeGlobalTableSettingsCommand( input, @@ -80,7 +80,7 @@ export class DescribeGlobalTableSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeGlobalTableSettingsCommand( output, diff --git a/clients/client-dynamodb/commands/DescribeLimitsCommand.ts b/clients/client-dynamodb/commands/DescribeLimitsCommand.ts index 4766651bb490..b086be581548 100644 --- a/clients/client-dynamodb/commands/DescribeLimitsCommand.ts +++ b/clients/client-dynamodb/commands/DescribeLimitsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLimitsCommandInput = DescribeLimitsInput; @@ -64,14 +64,14 @@ export class DescribeLimitsCommand extends $Command< private serialize( input: DescribeLimitsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeLimitsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeLimitsCommand(output, context); } diff --git a/clients/client-dynamodb/commands/DescribeTableCommand.ts b/clients/client-dynamodb/commands/DescribeTableCommand.ts index 4f96a98ceb4b..333b412fc48d 100644 --- a/clients/client-dynamodb/commands/DescribeTableCommand.ts +++ b/clients/client-dynamodb/commands/DescribeTableCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTableCommandInput = DescribeTableInput; @@ -64,14 +64,14 @@ export class DescribeTableCommand extends $Command< private serialize( input: DescribeTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeTableCommand(output, context); } diff --git a/clients/client-dynamodb/commands/DescribeTableReplicaAutoScalingCommand.ts b/clients/client-dynamodb/commands/DescribeTableReplicaAutoScalingCommand.ts index 151b94f49cd4..d38916d405c2 100644 --- a/clients/client-dynamodb/commands/DescribeTableReplicaAutoScalingCommand.ts +++ b/clients/client-dynamodb/commands/DescribeTableReplicaAutoScalingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTableReplicaAutoScalingCommandInput = DescribeTableReplicaAutoScalingInput; @@ -70,7 +70,7 @@ export class DescribeTableReplicaAutoScalingCommand extends $Command< private serialize( input: DescribeTableReplicaAutoScalingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeTableReplicaAutoScalingCommand( input, @@ -80,7 +80,7 @@ export class DescribeTableReplicaAutoScalingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeTableReplicaAutoScalingCommand( output, diff --git a/clients/client-dynamodb/commands/DescribeTimeToLiveCommand.ts b/clients/client-dynamodb/commands/DescribeTimeToLiveCommand.ts index 403361842b76..aa0aa4b82af9 100644 --- a/clients/client-dynamodb/commands/DescribeTimeToLiveCommand.ts +++ b/clients/client-dynamodb/commands/DescribeTimeToLiveCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTimeToLiveCommandInput = DescribeTimeToLiveInput; @@ -67,14 +67,14 @@ export class DescribeTimeToLiveCommand extends $Command< private serialize( input: DescribeTimeToLiveCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeTimeToLiveCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeTimeToLiveCommand(output, context); } diff --git a/clients/client-dynamodb/commands/GetItemCommand.ts b/clients/client-dynamodb/commands/GetItemCommand.ts index 9375c35f2172..78a67d411730 100644 --- a/clients/client-dynamodb/commands/GetItemCommand.ts +++ b/clients/client-dynamodb/commands/GetItemCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetItemCommandInput = GetItemInput; @@ -64,14 +64,14 @@ export class GetItemCommand extends $Command< private serialize( input: GetItemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetItemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetItemCommand(output, context); } diff --git a/clients/client-dynamodb/commands/ListBackupsCommand.ts b/clients/client-dynamodb/commands/ListBackupsCommand.ts index 71dd78e4fe27..047c676c3dbc 100644 --- a/clients/client-dynamodb/commands/ListBackupsCommand.ts +++ b/clients/client-dynamodb/commands/ListBackupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBackupsCommandInput = ListBackupsInput; @@ -64,14 +64,14 @@ export class ListBackupsCommand extends $Command< private serialize( input: ListBackupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListBackupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListBackupsCommand(output, context); } diff --git a/clients/client-dynamodb/commands/ListContributorInsightsCommand.ts b/clients/client-dynamodb/commands/ListContributorInsightsCommand.ts index 3be06cf16751..16bf7090df93 100644 --- a/clients/client-dynamodb/commands/ListContributorInsightsCommand.ts +++ b/clients/client-dynamodb/commands/ListContributorInsightsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListContributorInsightsCommandInput = ListContributorInsightsInput; @@ -70,14 +70,14 @@ export class ListContributorInsightsCommand extends $Command< private serialize( input: ListContributorInsightsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListContributorInsightsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListContributorInsightsCommand( output, diff --git a/clients/client-dynamodb/commands/ListGlobalTablesCommand.ts b/clients/client-dynamodb/commands/ListGlobalTablesCommand.ts index 1932d0218b5f..a17ccac0607c 100644 --- a/clients/client-dynamodb/commands/ListGlobalTablesCommand.ts +++ b/clients/client-dynamodb/commands/ListGlobalTablesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGlobalTablesCommandInput = ListGlobalTablesInput; @@ -64,14 +64,14 @@ export class ListGlobalTablesCommand extends $Command< private serialize( input: ListGlobalTablesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListGlobalTablesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListGlobalTablesCommand(output, context); } diff --git a/clients/client-dynamodb/commands/ListTablesCommand.ts b/clients/client-dynamodb/commands/ListTablesCommand.ts index 817c8cdf3f7b..88846e1d67b6 100644 --- a/clients/client-dynamodb/commands/ListTablesCommand.ts +++ b/clients/client-dynamodb/commands/ListTablesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTablesCommandInput = ListTablesInput; @@ -64,14 +64,14 @@ export class ListTablesCommand extends $Command< private serialize( input: ListTablesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListTablesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListTablesCommand(output, context); } diff --git a/clients/client-dynamodb/commands/ListTagsOfResourceCommand.ts b/clients/client-dynamodb/commands/ListTagsOfResourceCommand.ts index 8682597f9f50..9106798869bf 100644 --- a/clients/client-dynamodb/commands/ListTagsOfResourceCommand.ts +++ b/clients/client-dynamodb/commands/ListTagsOfResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsOfResourceCommandInput = ListTagsOfResourceInput; @@ -67,14 +67,14 @@ export class ListTagsOfResourceCommand extends $Command< private serialize( input: ListTagsOfResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListTagsOfResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListTagsOfResourceCommand(output, context); } diff --git a/clients/client-dynamodb/commands/PutItemCommand.ts b/clients/client-dynamodb/commands/PutItemCommand.ts index d507b4ca0751..5df62df37ea4 100644 --- a/clients/client-dynamodb/commands/PutItemCommand.ts +++ b/clients/client-dynamodb/commands/PutItemCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutItemCommandInput = PutItemInput; @@ -64,14 +64,14 @@ export class PutItemCommand extends $Command< private serialize( input: PutItemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0PutItemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0PutItemCommand(output, context); } diff --git a/clients/client-dynamodb/commands/QueryCommand.ts b/clients/client-dynamodb/commands/QueryCommand.ts index e36dd908051d..e8ef06413952 100644 --- a/clients/client-dynamodb/commands/QueryCommand.ts +++ b/clients/client-dynamodb/commands/QueryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type QueryCommandInput = QueryInput; @@ -64,14 +64,14 @@ export class QueryCommand extends $Command< private serialize( input: QueryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0QueryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0QueryCommand(output, context); } diff --git a/clients/client-dynamodb/commands/RestoreTableFromBackupCommand.ts b/clients/client-dynamodb/commands/RestoreTableFromBackupCommand.ts index c984e87a03db..59a849edd40c 100644 --- a/clients/client-dynamodb/commands/RestoreTableFromBackupCommand.ts +++ b/clients/client-dynamodb/commands/RestoreTableFromBackupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreTableFromBackupCommandInput = RestoreTableFromBackupInput; @@ -70,14 +70,14 @@ export class RestoreTableFromBackupCommand extends $Command< private serialize( input: RestoreTableFromBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0RestoreTableFromBackupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0RestoreTableFromBackupCommand(output, context); } diff --git a/clients/client-dynamodb/commands/RestoreTableToPointInTimeCommand.ts b/clients/client-dynamodb/commands/RestoreTableToPointInTimeCommand.ts index 4e49cee2f1d3..43b7fd048ea7 100644 --- a/clients/client-dynamodb/commands/RestoreTableToPointInTimeCommand.ts +++ b/clients/client-dynamodb/commands/RestoreTableToPointInTimeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreTableToPointInTimeCommandInput = RestoreTableToPointInTimeInput; @@ -70,14 +70,14 @@ export class RestoreTableToPointInTimeCommand extends $Command< private serialize( input: RestoreTableToPointInTimeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0RestoreTableToPointInTimeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0RestoreTableToPointInTimeCommand( output, diff --git a/clients/client-dynamodb/commands/ScanCommand.ts b/clients/client-dynamodb/commands/ScanCommand.ts index f3e2c9a6a4e8..57a61433e83f 100644 --- a/clients/client-dynamodb/commands/ScanCommand.ts +++ b/clients/client-dynamodb/commands/ScanCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ScanCommandInput = ScanInput; @@ -64,14 +64,14 @@ export class ScanCommand extends $Command< private serialize( input: ScanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ScanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ScanCommand(output, context); } diff --git a/clients/client-dynamodb/commands/TagResourceCommand.ts b/clients/client-dynamodb/commands/TagResourceCommand.ts index ab5f6938738e..c1355426d1e7 100644 --- a/clients/client-dynamodb/commands/TagResourceCommand.ts +++ b/clients/client-dynamodb/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0TagResourceCommand(output, context); } diff --git a/clients/client-dynamodb/commands/TransactGetItemsCommand.ts b/clients/client-dynamodb/commands/TransactGetItemsCommand.ts index efe543f56b21..0147066292d5 100644 --- a/clients/client-dynamodb/commands/TransactGetItemsCommand.ts +++ b/clients/client-dynamodb/commands/TransactGetItemsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TransactGetItemsCommandInput = TransactGetItemsInput; @@ -64,14 +64,14 @@ export class TransactGetItemsCommand extends $Command< private serialize( input: TransactGetItemsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0TransactGetItemsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0TransactGetItemsCommand(output, context); } diff --git a/clients/client-dynamodb/commands/TransactWriteItemsCommand.ts b/clients/client-dynamodb/commands/TransactWriteItemsCommand.ts index 2b023cb01e80..61cc8c68c827 100644 --- a/clients/client-dynamodb/commands/TransactWriteItemsCommand.ts +++ b/clients/client-dynamodb/commands/TransactWriteItemsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TransactWriteItemsCommandInput = TransactWriteItemsInput; @@ -67,14 +67,14 @@ export class TransactWriteItemsCommand extends $Command< private serialize( input: TransactWriteItemsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0TransactWriteItemsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0TransactWriteItemsCommand(output, context); } diff --git a/clients/client-dynamodb/commands/UntagResourceCommand.ts b/clients/client-dynamodb/commands/UntagResourceCommand.ts index 9e28d8dcdb0a..2b43aa8617bb 100644 --- a/clients/client-dynamodb/commands/UntagResourceCommand.ts +++ b/clients/client-dynamodb/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UntagResourceCommand(output, context); } diff --git a/clients/client-dynamodb/commands/UpdateContinuousBackupsCommand.ts b/clients/client-dynamodb/commands/UpdateContinuousBackupsCommand.ts index 603eac6b8d33..280e8dd5f879 100644 --- a/clients/client-dynamodb/commands/UpdateContinuousBackupsCommand.ts +++ b/clients/client-dynamodb/commands/UpdateContinuousBackupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateContinuousBackupsCommandInput = UpdateContinuousBackupsInput; @@ -70,14 +70,14 @@ export class UpdateContinuousBackupsCommand extends $Command< private serialize( input: UpdateContinuousBackupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UpdateContinuousBackupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UpdateContinuousBackupsCommand( output, diff --git a/clients/client-dynamodb/commands/UpdateContributorInsightsCommand.ts b/clients/client-dynamodb/commands/UpdateContributorInsightsCommand.ts index 0a25c11c7c6f..f1742b9bcf50 100644 --- a/clients/client-dynamodb/commands/UpdateContributorInsightsCommand.ts +++ b/clients/client-dynamodb/commands/UpdateContributorInsightsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateContributorInsightsCommandInput = UpdateContributorInsightsInput; @@ -70,14 +70,14 @@ export class UpdateContributorInsightsCommand extends $Command< private serialize( input: UpdateContributorInsightsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UpdateContributorInsightsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UpdateContributorInsightsCommand( output, diff --git a/clients/client-dynamodb/commands/UpdateGlobalTableCommand.ts b/clients/client-dynamodb/commands/UpdateGlobalTableCommand.ts index aee47953127a..4b51ae923b2f 100644 --- a/clients/client-dynamodb/commands/UpdateGlobalTableCommand.ts +++ b/clients/client-dynamodb/commands/UpdateGlobalTableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGlobalTableCommandInput = UpdateGlobalTableInput; @@ -67,14 +67,14 @@ export class UpdateGlobalTableCommand extends $Command< private serialize( input: UpdateGlobalTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UpdateGlobalTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UpdateGlobalTableCommand(output, context); } diff --git a/clients/client-dynamodb/commands/UpdateGlobalTableSettingsCommand.ts b/clients/client-dynamodb/commands/UpdateGlobalTableSettingsCommand.ts index 01e923658a0e..97f26f8a0e03 100644 --- a/clients/client-dynamodb/commands/UpdateGlobalTableSettingsCommand.ts +++ b/clients/client-dynamodb/commands/UpdateGlobalTableSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGlobalTableSettingsCommandInput = UpdateGlobalTableSettingsInput; @@ -70,14 +70,14 @@ export class UpdateGlobalTableSettingsCommand extends $Command< private serialize( input: UpdateGlobalTableSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UpdateGlobalTableSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UpdateGlobalTableSettingsCommand( output, diff --git a/clients/client-dynamodb/commands/UpdateItemCommand.ts b/clients/client-dynamodb/commands/UpdateItemCommand.ts index 9a12da0fd628..f04fa7d26790 100644 --- a/clients/client-dynamodb/commands/UpdateItemCommand.ts +++ b/clients/client-dynamodb/commands/UpdateItemCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateItemCommandInput = UpdateItemInput; @@ -64,14 +64,14 @@ export class UpdateItemCommand extends $Command< private serialize( input: UpdateItemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UpdateItemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UpdateItemCommand(output, context); } diff --git a/clients/client-dynamodb/commands/UpdateTableCommand.ts b/clients/client-dynamodb/commands/UpdateTableCommand.ts index 709c5f8f015a..1d0728486b6e 100644 --- a/clients/client-dynamodb/commands/UpdateTableCommand.ts +++ b/clients/client-dynamodb/commands/UpdateTableCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTableCommandInput = UpdateTableInput; @@ -64,14 +64,14 @@ export class UpdateTableCommand extends $Command< private serialize( input: UpdateTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UpdateTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UpdateTableCommand(output, context); } diff --git a/clients/client-dynamodb/commands/UpdateTableReplicaAutoScalingCommand.ts b/clients/client-dynamodb/commands/UpdateTableReplicaAutoScalingCommand.ts index 1d8188649808..5197863581cf 100644 --- a/clients/client-dynamodb/commands/UpdateTableReplicaAutoScalingCommand.ts +++ b/clients/client-dynamodb/commands/UpdateTableReplicaAutoScalingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTableReplicaAutoScalingCommandInput = UpdateTableReplicaAutoScalingInput; @@ -70,7 +70,7 @@ export class UpdateTableReplicaAutoScalingCommand extends $Command< private serialize( input: UpdateTableReplicaAutoScalingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UpdateTableReplicaAutoScalingCommand( input, @@ -80,7 +80,7 @@ export class UpdateTableReplicaAutoScalingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UpdateTableReplicaAutoScalingCommand( output, diff --git a/clients/client-dynamodb/commands/UpdateTimeToLiveCommand.ts b/clients/client-dynamodb/commands/UpdateTimeToLiveCommand.ts index 5bdca4ff39eb..cf54420088f6 100644 --- a/clients/client-dynamodb/commands/UpdateTimeToLiveCommand.ts +++ b/clients/client-dynamodb/commands/UpdateTimeToLiveCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTimeToLiveCommandInput = UpdateTimeToLiveInput; @@ -64,14 +64,14 @@ export class UpdateTimeToLiveCommand extends $Command< private serialize( input: UpdateTimeToLiveCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UpdateTimeToLiveCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UpdateTimeToLiveCommand(output, context); } diff --git a/clients/client-dynamodb/protocols/Aws_json1_0.ts b/clients/client-dynamodb/protocols/Aws_json1_0.ts index e8ec06dd2a51..da51b9d6bd18 100644 --- a/clients/client-dynamodb/protocols/Aws_json1_0.ts +++ b/clients/client-dynamodb/protocols/Aws_json1_0.ts @@ -10909,6 +10909,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-ebs/commands/GetSnapshotBlockCommand.ts b/clients/client-ebs/commands/GetSnapshotBlockCommand.ts index fb8e4434646d..6381eb94696c 100644 --- a/clients/client-ebs/commands/GetSnapshotBlockCommand.ts +++ b/clients/client-ebs/commands/GetSnapshotBlockCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSnapshotBlockCommandInput = GetSnapshotBlockRequest; @@ -67,14 +67,14 @@ export class GetSnapshotBlockCommand extends $Command< private serialize( input: GetSnapshotBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSnapshotBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSnapshotBlockCommand(output, context); } diff --git a/clients/client-ebs/commands/ListChangedBlocksCommand.ts b/clients/client-ebs/commands/ListChangedBlocksCommand.ts index 929dbdf60908..8fb4f53796b5 100644 --- a/clients/client-ebs/commands/ListChangedBlocksCommand.ts +++ b/clients/client-ebs/commands/ListChangedBlocksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListChangedBlocksCommandInput = ListChangedBlocksRequest; @@ -67,14 +67,14 @@ export class ListChangedBlocksCommand extends $Command< private serialize( input: ListChangedBlocksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListChangedBlocksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListChangedBlocksCommand(output, context); } diff --git a/clients/client-ebs/commands/ListSnapshotBlocksCommand.ts b/clients/client-ebs/commands/ListSnapshotBlocksCommand.ts index d138076f19b7..1d9092e40ba4 100644 --- a/clients/client-ebs/commands/ListSnapshotBlocksCommand.ts +++ b/clients/client-ebs/commands/ListSnapshotBlocksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSnapshotBlocksCommandInput = ListSnapshotBlocksRequest; @@ -67,14 +67,14 @@ export class ListSnapshotBlocksCommand extends $Command< private serialize( input: ListSnapshotBlocksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSnapshotBlocksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSnapshotBlocksCommand(output, context); } diff --git a/clients/client-ebs/protocols/Aws_restJson1_1.ts b/clients/client-ebs/protocols/Aws_restJson1_1.ts index 471a8651690f..beb9fdfc916e 100644 --- a/clients/client-ebs/protocols/Aws_restJson1_1.ts +++ b/clients/client-ebs/protocols/Aws_restJson1_1.ts @@ -521,6 +521,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-ec2-instance-connect/commands/SendSSHPublicKeyCommand.ts b/clients/client-ec2-instance-connect/commands/SendSSHPublicKeyCommand.ts index 63d7fc0c7cbf..8c4a96640a2f 100644 --- a/clients/client-ec2-instance-connect/commands/SendSSHPublicKeyCommand.ts +++ b/clients/client-ec2-instance-connect/commands/SendSSHPublicKeyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendSSHPublicKeyCommandInput = SendSSHPublicKeyRequest; @@ -67,14 +67,14 @@ export class SendSSHPublicKeyCommand extends $Command< private serialize( input: SendSSHPublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SendSSHPublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SendSSHPublicKeyCommand(output, context); } diff --git a/clients/client-ec2-instance-connect/protocols/Aws_json1_1.ts b/clients/client-ec2-instance-connect/protocols/Aws_json1_1.ts index 243a5fa5a50d..ec6e6b638e82 100644 --- a/clients/client-ec2-instance-connect/protocols/Aws_json1_1.ts +++ b/clients/client-ec2-instance-connect/protocols/Aws_json1_1.ts @@ -328,6 +328,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-ec2/commands/AcceptReservedInstancesExchangeQuoteCommand.ts b/clients/client-ec2/commands/AcceptReservedInstancesExchangeQuoteCommand.ts index 62bd02aefdc3..0c67fc7901c2 100644 --- a/clients/client-ec2/commands/AcceptReservedInstancesExchangeQuoteCommand.ts +++ b/clients/client-ec2/commands/AcceptReservedInstancesExchangeQuoteCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptReservedInstancesExchangeQuoteCommandInput = AcceptReservedInstancesExchangeQuoteRequest; @@ -72,7 +72,7 @@ export class AcceptReservedInstancesExchangeQuoteCommand extends $Command< private serialize( input: AcceptReservedInstancesExchangeQuoteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AcceptReservedInstancesExchangeQuoteCommand( input, @@ -82,7 +82,7 @@ export class AcceptReservedInstancesExchangeQuoteCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AcceptReservedInstancesExchangeQuoteCommand( output, diff --git a/clients/client-ec2/commands/AcceptTransitGatewayPeeringAttachmentCommand.ts b/clients/client-ec2/commands/AcceptTransitGatewayPeeringAttachmentCommand.ts index 611f09c46504..63a6422a0b24 100644 --- a/clients/client-ec2/commands/AcceptTransitGatewayPeeringAttachmentCommand.ts +++ b/clients/client-ec2/commands/AcceptTransitGatewayPeeringAttachmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptTransitGatewayPeeringAttachmentCommandInput = AcceptTransitGatewayPeeringAttachmentRequest; @@ -72,7 +72,7 @@ export class AcceptTransitGatewayPeeringAttachmentCommand extends $Command< private serialize( input: AcceptTransitGatewayPeeringAttachmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AcceptTransitGatewayPeeringAttachmentCommand( input, @@ -82,7 +82,7 @@ export class AcceptTransitGatewayPeeringAttachmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AcceptTransitGatewayPeeringAttachmentCommand( output, diff --git a/clients/client-ec2/commands/AcceptTransitGatewayVpcAttachmentCommand.ts b/clients/client-ec2/commands/AcceptTransitGatewayVpcAttachmentCommand.ts index 44431667c203..56a6a579e81c 100644 --- a/clients/client-ec2/commands/AcceptTransitGatewayVpcAttachmentCommand.ts +++ b/clients/client-ec2/commands/AcceptTransitGatewayVpcAttachmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptTransitGatewayVpcAttachmentCommandInput = AcceptTransitGatewayVpcAttachmentRequest; @@ -70,7 +70,7 @@ export class AcceptTransitGatewayVpcAttachmentCommand extends $Command< private serialize( input: AcceptTransitGatewayVpcAttachmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AcceptTransitGatewayVpcAttachmentCommand( input, @@ -80,7 +80,7 @@ export class AcceptTransitGatewayVpcAttachmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AcceptTransitGatewayVpcAttachmentCommand( output, diff --git a/clients/client-ec2/commands/AcceptVpcEndpointConnectionsCommand.ts b/clients/client-ec2/commands/AcceptVpcEndpointConnectionsCommand.ts index 0785d027621a..d6fac1a5b81e 100644 --- a/clients/client-ec2/commands/AcceptVpcEndpointConnectionsCommand.ts +++ b/clients/client-ec2/commands/AcceptVpcEndpointConnectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptVpcEndpointConnectionsCommandInput = AcceptVpcEndpointConnectionsRequest; @@ -70,14 +70,14 @@ export class AcceptVpcEndpointConnectionsCommand extends $Command< private serialize( input: AcceptVpcEndpointConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AcceptVpcEndpointConnectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AcceptVpcEndpointConnectionsCommand( output, diff --git a/clients/client-ec2/commands/AcceptVpcPeeringConnectionCommand.ts b/clients/client-ec2/commands/AcceptVpcPeeringConnectionCommand.ts index 7ef9ae088a89..939d8868ee27 100644 --- a/clients/client-ec2/commands/AcceptVpcPeeringConnectionCommand.ts +++ b/clients/client-ec2/commands/AcceptVpcPeeringConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptVpcPeeringConnectionCommandInput = AcceptVpcPeeringConnectionRequest; @@ -70,14 +70,14 @@ export class AcceptVpcPeeringConnectionCommand extends $Command< private serialize( input: AcceptVpcPeeringConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AcceptVpcPeeringConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AcceptVpcPeeringConnectionCommand(output, context); } diff --git a/clients/client-ec2/commands/AdvertiseByoipCidrCommand.ts b/clients/client-ec2/commands/AdvertiseByoipCidrCommand.ts index d5b2d5bd6a28..2e11a927fddf 100644 --- a/clients/client-ec2/commands/AdvertiseByoipCidrCommand.ts +++ b/clients/client-ec2/commands/AdvertiseByoipCidrCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AdvertiseByoipCidrCommandInput = AdvertiseByoipCidrRequest; @@ -67,14 +67,14 @@ export class AdvertiseByoipCidrCommand extends $Command< private serialize( input: AdvertiseByoipCidrCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AdvertiseByoipCidrCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AdvertiseByoipCidrCommand(output, context); } diff --git a/clients/client-ec2/commands/AllocateAddressCommand.ts b/clients/client-ec2/commands/AllocateAddressCommand.ts index 396c2be0d8e9..2b0abac65717 100644 --- a/clients/client-ec2/commands/AllocateAddressCommand.ts +++ b/clients/client-ec2/commands/AllocateAddressCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AllocateAddressCommandInput = AllocateAddressRequest; @@ -64,14 +64,14 @@ export class AllocateAddressCommand extends $Command< private serialize( input: AllocateAddressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AllocateAddressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AllocateAddressCommand(output, context); } diff --git a/clients/client-ec2/commands/AllocateHostsCommand.ts b/clients/client-ec2/commands/AllocateHostsCommand.ts index 4b4d657a6c37..0d3ed54e45eb 100644 --- a/clients/client-ec2/commands/AllocateHostsCommand.ts +++ b/clients/client-ec2/commands/AllocateHostsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AllocateHostsCommandInput = AllocateHostsRequest; @@ -64,14 +64,14 @@ export class AllocateHostsCommand extends $Command< private serialize( input: AllocateHostsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AllocateHostsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AllocateHostsCommand(output, context); } diff --git a/clients/client-ec2/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.ts b/clients/client-ec2/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.ts index e8ece371965f..e91981edf619 100644 --- a/clients/client-ec2/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.ts +++ b/clients/client-ec2/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ApplySecurityGroupsToClientVpnTargetNetworkCommandInput = ApplySecurityGroupsToClientVpnTargetNetworkRequest; @@ -72,7 +72,7 @@ export class ApplySecurityGroupsToClientVpnTargetNetworkCommand extends $Command private serialize( input: ApplySecurityGroupsToClientVpnTargetNetworkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ApplySecurityGroupsToClientVpnTargetNetworkCommand( input, @@ -82,7 +82,7 @@ export class ApplySecurityGroupsToClientVpnTargetNetworkCommand extends $Command private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ApplySecurityGroupsToClientVpnTargetNetworkCommand( output, diff --git a/clients/client-ec2/commands/AssignIpv6AddressesCommand.ts b/clients/client-ec2/commands/AssignIpv6AddressesCommand.ts index 9e8806b4653d..a11339eab4b0 100644 --- a/clients/client-ec2/commands/AssignIpv6AddressesCommand.ts +++ b/clients/client-ec2/commands/AssignIpv6AddressesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssignIpv6AddressesCommandInput = AssignIpv6AddressesRequest; @@ -70,14 +70,14 @@ export class AssignIpv6AddressesCommand extends $Command< private serialize( input: AssignIpv6AddressesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AssignIpv6AddressesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AssignIpv6AddressesCommand(output, context); } diff --git a/clients/client-ec2/commands/AssignPrivateIpAddressesCommand.ts b/clients/client-ec2/commands/AssignPrivateIpAddressesCommand.ts index 9c2173e0d37c..aa076f71d4b6 100644 --- a/clients/client-ec2/commands/AssignPrivateIpAddressesCommand.ts +++ b/clients/client-ec2/commands/AssignPrivateIpAddressesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssignPrivateIpAddressesCommandInput = AssignPrivateIpAddressesRequest; @@ -70,14 +70,14 @@ export class AssignPrivateIpAddressesCommand extends $Command< private serialize( input: AssignPrivateIpAddressesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AssignPrivateIpAddressesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AssignPrivateIpAddressesCommand(output, context); } diff --git a/clients/client-ec2/commands/AssociateAddressCommand.ts b/clients/client-ec2/commands/AssociateAddressCommand.ts index fb7ec4e84d77..6e8d4ebcedc2 100644 --- a/clients/client-ec2/commands/AssociateAddressCommand.ts +++ b/clients/client-ec2/commands/AssociateAddressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateAddressCommandInput = AssociateAddressRequest; @@ -67,14 +67,14 @@ export class AssociateAddressCommand extends $Command< private serialize( input: AssociateAddressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AssociateAddressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AssociateAddressCommand(output, context); } diff --git a/clients/client-ec2/commands/AssociateClientVpnTargetNetworkCommand.ts b/clients/client-ec2/commands/AssociateClientVpnTargetNetworkCommand.ts index 272f9e93c5c4..836bfcdff28d 100644 --- a/clients/client-ec2/commands/AssociateClientVpnTargetNetworkCommand.ts +++ b/clients/client-ec2/commands/AssociateClientVpnTargetNetworkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateClientVpnTargetNetworkCommandInput = AssociateClientVpnTargetNetworkRequest; @@ -70,7 +70,7 @@ export class AssociateClientVpnTargetNetworkCommand extends $Command< private serialize( input: AssociateClientVpnTargetNetworkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AssociateClientVpnTargetNetworkCommand( input, @@ -80,7 +80,7 @@ export class AssociateClientVpnTargetNetworkCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AssociateClientVpnTargetNetworkCommand( output, diff --git a/clients/client-ec2/commands/AssociateDhcpOptionsCommand.ts b/clients/client-ec2/commands/AssociateDhcpOptionsCommand.ts index 7cb50c765865..54ef101b8033 100644 --- a/clients/client-ec2/commands/AssociateDhcpOptionsCommand.ts +++ b/clients/client-ec2/commands/AssociateDhcpOptionsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateDhcpOptionsCommandInput = AssociateDhcpOptionsRequest; @@ -68,14 +68,14 @@ export class AssociateDhcpOptionsCommand extends $Command< private serialize( input: AssociateDhcpOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AssociateDhcpOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AssociateDhcpOptionsCommand(output, context); } diff --git a/clients/client-ec2/commands/AssociateIamInstanceProfileCommand.ts b/clients/client-ec2/commands/AssociateIamInstanceProfileCommand.ts index 7c1b6cf65480..d7f8dabcadb3 100644 --- a/clients/client-ec2/commands/AssociateIamInstanceProfileCommand.ts +++ b/clients/client-ec2/commands/AssociateIamInstanceProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateIamInstanceProfileCommandInput = AssociateIamInstanceProfileRequest; @@ -70,14 +70,14 @@ export class AssociateIamInstanceProfileCommand extends $Command< private serialize( input: AssociateIamInstanceProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AssociateIamInstanceProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AssociateIamInstanceProfileCommand( output, diff --git a/clients/client-ec2/commands/AssociateRouteTableCommand.ts b/clients/client-ec2/commands/AssociateRouteTableCommand.ts index 71bd05309839..33cdeef0658a 100644 --- a/clients/client-ec2/commands/AssociateRouteTableCommand.ts +++ b/clients/client-ec2/commands/AssociateRouteTableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateRouteTableCommandInput = AssociateRouteTableRequest; @@ -70,14 +70,14 @@ export class AssociateRouteTableCommand extends $Command< private serialize( input: AssociateRouteTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AssociateRouteTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AssociateRouteTableCommand(output, context); } diff --git a/clients/client-ec2/commands/AssociateSubnetCidrBlockCommand.ts b/clients/client-ec2/commands/AssociateSubnetCidrBlockCommand.ts index 0f2cf052786e..2fc0343f7309 100644 --- a/clients/client-ec2/commands/AssociateSubnetCidrBlockCommand.ts +++ b/clients/client-ec2/commands/AssociateSubnetCidrBlockCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateSubnetCidrBlockCommandInput = AssociateSubnetCidrBlockRequest; @@ -70,14 +70,14 @@ export class AssociateSubnetCidrBlockCommand extends $Command< private serialize( input: AssociateSubnetCidrBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AssociateSubnetCidrBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AssociateSubnetCidrBlockCommand(output, context); } diff --git a/clients/client-ec2/commands/AssociateTransitGatewayMulticastDomainCommand.ts b/clients/client-ec2/commands/AssociateTransitGatewayMulticastDomainCommand.ts index 7334d69ecba9..9d40dfd143a7 100644 --- a/clients/client-ec2/commands/AssociateTransitGatewayMulticastDomainCommand.ts +++ b/clients/client-ec2/commands/AssociateTransitGatewayMulticastDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateTransitGatewayMulticastDomainCommandInput = AssociateTransitGatewayMulticastDomainRequest; @@ -72,7 +72,7 @@ export class AssociateTransitGatewayMulticastDomainCommand extends $Command< private serialize( input: AssociateTransitGatewayMulticastDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AssociateTransitGatewayMulticastDomainCommand( input, @@ -82,7 +82,7 @@ export class AssociateTransitGatewayMulticastDomainCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AssociateTransitGatewayMulticastDomainCommand( output, diff --git a/clients/client-ec2/commands/AssociateTransitGatewayRouteTableCommand.ts b/clients/client-ec2/commands/AssociateTransitGatewayRouteTableCommand.ts index e6796d56047a..ba6ade36a2a8 100644 --- a/clients/client-ec2/commands/AssociateTransitGatewayRouteTableCommand.ts +++ b/clients/client-ec2/commands/AssociateTransitGatewayRouteTableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateTransitGatewayRouteTableCommandInput = AssociateTransitGatewayRouteTableRequest; @@ -70,7 +70,7 @@ export class AssociateTransitGatewayRouteTableCommand extends $Command< private serialize( input: AssociateTransitGatewayRouteTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AssociateTransitGatewayRouteTableCommand( input, @@ -80,7 +80,7 @@ export class AssociateTransitGatewayRouteTableCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AssociateTransitGatewayRouteTableCommand( output, diff --git a/clients/client-ec2/commands/AssociateVpcCidrBlockCommand.ts b/clients/client-ec2/commands/AssociateVpcCidrBlockCommand.ts index 515f7504ad6d..f64a598e102c 100644 --- a/clients/client-ec2/commands/AssociateVpcCidrBlockCommand.ts +++ b/clients/client-ec2/commands/AssociateVpcCidrBlockCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateVpcCidrBlockCommandInput = AssociateVpcCidrBlockRequest; @@ -70,14 +70,14 @@ export class AssociateVpcCidrBlockCommand extends $Command< private serialize( input: AssociateVpcCidrBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AssociateVpcCidrBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AssociateVpcCidrBlockCommand(output, context); } diff --git a/clients/client-ec2/commands/AttachClassicLinkVpcCommand.ts b/clients/client-ec2/commands/AttachClassicLinkVpcCommand.ts index 3c846b44850c..35d06bd507e7 100644 --- a/clients/client-ec2/commands/AttachClassicLinkVpcCommand.ts +++ b/clients/client-ec2/commands/AttachClassicLinkVpcCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachClassicLinkVpcCommandInput = AttachClassicLinkVpcRequest; @@ -70,14 +70,14 @@ export class AttachClassicLinkVpcCommand extends $Command< private serialize( input: AttachClassicLinkVpcCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AttachClassicLinkVpcCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AttachClassicLinkVpcCommand(output, context); } diff --git a/clients/client-ec2/commands/AttachInternetGatewayCommand.ts b/clients/client-ec2/commands/AttachInternetGatewayCommand.ts index 042b2e18d540..068f924fd034 100644 --- a/clients/client-ec2/commands/AttachInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/AttachInternetGatewayCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachInternetGatewayCommandInput = AttachInternetGatewayRequest; @@ -68,14 +68,14 @@ export class AttachInternetGatewayCommand extends $Command< private serialize( input: AttachInternetGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AttachInternetGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AttachInternetGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/AttachNetworkInterfaceCommand.ts b/clients/client-ec2/commands/AttachNetworkInterfaceCommand.ts index 359fc10183db..8e4e0f81f22d 100644 --- a/clients/client-ec2/commands/AttachNetworkInterfaceCommand.ts +++ b/clients/client-ec2/commands/AttachNetworkInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachNetworkInterfaceCommandInput = AttachNetworkInterfaceRequest; @@ -70,14 +70,14 @@ export class AttachNetworkInterfaceCommand extends $Command< private serialize( input: AttachNetworkInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AttachNetworkInterfaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AttachNetworkInterfaceCommand(output, context); } diff --git a/clients/client-ec2/commands/AttachVolumeCommand.ts b/clients/client-ec2/commands/AttachVolumeCommand.ts index 1900c6d5c07e..d2c271eb6e06 100644 --- a/clients/client-ec2/commands/AttachVolumeCommand.ts +++ b/clients/client-ec2/commands/AttachVolumeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachVolumeCommandInput = AttachVolumeRequest; @@ -64,14 +64,14 @@ export class AttachVolumeCommand extends $Command< private serialize( input: AttachVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AttachVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AttachVolumeCommand(output, context); } diff --git a/clients/client-ec2/commands/AttachVpnGatewayCommand.ts b/clients/client-ec2/commands/AttachVpnGatewayCommand.ts index aaf09b7f39f2..1e90ce9f9d71 100644 --- a/clients/client-ec2/commands/AttachVpnGatewayCommand.ts +++ b/clients/client-ec2/commands/AttachVpnGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachVpnGatewayCommandInput = AttachVpnGatewayRequest; @@ -67,14 +67,14 @@ export class AttachVpnGatewayCommand extends $Command< private serialize( input: AttachVpnGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AttachVpnGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AttachVpnGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/AuthorizeClientVpnIngressCommand.ts b/clients/client-ec2/commands/AuthorizeClientVpnIngressCommand.ts index f6a5fd7a0cc6..0136170167ec 100644 --- a/clients/client-ec2/commands/AuthorizeClientVpnIngressCommand.ts +++ b/clients/client-ec2/commands/AuthorizeClientVpnIngressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AuthorizeClientVpnIngressCommandInput = AuthorizeClientVpnIngressRequest; @@ -70,14 +70,14 @@ export class AuthorizeClientVpnIngressCommand extends $Command< private serialize( input: AuthorizeClientVpnIngressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AuthorizeClientVpnIngressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AuthorizeClientVpnIngressCommand(output, context); } diff --git a/clients/client-ec2/commands/AuthorizeSecurityGroupEgressCommand.ts b/clients/client-ec2/commands/AuthorizeSecurityGroupEgressCommand.ts index 0278d615ff93..bd4ee6e84a72 100644 --- a/clients/client-ec2/commands/AuthorizeSecurityGroupEgressCommand.ts +++ b/clients/client-ec2/commands/AuthorizeSecurityGroupEgressCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AuthorizeSecurityGroupEgressCommandInput = AuthorizeSecurityGroupEgressRequest; @@ -68,14 +68,14 @@ export class AuthorizeSecurityGroupEgressCommand extends $Command< private serialize( input: AuthorizeSecurityGroupEgressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AuthorizeSecurityGroupEgressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AuthorizeSecurityGroupEgressCommand( output, diff --git a/clients/client-ec2/commands/AuthorizeSecurityGroupIngressCommand.ts b/clients/client-ec2/commands/AuthorizeSecurityGroupIngressCommand.ts index d5a3d4f06a5a..a38fc83a90fa 100644 --- a/clients/client-ec2/commands/AuthorizeSecurityGroupIngressCommand.ts +++ b/clients/client-ec2/commands/AuthorizeSecurityGroupIngressCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AuthorizeSecurityGroupIngressCommandInput = AuthorizeSecurityGroupIngressRequest; @@ -68,14 +68,14 @@ export class AuthorizeSecurityGroupIngressCommand extends $Command< private serialize( input: AuthorizeSecurityGroupIngressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2AuthorizeSecurityGroupIngressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2AuthorizeSecurityGroupIngressCommand( output, diff --git a/clients/client-ec2/commands/BundleInstanceCommand.ts b/clients/client-ec2/commands/BundleInstanceCommand.ts index a12f13d373f0..3711414ea1a1 100644 --- a/clients/client-ec2/commands/BundleInstanceCommand.ts +++ b/clients/client-ec2/commands/BundleInstanceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BundleInstanceCommandInput = BundleInstanceRequest; @@ -64,14 +64,14 @@ export class BundleInstanceCommand extends $Command< private serialize( input: BundleInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2BundleInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2BundleInstanceCommand(output, context); } diff --git a/clients/client-ec2/commands/CancelBundleTaskCommand.ts b/clients/client-ec2/commands/CancelBundleTaskCommand.ts index 72e239c9f0d9..5b0e7d2fdc70 100644 --- a/clients/client-ec2/commands/CancelBundleTaskCommand.ts +++ b/clients/client-ec2/commands/CancelBundleTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelBundleTaskCommandInput = CancelBundleTaskRequest; @@ -67,14 +67,14 @@ export class CancelBundleTaskCommand extends $Command< private serialize( input: CancelBundleTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CancelBundleTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CancelBundleTaskCommand(output, context); } diff --git a/clients/client-ec2/commands/CancelCapacityReservationCommand.ts b/clients/client-ec2/commands/CancelCapacityReservationCommand.ts index e49105e0f14d..2fd17eb10639 100644 --- a/clients/client-ec2/commands/CancelCapacityReservationCommand.ts +++ b/clients/client-ec2/commands/CancelCapacityReservationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelCapacityReservationCommandInput = CancelCapacityReservationRequest; @@ -70,14 +70,14 @@ export class CancelCapacityReservationCommand extends $Command< private serialize( input: CancelCapacityReservationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CancelCapacityReservationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CancelCapacityReservationCommand(output, context); } diff --git a/clients/client-ec2/commands/CancelConversionTaskCommand.ts b/clients/client-ec2/commands/CancelConversionTaskCommand.ts index 9537f384c061..c587500f6b03 100644 --- a/clients/client-ec2/commands/CancelConversionTaskCommand.ts +++ b/clients/client-ec2/commands/CancelConversionTaskCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelConversionTaskCommandInput = CancelConversionRequest; @@ -68,14 +68,14 @@ export class CancelConversionTaskCommand extends $Command< private serialize( input: CancelConversionTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CancelConversionTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CancelConversionTaskCommand(output, context); } diff --git a/clients/client-ec2/commands/CancelExportTaskCommand.ts b/clients/client-ec2/commands/CancelExportTaskCommand.ts index 53eb964cec01..31762ed3c04c 100644 --- a/clients/client-ec2/commands/CancelExportTaskCommand.ts +++ b/clients/client-ec2/commands/CancelExportTaskCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelExportTaskCommandInput = CancelExportTaskRequest; @@ -65,14 +65,14 @@ export class CancelExportTaskCommand extends $Command< private serialize( input: CancelExportTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CancelExportTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CancelExportTaskCommand(output, context); } diff --git a/clients/client-ec2/commands/CancelImportTaskCommand.ts b/clients/client-ec2/commands/CancelImportTaskCommand.ts index eac3639758f2..268073bfa7bc 100644 --- a/clients/client-ec2/commands/CancelImportTaskCommand.ts +++ b/clients/client-ec2/commands/CancelImportTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelImportTaskCommandInput = CancelImportTaskRequest; @@ -67,14 +67,14 @@ export class CancelImportTaskCommand extends $Command< private serialize( input: CancelImportTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CancelImportTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CancelImportTaskCommand(output, context); } diff --git a/clients/client-ec2/commands/CancelReservedInstancesListingCommand.ts b/clients/client-ec2/commands/CancelReservedInstancesListingCommand.ts index 7ffb4063992f..b3e0e7a1870e 100644 --- a/clients/client-ec2/commands/CancelReservedInstancesListingCommand.ts +++ b/clients/client-ec2/commands/CancelReservedInstancesListingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelReservedInstancesListingCommandInput = CancelReservedInstancesListingRequest; @@ -70,7 +70,7 @@ export class CancelReservedInstancesListingCommand extends $Command< private serialize( input: CancelReservedInstancesListingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CancelReservedInstancesListingCommand( input, @@ -80,7 +80,7 @@ export class CancelReservedInstancesListingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CancelReservedInstancesListingCommand( output, diff --git a/clients/client-ec2/commands/CancelSpotFleetRequestsCommand.ts b/clients/client-ec2/commands/CancelSpotFleetRequestsCommand.ts index ce131e1f01e4..7ed38c7e43c6 100644 --- a/clients/client-ec2/commands/CancelSpotFleetRequestsCommand.ts +++ b/clients/client-ec2/commands/CancelSpotFleetRequestsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelSpotFleetRequestsCommandInput = CancelSpotFleetRequestsRequest; @@ -70,14 +70,14 @@ export class CancelSpotFleetRequestsCommand extends $Command< private serialize( input: CancelSpotFleetRequestsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CancelSpotFleetRequestsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CancelSpotFleetRequestsCommand(output, context); } diff --git a/clients/client-ec2/commands/CancelSpotInstanceRequestsCommand.ts b/clients/client-ec2/commands/CancelSpotInstanceRequestsCommand.ts index 6a6d719dbfa3..5ba24fc80770 100644 --- a/clients/client-ec2/commands/CancelSpotInstanceRequestsCommand.ts +++ b/clients/client-ec2/commands/CancelSpotInstanceRequestsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelSpotInstanceRequestsCommandInput = CancelSpotInstanceRequestsRequest; @@ -70,14 +70,14 @@ export class CancelSpotInstanceRequestsCommand extends $Command< private serialize( input: CancelSpotInstanceRequestsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CancelSpotInstanceRequestsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CancelSpotInstanceRequestsCommand(output, context); } diff --git a/clients/client-ec2/commands/ConfirmProductInstanceCommand.ts b/clients/client-ec2/commands/ConfirmProductInstanceCommand.ts index 7d2a79ba79bd..0f84173e5eb6 100644 --- a/clients/client-ec2/commands/ConfirmProductInstanceCommand.ts +++ b/clients/client-ec2/commands/ConfirmProductInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfirmProductInstanceCommandInput = ConfirmProductInstanceRequest; @@ -70,14 +70,14 @@ export class ConfirmProductInstanceCommand extends $Command< private serialize( input: ConfirmProductInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ConfirmProductInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ConfirmProductInstanceCommand(output, context); } diff --git a/clients/client-ec2/commands/CopyFpgaImageCommand.ts b/clients/client-ec2/commands/CopyFpgaImageCommand.ts index 43b5bb6fe3e9..8b8f14aff56b 100644 --- a/clients/client-ec2/commands/CopyFpgaImageCommand.ts +++ b/clients/client-ec2/commands/CopyFpgaImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyFpgaImageCommandInput = CopyFpgaImageRequest; @@ -64,14 +64,14 @@ export class CopyFpgaImageCommand extends $Command< private serialize( input: CopyFpgaImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CopyFpgaImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CopyFpgaImageCommand(output, context); } diff --git a/clients/client-ec2/commands/CopyImageCommand.ts b/clients/client-ec2/commands/CopyImageCommand.ts index 6889ec90f600..a9f931145e09 100644 --- a/clients/client-ec2/commands/CopyImageCommand.ts +++ b/clients/client-ec2/commands/CopyImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyImageCommandInput = CopyImageRequest; @@ -64,14 +64,14 @@ export class CopyImageCommand extends $Command< private serialize( input: CopyImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CopyImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CopyImageCommand(output, context); } diff --git a/clients/client-ec2/commands/CopySnapshotCommand.ts b/clients/client-ec2/commands/CopySnapshotCommand.ts index 26b221de211c..33f10b65875d 100644 --- a/clients/client-ec2/commands/CopySnapshotCommand.ts +++ b/clients/client-ec2/commands/CopySnapshotCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopySnapshotCommandInput = CopySnapshotRequest; @@ -66,14 +66,14 @@ export class CopySnapshotCommand extends $Command< private serialize( input: CopySnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CopySnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CopySnapshotCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateCapacityReservationCommand.ts b/clients/client-ec2/commands/CreateCapacityReservationCommand.ts index 2404e8c42d9f..0c837cb6373a 100644 --- a/clients/client-ec2/commands/CreateCapacityReservationCommand.ts +++ b/clients/client-ec2/commands/CreateCapacityReservationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCapacityReservationCommandInput = CreateCapacityReservationRequest; @@ -70,14 +70,14 @@ export class CreateCapacityReservationCommand extends $Command< private serialize( input: CreateCapacityReservationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateCapacityReservationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateCapacityReservationCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateClientVpnEndpointCommand.ts b/clients/client-ec2/commands/CreateClientVpnEndpointCommand.ts index 4ea04cc184ff..29b642248b6c 100644 --- a/clients/client-ec2/commands/CreateClientVpnEndpointCommand.ts +++ b/clients/client-ec2/commands/CreateClientVpnEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClientVpnEndpointCommandInput = CreateClientVpnEndpointRequest; @@ -70,14 +70,14 @@ export class CreateClientVpnEndpointCommand extends $Command< private serialize( input: CreateClientVpnEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateClientVpnEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateClientVpnEndpointCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateClientVpnRouteCommand.ts b/clients/client-ec2/commands/CreateClientVpnRouteCommand.ts index 1f92ccd1cfdf..6249b2f7cfe3 100644 --- a/clients/client-ec2/commands/CreateClientVpnRouteCommand.ts +++ b/clients/client-ec2/commands/CreateClientVpnRouteCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClientVpnRouteCommandInput = CreateClientVpnRouteRequest; @@ -70,14 +70,14 @@ export class CreateClientVpnRouteCommand extends $Command< private serialize( input: CreateClientVpnRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateClientVpnRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateClientVpnRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateCustomerGatewayCommand.ts b/clients/client-ec2/commands/CreateCustomerGatewayCommand.ts index a85d3ff4aeae..e823d22df2fa 100644 --- a/clients/client-ec2/commands/CreateCustomerGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateCustomerGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCustomerGatewayCommandInput = CreateCustomerGatewayRequest; @@ -70,14 +70,14 @@ export class CreateCustomerGatewayCommand extends $Command< private serialize( input: CreateCustomerGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateCustomerGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateCustomerGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateDefaultSubnetCommand.ts b/clients/client-ec2/commands/CreateDefaultSubnetCommand.ts index 66d4b54a1e1c..eb317629b7f9 100644 --- a/clients/client-ec2/commands/CreateDefaultSubnetCommand.ts +++ b/clients/client-ec2/commands/CreateDefaultSubnetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDefaultSubnetCommandInput = CreateDefaultSubnetRequest; @@ -70,14 +70,14 @@ export class CreateDefaultSubnetCommand extends $Command< private serialize( input: CreateDefaultSubnetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateDefaultSubnetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateDefaultSubnetCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateDefaultVpcCommand.ts b/clients/client-ec2/commands/CreateDefaultVpcCommand.ts index 2561de5c73d1..8add50e4c623 100644 --- a/clients/client-ec2/commands/CreateDefaultVpcCommand.ts +++ b/clients/client-ec2/commands/CreateDefaultVpcCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDefaultVpcCommandInput = CreateDefaultVpcRequest; @@ -67,14 +67,14 @@ export class CreateDefaultVpcCommand extends $Command< private serialize( input: CreateDefaultVpcCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateDefaultVpcCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateDefaultVpcCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateDhcpOptionsCommand.ts b/clients/client-ec2/commands/CreateDhcpOptionsCommand.ts index 860f90854ff0..b71a0fd26286 100644 --- a/clients/client-ec2/commands/CreateDhcpOptionsCommand.ts +++ b/clients/client-ec2/commands/CreateDhcpOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDhcpOptionsCommandInput = CreateDhcpOptionsRequest; @@ -67,14 +67,14 @@ export class CreateDhcpOptionsCommand extends $Command< private serialize( input: CreateDhcpOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateDhcpOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateDhcpOptionsCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateEgressOnlyInternetGatewayCommand.ts b/clients/client-ec2/commands/CreateEgressOnlyInternetGatewayCommand.ts index 7f554b9550b2..470499f221db 100644 --- a/clients/client-ec2/commands/CreateEgressOnlyInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateEgressOnlyInternetGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEgressOnlyInternetGatewayCommandInput = CreateEgressOnlyInternetGatewayRequest; @@ -70,7 +70,7 @@ export class CreateEgressOnlyInternetGatewayCommand extends $Command< private serialize( input: CreateEgressOnlyInternetGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateEgressOnlyInternetGatewayCommand( input, @@ -80,7 +80,7 @@ export class CreateEgressOnlyInternetGatewayCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateEgressOnlyInternetGatewayCommand( output, diff --git a/clients/client-ec2/commands/CreateFleetCommand.ts b/clients/client-ec2/commands/CreateFleetCommand.ts index 792d52da3be4..ecead9354b37 100644 --- a/clients/client-ec2/commands/CreateFleetCommand.ts +++ b/clients/client-ec2/commands/CreateFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFleetCommandInput = CreateFleetRequest; @@ -64,14 +64,14 @@ export class CreateFleetCommand extends $Command< private serialize( input: CreateFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateFleetCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateFlowLogsCommand.ts b/clients/client-ec2/commands/CreateFlowLogsCommand.ts index 31971eedbfb9..dbf61781947d 100644 --- a/clients/client-ec2/commands/CreateFlowLogsCommand.ts +++ b/clients/client-ec2/commands/CreateFlowLogsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFlowLogsCommandInput = CreateFlowLogsRequest; @@ -64,14 +64,14 @@ export class CreateFlowLogsCommand extends $Command< private serialize( input: CreateFlowLogsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateFlowLogsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateFlowLogsCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateFpgaImageCommand.ts b/clients/client-ec2/commands/CreateFpgaImageCommand.ts index b90fd60e461b..e2100b6e5fd0 100644 --- a/clients/client-ec2/commands/CreateFpgaImageCommand.ts +++ b/clients/client-ec2/commands/CreateFpgaImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFpgaImageCommandInput = CreateFpgaImageRequest; @@ -64,14 +64,14 @@ export class CreateFpgaImageCommand extends $Command< private serialize( input: CreateFpgaImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateFpgaImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateFpgaImageCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateImageCommand.ts b/clients/client-ec2/commands/CreateImageCommand.ts index 9639b35a5a1e..17e108214232 100644 --- a/clients/client-ec2/commands/CreateImageCommand.ts +++ b/clients/client-ec2/commands/CreateImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateImageCommandInput = CreateImageRequest; @@ -64,14 +64,14 @@ export class CreateImageCommand extends $Command< private serialize( input: CreateImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateImageCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateInstanceExportTaskCommand.ts b/clients/client-ec2/commands/CreateInstanceExportTaskCommand.ts index bcf35cb673d1..1154080e8e5d 100644 --- a/clients/client-ec2/commands/CreateInstanceExportTaskCommand.ts +++ b/clients/client-ec2/commands/CreateInstanceExportTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInstanceExportTaskCommandInput = CreateInstanceExportTaskRequest; @@ -70,14 +70,14 @@ export class CreateInstanceExportTaskCommand extends $Command< private serialize( input: CreateInstanceExportTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateInstanceExportTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateInstanceExportTaskCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateInternetGatewayCommand.ts b/clients/client-ec2/commands/CreateInternetGatewayCommand.ts index 44aee1ac3790..d3f122e13170 100644 --- a/clients/client-ec2/commands/CreateInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateInternetGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInternetGatewayCommandInput = CreateInternetGatewayRequest; @@ -70,14 +70,14 @@ export class CreateInternetGatewayCommand extends $Command< private serialize( input: CreateInternetGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateInternetGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateInternetGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateKeyPairCommand.ts b/clients/client-ec2/commands/CreateKeyPairCommand.ts index e599aacd7950..1d24a4c6b25f 100644 --- a/clients/client-ec2/commands/CreateKeyPairCommand.ts +++ b/clients/client-ec2/commands/CreateKeyPairCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateKeyPairCommandInput = CreateKeyPairRequest; @@ -64,14 +64,14 @@ export class CreateKeyPairCommand extends $Command< private serialize( input: CreateKeyPairCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateKeyPairCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateKeyPairCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateLaunchTemplateCommand.ts b/clients/client-ec2/commands/CreateLaunchTemplateCommand.ts index fbceab789a84..9d6302be018e 100644 --- a/clients/client-ec2/commands/CreateLaunchTemplateCommand.ts +++ b/clients/client-ec2/commands/CreateLaunchTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLaunchTemplateCommandInput = CreateLaunchTemplateRequest; @@ -70,14 +70,14 @@ export class CreateLaunchTemplateCommand extends $Command< private serialize( input: CreateLaunchTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateLaunchTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateLaunchTemplateCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateLaunchTemplateVersionCommand.ts b/clients/client-ec2/commands/CreateLaunchTemplateVersionCommand.ts index 929590b5f89b..c51fe073d406 100644 --- a/clients/client-ec2/commands/CreateLaunchTemplateVersionCommand.ts +++ b/clients/client-ec2/commands/CreateLaunchTemplateVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLaunchTemplateVersionCommandInput = CreateLaunchTemplateVersionRequest; @@ -70,14 +70,14 @@ export class CreateLaunchTemplateVersionCommand extends $Command< private serialize( input: CreateLaunchTemplateVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateLaunchTemplateVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateLaunchTemplateVersionCommand( output, diff --git a/clients/client-ec2/commands/CreateLocalGatewayRouteCommand.ts b/clients/client-ec2/commands/CreateLocalGatewayRouteCommand.ts index 057eee225739..23f710fa5e31 100644 --- a/clients/client-ec2/commands/CreateLocalGatewayRouteCommand.ts +++ b/clients/client-ec2/commands/CreateLocalGatewayRouteCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLocalGatewayRouteCommandInput = CreateLocalGatewayRouteRequest; @@ -70,14 +70,14 @@ export class CreateLocalGatewayRouteCommand extends $Command< private serialize( input: CreateLocalGatewayRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateLocalGatewayRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateLocalGatewayRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.ts b/clients/client-ec2/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.ts index df6f5a5a45e5..4f1e7315717d 100644 --- a/clients/client-ec2/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.ts +++ b/clients/client-ec2/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLocalGatewayRouteTableVpcAssociationCommandInput = CreateLocalGatewayRouteTableVpcAssociationRequest; @@ -72,7 +72,7 @@ export class CreateLocalGatewayRouteTableVpcAssociationCommand extends $Command< private serialize( input: CreateLocalGatewayRouteTableVpcAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateLocalGatewayRouteTableVpcAssociationCommand( input, @@ -82,7 +82,7 @@ export class CreateLocalGatewayRouteTableVpcAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateLocalGatewayRouteTableVpcAssociationCommand( output, diff --git a/clients/client-ec2/commands/CreateNatGatewayCommand.ts b/clients/client-ec2/commands/CreateNatGatewayCommand.ts index 084500a71147..5095c1d171d7 100644 --- a/clients/client-ec2/commands/CreateNatGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateNatGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNatGatewayCommandInput = CreateNatGatewayRequest; @@ -67,14 +67,14 @@ export class CreateNatGatewayCommand extends $Command< private serialize( input: CreateNatGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateNatGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateNatGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateNetworkAclCommand.ts b/clients/client-ec2/commands/CreateNetworkAclCommand.ts index 021585bed75c..7293f9f97e03 100644 --- a/clients/client-ec2/commands/CreateNetworkAclCommand.ts +++ b/clients/client-ec2/commands/CreateNetworkAclCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNetworkAclCommandInput = CreateNetworkAclRequest; @@ -67,14 +67,14 @@ export class CreateNetworkAclCommand extends $Command< private serialize( input: CreateNetworkAclCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateNetworkAclCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateNetworkAclCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateNetworkAclEntryCommand.ts b/clients/client-ec2/commands/CreateNetworkAclEntryCommand.ts index 2651534f6609..aed70789589e 100644 --- a/clients/client-ec2/commands/CreateNetworkAclEntryCommand.ts +++ b/clients/client-ec2/commands/CreateNetworkAclEntryCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNetworkAclEntryCommandInput = CreateNetworkAclEntryRequest; @@ -68,14 +68,14 @@ export class CreateNetworkAclEntryCommand extends $Command< private serialize( input: CreateNetworkAclEntryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateNetworkAclEntryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateNetworkAclEntryCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateNetworkInterfaceCommand.ts b/clients/client-ec2/commands/CreateNetworkInterfaceCommand.ts index 1a883c806726..8c27ba9f3a66 100644 --- a/clients/client-ec2/commands/CreateNetworkInterfaceCommand.ts +++ b/clients/client-ec2/commands/CreateNetworkInterfaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNetworkInterfaceCommandInput = CreateNetworkInterfaceRequest; @@ -70,14 +70,14 @@ export class CreateNetworkInterfaceCommand extends $Command< private serialize( input: CreateNetworkInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateNetworkInterfaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateNetworkInterfaceCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateNetworkInterfacePermissionCommand.ts b/clients/client-ec2/commands/CreateNetworkInterfacePermissionCommand.ts index d28eaf714eb1..3b493e6c45b0 100644 --- a/clients/client-ec2/commands/CreateNetworkInterfacePermissionCommand.ts +++ b/clients/client-ec2/commands/CreateNetworkInterfacePermissionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNetworkInterfacePermissionCommandInput = CreateNetworkInterfacePermissionRequest; @@ -70,7 +70,7 @@ export class CreateNetworkInterfacePermissionCommand extends $Command< private serialize( input: CreateNetworkInterfacePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateNetworkInterfacePermissionCommand( input, @@ -80,7 +80,7 @@ export class CreateNetworkInterfacePermissionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateNetworkInterfacePermissionCommand( output, diff --git a/clients/client-ec2/commands/CreatePlacementGroupCommand.ts b/clients/client-ec2/commands/CreatePlacementGroupCommand.ts index 72deda3ae5ec..e31a39408da8 100644 --- a/clients/client-ec2/commands/CreatePlacementGroupCommand.ts +++ b/clients/client-ec2/commands/CreatePlacementGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePlacementGroupCommandInput = CreatePlacementGroupRequest; @@ -68,14 +68,14 @@ export class CreatePlacementGroupCommand extends $Command< private serialize( input: CreatePlacementGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreatePlacementGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreatePlacementGroupCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateReservedInstancesListingCommand.ts b/clients/client-ec2/commands/CreateReservedInstancesListingCommand.ts index 2362681e329c..bf33bccc9171 100644 --- a/clients/client-ec2/commands/CreateReservedInstancesListingCommand.ts +++ b/clients/client-ec2/commands/CreateReservedInstancesListingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateReservedInstancesListingCommandInput = CreateReservedInstancesListingRequest; @@ -70,7 +70,7 @@ export class CreateReservedInstancesListingCommand extends $Command< private serialize( input: CreateReservedInstancesListingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateReservedInstancesListingCommand( input, @@ -80,7 +80,7 @@ export class CreateReservedInstancesListingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateReservedInstancesListingCommand( output, diff --git a/clients/client-ec2/commands/CreateRouteCommand.ts b/clients/client-ec2/commands/CreateRouteCommand.ts index 31087b25afcc..76edb4a7f991 100644 --- a/clients/client-ec2/commands/CreateRouteCommand.ts +++ b/clients/client-ec2/commands/CreateRouteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRouteCommandInput = CreateRouteRequest; @@ -64,14 +64,14 @@ export class CreateRouteCommand extends $Command< private serialize( input: CreateRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateRouteTableCommand.ts b/clients/client-ec2/commands/CreateRouteTableCommand.ts index 2bedef87a90d..7570b81454f1 100644 --- a/clients/client-ec2/commands/CreateRouteTableCommand.ts +++ b/clients/client-ec2/commands/CreateRouteTableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRouteTableCommandInput = CreateRouteTableRequest; @@ -67,14 +67,14 @@ export class CreateRouteTableCommand extends $Command< private serialize( input: CreateRouteTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateRouteTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateRouteTableCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateSecurityGroupCommand.ts b/clients/client-ec2/commands/CreateSecurityGroupCommand.ts index ccc41ec09994..43bb3e88b032 100644 --- a/clients/client-ec2/commands/CreateSecurityGroupCommand.ts +++ b/clients/client-ec2/commands/CreateSecurityGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSecurityGroupCommandInput = CreateSecurityGroupRequest; @@ -70,14 +70,14 @@ export class CreateSecurityGroupCommand extends $Command< private serialize( input: CreateSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateSecurityGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateSecurityGroupCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateSnapshotCommand.ts b/clients/client-ec2/commands/CreateSnapshotCommand.ts index 73312fad041d..35485456a061 100644 --- a/clients/client-ec2/commands/CreateSnapshotCommand.ts +++ b/clients/client-ec2/commands/CreateSnapshotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSnapshotCommandInput = CreateSnapshotRequest; @@ -64,14 +64,14 @@ export class CreateSnapshotCommand extends $Command< private serialize( input: CreateSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateSnapshotCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateSnapshotsCommand.ts b/clients/client-ec2/commands/CreateSnapshotsCommand.ts index c502e010b751..39baf3fa3d75 100644 --- a/clients/client-ec2/commands/CreateSnapshotsCommand.ts +++ b/clients/client-ec2/commands/CreateSnapshotsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSnapshotsCommandInput = CreateSnapshotsRequest; @@ -64,14 +64,14 @@ export class CreateSnapshotsCommand extends $Command< private serialize( input: CreateSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateSnapshotsCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateSpotDatafeedSubscriptionCommand.ts b/clients/client-ec2/commands/CreateSpotDatafeedSubscriptionCommand.ts index 50bc2d57ff4b..4f7c2f8e0878 100644 --- a/clients/client-ec2/commands/CreateSpotDatafeedSubscriptionCommand.ts +++ b/clients/client-ec2/commands/CreateSpotDatafeedSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSpotDatafeedSubscriptionCommandInput = CreateSpotDatafeedSubscriptionRequest; @@ -70,7 +70,7 @@ export class CreateSpotDatafeedSubscriptionCommand extends $Command< private serialize( input: CreateSpotDatafeedSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateSpotDatafeedSubscriptionCommand( input, @@ -80,7 +80,7 @@ export class CreateSpotDatafeedSubscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateSpotDatafeedSubscriptionCommand( output, diff --git a/clients/client-ec2/commands/CreateSubnetCommand.ts b/clients/client-ec2/commands/CreateSubnetCommand.ts index 8e2c3c0969d7..45b779024d75 100644 --- a/clients/client-ec2/commands/CreateSubnetCommand.ts +++ b/clients/client-ec2/commands/CreateSubnetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSubnetCommandInput = CreateSubnetRequest; @@ -64,14 +64,14 @@ export class CreateSubnetCommand extends $Command< private serialize( input: CreateSubnetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateSubnetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateSubnetCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateTagsCommand.ts b/clients/client-ec2/commands/CreateTagsCommand.ts index 285c555f7c2c..dba01e7c6a3e 100644 --- a/clients/client-ec2/commands/CreateTagsCommand.ts +++ b/clients/client-ec2/commands/CreateTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTagsCommandInput = CreateTagsRequest; @@ -65,14 +65,14 @@ export class CreateTagsCommand extends $Command< private serialize( input: CreateTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateTagsCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateTrafficMirrorFilterCommand.ts b/clients/client-ec2/commands/CreateTrafficMirrorFilterCommand.ts index c5cbafaf73bf..77fb8c01c196 100644 --- a/clients/client-ec2/commands/CreateTrafficMirrorFilterCommand.ts +++ b/clients/client-ec2/commands/CreateTrafficMirrorFilterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrafficMirrorFilterCommandInput = CreateTrafficMirrorFilterRequest; @@ -70,14 +70,14 @@ export class CreateTrafficMirrorFilterCommand extends $Command< private serialize( input: CreateTrafficMirrorFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateTrafficMirrorFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateTrafficMirrorFilterCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateTrafficMirrorFilterRuleCommand.ts b/clients/client-ec2/commands/CreateTrafficMirrorFilterRuleCommand.ts index 6b021abd8aa0..780fc8898a8b 100644 --- a/clients/client-ec2/commands/CreateTrafficMirrorFilterRuleCommand.ts +++ b/clients/client-ec2/commands/CreateTrafficMirrorFilterRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrafficMirrorFilterRuleCommandInput = CreateTrafficMirrorFilterRuleRequest; @@ -70,14 +70,14 @@ export class CreateTrafficMirrorFilterRuleCommand extends $Command< private serialize( input: CreateTrafficMirrorFilterRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateTrafficMirrorFilterRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateTrafficMirrorFilterRuleCommand( output, diff --git a/clients/client-ec2/commands/CreateTrafficMirrorSessionCommand.ts b/clients/client-ec2/commands/CreateTrafficMirrorSessionCommand.ts index fddddb3c65b1..79179b08a44c 100644 --- a/clients/client-ec2/commands/CreateTrafficMirrorSessionCommand.ts +++ b/clients/client-ec2/commands/CreateTrafficMirrorSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrafficMirrorSessionCommandInput = CreateTrafficMirrorSessionRequest; @@ -70,14 +70,14 @@ export class CreateTrafficMirrorSessionCommand extends $Command< private serialize( input: CreateTrafficMirrorSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateTrafficMirrorSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateTrafficMirrorSessionCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateTrafficMirrorTargetCommand.ts b/clients/client-ec2/commands/CreateTrafficMirrorTargetCommand.ts index b31089653ef6..388951945e70 100644 --- a/clients/client-ec2/commands/CreateTrafficMirrorTargetCommand.ts +++ b/clients/client-ec2/commands/CreateTrafficMirrorTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrafficMirrorTargetCommandInput = CreateTrafficMirrorTargetRequest; @@ -70,14 +70,14 @@ export class CreateTrafficMirrorTargetCommand extends $Command< private serialize( input: CreateTrafficMirrorTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateTrafficMirrorTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateTrafficMirrorTargetCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateTransitGatewayCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayCommand.ts index e89b09390e57..645c40f6bc28 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTransitGatewayCommandInput = CreateTransitGatewayRequest; @@ -70,14 +70,14 @@ export class CreateTransitGatewayCommand extends $Command< private serialize( input: CreateTransitGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateTransitGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateTransitGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateTransitGatewayMulticastDomainCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayMulticastDomainCommand.ts index 04bf2c885895..482dc601b491 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayMulticastDomainCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayMulticastDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTransitGatewayMulticastDomainCommandInput = CreateTransitGatewayMulticastDomainRequest; @@ -70,7 +70,7 @@ export class CreateTransitGatewayMulticastDomainCommand extends $Command< private serialize( input: CreateTransitGatewayMulticastDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateTransitGatewayMulticastDomainCommand( input, @@ -80,7 +80,7 @@ export class CreateTransitGatewayMulticastDomainCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateTransitGatewayMulticastDomainCommand( output, diff --git a/clients/client-ec2/commands/CreateTransitGatewayPeeringAttachmentCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayPeeringAttachmentCommand.ts index f3c0485fecaa..37f4108bda0d 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayPeeringAttachmentCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayPeeringAttachmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTransitGatewayPeeringAttachmentCommandInput = CreateTransitGatewayPeeringAttachmentRequest; @@ -72,7 +72,7 @@ export class CreateTransitGatewayPeeringAttachmentCommand extends $Command< private serialize( input: CreateTransitGatewayPeeringAttachmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateTransitGatewayPeeringAttachmentCommand( input, @@ -82,7 +82,7 @@ export class CreateTransitGatewayPeeringAttachmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateTransitGatewayPeeringAttachmentCommand( output, diff --git a/clients/client-ec2/commands/CreateTransitGatewayRouteCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayRouteCommand.ts index b0e937d3c3c5..856ac0f577fd 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayRouteCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayRouteCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTransitGatewayRouteCommandInput = CreateTransitGatewayRouteRequest; @@ -70,14 +70,14 @@ export class CreateTransitGatewayRouteCommand extends $Command< private serialize( input: CreateTransitGatewayRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateTransitGatewayRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateTransitGatewayRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateTransitGatewayRouteTableCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayRouteTableCommand.ts index f2896b295f4a..ac055d3d4b1c 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayRouteTableCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayRouteTableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTransitGatewayRouteTableCommandInput = CreateTransitGatewayRouteTableRequest; @@ -70,7 +70,7 @@ export class CreateTransitGatewayRouteTableCommand extends $Command< private serialize( input: CreateTransitGatewayRouteTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateTransitGatewayRouteTableCommand( input, @@ -80,7 +80,7 @@ export class CreateTransitGatewayRouteTableCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateTransitGatewayRouteTableCommand( output, diff --git a/clients/client-ec2/commands/CreateTransitGatewayVpcAttachmentCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayVpcAttachmentCommand.ts index d42856583f2a..4c9792ae0c0e 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayVpcAttachmentCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayVpcAttachmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTransitGatewayVpcAttachmentCommandInput = CreateTransitGatewayVpcAttachmentRequest; @@ -70,7 +70,7 @@ export class CreateTransitGatewayVpcAttachmentCommand extends $Command< private serialize( input: CreateTransitGatewayVpcAttachmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateTransitGatewayVpcAttachmentCommand( input, @@ -80,7 +80,7 @@ export class CreateTransitGatewayVpcAttachmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateTransitGatewayVpcAttachmentCommand( output, diff --git a/clients/client-ec2/commands/CreateVolumeCommand.ts b/clients/client-ec2/commands/CreateVolumeCommand.ts index 605414996cf2..a3573dc2598f 100644 --- a/clients/client-ec2/commands/CreateVolumeCommand.ts +++ b/clients/client-ec2/commands/CreateVolumeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVolumeCommandInput = CreateVolumeRequest; @@ -64,14 +64,14 @@ export class CreateVolumeCommand extends $Command< private serialize( input: CreateVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateVolumeCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateVpcCommand.ts b/clients/client-ec2/commands/CreateVpcCommand.ts index 8030629e92aa..c32f83b5b823 100644 --- a/clients/client-ec2/commands/CreateVpcCommand.ts +++ b/clients/client-ec2/commands/CreateVpcCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVpcCommandInput = CreateVpcRequest; @@ -64,14 +64,14 @@ export class CreateVpcCommand extends $Command< private serialize( input: CreateVpcCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateVpcCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateVpcCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateVpcEndpointCommand.ts b/clients/client-ec2/commands/CreateVpcEndpointCommand.ts index 92fa0e55e036..6dbbec997cfe 100644 --- a/clients/client-ec2/commands/CreateVpcEndpointCommand.ts +++ b/clients/client-ec2/commands/CreateVpcEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVpcEndpointCommandInput = CreateVpcEndpointRequest; @@ -67,14 +67,14 @@ export class CreateVpcEndpointCommand extends $Command< private serialize( input: CreateVpcEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateVpcEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateVpcEndpointCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateVpcEndpointConnectionNotificationCommand.ts b/clients/client-ec2/commands/CreateVpcEndpointConnectionNotificationCommand.ts index c5eecdf27459..bd13be8f3617 100644 --- a/clients/client-ec2/commands/CreateVpcEndpointConnectionNotificationCommand.ts +++ b/clients/client-ec2/commands/CreateVpcEndpointConnectionNotificationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVpcEndpointConnectionNotificationCommandInput = CreateVpcEndpointConnectionNotificationRequest; @@ -72,7 +72,7 @@ export class CreateVpcEndpointConnectionNotificationCommand extends $Command< private serialize( input: CreateVpcEndpointConnectionNotificationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateVpcEndpointConnectionNotificationCommand( input, @@ -82,7 +82,7 @@ export class CreateVpcEndpointConnectionNotificationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateVpcEndpointConnectionNotificationCommand( output, diff --git a/clients/client-ec2/commands/CreateVpcEndpointServiceConfigurationCommand.ts b/clients/client-ec2/commands/CreateVpcEndpointServiceConfigurationCommand.ts index 6b6d1150cbbc..42fe00713b7d 100644 --- a/clients/client-ec2/commands/CreateVpcEndpointServiceConfigurationCommand.ts +++ b/clients/client-ec2/commands/CreateVpcEndpointServiceConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVpcEndpointServiceConfigurationCommandInput = CreateVpcEndpointServiceConfigurationRequest; @@ -72,7 +72,7 @@ export class CreateVpcEndpointServiceConfigurationCommand extends $Command< private serialize( input: CreateVpcEndpointServiceConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateVpcEndpointServiceConfigurationCommand( input, @@ -82,7 +82,7 @@ export class CreateVpcEndpointServiceConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateVpcEndpointServiceConfigurationCommand( output, diff --git a/clients/client-ec2/commands/CreateVpcPeeringConnectionCommand.ts b/clients/client-ec2/commands/CreateVpcPeeringConnectionCommand.ts index 953a8b5750c5..aaf8fd742f95 100644 --- a/clients/client-ec2/commands/CreateVpcPeeringConnectionCommand.ts +++ b/clients/client-ec2/commands/CreateVpcPeeringConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVpcPeeringConnectionCommandInput = CreateVpcPeeringConnectionRequest; @@ -70,14 +70,14 @@ export class CreateVpcPeeringConnectionCommand extends $Command< private serialize( input: CreateVpcPeeringConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateVpcPeeringConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateVpcPeeringConnectionCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateVpnConnectionCommand.ts b/clients/client-ec2/commands/CreateVpnConnectionCommand.ts index dbedbac3eb85..c3129b4e3782 100644 --- a/clients/client-ec2/commands/CreateVpnConnectionCommand.ts +++ b/clients/client-ec2/commands/CreateVpnConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVpnConnectionCommandInput = CreateVpnConnectionRequest; @@ -70,14 +70,14 @@ export class CreateVpnConnectionCommand extends $Command< private serialize( input: CreateVpnConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateVpnConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateVpnConnectionCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateVpnConnectionRouteCommand.ts b/clients/client-ec2/commands/CreateVpnConnectionRouteCommand.ts index f89cdc1c410f..c6f8af832cde 100644 --- a/clients/client-ec2/commands/CreateVpnConnectionRouteCommand.ts +++ b/clients/client-ec2/commands/CreateVpnConnectionRouteCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVpnConnectionRouteCommandInput = CreateVpnConnectionRouteRequest; @@ -68,14 +68,14 @@ export class CreateVpnConnectionRouteCommand extends $Command< private serialize( input: CreateVpnConnectionRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateVpnConnectionRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateVpnConnectionRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/CreateVpnGatewayCommand.ts b/clients/client-ec2/commands/CreateVpnGatewayCommand.ts index 333ab1867693..1bf47e8a4637 100644 --- a/clients/client-ec2/commands/CreateVpnGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateVpnGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVpnGatewayCommandInput = CreateVpnGatewayRequest; @@ -67,14 +67,14 @@ export class CreateVpnGatewayCommand extends $Command< private serialize( input: CreateVpnGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2CreateVpnGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2CreateVpnGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteClientVpnEndpointCommand.ts b/clients/client-ec2/commands/DeleteClientVpnEndpointCommand.ts index ec9c663200d4..b64e29287efd 100644 --- a/clients/client-ec2/commands/DeleteClientVpnEndpointCommand.ts +++ b/clients/client-ec2/commands/DeleteClientVpnEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClientVpnEndpointCommandInput = DeleteClientVpnEndpointRequest; @@ -70,14 +70,14 @@ export class DeleteClientVpnEndpointCommand extends $Command< private serialize( input: DeleteClientVpnEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteClientVpnEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteClientVpnEndpointCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteClientVpnRouteCommand.ts b/clients/client-ec2/commands/DeleteClientVpnRouteCommand.ts index e6139dbefea6..b92010ea35d9 100644 --- a/clients/client-ec2/commands/DeleteClientVpnRouteCommand.ts +++ b/clients/client-ec2/commands/DeleteClientVpnRouteCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClientVpnRouteCommandInput = DeleteClientVpnRouteRequest; @@ -70,14 +70,14 @@ export class DeleteClientVpnRouteCommand extends $Command< private serialize( input: DeleteClientVpnRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteClientVpnRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteClientVpnRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteCustomerGatewayCommand.ts b/clients/client-ec2/commands/DeleteCustomerGatewayCommand.ts index 180e197b7f82..0e8b1dd8b6fa 100644 --- a/clients/client-ec2/commands/DeleteCustomerGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteCustomerGatewayCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCustomerGatewayCommandInput = DeleteCustomerGatewayRequest; @@ -68,14 +68,14 @@ export class DeleteCustomerGatewayCommand extends $Command< private serialize( input: DeleteCustomerGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteCustomerGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteCustomerGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteDhcpOptionsCommand.ts b/clients/client-ec2/commands/DeleteDhcpOptionsCommand.ts index 3bbae7337bc3..87f3cdd4b324 100644 --- a/clients/client-ec2/commands/DeleteDhcpOptionsCommand.ts +++ b/clients/client-ec2/commands/DeleteDhcpOptionsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDhcpOptionsCommandInput = DeleteDhcpOptionsRequest; @@ -65,14 +65,14 @@ export class DeleteDhcpOptionsCommand extends $Command< private serialize( input: DeleteDhcpOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteDhcpOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteDhcpOptionsCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteEgressOnlyInternetGatewayCommand.ts b/clients/client-ec2/commands/DeleteEgressOnlyInternetGatewayCommand.ts index bb6955465058..c05f6becbefa 100644 --- a/clients/client-ec2/commands/DeleteEgressOnlyInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteEgressOnlyInternetGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEgressOnlyInternetGatewayCommandInput = DeleteEgressOnlyInternetGatewayRequest; @@ -70,7 +70,7 @@ export class DeleteEgressOnlyInternetGatewayCommand extends $Command< private serialize( input: DeleteEgressOnlyInternetGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteEgressOnlyInternetGatewayCommand( input, @@ -80,7 +80,7 @@ export class DeleteEgressOnlyInternetGatewayCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteEgressOnlyInternetGatewayCommand( output, diff --git a/clients/client-ec2/commands/DeleteFleetsCommand.ts b/clients/client-ec2/commands/DeleteFleetsCommand.ts index e5a0ad111040..07ce50b939ed 100644 --- a/clients/client-ec2/commands/DeleteFleetsCommand.ts +++ b/clients/client-ec2/commands/DeleteFleetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFleetsCommandInput = DeleteFleetsRequest; @@ -64,14 +64,14 @@ export class DeleteFleetsCommand extends $Command< private serialize( input: DeleteFleetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteFleetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteFleetsCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteFlowLogsCommand.ts b/clients/client-ec2/commands/DeleteFlowLogsCommand.ts index a8174993c68c..3669bd256c07 100644 --- a/clients/client-ec2/commands/DeleteFlowLogsCommand.ts +++ b/clients/client-ec2/commands/DeleteFlowLogsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFlowLogsCommandInput = DeleteFlowLogsRequest; @@ -64,14 +64,14 @@ export class DeleteFlowLogsCommand extends $Command< private serialize( input: DeleteFlowLogsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteFlowLogsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteFlowLogsCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteFpgaImageCommand.ts b/clients/client-ec2/commands/DeleteFpgaImageCommand.ts index eb7281163181..35e0d798da74 100644 --- a/clients/client-ec2/commands/DeleteFpgaImageCommand.ts +++ b/clients/client-ec2/commands/DeleteFpgaImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFpgaImageCommandInput = DeleteFpgaImageRequest; @@ -64,14 +64,14 @@ export class DeleteFpgaImageCommand extends $Command< private serialize( input: DeleteFpgaImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteFpgaImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteFpgaImageCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts b/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts index db8167033877..f6934df92486 100644 --- a/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInternetGatewayCommandInput = DeleteInternetGatewayRequest; @@ -68,14 +68,14 @@ export class DeleteInternetGatewayCommand extends $Command< private serialize( input: DeleteInternetGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteInternetGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteInternetGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteKeyPairCommand.ts b/clients/client-ec2/commands/DeleteKeyPairCommand.ts index f2644f5f20c1..d738c73de0c4 100644 --- a/clients/client-ec2/commands/DeleteKeyPairCommand.ts +++ b/clients/client-ec2/commands/DeleteKeyPairCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteKeyPairCommandInput = DeleteKeyPairRequest; @@ -65,14 +65,14 @@ export class DeleteKeyPairCommand extends $Command< private serialize( input: DeleteKeyPairCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteKeyPairCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteKeyPairCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts b/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts index a12b6be14112..09afd55c004c 100644 --- a/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts +++ b/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLaunchTemplateCommandInput = DeleteLaunchTemplateRequest; @@ -70,14 +70,14 @@ export class DeleteLaunchTemplateCommand extends $Command< private serialize( input: DeleteLaunchTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteLaunchTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteLaunchTemplateCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteLaunchTemplateVersionsCommand.ts b/clients/client-ec2/commands/DeleteLaunchTemplateVersionsCommand.ts index 44c17dc3145c..98b57d9caa1d 100644 --- a/clients/client-ec2/commands/DeleteLaunchTemplateVersionsCommand.ts +++ b/clients/client-ec2/commands/DeleteLaunchTemplateVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLaunchTemplateVersionsCommandInput = DeleteLaunchTemplateVersionsRequest; @@ -70,14 +70,14 @@ export class DeleteLaunchTemplateVersionsCommand extends $Command< private serialize( input: DeleteLaunchTemplateVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteLaunchTemplateVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteLaunchTemplateVersionsCommand( output, diff --git a/clients/client-ec2/commands/DeleteLocalGatewayRouteCommand.ts b/clients/client-ec2/commands/DeleteLocalGatewayRouteCommand.ts index 1cf8101d5aff..2c5fdf5507ef 100644 --- a/clients/client-ec2/commands/DeleteLocalGatewayRouteCommand.ts +++ b/clients/client-ec2/commands/DeleteLocalGatewayRouteCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLocalGatewayRouteCommandInput = DeleteLocalGatewayRouteRequest; @@ -70,14 +70,14 @@ export class DeleteLocalGatewayRouteCommand extends $Command< private serialize( input: DeleteLocalGatewayRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteLocalGatewayRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteLocalGatewayRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.ts b/clients/client-ec2/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.ts index 98638d373f18..eca9ae7400e5 100644 --- a/clients/client-ec2/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.ts +++ b/clients/client-ec2/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLocalGatewayRouteTableVpcAssociationCommandInput = DeleteLocalGatewayRouteTableVpcAssociationRequest; @@ -72,7 +72,7 @@ export class DeleteLocalGatewayRouteTableVpcAssociationCommand extends $Command< private serialize( input: DeleteLocalGatewayRouteTableVpcAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteLocalGatewayRouteTableVpcAssociationCommand( input, @@ -82,7 +82,7 @@ export class DeleteLocalGatewayRouteTableVpcAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteLocalGatewayRouteTableVpcAssociationCommand( output, diff --git a/clients/client-ec2/commands/DeleteNatGatewayCommand.ts b/clients/client-ec2/commands/DeleteNatGatewayCommand.ts index 0eeddae1067b..047216a4c42e 100644 --- a/clients/client-ec2/commands/DeleteNatGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteNatGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNatGatewayCommandInput = DeleteNatGatewayRequest; @@ -67,14 +67,14 @@ export class DeleteNatGatewayCommand extends $Command< private serialize( input: DeleteNatGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteNatGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteNatGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteNetworkAclCommand.ts b/clients/client-ec2/commands/DeleteNetworkAclCommand.ts index e040e7bfd844..213da18f89dd 100644 --- a/clients/client-ec2/commands/DeleteNetworkAclCommand.ts +++ b/clients/client-ec2/commands/DeleteNetworkAclCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNetworkAclCommandInput = DeleteNetworkAclRequest; @@ -65,14 +65,14 @@ export class DeleteNetworkAclCommand extends $Command< private serialize( input: DeleteNetworkAclCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteNetworkAclCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteNetworkAclCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteNetworkAclEntryCommand.ts b/clients/client-ec2/commands/DeleteNetworkAclEntryCommand.ts index cd78ec88651a..41d4382c4546 100644 --- a/clients/client-ec2/commands/DeleteNetworkAclEntryCommand.ts +++ b/clients/client-ec2/commands/DeleteNetworkAclEntryCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNetworkAclEntryCommandInput = DeleteNetworkAclEntryRequest; @@ -68,14 +68,14 @@ export class DeleteNetworkAclEntryCommand extends $Command< private serialize( input: DeleteNetworkAclEntryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteNetworkAclEntryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteNetworkAclEntryCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteNetworkInterfaceCommand.ts b/clients/client-ec2/commands/DeleteNetworkInterfaceCommand.ts index eb306a0ab88d..0b2fc5a7a61b 100644 --- a/clients/client-ec2/commands/DeleteNetworkInterfaceCommand.ts +++ b/clients/client-ec2/commands/DeleteNetworkInterfaceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNetworkInterfaceCommandInput = DeleteNetworkInterfaceRequest; @@ -68,14 +68,14 @@ export class DeleteNetworkInterfaceCommand extends $Command< private serialize( input: DeleteNetworkInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteNetworkInterfaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteNetworkInterfaceCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteNetworkInterfacePermissionCommand.ts b/clients/client-ec2/commands/DeleteNetworkInterfacePermissionCommand.ts index b6d254345c6d..9a75de945b76 100644 --- a/clients/client-ec2/commands/DeleteNetworkInterfacePermissionCommand.ts +++ b/clients/client-ec2/commands/DeleteNetworkInterfacePermissionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNetworkInterfacePermissionCommandInput = DeleteNetworkInterfacePermissionRequest; @@ -70,7 +70,7 @@ export class DeleteNetworkInterfacePermissionCommand extends $Command< private serialize( input: DeleteNetworkInterfacePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteNetworkInterfacePermissionCommand( input, @@ -80,7 +80,7 @@ export class DeleteNetworkInterfacePermissionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteNetworkInterfacePermissionCommand( output, diff --git a/clients/client-ec2/commands/DeletePlacementGroupCommand.ts b/clients/client-ec2/commands/DeletePlacementGroupCommand.ts index 166d89668dd1..b63a1ed04a8c 100644 --- a/clients/client-ec2/commands/DeletePlacementGroupCommand.ts +++ b/clients/client-ec2/commands/DeletePlacementGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePlacementGroupCommandInput = DeletePlacementGroupRequest; @@ -68,14 +68,14 @@ export class DeletePlacementGroupCommand extends $Command< private serialize( input: DeletePlacementGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeletePlacementGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeletePlacementGroupCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteQueuedReservedInstancesCommand.ts b/clients/client-ec2/commands/DeleteQueuedReservedInstancesCommand.ts index 44cf88dd2edc..5864aaddb1d2 100644 --- a/clients/client-ec2/commands/DeleteQueuedReservedInstancesCommand.ts +++ b/clients/client-ec2/commands/DeleteQueuedReservedInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteQueuedReservedInstancesCommandInput = DeleteQueuedReservedInstancesRequest; @@ -70,14 +70,14 @@ export class DeleteQueuedReservedInstancesCommand extends $Command< private serialize( input: DeleteQueuedReservedInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteQueuedReservedInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteQueuedReservedInstancesCommand( output, diff --git a/clients/client-ec2/commands/DeleteRouteCommand.ts b/clients/client-ec2/commands/DeleteRouteCommand.ts index 13f1aa9b81be..9e548300516f 100644 --- a/clients/client-ec2/commands/DeleteRouteCommand.ts +++ b/clients/client-ec2/commands/DeleteRouteCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRouteCommandInput = DeleteRouteRequest; @@ -65,14 +65,14 @@ export class DeleteRouteCommand extends $Command< private serialize( input: DeleteRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteRouteTableCommand.ts b/clients/client-ec2/commands/DeleteRouteTableCommand.ts index c75427fa2827..48bc33490d1d 100644 --- a/clients/client-ec2/commands/DeleteRouteTableCommand.ts +++ b/clients/client-ec2/commands/DeleteRouteTableCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRouteTableCommandInput = DeleteRouteTableRequest; @@ -65,14 +65,14 @@ export class DeleteRouteTableCommand extends $Command< private serialize( input: DeleteRouteTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteRouteTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteRouteTableCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteSecurityGroupCommand.ts b/clients/client-ec2/commands/DeleteSecurityGroupCommand.ts index 551dc065f8e8..6e4d0f9ab274 100644 --- a/clients/client-ec2/commands/DeleteSecurityGroupCommand.ts +++ b/clients/client-ec2/commands/DeleteSecurityGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSecurityGroupCommandInput = DeleteSecurityGroupRequest; @@ -68,14 +68,14 @@ export class DeleteSecurityGroupCommand extends $Command< private serialize( input: DeleteSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteSecurityGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteSecurityGroupCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteSnapshotCommand.ts b/clients/client-ec2/commands/DeleteSnapshotCommand.ts index 9a52abbef417..28e8e8a587cf 100644 --- a/clients/client-ec2/commands/DeleteSnapshotCommand.ts +++ b/clients/client-ec2/commands/DeleteSnapshotCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSnapshotCommandInput = DeleteSnapshotRequest; @@ -65,14 +65,14 @@ export class DeleteSnapshotCommand extends $Command< private serialize( input: DeleteSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteSnapshotCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteSpotDatafeedSubscriptionCommand.ts b/clients/client-ec2/commands/DeleteSpotDatafeedSubscriptionCommand.ts index 10a1e7520d24..82bc79825ecc 100644 --- a/clients/client-ec2/commands/DeleteSpotDatafeedSubscriptionCommand.ts +++ b/clients/client-ec2/commands/DeleteSpotDatafeedSubscriptionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSpotDatafeedSubscriptionCommandInput = DeleteSpotDatafeedSubscriptionRequest; @@ -68,7 +68,7 @@ export class DeleteSpotDatafeedSubscriptionCommand extends $Command< private serialize( input: DeleteSpotDatafeedSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteSpotDatafeedSubscriptionCommand( input, @@ -78,7 +78,7 @@ export class DeleteSpotDatafeedSubscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteSpotDatafeedSubscriptionCommand( output, diff --git a/clients/client-ec2/commands/DeleteSubnetCommand.ts b/clients/client-ec2/commands/DeleteSubnetCommand.ts index 90b20a7fa8b3..fc9cc6d60653 100644 --- a/clients/client-ec2/commands/DeleteSubnetCommand.ts +++ b/clients/client-ec2/commands/DeleteSubnetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSubnetCommandInput = DeleteSubnetRequest; @@ -65,14 +65,14 @@ export class DeleteSubnetCommand extends $Command< private serialize( input: DeleteSubnetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteSubnetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteSubnetCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteTagsCommand.ts b/clients/client-ec2/commands/DeleteTagsCommand.ts index e3c8b3d11bf3..3537ab212456 100644 --- a/clients/client-ec2/commands/DeleteTagsCommand.ts +++ b/clients/client-ec2/commands/DeleteTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagsCommandInput = DeleteTagsRequest; @@ -65,14 +65,14 @@ export class DeleteTagsCommand extends $Command< private serialize( input: DeleteTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteTagsCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteTrafficMirrorFilterCommand.ts b/clients/client-ec2/commands/DeleteTrafficMirrorFilterCommand.ts index ad1f216c12e2..3c1bbdbd0917 100644 --- a/clients/client-ec2/commands/DeleteTrafficMirrorFilterCommand.ts +++ b/clients/client-ec2/commands/DeleteTrafficMirrorFilterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTrafficMirrorFilterCommandInput = DeleteTrafficMirrorFilterRequest; @@ -70,14 +70,14 @@ export class DeleteTrafficMirrorFilterCommand extends $Command< private serialize( input: DeleteTrafficMirrorFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteTrafficMirrorFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteTrafficMirrorFilterCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteTrafficMirrorFilterRuleCommand.ts b/clients/client-ec2/commands/DeleteTrafficMirrorFilterRuleCommand.ts index 06cee1ec972a..35fad000fb57 100644 --- a/clients/client-ec2/commands/DeleteTrafficMirrorFilterRuleCommand.ts +++ b/clients/client-ec2/commands/DeleteTrafficMirrorFilterRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTrafficMirrorFilterRuleCommandInput = DeleteTrafficMirrorFilterRuleRequest; @@ -70,14 +70,14 @@ export class DeleteTrafficMirrorFilterRuleCommand extends $Command< private serialize( input: DeleteTrafficMirrorFilterRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteTrafficMirrorFilterRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteTrafficMirrorFilterRuleCommand( output, diff --git a/clients/client-ec2/commands/DeleteTrafficMirrorSessionCommand.ts b/clients/client-ec2/commands/DeleteTrafficMirrorSessionCommand.ts index 5a31b00f28e1..b36d45f67e29 100644 --- a/clients/client-ec2/commands/DeleteTrafficMirrorSessionCommand.ts +++ b/clients/client-ec2/commands/DeleteTrafficMirrorSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTrafficMirrorSessionCommandInput = DeleteTrafficMirrorSessionRequest; @@ -70,14 +70,14 @@ export class DeleteTrafficMirrorSessionCommand extends $Command< private serialize( input: DeleteTrafficMirrorSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteTrafficMirrorSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteTrafficMirrorSessionCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteTrafficMirrorTargetCommand.ts b/clients/client-ec2/commands/DeleteTrafficMirrorTargetCommand.ts index 6f30aaa6fa98..1c4677ef9e97 100644 --- a/clients/client-ec2/commands/DeleteTrafficMirrorTargetCommand.ts +++ b/clients/client-ec2/commands/DeleteTrafficMirrorTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTrafficMirrorTargetCommandInput = DeleteTrafficMirrorTargetRequest; @@ -70,14 +70,14 @@ export class DeleteTrafficMirrorTargetCommand extends $Command< private serialize( input: DeleteTrafficMirrorTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteTrafficMirrorTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteTrafficMirrorTargetCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteTransitGatewayCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayCommand.ts index 19f3d20c866e..77583a47903f 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTransitGatewayCommandInput = DeleteTransitGatewayRequest; @@ -70,14 +70,14 @@ export class DeleteTransitGatewayCommand extends $Command< private serialize( input: DeleteTransitGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteTransitGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteTransitGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteTransitGatewayMulticastDomainCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayMulticastDomainCommand.ts index c1e693be8c14..43c1fe03c46c 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayMulticastDomainCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayMulticastDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTransitGatewayMulticastDomainCommandInput = DeleteTransitGatewayMulticastDomainRequest; @@ -70,7 +70,7 @@ export class DeleteTransitGatewayMulticastDomainCommand extends $Command< private serialize( input: DeleteTransitGatewayMulticastDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteTransitGatewayMulticastDomainCommand( input, @@ -80,7 +80,7 @@ export class DeleteTransitGatewayMulticastDomainCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteTransitGatewayMulticastDomainCommand( output, diff --git a/clients/client-ec2/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts index 8bfe179d3cba..a96c2f2fbc50 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTransitGatewayPeeringAttachmentCommandInput = DeleteTransitGatewayPeeringAttachmentRequest; @@ -72,7 +72,7 @@ export class DeleteTransitGatewayPeeringAttachmentCommand extends $Command< private serialize( input: DeleteTransitGatewayPeeringAttachmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteTransitGatewayPeeringAttachmentCommand( input, @@ -82,7 +82,7 @@ export class DeleteTransitGatewayPeeringAttachmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteTransitGatewayPeeringAttachmentCommand( output, diff --git a/clients/client-ec2/commands/DeleteTransitGatewayRouteCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayRouteCommand.ts index ca329959f5e6..9dc2e76b2f90 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayRouteCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayRouteCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTransitGatewayRouteCommandInput = DeleteTransitGatewayRouteRequest; @@ -70,14 +70,14 @@ export class DeleteTransitGatewayRouteCommand extends $Command< private serialize( input: DeleteTransitGatewayRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteTransitGatewayRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteTransitGatewayRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteTransitGatewayRouteTableCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayRouteTableCommand.ts index 48f347c74e92..fcfff6d431bb 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayRouteTableCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayRouteTableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTransitGatewayRouteTableCommandInput = DeleteTransitGatewayRouteTableRequest; @@ -70,7 +70,7 @@ export class DeleteTransitGatewayRouteTableCommand extends $Command< private serialize( input: DeleteTransitGatewayRouteTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteTransitGatewayRouteTableCommand( input, @@ -80,7 +80,7 @@ export class DeleteTransitGatewayRouteTableCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteTransitGatewayRouteTableCommand( output, diff --git a/clients/client-ec2/commands/DeleteTransitGatewayVpcAttachmentCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayVpcAttachmentCommand.ts index 681de2caaa70..38ffde13d4ad 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayVpcAttachmentCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayVpcAttachmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTransitGatewayVpcAttachmentCommandInput = DeleteTransitGatewayVpcAttachmentRequest; @@ -70,7 +70,7 @@ export class DeleteTransitGatewayVpcAttachmentCommand extends $Command< private serialize( input: DeleteTransitGatewayVpcAttachmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteTransitGatewayVpcAttachmentCommand( input, @@ -80,7 +80,7 @@ export class DeleteTransitGatewayVpcAttachmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteTransitGatewayVpcAttachmentCommand( output, diff --git a/clients/client-ec2/commands/DeleteVolumeCommand.ts b/clients/client-ec2/commands/DeleteVolumeCommand.ts index a017ff244b87..db5980d185b2 100644 --- a/clients/client-ec2/commands/DeleteVolumeCommand.ts +++ b/clients/client-ec2/commands/DeleteVolumeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVolumeCommandInput = DeleteVolumeRequest; @@ -65,14 +65,14 @@ export class DeleteVolumeCommand extends $Command< private serialize( input: DeleteVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteVolumeCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteVpcCommand.ts b/clients/client-ec2/commands/DeleteVpcCommand.ts index e21117118542..a13deef281ba 100644 --- a/clients/client-ec2/commands/DeleteVpcCommand.ts +++ b/clients/client-ec2/commands/DeleteVpcCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVpcCommandInput = DeleteVpcRequest; @@ -65,14 +65,14 @@ export class DeleteVpcCommand extends $Command< private serialize( input: DeleteVpcCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteVpcCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteVpcCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteVpcEndpointConnectionNotificationsCommand.ts b/clients/client-ec2/commands/DeleteVpcEndpointConnectionNotificationsCommand.ts index 2572d8586316..ced5356629b3 100644 --- a/clients/client-ec2/commands/DeleteVpcEndpointConnectionNotificationsCommand.ts +++ b/clients/client-ec2/commands/DeleteVpcEndpointConnectionNotificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVpcEndpointConnectionNotificationsCommandInput = DeleteVpcEndpointConnectionNotificationsRequest; @@ -72,7 +72,7 @@ export class DeleteVpcEndpointConnectionNotificationsCommand extends $Command< private serialize( input: DeleteVpcEndpointConnectionNotificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteVpcEndpointConnectionNotificationsCommand( input, @@ -82,7 +82,7 @@ export class DeleteVpcEndpointConnectionNotificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteVpcEndpointConnectionNotificationsCommand( output, diff --git a/clients/client-ec2/commands/DeleteVpcEndpointServiceConfigurationsCommand.ts b/clients/client-ec2/commands/DeleteVpcEndpointServiceConfigurationsCommand.ts index 8b2a8166ab55..a38dd1ac9645 100644 --- a/clients/client-ec2/commands/DeleteVpcEndpointServiceConfigurationsCommand.ts +++ b/clients/client-ec2/commands/DeleteVpcEndpointServiceConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVpcEndpointServiceConfigurationsCommandInput = DeleteVpcEndpointServiceConfigurationsRequest; @@ -72,7 +72,7 @@ export class DeleteVpcEndpointServiceConfigurationsCommand extends $Command< private serialize( input: DeleteVpcEndpointServiceConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteVpcEndpointServiceConfigurationsCommand( input, @@ -82,7 +82,7 @@ export class DeleteVpcEndpointServiceConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteVpcEndpointServiceConfigurationsCommand( output, diff --git a/clients/client-ec2/commands/DeleteVpcEndpointsCommand.ts b/clients/client-ec2/commands/DeleteVpcEndpointsCommand.ts index 8f2ed6d79a41..e866c80e079a 100644 --- a/clients/client-ec2/commands/DeleteVpcEndpointsCommand.ts +++ b/clients/client-ec2/commands/DeleteVpcEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVpcEndpointsCommandInput = DeleteVpcEndpointsRequest; @@ -67,14 +67,14 @@ export class DeleteVpcEndpointsCommand extends $Command< private serialize( input: DeleteVpcEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteVpcEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteVpcEndpointsCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteVpcPeeringConnectionCommand.ts b/clients/client-ec2/commands/DeleteVpcPeeringConnectionCommand.ts index dde78c5255bb..fbe19813d55c 100644 --- a/clients/client-ec2/commands/DeleteVpcPeeringConnectionCommand.ts +++ b/clients/client-ec2/commands/DeleteVpcPeeringConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVpcPeeringConnectionCommandInput = DeleteVpcPeeringConnectionRequest; @@ -70,14 +70,14 @@ export class DeleteVpcPeeringConnectionCommand extends $Command< private serialize( input: DeleteVpcPeeringConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteVpcPeeringConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteVpcPeeringConnectionCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteVpnConnectionCommand.ts b/clients/client-ec2/commands/DeleteVpnConnectionCommand.ts index 4c9eb1d3ccfd..8500e779c127 100644 --- a/clients/client-ec2/commands/DeleteVpnConnectionCommand.ts +++ b/clients/client-ec2/commands/DeleteVpnConnectionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVpnConnectionCommandInput = DeleteVpnConnectionRequest; @@ -68,14 +68,14 @@ export class DeleteVpnConnectionCommand extends $Command< private serialize( input: DeleteVpnConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteVpnConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteVpnConnectionCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteVpnConnectionRouteCommand.ts b/clients/client-ec2/commands/DeleteVpnConnectionRouteCommand.ts index 24d58298a4ca..f07cea552f3c 100644 --- a/clients/client-ec2/commands/DeleteVpnConnectionRouteCommand.ts +++ b/clients/client-ec2/commands/DeleteVpnConnectionRouteCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVpnConnectionRouteCommandInput = DeleteVpnConnectionRouteRequest; @@ -68,14 +68,14 @@ export class DeleteVpnConnectionRouteCommand extends $Command< private serialize( input: DeleteVpnConnectionRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteVpnConnectionRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteVpnConnectionRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/DeleteVpnGatewayCommand.ts b/clients/client-ec2/commands/DeleteVpnGatewayCommand.ts index ab0e74de0fad..8ba674b214e2 100644 --- a/clients/client-ec2/commands/DeleteVpnGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteVpnGatewayCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVpnGatewayCommandInput = DeleteVpnGatewayRequest; @@ -65,14 +65,14 @@ export class DeleteVpnGatewayCommand extends $Command< private serialize( input: DeleteVpnGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeleteVpnGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeleteVpnGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/DeprovisionByoipCidrCommand.ts b/clients/client-ec2/commands/DeprovisionByoipCidrCommand.ts index a90a47fefc83..bdc438b91349 100644 --- a/clients/client-ec2/commands/DeprovisionByoipCidrCommand.ts +++ b/clients/client-ec2/commands/DeprovisionByoipCidrCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeprovisionByoipCidrCommandInput = DeprovisionByoipCidrRequest; @@ -70,14 +70,14 @@ export class DeprovisionByoipCidrCommand extends $Command< private serialize( input: DeprovisionByoipCidrCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeprovisionByoipCidrCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeprovisionByoipCidrCommand(output, context); } diff --git a/clients/client-ec2/commands/DeregisterImageCommand.ts b/clients/client-ec2/commands/DeregisterImageCommand.ts index 012a0d617b7e..c8ad29c7e640 100644 --- a/clients/client-ec2/commands/DeregisterImageCommand.ts +++ b/clients/client-ec2/commands/DeregisterImageCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterImageCommandInput = DeregisterImageRequest; @@ -65,14 +65,14 @@ export class DeregisterImageCommand extends $Command< private serialize( input: DeregisterImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeregisterImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeregisterImageCommand(output, context); } diff --git a/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.ts b/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.ts index 8d7b42eb878c..1b708a8c4ba1 100644 --- a/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.ts +++ b/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterTransitGatewayMulticastGroupMembersCommandInput = DeregisterTransitGatewayMulticastGroupMembersRequest; @@ -72,7 +72,7 @@ export class DeregisterTransitGatewayMulticastGroupMembersCommand extends $Comma private serialize( input: DeregisterTransitGatewayMulticastGroupMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeregisterTransitGatewayMulticastGroupMembersCommand( input, @@ -82,7 +82,7 @@ export class DeregisterTransitGatewayMulticastGroupMembersCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeregisterTransitGatewayMulticastGroupMembersCommand( output, diff --git a/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.ts b/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.ts index 90b7c417509c..aebab313f3e8 100644 --- a/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.ts +++ b/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterTransitGatewayMulticastGroupSourcesCommandInput = DeregisterTransitGatewayMulticastGroupSourcesRequest; @@ -72,7 +72,7 @@ export class DeregisterTransitGatewayMulticastGroupSourcesCommand extends $Comma private serialize( input: DeregisterTransitGatewayMulticastGroupSourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DeregisterTransitGatewayMulticastGroupSourcesCommand( input, @@ -82,7 +82,7 @@ export class DeregisterTransitGatewayMulticastGroupSourcesCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DeregisterTransitGatewayMulticastGroupSourcesCommand( output, diff --git a/clients/client-ec2/commands/DescribeAccountAttributesCommand.ts b/clients/client-ec2/commands/DescribeAccountAttributesCommand.ts index 5a5fb1daaa37..d517f2db8651 100644 --- a/clients/client-ec2/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-ec2/commands/DescribeAccountAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountAttributesCommandInput = DescribeAccountAttributesRequest; @@ -70,14 +70,14 @@ export class DescribeAccountAttributesCommand extends $Command< private serialize( input: DescribeAccountAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeAccountAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeAccountAttributesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeAddressesCommand.ts b/clients/client-ec2/commands/DescribeAddressesCommand.ts index 7ae429860297..59db820d1542 100644 --- a/clients/client-ec2/commands/DescribeAddressesCommand.ts +++ b/clients/client-ec2/commands/DescribeAddressesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAddressesCommandInput = DescribeAddressesRequest; @@ -67,14 +67,14 @@ export class DescribeAddressesCommand extends $Command< private serialize( input: DescribeAddressesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeAddressesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeAddressesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeAggregateIdFormatCommand.ts b/clients/client-ec2/commands/DescribeAggregateIdFormatCommand.ts index 2f39cdf164fd..1f1220119717 100644 --- a/clients/client-ec2/commands/DescribeAggregateIdFormatCommand.ts +++ b/clients/client-ec2/commands/DescribeAggregateIdFormatCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAggregateIdFormatCommandInput = DescribeAggregateIdFormatRequest; @@ -70,14 +70,14 @@ export class DescribeAggregateIdFormatCommand extends $Command< private serialize( input: DescribeAggregateIdFormatCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeAggregateIdFormatCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeAggregateIdFormatCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeAvailabilityZonesCommand.ts b/clients/client-ec2/commands/DescribeAvailabilityZonesCommand.ts index 5edea54d6eba..167546a2edf3 100644 --- a/clients/client-ec2/commands/DescribeAvailabilityZonesCommand.ts +++ b/clients/client-ec2/commands/DescribeAvailabilityZonesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAvailabilityZonesCommandInput = DescribeAvailabilityZonesRequest; @@ -70,14 +70,14 @@ export class DescribeAvailabilityZonesCommand extends $Command< private serialize( input: DescribeAvailabilityZonesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeAvailabilityZonesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeAvailabilityZonesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeBundleTasksCommand.ts b/clients/client-ec2/commands/DescribeBundleTasksCommand.ts index cdf6e0eaede7..cc2de490d1b4 100644 --- a/clients/client-ec2/commands/DescribeBundleTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeBundleTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBundleTasksCommandInput = DescribeBundleTasksRequest; @@ -70,14 +70,14 @@ export class DescribeBundleTasksCommand extends $Command< private serialize( input: DescribeBundleTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeBundleTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeBundleTasksCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeByoipCidrsCommand.ts b/clients/client-ec2/commands/DescribeByoipCidrsCommand.ts index ccfe26ecc159..bdfc61139f24 100644 --- a/clients/client-ec2/commands/DescribeByoipCidrsCommand.ts +++ b/clients/client-ec2/commands/DescribeByoipCidrsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeByoipCidrsCommandInput = DescribeByoipCidrsRequest; @@ -67,14 +67,14 @@ export class DescribeByoipCidrsCommand extends $Command< private serialize( input: DescribeByoipCidrsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeByoipCidrsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeByoipCidrsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeCapacityReservationsCommand.ts b/clients/client-ec2/commands/DescribeCapacityReservationsCommand.ts index c09e9b21590c..8a5f4783047b 100644 --- a/clients/client-ec2/commands/DescribeCapacityReservationsCommand.ts +++ b/clients/client-ec2/commands/DescribeCapacityReservationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCapacityReservationsCommandInput = DescribeCapacityReservationsRequest; @@ -70,14 +70,14 @@ export class DescribeCapacityReservationsCommand extends $Command< private serialize( input: DescribeCapacityReservationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeCapacityReservationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeCapacityReservationsCommand( output, diff --git a/clients/client-ec2/commands/DescribeClassicLinkInstancesCommand.ts b/clients/client-ec2/commands/DescribeClassicLinkInstancesCommand.ts index 7e0ffc6601eb..a7c451a49a29 100644 --- a/clients/client-ec2/commands/DescribeClassicLinkInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeClassicLinkInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClassicLinkInstancesCommandInput = DescribeClassicLinkInstancesRequest; @@ -70,14 +70,14 @@ export class DescribeClassicLinkInstancesCommand extends $Command< private serialize( input: DescribeClassicLinkInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeClassicLinkInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeClassicLinkInstancesCommand( output, diff --git a/clients/client-ec2/commands/DescribeClientVpnAuthorizationRulesCommand.ts b/clients/client-ec2/commands/DescribeClientVpnAuthorizationRulesCommand.ts index 2ebd06a99c62..6d7fcd7c17d9 100644 --- a/clients/client-ec2/commands/DescribeClientVpnAuthorizationRulesCommand.ts +++ b/clients/client-ec2/commands/DescribeClientVpnAuthorizationRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClientVpnAuthorizationRulesCommandInput = DescribeClientVpnAuthorizationRulesRequest; @@ -70,7 +70,7 @@ export class DescribeClientVpnAuthorizationRulesCommand extends $Command< private serialize( input: DescribeClientVpnAuthorizationRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeClientVpnAuthorizationRulesCommand( input, @@ -80,7 +80,7 @@ export class DescribeClientVpnAuthorizationRulesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeClientVpnAuthorizationRulesCommand( output, diff --git a/clients/client-ec2/commands/DescribeClientVpnConnectionsCommand.ts b/clients/client-ec2/commands/DescribeClientVpnConnectionsCommand.ts index 33051316d356..05b72c37a73e 100644 --- a/clients/client-ec2/commands/DescribeClientVpnConnectionsCommand.ts +++ b/clients/client-ec2/commands/DescribeClientVpnConnectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClientVpnConnectionsCommandInput = DescribeClientVpnConnectionsRequest; @@ -70,14 +70,14 @@ export class DescribeClientVpnConnectionsCommand extends $Command< private serialize( input: DescribeClientVpnConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeClientVpnConnectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeClientVpnConnectionsCommand( output, diff --git a/clients/client-ec2/commands/DescribeClientVpnEndpointsCommand.ts b/clients/client-ec2/commands/DescribeClientVpnEndpointsCommand.ts index 9c00fa3e583b..cd9cc0080b68 100644 --- a/clients/client-ec2/commands/DescribeClientVpnEndpointsCommand.ts +++ b/clients/client-ec2/commands/DescribeClientVpnEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClientVpnEndpointsCommandInput = DescribeClientVpnEndpointsRequest; @@ -70,14 +70,14 @@ export class DescribeClientVpnEndpointsCommand extends $Command< private serialize( input: DescribeClientVpnEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeClientVpnEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeClientVpnEndpointsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeClientVpnRoutesCommand.ts b/clients/client-ec2/commands/DescribeClientVpnRoutesCommand.ts index 0971ca49a7bf..79a4272da1c3 100644 --- a/clients/client-ec2/commands/DescribeClientVpnRoutesCommand.ts +++ b/clients/client-ec2/commands/DescribeClientVpnRoutesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClientVpnRoutesCommandInput = DescribeClientVpnRoutesRequest; @@ -70,14 +70,14 @@ export class DescribeClientVpnRoutesCommand extends $Command< private serialize( input: DescribeClientVpnRoutesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeClientVpnRoutesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeClientVpnRoutesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeClientVpnTargetNetworksCommand.ts b/clients/client-ec2/commands/DescribeClientVpnTargetNetworksCommand.ts index 7a5a068863a8..b6d97cb450a7 100644 --- a/clients/client-ec2/commands/DescribeClientVpnTargetNetworksCommand.ts +++ b/clients/client-ec2/commands/DescribeClientVpnTargetNetworksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClientVpnTargetNetworksCommandInput = DescribeClientVpnTargetNetworksRequest; @@ -70,7 +70,7 @@ export class DescribeClientVpnTargetNetworksCommand extends $Command< private serialize( input: DescribeClientVpnTargetNetworksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeClientVpnTargetNetworksCommand( input, @@ -80,7 +80,7 @@ export class DescribeClientVpnTargetNetworksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeClientVpnTargetNetworksCommand( output, diff --git a/clients/client-ec2/commands/DescribeCoipPoolsCommand.ts b/clients/client-ec2/commands/DescribeCoipPoolsCommand.ts index d059e8196737..4a32af400253 100644 --- a/clients/client-ec2/commands/DescribeCoipPoolsCommand.ts +++ b/clients/client-ec2/commands/DescribeCoipPoolsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCoipPoolsCommandInput = DescribeCoipPoolsRequest; @@ -67,14 +67,14 @@ export class DescribeCoipPoolsCommand extends $Command< private serialize( input: DescribeCoipPoolsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeCoipPoolsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeCoipPoolsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeConversionTasksCommand.ts b/clients/client-ec2/commands/DescribeConversionTasksCommand.ts index 841fe63be1a9..b2ba8203bb64 100644 --- a/clients/client-ec2/commands/DescribeConversionTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeConversionTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConversionTasksCommandInput = DescribeConversionTasksRequest; @@ -70,14 +70,14 @@ export class DescribeConversionTasksCommand extends $Command< private serialize( input: DescribeConversionTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeConversionTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeConversionTasksCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeCustomerGatewaysCommand.ts b/clients/client-ec2/commands/DescribeCustomerGatewaysCommand.ts index aa97a1eca4a5..251dce07de2a 100644 --- a/clients/client-ec2/commands/DescribeCustomerGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeCustomerGatewaysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCustomerGatewaysCommandInput = DescribeCustomerGatewaysRequest; @@ -70,14 +70,14 @@ export class DescribeCustomerGatewaysCommand extends $Command< private serialize( input: DescribeCustomerGatewaysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeCustomerGatewaysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeCustomerGatewaysCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeDhcpOptionsCommand.ts b/clients/client-ec2/commands/DescribeDhcpOptionsCommand.ts index 9bf8e9c4d2d6..27ab87d279cf 100644 --- a/clients/client-ec2/commands/DescribeDhcpOptionsCommand.ts +++ b/clients/client-ec2/commands/DescribeDhcpOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDhcpOptionsCommandInput = DescribeDhcpOptionsRequest; @@ -70,14 +70,14 @@ export class DescribeDhcpOptionsCommand extends $Command< private serialize( input: DescribeDhcpOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeDhcpOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeDhcpOptionsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeEgressOnlyInternetGatewaysCommand.ts b/clients/client-ec2/commands/DescribeEgressOnlyInternetGatewaysCommand.ts index d3716be268d4..9f62d7c58fd8 100644 --- a/clients/client-ec2/commands/DescribeEgressOnlyInternetGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeEgressOnlyInternetGatewaysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEgressOnlyInternetGatewaysCommandInput = DescribeEgressOnlyInternetGatewaysRequest; @@ -70,7 +70,7 @@ export class DescribeEgressOnlyInternetGatewaysCommand extends $Command< private serialize( input: DescribeEgressOnlyInternetGatewaysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeEgressOnlyInternetGatewaysCommand( input, @@ -80,7 +80,7 @@ export class DescribeEgressOnlyInternetGatewaysCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeEgressOnlyInternetGatewaysCommand( output, diff --git a/clients/client-ec2/commands/DescribeElasticGpusCommand.ts b/clients/client-ec2/commands/DescribeElasticGpusCommand.ts index 978ecbe727f1..9064bbeb85b8 100644 --- a/clients/client-ec2/commands/DescribeElasticGpusCommand.ts +++ b/clients/client-ec2/commands/DescribeElasticGpusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeElasticGpusCommandInput = DescribeElasticGpusRequest; @@ -70,14 +70,14 @@ export class DescribeElasticGpusCommand extends $Command< private serialize( input: DescribeElasticGpusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeElasticGpusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeElasticGpusCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeExportImageTasksCommand.ts b/clients/client-ec2/commands/DescribeExportImageTasksCommand.ts index b9242c5d7c6e..872844f829d0 100644 --- a/clients/client-ec2/commands/DescribeExportImageTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeExportImageTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeExportImageTasksCommandInput = DescribeExportImageTasksRequest; @@ -70,14 +70,14 @@ export class DescribeExportImageTasksCommand extends $Command< private serialize( input: DescribeExportImageTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeExportImageTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeExportImageTasksCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeExportTasksCommand.ts b/clients/client-ec2/commands/DescribeExportTasksCommand.ts index 23a9d8950f6b..7ef35199b749 100644 --- a/clients/client-ec2/commands/DescribeExportTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeExportTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeExportTasksCommandInput = DescribeExportTasksRequest; @@ -70,14 +70,14 @@ export class DescribeExportTasksCommand extends $Command< private serialize( input: DescribeExportTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeExportTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeExportTasksCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeFastSnapshotRestoresCommand.ts b/clients/client-ec2/commands/DescribeFastSnapshotRestoresCommand.ts index 2b005ebae59b..50fe81efc2fa 100644 --- a/clients/client-ec2/commands/DescribeFastSnapshotRestoresCommand.ts +++ b/clients/client-ec2/commands/DescribeFastSnapshotRestoresCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFastSnapshotRestoresCommandInput = DescribeFastSnapshotRestoresRequest; @@ -70,14 +70,14 @@ export class DescribeFastSnapshotRestoresCommand extends $Command< private serialize( input: DescribeFastSnapshotRestoresCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeFastSnapshotRestoresCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeFastSnapshotRestoresCommand( output, diff --git a/clients/client-ec2/commands/DescribeFleetHistoryCommand.ts b/clients/client-ec2/commands/DescribeFleetHistoryCommand.ts index 031e2ed9fe60..8383694ef1de 100644 --- a/clients/client-ec2/commands/DescribeFleetHistoryCommand.ts +++ b/clients/client-ec2/commands/DescribeFleetHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFleetHistoryCommandInput = DescribeFleetHistoryRequest; @@ -70,14 +70,14 @@ export class DescribeFleetHistoryCommand extends $Command< private serialize( input: DescribeFleetHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeFleetHistoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeFleetHistoryCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeFleetInstancesCommand.ts b/clients/client-ec2/commands/DescribeFleetInstancesCommand.ts index e7073728d2e7..88e245599009 100644 --- a/clients/client-ec2/commands/DescribeFleetInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeFleetInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFleetInstancesCommandInput = DescribeFleetInstancesRequest; @@ -70,14 +70,14 @@ export class DescribeFleetInstancesCommand extends $Command< private serialize( input: DescribeFleetInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeFleetInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeFleetInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeFleetsCommand.ts b/clients/client-ec2/commands/DescribeFleetsCommand.ts index ff13a4428081..c3b3dba130e4 100644 --- a/clients/client-ec2/commands/DescribeFleetsCommand.ts +++ b/clients/client-ec2/commands/DescribeFleetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFleetsCommandInput = DescribeFleetsRequest; @@ -64,14 +64,14 @@ export class DescribeFleetsCommand extends $Command< private serialize( input: DescribeFleetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeFleetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeFleetsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeFlowLogsCommand.ts b/clients/client-ec2/commands/DescribeFlowLogsCommand.ts index ed6a2b02c7ce..31a38d846f81 100644 --- a/clients/client-ec2/commands/DescribeFlowLogsCommand.ts +++ b/clients/client-ec2/commands/DescribeFlowLogsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFlowLogsCommandInput = DescribeFlowLogsRequest; @@ -67,14 +67,14 @@ export class DescribeFlowLogsCommand extends $Command< private serialize( input: DescribeFlowLogsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeFlowLogsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeFlowLogsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeFpgaImageAttributeCommand.ts b/clients/client-ec2/commands/DescribeFpgaImageAttributeCommand.ts index 483e5ccdb1b2..bc7aaa271063 100644 --- a/clients/client-ec2/commands/DescribeFpgaImageAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeFpgaImageAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFpgaImageAttributeCommandInput = DescribeFpgaImageAttributeRequest; @@ -70,14 +70,14 @@ export class DescribeFpgaImageAttributeCommand extends $Command< private serialize( input: DescribeFpgaImageAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeFpgaImageAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeFpgaImageAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeFpgaImagesCommand.ts b/clients/client-ec2/commands/DescribeFpgaImagesCommand.ts index 50c468b89a73..5b53dbd4fc5a 100644 --- a/clients/client-ec2/commands/DescribeFpgaImagesCommand.ts +++ b/clients/client-ec2/commands/DescribeFpgaImagesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFpgaImagesCommandInput = DescribeFpgaImagesRequest; @@ -67,14 +67,14 @@ export class DescribeFpgaImagesCommand extends $Command< private serialize( input: DescribeFpgaImagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeFpgaImagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeFpgaImagesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeHostReservationOfferingsCommand.ts b/clients/client-ec2/commands/DescribeHostReservationOfferingsCommand.ts index e0a00a07f41e..604348a4c6b4 100644 --- a/clients/client-ec2/commands/DescribeHostReservationOfferingsCommand.ts +++ b/clients/client-ec2/commands/DescribeHostReservationOfferingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHostReservationOfferingsCommandInput = DescribeHostReservationOfferingsRequest; @@ -70,7 +70,7 @@ export class DescribeHostReservationOfferingsCommand extends $Command< private serialize( input: DescribeHostReservationOfferingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeHostReservationOfferingsCommand( input, @@ -80,7 +80,7 @@ export class DescribeHostReservationOfferingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeHostReservationOfferingsCommand( output, diff --git a/clients/client-ec2/commands/DescribeHostReservationsCommand.ts b/clients/client-ec2/commands/DescribeHostReservationsCommand.ts index 4596d376cffa..a1a0328b6588 100644 --- a/clients/client-ec2/commands/DescribeHostReservationsCommand.ts +++ b/clients/client-ec2/commands/DescribeHostReservationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHostReservationsCommandInput = DescribeHostReservationsRequest; @@ -70,14 +70,14 @@ export class DescribeHostReservationsCommand extends $Command< private serialize( input: DescribeHostReservationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeHostReservationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeHostReservationsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeHostsCommand.ts b/clients/client-ec2/commands/DescribeHostsCommand.ts index a6d7ba95883b..731f0eee0ca2 100644 --- a/clients/client-ec2/commands/DescribeHostsCommand.ts +++ b/clients/client-ec2/commands/DescribeHostsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHostsCommandInput = DescribeHostsRequest; @@ -64,14 +64,14 @@ export class DescribeHostsCommand extends $Command< private serialize( input: DescribeHostsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeHostsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeHostsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeIamInstanceProfileAssociationsCommand.ts b/clients/client-ec2/commands/DescribeIamInstanceProfileAssociationsCommand.ts index 2712141b1674..5111e97d15d6 100644 --- a/clients/client-ec2/commands/DescribeIamInstanceProfileAssociationsCommand.ts +++ b/clients/client-ec2/commands/DescribeIamInstanceProfileAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIamInstanceProfileAssociationsCommandInput = DescribeIamInstanceProfileAssociationsRequest; @@ -72,7 +72,7 @@ export class DescribeIamInstanceProfileAssociationsCommand extends $Command< private serialize( input: DescribeIamInstanceProfileAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeIamInstanceProfileAssociationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeIamInstanceProfileAssociationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeIamInstanceProfileAssociationsCommand( output, diff --git a/clients/client-ec2/commands/DescribeIdFormatCommand.ts b/clients/client-ec2/commands/DescribeIdFormatCommand.ts index 49c6c3db536d..7bf6ae9ebf1a 100644 --- a/clients/client-ec2/commands/DescribeIdFormatCommand.ts +++ b/clients/client-ec2/commands/DescribeIdFormatCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIdFormatCommandInput = DescribeIdFormatRequest; @@ -67,14 +67,14 @@ export class DescribeIdFormatCommand extends $Command< private serialize( input: DescribeIdFormatCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeIdFormatCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeIdFormatCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeIdentityIdFormatCommand.ts b/clients/client-ec2/commands/DescribeIdentityIdFormatCommand.ts index c94aca27f0de..53eb3ac30a2e 100644 --- a/clients/client-ec2/commands/DescribeIdentityIdFormatCommand.ts +++ b/clients/client-ec2/commands/DescribeIdentityIdFormatCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIdentityIdFormatCommandInput = DescribeIdentityIdFormatRequest; @@ -70,14 +70,14 @@ export class DescribeIdentityIdFormatCommand extends $Command< private serialize( input: DescribeIdentityIdFormatCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeIdentityIdFormatCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeIdentityIdFormatCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeImageAttributeCommand.ts b/clients/client-ec2/commands/DescribeImageAttributeCommand.ts index 91774b609b52..44c3f8545e40 100644 --- a/clients/client-ec2/commands/DescribeImageAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeImageAttributeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeImageAttributeCommandInput = DescribeImageAttributeRequest; @@ -67,14 +67,14 @@ export class DescribeImageAttributeCommand extends $Command< private serialize( input: DescribeImageAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeImageAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeImageAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeImagesCommand.ts b/clients/client-ec2/commands/DescribeImagesCommand.ts index df34913f4308..712f6c646634 100644 --- a/clients/client-ec2/commands/DescribeImagesCommand.ts +++ b/clients/client-ec2/commands/DescribeImagesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeImagesCommandInput = DescribeImagesRequest; @@ -64,14 +64,14 @@ export class DescribeImagesCommand extends $Command< private serialize( input: DescribeImagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeImagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeImagesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeImportImageTasksCommand.ts b/clients/client-ec2/commands/DescribeImportImageTasksCommand.ts index 477ac0f39633..b3f73db81c35 100644 --- a/clients/client-ec2/commands/DescribeImportImageTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeImportImageTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeImportImageTasksCommandInput = DescribeImportImageTasksRequest; @@ -70,14 +70,14 @@ export class DescribeImportImageTasksCommand extends $Command< private serialize( input: DescribeImportImageTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeImportImageTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeImportImageTasksCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeImportSnapshotTasksCommand.ts b/clients/client-ec2/commands/DescribeImportSnapshotTasksCommand.ts index f53c7bc2ef3e..2548fec8e814 100644 --- a/clients/client-ec2/commands/DescribeImportSnapshotTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeImportSnapshotTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeImportSnapshotTasksCommandInput = DescribeImportSnapshotTasksRequest; @@ -70,14 +70,14 @@ export class DescribeImportSnapshotTasksCommand extends $Command< private serialize( input: DescribeImportSnapshotTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeImportSnapshotTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeImportSnapshotTasksCommand( output, diff --git a/clients/client-ec2/commands/DescribeInstanceAttributeCommand.ts b/clients/client-ec2/commands/DescribeInstanceAttributeCommand.ts index 41557b190bb7..459bc1e6c1dc 100644 --- a/clients/client-ec2/commands/DescribeInstanceAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstanceAttributeCommandInput = DescribeInstanceAttributeRequest; @@ -70,14 +70,14 @@ export class DescribeInstanceAttributeCommand extends $Command< private serialize( input: DescribeInstanceAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeInstanceAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeInstanceAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeInstanceCreditSpecificationsCommand.ts b/clients/client-ec2/commands/DescribeInstanceCreditSpecificationsCommand.ts index ba066d00e407..6dc985a3a74f 100644 --- a/clients/client-ec2/commands/DescribeInstanceCreditSpecificationsCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceCreditSpecificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstanceCreditSpecificationsCommandInput = DescribeInstanceCreditSpecificationsRequest; @@ -72,7 +72,7 @@ export class DescribeInstanceCreditSpecificationsCommand extends $Command< private serialize( input: DescribeInstanceCreditSpecificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeInstanceCreditSpecificationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeInstanceCreditSpecificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeInstanceCreditSpecificationsCommand( output, diff --git a/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts b/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts index 8c0972c3a9b4..d37e63b1ae10 100644 --- a/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstanceStatusCommandInput = DescribeInstanceStatusRequest; @@ -70,14 +70,14 @@ export class DescribeInstanceStatusCommand extends $Command< private serialize( input: DescribeInstanceStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeInstanceStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeInstanceStatusCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeInstanceTypeOfferingsCommand.ts b/clients/client-ec2/commands/DescribeInstanceTypeOfferingsCommand.ts index 91ee5c035cb8..93222cc2c010 100644 --- a/clients/client-ec2/commands/DescribeInstanceTypeOfferingsCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceTypeOfferingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstanceTypeOfferingsCommandInput = DescribeInstanceTypeOfferingsRequest; @@ -70,14 +70,14 @@ export class DescribeInstanceTypeOfferingsCommand extends $Command< private serialize( input: DescribeInstanceTypeOfferingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeInstanceTypeOfferingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeInstanceTypeOfferingsCommand( output, diff --git a/clients/client-ec2/commands/DescribeInstanceTypesCommand.ts b/clients/client-ec2/commands/DescribeInstanceTypesCommand.ts index 6690d30ef261..d6f95b99cd2c 100644 --- a/clients/client-ec2/commands/DescribeInstanceTypesCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceTypesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstanceTypesCommandInput = DescribeInstanceTypesRequest; @@ -70,14 +70,14 @@ export class DescribeInstanceTypesCommand extends $Command< private serialize( input: DescribeInstanceTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeInstanceTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeInstanceTypesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeInstancesCommand.ts b/clients/client-ec2/commands/DescribeInstancesCommand.ts index a15696e7943f..ee88452307e3 100644 --- a/clients/client-ec2/commands/DescribeInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstancesCommandInput = DescribeInstancesRequest; @@ -67,14 +67,14 @@ export class DescribeInstancesCommand extends $Command< private serialize( input: DescribeInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeInternetGatewaysCommand.ts b/clients/client-ec2/commands/DescribeInternetGatewaysCommand.ts index 19459715e7c8..2e9338b6193b 100644 --- a/clients/client-ec2/commands/DescribeInternetGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeInternetGatewaysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInternetGatewaysCommandInput = DescribeInternetGatewaysRequest; @@ -70,14 +70,14 @@ export class DescribeInternetGatewaysCommand extends $Command< private serialize( input: DescribeInternetGatewaysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeInternetGatewaysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeInternetGatewaysCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeIpv6PoolsCommand.ts b/clients/client-ec2/commands/DescribeIpv6PoolsCommand.ts index dcef072332ae..f72a23989325 100644 --- a/clients/client-ec2/commands/DescribeIpv6PoolsCommand.ts +++ b/clients/client-ec2/commands/DescribeIpv6PoolsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIpv6PoolsCommandInput = DescribeIpv6PoolsRequest; @@ -67,14 +67,14 @@ export class DescribeIpv6PoolsCommand extends $Command< private serialize( input: DescribeIpv6PoolsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeIpv6PoolsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeIpv6PoolsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeKeyPairsCommand.ts b/clients/client-ec2/commands/DescribeKeyPairsCommand.ts index 401f9e5447ae..25fe0bfe9701 100644 --- a/clients/client-ec2/commands/DescribeKeyPairsCommand.ts +++ b/clients/client-ec2/commands/DescribeKeyPairsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeKeyPairsCommandInput = DescribeKeyPairsRequest; @@ -67,14 +67,14 @@ export class DescribeKeyPairsCommand extends $Command< private serialize( input: DescribeKeyPairsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeKeyPairsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeKeyPairsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeLaunchTemplateVersionsCommand.ts b/clients/client-ec2/commands/DescribeLaunchTemplateVersionsCommand.ts index cccd1006fd9c..9b84c12dfec0 100644 --- a/clients/client-ec2/commands/DescribeLaunchTemplateVersionsCommand.ts +++ b/clients/client-ec2/commands/DescribeLaunchTemplateVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLaunchTemplateVersionsCommandInput = DescribeLaunchTemplateVersionsRequest; @@ -70,7 +70,7 @@ export class DescribeLaunchTemplateVersionsCommand extends $Command< private serialize( input: DescribeLaunchTemplateVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeLaunchTemplateVersionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeLaunchTemplateVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeLaunchTemplateVersionsCommand( output, diff --git a/clients/client-ec2/commands/DescribeLaunchTemplatesCommand.ts b/clients/client-ec2/commands/DescribeLaunchTemplatesCommand.ts index 118872c7c534..ea1ad832662b 100644 --- a/clients/client-ec2/commands/DescribeLaunchTemplatesCommand.ts +++ b/clients/client-ec2/commands/DescribeLaunchTemplatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLaunchTemplatesCommandInput = DescribeLaunchTemplatesRequest; @@ -70,14 +70,14 @@ export class DescribeLaunchTemplatesCommand extends $Command< private serialize( input: DescribeLaunchTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeLaunchTemplatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeLaunchTemplatesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.ts index d653b8a12fbd..adbdbc4a39e9 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandInput = DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest; @@ -72,7 +72,7 @@ export class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsComm private serialize( input: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsComm private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise< DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandOutput > { diff --git a/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.ts index 777016c67532..364744c5cb72 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLocalGatewayRouteTableVpcAssociationsCommandInput = DescribeLocalGatewayRouteTableVpcAssociationsRequest; @@ -72,7 +72,7 @@ export class DescribeLocalGatewayRouteTableVpcAssociationsCommand extends $Comma private serialize( input: DescribeLocalGatewayRouteTableVpcAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeLocalGatewayRouteTableVpcAssociationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeLocalGatewayRouteTableVpcAssociationsCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeLocalGatewayRouteTableVpcAssociationsCommand( output, diff --git a/clients/client-ec2/commands/DescribeLocalGatewayRouteTablesCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewayRouteTablesCommand.ts index 53fde2bc0401..1a54288d92c5 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewayRouteTablesCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewayRouteTablesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLocalGatewayRouteTablesCommandInput = DescribeLocalGatewayRouteTablesRequest; @@ -70,7 +70,7 @@ export class DescribeLocalGatewayRouteTablesCommand extends $Command< private serialize( input: DescribeLocalGatewayRouteTablesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeLocalGatewayRouteTablesCommand( input, @@ -80,7 +80,7 @@ export class DescribeLocalGatewayRouteTablesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeLocalGatewayRouteTablesCommand( output, diff --git a/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.ts index e2319705756f..1ab8eaf7682c 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLocalGatewayVirtualInterfaceGroupsCommandInput = DescribeLocalGatewayVirtualInterfaceGroupsRequest; @@ -72,7 +72,7 @@ export class DescribeLocalGatewayVirtualInterfaceGroupsCommand extends $Command< private serialize( input: DescribeLocalGatewayVirtualInterfaceGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeLocalGatewayVirtualInterfaceGroupsCommand( input, @@ -82,7 +82,7 @@ export class DescribeLocalGatewayVirtualInterfaceGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeLocalGatewayVirtualInterfaceGroupsCommand( output, diff --git a/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfacesCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfacesCommand.ts index 6a502942d22c..4daa11ae9817 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfacesCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfacesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLocalGatewayVirtualInterfacesCommandInput = DescribeLocalGatewayVirtualInterfacesRequest; @@ -72,7 +72,7 @@ export class DescribeLocalGatewayVirtualInterfacesCommand extends $Command< private serialize( input: DescribeLocalGatewayVirtualInterfacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeLocalGatewayVirtualInterfacesCommand( input, @@ -82,7 +82,7 @@ export class DescribeLocalGatewayVirtualInterfacesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeLocalGatewayVirtualInterfacesCommand( output, diff --git a/clients/client-ec2/commands/DescribeLocalGatewaysCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewaysCommand.ts index c7ea5e818a7e..82a03fed4117 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewaysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLocalGatewaysCommandInput = DescribeLocalGatewaysRequest; @@ -70,14 +70,14 @@ export class DescribeLocalGatewaysCommand extends $Command< private serialize( input: DescribeLocalGatewaysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeLocalGatewaysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeLocalGatewaysCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeMovingAddressesCommand.ts b/clients/client-ec2/commands/DescribeMovingAddressesCommand.ts index d45e8214945b..d2f24e80f44d 100644 --- a/clients/client-ec2/commands/DescribeMovingAddressesCommand.ts +++ b/clients/client-ec2/commands/DescribeMovingAddressesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMovingAddressesCommandInput = DescribeMovingAddressesRequest; @@ -70,14 +70,14 @@ export class DescribeMovingAddressesCommand extends $Command< private serialize( input: DescribeMovingAddressesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeMovingAddressesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeMovingAddressesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeNatGatewaysCommand.ts b/clients/client-ec2/commands/DescribeNatGatewaysCommand.ts index 3657cadb589c..04a32f68b400 100644 --- a/clients/client-ec2/commands/DescribeNatGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeNatGatewaysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNatGatewaysCommandInput = DescribeNatGatewaysRequest; @@ -70,14 +70,14 @@ export class DescribeNatGatewaysCommand extends $Command< private serialize( input: DescribeNatGatewaysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeNatGatewaysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeNatGatewaysCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeNetworkAclsCommand.ts b/clients/client-ec2/commands/DescribeNetworkAclsCommand.ts index e18663654172..536a005c9835 100644 --- a/clients/client-ec2/commands/DescribeNetworkAclsCommand.ts +++ b/clients/client-ec2/commands/DescribeNetworkAclsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNetworkAclsCommandInput = DescribeNetworkAclsRequest; @@ -70,14 +70,14 @@ export class DescribeNetworkAclsCommand extends $Command< private serialize( input: DescribeNetworkAclsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeNetworkAclsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeNetworkAclsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeNetworkInterfaceAttributeCommand.ts b/clients/client-ec2/commands/DescribeNetworkInterfaceAttributeCommand.ts index aa2702f0f910..3809668fc573 100644 --- a/clients/client-ec2/commands/DescribeNetworkInterfaceAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeNetworkInterfaceAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNetworkInterfaceAttributeCommandInput = DescribeNetworkInterfaceAttributeRequest; @@ -70,7 +70,7 @@ export class DescribeNetworkInterfaceAttributeCommand extends $Command< private serialize( input: DescribeNetworkInterfaceAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeNetworkInterfaceAttributeCommand( input, @@ -80,7 +80,7 @@ export class DescribeNetworkInterfaceAttributeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeNetworkInterfaceAttributeCommand( output, diff --git a/clients/client-ec2/commands/DescribeNetworkInterfacePermissionsCommand.ts b/clients/client-ec2/commands/DescribeNetworkInterfacePermissionsCommand.ts index 75189df57a14..2eae927c5595 100644 --- a/clients/client-ec2/commands/DescribeNetworkInterfacePermissionsCommand.ts +++ b/clients/client-ec2/commands/DescribeNetworkInterfacePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNetworkInterfacePermissionsCommandInput = DescribeNetworkInterfacePermissionsRequest; @@ -70,7 +70,7 @@ export class DescribeNetworkInterfacePermissionsCommand extends $Command< private serialize( input: DescribeNetworkInterfacePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeNetworkInterfacePermissionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeNetworkInterfacePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeNetworkInterfacePermissionsCommand( output, diff --git a/clients/client-ec2/commands/DescribeNetworkInterfacesCommand.ts b/clients/client-ec2/commands/DescribeNetworkInterfacesCommand.ts index 4ab4656e4459..e0ad7a80c436 100644 --- a/clients/client-ec2/commands/DescribeNetworkInterfacesCommand.ts +++ b/clients/client-ec2/commands/DescribeNetworkInterfacesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNetworkInterfacesCommandInput = DescribeNetworkInterfacesRequest; @@ -70,14 +70,14 @@ export class DescribeNetworkInterfacesCommand extends $Command< private serialize( input: DescribeNetworkInterfacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeNetworkInterfacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeNetworkInterfacesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribePlacementGroupsCommand.ts b/clients/client-ec2/commands/DescribePlacementGroupsCommand.ts index 5f987ac7fcf0..c69f59186b14 100644 --- a/clients/client-ec2/commands/DescribePlacementGroupsCommand.ts +++ b/clients/client-ec2/commands/DescribePlacementGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePlacementGroupsCommandInput = DescribePlacementGroupsRequest; @@ -70,14 +70,14 @@ export class DescribePlacementGroupsCommand extends $Command< private serialize( input: DescribePlacementGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribePlacementGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribePlacementGroupsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribePrefixListsCommand.ts b/clients/client-ec2/commands/DescribePrefixListsCommand.ts index 5a3d69e898fd..28ed8f38e187 100644 --- a/clients/client-ec2/commands/DescribePrefixListsCommand.ts +++ b/clients/client-ec2/commands/DescribePrefixListsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePrefixListsCommandInput = DescribePrefixListsRequest; @@ -70,14 +70,14 @@ export class DescribePrefixListsCommand extends $Command< private serialize( input: DescribePrefixListsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribePrefixListsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribePrefixListsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribePrincipalIdFormatCommand.ts b/clients/client-ec2/commands/DescribePrincipalIdFormatCommand.ts index aeabc589e68c..a66a07c7fb39 100644 --- a/clients/client-ec2/commands/DescribePrincipalIdFormatCommand.ts +++ b/clients/client-ec2/commands/DescribePrincipalIdFormatCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePrincipalIdFormatCommandInput = DescribePrincipalIdFormatRequest; @@ -70,14 +70,14 @@ export class DescribePrincipalIdFormatCommand extends $Command< private serialize( input: DescribePrincipalIdFormatCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribePrincipalIdFormatCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribePrincipalIdFormatCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribePublicIpv4PoolsCommand.ts b/clients/client-ec2/commands/DescribePublicIpv4PoolsCommand.ts index dd0a1df893d2..10998a2fec50 100644 --- a/clients/client-ec2/commands/DescribePublicIpv4PoolsCommand.ts +++ b/clients/client-ec2/commands/DescribePublicIpv4PoolsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePublicIpv4PoolsCommandInput = DescribePublicIpv4PoolsRequest; @@ -70,14 +70,14 @@ export class DescribePublicIpv4PoolsCommand extends $Command< private serialize( input: DescribePublicIpv4PoolsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribePublicIpv4PoolsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribePublicIpv4PoolsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeRegionsCommand.ts b/clients/client-ec2/commands/DescribeRegionsCommand.ts index 93e1f3a96b07..bf6f2c5506bd 100644 --- a/clients/client-ec2/commands/DescribeRegionsCommand.ts +++ b/clients/client-ec2/commands/DescribeRegionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRegionsCommandInput = DescribeRegionsRequest; @@ -64,14 +64,14 @@ export class DescribeRegionsCommand extends $Command< private serialize( input: DescribeRegionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeRegionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeRegionsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeReservedInstancesCommand.ts b/clients/client-ec2/commands/DescribeReservedInstancesCommand.ts index 0a358150d919..e0d5a0e9af70 100644 --- a/clients/client-ec2/commands/DescribeReservedInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeReservedInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedInstancesCommandInput = DescribeReservedInstancesRequest; @@ -70,14 +70,14 @@ export class DescribeReservedInstancesCommand extends $Command< private serialize( input: DescribeReservedInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeReservedInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeReservedInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeReservedInstancesListingsCommand.ts b/clients/client-ec2/commands/DescribeReservedInstancesListingsCommand.ts index f01a0567f1ba..40bee4549dd0 100644 --- a/clients/client-ec2/commands/DescribeReservedInstancesListingsCommand.ts +++ b/clients/client-ec2/commands/DescribeReservedInstancesListingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedInstancesListingsCommandInput = DescribeReservedInstancesListingsRequest; @@ -70,7 +70,7 @@ export class DescribeReservedInstancesListingsCommand extends $Command< private serialize( input: DescribeReservedInstancesListingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeReservedInstancesListingsCommand( input, @@ -80,7 +80,7 @@ export class DescribeReservedInstancesListingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeReservedInstancesListingsCommand( output, diff --git a/clients/client-ec2/commands/DescribeReservedInstancesModificationsCommand.ts b/clients/client-ec2/commands/DescribeReservedInstancesModificationsCommand.ts index b3d0407f5291..822d977a809b 100644 --- a/clients/client-ec2/commands/DescribeReservedInstancesModificationsCommand.ts +++ b/clients/client-ec2/commands/DescribeReservedInstancesModificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedInstancesModificationsCommandInput = DescribeReservedInstancesModificationsRequest; @@ -72,7 +72,7 @@ export class DescribeReservedInstancesModificationsCommand extends $Command< private serialize( input: DescribeReservedInstancesModificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeReservedInstancesModificationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeReservedInstancesModificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeReservedInstancesModificationsCommand( output, diff --git a/clients/client-ec2/commands/DescribeReservedInstancesOfferingsCommand.ts b/clients/client-ec2/commands/DescribeReservedInstancesOfferingsCommand.ts index a9c18e29c543..c775956ab6bf 100644 --- a/clients/client-ec2/commands/DescribeReservedInstancesOfferingsCommand.ts +++ b/clients/client-ec2/commands/DescribeReservedInstancesOfferingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedInstancesOfferingsCommandInput = DescribeReservedInstancesOfferingsRequest; @@ -70,7 +70,7 @@ export class DescribeReservedInstancesOfferingsCommand extends $Command< private serialize( input: DescribeReservedInstancesOfferingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeReservedInstancesOfferingsCommand( input, @@ -80,7 +80,7 @@ export class DescribeReservedInstancesOfferingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeReservedInstancesOfferingsCommand( output, diff --git a/clients/client-ec2/commands/DescribeRouteTablesCommand.ts b/clients/client-ec2/commands/DescribeRouteTablesCommand.ts index e8a0934f8792..2cb95355820a 100644 --- a/clients/client-ec2/commands/DescribeRouteTablesCommand.ts +++ b/clients/client-ec2/commands/DescribeRouteTablesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRouteTablesCommandInput = DescribeRouteTablesRequest; @@ -70,14 +70,14 @@ export class DescribeRouteTablesCommand extends $Command< private serialize( input: DescribeRouteTablesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeRouteTablesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeRouteTablesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeScheduledInstanceAvailabilityCommand.ts b/clients/client-ec2/commands/DescribeScheduledInstanceAvailabilityCommand.ts index fee5f96b2e24..1909aa4c9669 100644 --- a/clients/client-ec2/commands/DescribeScheduledInstanceAvailabilityCommand.ts +++ b/clients/client-ec2/commands/DescribeScheduledInstanceAvailabilityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScheduledInstanceAvailabilityCommandInput = DescribeScheduledInstanceAvailabilityRequest; @@ -72,7 +72,7 @@ export class DescribeScheduledInstanceAvailabilityCommand extends $Command< private serialize( input: DescribeScheduledInstanceAvailabilityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeScheduledInstanceAvailabilityCommand( input, @@ -82,7 +82,7 @@ export class DescribeScheduledInstanceAvailabilityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeScheduledInstanceAvailabilityCommand( output, diff --git a/clients/client-ec2/commands/DescribeScheduledInstancesCommand.ts b/clients/client-ec2/commands/DescribeScheduledInstancesCommand.ts index e695e4d9215b..480f6b0c77a0 100644 --- a/clients/client-ec2/commands/DescribeScheduledInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeScheduledInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScheduledInstancesCommandInput = DescribeScheduledInstancesRequest; @@ -70,14 +70,14 @@ export class DescribeScheduledInstancesCommand extends $Command< private serialize( input: DescribeScheduledInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeScheduledInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeScheduledInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeSecurityGroupReferencesCommand.ts b/clients/client-ec2/commands/DescribeSecurityGroupReferencesCommand.ts index 482abbb6d71a..db1bd8b445fe 100644 --- a/clients/client-ec2/commands/DescribeSecurityGroupReferencesCommand.ts +++ b/clients/client-ec2/commands/DescribeSecurityGroupReferencesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSecurityGroupReferencesCommandInput = DescribeSecurityGroupReferencesRequest; @@ -70,7 +70,7 @@ export class DescribeSecurityGroupReferencesCommand extends $Command< private serialize( input: DescribeSecurityGroupReferencesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeSecurityGroupReferencesCommand( input, @@ -80,7 +80,7 @@ export class DescribeSecurityGroupReferencesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeSecurityGroupReferencesCommand( output, diff --git a/clients/client-ec2/commands/DescribeSecurityGroupsCommand.ts b/clients/client-ec2/commands/DescribeSecurityGroupsCommand.ts index 4166fbfa40ce..04130cfd5841 100644 --- a/clients/client-ec2/commands/DescribeSecurityGroupsCommand.ts +++ b/clients/client-ec2/commands/DescribeSecurityGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSecurityGroupsCommandInput = DescribeSecurityGroupsRequest; @@ -70,14 +70,14 @@ export class DescribeSecurityGroupsCommand extends $Command< private serialize( input: DescribeSecurityGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeSecurityGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeSecurityGroupsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeSnapshotAttributeCommand.ts b/clients/client-ec2/commands/DescribeSnapshotAttributeCommand.ts index bfef94b38a04..d0100f552004 100644 --- a/clients/client-ec2/commands/DescribeSnapshotAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeSnapshotAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSnapshotAttributeCommandInput = DescribeSnapshotAttributeRequest; @@ -70,14 +70,14 @@ export class DescribeSnapshotAttributeCommand extends $Command< private serialize( input: DescribeSnapshotAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeSnapshotAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeSnapshotAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeSnapshotsCommand.ts b/clients/client-ec2/commands/DescribeSnapshotsCommand.ts index 879bac7e9b54..d9528a0d139b 100644 --- a/clients/client-ec2/commands/DescribeSnapshotsCommand.ts +++ b/clients/client-ec2/commands/DescribeSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSnapshotsCommandInput = DescribeSnapshotsRequest; @@ -67,14 +67,14 @@ export class DescribeSnapshotsCommand extends $Command< private serialize( input: DescribeSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeSnapshotsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeSpotDatafeedSubscriptionCommand.ts b/clients/client-ec2/commands/DescribeSpotDatafeedSubscriptionCommand.ts index 374e3dac403e..4916d07bb685 100644 --- a/clients/client-ec2/commands/DescribeSpotDatafeedSubscriptionCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotDatafeedSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSpotDatafeedSubscriptionCommandInput = DescribeSpotDatafeedSubscriptionRequest; @@ -70,7 +70,7 @@ export class DescribeSpotDatafeedSubscriptionCommand extends $Command< private serialize( input: DescribeSpotDatafeedSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeSpotDatafeedSubscriptionCommand( input, @@ -80,7 +80,7 @@ export class DescribeSpotDatafeedSubscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeSpotDatafeedSubscriptionCommand( output, diff --git a/clients/client-ec2/commands/DescribeSpotFleetInstancesCommand.ts b/clients/client-ec2/commands/DescribeSpotFleetInstancesCommand.ts index 83364c3520d9..a5b5b0ba52b2 100644 --- a/clients/client-ec2/commands/DescribeSpotFleetInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotFleetInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSpotFleetInstancesCommandInput = DescribeSpotFleetInstancesRequest; @@ -70,14 +70,14 @@ export class DescribeSpotFleetInstancesCommand extends $Command< private serialize( input: DescribeSpotFleetInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeSpotFleetInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeSpotFleetInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeSpotFleetRequestHistoryCommand.ts b/clients/client-ec2/commands/DescribeSpotFleetRequestHistoryCommand.ts index c643065945d4..edcfc781c8dc 100644 --- a/clients/client-ec2/commands/DescribeSpotFleetRequestHistoryCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotFleetRequestHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSpotFleetRequestHistoryCommandInput = DescribeSpotFleetRequestHistoryRequest; @@ -70,7 +70,7 @@ export class DescribeSpotFleetRequestHistoryCommand extends $Command< private serialize( input: DescribeSpotFleetRequestHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeSpotFleetRequestHistoryCommand( input, @@ -80,7 +80,7 @@ export class DescribeSpotFleetRequestHistoryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeSpotFleetRequestHistoryCommand( output, diff --git a/clients/client-ec2/commands/DescribeSpotFleetRequestsCommand.ts b/clients/client-ec2/commands/DescribeSpotFleetRequestsCommand.ts index 8186d35f4474..ca0dded4591c 100644 --- a/clients/client-ec2/commands/DescribeSpotFleetRequestsCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotFleetRequestsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSpotFleetRequestsCommandInput = DescribeSpotFleetRequestsRequest; @@ -70,14 +70,14 @@ export class DescribeSpotFleetRequestsCommand extends $Command< private serialize( input: DescribeSpotFleetRequestsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeSpotFleetRequestsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeSpotFleetRequestsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeSpotInstanceRequestsCommand.ts b/clients/client-ec2/commands/DescribeSpotInstanceRequestsCommand.ts index 042d24d8fbdf..21e1dd4315eb 100644 --- a/clients/client-ec2/commands/DescribeSpotInstanceRequestsCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotInstanceRequestsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSpotInstanceRequestsCommandInput = DescribeSpotInstanceRequestsRequest; @@ -70,14 +70,14 @@ export class DescribeSpotInstanceRequestsCommand extends $Command< private serialize( input: DescribeSpotInstanceRequestsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeSpotInstanceRequestsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeSpotInstanceRequestsCommand( output, diff --git a/clients/client-ec2/commands/DescribeSpotPriceHistoryCommand.ts b/clients/client-ec2/commands/DescribeSpotPriceHistoryCommand.ts index 7f4c2e28f1ed..54504fce0d37 100644 --- a/clients/client-ec2/commands/DescribeSpotPriceHistoryCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotPriceHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSpotPriceHistoryCommandInput = DescribeSpotPriceHistoryRequest; @@ -70,14 +70,14 @@ export class DescribeSpotPriceHistoryCommand extends $Command< private serialize( input: DescribeSpotPriceHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeSpotPriceHistoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeSpotPriceHistoryCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeStaleSecurityGroupsCommand.ts b/clients/client-ec2/commands/DescribeStaleSecurityGroupsCommand.ts index f16e4eefc166..1552b6475c40 100644 --- a/clients/client-ec2/commands/DescribeStaleSecurityGroupsCommand.ts +++ b/clients/client-ec2/commands/DescribeStaleSecurityGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStaleSecurityGroupsCommandInput = DescribeStaleSecurityGroupsRequest; @@ -70,14 +70,14 @@ export class DescribeStaleSecurityGroupsCommand extends $Command< private serialize( input: DescribeStaleSecurityGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeStaleSecurityGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeStaleSecurityGroupsCommand( output, diff --git a/clients/client-ec2/commands/DescribeSubnetsCommand.ts b/clients/client-ec2/commands/DescribeSubnetsCommand.ts index 0e10932340c7..819e2e30199e 100644 --- a/clients/client-ec2/commands/DescribeSubnetsCommand.ts +++ b/clients/client-ec2/commands/DescribeSubnetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSubnetsCommandInput = DescribeSubnetsRequest; @@ -64,14 +64,14 @@ export class DescribeSubnetsCommand extends $Command< private serialize( input: DescribeSubnetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeSubnetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeSubnetsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeTagsCommand.ts b/clients/client-ec2/commands/DescribeTagsCommand.ts index ee4bf39ababc..e3c341ccea01 100644 --- a/clients/client-ec2/commands/DescribeTagsCommand.ts +++ b/clients/client-ec2/commands/DescribeTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTagsCommandInput = DescribeTagsRequest; @@ -64,14 +64,14 @@ export class DescribeTagsCommand extends $Command< private serialize( input: DescribeTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeTagsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeTrafficMirrorFiltersCommand.ts b/clients/client-ec2/commands/DescribeTrafficMirrorFiltersCommand.ts index 691632a23028..f955acdaed67 100644 --- a/clients/client-ec2/commands/DescribeTrafficMirrorFiltersCommand.ts +++ b/clients/client-ec2/commands/DescribeTrafficMirrorFiltersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrafficMirrorFiltersCommandInput = DescribeTrafficMirrorFiltersRequest; @@ -70,14 +70,14 @@ export class DescribeTrafficMirrorFiltersCommand extends $Command< private serialize( input: DescribeTrafficMirrorFiltersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeTrafficMirrorFiltersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeTrafficMirrorFiltersCommand( output, diff --git a/clients/client-ec2/commands/DescribeTrafficMirrorSessionsCommand.ts b/clients/client-ec2/commands/DescribeTrafficMirrorSessionsCommand.ts index 7247db6df159..e2d98106fc15 100644 --- a/clients/client-ec2/commands/DescribeTrafficMirrorSessionsCommand.ts +++ b/clients/client-ec2/commands/DescribeTrafficMirrorSessionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrafficMirrorSessionsCommandInput = DescribeTrafficMirrorSessionsRequest; @@ -70,14 +70,14 @@ export class DescribeTrafficMirrorSessionsCommand extends $Command< private serialize( input: DescribeTrafficMirrorSessionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeTrafficMirrorSessionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeTrafficMirrorSessionsCommand( output, diff --git a/clients/client-ec2/commands/DescribeTrafficMirrorTargetsCommand.ts b/clients/client-ec2/commands/DescribeTrafficMirrorTargetsCommand.ts index 68972427ffd5..0a9059b9bc17 100644 --- a/clients/client-ec2/commands/DescribeTrafficMirrorTargetsCommand.ts +++ b/clients/client-ec2/commands/DescribeTrafficMirrorTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrafficMirrorTargetsCommandInput = DescribeTrafficMirrorTargetsRequest; @@ -70,14 +70,14 @@ export class DescribeTrafficMirrorTargetsCommand extends $Command< private serialize( input: DescribeTrafficMirrorTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeTrafficMirrorTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeTrafficMirrorTargetsCommand( output, diff --git a/clients/client-ec2/commands/DescribeTransitGatewayAttachmentsCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayAttachmentsCommand.ts index 31d0ef8e9862..40ad5467d974 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayAttachmentsCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayAttachmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTransitGatewayAttachmentsCommandInput = DescribeTransitGatewayAttachmentsRequest; @@ -70,7 +70,7 @@ export class DescribeTransitGatewayAttachmentsCommand extends $Command< private serialize( input: DescribeTransitGatewayAttachmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeTransitGatewayAttachmentsCommand( input, @@ -80,7 +80,7 @@ export class DescribeTransitGatewayAttachmentsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeTransitGatewayAttachmentsCommand( output, diff --git a/clients/client-ec2/commands/DescribeTransitGatewayMulticastDomainsCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayMulticastDomainsCommand.ts index 26b2b44f2e47..65f4616fc8f1 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayMulticastDomainsCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayMulticastDomainsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTransitGatewayMulticastDomainsCommandInput = DescribeTransitGatewayMulticastDomainsRequest; @@ -72,7 +72,7 @@ export class DescribeTransitGatewayMulticastDomainsCommand extends $Command< private serialize( input: DescribeTransitGatewayMulticastDomainsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeTransitGatewayMulticastDomainsCommand( input, @@ -82,7 +82,7 @@ export class DescribeTransitGatewayMulticastDomainsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeTransitGatewayMulticastDomainsCommand( output, diff --git a/clients/client-ec2/commands/DescribeTransitGatewayPeeringAttachmentsCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayPeeringAttachmentsCommand.ts index 5e40c86c0a0e..040393ab9d57 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayPeeringAttachmentsCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayPeeringAttachmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTransitGatewayPeeringAttachmentsCommandInput = DescribeTransitGatewayPeeringAttachmentsRequest; @@ -72,7 +72,7 @@ export class DescribeTransitGatewayPeeringAttachmentsCommand extends $Command< private serialize( input: DescribeTransitGatewayPeeringAttachmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeTransitGatewayPeeringAttachmentsCommand( input, @@ -82,7 +82,7 @@ export class DescribeTransitGatewayPeeringAttachmentsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeTransitGatewayPeeringAttachmentsCommand( output, diff --git a/clients/client-ec2/commands/DescribeTransitGatewayRouteTablesCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayRouteTablesCommand.ts index 976a48651da6..51e53a073b5f 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayRouteTablesCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayRouteTablesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTransitGatewayRouteTablesCommandInput = DescribeTransitGatewayRouteTablesRequest; @@ -70,7 +70,7 @@ export class DescribeTransitGatewayRouteTablesCommand extends $Command< private serialize( input: DescribeTransitGatewayRouteTablesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeTransitGatewayRouteTablesCommand( input, @@ -80,7 +80,7 @@ export class DescribeTransitGatewayRouteTablesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeTransitGatewayRouteTablesCommand( output, diff --git a/clients/client-ec2/commands/DescribeTransitGatewayVpcAttachmentsCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayVpcAttachmentsCommand.ts index e6a015f3c3fb..c34507f8b5e9 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayVpcAttachmentsCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayVpcAttachmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTransitGatewayVpcAttachmentsCommandInput = DescribeTransitGatewayVpcAttachmentsRequest; @@ -72,7 +72,7 @@ export class DescribeTransitGatewayVpcAttachmentsCommand extends $Command< private serialize( input: DescribeTransitGatewayVpcAttachmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeTransitGatewayVpcAttachmentsCommand( input, @@ -82,7 +82,7 @@ export class DescribeTransitGatewayVpcAttachmentsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeTransitGatewayVpcAttachmentsCommand( output, diff --git a/clients/client-ec2/commands/DescribeTransitGatewaysCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewaysCommand.ts index 7adb87a8c921..1170c3d8ef93 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewaysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTransitGatewaysCommandInput = DescribeTransitGatewaysRequest; @@ -70,14 +70,14 @@ export class DescribeTransitGatewaysCommand extends $Command< private serialize( input: DescribeTransitGatewaysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeTransitGatewaysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeTransitGatewaysCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeVolumeAttributeCommand.ts b/clients/client-ec2/commands/DescribeVolumeAttributeCommand.ts index f36469a41753..cb9902247824 100644 --- a/clients/client-ec2/commands/DescribeVolumeAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeVolumeAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVolumeAttributeCommandInput = DescribeVolumeAttributeRequest; @@ -70,14 +70,14 @@ export class DescribeVolumeAttributeCommand extends $Command< private serialize( input: DescribeVolumeAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVolumeAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVolumeAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeVolumeStatusCommand.ts b/clients/client-ec2/commands/DescribeVolumeStatusCommand.ts index 50e4a283b4a2..e760f786c153 100644 --- a/clients/client-ec2/commands/DescribeVolumeStatusCommand.ts +++ b/clients/client-ec2/commands/DescribeVolumeStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVolumeStatusCommandInput = DescribeVolumeStatusRequest; @@ -70,14 +70,14 @@ export class DescribeVolumeStatusCommand extends $Command< private serialize( input: DescribeVolumeStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVolumeStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVolumeStatusCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeVolumesCommand.ts b/clients/client-ec2/commands/DescribeVolumesCommand.ts index 98c9977492c9..6fbdd03d65ed 100644 --- a/clients/client-ec2/commands/DescribeVolumesCommand.ts +++ b/clients/client-ec2/commands/DescribeVolumesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVolumesCommandInput = DescribeVolumesRequest; @@ -64,14 +64,14 @@ export class DescribeVolumesCommand extends $Command< private serialize( input: DescribeVolumesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVolumesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVolumesCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeVolumesModificationsCommand.ts b/clients/client-ec2/commands/DescribeVolumesModificationsCommand.ts index 91cc50c8099f..2f39844080c8 100644 --- a/clients/client-ec2/commands/DescribeVolumesModificationsCommand.ts +++ b/clients/client-ec2/commands/DescribeVolumesModificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVolumesModificationsCommandInput = DescribeVolumesModificationsRequest; @@ -70,14 +70,14 @@ export class DescribeVolumesModificationsCommand extends $Command< private serialize( input: DescribeVolumesModificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVolumesModificationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVolumesModificationsCommand( output, diff --git a/clients/client-ec2/commands/DescribeVpcAttributeCommand.ts b/clients/client-ec2/commands/DescribeVpcAttributeCommand.ts index d0ab91705459..4786bb25ff87 100644 --- a/clients/client-ec2/commands/DescribeVpcAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcAttributeCommandInput = DescribeVpcAttributeRequest; @@ -70,14 +70,14 @@ export class DescribeVpcAttributeCommand extends $Command< private serialize( input: DescribeVpcAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpcAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpcAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeVpcClassicLinkCommand.ts b/clients/client-ec2/commands/DescribeVpcClassicLinkCommand.ts index 570beed1b0ce..c6638b859e6a 100644 --- a/clients/client-ec2/commands/DescribeVpcClassicLinkCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcClassicLinkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcClassicLinkCommandInput = DescribeVpcClassicLinkRequest; @@ -70,14 +70,14 @@ export class DescribeVpcClassicLinkCommand extends $Command< private serialize( input: DescribeVpcClassicLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpcClassicLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpcClassicLinkCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeVpcClassicLinkDnsSupportCommand.ts b/clients/client-ec2/commands/DescribeVpcClassicLinkDnsSupportCommand.ts index 8d72eb7ed0e6..54ea9fecc1da 100644 --- a/clients/client-ec2/commands/DescribeVpcClassicLinkDnsSupportCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcClassicLinkDnsSupportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcClassicLinkDnsSupportCommandInput = DescribeVpcClassicLinkDnsSupportRequest; @@ -70,7 +70,7 @@ export class DescribeVpcClassicLinkDnsSupportCommand extends $Command< private serialize( input: DescribeVpcClassicLinkDnsSupportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpcClassicLinkDnsSupportCommand( input, @@ -80,7 +80,7 @@ export class DescribeVpcClassicLinkDnsSupportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpcClassicLinkDnsSupportCommand( output, diff --git a/clients/client-ec2/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts index 65ecc732fed3..6e5298d8e8ae 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcEndpointConnectionNotificationsCommandInput = DescribeVpcEndpointConnectionNotificationsRequest; @@ -72,7 +72,7 @@ export class DescribeVpcEndpointConnectionNotificationsCommand extends $Command< private serialize( input: DescribeVpcEndpointConnectionNotificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpcEndpointConnectionNotificationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeVpcEndpointConnectionNotificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpcEndpointConnectionNotificationsCommand( output, diff --git a/clients/client-ec2/commands/DescribeVpcEndpointConnectionsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointConnectionsCommand.ts index 05703eb78e01..ad0c08889303 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointConnectionsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointConnectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcEndpointConnectionsCommandInput = DescribeVpcEndpointConnectionsRequest; @@ -70,7 +70,7 @@ export class DescribeVpcEndpointConnectionsCommand extends $Command< private serialize( input: DescribeVpcEndpointConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpcEndpointConnectionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeVpcEndpointConnectionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpcEndpointConnectionsCommand( output, diff --git a/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts index 5f6902ca38b8..2433f012097a 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcEndpointServiceConfigurationsCommandInput = DescribeVpcEndpointServiceConfigurationsRequest; @@ -72,7 +72,7 @@ export class DescribeVpcEndpointServiceConfigurationsCommand extends $Command< private serialize( input: DescribeVpcEndpointServiceConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpcEndpointServiceConfigurationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeVpcEndpointServiceConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpcEndpointServiceConfigurationsCommand( output, diff --git a/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts index eb369395b72c..e8a668a7c5e7 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcEndpointServicePermissionsCommandInput = DescribeVpcEndpointServicePermissionsRequest; @@ -72,7 +72,7 @@ export class DescribeVpcEndpointServicePermissionsCommand extends $Command< private serialize( input: DescribeVpcEndpointServicePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpcEndpointServicePermissionsCommand( input, @@ -82,7 +82,7 @@ export class DescribeVpcEndpointServicePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpcEndpointServicePermissionsCommand( output, diff --git a/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts index 5a8f3ac11cd9..6826508f9001 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcEndpointServicesCommandInput = DescribeVpcEndpointServicesRequest; @@ -70,14 +70,14 @@ export class DescribeVpcEndpointServicesCommand extends $Command< private serialize( input: DescribeVpcEndpointServicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpcEndpointServicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpcEndpointServicesCommand( output, diff --git a/clients/client-ec2/commands/DescribeVpcEndpointsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointsCommand.ts index 0df4319d8adb..5d05904b7959 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcEndpointsCommandInput = DescribeVpcEndpointsRequest; @@ -70,14 +70,14 @@ export class DescribeVpcEndpointsCommand extends $Command< private serialize( input: DescribeVpcEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpcEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpcEndpointsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts b/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts index edcba4de080a..20781493bac5 100644 --- a/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcPeeringConnectionsCommandInput = DescribeVpcPeeringConnectionsRequest; @@ -70,14 +70,14 @@ export class DescribeVpcPeeringConnectionsCommand extends $Command< private serialize( input: DescribeVpcPeeringConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpcPeeringConnectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpcPeeringConnectionsCommand( output, diff --git a/clients/client-ec2/commands/DescribeVpcsCommand.ts b/clients/client-ec2/commands/DescribeVpcsCommand.ts index 133c5813988d..902426c4ad72 100644 --- a/clients/client-ec2/commands/DescribeVpcsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcsCommandInput = DescribeVpcsRequest; @@ -64,14 +64,14 @@ export class DescribeVpcsCommand extends $Command< private serialize( input: DescribeVpcsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpcsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpcsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts b/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts index cb3ece6e4eb1..7f470db6cdc4 100644 --- a/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpnConnectionsCommandInput = DescribeVpnConnectionsRequest; @@ -70,14 +70,14 @@ export class DescribeVpnConnectionsCommand extends $Command< private serialize( input: DescribeVpnConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpnConnectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpnConnectionsCommand(output, context); } diff --git a/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts b/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts index 32cfc6378166..46ebe47f2f2e 100644 --- a/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpnGatewaysCommandInput = DescribeVpnGatewaysRequest; @@ -70,14 +70,14 @@ export class DescribeVpnGatewaysCommand extends $Command< private serialize( input: DescribeVpnGatewaysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DescribeVpnGatewaysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DescribeVpnGatewaysCommand(output, context); } diff --git a/clients/client-ec2/commands/DetachClassicLinkVpcCommand.ts b/clients/client-ec2/commands/DetachClassicLinkVpcCommand.ts index 27ab15511ff9..624a14b108cb 100644 --- a/clients/client-ec2/commands/DetachClassicLinkVpcCommand.ts +++ b/clients/client-ec2/commands/DetachClassicLinkVpcCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachClassicLinkVpcCommandInput = DetachClassicLinkVpcRequest; @@ -70,14 +70,14 @@ export class DetachClassicLinkVpcCommand extends $Command< private serialize( input: DetachClassicLinkVpcCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DetachClassicLinkVpcCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DetachClassicLinkVpcCommand(output, context); } diff --git a/clients/client-ec2/commands/DetachInternetGatewayCommand.ts b/clients/client-ec2/commands/DetachInternetGatewayCommand.ts index c2526012a974..4ad6be8b5d88 100644 --- a/clients/client-ec2/commands/DetachInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/DetachInternetGatewayCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachInternetGatewayCommandInput = DetachInternetGatewayRequest; @@ -68,14 +68,14 @@ export class DetachInternetGatewayCommand extends $Command< private serialize( input: DetachInternetGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DetachInternetGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DetachInternetGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/DetachNetworkInterfaceCommand.ts b/clients/client-ec2/commands/DetachNetworkInterfaceCommand.ts index 2540af594868..94a9b8690b25 100644 --- a/clients/client-ec2/commands/DetachNetworkInterfaceCommand.ts +++ b/clients/client-ec2/commands/DetachNetworkInterfaceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachNetworkInterfaceCommandInput = DetachNetworkInterfaceRequest; @@ -68,14 +68,14 @@ export class DetachNetworkInterfaceCommand extends $Command< private serialize( input: DetachNetworkInterfaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DetachNetworkInterfaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DetachNetworkInterfaceCommand(output, context); } diff --git a/clients/client-ec2/commands/DetachVolumeCommand.ts b/clients/client-ec2/commands/DetachVolumeCommand.ts index bb883b3dbea2..a19d480bb96f 100644 --- a/clients/client-ec2/commands/DetachVolumeCommand.ts +++ b/clients/client-ec2/commands/DetachVolumeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachVolumeCommandInput = DetachVolumeRequest; @@ -64,14 +64,14 @@ export class DetachVolumeCommand extends $Command< private serialize( input: DetachVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DetachVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DetachVolumeCommand(output, context); } diff --git a/clients/client-ec2/commands/DetachVpnGatewayCommand.ts b/clients/client-ec2/commands/DetachVpnGatewayCommand.ts index 0041feea6d2b..e55fb35ad005 100644 --- a/clients/client-ec2/commands/DetachVpnGatewayCommand.ts +++ b/clients/client-ec2/commands/DetachVpnGatewayCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachVpnGatewayCommandInput = DetachVpnGatewayRequest; @@ -65,14 +65,14 @@ export class DetachVpnGatewayCommand extends $Command< private serialize( input: DetachVpnGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DetachVpnGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DetachVpnGatewayCommand(output, context); } diff --git a/clients/client-ec2/commands/DisableEbsEncryptionByDefaultCommand.ts b/clients/client-ec2/commands/DisableEbsEncryptionByDefaultCommand.ts index 174d4d1cf134..4b49eee71d77 100644 --- a/clients/client-ec2/commands/DisableEbsEncryptionByDefaultCommand.ts +++ b/clients/client-ec2/commands/DisableEbsEncryptionByDefaultCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableEbsEncryptionByDefaultCommandInput = DisableEbsEncryptionByDefaultRequest; @@ -70,14 +70,14 @@ export class DisableEbsEncryptionByDefaultCommand extends $Command< private serialize( input: DisableEbsEncryptionByDefaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisableEbsEncryptionByDefaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisableEbsEncryptionByDefaultCommand( output, diff --git a/clients/client-ec2/commands/DisableFastSnapshotRestoresCommand.ts b/clients/client-ec2/commands/DisableFastSnapshotRestoresCommand.ts index 3f70574aafc8..2218b33da61b 100644 --- a/clients/client-ec2/commands/DisableFastSnapshotRestoresCommand.ts +++ b/clients/client-ec2/commands/DisableFastSnapshotRestoresCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableFastSnapshotRestoresCommandInput = DisableFastSnapshotRestoresRequest; @@ -70,14 +70,14 @@ export class DisableFastSnapshotRestoresCommand extends $Command< private serialize( input: DisableFastSnapshotRestoresCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisableFastSnapshotRestoresCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisableFastSnapshotRestoresCommand( output, diff --git a/clients/client-ec2/commands/DisableTransitGatewayRouteTablePropagationCommand.ts b/clients/client-ec2/commands/DisableTransitGatewayRouteTablePropagationCommand.ts index 7f40c60d8fd4..2bd3980c4549 100644 --- a/clients/client-ec2/commands/DisableTransitGatewayRouteTablePropagationCommand.ts +++ b/clients/client-ec2/commands/DisableTransitGatewayRouteTablePropagationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableTransitGatewayRouteTablePropagationCommandInput = DisableTransitGatewayRouteTablePropagationRequest; @@ -72,7 +72,7 @@ export class DisableTransitGatewayRouteTablePropagationCommand extends $Command< private serialize( input: DisableTransitGatewayRouteTablePropagationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisableTransitGatewayRouteTablePropagationCommand( input, @@ -82,7 +82,7 @@ export class DisableTransitGatewayRouteTablePropagationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisableTransitGatewayRouteTablePropagationCommand( output, diff --git a/clients/client-ec2/commands/DisableVgwRoutePropagationCommand.ts b/clients/client-ec2/commands/DisableVgwRoutePropagationCommand.ts index fc08df72a08d..8de5b1f356df 100644 --- a/clients/client-ec2/commands/DisableVgwRoutePropagationCommand.ts +++ b/clients/client-ec2/commands/DisableVgwRoutePropagationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableVgwRoutePropagationCommandInput = DisableVgwRoutePropagationRequest; @@ -68,14 +68,14 @@ export class DisableVgwRoutePropagationCommand extends $Command< private serialize( input: DisableVgwRoutePropagationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisableVgwRoutePropagationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisableVgwRoutePropagationCommand(output, context); } diff --git a/clients/client-ec2/commands/DisableVpcClassicLinkCommand.ts b/clients/client-ec2/commands/DisableVpcClassicLinkCommand.ts index 4383f88c062a..4935be7e71e3 100644 --- a/clients/client-ec2/commands/DisableVpcClassicLinkCommand.ts +++ b/clients/client-ec2/commands/DisableVpcClassicLinkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableVpcClassicLinkCommandInput = DisableVpcClassicLinkRequest; @@ -70,14 +70,14 @@ export class DisableVpcClassicLinkCommand extends $Command< private serialize( input: DisableVpcClassicLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisableVpcClassicLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisableVpcClassicLinkCommand(output, context); } diff --git a/clients/client-ec2/commands/DisableVpcClassicLinkDnsSupportCommand.ts b/clients/client-ec2/commands/DisableVpcClassicLinkDnsSupportCommand.ts index 549d5fa3c861..72b4202baf0c 100644 --- a/clients/client-ec2/commands/DisableVpcClassicLinkDnsSupportCommand.ts +++ b/clients/client-ec2/commands/DisableVpcClassicLinkDnsSupportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableVpcClassicLinkDnsSupportCommandInput = DisableVpcClassicLinkDnsSupportRequest; @@ -70,7 +70,7 @@ export class DisableVpcClassicLinkDnsSupportCommand extends $Command< private serialize( input: DisableVpcClassicLinkDnsSupportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisableVpcClassicLinkDnsSupportCommand( input, @@ -80,7 +80,7 @@ export class DisableVpcClassicLinkDnsSupportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisableVpcClassicLinkDnsSupportCommand( output, diff --git a/clients/client-ec2/commands/DisassociateAddressCommand.ts b/clients/client-ec2/commands/DisassociateAddressCommand.ts index c3a890527186..a94b0cfa07f6 100644 --- a/clients/client-ec2/commands/DisassociateAddressCommand.ts +++ b/clients/client-ec2/commands/DisassociateAddressCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateAddressCommandInput = DisassociateAddressRequest; @@ -68,14 +68,14 @@ export class DisassociateAddressCommand extends $Command< private serialize( input: DisassociateAddressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisassociateAddressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisassociateAddressCommand(output, context); } diff --git a/clients/client-ec2/commands/DisassociateClientVpnTargetNetworkCommand.ts b/clients/client-ec2/commands/DisassociateClientVpnTargetNetworkCommand.ts index 18d297084311..96d77938a1a5 100644 --- a/clients/client-ec2/commands/DisassociateClientVpnTargetNetworkCommand.ts +++ b/clients/client-ec2/commands/DisassociateClientVpnTargetNetworkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateClientVpnTargetNetworkCommandInput = DisassociateClientVpnTargetNetworkRequest; @@ -70,7 +70,7 @@ export class DisassociateClientVpnTargetNetworkCommand extends $Command< private serialize( input: DisassociateClientVpnTargetNetworkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisassociateClientVpnTargetNetworkCommand( input, @@ -80,7 +80,7 @@ export class DisassociateClientVpnTargetNetworkCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisassociateClientVpnTargetNetworkCommand( output, diff --git a/clients/client-ec2/commands/DisassociateIamInstanceProfileCommand.ts b/clients/client-ec2/commands/DisassociateIamInstanceProfileCommand.ts index e57841fb55c5..adb50dc13866 100644 --- a/clients/client-ec2/commands/DisassociateIamInstanceProfileCommand.ts +++ b/clients/client-ec2/commands/DisassociateIamInstanceProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateIamInstanceProfileCommandInput = DisassociateIamInstanceProfileRequest; @@ -70,7 +70,7 @@ export class DisassociateIamInstanceProfileCommand extends $Command< private serialize( input: DisassociateIamInstanceProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisassociateIamInstanceProfileCommand( input, @@ -80,7 +80,7 @@ export class DisassociateIamInstanceProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisassociateIamInstanceProfileCommand( output, diff --git a/clients/client-ec2/commands/DisassociateRouteTableCommand.ts b/clients/client-ec2/commands/DisassociateRouteTableCommand.ts index 60a2909673a9..8a6a60e8f28c 100644 --- a/clients/client-ec2/commands/DisassociateRouteTableCommand.ts +++ b/clients/client-ec2/commands/DisassociateRouteTableCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateRouteTableCommandInput = DisassociateRouteTableRequest; @@ -68,14 +68,14 @@ export class DisassociateRouteTableCommand extends $Command< private serialize( input: DisassociateRouteTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisassociateRouteTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisassociateRouteTableCommand(output, context); } diff --git a/clients/client-ec2/commands/DisassociateSubnetCidrBlockCommand.ts b/clients/client-ec2/commands/DisassociateSubnetCidrBlockCommand.ts index 2d1591d0c97c..861c9ffb7028 100644 --- a/clients/client-ec2/commands/DisassociateSubnetCidrBlockCommand.ts +++ b/clients/client-ec2/commands/DisassociateSubnetCidrBlockCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateSubnetCidrBlockCommandInput = DisassociateSubnetCidrBlockRequest; @@ -70,14 +70,14 @@ export class DisassociateSubnetCidrBlockCommand extends $Command< private serialize( input: DisassociateSubnetCidrBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisassociateSubnetCidrBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisassociateSubnetCidrBlockCommand( output, diff --git a/clients/client-ec2/commands/DisassociateTransitGatewayMulticastDomainCommand.ts b/clients/client-ec2/commands/DisassociateTransitGatewayMulticastDomainCommand.ts index e93811bbda75..9a7968193b4a 100644 --- a/clients/client-ec2/commands/DisassociateTransitGatewayMulticastDomainCommand.ts +++ b/clients/client-ec2/commands/DisassociateTransitGatewayMulticastDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateTransitGatewayMulticastDomainCommandInput = DisassociateTransitGatewayMulticastDomainRequest; @@ -72,7 +72,7 @@ export class DisassociateTransitGatewayMulticastDomainCommand extends $Command< private serialize( input: DisassociateTransitGatewayMulticastDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisassociateTransitGatewayMulticastDomainCommand( input, @@ -82,7 +82,7 @@ export class DisassociateTransitGatewayMulticastDomainCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisassociateTransitGatewayMulticastDomainCommand( output, diff --git a/clients/client-ec2/commands/DisassociateTransitGatewayRouteTableCommand.ts b/clients/client-ec2/commands/DisassociateTransitGatewayRouteTableCommand.ts index 128f715a7e99..4aaff9dd2058 100644 --- a/clients/client-ec2/commands/DisassociateTransitGatewayRouteTableCommand.ts +++ b/clients/client-ec2/commands/DisassociateTransitGatewayRouteTableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateTransitGatewayRouteTableCommandInput = DisassociateTransitGatewayRouteTableRequest; @@ -72,7 +72,7 @@ export class DisassociateTransitGatewayRouteTableCommand extends $Command< private serialize( input: DisassociateTransitGatewayRouteTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisassociateTransitGatewayRouteTableCommand( input, @@ -82,7 +82,7 @@ export class DisassociateTransitGatewayRouteTableCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisassociateTransitGatewayRouteTableCommand( output, diff --git a/clients/client-ec2/commands/DisassociateVpcCidrBlockCommand.ts b/clients/client-ec2/commands/DisassociateVpcCidrBlockCommand.ts index 86bf8bd87a20..e4274e287119 100644 --- a/clients/client-ec2/commands/DisassociateVpcCidrBlockCommand.ts +++ b/clients/client-ec2/commands/DisassociateVpcCidrBlockCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateVpcCidrBlockCommandInput = DisassociateVpcCidrBlockRequest; @@ -70,14 +70,14 @@ export class DisassociateVpcCidrBlockCommand extends $Command< private serialize( input: DisassociateVpcCidrBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2DisassociateVpcCidrBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2DisassociateVpcCidrBlockCommand(output, context); } diff --git a/clients/client-ec2/commands/EnableEbsEncryptionByDefaultCommand.ts b/clients/client-ec2/commands/EnableEbsEncryptionByDefaultCommand.ts index 6476c6df4c31..b72f351191b1 100644 --- a/clients/client-ec2/commands/EnableEbsEncryptionByDefaultCommand.ts +++ b/clients/client-ec2/commands/EnableEbsEncryptionByDefaultCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableEbsEncryptionByDefaultCommandInput = EnableEbsEncryptionByDefaultRequest; @@ -70,14 +70,14 @@ export class EnableEbsEncryptionByDefaultCommand extends $Command< private serialize( input: EnableEbsEncryptionByDefaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2EnableEbsEncryptionByDefaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2EnableEbsEncryptionByDefaultCommand( output, diff --git a/clients/client-ec2/commands/EnableFastSnapshotRestoresCommand.ts b/clients/client-ec2/commands/EnableFastSnapshotRestoresCommand.ts index d50b015c6041..095d8a0dce25 100644 --- a/clients/client-ec2/commands/EnableFastSnapshotRestoresCommand.ts +++ b/clients/client-ec2/commands/EnableFastSnapshotRestoresCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableFastSnapshotRestoresCommandInput = EnableFastSnapshotRestoresRequest; @@ -70,14 +70,14 @@ export class EnableFastSnapshotRestoresCommand extends $Command< private serialize( input: EnableFastSnapshotRestoresCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2EnableFastSnapshotRestoresCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2EnableFastSnapshotRestoresCommand(output, context); } diff --git a/clients/client-ec2/commands/EnableTransitGatewayRouteTablePropagationCommand.ts b/clients/client-ec2/commands/EnableTransitGatewayRouteTablePropagationCommand.ts index 8c7be34587b0..07f2dc8a3af9 100644 --- a/clients/client-ec2/commands/EnableTransitGatewayRouteTablePropagationCommand.ts +++ b/clients/client-ec2/commands/EnableTransitGatewayRouteTablePropagationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableTransitGatewayRouteTablePropagationCommandInput = EnableTransitGatewayRouteTablePropagationRequest; @@ -72,7 +72,7 @@ export class EnableTransitGatewayRouteTablePropagationCommand extends $Command< private serialize( input: EnableTransitGatewayRouteTablePropagationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2EnableTransitGatewayRouteTablePropagationCommand( input, @@ -82,7 +82,7 @@ export class EnableTransitGatewayRouteTablePropagationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2EnableTransitGatewayRouteTablePropagationCommand( output, diff --git a/clients/client-ec2/commands/EnableVgwRoutePropagationCommand.ts b/clients/client-ec2/commands/EnableVgwRoutePropagationCommand.ts index e52bf83dbc55..3fce5f46821a 100644 --- a/clients/client-ec2/commands/EnableVgwRoutePropagationCommand.ts +++ b/clients/client-ec2/commands/EnableVgwRoutePropagationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableVgwRoutePropagationCommandInput = EnableVgwRoutePropagationRequest; @@ -68,14 +68,14 @@ export class EnableVgwRoutePropagationCommand extends $Command< private serialize( input: EnableVgwRoutePropagationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2EnableVgwRoutePropagationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2EnableVgwRoutePropagationCommand(output, context); } diff --git a/clients/client-ec2/commands/EnableVolumeIOCommand.ts b/clients/client-ec2/commands/EnableVolumeIOCommand.ts index 75080e873988..5f008cb8016e 100644 --- a/clients/client-ec2/commands/EnableVolumeIOCommand.ts +++ b/clients/client-ec2/commands/EnableVolumeIOCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableVolumeIOCommandInput = EnableVolumeIORequest; @@ -65,14 +65,14 @@ export class EnableVolumeIOCommand extends $Command< private serialize( input: EnableVolumeIOCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2EnableVolumeIOCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2EnableVolumeIOCommand(output, context); } diff --git a/clients/client-ec2/commands/EnableVpcClassicLinkCommand.ts b/clients/client-ec2/commands/EnableVpcClassicLinkCommand.ts index fd9209215ac2..cf586d9b0e29 100644 --- a/clients/client-ec2/commands/EnableVpcClassicLinkCommand.ts +++ b/clients/client-ec2/commands/EnableVpcClassicLinkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableVpcClassicLinkCommandInput = EnableVpcClassicLinkRequest; @@ -70,14 +70,14 @@ export class EnableVpcClassicLinkCommand extends $Command< private serialize( input: EnableVpcClassicLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2EnableVpcClassicLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2EnableVpcClassicLinkCommand(output, context); } diff --git a/clients/client-ec2/commands/EnableVpcClassicLinkDnsSupportCommand.ts b/clients/client-ec2/commands/EnableVpcClassicLinkDnsSupportCommand.ts index 6d4e300d3211..5dfbdc4e4b91 100644 --- a/clients/client-ec2/commands/EnableVpcClassicLinkDnsSupportCommand.ts +++ b/clients/client-ec2/commands/EnableVpcClassicLinkDnsSupportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableVpcClassicLinkDnsSupportCommandInput = EnableVpcClassicLinkDnsSupportRequest; @@ -70,7 +70,7 @@ export class EnableVpcClassicLinkDnsSupportCommand extends $Command< private serialize( input: EnableVpcClassicLinkDnsSupportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2EnableVpcClassicLinkDnsSupportCommand( input, @@ -80,7 +80,7 @@ export class EnableVpcClassicLinkDnsSupportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2EnableVpcClassicLinkDnsSupportCommand( output, diff --git a/clients/client-ec2/commands/ExportClientVpnClientCertificateRevocationListCommand.ts b/clients/client-ec2/commands/ExportClientVpnClientCertificateRevocationListCommand.ts index 2937ba6ace42..0187d0ec6e2e 100644 --- a/clients/client-ec2/commands/ExportClientVpnClientCertificateRevocationListCommand.ts +++ b/clients/client-ec2/commands/ExportClientVpnClientCertificateRevocationListCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportClientVpnClientCertificateRevocationListCommandInput = ExportClientVpnClientCertificateRevocationListRequest; @@ -72,7 +72,7 @@ export class ExportClientVpnClientCertificateRevocationListCommand extends $Comm private serialize( input: ExportClientVpnClientCertificateRevocationListCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ExportClientVpnClientCertificateRevocationListCommand( input, @@ -82,7 +82,7 @@ export class ExportClientVpnClientCertificateRevocationListCommand extends $Comm private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ExportClientVpnClientCertificateRevocationListCommand( output, diff --git a/clients/client-ec2/commands/ExportClientVpnClientConfigurationCommand.ts b/clients/client-ec2/commands/ExportClientVpnClientConfigurationCommand.ts index 9203bd8c44aa..c691ed729314 100644 --- a/clients/client-ec2/commands/ExportClientVpnClientConfigurationCommand.ts +++ b/clients/client-ec2/commands/ExportClientVpnClientConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportClientVpnClientConfigurationCommandInput = ExportClientVpnClientConfigurationRequest; @@ -70,7 +70,7 @@ export class ExportClientVpnClientConfigurationCommand extends $Command< private serialize( input: ExportClientVpnClientConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ExportClientVpnClientConfigurationCommand( input, @@ -80,7 +80,7 @@ export class ExportClientVpnClientConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ExportClientVpnClientConfigurationCommand( output, diff --git a/clients/client-ec2/commands/ExportImageCommand.ts b/clients/client-ec2/commands/ExportImageCommand.ts index b7080e10baed..cd14402c7487 100644 --- a/clients/client-ec2/commands/ExportImageCommand.ts +++ b/clients/client-ec2/commands/ExportImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportImageCommandInput = ExportImageRequest; @@ -64,14 +64,14 @@ export class ExportImageCommand extends $Command< private serialize( input: ExportImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ExportImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ExportImageCommand(output, context); } diff --git a/clients/client-ec2/commands/ExportTransitGatewayRoutesCommand.ts b/clients/client-ec2/commands/ExportTransitGatewayRoutesCommand.ts index 360a50f16d7e..50318c28a716 100644 --- a/clients/client-ec2/commands/ExportTransitGatewayRoutesCommand.ts +++ b/clients/client-ec2/commands/ExportTransitGatewayRoutesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportTransitGatewayRoutesCommandInput = ExportTransitGatewayRoutesRequest; @@ -70,14 +70,14 @@ export class ExportTransitGatewayRoutesCommand extends $Command< private serialize( input: ExportTransitGatewayRoutesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ExportTransitGatewayRoutesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ExportTransitGatewayRoutesCommand(output, context); } diff --git a/clients/client-ec2/commands/GetAssociatedIpv6PoolCidrsCommand.ts b/clients/client-ec2/commands/GetAssociatedIpv6PoolCidrsCommand.ts index f826617ae3d9..16a759113ea8 100644 --- a/clients/client-ec2/commands/GetAssociatedIpv6PoolCidrsCommand.ts +++ b/clients/client-ec2/commands/GetAssociatedIpv6PoolCidrsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAssociatedIpv6PoolCidrsCommandInput = GetAssociatedIpv6PoolCidrsRequest; @@ -70,14 +70,14 @@ export class GetAssociatedIpv6PoolCidrsCommand extends $Command< private serialize( input: GetAssociatedIpv6PoolCidrsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetAssociatedIpv6PoolCidrsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetAssociatedIpv6PoolCidrsCommand(output, context); } diff --git a/clients/client-ec2/commands/GetCapacityReservationUsageCommand.ts b/clients/client-ec2/commands/GetCapacityReservationUsageCommand.ts index 4767465f84d1..43d77958a998 100644 --- a/clients/client-ec2/commands/GetCapacityReservationUsageCommand.ts +++ b/clients/client-ec2/commands/GetCapacityReservationUsageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCapacityReservationUsageCommandInput = GetCapacityReservationUsageRequest; @@ -70,14 +70,14 @@ export class GetCapacityReservationUsageCommand extends $Command< private serialize( input: GetCapacityReservationUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetCapacityReservationUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetCapacityReservationUsageCommand( output, diff --git a/clients/client-ec2/commands/GetCoipPoolUsageCommand.ts b/clients/client-ec2/commands/GetCoipPoolUsageCommand.ts index f3c408551dc4..dc64dd4c1b8e 100644 --- a/clients/client-ec2/commands/GetCoipPoolUsageCommand.ts +++ b/clients/client-ec2/commands/GetCoipPoolUsageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCoipPoolUsageCommandInput = GetCoipPoolUsageRequest; @@ -67,14 +67,14 @@ export class GetCoipPoolUsageCommand extends $Command< private serialize( input: GetCoipPoolUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetCoipPoolUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetCoipPoolUsageCommand(output, context); } diff --git a/clients/client-ec2/commands/GetConsoleOutputCommand.ts b/clients/client-ec2/commands/GetConsoleOutputCommand.ts index 386361c2944b..74dc60987171 100644 --- a/clients/client-ec2/commands/GetConsoleOutputCommand.ts +++ b/clients/client-ec2/commands/GetConsoleOutputCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConsoleOutputCommandInput = GetConsoleOutputRequest; @@ -67,14 +67,14 @@ export class GetConsoleOutputCommand extends $Command< private serialize( input: GetConsoleOutputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetConsoleOutputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetConsoleOutputCommand(output, context); } diff --git a/clients/client-ec2/commands/GetConsoleScreenshotCommand.ts b/clients/client-ec2/commands/GetConsoleScreenshotCommand.ts index f95adbb32d70..68f55065c3d3 100644 --- a/clients/client-ec2/commands/GetConsoleScreenshotCommand.ts +++ b/clients/client-ec2/commands/GetConsoleScreenshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConsoleScreenshotCommandInput = GetConsoleScreenshotRequest; @@ -70,14 +70,14 @@ export class GetConsoleScreenshotCommand extends $Command< private serialize( input: GetConsoleScreenshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetConsoleScreenshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetConsoleScreenshotCommand(output, context); } diff --git a/clients/client-ec2/commands/GetDefaultCreditSpecificationCommand.ts b/clients/client-ec2/commands/GetDefaultCreditSpecificationCommand.ts index a1bb03a398f3..e1d87f041603 100644 --- a/clients/client-ec2/commands/GetDefaultCreditSpecificationCommand.ts +++ b/clients/client-ec2/commands/GetDefaultCreditSpecificationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDefaultCreditSpecificationCommandInput = GetDefaultCreditSpecificationRequest; @@ -70,14 +70,14 @@ export class GetDefaultCreditSpecificationCommand extends $Command< private serialize( input: GetDefaultCreditSpecificationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetDefaultCreditSpecificationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetDefaultCreditSpecificationCommand( output, diff --git a/clients/client-ec2/commands/GetEbsDefaultKmsKeyIdCommand.ts b/clients/client-ec2/commands/GetEbsDefaultKmsKeyIdCommand.ts index 5d926ddc0023..b0526dcefca3 100644 --- a/clients/client-ec2/commands/GetEbsDefaultKmsKeyIdCommand.ts +++ b/clients/client-ec2/commands/GetEbsDefaultKmsKeyIdCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEbsDefaultKmsKeyIdCommandInput = GetEbsDefaultKmsKeyIdRequest; @@ -70,14 +70,14 @@ export class GetEbsDefaultKmsKeyIdCommand extends $Command< private serialize( input: GetEbsDefaultKmsKeyIdCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetEbsDefaultKmsKeyIdCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetEbsDefaultKmsKeyIdCommand(output, context); } diff --git a/clients/client-ec2/commands/GetEbsEncryptionByDefaultCommand.ts b/clients/client-ec2/commands/GetEbsEncryptionByDefaultCommand.ts index e4979f38c8f3..dc1f70a87e37 100644 --- a/clients/client-ec2/commands/GetEbsEncryptionByDefaultCommand.ts +++ b/clients/client-ec2/commands/GetEbsEncryptionByDefaultCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEbsEncryptionByDefaultCommandInput = GetEbsEncryptionByDefaultRequest; @@ -70,14 +70,14 @@ export class GetEbsEncryptionByDefaultCommand extends $Command< private serialize( input: GetEbsEncryptionByDefaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetEbsEncryptionByDefaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetEbsEncryptionByDefaultCommand(output, context); } diff --git a/clients/client-ec2/commands/GetHostReservationPurchasePreviewCommand.ts b/clients/client-ec2/commands/GetHostReservationPurchasePreviewCommand.ts index 87f385f110f5..d80441a4a29e 100644 --- a/clients/client-ec2/commands/GetHostReservationPurchasePreviewCommand.ts +++ b/clients/client-ec2/commands/GetHostReservationPurchasePreviewCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHostReservationPurchasePreviewCommandInput = GetHostReservationPurchasePreviewRequest; @@ -70,7 +70,7 @@ export class GetHostReservationPurchasePreviewCommand extends $Command< private serialize( input: GetHostReservationPurchasePreviewCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetHostReservationPurchasePreviewCommand( input, @@ -80,7 +80,7 @@ export class GetHostReservationPurchasePreviewCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetHostReservationPurchasePreviewCommand( output, diff --git a/clients/client-ec2/commands/GetLaunchTemplateDataCommand.ts b/clients/client-ec2/commands/GetLaunchTemplateDataCommand.ts index 64528be81871..3049bd6fa6ac 100644 --- a/clients/client-ec2/commands/GetLaunchTemplateDataCommand.ts +++ b/clients/client-ec2/commands/GetLaunchTemplateDataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLaunchTemplateDataCommandInput = GetLaunchTemplateDataRequest; @@ -70,14 +70,14 @@ export class GetLaunchTemplateDataCommand extends $Command< private serialize( input: GetLaunchTemplateDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetLaunchTemplateDataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetLaunchTemplateDataCommand(output, context); } diff --git a/clients/client-ec2/commands/GetPasswordDataCommand.ts b/clients/client-ec2/commands/GetPasswordDataCommand.ts index 7b6c30d5dcb8..de9782450708 100644 --- a/clients/client-ec2/commands/GetPasswordDataCommand.ts +++ b/clients/client-ec2/commands/GetPasswordDataCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPasswordDataCommandInput = GetPasswordDataRequest; @@ -64,14 +64,14 @@ export class GetPasswordDataCommand extends $Command< private serialize( input: GetPasswordDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetPasswordDataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetPasswordDataCommand(output, context); } diff --git a/clients/client-ec2/commands/GetReservedInstancesExchangeQuoteCommand.ts b/clients/client-ec2/commands/GetReservedInstancesExchangeQuoteCommand.ts index 6867b9065b04..f62a1b9e8dc6 100644 --- a/clients/client-ec2/commands/GetReservedInstancesExchangeQuoteCommand.ts +++ b/clients/client-ec2/commands/GetReservedInstancesExchangeQuoteCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetReservedInstancesExchangeQuoteCommandInput = GetReservedInstancesExchangeQuoteRequest; @@ -70,7 +70,7 @@ export class GetReservedInstancesExchangeQuoteCommand extends $Command< private serialize( input: GetReservedInstancesExchangeQuoteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetReservedInstancesExchangeQuoteCommand( input, @@ -80,7 +80,7 @@ export class GetReservedInstancesExchangeQuoteCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetReservedInstancesExchangeQuoteCommand( output, diff --git a/clients/client-ec2/commands/GetTransitGatewayAttachmentPropagationsCommand.ts b/clients/client-ec2/commands/GetTransitGatewayAttachmentPropagationsCommand.ts index 7d6ad9577f7a..c5b7f2b3351d 100644 --- a/clients/client-ec2/commands/GetTransitGatewayAttachmentPropagationsCommand.ts +++ b/clients/client-ec2/commands/GetTransitGatewayAttachmentPropagationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTransitGatewayAttachmentPropagationsCommandInput = GetTransitGatewayAttachmentPropagationsRequest; @@ -72,7 +72,7 @@ export class GetTransitGatewayAttachmentPropagationsCommand extends $Command< private serialize( input: GetTransitGatewayAttachmentPropagationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetTransitGatewayAttachmentPropagationsCommand( input, @@ -82,7 +82,7 @@ export class GetTransitGatewayAttachmentPropagationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetTransitGatewayAttachmentPropagationsCommand( output, diff --git a/clients/client-ec2/commands/GetTransitGatewayMulticastDomainAssociationsCommand.ts b/clients/client-ec2/commands/GetTransitGatewayMulticastDomainAssociationsCommand.ts index b4b6b779f799..d873fc745505 100644 --- a/clients/client-ec2/commands/GetTransitGatewayMulticastDomainAssociationsCommand.ts +++ b/clients/client-ec2/commands/GetTransitGatewayMulticastDomainAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTransitGatewayMulticastDomainAssociationsCommandInput = GetTransitGatewayMulticastDomainAssociationsRequest; @@ -72,7 +72,7 @@ export class GetTransitGatewayMulticastDomainAssociationsCommand extends $Comman private serialize( input: GetTransitGatewayMulticastDomainAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetTransitGatewayMulticastDomainAssociationsCommand( input, @@ -82,7 +82,7 @@ export class GetTransitGatewayMulticastDomainAssociationsCommand extends $Comman private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetTransitGatewayMulticastDomainAssociationsCommand( output, diff --git a/clients/client-ec2/commands/GetTransitGatewayRouteTableAssociationsCommand.ts b/clients/client-ec2/commands/GetTransitGatewayRouteTableAssociationsCommand.ts index 65eb5c1c4b93..6caf859dc717 100644 --- a/clients/client-ec2/commands/GetTransitGatewayRouteTableAssociationsCommand.ts +++ b/clients/client-ec2/commands/GetTransitGatewayRouteTableAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTransitGatewayRouteTableAssociationsCommandInput = GetTransitGatewayRouteTableAssociationsRequest; @@ -72,7 +72,7 @@ export class GetTransitGatewayRouteTableAssociationsCommand extends $Command< private serialize( input: GetTransitGatewayRouteTableAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetTransitGatewayRouteTableAssociationsCommand( input, @@ -82,7 +82,7 @@ export class GetTransitGatewayRouteTableAssociationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetTransitGatewayRouteTableAssociationsCommand( output, diff --git a/clients/client-ec2/commands/GetTransitGatewayRouteTablePropagationsCommand.ts b/clients/client-ec2/commands/GetTransitGatewayRouteTablePropagationsCommand.ts index 09a0614fddc3..af74fbcc4079 100644 --- a/clients/client-ec2/commands/GetTransitGatewayRouteTablePropagationsCommand.ts +++ b/clients/client-ec2/commands/GetTransitGatewayRouteTablePropagationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTransitGatewayRouteTablePropagationsCommandInput = GetTransitGatewayRouteTablePropagationsRequest; @@ -72,7 +72,7 @@ export class GetTransitGatewayRouteTablePropagationsCommand extends $Command< private serialize( input: GetTransitGatewayRouteTablePropagationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2GetTransitGatewayRouteTablePropagationsCommand( input, @@ -82,7 +82,7 @@ export class GetTransitGatewayRouteTablePropagationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2GetTransitGatewayRouteTablePropagationsCommand( output, diff --git a/clients/client-ec2/commands/ImportClientVpnClientCertificateRevocationListCommand.ts b/clients/client-ec2/commands/ImportClientVpnClientCertificateRevocationListCommand.ts index b42bf48694e0..5562e09a4326 100644 --- a/clients/client-ec2/commands/ImportClientVpnClientCertificateRevocationListCommand.ts +++ b/clients/client-ec2/commands/ImportClientVpnClientCertificateRevocationListCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportClientVpnClientCertificateRevocationListCommandInput = ImportClientVpnClientCertificateRevocationListRequest; @@ -72,7 +72,7 @@ export class ImportClientVpnClientCertificateRevocationListCommand extends $Comm private serialize( input: ImportClientVpnClientCertificateRevocationListCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ImportClientVpnClientCertificateRevocationListCommand( input, @@ -82,7 +82,7 @@ export class ImportClientVpnClientCertificateRevocationListCommand extends $Comm private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ImportClientVpnClientCertificateRevocationListCommand( output, diff --git a/clients/client-ec2/commands/ImportImageCommand.ts b/clients/client-ec2/commands/ImportImageCommand.ts index 738cd88fdaf8..f63b439b6209 100644 --- a/clients/client-ec2/commands/ImportImageCommand.ts +++ b/clients/client-ec2/commands/ImportImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportImageCommandInput = ImportImageRequest; @@ -64,14 +64,14 @@ export class ImportImageCommand extends $Command< private serialize( input: ImportImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ImportImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ImportImageCommand(output, context); } diff --git a/clients/client-ec2/commands/ImportInstanceCommand.ts b/clients/client-ec2/commands/ImportInstanceCommand.ts index 07cff21d6bb6..30cb66251840 100644 --- a/clients/client-ec2/commands/ImportInstanceCommand.ts +++ b/clients/client-ec2/commands/ImportInstanceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportInstanceCommandInput = ImportInstanceRequest; @@ -64,14 +64,14 @@ export class ImportInstanceCommand extends $Command< private serialize( input: ImportInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ImportInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ImportInstanceCommand(output, context); } diff --git a/clients/client-ec2/commands/ImportKeyPairCommand.ts b/clients/client-ec2/commands/ImportKeyPairCommand.ts index ffc93a6a9a95..4c561ec86ae7 100644 --- a/clients/client-ec2/commands/ImportKeyPairCommand.ts +++ b/clients/client-ec2/commands/ImportKeyPairCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportKeyPairCommandInput = ImportKeyPairRequest; @@ -64,14 +64,14 @@ export class ImportKeyPairCommand extends $Command< private serialize( input: ImportKeyPairCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ImportKeyPairCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ImportKeyPairCommand(output, context); } diff --git a/clients/client-ec2/commands/ImportSnapshotCommand.ts b/clients/client-ec2/commands/ImportSnapshotCommand.ts index f573784eda31..745ae0c568e7 100644 --- a/clients/client-ec2/commands/ImportSnapshotCommand.ts +++ b/clients/client-ec2/commands/ImportSnapshotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportSnapshotCommandInput = ImportSnapshotRequest; @@ -64,14 +64,14 @@ export class ImportSnapshotCommand extends $Command< private serialize( input: ImportSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ImportSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ImportSnapshotCommand(output, context); } diff --git a/clients/client-ec2/commands/ImportVolumeCommand.ts b/clients/client-ec2/commands/ImportVolumeCommand.ts index b8c552a13ead..1f20541b7aaa 100644 --- a/clients/client-ec2/commands/ImportVolumeCommand.ts +++ b/clients/client-ec2/commands/ImportVolumeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportVolumeCommandInput = ImportVolumeRequest; @@ -64,14 +64,14 @@ export class ImportVolumeCommand extends $Command< private serialize( input: ImportVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ImportVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ImportVolumeCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyCapacityReservationCommand.ts b/clients/client-ec2/commands/ModifyCapacityReservationCommand.ts index 4102940939ea..cac5d340f0fa 100644 --- a/clients/client-ec2/commands/ModifyCapacityReservationCommand.ts +++ b/clients/client-ec2/commands/ModifyCapacityReservationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyCapacityReservationCommandInput = ModifyCapacityReservationRequest; @@ -70,14 +70,14 @@ export class ModifyCapacityReservationCommand extends $Command< private serialize( input: ModifyCapacityReservationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyCapacityReservationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyCapacityReservationCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyClientVpnEndpointCommand.ts b/clients/client-ec2/commands/ModifyClientVpnEndpointCommand.ts index b2060a4e4e8c..9008e1f0ecc5 100644 --- a/clients/client-ec2/commands/ModifyClientVpnEndpointCommand.ts +++ b/clients/client-ec2/commands/ModifyClientVpnEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyClientVpnEndpointCommandInput = ModifyClientVpnEndpointRequest; @@ -70,14 +70,14 @@ export class ModifyClientVpnEndpointCommand extends $Command< private serialize( input: ModifyClientVpnEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyClientVpnEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyClientVpnEndpointCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyDefaultCreditSpecificationCommand.ts b/clients/client-ec2/commands/ModifyDefaultCreditSpecificationCommand.ts index fb94eae5dcf4..40bbe124c311 100644 --- a/clients/client-ec2/commands/ModifyDefaultCreditSpecificationCommand.ts +++ b/clients/client-ec2/commands/ModifyDefaultCreditSpecificationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDefaultCreditSpecificationCommandInput = ModifyDefaultCreditSpecificationRequest; @@ -70,7 +70,7 @@ export class ModifyDefaultCreditSpecificationCommand extends $Command< private serialize( input: ModifyDefaultCreditSpecificationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyDefaultCreditSpecificationCommand( input, @@ -80,7 +80,7 @@ export class ModifyDefaultCreditSpecificationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyDefaultCreditSpecificationCommand( output, diff --git a/clients/client-ec2/commands/ModifyEbsDefaultKmsKeyIdCommand.ts b/clients/client-ec2/commands/ModifyEbsDefaultKmsKeyIdCommand.ts index e5ab561abca3..db4f94a282c5 100644 --- a/clients/client-ec2/commands/ModifyEbsDefaultKmsKeyIdCommand.ts +++ b/clients/client-ec2/commands/ModifyEbsDefaultKmsKeyIdCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyEbsDefaultKmsKeyIdCommandInput = ModifyEbsDefaultKmsKeyIdRequest; @@ -70,14 +70,14 @@ export class ModifyEbsDefaultKmsKeyIdCommand extends $Command< private serialize( input: ModifyEbsDefaultKmsKeyIdCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyEbsDefaultKmsKeyIdCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyEbsDefaultKmsKeyIdCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyFleetCommand.ts b/clients/client-ec2/commands/ModifyFleetCommand.ts index adb72daa9b33..166eefeb237a 100644 --- a/clients/client-ec2/commands/ModifyFleetCommand.ts +++ b/clients/client-ec2/commands/ModifyFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyFleetCommandInput = ModifyFleetRequest; @@ -64,14 +64,14 @@ export class ModifyFleetCommand extends $Command< private serialize( input: ModifyFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyFleetCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyFpgaImageAttributeCommand.ts b/clients/client-ec2/commands/ModifyFpgaImageAttributeCommand.ts index 95edd4e3be86..537211940cf4 100644 --- a/clients/client-ec2/commands/ModifyFpgaImageAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyFpgaImageAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyFpgaImageAttributeCommandInput = ModifyFpgaImageAttributeRequest; @@ -70,14 +70,14 @@ export class ModifyFpgaImageAttributeCommand extends $Command< private serialize( input: ModifyFpgaImageAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyFpgaImageAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyFpgaImageAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyHostsCommand.ts b/clients/client-ec2/commands/ModifyHostsCommand.ts index b208119b1f69..76a8aa2ab114 100644 --- a/clients/client-ec2/commands/ModifyHostsCommand.ts +++ b/clients/client-ec2/commands/ModifyHostsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyHostsCommandInput = ModifyHostsRequest; @@ -64,14 +64,14 @@ export class ModifyHostsCommand extends $Command< private serialize( input: ModifyHostsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyHostsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyHostsCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyIdFormatCommand.ts b/clients/client-ec2/commands/ModifyIdFormatCommand.ts index bf14ed751c39..500db3ec79fe 100644 --- a/clients/client-ec2/commands/ModifyIdFormatCommand.ts +++ b/clients/client-ec2/commands/ModifyIdFormatCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyIdFormatCommandInput = ModifyIdFormatRequest; @@ -65,14 +65,14 @@ export class ModifyIdFormatCommand extends $Command< private serialize( input: ModifyIdFormatCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyIdFormatCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyIdFormatCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyIdentityIdFormatCommand.ts b/clients/client-ec2/commands/ModifyIdentityIdFormatCommand.ts index b49ca44eed26..8ae9de399775 100644 --- a/clients/client-ec2/commands/ModifyIdentityIdFormatCommand.ts +++ b/clients/client-ec2/commands/ModifyIdentityIdFormatCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyIdentityIdFormatCommandInput = ModifyIdentityIdFormatRequest; @@ -68,14 +68,14 @@ export class ModifyIdentityIdFormatCommand extends $Command< private serialize( input: ModifyIdentityIdFormatCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyIdentityIdFormatCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyIdentityIdFormatCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyImageAttributeCommand.ts b/clients/client-ec2/commands/ModifyImageAttributeCommand.ts index 0f7e327ed0d1..d7caabb3c585 100644 --- a/clients/client-ec2/commands/ModifyImageAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyImageAttributeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyImageAttributeCommandInput = ModifyImageAttributeRequest; @@ -68,14 +68,14 @@ export class ModifyImageAttributeCommand extends $Command< private serialize( input: ModifyImageAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyImageAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyImageAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyInstanceAttributeCommand.ts b/clients/client-ec2/commands/ModifyInstanceAttributeCommand.ts index afe2cbb03c77..9444798cb5cd 100644 --- a/clients/client-ec2/commands/ModifyInstanceAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyInstanceAttributeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyInstanceAttributeCommandInput = ModifyInstanceAttributeRequest; @@ -68,14 +68,14 @@ export class ModifyInstanceAttributeCommand extends $Command< private serialize( input: ModifyInstanceAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyInstanceAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyInstanceAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyInstanceCapacityReservationAttributesCommand.ts b/clients/client-ec2/commands/ModifyInstanceCapacityReservationAttributesCommand.ts index 8d3c87569d87..5536b0fd1c77 100644 --- a/clients/client-ec2/commands/ModifyInstanceCapacityReservationAttributesCommand.ts +++ b/clients/client-ec2/commands/ModifyInstanceCapacityReservationAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyInstanceCapacityReservationAttributesCommandInput = ModifyInstanceCapacityReservationAttributesRequest; @@ -72,7 +72,7 @@ export class ModifyInstanceCapacityReservationAttributesCommand extends $Command private serialize( input: ModifyInstanceCapacityReservationAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyInstanceCapacityReservationAttributesCommand( input, @@ -82,7 +82,7 @@ export class ModifyInstanceCapacityReservationAttributesCommand extends $Command private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyInstanceCapacityReservationAttributesCommand( output, diff --git a/clients/client-ec2/commands/ModifyInstanceCreditSpecificationCommand.ts b/clients/client-ec2/commands/ModifyInstanceCreditSpecificationCommand.ts index 7e0e04d5a487..aa38b08dd1ea 100644 --- a/clients/client-ec2/commands/ModifyInstanceCreditSpecificationCommand.ts +++ b/clients/client-ec2/commands/ModifyInstanceCreditSpecificationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyInstanceCreditSpecificationCommandInput = ModifyInstanceCreditSpecificationRequest; @@ -70,7 +70,7 @@ export class ModifyInstanceCreditSpecificationCommand extends $Command< private serialize( input: ModifyInstanceCreditSpecificationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyInstanceCreditSpecificationCommand( input, @@ -80,7 +80,7 @@ export class ModifyInstanceCreditSpecificationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyInstanceCreditSpecificationCommand( output, diff --git a/clients/client-ec2/commands/ModifyInstanceEventStartTimeCommand.ts b/clients/client-ec2/commands/ModifyInstanceEventStartTimeCommand.ts index 3b6f3176b67c..f906f156616b 100644 --- a/clients/client-ec2/commands/ModifyInstanceEventStartTimeCommand.ts +++ b/clients/client-ec2/commands/ModifyInstanceEventStartTimeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyInstanceEventStartTimeCommandInput = ModifyInstanceEventStartTimeRequest; @@ -70,14 +70,14 @@ export class ModifyInstanceEventStartTimeCommand extends $Command< private serialize( input: ModifyInstanceEventStartTimeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyInstanceEventStartTimeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyInstanceEventStartTimeCommand( output, diff --git a/clients/client-ec2/commands/ModifyInstanceMetadataOptionsCommand.ts b/clients/client-ec2/commands/ModifyInstanceMetadataOptionsCommand.ts index a9d84b8bf412..158e9f58ec50 100644 --- a/clients/client-ec2/commands/ModifyInstanceMetadataOptionsCommand.ts +++ b/clients/client-ec2/commands/ModifyInstanceMetadataOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyInstanceMetadataOptionsCommandInput = ModifyInstanceMetadataOptionsRequest; @@ -70,14 +70,14 @@ export class ModifyInstanceMetadataOptionsCommand extends $Command< private serialize( input: ModifyInstanceMetadataOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyInstanceMetadataOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyInstanceMetadataOptionsCommand( output, diff --git a/clients/client-ec2/commands/ModifyInstancePlacementCommand.ts b/clients/client-ec2/commands/ModifyInstancePlacementCommand.ts index d69625d190d3..790c97dc8547 100644 --- a/clients/client-ec2/commands/ModifyInstancePlacementCommand.ts +++ b/clients/client-ec2/commands/ModifyInstancePlacementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyInstancePlacementCommandInput = ModifyInstancePlacementRequest; @@ -70,14 +70,14 @@ export class ModifyInstancePlacementCommand extends $Command< private serialize( input: ModifyInstancePlacementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyInstancePlacementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyInstancePlacementCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyLaunchTemplateCommand.ts b/clients/client-ec2/commands/ModifyLaunchTemplateCommand.ts index c18e305d2232..c11cecc982ed 100644 --- a/clients/client-ec2/commands/ModifyLaunchTemplateCommand.ts +++ b/clients/client-ec2/commands/ModifyLaunchTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyLaunchTemplateCommandInput = ModifyLaunchTemplateRequest; @@ -70,14 +70,14 @@ export class ModifyLaunchTemplateCommand extends $Command< private serialize( input: ModifyLaunchTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyLaunchTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyLaunchTemplateCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyNetworkInterfaceAttributeCommand.ts b/clients/client-ec2/commands/ModifyNetworkInterfaceAttributeCommand.ts index 7130df474bda..cf1289175f27 100644 --- a/clients/client-ec2/commands/ModifyNetworkInterfaceAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyNetworkInterfaceAttributeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyNetworkInterfaceAttributeCommandInput = ModifyNetworkInterfaceAttributeRequest; @@ -68,7 +68,7 @@ export class ModifyNetworkInterfaceAttributeCommand extends $Command< private serialize( input: ModifyNetworkInterfaceAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyNetworkInterfaceAttributeCommand( input, @@ -78,7 +78,7 @@ export class ModifyNetworkInterfaceAttributeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyNetworkInterfaceAttributeCommand( output, diff --git a/clients/client-ec2/commands/ModifyReservedInstancesCommand.ts b/clients/client-ec2/commands/ModifyReservedInstancesCommand.ts index 9efa5ec2c32d..61566a159133 100644 --- a/clients/client-ec2/commands/ModifyReservedInstancesCommand.ts +++ b/clients/client-ec2/commands/ModifyReservedInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyReservedInstancesCommandInput = ModifyReservedInstancesRequest; @@ -70,14 +70,14 @@ export class ModifyReservedInstancesCommand extends $Command< private serialize( input: ModifyReservedInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyReservedInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyReservedInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifySnapshotAttributeCommand.ts b/clients/client-ec2/commands/ModifySnapshotAttributeCommand.ts index 3ab231205d8e..934f0fc23d48 100644 --- a/clients/client-ec2/commands/ModifySnapshotAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifySnapshotAttributeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifySnapshotAttributeCommandInput = ModifySnapshotAttributeRequest; @@ -68,14 +68,14 @@ export class ModifySnapshotAttributeCommand extends $Command< private serialize( input: ModifySnapshotAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifySnapshotAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifySnapshotAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifySpotFleetRequestCommand.ts b/clients/client-ec2/commands/ModifySpotFleetRequestCommand.ts index 4b063ffcd499..e82210e6551a 100644 --- a/clients/client-ec2/commands/ModifySpotFleetRequestCommand.ts +++ b/clients/client-ec2/commands/ModifySpotFleetRequestCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifySpotFleetRequestCommandInput = ModifySpotFleetRequestRequest; @@ -70,14 +70,14 @@ export class ModifySpotFleetRequestCommand extends $Command< private serialize( input: ModifySpotFleetRequestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifySpotFleetRequestCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifySpotFleetRequestCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifySubnetAttributeCommand.ts b/clients/client-ec2/commands/ModifySubnetAttributeCommand.ts index a88d2b1e0547..0c6dc06cd055 100644 --- a/clients/client-ec2/commands/ModifySubnetAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifySubnetAttributeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifySubnetAttributeCommandInput = ModifySubnetAttributeRequest; @@ -68,14 +68,14 @@ export class ModifySubnetAttributeCommand extends $Command< private serialize( input: ModifySubnetAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifySubnetAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifySubnetAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts b/clients/client-ec2/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts index ef626f72173b..818e60b56566 100644 --- a/clients/client-ec2/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts +++ b/clients/client-ec2/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyTrafficMirrorFilterNetworkServicesCommandInput = ModifyTrafficMirrorFilterNetworkServicesRequest; @@ -72,7 +72,7 @@ export class ModifyTrafficMirrorFilterNetworkServicesCommand extends $Command< private serialize( input: ModifyTrafficMirrorFilterNetworkServicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyTrafficMirrorFilterNetworkServicesCommand( input, @@ -82,7 +82,7 @@ export class ModifyTrafficMirrorFilterNetworkServicesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyTrafficMirrorFilterNetworkServicesCommand( output, diff --git a/clients/client-ec2/commands/ModifyTrafficMirrorFilterRuleCommand.ts b/clients/client-ec2/commands/ModifyTrafficMirrorFilterRuleCommand.ts index 36979cd882c0..0bfa90bf5eaa 100644 --- a/clients/client-ec2/commands/ModifyTrafficMirrorFilterRuleCommand.ts +++ b/clients/client-ec2/commands/ModifyTrafficMirrorFilterRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyTrafficMirrorFilterRuleCommandInput = ModifyTrafficMirrorFilterRuleRequest; @@ -70,14 +70,14 @@ export class ModifyTrafficMirrorFilterRuleCommand extends $Command< private serialize( input: ModifyTrafficMirrorFilterRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyTrafficMirrorFilterRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyTrafficMirrorFilterRuleCommand( output, diff --git a/clients/client-ec2/commands/ModifyTrafficMirrorSessionCommand.ts b/clients/client-ec2/commands/ModifyTrafficMirrorSessionCommand.ts index 89902333047a..da4bad60bf55 100644 --- a/clients/client-ec2/commands/ModifyTrafficMirrorSessionCommand.ts +++ b/clients/client-ec2/commands/ModifyTrafficMirrorSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyTrafficMirrorSessionCommandInput = ModifyTrafficMirrorSessionRequest; @@ -70,14 +70,14 @@ export class ModifyTrafficMirrorSessionCommand extends $Command< private serialize( input: ModifyTrafficMirrorSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyTrafficMirrorSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyTrafficMirrorSessionCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyTransitGatewayVpcAttachmentCommand.ts b/clients/client-ec2/commands/ModifyTransitGatewayVpcAttachmentCommand.ts index a10c588d2bc4..392551d7ea8e 100644 --- a/clients/client-ec2/commands/ModifyTransitGatewayVpcAttachmentCommand.ts +++ b/clients/client-ec2/commands/ModifyTransitGatewayVpcAttachmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyTransitGatewayVpcAttachmentCommandInput = ModifyTransitGatewayVpcAttachmentRequest; @@ -70,7 +70,7 @@ export class ModifyTransitGatewayVpcAttachmentCommand extends $Command< private serialize( input: ModifyTransitGatewayVpcAttachmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyTransitGatewayVpcAttachmentCommand( input, @@ -80,7 +80,7 @@ export class ModifyTransitGatewayVpcAttachmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyTransitGatewayVpcAttachmentCommand( output, diff --git a/clients/client-ec2/commands/ModifyVolumeAttributeCommand.ts b/clients/client-ec2/commands/ModifyVolumeAttributeCommand.ts index 60a3549df53b..838fdc4a699f 100644 --- a/clients/client-ec2/commands/ModifyVolumeAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyVolumeAttributeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVolumeAttributeCommandInput = ModifyVolumeAttributeRequest; @@ -68,14 +68,14 @@ export class ModifyVolumeAttributeCommand extends $Command< private serialize( input: ModifyVolumeAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVolumeAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVolumeAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyVolumeCommand.ts b/clients/client-ec2/commands/ModifyVolumeCommand.ts index 6b0ac3a1a284..1ab4be28064b 100644 --- a/clients/client-ec2/commands/ModifyVolumeCommand.ts +++ b/clients/client-ec2/commands/ModifyVolumeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVolumeCommandInput = ModifyVolumeRequest; @@ -64,14 +64,14 @@ export class ModifyVolumeCommand extends $Command< private serialize( input: ModifyVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVolumeCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyVpcAttributeCommand.ts b/clients/client-ec2/commands/ModifyVpcAttributeCommand.ts index 0d9d0ecb0b11..3408d08ff37f 100644 --- a/clients/client-ec2/commands/ModifyVpcAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcAttributeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVpcAttributeCommandInput = ModifyVpcAttributeRequest; @@ -65,14 +65,14 @@ export class ModifyVpcAttributeCommand extends $Command< private serialize( input: ModifyVpcAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVpcAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVpcAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyVpcEndpointCommand.ts b/clients/client-ec2/commands/ModifyVpcEndpointCommand.ts index ddbb5b77fd4b..e29ee14bfadc 100644 --- a/clients/client-ec2/commands/ModifyVpcEndpointCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVpcEndpointCommandInput = ModifyVpcEndpointRequest; @@ -67,14 +67,14 @@ export class ModifyVpcEndpointCommand extends $Command< private serialize( input: ModifyVpcEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVpcEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVpcEndpointCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyVpcEndpointConnectionNotificationCommand.ts b/clients/client-ec2/commands/ModifyVpcEndpointConnectionNotificationCommand.ts index 98e982367c39..3ad934fd4506 100644 --- a/clients/client-ec2/commands/ModifyVpcEndpointConnectionNotificationCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcEndpointConnectionNotificationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVpcEndpointConnectionNotificationCommandInput = ModifyVpcEndpointConnectionNotificationRequest; @@ -72,7 +72,7 @@ export class ModifyVpcEndpointConnectionNotificationCommand extends $Command< private serialize( input: ModifyVpcEndpointConnectionNotificationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVpcEndpointConnectionNotificationCommand( input, @@ -82,7 +82,7 @@ export class ModifyVpcEndpointConnectionNotificationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVpcEndpointConnectionNotificationCommand( output, diff --git a/clients/client-ec2/commands/ModifyVpcEndpointServiceConfigurationCommand.ts b/clients/client-ec2/commands/ModifyVpcEndpointServiceConfigurationCommand.ts index 85dc7872d40f..930979b6b627 100644 --- a/clients/client-ec2/commands/ModifyVpcEndpointServiceConfigurationCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcEndpointServiceConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVpcEndpointServiceConfigurationCommandInput = ModifyVpcEndpointServiceConfigurationRequest; @@ -72,7 +72,7 @@ export class ModifyVpcEndpointServiceConfigurationCommand extends $Command< private serialize( input: ModifyVpcEndpointServiceConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVpcEndpointServiceConfigurationCommand( input, @@ -82,7 +82,7 @@ export class ModifyVpcEndpointServiceConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVpcEndpointServiceConfigurationCommand( output, diff --git a/clients/client-ec2/commands/ModifyVpcEndpointServicePermissionsCommand.ts b/clients/client-ec2/commands/ModifyVpcEndpointServicePermissionsCommand.ts index aaddd3efb447..57511812e4f9 100644 --- a/clients/client-ec2/commands/ModifyVpcEndpointServicePermissionsCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcEndpointServicePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVpcEndpointServicePermissionsCommandInput = ModifyVpcEndpointServicePermissionsRequest; @@ -70,7 +70,7 @@ export class ModifyVpcEndpointServicePermissionsCommand extends $Command< private serialize( input: ModifyVpcEndpointServicePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVpcEndpointServicePermissionsCommand( input, @@ -80,7 +80,7 @@ export class ModifyVpcEndpointServicePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVpcEndpointServicePermissionsCommand( output, diff --git a/clients/client-ec2/commands/ModifyVpcPeeringConnectionOptionsCommand.ts b/clients/client-ec2/commands/ModifyVpcPeeringConnectionOptionsCommand.ts index b1a3def9dde3..6ad2087ddc77 100644 --- a/clients/client-ec2/commands/ModifyVpcPeeringConnectionOptionsCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcPeeringConnectionOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVpcPeeringConnectionOptionsCommandInput = ModifyVpcPeeringConnectionOptionsRequest; @@ -70,7 +70,7 @@ export class ModifyVpcPeeringConnectionOptionsCommand extends $Command< private serialize( input: ModifyVpcPeeringConnectionOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVpcPeeringConnectionOptionsCommand( input, @@ -80,7 +80,7 @@ export class ModifyVpcPeeringConnectionOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVpcPeeringConnectionOptionsCommand( output, diff --git a/clients/client-ec2/commands/ModifyVpcTenancyCommand.ts b/clients/client-ec2/commands/ModifyVpcTenancyCommand.ts index a8411dedb1d2..c4e1ae03021e 100644 --- a/clients/client-ec2/commands/ModifyVpcTenancyCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcTenancyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVpcTenancyCommandInput = ModifyVpcTenancyRequest; @@ -67,14 +67,14 @@ export class ModifyVpcTenancyCommand extends $Command< private serialize( input: ModifyVpcTenancyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVpcTenancyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVpcTenancyCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyVpnConnectionCommand.ts b/clients/client-ec2/commands/ModifyVpnConnectionCommand.ts index 2da93f8ec077..92e6abae5097 100644 --- a/clients/client-ec2/commands/ModifyVpnConnectionCommand.ts +++ b/clients/client-ec2/commands/ModifyVpnConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVpnConnectionCommandInput = ModifyVpnConnectionRequest; @@ -70,14 +70,14 @@ export class ModifyVpnConnectionCommand extends $Command< private serialize( input: ModifyVpnConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVpnConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVpnConnectionCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyVpnTunnelCertificateCommand.ts b/clients/client-ec2/commands/ModifyVpnTunnelCertificateCommand.ts index 35ae651989b0..a00a8a990c4a 100644 --- a/clients/client-ec2/commands/ModifyVpnTunnelCertificateCommand.ts +++ b/clients/client-ec2/commands/ModifyVpnTunnelCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVpnTunnelCertificateCommandInput = ModifyVpnTunnelCertificateRequest; @@ -70,14 +70,14 @@ export class ModifyVpnTunnelCertificateCommand extends $Command< private serialize( input: ModifyVpnTunnelCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVpnTunnelCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVpnTunnelCertificateCommand(output, context); } diff --git a/clients/client-ec2/commands/ModifyVpnTunnelOptionsCommand.ts b/clients/client-ec2/commands/ModifyVpnTunnelOptionsCommand.ts index 242552b146b2..a969b684f12e 100644 --- a/clients/client-ec2/commands/ModifyVpnTunnelOptionsCommand.ts +++ b/clients/client-ec2/commands/ModifyVpnTunnelOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyVpnTunnelOptionsCommandInput = ModifyVpnTunnelOptionsRequest; @@ -70,14 +70,14 @@ export class ModifyVpnTunnelOptionsCommand extends $Command< private serialize( input: ModifyVpnTunnelOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ModifyVpnTunnelOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ModifyVpnTunnelOptionsCommand(output, context); } diff --git a/clients/client-ec2/commands/MonitorInstancesCommand.ts b/clients/client-ec2/commands/MonitorInstancesCommand.ts index 0b9a5ea451f2..312816cf5cbf 100644 --- a/clients/client-ec2/commands/MonitorInstancesCommand.ts +++ b/clients/client-ec2/commands/MonitorInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MonitorInstancesCommandInput = MonitorInstancesRequest; @@ -67,14 +67,14 @@ export class MonitorInstancesCommand extends $Command< private serialize( input: MonitorInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2MonitorInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2MonitorInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/MoveAddressToVpcCommand.ts b/clients/client-ec2/commands/MoveAddressToVpcCommand.ts index ed87beb9bee7..2cc51a174a43 100644 --- a/clients/client-ec2/commands/MoveAddressToVpcCommand.ts +++ b/clients/client-ec2/commands/MoveAddressToVpcCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MoveAddressToVpcCommandInput = MoveAddressToVpcRequest; @@ -67,14 +67,14 @@ export class MoveAddressToVpcCommand extends $Command< private serialize( input: MoveAddressToVpcCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2MoveAddressToVpcCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2MoveAddressToVpcCommand(output, context); } diff --git a/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts b/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts index cebe445f2080..4c454036fc61 100644 --- a/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts +++ b/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ProvisionByoipCidrCommandInput = ProvisionByoipCidrRequest; @@ -67,14 +67,14 @@ export class ProvisionByoipCidrCommand extends $Command< private serialize( input: ProvisionByoipCidrCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ProvisionByoipCidrCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ProvisionByoipCidrCommand(output, context); } diff --git a/clients/client-ec2/commands/PurchaseHostReservationCommand.ts b/clients/client-ec2/commands/PurchaseHostReservationCommand.ts index 65dbb2a92500..189803432e3f 100644 --- a/clients/client-ec2/commands/PurchaseHostReservationCommand.ts +++ b/clients/client-ec2/commands/PurchaseHostReservationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PurchaseHostReservationCommandInput = PurchaseHostReservationRequest; @@ -70,14 +70,14 @@ export class PurchaseHostReservationCommand extends $Command< private serialize( input: PurchaseHostReservationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2PurchaseHostReservationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2PurchaseHostReservationCommand(output, context); } diff --git a/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts b/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts index efa31c11bdaf..0cbe7c7bd9ab 100644 --- a/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts +++ b/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PurchaseReservedInstancesOfferingCommandInput = PurchaseReservedInstancesOfferingRequest; @@ -70,7 +70,7 @@ export class PurchaseReservedInstancesOfferingCommand extends $Command< private serialize( input: PurchaseReservedInstancesOfferingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2PurchaseReservedInstancesOfferingCommand( input, @@ -80,7 +80,7 @@ export class PurchaseReservedInstancesOfferingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2PurchaseReservedInstancesOfferingCommand( output, diff --git a/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts b/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts index 53aafc23b848..31bd2d541ef4 100644 --- a/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts +++ b/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PurchaseScheduledInstancesCommandInput = PurchaseScheduledInstancesRequest; @@ -70,14 +70,14 @@ export class PurchaseScheduledInstancesCommand extends $Command< private serialize( input: PurchaseScheduledInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2PurchaseScheduledInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2PurchaseScheduledInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/RebootInstancesCommand.ts b/clients/client-ec2/commands/RebootInstancesCommand.ts index ebb64e82d250..9b0a2e38b592 100644 --- a/clients/client-ec2/commands/RebootInstancesCommand.ts +++ b/clients/client-ec2/commands/RebootInstancesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootInstancesCommandInput = RebootInstancesRequest; @@ -65,14 +65,14 @@ export class RebootInstancesCommand extends $Command< private serialize( input: RebootInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RebootInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RebootInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/RegisterImageCommand.ts b/clients/client-ec2/commands/RegisterImageCommand.ts index 741bfd854b51..6afdd9396bbe 100644 --- a/clients/client-ec2/commands/RegisterImageCommand.ts +++ b/clients/client-ec2/commands/RegisterImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterImageCommandInput = RegisterImageRequest; @@ -64,14 +64,14 @@ export class RegisterImageCommand extends $Command< private serialize( input: RegisterImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RegisterImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RegisterImageCommand(output, context); } diff --git a/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts b/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts index 5f1cee21610e..3dc9540dcbd7 100644 --- a/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts +++ b/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterTransitGatewayMulticastGroupMembersCommandInput = RegisterTransitGatewayMulticastGroupMembersRequest; @@ -72,7 +72,7 @@ export class RegisterTransitGatewayMulticastGroupMembersCommand extends $Command private serialize( input: RegisterTransitGatewayMulticastGroupMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RegisterTransitGatewayMulticastGroupMembersCommand( input, @@ -82,7 +82,7 @@ export class RegisterTransitGatewayMulticastGroupMembersCommand extends $Command private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RegisterTransitGatewayMulticastGroupMembersCommand( output, diff --git a/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts b/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts index 86a6bff27fb6..086d08194408 100644 --- a/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts +++ b/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterTransitGatewayMulticastGroupSourcesCommandInput = RegisterTransitGatewayMulticastGroupSourcesRequest; @@ -72,7 +72,7 @@ export class RegisterTransitGatewayMulticastGroupSourcesCommand extends $Command private serialize( input: RegisterTransitGatewayMulticastGroupSourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RegisterTransitGatewayMulticastGroupSourcesCommand( input, @@ -82,7 +82,7 @@ export class RegisterTransitGatewayMulticastGroupSourcesCommand extends $Command private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RegisterTransitGatewayMulticastGroupSourcesCommand( output, diff --git a/clients/client-ec2/commands/RejectTransitGatewayPeeringAttachmentCommand.ts b/clients/client-ec2/commands/RejectTransitGatewayPeeringAttachmentCommand.ts index 53f1d6259674..6f9d4b9660ee 100644 --- a/clients/client-ec2/commands/RejectTransitGatewayPeeringAttachmentCommand.ts +++ b/clients/client-ec2/commands/RejectTransitGatewayPeeringAttachmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectTransitGatewayPeeringAttachmentCommandInput = RejectTransitGatewayPeeringAttachmentRequest; @@ -72,7 +72,7 @@ export class RejectTransitGatewayPeeringAttachmentCommand extends $Command< private serialize( input: RejectTransitGatewayPeeringAttachmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RejectTransitGatewayPeeringAttachmentCommand( input, @@ -82,7 +82,7 @@ export class RejectTransitGatewayPeeringAttachmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RejectTransitGatewayPeeringAttachmentCommand( output, diff --git a/clients/client-ec2/commands/RejectTransitGatewayVpcAttachmentCommand.ts b/clients/client-ec2/commands/RejectTransitGatewayVpcAttachmentCommand.ts index 186c77ba593f..bc99b86a8f7e 100644 --- a/clients/client-ec2/commands/RejectTransitGatewayVpcAttachmentCommand.ts +++ b/clients/client-ec2/commands/RejectTransitGatewayVpcAttachmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectTransitGatewayVpcAttachmentCommandInput = RejectTransitGatewayVpcAttachmentRequest; @@ -70,7 +70,7 @@ export class RejectTransitGatewayVpcAttachmentCommand extends $Command< private serialize( input: RejectTransitGatewayVpcAttachmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RejectTransitGatewayVpcAttachmentCommand( input, @@ -80,7 +80,7 @@ export class RejectTransitGatewayVpcAttachmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RejectTransitGatewayVpcAttachmentCommand( output, diff --git a/clients/client-ec2/commands/RejectVpcEndpointConnectionsCommand.ts b/clients/client-ec2/commands/RejectVpcEndpointConnectionsCommand.ts index 0d9b8342717f..76b2f417fea8 100644 --- a/clients/client-ec2/commands/RejectVpcEndpointConnectionsCommand.ts +++ b/clients/client-ec2/commands/RejectVpcEndpointConnectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectVpcEndpointConnectionsCommandInput = RejectVpcEndpointConnectionsRequest; @@ -70,14 +70,14 @@ export class RejectVpcEndpointConnectionsCommand extends $Command< private serialize( input: RejectVpcEndpointConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RejectVpcEndpointConnectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RejectVpcEndpointConnectionsCommand( output, diff --git a/clients/client-ec2/commands/RejectVpcPeeringConnectionCommand.ts b/clients/client-ec2/commands/RejectVpcPeeringConnectionCommand.ts index 7ebd35e5100d..e4d572b099c2 100644 --- a/clients/client-ec2/commands/RejectVpcPeeringConnectionCommand.ts +++ b/clients/client-ec2/commands/RejectVpcPeeringConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectVpcPeeringConnectionCommandInput = RejectVpcPeeringConnectionRequest; @@ -70,14 +70,14 @@ export class RejectVpcPeeringConnectionCommand extends $Command< private serialize( input: RejectVpcPeeringConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RejectVpcPeeringConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RejectVpcPeeringConnectionCommand(output, context); } diff --git a/clients/client-ec2/commands/ReleaseAddressCommand.ts b/clients/client-ec2/commands/ReleaseAddressCommand.ts index 1fa1327192a2..d599d3c55ef0 100644 --- a/clients/client-ec2/commands/ReleaseAddressCommand.ts +++ b/clients/client-ec2/commands/ReleaseAddressCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReleaseAddressCommandInput = ReleaseAddressRequest; @@ -65,14 +65,14 @@ export class ReleaseAddressCommand extends $Command< private serialize( input: ReleaseAddressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ReleaseAddressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ReleaseAddressCommand(output, context); } diff --git a/clients/client-ec2/commands/ReleaseHostsCommand.ts b/clients/client-ec2/commands/ReleaseHostsCommand.ts index 36c289c197db..72799e0b3a2f 100644 --- a/clients/client-ec2/commands/ReleaseHostsCommand.ts +++ b/clients/client-ec2/commands/ReleaseHostsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReleaseHostsCommandInput = ReleaseHostsRequest; @@ -64,14 +64,14 @@ export class ReleaseHostsCommand extends $Command< private serialize( input: ReleaseHostsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ReleaseHostsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ReleaseHostsCommand(output, context); } diff --git a/clients/client-ec2/commands/ReplaceIamInstanceProfileAssociationCommand.ts b/clients/client-ec2/commands/ReplaceIamInstanceProfileAssociationCommand.ts index 77b73e290545..2e7583fcd976 100644 --- a/clients/client-ec2/commands/ReplaceIamInstanceProfileAssociationCommand.ts +++ b/clients/client-ec2/commands/ReplaceIamInstanceProfileAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReplaceIamInstanceProfileAssociationCommandInput = ReplaceIamInstanceProfileAssociationRequest; @@ -72,7 +72,7 @@ export class ReplaceIamInstanceProfileAssociationCommand extends $Command< private serialize( input: ReplaceIamInstanceProfileAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ReplaceIamInstanceProfileAssociationCommand( input, @@ -82,7 +82,7 @@ export class ReplaceIamInstanceProfileAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ReplaceIamInstanceProfileAssociationCommand( output, diff --git a/clients/client-ec2/commands/ReplaceNetworkAclAssociationCommand.ts b/clients/client-ec2/commands/ReplaceNetworkAclAssociationCommand.ts index 4f33f381c68e..0387374d3784 100644 --- a/clients/client-ec2/commands/ReplaceNetworkAclAssociationCommand.ts +++ b/clients/client-ec2/commands/ReplaceNetworkAclAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReplaceNetworkAclAssociationCommandInput = ReplaceNetworkAclAssociationRequest; @@ -70,14 +70,14 @@ export class ReplaceNetworkAclAssociationCommand extends $Command< private serialize( input: ReplaceNetworkAclAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ReplaceNetworkAclAssociationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ReplaceNetworkAclAssociationCommand( output, diff --git a/clients/client-ec2/commands/ReplaceNetworkAclEntryCommand.ts b/clients/client-ec2/commands/ReplaceNetworkAclEntryCommand.ts index d813ad067407..00ec8d0321db 100644 --- a/clients/client-ec2/commands/ReplaceNetworkAclEntryCommand.ts +++ b/clients/client-ec2/commands/ReplaceNetworkAclEntryCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReplaceNetworkAclEntryCommandInput = ReplaceNetworkAclEntryRequest; @@ -68,14 +68,14 @@ export class ReplaceNetworkAclEntryCommand extends $Command< private serialize( input: ReplaceNetworkAclEntryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ReplaceNetworkAclEntryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ReplaceNetworkAclEntryCommand(output, context); } diff --git a/clients/client-ec2/commands/ReplaceRouteCommand.ts b/clients/client-ec2/commands/ReplaceRouteCommand.ts index accd5d3cf905..524947df3914 100644 --- a/clients/client-ec2/commands/ReplaceRouteCommand.ts +++ b/clients/client-ec2/commands/ReplaceRouteCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReplaceRouteCommandInput = ReplaceRouteRequest; @@ -65,14 +65,14 @@ export class ReplaceRouteCommand extends $Command< private serialize( input: ReplaceRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ReplaceRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ReplaceRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/ReplaceRouteTableAssociationCommand.ts b/clients/client-ec2/commands/ReplaceRouteTableAssociationCommand.ts index b3edba806ede..d918101c03ed 100644 --- a/clients/client-ec2/commands/ReplaceRouteTableAssociationCommand.ts +++ b/clients/client-ec2/commands/ReplaceRouteTableAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReplaceRouteTableAssociationCommandInput = ReplaceRouteTableAssociationRequest; @@ -70,14 +70,14 @@ export class ReplaceRouteTableAssociationCommand extends $Command< private serialize( input: ReplaceRouteTableAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ReplaceRouteTableAssociationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ReplaceRouteTableAssociationCommand( output, diff --git a/clients/client-ec2/commands/ReplaceTransitGatewayRouteCommand.ts b/clients/client-ec2/commands/ReplaceTransitGatewayRouteCommand.ts index 5bd41a484e0c..09fe3aa03598 100644 --- a/clients/client-ec2/commands/ReplaceTransitGatewayRouteCommand.ts +++ b/clients/client-ec2/commands/ReplaceTransitGatewayRouteCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReplaceTransitGatewayRouteCommandInput = ReplaceTransitGatewayRouteRequest; @@ -70,14 +70,14 @@ export class ReplaceTransitGatewayRouteCommand extends $Command< private serialize( input: ReplaceTransitGatewayRouteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ReplaceTransitGatewayRouteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ReplaceTransitGatewayRouteCommand(output, context); } diff --git a/clients/client-ec2/commands/ReportInstanceStatusCommand.ts b/clients/client-ec2/commands/ReportInstanceStatusCommand.ts index 386cead83f36..933e72d2eeeb 100644 --- a/clients/client-ec2/commands/ReportInstanceStatusCommand.ts +++ b/clients/client-ec2/commands/ReportInstanceStatusCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReportInstanceStatusCommandInput = ReportInstanceStatusRequest; @@ -68,14 +68,14 @@ export class ReportInstanceStatusCommand extends $Command< private serialize( input: ReportInstanceStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ReportInstanceStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ReportInstanceStatusCommand(output, context); } diff --git a/clients/client-ec2/commands/RequestSpotFleetCommand.ts b/clients/client-ec2/commands/RequestSpotFleetCommand.ts index bf1814858e90..8941a2eadebc 100644 --- a/clients/client-ec2/commands/RequestSpotFleetCommand.ts +++ b/clients/client-ec2/commands/RequestSpotFleetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RequestSpotFleetCommandInput = RequestSpotFleetRequest; @@ -67,14 +67,14 @@ export class RequestSpotFleetCommand extends $Command< private serialize( input: RequestSpotFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RequestSpotFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RequestSpotFleetCommand(output, context); } diff --git a/clients/client-ec2/commands/RequestSpotInstancesCommand.ts b/clients/client-ec2/commands/RequestSpotInstancesCommand.ts index ecb395285bd2..83bea19ca9d9 100644 --- a/clients/client-ec2/commands/RequestSpotInstancesCommand.ts +++ b/clients/client-ec2/commands/RequestSpotInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RequestSpotInstancesCommandInput = RequestSpotInstancesRequest; @@ -70,14 +70,14 @@ export class RequestSpotInstancesCommand extends $Command< private serialize( input: RequestSpotInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RequestSpotInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RequestSpotInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/ResetEbsDefaultKmsKeyIdCommand.ts b/clients/client-ec2/commands/ResetEbsDefaultKmsKeyIdCommand.ts index 377cf5be815d..a709b59bd7a3 100644 --- a/clients/client-ec2/commands/ResetEbsDefaultKmsKeyIdCommand.ts +++ b/clients/client-ec2/commands/ResetEbsDefaultKmsKeyIdCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetEbsDefaultKmsKeyIdCommandInput = ResetEbsDefaultKmsKeyIdRequest; @@ -70,14 +70,14 @@ export class ResetEbsDefaultKmsKeyIdCommand extends $Command< private serialize( input: ResetEbsDefaultKmsKeyIdCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ResetEbsDefaultKmsKeyIdCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ResetEbsDefaultKmsKeyIdCommand(output, context); } diff --git a/clients/client-ec2/commands/ResetFpgaImageAttributeCommand.ts b/clients/client-ec2/commands/ResetFpgaImageAttributeCommand.ts index 3c0dbe5c4123..0275ec890fe7 100644 --- a/clients/client-ec2/commands/ResetFpgaImageAttributeCommand.ts +++ b/clients/client-ec2/commands/ResetFpgaImageAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetFpgaImageAttributeCommandInput = ResetFpgaImageAttributeRequest; @@ -70,14 +70,14 @@ export class ResetFpgaImageAttributeCommand extends $Command< private serialize( input: ResetFpgaImageAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ResetFpgaImageAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ResetFpgaImageAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/ResetImageAttributeCommand.ts b/clients/client-ec2/commands/ResetImageAttributeCommand.ts index 2546345f1a8a..6d67564397d5 100644 --- a/clients/client-ec2/commands/ResetImageAttributeCommand.ts +++ b/clients/client-ec2/commands/ResetImageAttributeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetImageAttributeCommandInput = ResetImageAttributeRequest; @@ -68,14 +68,14 @@ export class ResetImageAttributeCommand extends $Command< private serialize( input: ResetImageAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ResetImageAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ResetImageAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/ResetInstanceAttributeCommand.ts b/clients/client-ec2/commands/ResetInstanceAttributeCommand.ts index 039717277b96..dfa8f900f620 100644 --- a/clients/client-ec2/commands/ResetInstanceAttributeCommand.ts +++ b/clients/client-ec2/commands/ResetInstanceAttributeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetInstanceAttributeCommandInput = ResetInstanceAttributeRequest; @@ -68,14 +68,14 @@ export class ResetInstanceAttributeCommand extends $Command< private serialize( input: ResetInstanceAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ResetInstanceAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ResetInstanceAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/ResetNetworkInterfaceAttributeCommand.ts b/clients/client-ec2/commands/ResetNetworkInterfaceAttributeCommand.ts index 2a268db35e5f..ca06bccb7b55 100644 --- a/clients/client-ec2/commands/ResetNetworkInterfaceAttributeCommand.ts +++ b/clients/client-ec2/commands/ResetNetworkInterfaceAttributeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetNetworkInterfaceAttributeCommandInput = ResetNetworkInterfaceAttributeRequest; @@ -68,7 +68,7 @@ export class ResetNetworkInterfaceAttributeCommand extends $Command< private serialize( input: ResetNetworkInterfaceAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ResetNetworkInterfaceAttributeCommand( input, @@ -78,7 +78,7 @@ export class ResetNetworkInterfaceAttributeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ResetNetworkInterfaceAttributeCommand( output, diff --git a/clients/client-ec2/commands/ResetSnapshotAttributeCommand.ts b/clients/client-ec2/commands/ResetSnapshotAttributeCommand.ts index 14277cfd31b7..16c7718b9075 100644 --- a/clients/client-ec2/commands/ResetSnapshotAttributeCommand.ts +++ b/clients/client-ec2/commands/ResetSnapshotAttributeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetSnapshotAttributeCommandInput = ResetSnapshotAttributeRequest; @@ -68,14 +68,14 @@ export class ResetSnapshotAttributeCommand extends $Command< private serialize( input: ResetSnapshotAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2ResetSnapshotAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2ResetSnapshotAttributeCommand(output, context); } diff --git a/clients/client-ec2/commands/RestoreAddressToClassicCommand.ts b/clients/client-ec2/commands/RestoreAddressToClassicCommand.ts index c771eb4f2eb2..890b6b30cb74 100644 --- a/clients/client-ec2/commands/RestoreAddressToClassicCommand.ts +++ b/clients/client-ec2/commands/RestoreAddressToClassicCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreAddressToClassicCommandInput = RestoreAddressToClassicRequest; @@ -70,14 +70,14 @@ export class RestoreAddressToClassicCommand extends $Command< private serialize( input: RestoreAddressToClassicCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RestoreAddressToClassicCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RestoreAddressToClassicCommand(output, context); } diff --git a/clients/client-ec2/commands/RevokeClientVpnIngressCommand.ts b/clients/client-ec2/commands/RevokeClientVpnIngressCommand.ts index 749c7b886aea..513030fea4a3 100644 --- a/clients/client-ec2/commands/RevokeClientVpnIngressCommand.ts +++ b/clients/client-ec2/commands/RevokeClientVpnIngressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeClientVpnIngressCommandInput = RevokeClientVpnIngressRequest; @@ -70,14 +70,14 @@ export class RevokeClientVpnIngressCommand extends $Command< private serialize( input: RevokeClientVpnIngressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RevokeClientVpnIngressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RevokeClientVpnIngressCommand(output, context); } diff --git a/clients/client-ec2/commands/RevokeSecurityGroupEgressCommand.ts b/clients/client-ec2/commands/RevokeSecurityGroupEgressCommand.ts index 36d08a2613f3..f57a5ba60cf7 100644 --- a/clients/client-ec2/commands/RevokeSecurityGroupEgressCommand.ts +++ b/clients/client-ec2/commands/RevokeSecurityGroupEgressCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeSecurityGroupEgressCommandInput = RevokeSecurityGroupEgressRequest; @@ -68,14 +68,14 @@ export class RevokeSecurityGroupEgressCommand extends $Command< private serialize( input: RevokeSecurityGroupEgressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RevokeSecurityGroupEgressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RevokeSecurityGroupEgressCommand(output, context); } diff --git a/clients/client-ec2/commands/RevokeSecurityGroupIngressCommand.ts b/clients/client-ec2/commands/RevokeSecurityGroupIngressCommand.ts index 09d660588239..fa3736021463 100644 --- a/clients/client-ec2/commands/RevokeSecurityGroupIngressCommand.ts +++ b/clients/client-ec2/commands/RevokeSecurityGroupIngressCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeSecurityGroupIngressCommandInput = RevokeSecurityGroupIngressRequest; @@ -68,14 +68,14 @@ export class RevokeSecurityGroupIngressCommand extends $Command< private serialize( input: RevokeSecurityGroupIngressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RevokeSecurityGroupIngressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RevokeSecurityGroupIngressCommand(output, context); } diff --git a/clients/client-ec2/commands/RunInstancesCommand.ts b/clients/client-ec2/commands/RunInstancesCommand.ts index c25fd1aa7c80..26584b6392ef 100644 --- a/clients/client-ec2/commands/RunInstancesCommand.ts +++ b/clients/client-ec2/commands/RunInstancesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RunInstancesCommandInput = RunInstancesRequest; @@ -64,14 +64,14 @@ export class RunInstancesCommand extends $Command< private serialize( input: RunInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RunInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RunInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/RunScheduledInstancesCommand.ts b/clients/client-ec2/commands/RunScheduledInstancesCommand.ts index f2e0ba7cbd36..07bddd23a1dd 100644 --- a/clients/client-ec2/commands/RunScheduledInstancesCommand.ts +++ b/clients/client-ec2/commands/RunScheduledInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RunScheduledInstancesCommandInput = RunScheduledInstancesRequest; @@ -70,14 +70,14 @@ export class RunScheduledInstancesCommand extends $Command< private serialize( input: RunScheduledInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2RunScheduledInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2RunScheduledInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/SearchLocalGatewayRoutesCommand.ts b/clients/client-ec2/commands/SearchLocalGatewayRoutesCommand.ts index 63a6cab75137..1d31e0b1c009 100644 --- a/clients/client-ec2/commands/SearchLocalGatewayRoutesCommand.ts +++ b/clients/client-ec2/commands/SearchLocalGatewayRoutesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchLocalGatewayRoutesCommandInput = SearchLocalGatewayRoutesRequest; @@ -70,14 +70,14 @@ export class SearchLocalGatewayRoutesCommand extends $Command< private serialize( input: SearchLocalGatewayRoutesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2SearchLocalGatewayRoutesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2SearchLocalGatewayRoutesCommand(output, context); } diff --git a/clients/client-ec2/commands/SearchTransitGatewayMulticastGroupsCommand.ts b/clients/client-ec2/commands/SearchTransitGatewayMulticastGroupsCommand.ts index 724ad8609911..567c3ef726b5 100644 --- a/clients/client-ec2/commands/SearchTransitGatewayMulticastGroupsCommand.ts +++ b/clients/client-ec2/commands/SearchTransitGatewayMulticastGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchTransitGatewayMulticastGroupsCommandInput = SearchTransitGatewayMulticastGroupsRequest; @@ -70,7 +70,7 @@ export class SearchTransitGatewayMulticastGroupsCommand extends $Command< private serialize( input: SearchTransitGatewayMulticastGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2SearchTransitGatewayMulticastGroupsCommand( input, @@ -80,7 +80,7 @@ export class SearchTransitGatewayMulticastGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2SearchTransitGatewayMulticastGroupsCommand( output, diff --git a/clients/client-ec2/commands/SearchTransitGatewayRoutesCommand.ts b/clients/client-ec2/commands/SearchTransitGatewayRoutesCommand.ts index 75480b6e6139..83d18add7630 100644 --- a/clients/client-ec2/commands/SearchTransitGatewayRoutesCommand.ts +++ b/clients/client-ec2/commands/SearchTransitGatewayRoutesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchTransitGatewayRoutesCommandInput = SearchTransitGatewayRoutesRequest; @@ -70,14 +70,14 @@ export class SearchTransitGatewayRoutesCommand extends $Command< private serialize( input: SearchTransitGatewayRoutesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2SearchTransitGatewayRoutesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2SearchTransitGatewayRoutesCommand(output, context); } diff --git a/clients/client-ec2/commands/SendDiagnosticInterruptCommand.ts b/clients/client-ec2/commands/SendDiagnosticInterruptCommand.ts index 89737c6b3687..0b588fec45f9 100644 --- a/clients/client-ec2/commands/SendDiagnosticInterruptCommand.ts +++ b/clients/client-ec2/commands/SendDiagnosticInterruptCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendDiagnosticInterruptCommandInput = SendDiagnosticInterruptRequest; @@ -68,14 +68,14 @@ export class SendDiagnosticInterruptCommand extends $Command< private serialize( input: SendDiagnosticInterruptCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2SendDiagnosticInterruptCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2SendDiagnosticInterruptCommand(output, context); } diff --git a/clients/client-ec2/commands/StartInstancesCommand.ts b/clients/client-ec2/commands/StartInstancesCommand.ts index 93da0366a7eb..f30b3a5ab656 100644 --- a/clients/client-ec2/commands/StartInstancesCommand.ts +++ b/clients/client-ec2/commands/StartInstancesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartInstancesCommandInput = StartInstancesRequest; @@ -64,14 +64,14 @@ export class StartInstancesCommand extends $Command< private serialize( input: StartInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2StartInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2StartInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.ts b/clients/client-ec2/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.ts index 0eaadc3e0df2..1673483646ec 100644 --- a/clients/client-ec2/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.ts +++ b/clients/client-ec2/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartVpcEndpointServicePrivateDnsVerificationCommandInput = StartVpcEndpointServicePrivateDnsVerificationRequest; @@ -72,7 +72,7 @@ export class StartVpcEndpointServicePrivateDnsVerificationCommand extends $Comma private serialize( input: StartVpcEndpointServicePrivateDnsVerificationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2StartVpcEndpointServicePrivateDnsVerificationCommand( input, @@ -82,7 +82,7 @@ export class StartVpcEndpointServicePrivateDnsVerificationCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2StartVpcEndpointServicePrivateDnsVerificationCommand( output, diff --git a/clients/client-ec2/commands/StopInstancesCommand.ts b/clients/client-ec2/commands/StopInstancesCommand.ts index 0afce99746d0..8eaaa4d7e847 100644 --- a/clients/client-ec2/commands/StopInstancesCommand.ts +++ b/clients/client-ec2/commands/StopInstancesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopInstancesCommandInput = StopInstancesRequest; @@ -64,14 +64,14 @@ export class StopInstancesCommand extends $Command< private serialize( input: StopInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2StopInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2StopInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/TerminateClientVpnConnectionsCommand.ts b/clients/client-ec2/commands/TerminateClientVpnConnectionsCommand.ts index e8e8fd9b42a9..585296a4e75d 100644 --- a/clients/client-ec2/commands/TerminateClientVpnConnectionsCommand.ts +++ b/clients/client-ec2/commands/TerminateClientVpnConnectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TerminateClientVpnConnectionsCommandInput = TerminateClientVpnConnectionsRequest; @@ -70,14 +70,14 @@ export class TerminateClientVpnConnectionsCommand extends $Command< private serialize( input: TerminateClientVpnConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2TerminateClientVpnConnectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2TerminateClientVpnConnectionsCommand( output, diff --git a/clients/client-ec2/commands/TerminateInstancesCommand.ts b/clients/client-ec2/commands/TerminateInstancesCommand.ts index 5be9474639a2..7679a0b379a8 100644 --- a/clients/client-ec2/commands/TerminateInstancesCommand.ts +++ b/clients/client-ec2/commands/TerminateInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TerminateInstancesCommandInput = TerminateInstancesRequest; @@ -67,14 +67,14 @@ export class TerminateInstancesCommand extends $Command< private serialize( input: TerminateInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2TerminateInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2TerminateInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/UnassignIpv6AddressesCommand.ts b/clients/client-ec2/commands/UnassignIpv6AddressesCommand.ts index 944d5e0b79fc..e7e4615e2342 100644 --- a/clients/client-ec2/commands/UnassignIpv6AddressesCommand.ts +++ b/clients/client-ec2/commands/UnassignIpv6AddressesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnassignIpv6AddressesCommandInput = UnassignIpv6AddressesRequest; @@ -70,14 +70,14 @@ export class UnassignIpv6AddressesCommand extends $Command< private serialize( input: UnassignIpv6AddressesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2UnassignIpv6AddressesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2UnassignIpv6AddressesCommand(output, context); } diff --git a/clients/client-ec2/commands/UnassignPrivateIpAddressesCommand.ts b/clients/client-ec2/commands/UnassignPrivateIpAddressesCommand.ts index a689e1f82a67..38be0cb6858d 100644 --- a/clients/client-ec2/commands/UnassignPrivateIpAddressesCommand.ts +++ b/clients/client-ec2/commands/UnassignPrivateIpAddressesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnassignPrivateIpAddressesCommandInput = UnassignPrivateIpAddressesRequest; @@ -68,14 +68,14 @@ export class UnassignPrivateIpAddressesCommand extends $Command< private serialize( input: UnassignPrivateIpAddressesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2UnassignPrivateIpAddressesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2UnassignPrivateIpAddressesCommand(output, context); } diff --git a/clients/client-ec2/commands/UnmonitorInstancesCommand.ts b/clients/client-ec2/commands/UnmonitorInstancesCommand.ts index 88ad3c43dd3f..1a1307711487 100644 --- a/clients/client-ec2/commands/UnmonitorInstancesCommand.ts +++ b/clients/client-ec2/commands/UnmonitorInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnmonitorInstancesCommandInput = UnmonitorInstancesRequest; @@ -67,14 +67,14 @@ export class UnmonitorInstancesCommand extends $Command< private serialize( input: UnmonitorInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2UnmonitorInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2UnmonitorInstancesCommand(output, context); } diff --git a/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.ts b/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.ts index bc058ea3b03b..122cc0e9212a 100644 --- a/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.ts +++ b/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSecurityGroupRuleDescriptionsEgressCommandInput = UpdateSecurityGroupRuleDescriptionsEgressRequest; @@ -72,7 +72,7 @@ export class UpdateSecurityGroupRuleDescriptionsEgressCommand extends $Command< private serialize( input: UpdateSecurityGroupRuleDescriptionsEgressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2UpdateSecurityGroupRuleDescriptionsEgressCommand( input, @@ -82,7 +82,7 @@ export class UpdateSecurityGroupRuleDescriptionsEgressCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2UpdateSecurityGroupRuleDescriptionsEgressCommand( output, diff --git a/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts b/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts index a50188a586ac..f1d569055814 100644 --- a/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts +++ b/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSecurityGroupRuleDescriptionsIngressCommandInput = UpdateSecurityGroupRuleDescriptionsIngressRequest; @@ -72,7 +72,7 @@ export class UpdateSecurityGroupRuleDescriptionsIngressCommand extends $Command< private serialize( input: UpdateSecurityGroupRuleDescriptionsIngressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2UpdateSecurityGroupRuleDescriptionsIngressCommand( input, @@ -82,7 +82,7 @@ export class UpdateSecurityGroupRuleDescriptionsIngressCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2UpdateSecurityGroupRuleDescriptionsIngressCommand( output, diff --git a/clients/client-ec2/commands/WithdrawByoipCidrCommand.ts b/clients/client-ec2/commands/WithdrawByoipCidrCommand.ts index 034afc2229a5..7506af5df836 100644 --- a/clients/client-ec2/commands/WithdrawByoipCidrCommand.ts +++ b/clients/client-ec2/commands/WithdrawByoipCidrCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type WithdrawByoipCidrCommandInput = WithdrawByoipCidrRequest; @@ -67,14 +67,14 @@ export class WithdrawByoipCidrCommand extends $Command< private serialize( input: WithdrawByoipCidrCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_ec2WithdrawByoipCidrCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_ec2WithdrawByoipCidrCommand(output, context); } diff --git a/clients/client-ec2/protocols/Aws_ec2.ts b/clients/client-ec2/protocols/Aws_ec2.ts index 59545bff4e30..0cd8f14b50c8 100644 --- a/clients/client-ec2/protocols/Aws_ec2.ts +++ b/clients/client-ec2/protocols/Aws_ec2.ts @@ -73525,6 +73525,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-ecr/commands/BatchCheckLayerAvailabilityCommand.ts b/clients/client-ecr/commands/BatchCheckLayerAvailabilityCommand.ts index f840e93c845c..833ef9bf72e0 100644 --- a/clients/client-ecr/commands/BatchCheckLayerAvailabilityCommand.ts +++ b/clients/client-ecr/commands/BatchCheckLayerAvailabilityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchCheckLayerAvailabilityCommandInput = BatchCheckLayerAvailabilityRequest; @@ -70,7 +70,7 @@ export class BatchCheckLayerAvailabilityCommand extends $Command< private serialize( input: BatchCheckLayerAvailabilityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchCheckLayerAvailabilityCommand( input, @@ -80,7 +80,7 @@ export class BatchCheckLayerAvailabilityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchCheckLayerAvailabilityCommand( output, diff --git a/clients/client-ecr/commands/BatchDeleteImageCommand.ts b/clients/client-ecr/commands/BatchDeleteImageCommand.ts index 5a897c591c09..3cf981e2b0d9 100644 --- a/clients/client-ecr/commands/BatchDeleteImageCommand.ts +++ b/clients/client-ecr/commands/BatchDeleteImageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDeleteImageCommandInput = BatchDeleteImageRequest; @@ -67,14 +67,14 @@ export class BatchDeleteImageCommand extends $Command< private serialize( input: BatchDeleteImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDeleteImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDeleteImageCommand(output, context); } diff --git a/clients/client-ecr/commands/BatchGetImageCommand.ts b/clients/client-ecr/commands/BatchGetImageCommand.ts index 54fa82ea52ea..6d19898a9e6d 100644 --- a/clients/client-ecr/commands/BatchGetImageCommand.ts +++ b/clients/client-ecr/commands/BatchGetImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetImageCommandInput = BatchGetImageRequest; @@ -64,14 +64,14 @@ export class BatchGetImageCommand extends $Command< private serialize( input: BatchGetImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetImageCommand(output, context); } diff --git a/clients/client-ecr/commands/CompleteLayerUploadCommand.ts b/clients/client-ecr/commands/CompleteLayerUploadCommand.ts index 1d18f34ea79b..6bc9294f08e3 100644 --- a/clients/client-ecr/commands/CompleteLayerUploadCommand.ts +++ b/clients/client-ecr/commands/CompleteLayerUploadCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CompleteLayerUploadCommandInput = CompleteLayerUploadRequest; @@ -70,14 +70,14 @@ export class CompleteLayerUploadCommand extends $Command< private serialize( input: CompleteLayerUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CompleteLayerUploadCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CompleteLayerUploadCommand(output, context); } diff --git a/clients/client-ecr/commands/CreateRepositoryCommand.ts b/clients/client-ecr/commands/CreateRepositoryCommand.ts index 23c88c9f3fb3..6c03a4df3e2d 100644 --- a/clients/client-ecr/commands/CreateRepositoryCommand.ts +++ b/clients/client-ecr/commands/CreateRepositoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRepositoryCommandInput = CreateRepositoryRequest; @@ -67,14 +67,14 @@ export class CreateRepositoryCommand extends $Command< private serialize( input: CreateRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRepositoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRepositoryCommand(output, context); } diff --git a/clients/client-ecr/commands/DeleteLifecyclePolicyCommand.ts b/clients/client-ecr/commands/DeleteLifecyclePolicyCommand.ts index 5bc914305a72..680e734d986a 100644 --- a/clients/client-ecr/commands/DeleteLifecyclePolicyCommand.ts +++ b/clients/client-ecr/commands/DeleteLifecyclePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLifecyclePolicyCommandInput = DeleteLifecyclePolicyRequest; @@ -70,14 +70,14 @@ export class DeleteLifecyclePolicyCommand extends $Command< private serialize( input: DeleteLifecyclePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLifecyclePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLifecyclePolicyCommand(output, context); } diff --git a/clients/client-ecr/commands/DeleteRepositoryCommand.ts b/clients/client-ecr/commands/DeleteRepositoryCommand.ts index 2c5d393ff29e..65587f375b96 100644 --- a/clients/client-ecr/commands/DeleteRepositoryCommand.ts +++ b/clients/client-ecr/commands/DeleteRepositoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRepositoryCommandInput = DeleteRepositoryRequest; @@ -67,14 +67,14 @@ export class DeleteRepositoryCommand extends $Command< private serialize( input: DeleteRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRepositoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRepositoryCommand(output, context); } diff --git a/clients/client-ecr/commands/DeleteRepositoryPolicyCommand.ts b/clients/client-ecr/commands/DeleteRepositoryPolicyCommand.ts index 3038ce2f0196..92779bde95c7 100644 --- a/clients/client-ecr/commands/DeleteRepositoryPolicyCommand.ts +++ b/clients/client-ecr/commands/DeleteRepositoryPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRepositoryPolicyCommandInput = DeleteRepositoryPolicyRequest; @@ -70,14 +70,14 @@ export class DeleteRepositoryPolicyCommand extends $Command< private serialize( input: DeleteRepositoryPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRepositoryPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRepositoryPolicyCommand(output, context); } diff --git a/clients/client-ecr/commands/DescribeImageScanFindingsCommand.ts b/clients/client-ecr/commands/DescribeImageScanFindingsCommand.ts index 6b9dd5e9c5d8..83219beddd98 100644 --- a/clients/client-ecr/commands/DescribeImageScanFindingsCommand.ts +++ b/clients/client-ecr/commands/DescribeImageScanFindingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeImageScanFindingsCommandInput = DescribeImageScanFindingsRequest; @@ -70,14 +70,14 @@ export class DescribeImageScanFindingsCommand extends $Command< private serialize( input: DescribeImageScanFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeImageScanFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeImageScanFindingsCommand( output, diff --git a/clients/client-ecr/commands/DescribeImagesCommand.ts b/clients/client-ecr/commands/DescribeImagesCommand.ts index 3067b9568595..66f9b7c517f9 100644 --- a/clients/client-ecr/commands/DescribeImagesCommand.ts +++ b/clients/client-ecr/commands/DescribeImagesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeImagesCommandInput = DescribeImagesRequest; @@ -64,14 +64,14 @@ export class DescribeImagesCommand extends $Command< private serialize( input: DescribeImagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeImagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeImagesCommand(output, context); } diff --git a/clients/client-ecr/commands/DescribeRepositoriesCommand.ts b/clients/client-ecr/commands/DescribeRepositoriesCommand.ts index 58b534715dd4..777e61979597 100644 --- a/clients/client-ecr/commands/DescribeRepositoriesCommand.ts +++ b/clients/client-ecr/commands/DescribeRepositoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRepositoriesCommandInput = DescribeRepositoriesRequest; @@ -70,14 +70,14 @@ export class DescribeRepositoriesCommand extends $Command< private serialize( input: DescribeRepositoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRepositoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRepositoriesCommand(output, context); } diff --git a/clients/client-ecr/commands/GetAuthorizationTokenCommand.ts b/clients/client-ecr/commands/GetAuthorizationTokenCommand.ts index a4bc8b55e08b..d7e9374fe6a4 100644 --- a/clients/client-ecr/commands/GetAuthorizationTokenCommand.ts +++ b/clients/client-ecr/commands/GetAuthorizationTokenCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAuthorizationTokenCommandInput = GetAuthorizationTokenRequest; @@ -70,14 +70,14 @@ export class GetAuthorizationTokenCommand extends $Command< private serialize( input: GetAuthorizationTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAuthorizationTokenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAuthorizationTokenCommand(output, context); } diff --git a/clients/client-ecr/commands/GetDownloadUrlForLayerCommand.ts b/clients/client-ecr/commands/GetDownloadUrlForLayerCommand.ts index f8070be969e7..b6a61bedfba0 100644 --- a/clients/client-ecr/commands/GetDownloadUrlForLayerCommand.ts +++ b/clients/client-ecr/commands/GetDownloadUrlForLayerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDownloadUrlForLayerCommandInput = GetDownloadUrlForLayerRequest; @@ -70,14 +70,14 @@ export class GetDownloadUrlForLayerCommand extends $Command< private serialize( input: GetDownloadUrlForLayerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDownloadUrlForLayerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDownloadUrlForLayerCommand(output, context); } diff --git a/clients/client-ecr/commands/GetLifecyclePolicyCommand.ts b/clients/client-ecr/commands/GetLifecyclePolicyCommand.ts index a71abb97f111..a301f3ef42d0 100644 --- a/clients/client-ecr/commands/GetLifecyclePolicyCommand.ts +++ b/clients/client-ecr/commands/GetLifecyclePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLifecyclePolicyCommandInput = GetLifecyclePolicyRequest; @@ -67,14 +67,14 @@ export class GetLifecyclePolicyCommand extends $Command< private serialize( input: GetLifecyclePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLifecyclePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLifecyclePolicyCommand(output, context); } diff --git a/clients/client-ecr/commands/GetLifecyclePolicyPreviewCommand.ts b/clients/client-ecr/commands/GetLifecyclePolicyPreviewCommand.ts index 28b24bbbd815..a92814fa67f8 100644 --- a/clients/client-ecr/commands/GetLifecyclePolicyPreviewCommand.ts +++ b/clients/client-ecr/commands/GetLifecyclePolicyPreviewCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLifecyclePolicyPreviewCommandInput = GetLifecyclePolicyPreviewRequest; @@ -70,14 +70,14 @@ export class GetLifecyclePolicyPreviewCommand extends $Command< private serialize( input: GetLifecyclePolicyPreviewCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLifecyclePolicyPreviewCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLifecyclePolicyPreviewCommand( output, diff --git a/clients/client-ecr/commands/GetRepositoryPolicyCommand.ts b/clients/client-ecr/commands/GetRepositoryPolicyCommand.ts index 7bd496b3c832..5d4a0e78edb1 100644 --- a/clients/client-ecr/commands/GetRepositoryPolicyCommand.ts +++ b/clients/client-ecr/commands/GetRepositoryPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRepositoryPolicyCommandInput = GetRepositoryPolicyRequest; @@ -70,14 +70,14 @@ export class GetRepositoryPolicyCommand extends $Command< private serialize( input: GetRepositoryPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRepositoryPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRepositoryPolicyCommand(output, context); } diff --git a/clients/client-ecr/commands/InitiateLayerUploadCommand.ts b/clients/client-ecr/commands/InitiateLayerUploadCommand.ts index 96d640ddaeaa..5cba91e051ba 100644 --- a/clients/client-ecr/commands/InitiateLayerUploadCommand.ts +++ b/clients/client-ecr/commands/InitiateLayerUploadCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InitiateLayerUploadCommandInput = InitiateLayerUploadRequest; @@ -70,14 +70,14 @@ export class InitiateLayerUploadCommand extends $Command< private serialize( input: InitiateLayerUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1InitiateLayerUploadCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1InitiateLayerUploadCommand(output, context); } diff --git a/clients/client-ecr/commands/ListImagesCommand.ts b/clients/client-ecr/commands/ListImagesCommand.ts index d7cdbff7f3a7..6d5bf983c173 100644 --- a/clients/client-ecr/commands/ListImagesCommand.ts +++ b/clients/client-ecr/commands/ListImagesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListImagesCommandInput = ListImagesRequest; @@ -64,14 +64,14 @@ export class ListImagesCommand extends $Command< private serialize( input: ListImagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListImagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListImagesCommand(output, context); } diff --git a/clients/client-ecr/commands/ListTagsForResourceCommand.ts b/clients/client-ecr/commands/ListTagsForResourceCommand.ts index f40ba024a937..b87bc71dbc7f 100644 --- a/clients/client-ecr/commands/ListTagsForResourceCommand.ts +++ b/clients/client-ecr/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-ecr/commands/PutImageCommand.ts b/clients/client-ecr/commands/PutImageCommand.ts index 1a465d7ccef5..10e7c10592ac 100644 --- a/clients/client-ecr/commands/PutImageCommand.ts +++ b/clients/client-ecr/commands/PutImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutImageCommandInput = PutImageRequest; @@ -64,14 +64,14 @@ export class PutImageCommand extends $Command< private serialize( input: PutImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutImageCommand(output, context); } diff --git a/clients/client-ecr/commands/PutImageScanningConfigurationCommand.ts b/clients/client-ecr/commands/PutImageScanningConfigurationCommand.ts index f27f6c7f5dab..715c8beedcbe 100644 --- a/clients/client-ecr/commands/PutImageScanningConfigurationCommand.ts +++ b/clients/client-ecr/commands/PutImageScanningConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutImageScanningConfigurationCommandInput = PutImageScanningConfigurationRequest; @@ -70,7 +70,7 @@ export class PutImageScanningConfigurationCommand extends $Command< private serialize( input: PutImageScanningConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutImageScanningConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutImageScanningConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutImageScanningConfigurationCommand( output, diff --git a/clients/client-ecr/commands/PutImageTagMutabilityCommand.ts b/clients/client-ecr/commands/PutImageTagMutabilityCommand.ts index 93acd4dbff41..6f78d5bc699d 100644 --- a/clients/client-ecr/commands/PutImageTagMutabilityCommand.ts +++ b/clients/client-ecr/commands/PutImageTagMutabilityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutImageTagMutabilityCommandInput = PutImageTagMutabilityRequest; @@ -70,14 +70,14 @@ export class PutImageTagMutabilityCommand extends $Command< private serialize( input: PutImageTagMutabilityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutImageTagMutabilityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutImageTagMutabilityCommand(output, context); } diff --git a/clients/client-ecr/commands/PutLifecyclePolicyCommand.ts b/clients/client-ecr/commands/PutLifecyclePolicyCommand.ts index 9274c6b91014..4f365b8698fb 100644 --- a/clients/client-ecr/commands/PutLifecyclePolicyCommand.ts +++ b/clients/client-ecr/commands/PutLifecyclePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLifecyclePolicyCommandInput = PutLifecyclePolicyRequest; @@ -67,14 +67,14 @@ export class PutLifecyclePolicyCommand extends $Command< private serialize( input: PutLifecyclePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutLifecyclePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutLifecyclePolicyCommand(output, context); } diff --git a/clients/client-ecr/commands/SetRepositoryPolicyCommand.ts b/clients/client-ecr/commands/SetRepositoryPolicyCommand.ts index dfa8ca24be5a..32de4fa28ff3 100644 --- a/clients/client-ecr/commands/SetRepositoryPolicyCommand.ts +++ b/clients/client-ecr/commands/SetRepositoryPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetRepositoryPolicyCommandInput = SetRepositoryPolicyRequest; @@ -70,14 +70,14 @@ export class SetRepositoryPolicyCommand extends $Command< private serialize( input: SetRepositoryPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetRepositoryPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetRepositoryPolicyCommand(output, context); } diff --git a/clients/client-ecr/commands/StartImageScanCommand.ts b/clients/client-ecr/commands/StartImageScanCommand.ts index cc33f3f33b93..0bdac8e5da71 100644 --- a/clients/client-ecr/commands/StartImageScanCommand.ts +++ b/clients/client-ecr/commands/StartImageScanCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartImageScanCommandInput = StartImageScanRequest; @@ -64,14 +64,14 @@ export class StartImageScanCommand extends $Command< private serialize( input: StartImageScanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartImageScanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartImageScanCommand(output, context); } diff --git a/clients/client-ecr/commands/StartLifecyclePolicyPreviewCommand.ts b/clients/client-ecr/commands/StartLifecyclePolicyPreviewCommand.ts index 74d16a88185e..4a1f24d277ae 100644 --- a/clients/client-ecr/commands/StartLifecyclePolicyPreviewCommand.ts +++ b/clients/client-ecr/commands/StartLifecyclePolicyPreviewCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartLifecyclePolicyPreviewCommandInput = StartLifecyclePolicyPreviewRequest; @@ -70,7 +70,7 @@ export class StartLifecyclePolicyPreviewCommand extends $Command< private serialize( input: StartLifecyclePolicyPreviewCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartLifecyclePolicyPreviewCommand( input, @@ -80,7 +80,7 @@ export class StartLifecyclePolicyPreviewCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartLifecyclePolicyPreviewCommand( output, diff --git a/clients/client-ecr/commands/TagResourceCommand.ts b/clients/client-ecr/commands/TagResourceCommand.ts index e126ddcb5757..374429c49032 100644 --- a/clients/client-ecr/commands/TagResourceCommand.ts +++ b/clients/client-ecr/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-ecr/commands/UntagResourceCommand.ts b/clients/client-ecr/commands/UntagResourceCommand.ts index fc48c9ffc989..7701343a8125 100644 --- a/clients/client-ecr/commands/UntagResourceCommand.ts +++ b/clients/client-ecr/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-ecr/commands/UploadLayerPartCommand.ts b/clients/client-ecr/commands/UploadLayerPartCommand.ts index bf6110a70913..273044e91cae 100644 --- a/clients/client-ecr/commands/UploadLayerPartCommand.ts +++ b/clients/client-ecr/commands/UploadLayerPartCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UploadLayerPartCommandInput = UploadLayerPartRequest; @@ -67,14 +67,14 @@ export class UploadLayerPartCommand extends $Command< private serialize( input: UploadLayerPartCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UploadLayerPartCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UploadLayerPartCommand(output, context); } diff --git a/clients/client-ecr/protocols/Aws_json1_1.ts b/clients/client-ecr/protocols/Aws_json1_1.ts index 4484b805c1c5..c65f141b8ab8 100644 --- a/clients/client-ecr/protocols/Aws_json1_1.ts +++ b/clients/client-ecr/protocols/Aws_json1_1.ts @@ -5802,6 +5802,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-ecs/commands/CreateCapacityProviderCommand.ts b/clients/client-ecs/commands/CreateCapacityProviderCommand.ts index 4525e8950374..e6b9e2ffcdcf 100644 --- a/clients/client-ecs/commands/CreateCapacityProviderCommand.ts +++ b/clients/client-ecs/commands/CreateCapacityProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCapacityProviderCommandInput = CreateCapacityProviderRequest; @@ -70,14 +70,14 @@ export class CreateCapacityProviderCommand extends $Command< private serialize( input: CreateCapacityProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCapacityProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCapacityProviderCommand(output, context); } diff --git a/clients/client-ecs/commands/CreateClusterCommand.ts b/clients/client-ecs/commands/CreateClusterCommand.ts index d562da39adf2..8704d815bd71 100644 --- a/clients/client-ecs/commands/CreateClusterCommand.ts +++ b/clients/client-ecs/commands/CreateClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClusterCommandInput = CreateClusterRequest; @@ -64,14 +64,14 @@ export class CreateClusterCommand extends $Command< private serialize( input: CreateClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateClusterCommand(output, context); } diff --git a/clients/client-ecs/commands/CreateServiceCommand.ts b/clients/client-ecs/commands/CreateServiceCommand.ts index f781b2411cc0..51f38bc620dd 100644 --- a/clients/client-ecs/commands/CreateServiceCommand.ts +++ b/clients/client-ecs/commands/CreateServiceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateServiceCommandInput = CreateServiceRequest; @@ -64,14 +64,14 @@ export class CreateServiceCommand extends $Command< private serialize( input: CreateServiceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateServiceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateServiceCommand(output, context); } diff --git a/clients/client-ecs/commands/CreateTaskSetCommand.ts b/clients/client-ecs/commands/CreateTaskSetCommand.ts index 9f3bae5b84ba..99c9b2f650a1 100644 --- a/clients/client-ecs/commands/CreateTaskSetCommand.ts +++ b/clients/client-ecs/commands/CreateTaskSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTaskSetCommandInput = CreateTaskSetRequest; @@ -64,14 +64,14 @@ export class CreateTaskSetCommand extends $Command< private serialize( input: CreateTaskSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTaskSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTaskSetCommand(output, context); } diff --git a/clients/client-ecs/commands/DeleteAccountSettingCommand.ts b/clients/client-ecs/commands/DeleteAccountSettingCommand.ts index b8e837d1d6be..179ebc49944f 100644 --- a/clients/client-ecs/commands/DeleteAccountSettingCommand.ts +++ b/clients/client-ecs/commands/DeleteAccountSettingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAccountSettingCommandInput = DeleteAccountSettingRequest; @@ -70,14 +70,14 @@ export class DeleteAccountSettingCommand extends $Command< private serialize( input: DeleteAccountSettingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAccountSettingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAccountSettingCommand(output, context); } diff --git a/clients/client-ecs/commands/DeleteAttributesCommand.ts b/clients/client-ecs/commands/DeleteAttributesCommand.ts index def44e5d4930..e9c3427fd0ac 100644 --- a/clients/client-ecs/commands/DeleteAttributesCommand.ts +++ b/clients/client-ecs/commands/DeleteAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAttributesCommandInput = DeleteAttributesRequest; @@ -67,14 +67,14 @@ export class DeleteAttributesCommand extends $Command< private serialize( input: DeleteAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAttributesCommand(output, context); } diff --git a/clients/client-ecs/commands/DeleteClusterCommand.ts b/clients/client-ecs/commands/DeleteClusterCommand.ts index 874e308f0138..3b5d9496cd61 100644 --- a/clients/client-ecs/commands/DeleteClusterCommand.ts +++ b/clients/client-ecs/commands/DeleteClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClusterCommandInput = DeleteClusterRequest; @@ -64,14 +64,14 @@ export class DeleteClusterCommand extends $Command< private serialize( input: DeleteClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteClusterCommand(output, context); } diff --git a/clients/client-ecs/commands/DeleteServiceCommand.ts b/clients/client-ecs/commands/DeleteServiceCommand.ts index 7e7f87faaba7..2af2f9e684cb 100644 --- a/clients/client-ecs/commands/DeleteServiceCommand.ts +++ b/clients/client-ecs/commands/DeleteServiceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteServiceCommandInput = DeleteServiceRequest; @@ -64,14 +64,14 @@ export class DeleteServiceCommand extends $Command< private serialize( input: DeleteServiceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteServiceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteServiceCommand(output, context); } diff --git a/clients/client-ecs/commands/DeleteTaskSetCommand.ts b/clients/client-ecs/commands/DeleteTaskSetCommand.ts index 2ce733fd7939..65763cfc7f52 100644 --- a/clients/client-ecs/commands/DeleteTaskSetCommand.ts +++ b/clients/client-ecs/commands/DeleteTaskSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTaskSetCommandInput = DeleteTaskSetRequest; @@ -64,14 +64,14 @@ export class DeleteTaskSetCommand extends $Command< private serialize( input: DeleteTaskSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTaskSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTaskSetCommand(output, context); } diff --git a/clients/client-ecs/commands/DeregisterContainerInstanceCommand.ts b/clients/client-ecs/commands/DeregisterContainerInstanceCommand.ts index 3ae9ab872c6b..b443392d771d 100644 --- a/clients/client-ecs/commands/DeregisterContainerInstanceCommand.ts +++ b/clients/client-ecs/commands/DeregisterContainerInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterContainerInstanceCommandInput = DeregisterContainerInstanceRequest; @@ -70,7 +70,7 @@ export class DeregisterContainerInstanceCommand extends $Command< private serialize( input: DeregisterContainerInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterContainerInstanceCommand( input, @@ -80,7 +80,7 @@ export class DeregisterContainerInstanceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterContainerInstanceCommand( output, diff --git a/clients/client-ecs/commands/DeregisterTaskDefinitionCommand.ts b/clients/client-ecs/commands/DeregisterTaskDefinitionCommand.ts index 942d2cf14644..df11bedb06f8 100644 --- a/clients/client-ecs/commands/DeregisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/commands/DeregisterTaskDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterTaskDefinitionCommandInput = DeregisterTaskDefinitionRequest; @@ -70,14 +70,14 @@ export class DeregisterTaskDefinitionCommand extends $Command< private serialize( input: DeregisterTaskDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterTaskDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterTaskDefinitionCommand( output, diff --git a/clients/client-ecs/commands/DescribeCapacityProvidersCommand.ts b/clients/client-ecs/commands/DescribeCapacityProvidersCommand.ts index 26313ba22975..24e15c65bd0b 100644 --- a/clients/client-ecs/commands/DescribeCapacityProvidersCommand.ts +++ b/clients/client-ecs/commands/DescribeCapacityProvidersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCapacityProvidersCommandInput = DescribeCapacityProvidersRequest; @@ -70,14 +70,14 @@ export class DescribeCapacityProvidersCommand extends $Command< private serialize( input: DescribeCapacityProvidersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCapacityProvidersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCapacityProvidersCommand( output, diff --git a/clients/client-ecs/commands/DescribeClustersCommand.ts b/clients/client-ecs/commands/DescribeClustersCommand.ts index 52b4311a79b2..db58d02c9342 100644 --- a/clients/client-ecs/commands/DescribeClustersCommand.ts +++ b/clients/client-ecs/commands/DescribeClustersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClustersCommandInput = DescribeClustersRequest; @@ -67,14 +67,14 @@ export class DescribeClustersCommand extends $Command< private serialize( input: DescribeClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeClustersCommand(output, context); } diff --git a/clients/client-ecs/commands/DescribeContainerInstancesCommand.ts b/clients/client-ecs/commands/DescribeContainerInstancesCommand.ts index e8b7e11d17d9..785ca276b6d8 100644 --- a/clients/client-ecs/commands/DescribeContainerInstancesCommand.ts +++ b/clients/client-ecs/commands/DescribeContainerInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeContainerInstancesCommandInput = DescribeContainerInstancesRequest; @@ -70,7 +70,7 @@ export class DescribeContainerInstancesCommand extends $Command< private serialize( input: DescribeContainerInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeContainerInstancesCommand( input, @@ -80,7 +80,7 @@ export class DescribeContainerInstancesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeContainerInstancesCommand( output, diff --git a/clients/client-ecs/commands/DescribeServicesCommand.ts b/clients/client-ecs/commands/DescribeServicesCommand.ts index f515584d04bb..5f2f0d0b517c 100644 --- a/clients/client-ecs/commands/DescribeServicesCommand.ts +++ b/clients/client-ecs/commands/DescribeServicesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeServicesCommandInput = DescribeServicesRequest; @@ -67,14 +67,14 @@ export class DescribeServicesCommand extends $Command< private serialize( input: DescribeServicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeServicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeServicesCommand(output, context); } diff --git a/clients/client-ecs/commands/DescribeTaskDefinitionCommand.ts b/clients/client-ecs/commands/DescribeTaskDefinitionCommand.ts index 152573658ab9..706e7507f050 100644 --- a/clients/client-ecs/commands/DescribeTaskDefinitionCommand.ts +++ b/clients/client-ecs/commands/DescribeTaskDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTaskDefinitionCommandInput = DescribeTaskDefinitionRequest; @@ -70,14 +70,14 @@ export class DescribeTaskDefinitionCommand extends $Command< private serialize( input: DescribeTaskDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTaskDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTaskDefinitionCommand(output, context); } diff --git a/clients/client-ecs/commands/DescribeTaskSetsCommand.ts b/clients/client-ecs/commands/DescribeTaskSetsCommand.ts index 4036846697ca..484be7e9a30a 100644 --- a/clients/client-ecs/commands/DescribeTaskSetsCommand.ts +++ b/clients/client-ecs/commands/DescribeTaskSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTaskSetsCommandInput = DescribeTaskSetsRequest; @@ -67,14 +67,14 @@ export class DescribeTaskSetsCommand extends $Command< private serialize( input: DescribeTaskSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTaskSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTaskSetsCommand(output, context); } diff --git a/clients/client-ecs/commands/DescribeTasksCommand.ts b/clients/client-ecs/commands/DescribeTasksCommand.ts index dd4bd7aa6243..e3cf9c4ebed7 100644 --- a/clients/client-ecs/commands/DescribeTasksCommand.ts +++ b/clients/client-ecs/commands/DescribeTasksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTasksCommandInput = DescribeTasksRequest; @@ -64,14 +64,14 @@ export class DescribeTasksCommand extends $Command< private serialize( input: DescribeTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTasksCommand(output, context); } diff --git a/clients/client-ecs/commands/DiscoverPollEndpointCommand.ts b/clients/client-ecs/commands/DiscoverPollEndpointCommand.ts index fcc927ed4770..f7f8af0917d4 100644 --- a/clients/client-ecs/commands/DiscoverPollEndpointCommand.ts +++ b/clients/client-ecs/commands/DiscoverPollEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DiscoverPollEndpointCommandInput = DiscoverPollEndpointRequest; @@ -70,14 +70,14 @@ export class DiscoverPollEndpointCommand extends $Command< private serialize( input: DiscoverPollEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DiscoverPollEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DiscoverPollEndpointCommand(output, context); } diff --git a/clients/client-ecs/commands/ListAccountSettingsCommand.ts b/clients/client-ecs/commands/ListAccountSettingsCommand.ts index 8a118fcab018..5678866e812c 100644 --- a/clients/client-ecs/commands/ListAccountSettingsCommand.ts +++ b/clients/client-ecs/commands/ListAccountSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAccountSettingsCommandInput = ListAccountSettingsRequest; @@ -70,14 +70,14 @@ export class ListAccountSettingsCommand extends $Command< private serialize( input: ListAccountSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAccountSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAccountSettingsCommand(output, context); } diff --git a/clients/client-ecs/commands/ListAttributesCommand.ts b/clients/client-ecs/commands/ListAttributesCommand.ts index 4e60da16f6b9..617299257924 100644 --- a/clients/client-ecs/commands/ListAttributesCommand.ts +++ b/clients/client-ecs/commands/ListAttributesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAttributesCommandInput = ListAttributesRequest; @@ -64,14 +64,14 @@ export class ListAttributesCommand extends $Command< private serialize( input: ListAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAttributesCommand(output, context); } diff --git a/clients/client-ecs/commands/ListClustersCommand.ts b/clients/client-ecs/commands/ListClustersCommand.ts index cd02cf80c7d6..4942d090be86 100644 --- a/clients/client-ecs/commands/ListClustersCommand.ts +++ b/clients/client-ecs/commands/ListClustersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListClustersCommandInput = ListClustersRequest; @@ -64,14 +64,14 @@ export class ListClustersCommand extends $Command< private serialize( input: ListClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListClustersCommand(output, context); } diff --git a/clients/client-ecs/commands/ListContainerInstancesCommand.ts b/clients/client-ecs/commands/ListContainerInstancesCommand.ts index 1373b35f1106..eae83c698b04 100644 --- a/clients/client-ecs/commands/ListContainerInstancesCommand.ts +++ b/clients/client-ecs/commands/ListContainerInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListContainerInstancesCommandInput = ListContainerInstancesRequest; @@ -70,14 +70,14 @@ export class ListContainerInstancesCommand extends $Command< private serialize( input: ListContainerInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListContainerInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListContainerInstancesCommand(output, context); } diff --git a/clients/client-ecs/commands/ListServicesCommand.ts b/clients/client-ecs/commands/ListServicesCommand.ts index 58b0150b5e36..d4391de95f50 100644 --- a/clients/client-ecs/commands/ListServicesCommand.ts +++ b/clients/client-ecs/commands/ListServicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListServicesCommandInput = ListServicesRequest; @@ -64,14 +64,14 @@ export class ListServicesCommand extends $Command< private serialize( input: ListServicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListServicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListServicesCommand(output, context); } diff --git a/clients/client-ecs/commands/ListTagsForResourceCommand.ts b/clients/client-ecs/commands/ListTagsForResourceCommand.ts index 1dc0df76ed47..33a935e47f3d 100644 --- a/clients/client-ecs/commands/ListTagsForResourceCommand.ts +++ b/clients/client-ecs/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-ecs/commands/ListTaskDefinitionFamiliesCommand.ts b/clients/client-ecs/commands/ListTaskDefinitionFamiliesCommand.ts index 401854f72aa2..f54509c840a6 100644 --- a/clients/client-ecs/commands/ListTaskDefinitionFamiliesCommand.ts +++ b/clients/client-ecs/commands/ListTaskDefinitionFamiliesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTaskDefinitionFamiliesCommandInput = ListTaskDefinitionFamiliesRequest; @@ -70,7 +70,7 @@ export class ListTaskDefinitionFamiliesCommand extends $Command< private serialize( input: ListTaskDefinitionFamiliesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTaskDefinitionFamiliesCommand( input, @@ -80,7 +80,7 @@ export class ListTaskDefinitionFamiliesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTaskDefinitionFamiliesCommand( output, diff --git a/clients/client-ecs/commands/ListTaskDefinitionsCommand.ts b/clients/client-ecs/commands/ListTaskDefinitionsCommand.ts index d90141976b5a..2bf32dd4fd13 100644 --- a/clients/client-ecs/commands/ListTaskDefinitionsCommand.ts +++ b/clients/client-ecs/commands/ListTaskDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTaskDefinitionsCommandInput = ListTaskDefinitionsRequest; @@ -70,14 +70,14 @@ export class ListTaskDefinitionsCommand extends $Command< private serialize( input: ListTaskDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTaskDefinitionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTaskDefinitionsCommand(output, context); } diff --git a/clients/client-ecs/commands/ListTasksCommand.ts b/clients/client-ecs/commands/ListTasksCommand.ts index b99003986213..b8634865c1cb 100644 --- a/clients/client-ecs/commands/ListTasksCommand.ts +++ b/clients/client-ecs/commands/ListTasksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTasksCommandInput = ListTasksRequest; @@ -64,14 +64,14 @@ export class ListTasksCommand extends $Command< private serialize( input: ListTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTasksCommand(output, context); } diff --git a/clients/client-ecs/commands/PutAccountSettingCommand.ts b/clients/client-ecs/commands/PutAccountSettingCommand.ts index 0e6077618428..634eaa36b7db 100644 --- a/clients/client-ecs/commands/PutAccountSettingCommand.ts +++ b/clients/client-ecs/commands/PutAccountSettingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAccountSettingCommandInput = PutAccountSettingRequest; @@ -67,14 +67,14 @@ export class PutAccountSettingCommand extends $Command< private serialize( input: PutAccountSettingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutAccountSettingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutAccountSettingCommand(output, context); } diff --git a/clients/client-ecs/commands/PutAccountSettingDefaultCommand.ts b/clients/client-ecs/commands/PutAccountSettingDefaultCommand.ts index 17edf6a8888a..00288bf7a302 100644 --- a/clients/client-ecs/commands/PutAccountSettingDefaultCommand.ts +++ b/clients/client-ecs/commands/PutAccountSettingDefaultCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAccountSettingDefaultCommandInput = PutAccountSettingDefaultRequest; @@ -70,14 +70,14 @@ export class PutAccountSettingDefaultCommand extends $Command< private serialize( input: PutAccountSettingDefaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutAccountSettingDefaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutAccountSettingDefaultCommand( output, diff --git a/clients/client-ecs/commands/PutAttributesCommand.ts b/clients/client-ecs/commands/PutAttributesCommand.ts index 0ad9074d38ff..0c8d7916c506 100644 --- a/clients/client-ecs/commands/PutAttributesCommand.ts +++ b/clients/client-ecs/commands/PutAttributesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAttributesCommandInput = PutAttributesRequest; @@ -64,14 +64,14 @@ export class PutAttributesCommand extends $Command< private serialize( input: PutAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutAttributesCommand(output, context); } diff --git a/clients/client-ecs/commands/PutClusterCapacityProvidersCommand.ts b/clients/client-ecs/commands/PutClusterCapacityProvidersCommand.ts index 33c82e63a42b..f7e378a3fe17 100644 --- a/clients/client-ecs/commands/PutClusterCapacityProvidersCommand.ts +++ b/clients/client-ecs/commands/PutClusterCapacityProvidersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutClusterCapacityProvidersCommandInput = PutClusterCapacityProvidersRequest; @@ -70,7 +70,7 @@ export class PutClusterCapacityProvidersCommand extends $Command< private serialize( input: PutClusterCapacityProvidersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutClusterCapacityProvidersCommand( input, @@ -80,7 +80,7 @@ export class PutClusterCapacityProvidersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutClusterCapacityProvidersCommand( output, diff --git a/clients/client-ecs/commands/RegisterContainerInstanceCommand.ts b/clients/client-ecs/commands/RegisterContainerInstanceCommand.ts index 1aceb3555645..c783d342dcf2 100644 --- a/clients/client-ecs/commands/RegisterContainerInstanceCommand.ts +++ b/clients/client-ecs/commands/RegisterContainerInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterContainerInstanceCommandInput = RegisterContainerInstanceRequest; @@ -70,14 +70,14 @@ export class RegisterContainerInstanceCommand extends $Command< private serialize( input: RegisterContainerInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterContainerInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterContainerInstanceCommand( output, diff --git a/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts b/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts index df7036c98dc0..f1cf81d335cc 100644 --- a/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterTaskDefinitionCommandInput = RegisterTaskDefinitionRequest; @@ -70,14 +70,14 @@ export class RegisterTaskDefinitionCommand extends $Command< private serialize( input: RegisterTaskDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterTaskDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterTaskDefinitionCommand(output, context); } diff --git a/clients/client-ecs/commands/RunTaskCommand.ts b/clients/client-ecs/commands/RunTaskCommand.ts index 840037cc44ac..7c584c2991f1 100644 --- a/clients/client-ecs/commands/RunTaskCommand.ts +++ b/clients/client-ecs/commands/RunTaskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RunTaskCommandInput = RunTaskRequest; @@ -64,14 +64,14 @@ export class RunTaskCommand extends $Command< private serialize( input: RunTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RunTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RunTaskCommand(output, context); } diff --git a/clients/client-ecs/commands/StartTaskCommand.ts b/clients/client-ecs/commands/StartTaskCommand.ts index 5f9a5b376344..4343f4130822 100644 --- a/clients/client-ecs/commands/StartTaskCommand.ts +++ b/clients/client-ecs/commands/StartTaskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartTaskCommandInput = StartTaskRequest; @@ -64,14 +64,14 @@ export class StartTaskCommand extends $Command< private serialize( input: StartTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartTaskCommand(output, context); } diff --git a/clients/client-ecs/commands/StopTaskCommand.ts b/clients/client-ecs/commands/StopTaskCommand.ts index 4879e5c6c693..6ec45c124b03 100644 --- a/clients/client-ecs/commands/StopTaskCommand.ts +++ b/clients/client-ecs/commands/StopTaskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopTaskCommandInput = StopTaskRequest; @@ -64,14 +64,14 @@ export class StopTaskCommand extends $Command< private serialize( input: StopTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopTaskCommand(output, context); } diff --git a/clients/client-ecs/commands/SubmitAttachmentStateChangesCommand.ts b/clients/client-ecs/commands/SubmitAttachmentStateChangesCommand.ts index a3270e5e2bb7..474cdd84c479 100644 --- a/clients/client-ecs/commands/SubmitAttachmentStateChangesCommand.ts +++ b/clients/client-ecs/commands/SubmitAttachmentStateChangesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SubmitAttachmentStateChangesCommandInput = SubmitAttachmentStateChangesRequest; @@ -70,7 +70,7 @@ export class SubmitAttachmentStateChangesCommand extends $Command< private serialize( input: SubmitAttachmentStateChangesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SubmitAttachmentStateChangesCommand( input, @@ -80,7 +80,7 @@ export class SubmitAttachmentStateChangesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SubmitAttachmentStateChangesCommand( output, diff --git a/clients/client-ecs/commands/SubmitContainerStateChangeCommand.ts b/clients/client-ecs/commands/SubmitContainerStateChangeCommand.ts index cd1669f11ebf..d859d33a6269 100644 --- a/clients/client-ecs/commands/SubmitContainerStateChangeCommand.ts +++ b/clients/client-ecs/commands/SubmitContainerStateChangeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SubmitContainerStateChangeCommandInput = SubmitContainerStateChangeRequest; @@ -70,7 +70,7 @@ export class SubmitContainerStateChangeCommand extends $Command< private serialize( input: SubmitContainerStateChangeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SubmitContainerStateChangeCommand( input, @@ -80,7 +80,7 @@ export class SubmitContainerStateChangeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SubmitContainerStateChangeCommand( output, diff --git a/clients/client-ecs/commands/SubmitTaskStateChangeCommand.ts b/clients/client-ecs/commands/SubmitTaskStateChangeCommand.ts index 632b1d50a263..21fbddc70f0c 100644 --- a/clients/client-ecs/commands/SubmitTaskStateChangeCommand.ts +++ b/clients/client-ecs/commands/SubmitTaskStateChangeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SubmitTaskStateChangeCommandInput = SubmitTaskStateChangeRequest; @@ -70,14 +70,14 @@ export class SubmitTaskStateChangeCommand extends $Command< private serialize( input: SubmitTaskStateChangeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SubmitTaskStateChangeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SubmitTaskStateChangeCommand(output, context); } diff --git a/clients/client-ecs/commands/TagResourceCommand.ts b/clients/client-ecs/commands/TagResourceCommand.ts index f014389b0e8c..f4839e9240c8 100644 --- a/clients/client-ecs/commands/TagResourceCommand.ts +++ b/clients/client-ecs/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-ecs/commands/UntagResourceCommand.ts b/clients/client-ecs/commands/UntagResourceCommand.ts index 2872aebbc071..0725bedecead 100644 --- a/clients/client-ecs/commands/UntagResourceCommand.ts +++ b/clients/client-ecs/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-ecs/commands/UpdateClusterSettingsCommand.ts b/clients/client-ecs/commands/UpdateClusterSettingsCommand.ts index 8309dd5fcac4..a16ef57dd669 100644 --- a/clients/client-ecs/commands/UpdateClusterSettingsCommand.ts +++ b/clients/client-ecs/commands/UpdateClusterSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateClusterSettingsCommandInput = UpdateClusterSettingsRequest; @@ -70,14 +70,14 @@ export class UpdateClusterSettingsCommand extends $Command< private serialize( input: UpdateClusterSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateClusterSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateClusterSettingsCommand(output, context); } diff --git a/clients/client-ecs/commands/UpdateContainerAgentCommand.ts b/clients/client-ecs/commands/UpdateContainerAgentCommand.ts index 9c7eea3c176d..528a082dce5f 100644 --- a/clients/client-ecs/commands/UpdateContainerAgentCommand.ts +++ b/clients/client-ecs/commands/UpdateContainerAgentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateContainerAgentCommandInput = UpdateContainerAgentRequest; @@ -70,14 +70,14 @@ export class UpdateContainerAgentCommand extends $Command< private serialize( input: UpdateContainerAgentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateContainerAgentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateContainerAgentCommand(output, context); } diff --git a/clients/client-ecs/commands/UpdateContainerInstancesStateCommand.ts b/clients/client-ecs/commands/UpdateContainerInstancesStateCommand.ts index 0dcaeb4e8fc3..18cc11f1a00f 100644 --- a/clients/client-ecs/commands/UpdateContainerInstancesStateCommand.ts +++ b/clients/client-ecs/commands/UpdateContainerInstancesStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateContainerInstancesStateCommandInput = UpdateContainerInstancesStateRequest; @@ -70,7 +70,7 @@ export class UpdateContainerInstancesStateCommand extends $Command< private serialize( input: UpdateContainerInstancesStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateContainerInstancesStateCommand( input, @@ -80,7 +80,7 @@ export class UpdateContainerInstancesStateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateContainerInstancesStateCommand( output, diff --git a/clients/client-ecs/commands/UpdateServiceCommand.ts b/clients/client-ecs/commands/UpdateServiceCommand.ts index f5527f2ff66f..b8d7170c35cc 100644 --- a/clients/client-ecs/commands/UpdateServiceCommand.ts +++ b/clients/client-ecs/commands/UpdateServiceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServiceCommandInput = UpdateServiceRequest; @@ -64,14 +64,14 @@ export class UpdateServiceCommand extends $Command< private serialize( input: UpdateServiceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateServiceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateServiceCommand(output, context); } diff --git a/clients/client-ecs/commands/UpdateServicePrimaryTaskSetCommand.ts b/clients/client-ecs/commands/UpdateServicePrimaryTaskSetCommand.ts index ed8bc4992bb9..58c182dfe7e1 100644 --- a/clients/client-ecs/commands/UpdateServicePrimaryTaskSetCommand.ts +++ b/clients/client-ecs/commands/UpdateServicePrimaryTaskSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServicePrimaryTaskSetCommandInput = UpdateServicePrimaryTaskSetRequest; @@ -70,7 +70,7 @@ export class UpdateServicePrimaryTaskSetCommand extends $Command< private serialize( input: UpdateServicePrimaryTaskSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateServicePrimaryTaskSetCommand( input, @@ -80,7 +80,7 @@ export class UpdateServicePrimaryTaskSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateServicePrimaryTaskSetCommand( output, diff --git a/clients/client-ecs/commands/UpdateTaskSetCommand.ts b/clients/client-ecs/commands/UpdateTaskSetCommand.ts index 7f06598548a0..d4bfdb804423 100644 --- a/clients/client-ecs/commands/UpdateTaskSetCommand.ts +++ b/clients/client-ecs/commands/UpdateTaskSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTaskSetCommandInput = UpdateTaskSetRequest; @@ -64,14 +64,14 @@ export class UpdateTaskSetCommand extends $Command< private serialize( input: UpdateTaskSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTaskSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTaskSetCommand(output, context); } diff --git a/clients/client-ecs/protocols/Aws_json1_1.ts b/clients/client-ecs/protocols/Aws_json1_1.ts index 896f04c9bc65..598a16541a80 100644 --- a/clients/client-ecs/protocols/Aws_json1_1.ts +++ b/clients/client-ecs/protocols/Aws_json1_1.ts @@ -12562,6 +12562,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-efs/commands/CreateAccessPointCommand.ts b/clients/client-efs/commands/CreateAccessPointCommand.ts index 953ec8fc4eee..2be339c6390f 100644 --- a/clients/client-efs/commands/CreateAccessPointCommand.ts +++ b/clients/client-efs/commands/CreateAccessPointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAccessPointCommandInput = CreateAccessPointRequest; @@ -67,14 +67,14 @@ export class CreateAccessPointCommand extends $Command< private serialize( input: CreateAccessPointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateAccessPointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateAccessPointCommand(output, context); } diff --git a/clients/client-efs/commands/CreateFileSystemCommand.ts b/clients/client-efs/commands/CreateFileSystemCommand.ts index c2f52c4e52dc..778bbf7339f1 100644 --- a/clients/client-efs/commands/CreateFileSystemCommand.ts +++ b/clients/client-efs/commands/CreateFileSystemCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFileSystemCommandInput = CreateFileSystemRequest; @@ -67,14 +67,14 @@ export class CreateFileSystemCommand extends $Command< private serialize( input: CreateFileSystemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFileSystemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFileSystemCommand(output, context); } diff --git a/clients/client-efs/commands/CreateMountTargetCommand.ts b/clients/client-efs/commands/CreateMountTargetCommand.ts index d351579a0216..5354f05c57d5 100644 --- a/clients/client-efs/commands/CreateMountTargetCommand.ts +++ b/clients/client-efs/commands/CreateMountTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMountTargetCommandInput = CreateMountTargetRequest; @@ -67,14 +67,14 @@ export class CreateMountTargetCommand extends $Command< private serialize( input: CreateMountTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateMountTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateMountTargetCommand(output, context); } diff --git a/clients/client-efs/commands/CreateTagsCommand.ts b/clients/client-efs/commands/CreateTagsCommand.ts index 3f973dc04ad8..7d332337b3db 100644 --- a/clients/client-efs/commands/CreateTagsCommand.ts +++ b/clients/client-efs/commands/CreateTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTagsCommandInput = CreateTagsRequest; @@ -65,14 +65,14 @@ export class CreateTagsCommand extends $Command< private serialize( input: CreateTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateTagsCommand(output, context); } diff --git a/clients/client-efs/commands/DeleteAccessPointCommand.ts b/clients/client-efs/commands/DeleteAccessPointCommand.ts index 96a3ef2cb188..2b138630028a 100644 --- a/clients/client-efs/commands/DeleteAccessPointCommand.ts +++ b/clients/client-efs/commands/DeleteAccessPointCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAccessPointCommandInput = DeleteAccessPointRequest; @@ -65,14 +65,14 @@ export class DeleteAccessPointCommand extends $Command< private serialize( input: DeleteAccessPointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAccessPointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAccessPointCommand(output, context); } diff --git a/clients/client-efs/commands/DeleteFileSystemCommand.ts b/clients/client-efs/commands/DeleteFileSystemCommand.ts index 77baff7aa128..a9e5dd41a165 100644 --- a/clients/client-efs/commands/DeleteFileSystemCommand.ts +++ b/clients/client-efs/commands/DeleteFileSystemCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFileSystemCommandInput = DeleteFileSystemRequest; @@ -65,14 +65,14 @@ export class DeleteFileSystemCommand extends $Command< private serialize( input: DeleteFileSystemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFileSystemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFileSystemCommand(output, context); } diff --git a/clients/client-efs/commands/DeleteFileSystemPolicyCommand.ts b/clients/client-efs/commands/DeleteFileSystemPolicyCommand.ts index e87b7ced79fd..8d0fcc90542a 100644 --- a/clients/client-efs/commands/DeleteFileSystemPolicyCommand.ts +++ b/clients/client-efs/commands/DeleteFileSystemPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFileSystemPolicyCommandInput = DeleteFileSystemPolicyRequest; @@ -68,7 +68,7 @@ export class DeleteFileSystemPolicyCommand extends $Command< private serialize( input: DeleteFileSystemPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFileSystemPolicyCommand( input, @@ -78,7 +78,7 @@ export class DeleteFileSystemPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFileSystemPolicyCommand( output, diff --git a/clients/client-efs/commands/DeleteMountTargetCommand.ts b/clients/client-efs/commands/DeleteMountTargetCommand.ts index 40c07c447a43..e6862f139729 100644 --- a/clients/client-efs/commands/DeleteMountTargetCommand.ts +++ b/clients/client-efs/commands/DeleteMountTargetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMountTargetCommandInput = DeleteMountTargetRequest; @@ -65,14 +65,14 @@ export class DeleteMountTargetCommand extends $Command< private serialize( input: DeleteMountTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMountTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMountTargetCommand(output, context); } diff --git a/clients/client-efs/commands/DeleteTagsCommand.ts b/clients/client-efs/commands/DeleteTagsCommand.ts index f960f65db129..e58dd1ca63d4 100644 --- a/clients/client-efs/commands/DeleteTagsCommand.ts +++ b/clients/client-efs/commands/DeleteTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagsCommandInput = DeleteTagsRequest; @@ -65,14 +65,14 @@ export class DeleteTagsCommand extends $Command< private serialize( input: DeleteTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteTagsCommand(output, context); } diff --git a/clients/client-efs/commands/DescribeAccessPointsCommand.ts b/clients/client-efs/commands/DescribeAccessPointsCommand.ts index f6481f90a99d..e7a840a27467 100644 --- a/clients/client-efs/commands/DescribeAccessPointsCommand.ts +++ b/clients/client-efs/commands/DescribeAccessPointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccessPointsCommandInput = DescribeAccessPointsRequest; @@ -70,14 +70,14 @@ export class DescribeAccessPointsCommand extends $Command< private serialize( input: DescribeAccessPointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeAccessPointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeAccessPointsCommand( output, diff --git a/clients/client-efs/commands/DescribeFileSystemPolicyCommand.ts b/clients/client-efs/commands/DescribeFileSystemPolicyCommand.ts index 32e17269a064..61b4a93f1566 100644 --- a/clients/client-efs/commands/DescribeFileSystemPolicyCommand.ts +++ b/clients/client-efs/commands/DescribeFileSystemPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFileSystemPolicyCommandInput = DescribeFileSystemPolicyRequest; @@ -70,7 +70,7 @@ export class DescribeFileSystemPolicyCommand extends $Command< private serialize( input: DescribeFileSystemPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeFileSystemPolicyCommand( input, @@ -80,7 +80,7 @@ export class DescribeFileSystemPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeFileSystemPolicyCommand( output, diff --git a/clients/client-efs/commands/DescribeFileSystemsCommand.ts b/clients/client-efs/commands/DescribeFileSystemsCommand.ts index 8cd411943218..85e078a591ad 100644 --- a/clients/client-efs/commands/DescribeFileSystemsCommand.ts +++ b/clients/client-efs/commands/DescribeFileSystemsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFileSystemsCommandInput = DescribeFileSystemsRequest; @@ -70,14 +70,14 @@ export class DescribeFileSystemsCommand extends $Command< private serialize( input: DescribeFileSystemsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeFileSystemsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeFileSystemsCommand( output, diff --git a/clients/client-efs/commands/DescribeLifecycleConfigurationCommand.ts b/clients/client-efs/commands/DescribeLifecycleConfigurationCommand.ts index 2a28b280eb7a..f48bb041c4fc 100644 --- a/clients/client-efs/commands/DescribeLifecycleConfigurationCommand.ts +++ b/clients/client-efs/commands/DescribeLifecycleConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLifecycleConfigurationCommandInput = DescribeLifecycleConfigurationRequest; @@ -70,7 +70,7 @@ export class DescribeLifecycleConfigurationCommand extends $Command< private serialize( input: DescribeLifecycleConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeLifecycleConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DescribeLifecycleConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeLifecycleConfigurationCommand( output, diff --git a/clients/client-efs/commands/DescribeMountTargetSecurityGroupsCommand.ts b/clients/client-efs/commands/DescribeMountTargetSecurityGroupsCommand.ts index 2537bfa044e2..de49af7a87cd 100644 --- a/clients/client-efs/commands/DescribeMountTargetSecurityGroupsCommand.ts +++ b/clients/client-efs/commands/DescribeMountTargetSecurityGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMountTargetSecurityGroupsCommandInput = DescribeMountTargetSecurityGroupsRequest; @@ -70,7 +70,7 @@ export class DescribeMountTargetSecurityGroupsCommand extends $Command< private serialize( input: DescribeMountTargetSecurityGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeMountTargetSecurityGroupsCommand( input, @@ -80,7 +80,7 @@ export class DescribeMountTargetSecurityGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeMountTargetSecurityGroupsCommand( output, diff --git a/clients/client-efs/commands/DescribeMountTargetsCommand.ts b/clients/client-efs/commands/DescribeMountTargetsCommand.ts index 59c5bdbf20bc..54f888898570 100644 --- a/clients/client-efs/commands/DescribeMountTargetsCommand.ts +++ b/clients/client-efs/commands/DescribeMountTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMountTargetsCommandInput = DescribeMountTargetsRequest; @@ -70,14 +70,14 @@ export class DescribeMountTargetsCommand extends $Command< private serialize( input: DescribeMountTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeMountTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeMountTargetsCommand( output, diff --git a/clients/client-efs/commands/DescribeTagsCommand.ts b/clients/client-efs/commands/DescribeTagsCommand.ts index bf508cbcb14b..37051956b1c6 100644 --- a/clients/client-efs/commands/DescribeTagsCommand.ts +++ b/clients/client-efs/commands/DescribeTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTagsCommandInput = DescribeTagsRequest; @@ -64,14 +64,14 @@ export class DescribeTagsCommand extends $Command< private serialize( input: DescribeTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeTagsCommand(output, context); } diff --git a/clients/client-efs/commands/ListTagsForResourceCommand.ts b/clients/client-efs/commands/ListTagsForResourceCommand.ts index 6f3e1483ac8f..dd0773e98044 100644 --- a/clients/client-efs/commands/ListTagsForResourceCommand.ts +++ b/clients/client-efs/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-efs/commands/ModifyMountTargetSecurityGroupsCommand.ts b/clients/client-efs/commands/ModifyMountTargetSecurityGroupsCommand.ts index 861d571c52a5..49aa9e6cec2f 100644 --- a/clients/client-efs/commands/ModifyMountTargetSecurityGroupsCommand.ts +++ b/clients/client-efs/commands/ModifyMountTargetSecurityGroupsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyMountTargetSecurityGroupsCommandInput = ModifyMountTargetSecurityGroupsRequest; @@ -68,7 +68,7 @@ export class ModifyMountTargetSecurityGroupsCommand extends $Command< private serialize( input: ModifyMountTargetSecurityGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ModifyMountTargetSecurityGroupsCommand( input, @@ -78,7 +78,7 @@ export class ModifyMountTargetSecurityGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ModifyMountTargetSecurityGroupsCommand( output, diff --git a/clients/client-efs/commands/PutFileSystemPolicyCommand.ts b/clients/client-efs/commands/PutFileSystemPolicyCommand.ts index 2ee4f268a8d2..5762f570d091 100644 --- a/clients/client-efs/commands/PutFileSystemPolicyCommand.ts +++ b/clients/client-efs/commands/PutFileSystemPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutFileSystemPolicyCommandInput = PutFileSystemPolicyRequest; @@ -70,14 +70,14 @@ export class PutFileSystemPolicyCommand extends $Command< private serialize( input: PutFileSystemPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutFileSystemPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutFileSystemPolicyCommand( output, diff --git a/clients/client-efs/commands/PutLifecycleConfigurationCommand.ts b/clients/client-efs/commands/PutLifecycleConfigurationCommand.ts index df77415b1eb0..6ee5d685caed 100644 --- a/clients/client-efs/commands/PutLifecycleConfigurationCommand.ts +++ b/clients/client-efs/commands/PutLifecycleConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLifecycleConfigurationCommandInput = PutLifecycleConfigurationRequest; @@ -70,7 +70,7 @@ export class PutLifecycleConfigurationCommand extends $Command< private serialize( input: PutLifecycleConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutLifecycleConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutLifecycleConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutLifecycleConfigurationCommand( output, diff --git a/clients/client-efs/commands/TagResourceCommand.ts b/clients/client-efs/commands/TagResourceCommand.ts index 7eb1b2bddd19..76fa64fb191d 100644 --- a/clients/client-efs/commands/TagResourceCommand.ts +++ b/clients/client-efs/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-efs/commands/UntagResourceCommand.ts b/clients/client-efs/commands/UntagResourceCommand.ts index 867a7d420606..ea5f9f6448ee 100644 --- a/clients/client-efs/commands/UntagResourceCommand.ts +++ b/clients/client-efs/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-efs/commands/UpdateFileSystemCommand.ts b/clients/client-efs/commands/UpdateFileSystemCommand.ts index e9aee978dece..f15b121483f3 100644 --- a/clients/client-efs/commands/UpdateFileSystemCommand.ts +++ b/clients/client-efs/commands/UpdateFileSystemCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFileSystemCommandInput = UpdateFileSystemRequest; @@ -67,14 +67,14 @@ export class UpdateFileSystemCommand extends $Command< private serialize( input: UpdateFileSystemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFileSystemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFileSystemCommand(output, context); } diff --git a/clients/client-efs/protocols/Aws_restJson1_1.ts b/clients/client-efs/protocols/Aws_restJson1_1.ts index c079595b53ad..76618cf11606 100644 --- a/clients/client-efs/protocols/Aws_restJson1_1.ts +++ b/clients/client-efs/protocols/Aws_restJson1_1.ts @@ -4085,6 +4085,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-eks/commands/CreateClusterCommand.ts b/clients/client-eks/commands/CreateClusterCommand.ts index a6dee207616e..ccfbbcf3ed8e 100644 --- a/clients/client-eks/commands/CreateClusterCommand.ts +++ b/clients/client-eks/commands/CreateClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClusterCommandInput = CreateClusterRequest; @@ -64,14 +64,14 @@ export class CreateClusterCommand extends $Command< private serialize( input: CreateClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateClusterCommand(output, context); } diff --git a/clients/client-eks/commands/CreateFargateProfileCommand.ts b/clients/client-eks/commands/CreateFargateProfileCommand.ts index 2b6bd8fa069d..7eb70c241795 100644 --- a/clients/client-eks/commands/CreateFargateProfileCommand.ts +++ b/clients/client-eks/commands/CreateFargateProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFargateProfileCommandInput = CreateFargateProfileRequest; @@ -70,14 +70,14 @@ export class CreateFargateProfileCommand extends $Command< private serialize( input: CreateFargateProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFargateProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFargateProfileCommand( output, diff --git a/clients/client-eks/commands/CreateNodegroupCommand.ts b/clients/client-eks/commands/CreateNodegroupCommand.ts index d242df1e00c1..a731c728af70 100644 --- a/clients/client-eks/commands/CreateNodegroupCommand.ts +++ b/clients/client-eks/commands/CreateNodegroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNodegroupCommandInput = CreateNodegroupRequest; @@ -67,14 +67,14 @@ export class CreateNodegroupCommand extends $Command< private serialize( input: CreateNodegroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateNodegroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateNodegroupCommand(output, context); } diff --git a/clients/client-eks/commands/DeleteClusterCommand.ts b/clients/client-eks/commands/DeleteClusterCommand.ts index 35c3f5e4eaae..5ff275d161aa 100644 --- a/clients/client-eks/commands/DeleteClusterCommand.ts +++ b/clients/client-eks/commands/DeleteClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClusterCommandInput = DeleteClusterRequest; @@ -64,14 +64,14 @@ export class DeleteClusterCommand extends $Command< private serialize( input: DeleteClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteClusterCommand(output, context); } diff --git a/clients/client-eks/commands/DeleteFargateProfileCommand.ts b/clients/client-eks/commands/DeleteFargateProfileCommand.ts index 6779e707db8c..31565eec459e 100644 --- a/clients/client-eks/commands/DeleteFargateProfileCommand.ts +++ b/clients/client-eks/commands/DeleteFargateProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFargateProfileCommandInput = DeleteFargateProfileRequest; @@ -70,14 +70,14 @@ export class DeleteFargateProfileCommand extends $Command< private serialize( input: DeleteFargateProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFargateProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFargateProfileCommand( output, diff --git a/clients/client-eks/commands/DeleteNodegroupCommand.ts b/clients/client-eks/commands/DeleteNodegroupCommand.ts index 0576d277531e..e8c7e84c917e 100644 --- a/clients/client-eks/commands/DeleteNodegroupCommand.ts +++ b/clients/client-eks/commands/DeleteNodegroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNodegroupCommandInput = DeleteNodegroupRequest; @@ -67,14 +67,14 @@ export class DeleteNodegroupCommand extends $Command< private serialize( input: DeleteNodegroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteNodegroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteNodegroupCommand(output, context); } diff --git a/clients/client-eks/commands/DescribeClusterCommand.ts b/clients/client-eks/commands/DescribeClusterCommand.ts index 4d60a86bb5dd..a21d2ca43750 100644 --- a/clients/client-eks/commands/DescribeClusterCommand.ts +++ b/clients/client-eks/commands/DescribeClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterCommandInput = DescribeClusterRequest; @@ -67,14 +67,14 @@ export class DescribeClusterCommand extends $Command< private serialize( input: DescribeClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeClusterCommand(output, context); } diff --git a/clients/client-eks/commands/DescribeFargateProfileCommand.ts b/clients/client-eks/commands/DescribeFargateProfileCommand.ts index 1e9e69322759..a6f8869bc841 100644 --- a/clients/client-eks/commands/DescribeFargateProfileCommand.ts +++ b/clients/client-eks/commands/DescribeFargateProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFargateProfileCommandInput = DescribeFargateProfileRequest; @@ -70,7 +70,7 @@ export class DescribeFargateProfileCommand extends $Command< private serialize( input: DescribeFargateProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeFargateProfileCommand( input, @@ -80,7 +80,7 @@ export class DescribeFargateProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeFargateProfileCommand( output, diff --git a/clients/client-eks/commands/DescribeNodegroupCommand.ts b/clients/client-eks/commands/DescribeNodegroupCommand.ts index bb4e634cd2bf..f73717f6d092 100644 --- a/clients/client-eks/commands/DescribeNodegroupCommand.ts +++ b/clients/client-eks/commands/DescribeNodegroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNodegroupCommandInput = DescribeNodegroupRequest; @@ -67,14 +67,14 @@ export class DescribeNodegroupCommand extends $Command< private serialize( input: DescribeNodegroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeNodegroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeNodegroupCommand(output, context); } diff --git a/clients/client-eks/commands/DescribeUpdateCommand.ts b/clients/client-eks/commands/DescribeUpdateCommand.ts index 67e24e03f8f9..1792485b676c 100644 --- a/clients/client-eks/commands/DescribeUpdateCommand.ts +++ b/clients/client-eks/commands/DescribeUpdateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUpdateCommandInput = DescribeUpdateRequest; @@ -64,14 +64,14 @@ export class DescribeUpdateCommand extends $Command< private serialize( input: DescribeUpdateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeUpdateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeUpdateCommand(output, context); } diff --git a/clients/client-eks/commands/ListClustersCommand.ts b/clients/client-eks/commands/ListClustersCommand.ts index 7b6c9c82a27f..c54a0f68dddb 100644 --- a/clients/client-eks/commands/ListClustersCommand.ts +++ b/clients/client-eks/commands/ListClustersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListClustersCommandInput = ListClustersRequest; @@ -64,14 +64,14 @@ export class ListClustersCommand extends $Command< private serialize( input: ListClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListClustersCommand(output, context); } diff --git a/clients/client-eks/commands/ListFargateProfilesCommand.ts b/clients/client-eks/commands/ListFargateProfilesCommand.ts index 131579d120b1..2fdaea466c35 100644 --- a/clients/client-eks/commands/ListFargateProfilesCommand.ts +++ b/clients/client-eks/commands/ListFargateProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFargateProfilesCommandInput = ListFargateProfilesRequest; @@ -70,14 +70,14 @@ export class ListFargateProfilesCommand extends $Command< private serialize( input: ListFargateProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFargateProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFargateProfilesCommand( output, diff --git a/clients/client-eks/commands/ListNodegroupsCommand.ts b/clients/client-eks/commands/ListNodegroupsCommand.ts index fb60a1ec1ac1..bcb9f62254fc 100644 --- a/clients/client-eks/commands/ListNodegroupsCommand.ts +++ b/clients/client-eks/commands/ListNodegroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListNodegroupsCommandInput = ListNodegroupsRequest; @@ -64,14 +64,14 @@ export class ListNodegroupsCommand extends $Command< private serialize( input: ListNodegroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListNodegroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListNodegroupsCommand(output, context); } diff --git a/clients/client-eks/commands/ListTagsForResourceCommand.ts b/clients/client-eks/commands/ListTagsForResourceCommand.ts index 538a9866a113..60ac5a3903b7 100644 --- a/clients/client-eks/commands/ListTagsForResourceCommand.ts +++ b/clients/client-eks/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-eks/commands/ListUpdatesCommand.ts b/clients/client-eks/commands/ListUpdatesCommand.ts index 0c0e810d111a..842f3c0f1e4c 100644 --- a/clients/client-eks/commands/ListUpdatesCommand.ts +++ b/clients/client-eks/commands/ListUpdatesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUpdatesCommandInput = ListUpdatesRequest; @@ -64,14 +64,14 @@ export class ListUpdatesCommand extends $Command< private serialize( input: ListUpdatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListUpdatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListUpdatesCommand(output, context); } diff --git a/clients/client-eks/commands/TagResourceCommand.ts b/clients/client-eks/commands/TagResourceCommand.ts index dc1ff1826f90..ef19c8b7571b 100644 --- a/clients/client-eks/commands/TagResourceCommand.ts +++ b/clients/client-eks/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-eks/commands/UntagResourceCommand.ts b/clients/client-eks/commands/UntagResourceCommand.ts index a698c43f30c4..5615e164598b 100644 --- a/clients/client-eks/commands/UntagResourceCommand.ts +++ b/clients/client-eks/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-eks/commands/UpdateClusterConfigCommand.ts b/clients/client-eks/commands/UpdateClusterConfigCommand.ts index de50664889f6..c51925aca681 100644 --- a/clients/client-eks/commands/UpdateClusterConfigCommand.ts +++ b/clients/client-eks/commands/UpdateClusterConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateClusterConfigCommandInput = UpdateClusterConfigRequest; @@ -70,14 +70,14 @@ export class UpdateClusterConfigCommand extends $Command< private serialize( input: UpdateClusterConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateClusterConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateClusterConfigCommand( output, diff --git a/clients/client-eks/commands/UpdateClusterVersionCommand.ts b/clients/client-eks/commands/UpdateClusterVersionCommand.ts index dad76b2ca2e3..06631a274681 100644 --- a/clients/client-eks/commands/UpdateClusterVersionCommand.ts +++ b/clients/client-eks/commands/UpdateClusterVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateClusterVersionCommandInput = UpdateClusterVersionRequest; @@ -70,14 +70,14 @@ export class UpdateClusterVersionCommand extends $Command< private serialize( input: UpdateClusterVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateClusterVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateClusterVersionCommand( output, diff --git a/clients/client-eks/commands/UpdateNodegroupConfigCommand.ts b/clients/client-eks/commands/UpdateNodegroupConfigCommand.ts index d6d6d4f6a1bd..56ac2c43f522 100644 --- a/clients/client-eks/commands/UpdateNodegroupConfigCommand.ts +++ b/clients/client-eks/commands/UpdateNodegroupConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateNodegroupConfigCommandInput = UpdateNodegroupConfigRequest; @@ -70,14 +70,14 @@ export class UpdateNodegroupConfigCommand extends $Command< private serialize( input: UpdateNodegroupConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateNodegroupConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateNodegroupConfigCommand( output, diff --git a/clients/client-eks/commands/UpdateNodegroupVersionCommand.ts b/clients/client-eks/commands/UpdateNodegroupVersionCommand.ts index dada621978cd..d0d46f62a8b8 100644 --- a/clients/client-eks/commands/UpdateNodegroupVersionCommand.ts +++ b/clients/client-eks/commands/UpdateNodegroupVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateNodegroupVersionCommandInput = UpdateNodegroupVersionRequest; @@ -70,7 +70,7 @@ export class UpdateNodegroupVersionCommand extends $Command< private serialize( input: UpdateNodegroupVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateNodegroupVersionCommand( input, @@ -80,7 +80,7 @@ export class UpdateNodegroupVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateNodegroupVersionCommand( output, diff --git a/clients/client-eks/protocols/Aws_restJson1_1.ts b/clients/client-eks/protocols/Aws_restJson1_1.ts index 7b6f21ae9d9b..49cdc0bba98d 100644 --- a/clients/client-eks/protocols/Aws_restJson1_1.ts +++ b/clients/client-eks/protocols/Aws_restJson1_1.ts @@ -4069,6 +4069,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-elastic-beanstalk/commands/AbortEnvironmentUpdateCommand.ts b/clients/client-elastic-beanstalk/commands/AbortEnvironmentUpdateCommand.ts index 4c193e554d0b..6394ad876e51 100644 --- a/clients/client-elastic-beanstalk/commands/AbortEnvironmentUpdateCommand.ts +++ b/clients/client-elastic-beanstalk/commands/AbortEnvironmentUpdateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AbortEnvironmentUpdateCommandInput = AbortEnvironmentUpdateMessage; @@ -68,14 +68,14 @@ export class AbortEnvironmentUpdateCommand extends $Command< private serialize( input: AbortEnvironmentUpdateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAbortEnvironmentUpdateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAbortEnvironmentUpdateCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/ApplyEnvironmentManagedActionCommand.ts b/clients/client-elastic-beanstalk/commands/ApplyEnvironmentManagedActionCommand.ts index 2232e6c7a797..d219c31404c4 100644 --- a/clients/client-elastic-beanstalk/commands/ApplyEnvironmentManagedActionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ApplyEnvironmentManagedActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ApplyEnvironmentManagedActionCommandInput = ApplyEnvironmentManagedActionRequest; @@ -70,7 +70,7 @@ export class ApplyEnvironmentManagedActionCommand extends $Command< private serialize( input: ApplyEnvironmentManagedActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryApplyEnvironmentManagedActionCommand( input, @@ -80,7 +80,7 @@ export class ApplyEnvironmentManagedActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryApplyEnvironmentManagedActionCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/CheckDNSAvailabilityCommand.ts b/clients/client-elastic-beanstalk/commands/CheckDNSAvailabilityCommand.ts index 7672ddbd1006..77d91a6b0462 100644 --- a/clients/client-elastic-beanstalk/commands/CheckDNSAvailabilityCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CheckDNSAvailabilityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CheckDNSAvailabilityCommandInput = CheckDNSAvailabilityMessage; @@ -70,14 +70,14 @@ export class CheckDNSAvailabilityCommand extends $Command< private serialize( input: CheckDNSAvailabilityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCheckDNSAvailabilityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCheckDNSAvailabilityCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/ComposeEnvironmentsCommand.ts b/clients/client-elastic-beanstalk/commands/ComposeEnvironmentsCommand.ts index 28d90ef05bcd..1758216558b8 100644 --- a/clients/client-elastic-beanstalk/commands/ComposeEnvironmentsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ComposeEnvironmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ComposeEnvironmentsCommandInput = ComposeEnvironmentsMessage; @@ -70,14 +70,14 @@ export class ComposeEnvironmentsCommand extends $Command< private serialize( input: ComposeEnvironmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryComposeEnvironmentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryComposeEnvironmentsCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/CreateApplicationCommand.ts b/clients/client-elastic-beanstalk/commands/CreateApplicationCommand.ts index b6e5fad06ce3..c1c1c2ba8262 100644 --- a/clients/client-elastic-beanstalk/commands/CreateApplicationCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApplicationCommandInput = CreateApplicationMessage; @@ -67,14 +67,14 @@ export class CreateApplicationCommand extends $Command< private serialize( input: CreateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateApplicationCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/CreateApplicationVersionCommand.ts b/clients/client-elastic-beanstalk/commands/CreateApplicationVersionCommand.ts index 677197590580..476eccb54fd0 100644 --- a/clients/client-elastic-beanstalk/commands/CreateApplicationVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreateApplicationVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApplicationVersionCommandInput = CreateApplicationVersionMessage; @@ -70,14 +70,14 @@ export class CreateApplicationVersionCommand extends $Command< private serialize( input: CreateApplicationVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateApplicationVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateApplicationVersionCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/CreateConfigurationTemplateCommand.ts b/clients/client-elastic-beanstalk/commands/CreateConfigurationTemplateCommand.ts index e9cc79461798..2567e29bfacc 100644 --- a/clients/client-elastic-beanstalk/commands/CreateConfigurationTemplateCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreateConfigurationTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationTemplateCommandInput = CreateConfigurationTemplateMessage; @@ -70,14 +70,14 @@ export class CreateConfigurationTemplateCommand extends $Command< private serialize( input: CreateConfigurationTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateConfigurationTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateConfigurationTemplateCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/CreateEnvironmentCommand.ts b/clients/client-elastic-beanstalk/commands/CreateEnvironmentCommand.ts index e35172032338..a87adf57fde3 100644 --- a/clients/client-elastic-beanstalk/commands/CreateEnvironmentCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreateEnvironmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEnvironmentCommandInput = CreateEnvironmentMessage; @@ -67,14 +67,14 @@ export class CreateEnvironmentCommand extends $Command< private serialize( input: CreateEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateEnvironmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateEnvironmentCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/CreatePlatformVersionCommand.ts b/clients/client-elastic-beanstalk/commands/CreatePlatformVersionCommand.ts index eddc0251170e..1fb56f601294 100644 --- a/clients/client-elastic-beanstalk/commands/CreatePlatformVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreatePlatformVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePlatformVersionCommandInput = CreatePlatformVersionRequest; @@ -70,14 +70,14 @@ export class CreatePlatformVersionCommand extends $Command< private serialize( input: CreatePlatformVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreatePlatformVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreatePlatformVersionCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/CreateStorageLocationCommand.ts b/clients/client-elastic-beanstalk/commands/CreateStorageLocationCommand.ts index a1de6fa55327..8c4ab3378a8d 100644 --- a/clients/client-elastic-beanstalk/commands/CreateStorageLocationCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreateStorageLocationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStorageLocationCommandInput = {}; @@ -67,14 +67,14 @@ export class CreateStorageLocationCommand extends $Command< private serialize( input: CreateStorageLocationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateStorageLocationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateStorageLocationCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/DeleteApplicationCommand.ts b/clients/client-elastic-beanstalk/commands/DeleteApplicationCommand.ts index cfe609f46a95..67f70f6c7d97 100644 --- a/clients/client-elastic-beanstalk/commands/DeleteApplicationCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DeleteApplicationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationCommandInput = DeleteApplicationMessage; @@ -65,14 +65,14 @@ export class DeleteApplicationCommand extends $Command< private serialize( input: DeleteApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteApplicationCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/DeleteApplicationVersionCommand.ts b/clients/client-elastic-beanstalk/commands/DeleteApplicationVersionCommand.ts index a570f9bf7885..fb23bd708936 100644 --- a/clients/client-elastic-beanstalk/commands/DeleteApplicationVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DeleteApplicationVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationVersionCommandInput = DeleteApplicationVersionMessage; @@ -68,14 +68,14 @@ export class DeleteApplicationVersionCommand extends $Command< private serialize( input: DeleteApplicationVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteApplicationVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteApplicationVersionCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/DeleteConfigurationTemplateCommand.ts b/clients/client-elastic-beanstalk/commands/DeleteConfigurationTemplateCommand.ts index 0cdcb6df3c04..20fb83eac761 100644 --- a/clients/client-elastic-beanstalk/commands/DeleteConfigurationTemplateCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DeleteConfigurationTemplateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationTemplateCommandInput = DeleteConfigurationTemplateMessage; @@ -68,14 +68,14 @@ export class DeleteConfigurationTemplateCommand extends $Command< private serialize( input: DeleteConfigurationTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteConfigurationTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteConfigurationTemplateCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/DeleteEnvironmentConfigurationCommand.ts b/clients/client-elastic-beanstalk/commands/DeleteEnvironmentConfigurationCommand.ts index 638ea949c5cf..d2349c12d734 100644 --- a/clients/client-elastic-beanstalk/commands/DeleteEnvironmentConfigurationCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DeleteEnvironmentConfigurationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEnvironmentConfigurationCommandInput = DeleteEnvironmentConfigurationMessage; @@ -68,7 +68,7 @@ export class DeleteEnvironmentConfigurationCommand extends $Command< private serialize( input: DeleteEnvironmentConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteEnvironmentConfigurationCommand( input, @@ -78,7 +78,7 @@ export class DeleteEnvironmentConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteEnvironmentConfigurationCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/DeletePlatformVersionCommand.ts b/clients/client-elastic-beanstalk/commands/DeletePlatformVersionCommand.ts index 953bbc1a74ce..4ddeeccd4bfa 100644 --- a/clients/client-elastic-beanstalk/commands/DeletePlatformVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DeletePlatformVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePlatformVersionCommandInput = DeletePlatformVersionRequest; @@ -70,14 +70,14 @@ export class DeletePlatformVersionCommand extends $Command< private serialize( input: DeletePlatformVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeletePlatformVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeletePlatformVersionCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/DescribeAccountAttributesCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeAccountAttributesCommand.ts index dd095c4072bd..197b1c5a5cbc 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeAccountAttributesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountAttributesCommandInput = {}; @@ -67,14 +67,14 @@ export class DescribeAccountAttributesCommand extends $Command< private serialize( input: DescribeAccountAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAccountAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAccountAttributesCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/DescribeApplicationVersionsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeApplicationVersionsCommand.ts index 2a3eb21f575c..fe275f94ed4f 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeApplicationVersionsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeApplicationVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeApplicationVersionsCommandInput = DescribeApplicationVersionsMessage; @@ -70,14 +70,14 @@ export class DescribeApplicationVersionsCommand extends $Command< private serialize( input: DescribeApplicationVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeApplicationVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeApplicationVersionsCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/DescribeApplicationsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeApplicationsCommand.ts index afb0e1fe8637..48d64efa3033 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeApplicationsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeApplicationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeApplicationsCommandInput = DescribeApplicationsMessage; @@ -70,14 +70,14 @@ export class DescribeApplicationsCommand extends $Command< private serialize( input: DescribeApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeApplicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeApplicationsCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/DescribeConfigurationOptionsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeConfigurationOptionsCommand.ts index 6f79471c23b4..6250328af2a9 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeConfigurationOptionsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeConfigurationOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationOptionsCommandInput = DescribeConfigurationOptionsMessage; @@ -70,7 +70,7 @@ export class DescribeConfigurationOptionsCommand extends $Command< private serialize( input: DescribeConfigurationOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeConfigurationOptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeConfigurationOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeConfigurationOptionsCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/DescribeConfigurationSettingsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeConfigurationSettingsCommand.ts index d0afe66e7f26..3ec45d33e645 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeConfigurationSettingsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeConfigurationSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationSettingsCommandInput = DescribeConfigurationSettingsMessage; @@ -70,7 +70,7 @@ export class DescribeConfigurationSettingsCommand extends $Command< private serialize( input: DescribeConfigurationSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeConfigurationSettingsCommand( input, @@ -80,7 +80,7 @@ export class DescribeConfigurationSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeConfigurationSettingsCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentHealthCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentHealthCommand.ts index 3c7309b626a5..cdedfae2dc96 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentHealthCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentHealthCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEnvironmentHealthCommandInput = DescribeEnvironmentHealthRequest; @@ -70,14 +70,14 @@ export class DescribeEnvironmentHealthCommand extends $Command< private serialize( input: DescribeEnvironmentHealthCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEnvironmentHealthCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEnvironmentHealthCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionHistoryCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionHistoryCommand.ts index 1cd43e4df2b5..450d41a2ec37 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionHistoryCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEnvironmentManagedActionHistoryCommandInput = DescribeEnvironmentManagedActionHistoryRequest; @@ -72,7 +72,7 @@ export class DescribeEnvironmentManagedActionHistoryCommand extends $Command< private serialize( input: DescribeEnvironmentManagedActionHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEnvironmentManagedActionHistoryCommand( input, @@ -82,7 +82,7 @@ export class DescribeEnvironmentManagedActionHistoryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEnvironmentManagedActionHistoryCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionsCommand.ts index 1c00b23dd996..965ae10bd2f5 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEnvironmentManagedActionsCommandInput = DescribeEnvironmentManagedActionsRequest; @@ -70,7 +70,7 @@ export class DescribeEnvironmentManagedActionsCommand extends $Command< private serialize( input: DescribeEnvironmentManagedActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEnvironmentManagedActionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeEnvironmentManagedActionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEnvironmentManagedActionsCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentResourcesCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentResourcesCommand.ts index 71bec880bd96..49fa7c5ed2ef 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentResourcesCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEnvironmentResourcesCommandInput = DescribeEnvironmentResourcesMessage; @@ -70,7 +70,7 @@ export class DescribeEnvironmentResourcesCommand extends $Command< private serialize( input: DescribeEnvironmentResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEnvironmentResourcesCommand( input, @@ -80,7 +80,7 @@ export class DescribeEnvironmentResourcesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEnvironmentResourcesCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentsCommand.ts index 463ab7eb05fb..e610b0b80067 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEnvironmentsCommandInput = DescribeEnvironmentsMessage; @@ -70,14 +70,14 @@ export class DescribeEnvironmentsCommand extends $Command< private serialize( input: DescribeEnvironmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEnvironmentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEnvironmentsCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/DescribeEventsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEventsCommand.ts index ce9af1ccb208..93ec8d475176 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEventsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventsCommandInput = DescribeEventsMessage; @@ -67,14 +67,14 @@ export class DescribeEventsCommand extends $Command< private serialize( input: DescribeEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventsCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/DescribeInstancesHealthCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeInstancesHealthCommand.ts index cd2c087e7bb4..005cd545c951 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeInstancesHealthCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeInstancesHealthCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstancesHealthCommandInput = DescribeInstancesHealthRequest; @@ -70,14 +70,14 @@ export class DescribeInstancesHealthCommand extends $Command< private serialize( input: DescribeInstancesHealthCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeInstancesHealthCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeInstancesHealthCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/DescribePlatformVersionCommand.ts b/clients/client-elastic-beanstalk/commands/DescribePlatformVersionCommand.ts index 9cabb7783306..f925479972be 100644 --- a/clients/client-elastic-beanstalk/commands/DescribePlatformVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribePlatformVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePlatformVersionCommandInput = DescribePlatformVersionRequest; @@ -70,14 +70,14 @@ export class DescribePlatformVersionCommand extends $Command< private serialize( input: DescribePlatformVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribePlatformVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribePlatformVersionCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/ListAvailableSolutionStacksCommand.ts b/clients/client-elastic-beanstalk/commands/ListAvailableSolutionStacksCommand.ts index 36170ad8bc29..bfc2d996ca93 100644 --- a/clients/client-elastic-beanstalk/commands/ListAvailableSolutionStacksCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ListAvailableSolutionStacksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAvailableSolutionStacksCommandInput = {}; @@ -67,14 +67,14 @@ export class ListAvailableSolutionStacksCommand extends $Command< private serialize( input: ListAvailableSolutionStacksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListAvailableSolutionStacksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListAvailableSolutionStacksCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/ListPlatformVersionsCommand.ts b/clients/client-elastic-beanstalk/commands/ListPlatformVersionsCommand.ts index c12b438ec387..6a321d473b33 100644 --- a/clients/client-elastic-beanstalk/commands/ListPlatformVersionsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ListPlatformVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPlatformVersionsCommandInput = ListPlatformVersionsRequest; @@ -70,14 +70,14 @@ export class ListPlatformVersionsCommand extends $Command< private serialize( input: ListPlatformVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListPlatformVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListPlatformVersionsCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/ListTagsForResourceCommand.ts b/clients/client-elastic-beanstalk/commands/ListTagsForResourceCommand.ts index 7872f174e92e..61844395f41e 100644 --- a/clients/client-elastic-beanstalk/commands/ListTagsForResourceCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceMessage; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTagsForResourceCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/RebuildEnvironmentCommand.ts b/clients/client-elastic-beanstalk/commands/RebuildEnvironmentCommand.ts index 270fffcf4d1c..36492579a0d2 100644 --- a/clients/client-elastic-beanstalk/commands/RebuildEnvironmentCommand.ts +++ b/clients/client-elastic-beanstalk/commands/RebuildEnvironmentCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebuildEnvironmentCommandInput = RebuildEnvironmentMessage; @@ -65,14 +65,14 @@ export class RebuildEnvironmentCommand extends $Command< private serialize( input: RebuildEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRebuildEnvironmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRebuildEnvironmentCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/RequestEnvironmentInfoCommand.ts b/clients/client-elastic-beanstalk/commands/RequestEnvironmentInfoCommand.ts index 020dba76f37c..e72dcb59f0d2 100644 --- a/clients/client-elastic-beanstalk/commands/RequestEnvironmentInfoCommand.ts +++ b/clients/client-elastic-beanstalk/commands/RequestEnvironmentInfoCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RequestEnvironmentInfoCommandInput = RequestEnvironmentInfoMessage; @@ -68,14 +68,14 @@ export class RequestEnvironmentInfoCommand extends $Command< private serialize( input: RequestEnvironmentInfoCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRequestEnvironmentInfoCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRequestEnvironmentInfoCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/RestartAppServerCommand.ts b/clients/client-elastic-beanstalk/commands/RestartAppServerCommand.ts index 5bf2efcadcee..757f8e401cd3 100644 --- a/clients/client-elastic-beanstalk/commands/RestartAppServerCommand.ts +++ b/clients/client-elastic-beanstalk/commands/RestartAppServerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestartAppServerCommandInput = RestartAppServerMessage; @@ -65,14 +65,14 @@ export class RestartAppServerCommand extends $Command< private serialize( input: RestartAppServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestartAppServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestartAppServerCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/RetrieveEnvironmentInfoCommand.ts b/clients/client-elastic-beanstalk/commands/RetrieveEnvironmentInfoCommand.ts index df9ce1bc273f..80c979d0322c 100644 --- a/clients/client-elastic-beanstalk/commands/RetrieveEnvironmentInfoCommand.ts +++ b/clients/client-elastic-beanstalk/commands/RetrieveEnvironmentInfoCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RetrieveEnvironmentInfoCommandInput = RetrieveEnvironmentInfoMessage; @@ -70,14 +70,14 @@ export class RetrieveEnvironmentInfoCommand extends $Command< private serialize( input: RetrieveEnvironmentInfoCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRetrieveEnvironmentInfoCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRetrieveEnvironmentInfoCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/SwapEnvironmentCNAMEsCommand.ts b/clients/client-elastic-beanstalk/commands/SwapEnvironmentCNAMEsCommand.ts index 50ff05ec07fe..08befdf06d75 100644 --- a/clients/client-elastic-beanstalk/commands/SwapEnvironmentCNAMEsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/SwapEnvironmentCNAMEsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SwapEnvironmentCNAMEsCommandInput = SwapEnvironmentCNAMEsMessage; @@ -68,14 +68,14 @@ export class SwapEnvironmentCNAMEsCommand extends $Command< private serialize( input: SwapEnvironmentCNAMEsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySwapEnvironmentCNAMEsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySwapEnvironmentCNAMEsCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/TerminateEnvironmentCommand.ts b/clients/client-elastic-beanstalk/commands/TerminateEnvironmentCommand.ts index c47f3f90ab44..fadf8168dfcb 100644 --- a/clients/client-elastic-beanstalk/commands/TerminateEnvironmentCommand.ts +++ b/clients/client-elastic-beanstalk/commands/TerminateEnvironmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TerminateEnvironmentCommandInput = TerminateEnvironmentMessage; @@ -70,14 +70,14 @@ export class TerminateEnvironmentCommand extends $Command< private serialize( input: TerminateEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryTerminateEnvironmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryTerminateEnvironmentCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/UpdateApplicationCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateApplicationCommand.ts index 206ebf720e03..c94d3e58fa70 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateApplicationCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApplicationCommandInput = UpdateApplicationMessage; @@ -67,14 +67,14 @@ export class UpdateApplicationCommand extends $Command< private serialize( input: UpdateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateApplicationCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/UpdateApplicationResourceLifecycleCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateApplicationResourceLifecycleCommand.ts index 4ef395ab5395..65d0163a50ca 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateApplicationResourceLifecycleCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateApplicationResourceLifecycleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApplicationResourceLifecycleCommandInput = UpdateApplicationResourceLifecycleMessage; @@ -70,7 +70,7 @@ export class UpdateApplicationResourceLifecycleCommand extends $Command< private serialize( input: UpdateApplicationResourceLifecycleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateApplicationResourceLifecycleCommand( input, @@ -80,7 +80,7 @@ export class UpdateApplicationResourceLifecycleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateApplicationResourceLifecycleCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/UpdateApplicationVersionCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateApplicationVersionCommand.ts index 191a5ee7bf8d..ceba179de54a 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateApplicationVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateApplicationVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApplicationVersionCommandInput = UpdateApplicationVersionMessage; @@ -70,14 +70,14 @@ export class UpdateApplicationVersionCommand extends $Command< private serialize( input: UpdateApplicationVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateApplicationVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateApplicationVersionCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/UpdateConfigurationTemplateCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateConfigurationTemplateCommand.ts index e2c69d3d6710..358e5a468d9e 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateConfigurationTemplateCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateConfigurationTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConfigurationTemplateCommandInput = UpdateConfigurationTemplateMessage; @@ -70,14 +70,14 @@ export class UpdateConfigurationTemplateCommand extends $Command< private serialize( input: UpdateConfigurationTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateConfigurationTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateConfigurationTemplateCommand( output, diff --git a/clients/client-elastic-beanstalk/commands/UpdateEnvironmentCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateEnvironmentCommand.ts index a6fdf5ba3d28..c322f8059c46 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateEnvironmentCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateEnvironmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEnvironmentCommandInput = UpdateEnvironmentMessage; @@ -67,14 +67,14 @@ export class UpdateEnvironmentCommand extends $Command< private serialize( input: UpdateEnvironmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateEnvironmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateEnvironmentCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/UpdateTagsForResourceCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateTagsForResourceCommand.ts index 8ed5f7ac6cb7..903d42ae5220 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateTagsForResourceCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateTagsForResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTagsForResourceCommandInput = UpdateTagsForResourceMessage; @@ -68,14 +68,14 @@ export class UpdateTagsForResourceCommand extends $Command< private serialize( input: UpdateTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateTagsForResourceCommand(output, context); } diff --git a/clients/client-elastic-beanstalk/commands/ValidateConfigurationSettingsCommand.ts b/clients/client-elastic-beanstalk/commands/ValidateConfigurationSettingsCommand.ts index 749f5aaafcba..aab424544289 100644 --- a/clients/client-elastic-beanstalk/commands/ValidateConfigurationSettingsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ValidateConfigurationSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ValidateConfigurationSettingsCommandInput = ValidateConfigurationSettingsMessage; @@ -70,7 +70,7 @@ export class ValidateConfigurationSettingsCommand extends $Command< private serialize( input: ValidateConfigurationSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryValidateConfigurationSettingsCommand( input, @@ -80,7 +80,7 @@ export class ValidateConfigurationSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryValidateConfigurationSettingsCommand( output, diff --git a/clients/client-elastic-beanstalk/protocols/Aws_query.ts b/clients/client-elastic-beanstalk/protocols/Aws_query.ts index 9012f6ac5325..e810f8ce9e46 100644 --- a/clients/client-elastic-beanstalk/protocols/Aws_query.ts +++ b/clients/client-elastic-beanstalk/protocols/Aws_query.ts @@ -8709,6 +8709,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-elastic-inference/commands/ListTagsForResourceCommand.ts b/clients/client-elastic-inference/commands/ListTagsForResourceCommand.ts index 490f2f84ef5e..57a46af5dade 100644 --- a/clients/client-elastic-inference/commands/ListTagsForResourceCommand.ts +++ b/clients/client-elastic-inference/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-elastic-inference/commands/TagResourceCommand.ts b/clients/client-elastic-inference/commands/TagResourceCommand.ts index b33b9b832d14..cc99f09be42b 100644 --- a/clients/client-elastic-inference/commands/TagResourceCommand.ts +++ b/clients/client-elastic-inference/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-elastic-inference/commands/UntagResourceCommand.ts b/clients/client-elastic-inference/commands/UntagResourceCommand.ts index c8e0657b608e..606c872cbf15 100644 --- a/clients/client-elastic-inference/commands/UntagResourceCommand.ts +++ b/clients/client-elastic-inference/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-elastic-inference/protocols/Aws_restJson1_1.ts b/clients/client-elastic-inference/protocols/Aws_restJson1_1.ts index 1703b9995045..c5dada063e6d 100644 --- a/clients/client-elastic-inference/protocols/Aws_restJson1_1.ts +++ b/clients/client-elastic-inference/protocols/Aws_restJson1_1.ts @@ -414,6 +414,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-elastic-load-balancing-v2/commands/AddListenerCertificatesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/AddListenerCertificatesCommand.ts index 98ff9b30a1a0..d39548f2edb3 100644 --- a/clients/client-elastic-load-balancing-v2/commands/AddListenerCertificatesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/AddListenerCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddListenerCertificatesCommandInput = AddListenerCertificatesInput; @@ -70,14 +70,14 @@ export class AddListenerCertificatesCommand extends $Command< private serialize( input: AddListenerCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddListenerCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddListenerCertificatesCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/AddTagsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/AddTagsCommand.ts index d9ec6b392eae..e4e7c36c988a 100644 --- a/clients/client-elastic-load-balancing-v2/commands/AddTagsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/AddTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsCommandInput = AddTagsInput; @@ -64,14 +64,14 @@ export class AddTagsCommand extends $Command< private serialize( input: AddTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddTagsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/CreateListenerCommand.ts b/clients/client-elastic-load-balancing-v2/commands/CreateListenerCommand.ts index 62751b5dd828..8b275542f071 100644 --- a/clients/client-elastic-load-balancing-v2/commands/CreateListenerCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/CreateListenerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateListenerCommandInput = CreateListenerInput; @@ -64,14 +64,14 @@ export class CreateListenerCommand extends $Command< private serialize( input: CreateListenerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateListenerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateListenerCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/CreateLoadBalancerCommand.ts b/clients/client-elastic-load-balancing-v2/commands/CreateLoadBalancerCommand.ts index a81c559634fc..34a974f330d6 100644 --- a/clients/client-elastic-load-balancing-v2/commands/CreateLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/CreateLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLoadBalancerCommandInput = CreateLoadBalancerInput; @@ -67,14 +67,14 @@ export class CreateLoadBalancerCommand extends $Command< private serialize( input: CreateLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateLoadBalancerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateLoadBalancerCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/CreateRuleCommand.ts b/clients/client-elastic-load-balancing-v2/commands/CreateRuleCommand.ts index 3ac0200a5614..a6a41522eb05 100644 --- a/clients/client-elastic-load-balancing-v2/commands/CreateRuleCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/CreateRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRuleCommandInput = CreateRuleInput; @@ -64,14 +64,14 @@ export class CreateRuleCommand extends $Command< private serialize( input: CreateRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateRuleCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/CreateTargetGroupCommand.ts b/clients/client-elastic-load-balancing-v2/commands/CreateTargetGroupCommand.ts index 01a8581e846c..38413b4adb23 100644 --- a/clients/client-elastic-load-balancing-v2/commands/CreateTargetGroupCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/CreateTargetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTargetGroupCommandInput = CreateTargetGroupInput; @@ -67,14 +67,14 @@ export class CreateTargetGroupCommand extends $Command< private serialize( input: CreateTargetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateTargetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateTargetGroupCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DeleteListenerCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DeleteListenerCommand.ts index 1f79a4e4677c..bc0128f56c11 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DeleteListenerCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DeleteListenerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteListenerCommandInput = DeleteListenerInput; @@ -64,14 +64,14 @@ export class DeleteListenerCommand extends $Command< private serialize( input: DeleteListenerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteListenerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteListenerCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DeleteLoadBalancerCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DeleteLoadBalancerCommand.ts index 30b5c4dd32d3..108bee8280f4 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DeleteLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DeleteLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLoadBalancerCommandInput = DeleteLoadBalancerInput; @@ -67,14 +67,14 @@ export class DeleteLoadBalancerCommand extends $Command< private serialize( input: DeleteLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteLoadBalancerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteLoadBalancerCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DeleteRuleCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DeleteRuleCommand.ts index 7914cd493f81..750f2343c6da 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DeleteRuleCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DeleteRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRuleCommandInput = DeleteRuleInput; @@ -64,14 +64,14 @@ export class DeleteRuleCommand extends $Command< private serialize( input: DeleteRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteRuleCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DeleteTargetGroupCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DeleteTargetGroupCommand.ts index ed89c4d3e6f7..9d83c2e0f127 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DeleteTargetGroupCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DeleteTargetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTargetGroupCommandInput = DeleteTargetGroupInput; @@ -67,14 +67,14 @@ export class DeleteTargetGroupCommand extends $Command< private serialize( input: DeleteTargetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteTargetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteTargetGroupCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DeregisterTargetsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DeregisterTargetsCommand.ts index b19fd079c2c4..3d4f4ac645b7 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DeregisterTargetsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DeregisterTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterTargetsCommandInput = DeregisterTargetsInput; @@ -67,14 +67,14 @@ export class DeregisterTargetsCommand extends $Command< private serialize( input: DeregisterTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeregisterTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeregisterTargetsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeAccountLimitsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeAccountLimitsCommand.ts index 002c2955d61c..a81ab32d98e5 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeAccountLimitsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeAccountLimitsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountLimitsCommandInput = DescribeAccountLimitsInput; @@ -70,14 +70,14 @@ export class DescribeAccountLimitsCommand extends $Command< private serialize( input: DescribeAccountLimitsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAccountLimitsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAccountLimitsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeListenerCertificatesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeListenerCertificatesCommand.ts index 12f09a65862a..01458894cc72 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeListenerCertificatesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeListenerCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeListenerCertificatesCommandInput = DescribeListenerCertificatesInput; @@ -70,7 +70,7 @@ export class DescribeListenerCertificatesCommand extends $Command< private serialize( input: DescribeListenerCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeListenerCertificatesCommand( input, @@ -80,7 +80,7 @@ export class DescribeListenerCertificatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeListenerCertificatesCommand( output, diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeListenersCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeListenersCommand.ts index 69acb44b50a8..dca9137a6954 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeListenersCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeListenersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeListenersCommandInput = DescribeListenersInput; @@ -67,14 +67,14 @@ export class DescribeListenersCommand extends $Command< private serialize( input: DescribeListenersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeListenersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeListenersCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancerAttributesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancerAttributesCommand.ts index bc7037f91594..1255d10b3798 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancerAttributesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancerAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoadBalancerAttributesCommandInput = DescribeLoadBalancerAttributesInput; @@ -70,7 +70,7 @@ export class DescribeLoadBalancerAttributesCommand extends $Command< private serialize( input: DescribeLoadBalancerAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLoadBalancerAttributesCommand( input, @@ -80,7 +80,7 @@ export class DescribeLoadBalancerAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLoadBalancerAttributesCommand( output, diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancersCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancersCommand.ts index a4d05dfa7120..23af3f1aea90 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancersCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoadBalancersCommandInput = DescribeLoadBalancersInput; @@ -70,14 +70,14 @@ export class DescribeLoadBalancersCommand extends $Command< private serialize( input: DescribeLoadBalancersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLoadBalancersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLoadBalancersCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeRulesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeRulesCommand.ts index 6c5ae48d6026..ce5c68971155 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeRulesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeRulesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRulesCommandInput = DescribeRulesInput; @@ -64,14 +64,14 @@ export class DescribeRulesCommand extends $Command< private serialize( input: DescribeRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeRulesCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeSSLPoliciesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeSSLPoliciesCommand.ts index a5608a578727..8d0fede186e7 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeSSLPoliciesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeSSLPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSSLPoliciesCommandInput = DescribeSSLPoliciesInput; @@ -70,14 +70,14 @@ export class DescribeSSLPoliciesCommand extends $Command< private serialize( input: DescribeSSLPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeSSLPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeSSLPoliciesCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeTagsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeTagsCommand.ts index 9d65e2ed39fc..dc8c440ef58a 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeTagsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTagsCommandInput = DescribeTagsInput; @@ -64,14 +64,14 @@ export class DescribeTagsCommand extends $Command< private serialize( input: DescribeTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeTagsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupAttributesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupAttributesCommand.ts index 89e6b498e516..729f8c4b9acb 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupAttributesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTargetGroupAttributesCommandInput = DescribeTargetGroupAttributesInput; @@ -70,7 +70,7 @@ export class DescribeTargetGroupAttributesCommand extends $Command< private serialize( input: DescribeTargetGroupAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeTargetGroupAttributesCommand( input, @@ -80,7 +80,7 @@ export class DescribeTargetGroupAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeTargetGroupAttributesCommand( output, diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupsCommand.ts index 8f92e5b7da47..f24b2ff51fc6 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTargetGroupsCommandInput = DescribeTargetGroupsInput; @@ -70,14 +70,14 @@ export class DescribeTargetGroupsCommand extends $Command< private serialize( input: DescribeTargetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeTargetGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeTargetGroupsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetHealthCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetHealthCommand.ts index a53c0b52b00a..7fdccd691b42 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetHealthCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetHealthCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTargetHealthCommandInput = DescribeTargetHealthInput; @@ -70,14 +70,14 @@ export class DescribeTargetHealthCommand extends $Command< private serialize( input: DescribeTargetHealthCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeTargetHealthCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeTargetHealthCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/ModifyListenerCommand.ts b/clients/client-elastic-load-balancing-v2/commands/ModifyListenerCommand.ts index c459b8485c04..8c5c56993fec 100644 --- a/clients/client-elastic-load-balancing-v2/commands/ModifyListenerCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/ModifyListenerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyListenerCommandInput = ModifyListenerInput; @@ -64,14 +64,14 @@ export class ModifyListenerCommand extends $Command< private serialize( input: ModifyListenerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyListenerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyListenerCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/ModifyLoadBalancerAttributesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/ModifyLoadBalancerAttributesCommand.ts index 4a8e61da1306..e1844a704994 100644 --- a/clients/client-elastic-load-balancing-v2/commands/ModifyLoadBalancerAttributesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/ModifyLoadBalancerAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyLoadBalancerAttributesCommandInput = ModifyLoadBalancerAttributesInput; @@ -70,7 +70,7 @@ export class ModifyLoadBalancerAttributesCommand extends $Command< private serialize( input: ModifyLoadBalancerAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyLoadBalancerAttributesCommand( input, @@ -80,7 +80,7 @@ export class ModifyLoadBalancerAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyLoadBalancerAttributesCommand( output, diff --git a/clients/client-elastic-load-balancing-v2/commands/ModifyRuleCommand.ts b/clients/client-elastic-load-balancing-v2/commands/ModifyRuleCommand.ts index 476eaf09e4be..c0f4aee15c84 100644 --- a/clients/client-elastic-load-balancing-v2/commands/ModifyRuleCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/ModifyRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyRuleCommandInput = ModifyRuleInput; @@ -64,14 +64,14 @@ export class ModifyRuleCommand extends $Command< private serialize( input: ModifyRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyRuleCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupAttributesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupAttributesCommand.ts index a1cf759b6550..623e5becd5fc 100644 --- a/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupAttributesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyTargetGroupAttributesCommandInput = ModifyTargetGroupAttributesInput; @@ -70,14 +70,14 @@ export class ModifyTargetGroupAttributesCommand extends $Command< private serialize( input: ModifyTargetGroupAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyTargetGroupAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyTargetGroupAttributesCommand( output, diff --git a/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupCommand.ts b/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupCommand.ts index 656fad07d6b6..1a9f44127c53 100644 --- a/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyTargetGroupCommandInput = ModifyTargetGroupInput; @@ -67,14 +67,14 @@ export class ModifyTargetGroupCommand extends $Command< private serialize( input: ModifyTargetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyTargetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyTargetGroupCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/RegisterTargetsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/RegisterTargetsCommand.ts index 61fc68b64468..df3651d42883 100644 --- a/clients/client-elastic-load-balancing-v2/commands/RegisterTargetsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/RegisterTargetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterTargetsCommandInput = RegisterTargetsInput; @@ -64,14 +64,14 @@ export class RegisterTargetsCommand extends $Command< private serialize( input: RegisterTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRegisterTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRegisterTargetsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/RemoveListenerCertificatesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/RemoveListenerCertificatesCommand.ts index 2d461d832933..60b41582f5f9 100644 --- a/clients/client-elastic-load-balancing-v2/commands/RemoveListenerCertificatesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/RemoveListenerCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveListenerCertificatesCommandInput = RemoveListenerCertificatesInput; @@ -70,14 +70,14 @@ export class RemoveListenerCertificatesCommand extends $Command< private serialize( input: RemoveListenerCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveListenerCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveListenerCertificatesCommand( output, diff --git a/clients/client-elastic-load-balancing-v2/commands/RemoveTagsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/RemoveTagsCommand.ts index bf36dae830b3..035764082815 100644 --- a/clients/client-elastic-load-balancing-v2/commands/RemoveTagsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/RemoveTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsCommandInput = RemoveTagsInput; @@ -64,14 +64,14 @@ export class RemoveTagsCommand extends $Command< private serialize( input: RemoveTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveTagsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/SetIpAddressTypeCommand.ts b/clients/client-elastic-load-balancing-v2/commands/SetIpAddressTypeCommand.ts index b01b54f07c7c..1ff4212d219e 100644 --- a/clients/client-elastic-load-balancing-v2/commands/SetIpAddressTypeCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/SetIpAddressTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetIpAddressTypeCommandInput = SetIpAddressTypeInput; @@ -64,14 +64,14 @@ export class SetIpAddressTypeCommand extends $Command< private serialize( input: SetIpAddressTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetIpAddressTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetIpAddressTypeCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/SetRulePrioritiesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/SetRulePrioritiesCommand.ts index 44554b2e4806..ba7a352f4d5a 100644 --- a/clients/client-elastic-load-balancing-v2/commands/SetRulePrioritiesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/SetRulePrioritiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetRulePrioritiesCommandInput = SetRulePrioritiesInput; @@ -67,14 +67,14 @@ export class SetRulePrioritiesCommand extends $Command< private serialize( input: SetRulePrioritiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetRulePrioritiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetRulePrioritiesCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/SetSecurityGroupsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/SetSecurityGroupsCommand.ts index 1c0f66fce11f..4a98216c099a 100644 --- a/clients/client-elastic-load-balancing-v2/commands/SetSecurityGroupsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/SetSecurityGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetSecurityGroupsCommandInput = SetSecurityGroupsInput; @@ -67,14 +67,14 @@ export class SetSecurityGroupsCommand extends $Command< private serialize( input: SetSecurityGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetSecurityGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetSecurityGroupsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/commands/SetSubnetsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/SetSubnetsCommand.ts index c757ca37d793..61f3bc88dfb2 100644 --- a/clients/client-elastic-load-balancing-v2/commands/SetSubnetsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/SetSubnetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetSubnetsCommandInput = SetSubnetsInput; @@ -64,14 +64,14 @@ export class SetSubnetsCommand extends $Command< private serialize( input: SetSubnetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetSubnetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetSubnetsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts b/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts index 95a1b9360125..1a484aa83c88 100644 --- a/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts +++ b/clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts @@ -8727,6 +8727,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-elastic-load-balancing/commands/AddTagsCommand.ts b/clients/client-elastic-load-balancing/commands/AddTagsCommand.ts index 7b2fd8494ddc..f5b5ba653a04 100644 --- a/clients/client-elastic-load-balancing/commands/AddTagsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/AddTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsCommandInput = AddTagsInput; @@ -64,14 +64,14 @@ export class AddTagsCommand extends $Command< private serialize( input: AddTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddTagsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing/commands/ApplySecurityGroupsToLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/ApplySecurityGroupsToLoadBalancerCommand.ts index 2fb9d1cc31f4..5dc18be46d38 100644 --- a/clients/client-elastic-load-balancing/commands/ApplySecurityGroupsToLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/ApplySecurityGroupsToLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ApplySecurityGroupsToLoadBalancerCommandInput = ApplySecurityGroupsToLoadBalancerInput; @@ -70,7 +70,7 @@ export class ApplySecurityGroupsToLoadBalancerCommand extends $Command< private serialize( input: ApplySecurityGroupsToLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryApplySecurityGroupsToLoadBalancerCommand( input, @@ -80,7 +80,7 @@ export class ApplySecurityGroupsToLoadBalancerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryApplySecurityGroupsToLoadBalancerCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/AttachLoadBalancerToSubnetsCommand.ts b/clients/client-elastic-load-balancing/commands/AttachLoadBalancerToSubnetsCommand.ts index 8a521a72f875..02b590c992a8 100644 --- a/clients/client-elastic-load-balancing/commands/AttachLoadBalancerToSubnetsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/AttachLoadBalancerToSubnetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachLoadBalancerToSubnetsCommandInput = AttachLoadBalancerToSubnetsInput; @@ -70,14 +70,14 @@ export class AttachLoadBalancerToSubnetsCommand extends $Command< private serialize( input: AttachLoadBalancerToSubnetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAttachLoadBalancerToSubnetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAttachLoadBalancerToSubnetsCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/ConfigureHealthCheckCommand.ts b/clients/client-elastic-load-balancing/commands/ConfigureHealthCheckCommand.ts index be86357d4028..b5ad3d6672ac 100644 --- a/clients/client-elastic-load-balancing/commands/ConfigureHealthCheckCommand.ts +++ b/clients/client-elastic-load-balancing/commands/ConfigureHealthCheckCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfigureHealthCheckCommandInput = ConfigureHealthCheckInput; @@ -70,14 +70,14 @@ export class ConfigureHealthCheckCommand extends $Command< private serialize( input: ConfigureHealthCheckCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryConfigureHealthCheckCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryConfigureHealthCheckCommand(output, context); } diff --git a/clients/client-elastic-load-balancing/commands/CreateAppCookieStickinessPolicyCommand.ts b/clients/client-elastic-load-balancing/commands/CreateAppCookieStickinessPolicyCommand.ts index d29dc0686118..7dd042d6bea7 100644 --- a/clients/client-elastic-load-balancing/commands/CreateAppCookieStickinessPolicyCommand.ts +++ b/clients/client-elastic-load-balancing/commands/CreateAppCookieStickinessPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAppCookieStickinessPolicyCommandInput = CreateAppCookieStickinessPolicyInput; @@ -70,7 +70,7 @@ export class CreateAppCookieStickinessPolicyCommand extends $Command< private serialize( input: CreateAppCookieStickinessPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateAppCookieStickinessPolicyCommand( input, @@ -80,7 +80,7 @@ export class CreateAppCookieStickinessPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateAppCookieStickinessPolicyCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/CreateLBCookieStickinessPolicyCommand.ts b/clients/client-elastic-load-balancing/commands/CreateLBCookieStickinessPolicyCommand.ts index 56e033f4c753..6fe8ae52ea92 100644 --- a/clients/client-elastic-load-balancing/commands/CreateLBCookieStickinessPolicyCommand.ts +++ b/clients/client-elastic-load-balancing/commands/CreateLBCookieStickinessPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLBCookieStickinessPolicyCommandInput = CreateLBCookieStickinessPolicyInput; @@ -70,7 +70,7 @@ export class CreateLBCookieStickinessPolicyCommand extends $Command< private serialize( input: CreateLBCookieStickinessPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateLBCookieStickinessPolicyCommand( input, @@ -80,7 +80,7 @@ export class CreateLBCookieStickinessPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateLBCookieStickinessPolicyCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerCommand.ts index 9666ab26d2d9..dbba548ff272 100644 --- a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLoadBalancerCommandInput = CreateAccessPointInput; @@ -67,14 +67,14 @@ export class CreateLoadBalancerCommand extends $Command< private serialize( input: CreateLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateLoadBalancerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateLoadBalancerCommand(output, context); } diff --git a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerListenersCommand.ts b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerListenersCommand.ts index 05300c37652f..dbbe0688ff66 100644 --- a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerListenersCommand.ts +++ b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerListenersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLoadBalancerListenersCommandInput = CreateLoadBalancerListenerInput; @@ -70,14 +70,14 @@ export class CreateLoadBalancerListenersCommand extends $Command< private serialize( input: CreateLoadBalancerListenersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateLoadBalancerListenersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateLoadBalancerListenersCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerPolicyCommand.ts b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerPolicyCommand.ts index a07d1dcbd559..2354b7ec6574 100644 --- a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerPolicyCommand.ts +++ b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLoadBalancerPolicyCommandInput = CreateLoadBalancerPolicyInput; @@ -70,14 +70,14 @@ export class CreateLoadBalancerPolicyCommand extends $Command< private serialize( input: CreateLoadBalancerPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateLoadBalancerPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateLoadBalancerPolicyCommand(output, context); } diff --git a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerCommand.ts index ad1ee638f31f..ac989e37783a 100644 --- a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLoadBalancerCommandInput = DeleteAccessPointInput; @@ -67,14 +67,14 @@ export class DeleteLoadBalancerCommand extends $Command< private serialize( input: DeleteLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteLoadBalancerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteLoadBalancerCommand(output, context); } diff --git a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerListenersCommand.ts b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerListenersCommand.ts index bad6360631cd..aa05a0599a12 100644 --- a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerListenersCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerListenersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLoadBalancerListenersCommandInput = DeleteLoadBalancerListenerInput; @@ -70,14 +70,14 @@ export class DeleteLoadBalancerListenersCommand extends $Command< private serialize( input: DeleteLoadBalancerListenersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteLoadBalancerListenersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteLoadBalancerListenersCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerPolicyCommand.ts b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerPolicyCommand.ts index fb056facf1de..c1d1b04bd209 100644 --- a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerPolicyCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLoadBalancerPolicyCommandInput = DeleteLoadBalancerPolicyInput; @@ -70,14 +70,14 @@ export class DeleteLoadBalancerPolicyCommand extends $Command< private serialize( input: DeleteLoadBalancerPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteLoadBalancerPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteLoadBalancerPolicyCommand(output, context); } diff --git a/clients/client-elastic-load-balancing/commands/DeregisterInstancesFromLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/DeregisterInstancesFromLoadBalancerCommand.ts index 95d77b248cbb..5ecee027f656 100644 --- a/clients/client-elastic-load-balancing/commands/DeregisterInstancesFromLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DeregisterInstancesFromLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterInstancesFromLoadBalancerCommandInput = DeregisterEndPointsInput; @@ -70,7 +70,7 @@ export class DeregisterInstancesFromLoadBalancerCommand extends $Command< private serialize( input: DeregisterInstancesFromLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeregisterInstancesFromLoadBalancerCommand( input, @@ -80,7 +80,7 @@ export class DeregisterInstancesFromLoadBalancerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeregisterInstancesFromLoadBalancerCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/DescribeAccountLimitsCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeAccountLimitsCommand.ts index 411663696b4d..6fb31815f53d 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeAccountLimitsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeAccountLimitsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountLimitsCommandInput = DescribeAccountLimitsInput; @@ -70,14 +70,14 @@ export class DescribeAccountLimitsCommand extends $Command< private serialize( input: DescribeAccountLimitsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAccountLimitsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAccountLimitsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing/commands/DescribeInstanceHealthCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeInstanceHealthCommand.ts index 28670b21518b..1317b4890279 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeInstanceHealthCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeInstanceHealthCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstanceHealthCommandInput = DescribeEndPointStateInput; @@ -70,14 +70,14 @@ export class DescribeInstanceHealthCommand extends $Command< private serialize( input: DescribeInstanceHealthCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeInstanceHealthCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeInstanceHealthCommand(output, context); } diff --git a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerAttributesCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerAttributesCommand.ts index 5e7bda35ed6e..20c71e572d25 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerAttributesCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoadBalancerAttributesCommandInput = DescribeLoadBalancerAttributesInput; @@ -70,7 +70,7 @@ export class DescribeLoadBalancerAttributesCommand extends $Command< private serialize( input: DescribeLoadBalancerAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLoadBalancerAttributesCommand( input, @@ -80,7 +80,7 @@ export class DescribeLoadBalancerAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLoadBalancerAttributesCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPoliciesCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPoliciesCommand.ts index 5718223ac3e9..49a3504ba005 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPoliciesCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoadBalancerPoliciesCommandInput = DescribeLoadBalancerPoliciesInput; @@ -70,7 +70,7 @@ export class DescribeLoadBalancerPoliciesCommand extends $Command< private serialize( input: DescribeLoadBalancerPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLoadBalancerPoliciesCommand( input, @@ -80,7 +80,7 @@ export class DescribeLoadBalancerPoliciesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLoadBalancerPoliciesCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPolicyTypesCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPolicyTypesCommand.ts index 454e322ba833..d1b1c6d3c432 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPolicyTypesCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPolicyTypesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoadBalancerPolicyTypesCommandInput = DescribeLoadBalancerPolicyTypesInput; @@ -70,7 +70,7 @@ export class DescribeLoadBalancerPolicyTypesCommand extends $Command< private serialize( input: DescribeLoadBalancerPolicyTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLoadBalancerPolicyTypesCommand( input, @@ -80,7 +80,7 @@ export class DescribeLoadBalancerPolicyTypesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLoadBalancerPolicyTypesCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancersCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancersCommand.ts index c22c53fefe97..f24a0b171354 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancersCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoadBalancersCommandInput = DescribeAccessPointsInput; @@ -70,14 +70,14 @@ export class DescribeLoadBalancersCommand extends $Command< private serialize( input: DescribeLoadBalancersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLoadBalancersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLoadBalancersCommand(output, context); } diff --git a/clients/client-elastic-load-balancing/commands/DescribeTagsCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeTagsCommand.ts index 6d92e70e8ae8..5b46d3c952b1 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeTagsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTagsCommandInput = DescribeTagsInput; @@ -64,14 +64,14 @@ export class DescribeTagsCommand extends $Command< private serialize( input: DescribeTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeTagsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing/commands/DetachLoadBalancerFromSubnetsCommand.ts b/clients/client-elastic-load-balancing/commands/DetachLoadBalancerFromSubnetsCommand.ts index b011e92d0f0a..bfc9c975fb44 100644 --- a/clients/client-elastic-load-balancing/commands/DetachLoadBalancerFromSubnetsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DetachLoadBalancerFromSubnetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachLoadBalancerFromSubnetsCommandInput = DetachLoadBalancerFromSubnetsInput; @@ -70,7 +70,7 @@ export class DetachLoadBalancerFromSubnetsCommand extends $Command< private serialize( input: DetachLoadBalancerFromSubnetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDetachLoadBalancerFromSubnetsCommand( input, @@ -80,7 +80,7 @@ export class DetachLoadBalancerFromSubnetsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDetachLoadBalancerFromSubnetsCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts index 6d1f76faa90a..9250ced302a3 100644 --- a/clients/client-elastic-load-balancing/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableAvailabilityZonesForLoadBalancerCommandInput = RemoveAvailabilityZonesInput; @@ -72,7 +72,7 @@ export class DisableAvailabilityZonesForLoadBalancerCommand extends $Command< private serialize( input: DisableAvailabilityZonesForLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand( input, @@ -82,7 +82,7 @@ export class DisableAvailabilityZonesForLoadBalancerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts index 3ef735a7a3b1..af9f9f8be938 100644 --- a/clients/client-elastic-load-balancing/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableAvailabilityZonesForLoadBalancerCommandInput = AddAvailabilityZonesInput; @@ -72,7 +72,7 @@ export class EnableAvailabilityZonesForLoadBalancerCommand extends $Command< private serialize( input: EnableAvailabilityZonesForLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand( input, @@ -82,7 +82,7 @@ export class EnableAvailabilityZonesForLoadBalancerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/ModifyLoadBalancerAttributesCommand.ts b/clients/client-elastic-load-balancing/commands/ModifyLoadBalancerAttributesCommand.ts index 1e4dde5ea47c..98891fbdd55c 100644 --- a/clients/client-elastic-load-balancing/commands/ModifyLoadBalancerAttributesCommand.ts +++ b/clients/client-elastic-load-balancing/commands/ModifyLoadBalancerAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyLoadBalancerAttributesCommandInput = ModifyLoadBalancerAttributesInput; @@ -70,7 +70,7 @@ export class ModifyLoadBalancerAttributesCommand extends $Command< private serialize( input: ModifyLoadBalancerAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyLoadBalancerAttributesCommand( input, @@ -80,7 +80,7 @@ export class ModifyLoadBalancerAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyLoadBalancerAttributesCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/RegisterInstancesWithLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/RegisterInstancesWithLoadBalancerCommand.ts index 62f7e678e28a..4c1ff053a98d 100644 --- a/clients/client-elastic-load-balancing/commands/RegisterInstancesWithLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/RegisterInstancesWithLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterInstancesWithLoadBalancerCommandInput = RegisterEndPointsInput; @@ -70,7 +70,7 @@ export class RegisterInstancesWithLoadBalancerCommand extends $Command< private serialize( input: RegisterInstancesWithLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRegisterInstancesWithLoadBalancerCommand( input, @@ -80,7 +80,7 @@ export class RegisterInstancesWithLoadBalancerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRegisterInstancesWithLoadBalancerCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/RemoveTagsCommand.ts b/clients/client-elastic-load-balancing/commands/RemoveTagsCommand.ts index 52d47b6bfee5..ba3937a02e2f 100644 --- a/clients/client-elastic-load-balancing/commands/RemoveTagsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/RemoveTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsCommandInput = RemoveTagsInput; @@ -64,14 +64,14 @@ export class RemoveTagsCommand extends $Command< private serialize( input: RemoveTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveTagsCommand(output, context); } diff --git a/clients/client-elastic-load-balancing/commands/SetLoadBalancerListenerSSLCertificateCommand.ts b/clients/client-elastic-load-balancing/commands/SetLoadBalancerListenerSSLCertificateCommand.ts index df6f793e0a2e..afba9a2f43b2 100644 --- a/clients/client-elastic-load-balancing/commands/SetLoadBalancerListenerSSLCertificateCommand.ts +++ b/clients/client-elastic-load-balancing/commands/SetLoadBalancerListenerSSLCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetLoadBalancerListenerSSLCertificateCommandInput = SetLoadBalancerListenerSSLCertificateInput; @@ -72,7 +72,7 @@ export class SetLoadBalancerListenerSSLCertificateCommand extends $Command< private serialize( input: SetLoadBalancerListenerSSLCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetLoadBalancerListenerSSLCertificateCommand( input, @@ -82,7 +82,7 @@ export class SetLoadBalancerListenerSSLCertificateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetLoadBalancerListenerSSLCertificateCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts b/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts index 2cebb6e0ea79..39f04611f744 100644 --- a/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetLoadBalancerPoliciesForBackendServerCommandInput = SetLoadBalancerPoliciesForBackendServerInput; @@ -72,7 +72,7 @@ export class SetLoadBalancerPoliciesForBackendServerCommand extends $Command< private serialize( input: SetLoadBalancerPoliciesForBackendServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetLoadBalancerPoliciesForBackendServerCommand( input, @@ -82,7 +82,7 @@ export class SetLoadBalancerPoliciesForBackendServerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetLoadBalancerPoliciesForBackendServerCommand( output, diff --git a/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesOfListenerCommand.ts b/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesOfListenerCommand.ts index 7c54cc67c2c0..f464034b9fa5 100644 --- a/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesOfListenerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesOfListenerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetLoadBalancerPoliciesOfListenerCommandInput = SetLoadBalancerPoliciesOfListenerInput; @@ -70,7 +70,7 @@ export class SetLoadBalancerPoliciesOfListenerCommand extends $Command< private serialize( input: SetLoadBalancerPoliciesOfListenerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetLoadBalancerPoliciesOfListenerCommand( input, @@ -80,7 +80,7 @@ export class SetLoadBalancerPoliciesOfListenerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetLoadBalancerPoliciesOfListenerCommand( output, diff --git a/clients/client-elastic-load-balancing/protocols/Aws_query.ts b/clients/client-elastic-load-balancing/protocols/Aws_query.ts index d65f990f39b8..8a1779a7809b 100644 --- a/clients/client-elastic-load-balancing/protocols/Aws_query.ts +++ b/clients/client-elastic-load-balancing/protocols/Aws_query.ts @@ -6066,6 +6066,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-elastic-transcoder/commands/CancelJobCommand.ts b/clients/client-elastic-transcoder/commands/CancelJobCommand.ts index 5881c5eaaef8..6517bffd2f30 100644 --- a/clients/client-elastic-transcoder/commands/CancelJobCommand.ts +++ b/clients/client-elastic-transcoder/commands/CancelJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelJobCommandInput = CancelJobRequest; @@ -64,14 +64,14 @@ export class CancelJobCommand extends $Command< private serialize( input: CancelJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelJobCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/CreateJobCommand.ts b/clients/client-elastic-transcoder/commands/CreateJobCommand.ts index e280b0d01af0..25f6cc1c0bde 100644 --- a/clients/client-elastic-transcoder/commands/CreateJobCommand.ts +++ b/clients/client-elastic-transcoder/commands/CreateJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateJobCommandInput = CreateJobRequest; @@ -64,14 +64,14 @@ export class CreateJobCommand extends $Command< private serialize( input: CreateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateJobCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/CreatePipelineCommand.ts b/clients/client-elastic-transcoder/commands/CreatePipelineCommand.ts index 6330962c1eb1..9f38ac707a32 100644 --- a/clients/client-elastic-transcoder/commands/CreatePipelineCommand.ts +++ b/clients/client-elastic-transcoder/commands/CreatePipelineCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePipelineCommandInput = CreatePipelineRequest; @@ -64,14 +64,14 @@ export class CreatePipelineCommand extends $Command< private serialize( input: CreatePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePipelineCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/CreatePresetCommand.ts b/clients/client-elastic-transcoder/commands/CreatePresetCommand.ts index 2a48824d0eed..4845e9df8713 100644 --- a/clients/client-elastic-transcoder/commands/CreatePresetCommand.ts +++ b/clients/client-elastic-transcoder/commands/CreatePresetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePresetCommandInput = CreatePresetRequest; @@ -64,14 +64,14 @@ export class CreatePresetCommand extends $Command< private serialize( input: CreatePresetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePresetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePresetCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/DeletePipelineCommand.ts b/clients/client-elastic-transcoder/commands/DeletePipelineCommand.ts index 27f73c206aa3..29e25e3d3e8d 100644 --- a/clients/client-elastic-transcoder/commands/DeletePipelineCommand.ts +++ b/clients/client-elastic-transcoder/commands/DeletePipelineCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePipelineCommandInput = DeletePipelineRequest; @@ -64,14 +64,14 @@ export class DeletePipelineCommand extends $Command< private serialize( input: DeletePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePipelineCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/DeletePresetCommand.ts b/clients/client-elastic-transcoder/commands/DeletePresetCommand.ts index a4ed33bed5ef..da9692569338 100644 --- a/clients/client-elastic-transcoder/commands/DeletePresetCommand.ts +++ b/clients/client-elastic-transcoder/commands/DeletePresetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePresetCommandInput = DeletePresetRequest; @@ -64,14 +64,14 @@ export class DeletePresetCommand extends $Command< private serialize( input: DeletePresetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePresetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePresetCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/ListJobsByPipelineCommand.ts b/clients/client-elastic-transcoder/commands/ListJobsByPipelineCommand.ts index 8480d2f8d5b9..d4d8c564135d 100644 --- a/clients/client-elastic-transcoder/commands/ListJobsByPipelineCommand.ts +++ b/clients/client-elastic-transcoder/commands/ListJobsByPipelineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsByPipelineCommandInput = ListJobsByPipelineRequest; @@ -67,14 +67,14 @@ export class ListJobsByPipelineCommand extends $Command< private serialize( input: ListJobsByPipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJobsByPipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJobsByPipelineCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/ListJobsByStatusCommand.ts b/clients/client-elastic-transcoder/commands/ListJobsByStatusCommand.ts index 0d20f6728571..dd74825b3f2f 100644 --- a/clients/client-elastic-transcoder/commands/ListJobsByStatusCommand.ts +++ b/clients/client-elastic-transcoder/commands/ListJobsByStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsByStatusCommandInput = ListJobsByStatusRequest; @@ -67,14 +67,14 @@ export class ListJobsByStatusCommand extends $Command< private serialize( input: ListJobsByStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJobsByStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJobsByStatusCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/ListPipelinesCommand.ts b/clients/client-elastic-transcoder/commands/ListPipelinesCommand.ts index 73051048e60c..79bc192fd51b 100644 --- a/clients/client-elastic-transcoder/commands/ListPipelinesCommand.ts +++ b/clients/client-elastic-transcoder/commands/ListPipelinesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPipelinesCommandInput = ListPipelinesRequest; @@ -64,14 +64,14 @@ export class ListPipelinesCommand extends $Command< private serialize( input: ListPipelinesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPipelinesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPipelinesCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/ListPresetsCommand.ts b/clients/client-elastic-transcoder/commands/ListPresetsCommand.ts index 21d5d00f2fbb..678112522a29 100644 --- a/clients/client-elastic-transcoder/commands/ListPresetsCommand.ts +++ b/clients/client-elastic-transcoder/commands/ListPresetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPresetsCommandInput = ListPresetsRequest; @@ -64,14 +64,14 @@ export class ListPresetsCommand extends $Command< private serialize( input: ListPresetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPresetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPresetsCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/ReadJobCommand.ts b/clients/client-elastic-transcoder/commands/ReadJobCommand.ts index 995ed07c4bc7..db097bce34af 100644 --- a/clients/client-elastic-transcoder/commands/ReadJobCommand.ts +++ b/clients/client-elastic-transcoder/commands/ReadJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReadJobCommandInput = ReadJobRequest; @@ -64,14 +64,14 @@ export class ReadJobCommand extends $Command< private serialize( input: ReadJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ReadJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ReadJobCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/ReadPipelineCommand.ts b/clients/client-elastic-transcoder/commands/ReadPipelineCommand.ts index 01048bdf6669..74f29dab76fe 100644 --- a/clients/client-elastic-transcoder/commands/ReadPipelineCommand.ts +++ b/clients/client-elastic-transcoder/commands/ReadPipelineCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReadPipelineCommandInput = ReadPipelineRequest; @@ -64,14 +64,14 @@ export class ReadPipelineCommand extends $Command< private serialize( input: ReadPipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ReadPipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ReadPipelineCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/ReadPresetCommand.ts b/clients/client-elastic-transcoder/commands/ReadPresetCommand.ts index 2325f080ec06..12c4f7bdaae3 100644 --- a/clients/client-elastic-transcoder/commands/ReadPresetCommand.ts +++ b/clients/client-elastic-transcoder/commands/ReadPresetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReadPresetCommandInput = ReadPresetRequest; @@ -64,14 +64,14 @@ export class ReadPresetCommand extends $Command< private serialize( input: ReadPresetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ReadPresetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ReadPresetCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/TestRoleCommand.ts b/clients/client-elastic-transcoder/commands/TestRoleCommand.ts index 1681968562bb..c0ed6e85741e 100644 --- a/clients/client-elastic-transcoder/commands/TestRoleCommand.ts +++ b/clients/client-elastic-transcoder/commands/TestRoleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestRoleCommandInput = TestRoleRequest; @@ -64,14 +64,14 @@ export class TestRoleCommand extends $Command< private serialize( input: TestRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TestRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TestRoleCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/UpdatePipelineCommand.ts b/clients/client-elastic-transcoder/commands/UpdatePipelineCommand.ts index dec96ad04d17..a7746bbc6896 100644 --- a/clients/client-elastic-transcoder/commands/UpdatePipelineCommand.ts +++ b/clients/client-elastic-transcoder/commands/UpdatePipelineCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePipelineCommandInput = UpdatePipelineRequest; @@ -64,14 +64,14 @@ export class UpdatePipelineCommand extends $Command< private serialize( input: UpdatePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdatePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdatePipelineCommand(output, context); } diff --git a/clients/client-elastic-transcoder/commands/UpdatePipelineNotificationsCommand.ts b/clients/client-elastic-transcoder/commands/UpdatePipelineNotificationsCommand.ts index 95bc4f251b91..2660776c15f8 100644 --- a/clients/client-elastic-transcoder/commands/UpdatePipelineNotificationsCommand.ts +++ b/clients/client-elastic-transcoder/commands/UpdatePipelineNotificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePipelineNotificationsCommandInput = UpdatePipelineNotificationsRequest; @@ -70,7 +70,7 @@ export class UpdatePipelineNotificationsCommand extends $Command< private serialize( input: UpdatePipelineNotificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdatePipelineNotificationsCommand( input, @@ -80,7 +80,7 @@ export class UpdatePipelineNotificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdatePipelineNotificationsCommand( output, diff --git a/clients/client-elastic-transcoder/commands/UpdatePipelineStatusCommand.ts b/clients/client-elastic-transcoder/commands/UpdatePipelineStatusCommand.ts index c8d74cf233b0..c88ba55708f7 100644 --- a/clients/client-elastic-transcoder/commands/UpdatePipelineStatusCommand.ts +++ b/clients/client-elastic-transcoder/commands/UpdatePipelineStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePipelineStatusCommandInput = UpdatePipelineStatusRequest; @@ -70,14 +70,14 @@ export class UpdatePipelineStatusCommand extends $Command< private serialize( input: UpdatePipelineStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdatePipelineStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdatePipelineStatusCommand( output, diff --git a/clients/client-elastic-transcoder/protocols/Aws_restJson1_1.ts b/clients/client-elastic-transcoder/protocols/Aws_restJson1_1.ts index e3cf727186e7..52dbeef6df5b 100644 --- a/clients/client-elastic-transcoder/protocols/Aws_restJson1_1.ts +++ b/clients/client-elastic-transcoder/protocols/Aws_restJson1_1.ts @@ -4507,6 +4507,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-elasticache/commands/AddTagsToResourceCommand.ts b/clients/client-elasticache/commands/AddTagsToResourceCommand.ts index e855267d5fd1..034415bf9ada 100644 --- a/clients/client-elasticache/commands/AddTagsToResourceCommand.ts +++ b/clients/client-elasticache/commands/AddTagsToResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToResourceCommandInput = AddTagsToResourceMessage; @@ -64,14 +64,14 @@ export class AddTagsToResourceCommand extends $Command< private serialize( input: AddTagsToResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddTagsToResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddTagsToResourceCommand(output, context); } diff --git a/clients/client-elasticache/commands/AuthorizeCacheSecurityGroupIngressCommand.ts b/clients/client-elasticache/commands/AuthorizeCacheSecurityGroupIngressCommand.ts index 95afe3fe7742..c86460bd8d68 100644 --- a/clients/client-elasticache/commands/AuthorizeCacheSecurityGroupIngressCommand.ts +++ b/clients/client-elasticache/commands/AuthorizeCacheSecurityGroupIngressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AuthorizeCacheSecurityGroupIngressCommandInput = AuthorizeCacheSecurityGroupIngressMessage; @@ -70,7 +70,7 @@ export class AuthorizeCacheSecurityGroupIngressCommand extends $Command< private serialize( input: AuthorizeCacheSecurityGroupIngressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAuthorizeCacheSecurityGroupIngressCommand( input, @@ -80,7 +80,7 @@ export class AuthorizeCacheSecurityGroupIngressCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAuthorizeCacheSecurityGroupIngressCommand( output, diff --git a/clients/client-elasticache/commands/BatchApplyUpdateActionCommand.ts b/clients/client-elasticache/commands/BatchApplyUpdateActionCommand.ts index 40b6323e7cbd..e46beb6379b1 100644 --- a/clients/client-elasticache/commands/BatchApplyUpdateActionCommand.ts +++ b/clients/client-elasticache/commands/BatchApplyUpdateActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchApplyUpdateActionCommandInput = BatchApplyUpdateActionMessage; @@ -70,14 +70,14 @@ export class BatchApplyUpdateActionCommand extends $Command< private serialize( input: BatchApplyUpdateActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryBatchApplyUpdateActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryBatchApplyUpdateActionCommand(output, context); } diff --git a/clients/client-elasticache/commands/BatchStopUpdateActionCommand.ts b/clients/client-elasticache/commands/BatchStopUpdateActionCommand.ts index 853d8e80e12e..d54ce4fc7592 100644 --- a/clients/client-elasticache/commands/BatchStopUpdateActionCommand.ts +++ b/clients/client-elasticache/commands/BatchStopUpdateActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchStopUpdateActionCommandInput = BatchStopUpdateActionMessage; @@ -70,14 +70,14 @@ export class BatchStopUpdateActionCommand extends $Command< private serialize( input: BatchStopUpdateActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryBatchStopUpdateActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryBatchStopUpdateActionCommand(output, context); } diff --git a/clients/client-elasticache/commands/CompleteMigrationCommand.ts b/clients/client-elasticache/commands/CompleteMigrationCommand.ts index 46fb1efe8f7f..1a49e9a59063 100644 --- a/clients/client-elasticache/commands/CompleteMigrationCommand.ts +++ b/clients/client-elasticache/commands/CompleteMigrationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CompleteMigrationCommandInput = CompleteMigrationMessage; @@ -67,14 +67,14 @@ export class CompleteMigrationCommand extends $Command< private serialize( input: CompleteMigrationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCompleteMigrationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCompleteMigrationCommand(output, context); } diff --git a/clients/client-elasticache/commands/CopySnapshotCommand.ts b/clients/client-elasticache/commands/CopySnapshotCommand.ts index 65fa7d377681..a60a11be0aad 100644 --- a/clients/client-elasticache/commands/CopySnapshotCommand.ts +++ b/clients/client-elasticache/commands/CopySnapshotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopySnapshotCommandInput = CopySnapshotMessage; @@ -64,14 +64,14 @@ export class CopySnapshotCommand extends $Command< private serialize( input: CopySnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopySnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopySnapshotCommand(output, context); } diff --git a/clients/client-elasticache/commands/CreateCacheClusterCommand.ts b/clients/client-elasticache/commands/CreateCacheClusterCommand.ts index 9a2c70303802..59f9e2d6e842 100644 --- a/clients/client-elasticache/commands/CreateCacheClusterCommand.ts +++ b/clients/client-elasticache/commands/CreateCacheClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCacheClusterCommandInput = CreateCacheClusterMessage; @@ -67,14 +67,14 @@ export class CreateCacheClusterCommand extends $Command< private serialize( input: CreateCacheClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateCacheClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateCacheClusterCommand(output, context); } diff --git a/clients/client-elasticache/commands/CreateCacheParameterGroupCommand.ts b/clients/client-elasticache/commands/CreateCacheParameterGroupCommand.ts index 6d5aed9b2381..26cc8b2a3f78 100644 --- a/clients/client-elasticache/commands/CreateCacheParameterGroupCommand.ts +++ b/clients/client-elasticache/commands/CreateCacheParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCacheParameterGroupCommandInput = CreateCacheParameterGroupMessage; @@ -70,14 +70,14 @@ export class CreateCacheParameterGroupCommand extends $Command< private serialize( input: CreateCacheParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateCacheParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateCacheParameterGroupCommand( output, diff --git a/clients/client-elasticache/commands/CreateCacheSecurityGroupCommand.ts b/clients/client-elasticache/commands/CreateCacheSecurityGroupCommand.ts index 7fab498286ad..bd85d1796e33 100644 --- a/clients/client-elasticache/commands/CreateCacheSecurityGroupCommand.ts +++ b/clients/client-elasticache/commands/CreateCacheSecurityGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCacheSecurityGroupCommandInput = CreateCacheSecurityGroupMessage; @@ -70,14 +70,14 @@ export class CreateCacheSecurityGroupCommand extends $Command< private serialize( input: CreateCacheSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateCacheSecurityGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateCacheSecurityGroupCommand(output, context); } diff --git a/clients/client-elasticache/commands/CreateCacheSubnetGroupCommand.ts b/clients/client-elasticache/commands/CreateCacheSubnetGroupCommand.ts index 2905e7874979..2cd499c45f41 100644 --- a/clients/client-elasticache/commands/CreateCacheSubnetGroupCommand.ts +++ b/clients/client-elasticache/commands/CreateCacheSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCacheSubnetGroupCommandInput = CreateCacheSubnetGroupMessage; @@ -70,14 +70,14 @@ export class CreateCacheSubnetGroupCommand extends $Command< private serialize( input: CreateCacheSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateCacheSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateCacheSubnetGroupCommand(output, context); } diff --git a/clients/client-elasticache/commands/CreateReplicationGroupCommand.ts b/clients/client-elasticache/commands/CreateReplicationGroupCommand.ts index 3ff2aed24c84..f37655dba991 100644 --- a/clients/client-elasticache/commands/CreateReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/CreateReplicationGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateReplicationGroupCommandInput = CreateReplicationGroupMessage; @@ -70,14 +70,14 @@ export class CreateReplicationGroupCommand extends $Command< private serialize( input: CreateReplicationGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateReplicationGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateReplicationGroupCommand(output, context); } diff --git a/clients/client-elasticache/commands/CreateSnapshotCommand.ts b/clients/client-elasticache/commands/CreateSnapshotCommand.ts index d02ef8c3a5e1..2503052edfc0 100644 --- a/clients/client-elasticache/commands/CreateSnapshotCommand.ts +++ b/clients/client-elasticache/commands/CreateSnapshotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSnapshotCommandInput = CreateSnapshotMessage; @@ -64,14 +64,14 @@ export class CreateSnapshotCommand extends $Command< private serialize( input: CreateSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateSnapshotCommand(output, context); } diff --git a/clients/client-elasticache/commands/DecreaseReplicaCountCommand.ts b/clients/client-elasticache/commands/DecreaseReplicaCountCommand.ts index abfd8a7e23ee..8fa95b1d1f65 100644 --- a/clients/client-elasticache/commands/DecreaseReplicaCountCommand.ts +++ b/clients/client-elasticache/commands/DecreaseReplicaCountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DecreaseReplicaCountCommandInput = DecreaseReplicaCountMessage; @@ -70,14 +70,14 @@ export class DecreaseReplicaCountCommand extends $Command< private serialize( input: DecreaseReplicaCountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDecreaseReplicaCountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDecreaseReplicaCountCommand(output, context); } diff --git a/clients/client-elasticache/commands/DeleteCacheClusterCommand.ts b/clients/client-elasticache/commands/DeleteCacheClusterCommand.ts index 1e7e32e4ed24..849d70af2250 100644 --- a/clients/client-elasticache/commands/DeleteCacheClusterCommand.ts +++ b/clients/client-elasticache/commands/DeleteCacheClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCacheClusterCommandInput = DeleteCacheClusterMessage; @@ -67,14 +67,14 @@ export class DeleteCacheClusterCommand extends $Command< private serialize( input: DeleteCacheClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteCacheClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteCacheClusterCommand(output, context); } diff --git a/clients/client-elasticache/commands/DeleteCacheParameterGroupCommand.ts b/clients/client-elasticache/commands/DeleteCacheParameterGroupCommand.ts index 0cfb645f0fdf..c32a67f7b75a 100644 --- a/clients/client-elasticache/commands/DeleteCacheParameterGroupCommand.ts +++ b/clients/client-elasticache/commands/DeleteCacheParameterGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCacheParameterGroupCommandInput = DeleteCacheParameterGroupMessage; @@ -68,14 +68,14 @@ export class DeleteCacheParameterGroupCommand extends $Command< private serialize( input: DeleteCacheParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteCacheParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteCacheParameterGroupCommand( output, diff --git a/clients/client-elasticache/commands/DeleteCacheSecurityGroupCommand.ts b/clients/client-elasticache/commands/DeleteCacheSecurityGroupCommand.ts index 88b014fb1a02..e3196806a8e9 100644 --- a/clients/client-elasticache/commands/DeleteCacheSecurityGroupCommand.ts +++ b/clients/client-elasticache/commands/DeleteCacheSecurityGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCacheSecurityGroupCommandInput = DeleteCacheSecurityGroupMessage; @@ -68,14 +68,14 @@ export class DeleteCacheSecurityGroupCommand extends $Command< private serialize( input: DeleteCacheSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteCacheSecurityGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteCacheSecurityGroupCommand(output, context); } diff --git a/clients/client-elasticache/commands/DeleteCacheSubnetGroupCommand.ts b/clients/client-elasticache/commands/DeleteCacheSubnetGroupCommand.ts index 46f75c025973..6ffe7a9131ea 100644 --- a/clients/client-elasticache/commands/DeleteCacheSubnetGroupCommand.ts +++ b/clients/client-elasticache/commands/DeleteCacheSubnetGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCacheSubnetGroupCommandInput = DeleteCacheSubnetGroupMessage; @@ -68,14 +68,14 @@ export class DeleteCacheSubnetGroupCommand extends $Command< private serialize( input: DeleteCacheSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteCacheSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteCacheSubnetGroupCommand(output, context); } diff --git a/clients/client-elasticache/commands/DeleteReplicationGroupCommand.ts b/clients/client-elasticache/commands/DeleteReplicationGroupCommand.ts index e57974c52d22..71485b8c951a 100644 --- a/clients/client-elasticache/commands/DeleteReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/DeleteReplicationGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReplicationGroupCommandInput = DeleteReplicationGroupMessage; @@ -70,14 +70,14 @@ export class DeleteReplicationGroupCommand extends $Command< private serialize( input: DeleteReplicationGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteReplicationGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteReplicationGroupCommand(output, context); } diff --git a/clients/client-elasticache/commands/DeleteSnapshotCommand.ts b/clients/client-elasticache/commands/DeleteSnapshotCommand.ts index 60706ec2c525..596d7a42068e 100644 --- a/clients/client-elasticache/commands/DeleteSnapshotCommand.ts +++ b/clients/client-elasticache/commands/DeleteSnapshotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSnapshotCommandInput = DeleteSnapshotMessage; @@ -64,14 +64,14 @@ export class DeleteSnapshotCommand extends $Command< private serialize( input: DeleteSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteSnapshotCommand(output, context); } diff --git a/clients/client-elasticache/commands/DescribeCacheClustersCommand.ts b/clients/client-elasticache/commands/DescribeCacheClustersCommand.ts index 348526fbf32b..261c6c81203e 100644 --- a/clients/client-elasticache/commands/DescribeCacheClustersCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheClustersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCacheClustersCommandInput = DescribeCacheClustersMessage; @@ -70,14 +70,14 @@ export class DescribeCacheClustersCommand extends $Command< private serialize( input: DescribeCacheClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeCacheClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeCacheClustersCommand(output, context); } diff --git a/clients/client-elasticache/commands/DescribeCacheEngineVersionsCommand.ts b/clients/client-elasticache/commands/DescribeCacheEngineVersionsCommand.ts index 297c1b78a587..bf285b1b9eda 100644 --- a/clients/client-elasticache/commands/DescribeCacheEngineVersionsCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheEngineVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCacheEngineVersionsCommandInput = DescribeCacheEngineVersionsMessage; @@ -70,14 +70,14 @@ export class DescribeCacheEngineVersionsCommand extends $Command< private serialize( input: DescribeCacheEngineVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeCacheEngineVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeCacheEngineVersionsCommand( output, diff --git a/clients/client-elasticache/commands/DescribeCacheParameterGroupsCommand.ts b/clients/client-elasticache/commands/DescribeCacheParameterGroupsCommand.ts index dbc007b5e29b..fb9786eb151a 100644 --- a/clients/client-elasticache/commands/DescribeCacheParameterGroupsCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheParameterGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCacheParameterGroupsCommandInput = DescribeCacheParameterGroupsMessage; @@ -70,7 +70,7 @@ export class DescribeCacheParameterGroupsCommand extends $Command< private serialize( input: DescribeCacheParameterGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeCacheParameterGroupsCommand( input, @@ -80,7 +80,7 @@ export class DescribeCacheParameterGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeCacheParameterGroupsCommand( output, diff --git a/clients/client-elasticache/commands/DescribeCacheParametersCommand.ts b/clients/client-elasticache/commands/DescribeCacheParametersCommand.ts index 0a7d49cb18f0..4c1455487d63 100644 --- a/clients/client-elasticache/commands/DescribeCacheParametersCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCacheParametersCommandInput = DescribeCacheParametersMessage; @@ -70,14 +70,14 @@ export class DescribeCacheParametersCommand extends $Command< private serialize( input: DescribeCacheParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeCacheParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeCacheParametersCommand(output, context); } diff --git a/clients/client-elasticache/commands/DescribeCacheSecurityGroupsCommand.ts b/clients/client-elasticache/commands/DescribeCacheSecurityGroupsCommand.ts index 1241be881637..39466af9d34c 100644 --- a/clients/client-elasticache/commands/DescribeCacheSecurityGroupsCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheSecurityGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCacheSecurityGroupsCommandInput = DescribeCacheSecurityGroupsMessage; @@ -70,14 +70,14 @@ export class DescribeCacheSecurityGroupsCommand extends $Command< private serialize( input: DescribeCacheSecurityGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeCacheSecurityGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeCacheSecurityGroupsCommand( output, diff --git a/clients/client-elasticache/commands/DescribeCacheSubnetGroupsCommand.ts b/clients/client-elasticache/commands/DescribeCacheSubnetGroupsCommand.ts index 6fa6e6ce78b9..11bcd2ddf5be 100644 --- a/clients/client-elasticache/commands/DescribeCacheSubnetGroupsCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheSubnetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCacheSubnetGroupsCommandInput = DescribeCacheSubnetGroupsMessage; @@ -70,14 +70,14 @@ export class DescribeCacheSubnetGroupsCommand extends $Command< private serialize( input: DescribeCacheSubnetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeCacheSubnetGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeCacheSubnetGroupsCommand( output, diff --git a/clients/client-elasticache/commands/DescribeEngineDefaultParametersCommand.ts b/clients/client-elasticache/commands/DescribeEngineDefaultParametersCommand.ts index a023756adfa0..e4ef031ddda4 100644 --- a/clients/client-elasticache/commands/DescribeEngineDefaultParametersCommand.ts +++ b/clients/client-elasticache/commands/DescribeEngineDefaultParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEngineDefaultParametersCommandInput = DescribeEngineDefaultParametersMessage; @@ -70,7 +70,7 @@ export class DescribeEngineDefaultParametersCommand extends $Command< private serialize( input: DescribeEngineDefaultParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEngineDefaultParametersCommand( input, @@ -80,7 +80,7 @@ export class DescribeEngineDefaultParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEngineDefaultParametersCommand( output, diff --git a/clients/client-elasticache/commands/DescribeEventsCommand.ts b/clients/client-elasticache/commands/DescribeEventsCommand.ts index fa323c9be79c..0c17dfd8b705 100644 --- a/clients/client-elasticache/commands/DescribeEventsCommand.ts +++ b/clients/client-elasticache/commands/DescribeEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventsCommandInput = DescribeEventsMessage; @@ -64,14 +64,14 @@ export class DescribeEventsCommand extends $Command< private serialize( input: DescribeEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventsCommand(output, context); } diff --git a/clients/client-elasticache/commands/DescribeReplicationGroupsCommand.ts b/clients/client-elasticache/commands/DescribeReplicationGroupsCommand.ts index 5397aef5e569..8b26186611b9 100644 --- a/clients/client-elasticache/commands/DescribeReplicationGroupsCommand.ts +++ b/clients/client-elasticache/commands/DescribeReplicationGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReplicationGroupsCommandInput = DescribeReplicationGroupsMessage; @@ -70,14 +70,14 @@ export class DescribeReplicationGroupsCommand extends $Command< private serialize( input: DescribeReplicationGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeReplicationGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeReplicationGroupsCommand( output, diff --git a/clients/client-elasticache/commands/DescribeReservedCacheNodesCommand.ts b/clients/client-elasticache/commands/DescribeReservedCacheNodesCommand.ts index 5a8a4346e5c1..e3fdcdac6519 100644 --- a/clients/client-elasticache/commands/DescribeReservedCacheNodesCommand.ts +++ b/clients/client-elasticache/commands/DescribeReservedCacheNodesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedCacheNodesCommandInput = DescribeReservedCacheNodesMessage; @@ -70,14 +70,14 @@ export class DescribeReservedCacheNodesCommand extends $Command< private serialize( input: DescribeReservedCacheNodesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeReservedCacheNodesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeReservedCacheNodesCommand( output, diff --git a/clients/client-elasticache/commands/DescribeReservedCacheNodesOfferingsCommand.ts b/clients/client-elasticache/commands/DescribeReservedCacheNodesOfferingsCommand.ts index a28687f55b8d..9e4c789e7d79 100644 --- a/clients/client-elasticache/commands/DescribeReservedCacheNodesOfferingsCommand.ts +++ b/clients/client-elasticache/commands/DescribeReservedCacheNodesOfferingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedCacheNodesOfferingsCommandInput = DescribeReservedCacheNodesOfferingsMessage; @@ -70,7 +70,7 @@ export class DescribeReservedCacheNodesOfferingsCommand extends $Command< private serialize( input: DescribeReservedCacheNodesOfferingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeReservedCacheNodesOfferingsCommand( input, @@ -80,7 +80,7 @@ export class DescribeReservedCacheNodesOfferingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeReservedCacheNodesOfferingsCommand( output, diff --git a/clients/client-elasticache/commands/DescribeServiceUpdatesCommand.ts b/clients/client-elasticache/commands/DescribeServiceUpdatesCommand.ts index 68643a61904b..ab684c9c9dc6 100644 --- a/clients/client-elasticache/commands/DescribeServiceUpdatesCommand.ts +++ b/clients/client-elasticache/commands/DescribeServiceUpdatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeServiceUpdatesCommandInput = DescribeServiceUpdatesMessage; @@ -70,14 +70,14 @@ export class DescribeServiceUpdatesCommand extends $Command< private serialize( input: DescribeServiceUpdatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeServiceUpdatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeServiceUpdatesCommand(output, context); } diff --git a/clients/client-elasticache/commands/DescribeSnapshotsCommand.ts b/clients/client-elasticache/commands/DescribeSnapshotsCommand.ts index 809b16882d8d..6a59c119b369 100644 --- a/clients/client-elasticache/commands/DescribeSnapshotsCommand.ts +++ b/clients/client-elasticache/commands/DescribeSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSnapshotsCommandInput = DescribeSnapshotsMessage; @@ -67,14 +67,14 @@ export class DescribeSnapshotsCommand extends $Command< private serialize( input: DescribeSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeSnapshotsCommand(output, context); } diff --git a/clients/client-elasticache/commands/DescribeUpdateActionsCommand.ts b/clients/client-elasticache/commands/DescribeUpdateActionsCommand.ts index b9567efa9ea8..c634c554729b 100644 --- a/clients/client-elasticache/commands/DescribeUpdateActionsCommand.ts +++ b/clients/client-elasticache/commands/DescribeUpdateActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUpdateActionsCommandInput = DescribeUpdateActionsMessage; @@ -70,14 +70,14 @@ export class DescribeUpdateActionsCommand extends $Command< private serialize( input: DescribeUpdateActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeUpdateActionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeUpdateActionsCommand(output, context); } diff --git a/clients/client-elasticache/commands/IncreaseReplicaCountCommand.ts b/clients/client-elasticache/commands/IncreaseReplicaCountCommand.ts index 99c9f067db08..e3062b4f509f 100644 --- a/clients/client-elasticache/commands/IncreaseReplicaCountCommand.ts +++ b/clients/client-elasticache/commands/IncreaseReplicaCountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type IncreaseReplicaCountCommandInput = IncreaseReplicaCountMessage; @@ -70,14 +70,14 @@ export class IncreaseReplicaCountCommand extends $Command< private serialize( input: IncreaseReplicaCountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryIncreaseReplicaCountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryIncreaseReplicaCountCommand(output, context); } diff --git a/clients/client-elasticache/commands/ListAllowedNodeTypeModificationsCommand.ts b/clients/client-elasticache/commands/ListAllowedNodeTypeModificationsCommand.ts index 4ae2fdeeb01f..6a393ff3955f 100644 --- a/clients/client-elasticache/commands/ListAllowedNodeTypeModificationsCommand.ts +++ b/clients/client-elasticache/commands/ListAllowedNodeTypeModificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAllowedNodeTypeModificationsCommandInput = ListAllowedNodeTypeModificationsMessage; @@ -70,7 +70,7 @@ export class ListAllowedNodeTypeModificationsCommand extends $Command< private serialize( input: ListAllowedNodeTypeModificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListAllowedNodeTypeModificationsCommand( input, @@ -80,7 +80,7 @@ export class ListAllowedNodeTypeModificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListAllowedNodeTypeModificationsCommand( output, diff --git a/clients/client-elasticache/commands/ListTagsForResourceCommand.ts b/clients/client-elasticache/commands/ListTagsForResourceCommand.ts index 003bbc729b24..48bd5803eedd 100644 --- a/clients/client-elasticache/commands/ListTagsForResourceCommand.ts +++ b/clients/client-elasticache/commands/ListTagsForResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceMessage; @@ -67,14 +67,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTagsForResourceCommand(output, context); } diff --git a/clients/client-elasticache/commands/ModifyCacheClusterCommand.ts b/clients/client-elasticache/commands/ModifyCacheClusterCommand.ts index 9b9498e37440..e247493b6631 100644 --- a/clients/client-elasticache/commands/ModifyCacheClusterCommand.ts +++ b/clients/client-elasticache/commands/ModifyCacheClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyCacheClusterCommandInput = ModifyCacheClusterMessage; @@ -67,14 +67,14 @@ export class ModifyCacheClusterCommand extends $Command< private serialize( input: ModifyCacheClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyCacheClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyCacheClusterCommand(output, context); } diff --git a/clients/client-elasticache/commands/ModifyCacheParameterGroupCommand.ts b/clients/client-elasticache/commands/ModifyCacheParameterGroupCommand.ts index 70eda39dc05b..f6fe8602fc89 100644 --- a/clients/client-elasticache/commands/ModifyCacheParameterGroupCommand.ts +++ b/clients/client-elasticache/commands/ModifyCacheParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyCacheParameterGroupCommandInput = ModifyCacheParameterGroupMessage; @@ -70,14 +70,14 @@ export class ModifyCacheParameterGroupCommand extends $Command< private serialize( input: ModifyCacheParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyCacheParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyCacheParameterGroupCommand( output, diff --git a/clients/client-elasticache/commands/ModifyCacheSubnetGroupCommand.ts b/clients/client-elasticache/commands/ModifyCacheSubnetGroupCommand.ts index 864ca88cbae4..01155f4a7ece 100644 --- a/clients/client-elasticache/commands/ModifyCacheSubnetGroupCommand.ts +++ b/clients/client-elasticache/commands/ModifyCacheSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyCacheSubnetGroupCommandInput = ModifyCacheSubnetGroupMessage; @@ -70,14 +70,14 @@ export class ModifyCacheSubnetGroupCommand extends $Command< private serialize( input: ModifyCacheSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyCacheSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyCacheSubnetGroupCommand(output, context); } diff --git a/clients/client-elasticache/commands/ModifyReplicationGroupCommand.ts b/clients/client-elasticache/commands/ModifyReplicationGroupCommand.ts index 8a7f3eb7b542..baf212f2bc4f 100644 --- a/clients/client-elasticache/commands/ModifyReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/ModifyReplicationGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyReplicationGroupCommandInput = ModifyReplicationGroupMessage; @@ -70,14 +70,14 @@ export class ModifyReplicationGroupCommand extends $Command< private serialize( input: ModifyReplicationGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyReplicationGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyReplicationGroupCommand(output, context); } diff --git a/clients/client-elasticache/commands/ModifyReplicationGroupShardConfigurationCommand.ts b/clients/client-elasticache/commands/ModifyReplicationGroupShardConfigurationCommand.ts index cea3aa5305e8..caee5c8d49da 100644 --- a/clients/client-elasticache/commands/ModifyReplicationGroupShardConfigurationCommand.ts +++ b/clients/client-elasticache/commands/ModifyReplicationGroupShardConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyReplicationGroupShardConfigurationCommandInput = ModifyReplicationGroupShardConfigurationMessage; @@ -72,7 +72,7 @@ export class ModifyReplicationGroupShardConfigurationCommand extends $Command< private serialize( input: ModifyReplicationGroupShardConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyReplicationGroupShardConfigurationCommand( input, @@ -82,7 +82,7 @@ export class ModifyReplicationGroupShardConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyReplicationGroupShardConfigurationCommand( output, diff --git a/clients/client-elasticache/commands/PurchaseReservedCacheNodesOfferingCommand.ts b/clients/client-elasticache/commands/PurchaseReservedCacheNodesOfferingCommand.ts index 72d6124b8362..0d05e3634ec7 100644 --- a/clients/client-elasticache/commands/PurchaseReservedCacheNodesOfferingCommand.ts +++ b/clients/client-elasticache/commands/PurchaseReservedCacheNodesOfferingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PurchaseReservedCacheNodesOfferingCommandInput = PurchaseReservedCacheNodesOfferingMessage; @@ -70,7 +70,7 @@ export class PurchaseReservedCacheNodesOfferingCommand extends $Command< private serialize( input: PurchaseReservedCacheNodesOfferingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPurchaseReservedCacheNodesOfferingCommand( input, @@ -80,7 +80,7 @@ export class PurchaseReservedCacheNodesOfferingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPurchaseReservedCacheNodesOfferingCommand( output, diff --git a/clients/client-elasticache/commands/RebootCacheClusterCommand.ts b/clients/client-elasticache/commands/RebootCacheClusterCommand.ts index 8448d827ee95..8308c85debea 100644 --- a/clients/client-elasticache/commands/RebootCacheClusterCommand.ts +++ b/clients/client-elasticache/commands/RebootCacheClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootCacheClusterCommandInput = RebootCacheClusterMessage; @@ -67,14 +67,14 @@ export class RebootCacheClusterCommand extends $Command< private serialize( input: RebootCacheClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRebootCacheClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRebootCacheClusterCommand(output, context); } diff --git a/clients/client-elasticache/commands/RemoveTagsFromResourceCommand.ts b/clients/client-elasticache/commands/RemoveTagsFromResourceCommand.ts index f0723b9f37b2..e86de61ecadc 100644 --- a/clients/client-elasticache/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-elasticache/commands/RemoveTagsFromResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromResourceCommandInput = RemoveTagsFromResourceMessage; @@ -67,14 +67,14 @@ export class RemoveTagsFromResourceCommand extends $Command< private serialize( input: RemoveTagsFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveTagsFromResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveTagsFromResourceCommand(output, context); } diff --git a/clients/client-elasticache/commands/ResetCacheParameterGroupCommand.ts b/clients/client-elasticache/commands/ResetCacheParameterGroupCommand.ts index 332375b732e0..49007dfbba1d 100644 --- a/clients/client-elasticache/commands/ResetCacheParameterGroupCommand.ts +++ b/clients/client-elasticache/commands/ResetCacheParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetCacheParameterGroupCommandInput = ResetCacheParameterGroupMessage; @@ -70,14 +70,14 @@ export class ResetCacheParameterGroupCommand extends $Command< private serialize( input: ResetCacheParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryResetCacheParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryResetCacheParameterGroupCommand(output, context); } diff --git a/clients/client-elasticache/commands/RevokeCacheSecurityGroupIngressCommand.ts b/clients/client-elasticache/commands/RevokeCacheSecurityGroupIngressCommand.ts index 0e7c395df090..025ce24ac23c 100644 --- a/clients/client-elasticache/commands/RevokeCacheSecurityGroupIngressCommand.ts +++ b/clients/client-elasticache/commands/RevokeCacheSecurityGroupIngressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeCacheSecurityGroupIngressCommandInput = RevokeCacheSecurityGroupIngressMessage; @@ -70,7 +70,7 @@ export class RevokeCacheSecurityGroupIngressCommand extends $Command< private serialize( input: RevokeCacheSecurityGroupIngressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRevokeCacheSecurityGroupIngressCommand( input, @@ -80,7 +80,7 @@ export class RevokeCacheSecurityGroupIngressCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRevokeCacheSecurityGroupIngressCommand( output, diff --git a/clients/client-elasticache/commands/StartMigrationCommand.ts b/clients/client-elasticache/commands/StartMigrationCommand.ts index f5111715720a..66435d890c64 100644 --- a/clients/client-elasticache/commands/StartMigrationCommand.ts +++ b/clients/client-elasticache/commands/StartMigrationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartMigrationCommandInput = StartMigrationMessage; @@ -64,14 +64,14 @@ export class StartMigrationCommand extends $Command< private serialize( input: StartMigrationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryStartMigrationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryStartMigrationCommand(output, context); } diff --git a/clients/client-elasticache/commands/TestFailoverCommand.ts b/clients/client-elasticache/commands/TestFailoverCommand.ts index 725e2324ee91..4c762c6330ad 100644 --- a/clients/client-elasticache/commands/TestFailoverCommand.ts +++ b/clients/client-elasticache/commands/TestFailoverCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestFailoverCommandInput = TestFailoverMessage; @@ -64,14 +64,14 @@ export class TestFailoverCommand extends $Command< private serialize( input: TestFailoverCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryTestFailoverCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryTestFailoverCommand(output, context); } diff --git a/clients/client-elasticache/protocols/Aws_query.ts b/clients/client-elasticache/protocols/Aws_query.ts index 5c1e7f4b9ad5..02176de24925 100644 --- a/clients/client-elasticache/protocols/Aws_query.ts +++ b/clients/client-elasticache/protocols/Aws_query.ts @@ -12056,6 +12056,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-elasticsearch-service/commands/AddTagsCommand.ts b/clients/client-elasticsearch-service/commands/AddTagsCommand.ts index 5f667a37a440..f8d990a801bb 100644 --- a/clients/client-elasticsearch-service/commands/AddTagsCommand.ts +++ b/clients/client-elasticsearch-service/commands/AddTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsCommandInput = AddTagsRequest; @@ -65,14 +65,14 @@ export class AddTagsCommand extends $Command< private serialize( input: AddTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AddTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AddTagsCommand(output, context); } diff --git a/clients/client-elasticsearch-service/commands/CancelElasticsearchServiceSoftwareUpdateCommand.ts b/clients/client-elasticsearch-service/commands/CancelElasticsearchServiceSoftwareUpdateCommand.ts index c0366c91c1a9..f0f01941c8a1 100644 --- a/clients/client-elasticsearch-service/commands/CancelElasticsearchServiceSoftwareUpdateCommand.ts +++ b/clients/client-elasticsearch-service/commands/CancelElasticsearchServiceSoftwareUpdateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelElasticsearchServiceSoftwareUpdateCommandInput = CancelElasticsearchServiceSoftwareUpdateRequest; @@ -72,7 +72,7 @@ export class CancelElasticsearchServiceSoftwareUpdateCommand extends $Command< private serialize( input: CancelElasticsearchServiceSoftwareUpdateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelElasticsearchServiceSoftwareUpdateCommand( input, @@ -82,7 +82,7 @@ export class CancelElasticsearchServiceSoftwareUpdateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelElasticsearchServiceSoftwareUpdateCommand( output, diff --git a/clients/client-elasticsearch-service/commands/CreateElasticsearchDomainCommand.ts b/clients/client-elasticsearch-service/commands/CreateElasticsearchDomainCommand.ts index 5f4f73a1cbed..020473f3cc78 100644 --- a/clients/client-elasticsearch-service/commands/CreateElasticsearchDomainCommand.ts +++ b/clients/client-elasticsearch-service/commands/CreateElasticsearchDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateElasticsearchDomainCommandInput = CreateElasticsearchDomainRequest; @@ -70,7 +70,7 @@ export class CreateElasticsearchDomainCommand extends $Command< private serialize( input: CreateElasticsearchDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateElasticsearchDomainCommand( input, @@ -80,7 +80,7 @@ export class CreateElasticsearchDomainCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateElasticsearchDomainCommand( output, diff --git a/clients/client-elasticsearch-service/commands/DeleteElasticsearchDomainCommand.ts b/clients/client-elasticsearch-service/commands/DeleteElasticsearchDomainCommand.ts index 079c0ec73ae3..57ced3950433 100644 --- a/clients/client-elasticsearch-service/commands/DeleteElasticsearchDomainCommand.ts +++ b/clients/client-elasticsearch-service/commands/DeleteElasticsearchDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteElasticsearchDomainCommandInput = DeleteElasticsearchDomainRequest; @@ -70,7 +70,7 @@ export class DeleteElasticsearchDomainCommand extends $Command< private serialize( input: DeleteElasticsearchDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteElasticsearchDomainCommand( input, @@ -80,7 +80,7 @@ export class DeleteElasticsearchDomainCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteElasticsearchDomainCommand( output, diff --git a/clients/client-elasticsearch-service/commands/DeleteElasticsearchServiceRoleCommand.ts b/clients/client-elasticsearch-service/commands/DeleteElasticsearchServiceRoleCommand.ts index e77cca881eb4..31c7d28805d2 100644 --- a/clients/client-elasticsearch-service/commands/DeleteElasticsearchServiceRoleCommand.ts +++ b/clients/client-elasticsearch-service/commands/DeleteElasticsearchServiceRoleCommand.ts @@ -18,9 +18,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteElasticsearchServiceRoleCommandInput = {}; @@ -67,7 +67,7 @@ export class DeleteElasticsearchServiceRoleCommand extends $Command< private serialize( input: DeleteElasticsearchServiceRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteElasticsearchServiceRoleCommand( input, @@ -77,7 +77,7 @@ export class DeleteElasticsearchServiceRoleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteElasticsearchServiceRoleCommand( output, diff --git a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainCommand.ts b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainCommand.ts index 150e4b250649..6c5f815ca9d3 100644 --- a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeElasticsearchDomainCommandInput = DescribeElasticsearchDomainRequest; @@ -70,7 +70,7 @@ export class DescribeElasticsearchDomainCommand extends $Command< private serialize( input: DescribeElasticsearchDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeElasticsearchDomainCommand( input, @@ -80,7 +80,7 @@ export class DescribeElasticsearchDomainCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeElasticsearchDomainCommand( output, diff --git a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainConfigCommand.ts b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainConfigCommand.ts index b7623d5cf2e6..f76fbe3a57ba 100644 --- a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainConfigCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeElasticsearchDomainConfigCommandInput = DescribeElasticsearchDomainConfigRequest; @@ -70,7 +70,7 @@ export class DescribeElasticsearchDomainConfigCommand extends $Command< private serialize( input: DescribeElasticsearchDomainConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeElasticsearchDomainConfigCommand( input, @@ -80,7 +80,7 @@ export class DescribeElasticsearchDomainConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeElasticsearchDomainConfigCommand( output, diff --git a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainsCommand.ts b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainsCommand.ts index 1842cb8701d3..23e71d1c99fb 100644 --- a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainsCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeElasticsearchDomainsCommandInput = DescribeElasticsearchDomainsRequest; @@ -70,7 +70,7 @@ export class DescribeElasticsearchDomainsCommand extends $Command< private serialize( input: DescribeElasticsearchDomainsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeElasticsearchDomainsCommand( input, @@ -80,7 +80,7 @@ export class DescribeElasticsearchDomainsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeElasticsearchDomainsCommand( output, diff --git a/clients/client-elasticsearch-service/commands/DescribeElasticsearchInstanceTypeLimitsCommand.ts b/clients/client-elasticsearch-service/commands/DescribeElasticsearchInstanceTypeLimitsCommand.ts index 6c8bd08e6697..1ad3deab38a6 100644 --- a/clients/client-elasticsearch-service/commands/DescribeElasticsearchInstanceTypeLimitsCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeElasticsearchInstanceTypeLimitsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeElasticsearchInstanceTypeLimitsCommandInput = DescribeElasticsearchInstanceTypeLimitsRequest; @@ -72,7 +72,7 @@ export class DescribeElasticsearchInstanceTypeLimitsCommand extends $Command< private serialize( input: DescribeElasticsearchInstanceTypeLimitsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeElasticsearchInstanceTypeLimitsCommand( input, @@ -82,7 +82,7 @@ export class DescribeElasticsearchInstanceTypeLimitsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeElasticsearchInstanceTypeLimitsCommand( output, diff --git a/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.ts b/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.ts index 2210285c6aae..bc0b6a7d7650 100644 --- a/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedElasticsearchInstanceOfferingsCommandInput = DescribeReservedElasticsearchInstanceOfferingsRequest; @@ -72,7 +72,7 @@ export class DescribeReservedElasticsearchInstanceOfferingsCommand extends $Comm private serialize( input: DescribeReservedElasticsearchInstanceOfferingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeReservedElasticsearchInstanceOfferingsCommand( input, @@ -82,7 +82,7 @@ export class DescribeReservedElasticsearchInstanceOfferingsCommand extends $Comm private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeReservedElasticsearchInstanceOfferingsCommand( output, diff --git a/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstancesCommand.ts b/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstancesCommand.ts index 2cf1741d49d5..a2e4a12dd722 100644 --- a/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstancesCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedElasticsearchInstancesCommandInput = DescribeReservedElasticsearchInstancesRequest; @@ -72,7 +72,7 @@ export class DescribeReservedElasticsearchInstancesCommand extends $Command< private serialize( input: DescribeReservedElasticsearchInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeReservedElasticsearchInstancesCommand( input, @@ -82,7 +82,7 @@ export class DescribeReservedElasticsearchInstancesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeReservedElasticsearchInstancesCommand( output, diff --git a/clients/client-elasticsearch-service/commands/GetCompatibleElasticsearchVersionsCommand.ts b/clients/client-elasticsearch-service/commands/GetCompatibleElasticsearchVersionsCommand.ts index dd6f9c000b42..f1bf96c225d3 100644 --- a/clients/client-elasticsearch-service/commands/GetCompatibleElasticsearchVersionsCommand.ts +++ b/clients/client-elasticsearch-service/commands/GetCompatibleElasticsearchVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCompatibleElasticsearchVersionsCommandInput = GetCompatibleElasticsearchVersionsRequest; @@ -70,7 +70,7 @@ export class GetCompatibleElasticsearchVersionsCommand extends $Command< private serialize( input: GetCompatibleElasticsearchVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCompatibleElasticsearchVersionsCommand( input, @@ -80,7 +80,7 @@ export class GetCompatibleElasticsearchVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCompatibleElasticsearchVersionsCommand( output, diff --git a/clients/client-elasticsearch-service/commands/GetUpgradeHistoryCommand.ts b/clients/client-elasticsearch-service/commands/GetUpgradeHistoryCommand.ts index 34fab8ff8fb7..049528608a91 100644 --- a/clients/client-elasticsearch-service/commands/GetUpgradeHistoryCommand.ts +++ b/clients/client-elasticsearch-service/commands/GetUpgradeHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUpgradeHistoryCommandInput = GetUpgradeHistoryRequest; @@ -67,14 +67,14 @@ export class GetUpgradeHistoryCommand extends $Command< private serialize( input: GetUpgradeHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetUpgradeHistoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetUpgradeHistoryCommand(output, context); } diff --git a/clients/client-elasticsearch-service/commands/GetUpgradeStatusCommand.ts b/clients/client-elasticsearch-service/commands/GetUpgradeStatusCommand.ts index 2307cf4c1b6d..1fd54a36af2f 100644 --- a/clients/client-elasticsearch-service/commands/GetUpgradeStatusCommand.ts +++ b/clients/client-elasticsearch-service/commands/GetUpgradeStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUpgradeStatusCommandInput = GetUpgradeStatusRequest; @@ -67,14 +67,14 @@ export class GetUpgradeStatusCommand extends $Command< private serialize( input: GetUpgradeStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetUpgradeStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetUpgradeStatusCommand(output, context); } diff --git a/clients/client-elasticsearch-service/commands/ListDomainNamesCommand.ts b/clients/client-elasticsearch-service/commands/ListDomainNamesCommand.ts index 717e1452bc8e..eb5691180605 100644 --- a/clients/client-elasticsearch-service/commands/ListDomainNamesCommand.ts +++ b/clients/client-elasticsearch-service/commands/ListDomainNamesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDomainNamesCommandInput = {}; @@ -64,14 +64,14 @@ export class ListDomainNamesCommand extends $Command< private serialize( input: ListDomainNamesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDomainNamesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDomainNamesCommand(output, context); } diff --git a/clients/client-elasticsearch-service/commands/ListElasticsearchInstanceTypesCommand.ts b/clients/client-elasticsearch-service/commands/ListElasticsearchInstanceTypesCommand.ts index 704788c3e7a3..15e881527a7c 100644 --- a/clients/client-elasticsearch-service/commands/ListElasticsearchInstanceTypesCommand.ts +++ b/clients/client-elasticsearch-service/commands/ListElasticsearchInstanceTypesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListElasticsearchInstanceTypesCommandInput = ListElasticsearchInstanceTypesRequest; @@ -70,7 +70,7 @@ export class ListElasticsearchInstanceTypesCommand extends $Command< private serialize( input: ListElasticsearchInstanceTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListElasticsearchInstanceTypesCommand( input, @@ -80,7 +80,7 @@ export class ListElasticsearchInstanceTypesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListElasticsearchInstanceTypesCommand( output, diff --git a/clients/client-elasticsearch-service/commands/ListElasticsearchVersionsCommand.ts b/clients/client-elasticsearch-service/commands/ListElasticsearchVersionsCommand.ts index 5685bc21ba7d..1bea4b381776 100644 --- a/clients/client-elasticsearch-service/commands/ListElasticsearchVersionsCommand.ts +++ b/clients/client-elasticsearch-service/commands/ListElasticsearchVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListElasticsearchVersionsCommandInput = ListElasticsearchVersionsRequest; @@ -70,7 +70,7 @@ export class ListElasticsearchVersionsCommand extends $Command< private serialize( input: ListElasticsearchVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListElasticsearchVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListElasticsearchVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListElasticsearchVersionsCommand( output, diff --git a/clients/client-elasticsearch-service/commands/ListTagsCommand.ts b/clients/client-elasticsearch-service/commands/ListTagsCommand.ts index ab4dba9054f4..d0db7758d945 100644 --- a/clients/client-elasticsearch-service/commands/ListTagsCommand.ts +++ b/clients/client-elasticsearch-service/commands/ListTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsCommandInput = ListTagsRequest; @@ -64,14 +64,14 @@ export class ListTagsCommand extends $Command< private serialize( input: ListTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsCommand(output, context); } diff --git a/clients/client-elasticsearch-service/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.ts b/clients/client-elasticsearch-service/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.ts index 9b231fa03f38..e8ebf4ae9651 100644 --- a/clients/client-elasticsearch-service/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.ts +++ b/clients/client-elasticsearch-service/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PurchaseReservedElasticsearchInstanceOfferingCommandInput = PurchaseReservedElasticsearchInstanceOfferingRequest; @@ -72,7 +72,7 @@ export class PurchaseReservedElasticsearchInstanceOfferingCommand extends $Comma private serialize( input: PurchaseReservedElasticsearchInstanceOfferingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PurchaseReservedElasticsearchInstanceOfferingCommand( input, @@ -82,7 +82,7 @@ export class PurchaseReservedElasticsearchInstanceOfferingCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PurchaseReservedElasticsearchInstanceOfferingCommand( output, diff --git a/clients/client-elasticsearch-service/commands/RemoveTagsCommand.ts b/clients/client-elasticsearch-service/commands/RemoveTagsCommand.ts index ef7b4ee9fafa..4dee4d571682 100644 --- a/clients/client-elasticsearch-service/commands/RemoveTagsCommand.ts +++ b/clients/client-elasticsearch-service/commands/RemoveTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsCommandInput = RemoveTagsRequest; @@ -65,14 +65,14 @@ export class RemoveTagsCommand extends $Command< private serialize( input: RemoveTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RemoveTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RemoveTagsCommand(output, context); } diff --git a/clients/client-elasticsearch-service/commands/StartElasticsearchServiceSoftwareUpdateCommand.ts b/clients/client-elasticsearch-service/commands/StartElasticsearchServiceSoftwareUpdateCommand.ts index 39732fa44e44..3cf4fc68ff0f 100644 --- a/clients/client-elasticsearch-service/commands/StartElasticsearchServiceSoftwareUpdateCommand.ts +++ b/clients/client-elasticsearch-service/commands/StartElasticsearchServiceSoftwareUpdateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartElasticsearchServiceSoftwareUpdateCommandInput = StartElasticsearchServiceSoftwareUpdateRequest; @@ -72,7 +72,7 @@ export class StartElasticsearchServiceSoftwareUpdateCommand extends $Command< private serialize( input: StartElasticsearchServiceSoftwareUpdateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartElasticsearchServiceSoftwareUpdateCommand( input, @@ -82,7 +82,7 @@ export class StartElasticsearchServiceSoftwareUpdateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartElasticsearchServiceSoftwareUpdateCommand( output, diff --git a/clients/client-elasticsearch-service/commands/UpdateElasticsearchDomainConfigCommand.ts b/clients/client-elasticsearch-service/commands/UpdateElasticsearchDomainConfigCommand.ts index 260a44485003..b57a709c66f3 100644 --- a/clients/client-elasticsearch-service/commands/UpdateElasticsearchDomainConfigCommand.ts +++ b/clients/client-elasticsearch-service/commands/UpdateElasticsearchDomainConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateElasticsearchDomainConfigCommandInput = UpdateElasticsearchDomainConfigRequest; @@ -70,7 +70,7 @@ export class UpdateElasticsearchDomainConfigCommand extends $Command< private serialize( input: UpdateElasticsearchDomainConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateElasticsearchDomainConfigCommand( input, @@ -80,7 +80,7 @@ export class UpdateElasticsearchDomainConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateElasticsearchDomainConfigCommand( output, diff --git a/clients/client-elasticsearch-service/commands/UpgradeElasticsearchDomainCommand.ts b/clients/client-elasticsearch-service/commands/UpgradeElasticsearchDomainCommand.ts index 7d64da6683cf..3343f6b91ab1 100644 --- a/clients/client-elasticsearch-service/commands/UpgradeElasticsearchDomainCommand.ts +++ b/clients/client-elasticsearch-service/commands/UpgradeElasticsearchDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpgradeElasticsearchDomainCommandInput = UpgradeElasticsearchDomainRequest; @@ -70,7 +70,7 @@ export class UpgradeElasticsearchDomainCommand extends $Command< private serialize( input: UpgradeElasticsearchDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpgradeElasticsearchDomainCommand( input, @@ -80,7 +80,7 @@ export class UpgradeElasticsearchDomainCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpgradeElasticsearchDomainCommand( output, diff --git a/clients/client-elasticsearch-service/protocols/Aws_restJson1_1.ts b/clients/client-elasticsearch-service/protocols/Aws_restJson1_1.ts index 6c85fa344a46..b10aa023b11d 100644 --- a/clients/client-elasticsearch-service/protocols/Aws_restJson1_1.ts +++ b/clients/client-elasticsearch-service/protocols/Aws_restJson1_1.ts @@ -4785,6 +4785,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-emr/commands/AddInstanceFleetCommand.ts b/clients/client-emr/commands/AddInstanceFleetCommand.ts index dc51c70deda2..a4da947b44b4 100644 --- a/clients/client-emr/commands/AddInstanceFleetCommand.ts +++ b/clients/client-emr/commands/AddInstanceFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddInstanceFleetCommandInput = AddInstanceFleetInput; @@ -64,14 +64,14 @@ export class AddInstanceFleetCommand extends $Command< private serialize( input: AddInstanceFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddInstanceFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddInstanceFleetCommand(output, context); } diff --git a/clients/client-emr/commands/AddInstanceGroupsCommand.ts b/clients/client-emr/commands/AddInstanceGroupsCommand.ts index 786219afe4b1..466180cab1b5 100644 --- a/clients/client-emr/commands/AddInstanceGroupsCommand.ts +++ b/clients/client-emr/commands/AddInstanceGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddInstanceGroupsCommandInput = AddInstanceGroupsInput; @@ -67,14 +67,14 @@ export class AddInstanceGroupsCommand extends $Command< private serialize( input: AddInstanceGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddInstanceGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddInstanceGroupsCommand(output, context); } diff --git a/clients/client-emr/commands/AddJobFlowStepsCommand.ts b/clients/client-emr/commands/AddJobFlowStepsCommand.ts index 8fc6df3c4c87..b9338a7c5db6 100644 --- a/clients/client-emr/commands/AddJobFlowStepsCommand.ts +++ b/clients/client-emr/commands/AddJobFlowStepsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddJobFlowStepsCommandInput = AddJobFlowStepsInput; @@ -64,14 +64,14 @@ export class AddJobFlowStepsCommand extends $Command< private serialize( input: AddJobFlowStepsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddJobFlowStepsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddJobFlowStepsCommand(output, context); } diff --git a/clients/client-emr/commands/AddTagsCommand.ts b/clients/client-emr/commands/AddTagsCommand.ts index 176a6f9f1270..1e9b972aca78 100644 --- a/clients/client-emr/commands/AddTagsCommand.ts +++ b/clients/client-emr/commands/AddTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsCommandInput = AddTagsInput; @@ -64,14 +64,14 @@ export class AddTagsCommand extends $Command< private serialize( input: AddTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsCommand(output, context); } diff --git a/clients/client-emr/commands/CancelStepsCommand.ts b/clients/client-emr/commands/CancelStepsCommand.ts index e28952977c8a..447829e1b622 100644 --- a/clients/client-emr/commands/CancelStepsCommand.ts +++ b/clients/client-emr/commands/CancelStepsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelStepsCommandInput = CancelStepsInput; @@ -64,14 +64,14 @@ export class CancelStepsCommand extends $Command< private serialize( input: CancelStepsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelStepsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelStepsCommand(output, context); } diff --git a/clients/client-emr/commands/CreateSecurityConfigurationCommand.ts b/clients/client-emr/commands/CreateSecurityConfigurationCommand.ts index e769660f2ad2..d36ffa849b70 100644 --- a/clients/client-emr/commands/CreateSecurityConfigurationCommand.ts +++ b/clients/client-emr/commands/CreateSecurityConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSecurityConfigurationCommandInput = CreateSecurityConfigurationInput; @@ -70,7 +70,7 @@ export class CreateSecurityConfigurationCommand extends $Command< private serialize( input: CreateSecurityConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSecurityConfigurationCommand( input, @@ -80,7 +80,7 @@ export class CreateSecurityConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSecurityConfigurationCommand( output, diff --git a/clients/client-emr/commands/DeleteSecurityConfigurationCommand.ts b/clients/client-emr/commands/DeleteSecurityConfigurationCommand.ts index cae582417916..f3190a21114b 100644 --- a/clients/client-emr/commands/DeleteSecurityConfigurationCommand.ts +++ b/clients/client-emr/commands/DeleteSecurityConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSecurityConfigurationCommandInput = DeleteSecurityConfigurationInput; @@ -70,7 +70,7 @@ export class DeleteSecurityConfigurationCommand extends $Command< private serialize( input: DeleteSecurityConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSecurityConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteSecurityConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSecurityConfigurationCommand( output, diff --git a/clients/client-emr/commands/DescribeClusterCommand.ts b/clients/client-emr/commands/DescribeClusterCommand.ts index 43a60c52f0ec..e79fbfbe61ae 100644 --- a/clients/client-emr/commands/DescribeClusterCommand.ts +++ b/clients/client-emr/commands/DescribeClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterCommandInput = DescribeClusterInput; @@ -64,14 +64,14 @@ export class DescribeClusterCommand extends $Command< private serialize( input: DescribeClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeClusterCommand(output, context); } diff --git a/clients/client-emr/commands/DescribeJobFlowsCommand.ts b/clients/client-emr/commands/DescribeJobFlowsCommand.ts index 42d94f6ba0e1..69c235d3ee8b 100644 --- a/clients/client-emr/commands/DescribeJobFlowsCommand.ts +++ b/clients/client-emr/commands/DescribeJobFlowsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeJobFlowsCommandInput = DescribeJobFlowsInput; @@ -64,14 +64,14 @@ export class DescribeJobFlowsCommand extends $Command< private serialize( input: DescribeJobFlowsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeJobFlowsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeJobFlowsCommand(output, context); } diff --git a/clients/client-emr/commands/DescribeSecurityConfigurationCommand.ts b/clients/client-emr/commands/DescribeSecurityConfigurationCommand.ts index 0dfcf86c2d43..dd6747313ee8 100644 --- a/clients/client-emr/commands/DescribeSecurityConfigurationCommand.ts +++ b/clients/client-emr/commands/DescribeSecurityConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSecurityConfigurationCommandInput = DescribeSecurityConfigurationInput; @@ -70,7 +70,7 @@ export class DescribeSecurityConfigurationCommand extends $Command< private serialize( input: DescribeSecurityConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSecurityConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DescribeSecurityConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSecurityConfigurationCommand( output, diff --git a/clients/client-emr/commands/DescribeStepCommand.ts b/clients/client-emr/commands/DescribeStepCommand.ts index bd762f7a40ba..62a34f0b328a 100644 --- a/clients/client-emr/commands/DescribeStepCommand.ts +++ b/clients/client-emr/commands/DescribeStepCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStepCommandInput = DescribeStepInput; @@ -64,14 +64,14 @@ export class DescribeStepCommand extends $Command< private serialize( input: DescribeStepCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeStepCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeStepCommand(output, context); } diff --git a/clients/client-emr/commands/GetBlockPublicAccessConfigurationCommand.ts b/clients/client-emr/commands/GetBlockPublicAccessConfigurationCommand.ts index 1e597f409c97..661a53ac834b 100644 --- a/clients/client-emr/commands/GetBlockPublicAccessConfigurationCommand.ts +++ b/clients/client-emr/commands/GetBlockPublicAccessConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBlockPublicAccessConfigurationCommandInput = GetBlockPublicAccessConfigurationInput; @@ -70,7 +70,7 @@ export class GetBlockPublicAccessConfigurationCommand extends $Command< private serialize( input: GetBlockPublicAccessConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetBlockPublicAccessConfigurationCommand( input, @@ -80,7 +80,7 @@ export class GetBlockPublicAccessConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetBlockPublicAccessConfigurationCommand( output, diff --git a/clients/client-emr/commands/ListBootstrapActionsCommand.ts b/clients/client-emr/commands/ListBootstrapActionsCommand.ts index 38e18aace230..744879e78a52 100644 --- a/clients/client-emr/commands/ListBootstrapActionsCommand.ts +++ b/clients/client-emr/commands/ListBootstrapActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBootstrapActionsCommandInput = ListBootstrapActionsInput; @@ -70,14 +70,14 @@ export class ListBootstrapActionsCommand extends $Command< private serialize( input: ListBootstrapActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListBootstrapActionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListBootstrapActionsCommand(output, context); } diff --git a/clients/client-emr/commands/ListClustersCommand.ts b/clients/client-emr/commands/ListClustersCommand.ts index 93c76afc7b72..6c9126c0d2ac 100644 --- a/clients/client-emr/commands/ListClustersCommand.ts +++ b/clients/client-emr/commands/ListClustersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListClustersCommandInput = ListClustersInput; @@ -64,14 +64,14 @@ export class ListClustersCommand extends $Command< private serialize( input: ListClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListClustersCommand(output, context); } diff --git a/clients/client-emr/commands/ListInstanceFleetsCommand.ts b/clients/client-emr/commands/ListInstanceFleetsCommand.ts index 9fd2ab5e97d8..1870eb0fe0e5 100644 --- a/clients/client-emr/commands/ListInstanceFleetsCommand.ts +++ b/clients/client-emr/commands/ListInstanceFleetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInstanceFleetsCommandInput = ListInstanceFleetsInput; @@ -67,14 +67,14 @@ export class ListInstanceFleetsCommand extends $Command< private serialize( input: ListInstanceFleetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListInstanceFleetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListInstanceFleetsCommand(output, context); } diff --git a/clients/client-emr/commands/ListInstanceGroupsCommand.ts b/clients/client-emr/commands/ListInstanceGroupsCommand.ts index c72e13d116a0..219a8e604b9f 100644 --- a/clients/client-emr/commands/ListInstanceGroupsCommand.ts +++ b/clients/client-emr/commands/ListInstanceGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInstanceGroupsCommandInput = ListInstanceGroupsInput; @@ -67,14 +67,14 @@ export class ListInstanceGroupsCommand extends $Command< private serialize( input: ListInstanceGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListInstanceGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListInstanceGroupsCommand(output, context); } diff --git a/clients/client-emr/commands/ListInstancesCommand.ts b/clients/client-emr/commands/ListInstancesCommand.ts index 4efe4504fc93..23026418ae5a 100644 --- a/clients/client-emr/commands/ListInstancesCommand.ts +++ b/clients/client-emr/commands/ListInstancesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInstancesCommandInput = ListInstancesInput; @@ -64,14 +64,14 @@ export class ListInstancesCommand extends $Command< private serialize( input: ListInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListInstancesCommand(output, context); } diff --git a/clients/client-emr/commands/ListSecurityConfigurationsCommand.ts b/clients/client-emr/commands/ListSecurityConfigurationsCommand.ts index cca1407a2524..83c84f1c29c7 100644 --- a/clients/client-emr/commands/ListSecurityConfigurationsCommand.ts +++ b/clients/client-emr/commands/ListSecurityConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSecurityConfigurationsCommandInput = ListSecurityConfigurationsInput; @@ -70,7 +70,7 @@ export class ListSecurityConfigurationsCommand extends $Command< private serialize( input: ListSecurityConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSecurityConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class ListSecurityConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSecurityConfigurationsCommand( output, diff --git a/clients/client-emr/commands/ListStepsCommand.ts b/clients/client-emr/commands/ListStepsCommand.ts index 92cb4b510f43..e1429853b857 100644 --- a/clients/client-emr/commands/ListStepsCommand.ts +++ b/clients/client-emr/commands/ListStepsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStepsCommandInput = ListStepsInput; @@ -64,14 +64,14 @@ export class ListStepsCommand extends $Command< private serialize( input: ListStepsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListStepsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListStepsCommand(output, context); } diff --git a/clients/client-emr/commands/ModifyClusterCommand.ts b/clients/client-emr/commands/ModifyClusterCommand.ts index 8dd2bb9862de..87dfd3f72ed0 100644 --- a/clients/client-emr/commands/ModifyClusterCommand.ts +++ b/clients/client-emr/commands/ModifyClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyClusterCommandInput = ModifyClusterInput; @@ -64,14 +64,14 @@ export class ModifyClusterCommand extends $Command< private serialize( input: ModifyClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyClusterCommand(output, context); } diff --git a/clients/client-emr/commands/ModifyInstanceFleetCommand.ts b/clients/client-emr/commands/ModifyInstanceFleetCommand.ts index edcd533124fd..013141bfb1c4 100644 --- a/clients/client-emr/commands/ModifyInstanceFleetCommand.ts +++ b/clients/client-emr/commands/ModifyInstanceFleetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyInstanceFleetCommandInput = ModifyInstanceFleetInput; @@ -68,14 +68,14 @@ export class ModifyInstanceFleetCommand extends $Command< private serialize( input: ModifyInstanceFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyInstanceFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyInstanceFleetCommand(output, context); } diff --git a/clients/client-emr/commands/ModifyInstanceGroupsCommand.ts b/clients/client-emr/commands/ModifyInstanceGroupsCommand.ts index 6bcb8b0c3808..2a4d79edc15d 100644 --- a/clients/client-emr/commands/ModifyInstanceGroupsCommand.ts +++ b/clients/client-emr/commands/ModifyInstanceGroupsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyInstanceGroupsCommandInput = ModifyInstanceGroupsInput; @@ -68,14 +68,14 @@ export class ModifyInstanceGroupsCommand extends $Command< private serialize( input: ModifyInstanceGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyInstanceGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyInstanceGroupsCommand(output, context); } diff --git a/clients/client-emr/commands/PutAutoScalingPolicyCommand.ts b/clients/client-emr/commands/PutAutoScalingPolicyCommand.ts index 9b97c7559a81..2678dbaad779 100644 --- a/clients/client-emr/commands/PutAutoScalingPolicyCommand.ts +++ b/clients/client-emr/commands/PutAutoScalingPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAutoScalingPolicyCommandInput = PutAutoScalingPolicyInput; @@ -70,14 +70,14 @@ export class PutAutoScalingPolicyCommand extends $Command< private serialize( input: PutAutoScalingPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutAutoScalingPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutAutoScalingPolicyCommand(output, context); } diff --git a/clients/client-emr/commands/PutBlockPublicAccessConfigurationCommand.ts b/clients/client-emr/commands/PutBlockPublicAccessConfigurationCommand.ts index 6ee7a93e5350..7ef6681b026d 100644 --- a/clients/client-emr/commands/PutBlockPublicAccessConfigurationCommand.ts +++ b/clients/client-emr/commands/PutBlockPublicAccessConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBlockPublicAccessConfigurationCommandInput = PutBlockPublicAccessConfigurationInput; @@ -70,7 +70,7 @@ export class PutBlockPublicAccessConfigurationCommand extends $Command< private serialize( input: PutBlockPublicAccessConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutBlockPublicAccessConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutBlockPublicAccessConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutBlockPublicAccessConfigurationCommand( output, diff --git a/clients/client-emr/commands/RemoveAutoScalingPolicyCommand.ts b/clients/client-emr/commands/RemoveAutoScalingPolicyCommand.ts index 7f2574a054d7..bf59d5adbacc 100644 --- a/clients/client-emr/commands/RemoveAutoScalingPolicyCommand.ts +++ b/clients/client-emr/commands/RemoveAutoScalingPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveAutoScalingPolicyCommandInput = RemoveAutoScalingPolicyInput; @@ -70,14 +70,14 @@ export class RemoveAutoScalingPolicyCommand extends $Command< private serialize( input: RemoveAutoScalingPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveAutoScalingPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveAutoScalingPolicyCommand( output, diff --git a/clients/client-emr/commands/RemoveTagsCommand.ts b/clients/client-emr/commands/RemoveTagsCommand.ts index 733cdddb6547..67be4b6771ba 100644 --- a/clients/client-emr/commands/RemoveTagsCommand.ts +++ b/clients/client-emr/commands/RemoveTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsCommandInput = RemoveTagsInput; @@ -64,14 +64,14 @@ export class RemoveTagsCommand extends $Command< private serialize( input: RemoveTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTagsCommand(output, context); } diff --git a/clients/client-emr/commands/RunJobFlowCommand.ts b/clients/client-emr/commands/RunJobFlowCommand.ts index dbaa20fe463a..674c7fcfe09d 100644 --- a/clients/client-emr/commands/RunJobFlowCommand.ts +++ b/clients/client-emr/commands/RunJobFlowCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RunJobFlowCommandInput = RunJobFlowInput; @@ -64,14 +64,14 @@ export class RunJobFlowCommand extends $Command< private serialize( input: RunJobFlowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RunJobFlowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RunJobFlowCommand(output, context); } diff --git a/clients/client-emr/commands/SetTerminationProtectionCommand.ts b/clients/client-emr/commands/SetTerminationProtectionCommand.ts index aa7ea8d08fce..3197980a3564 100644 --- a/clients/client-emr/commands/SetTerminationProtectionCommand.ts +++ b/clients/client-emr/commands/SetTerminationProtectionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetTerminationProtectionCommandInput = SetTerminationProtectionInput; @@ -68,14 +68,14 @@ export class SetTerminationProtectionCommand extends $Command< private serialize( input: SetTerminationProtectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetTerminationProtectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetTerminationProtectionCommand( output, diff --git a/clients/client-emr/commands/SetVisibleToAllUsersCommand.ts b/clients/client-emr/commands/SetVisibleToAllUsersCommand.ts index b56bb6fe6f65..fa987f4d1afc 100644 --- a/clients/client-emr/commands/SetVisibleToAllUsersCommand.ts +++ b/clients/client-emr/commands/SetVisibleToAllUsersCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetVisibleToAllUsersCommandInput = SetVisibleToAllUsersInput; @@ -68,14 +68,14 @@ export class SetVisibleToAllUsersCommand extends $Command< private serialize( input: SetVisibleToAllUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetVisibleToAllUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetVisibleToAllUsersCommand(output, context); } diff --git a/clients/client-emr/commands/TerminateJobFlowsCommand.ts b/clients/client-emr/commands/TerminateJobFlowsCommand.ts index 3ea43afb57a1..e9932d6f3df4 100644 --- a/clients/client-emr/commands/TerminateJobFlowsCommand.ts +++ b/clients/client-emr/commands/TerminateJobFlowsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TerminateJobFlowsCommandInput = TerminateJobFlowsInput; @@ -65,14 +65,14 @@ export class TerminateJobFlowsCommand extends $Command< private serialize( input: TerminateJobFlowsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TerminateJobFlowsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TerminateJobFlowsCommand(output, context); } diff --git a/clients/client-emr/protocols/Aws_json1_1.ts b/clients/client-emr/protocols/Aws_json1_1.ts index 43fc2d9166d8..a7409a1e4b5b 100644 --- a/clients/client-emr/protocols/Aws_json1_1.ts +++ b/clients/client-emr/protocols/Aws_json1_1.ts @@ -7382,6 +7382,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-eventbridge/commands/ActivateEventSourceCommand.ts b/clients/client-eventbridge/commands/ActivateEventSourceCommand.ts index 0ed29efa8e33..e2ba886589d1 100644 --- a/clients/client-eventbridge/commands/ActivateEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/ActivateEventSourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ActivateEventSourceCommandInput = ActivateEventSourceRequest; @@ -68,14 +68,14 @@ export class ActivateEventSourceCommand extends $Command< private serialize( input: ActivateEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ActivateEventSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ActivateEventSourceCommand(output, context); } diff --git a/clients/client-eventbridge/commands/CreateEventBusCommand.ts b/clients/client-eventbridge/commands/CreateEventBusCommand.ts index f53a308dfb7f..2e364fa3d6e9 100644 --- a/clients/client-eventbridge/commands/CreateEventBusCommand.ts +++ b/clients/client-eventbridge/commands/CreateEventBusCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEventBusCommandInput = CreateEventBusRequest; @@ -64,14 +64,14 @@ export class CreateEventBusCommand extends $Command< private serialize( input: CreateEventBusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEventBusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEventBusCommand(output, context); } diff --git a/clients/client-eventbridge/commands/CreatePartnerEventSourceCommand.ts b/clients/client-eventbridge/commands/CreatePartnerEventSourceCommand.ts index c7bf2343c2fa..a303e4f9730b 100644 --- a/clients/client-eventbridge/commands/CreatePartnerEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/CreatePartnerEventSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePartnerEventSourceCommandInput = CreatePartnerEventSourceRequest; @@ -70,14 +70,14 @@ export class CreatePartnerEventSourceCommand extends $Command< private serialize( input: CreatePartnerEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePartnerEventSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePartnerEventSourceCommand( output, diff --git a/clients/client-eventbridge/commands/DeactivateEventSourceCommand.ts b/clients/client-eventbridge/commands/DeactivateEventSourceCommand.ts index bfa1d49e99b7..074726350cd5 100644 --- a/clients/client-eventbridge/commands/DeactivateEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/DeactivateEventSourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeactivateEventSourceCommandInput = DeactivateEventSourceRequest; @@ -68,14 +68,14 @@ export class DeactivateEventSourceCommand extends $Command< private serialize( input: DeactivateEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeactivateEventSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeactivateEventSourceCommand(output, context); } diff --git a/clients/client-eventbridge/commands/DeleteEventBusCommand.ts b/clients/client-eventbridge/commands/DeleteEventBusCommand.ts index 511077dd9ce7..553b32a0a983 100644 --- a/clients/client-eventbridge/commands/DeleteEventBusCommand.ts +++ b/clients/client-eventbridge/commands/DeleteEventBusCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEventBusCommandInput = DeleteEventBusRequest; @@ -65,14 +65,14 @@ export class DeleteEventBusCommand extends $Command< private serialize( input: DeleteEventBusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEventBusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEventBusCommand(output, context); } diff --git a/clients/client-eventbridge/commands/DeletePartnerEventSourceCommand.ts b/clients/client-eventbridge/commands/DeletePartnerEventSourceCommand.ts index 312d8c543854..f1fd6d781d6b 100644 --- a/clients/client-eventbridge/commands/DeletePartnerEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/DeletePartnerEventSourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePartnerEventSourceCommandInput = DeletePartnerEventSourceRequest; @@ -68,14 +68,14 @@ export class DeletePartnerEventSourceCommand extends $Command< private serialize( input: DeletePartnerEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePartnerEventSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePartnerEventSourceCommand( output, diff --git a/clients/client-eventbridge/commands/DeleteRuleCommand.ts b/clients/client-eventbridge/commands/DeleteRuleCommand.ts index 83cf53b84f06..19f2405d42e7 100644 --- a/clients/client-eventbridge/commands/DeleteRuleCommand.ts +++ b/clients/client-eventbridge/commands/DeleteRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRuleCommandInput = DeleteRuleRequest; @@ -65,14 +65,14 @@ export class DeleteRuleCommand extends $Command< private serialize( input: DeleteRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRuleCommand(output, context); } diff --git a/clients/client-eventbridge/commands/DescribeEventBusCommand.ts b/clients/client-eventbridge/commands/DescribeEventBusCommand.ts index aacc215dfe1e..459f5e3f157d 100644 --- a/clients/client-eventbridge/commands/DescribeEventBusCommand.ts +++ b/clients/client-eventbridge/commands/DescribeEventBusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventBusCommandInput = DescribeEventBusRequest; @@ -67,14 +67,14 @@ export class DescribeEventBusCommand extends $Command< private serialize( input: DescribeEventBusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventBusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventBusCommand(output, context); } diff --git a/clients/client-eventbridge/commands/DescribeEventSourceCommand.ts b/clients/client-eventbridge/commands/DescribeEventSourceCommand.ts index 0fd8553dffa2..7be6212f1f4b 100644 --- a/clients/client-eventbridge/commands/DescribeEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/DescribeEventSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventSourceCommandInput = DescribeEventSourceRequest; @@ -70,14 +70,14 @@ export class DescribeEventSourceCommand extends $Command< private serialize( input: DescribeEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventSourceCommand(output, context); } diff --git a/clients/client-eventbridge/commands/DescribePartnerEventSourceCommand.ts b/clients/client-eventbridge/commands/DescribePartnerEventSourceCommand.ts index 05dcf67cc549..122d7e791a45 100644 --- a/clients/client-eventbridge/commands/DescribePartnerEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/DescribePartnerEventSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePartnerEventSourceCommandInput = DescribePartnerEventSourceRequest; @@ -70,7 +70,7 @@ export class DescribePartnerEventSourceCommand extends $Command< private serialize( input: DescribePartnerEventSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePartnerEventSourceCommand( input, @@ -80,7 +80,7 @@ export class DescribePartnerEventSourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePartnerEventSourceCommand( output, diff --git a/clients/client-eventbridge/commands/DescribeRuleCommand.ts b/clients/client-eventbridge/commands/DescribeRuleCommand.ts index 783c5bd6fe53..2cf5da8ed7a9 100644 --- a/clients/client-eventbridge/commands/DescribeRuleCommand.ts +++ b/clients/client-eventbridge/commands/DescribeRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRuleCommandInput = DescribeRuleRequest; @@ -64,14 +64,14 @@ export class DescribeRuleCommand extends $Command< private serialize( input: DescribeRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRuleCommand(output, context); } diff --git a/clients/client-eventbridge/commands/DisableRuleCommand.ts b/clients/client-eventbridge/commands/DisableRuleCommand.ts index b4b4c75100e2..559f28ddf0da 100644 --- a/clients/client-eventbridge/commands/DisableRuleCommand.ts +++ b/clients/client-eventbridge/commands/DisableRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableRuleCommandInput = DisableRuleRequest; @@ -65,14 +65,14 @@ export class DisableRuleCommand extends $Command< private serialize( input: DisableRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableRuleCommand(output, context); } diff --git a/clients/client-eventbridge/commands/EnableRuleCommand.ts b/clients/client-eventbridge/commands/EnableRuleCommand.ts index 1f67ad6376e6..99026021c24c 100644 --- a/clients/client-eventbridge/commands/EnableRuleCommand.ts +++ b/clients/client-eventbridge/commands/EnableRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableRuleCommandInput = EnableRuleRequest; @@ -65,14 +65,14 @@ export class EnableRuleCommand extends $Command< private serialize( input: EnableRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableRuleCommand(output, context); } diff --git a/clients/client-eventbridge/commands/ListEventBusesCommand.ts b/clients/client-eventbridge/commands/ListEventBusesCommand.ts index ee0d2caf31a1..ab356e9c16dc 100644 --- a/clients/client-eventbridge/commands/ListEventBusesCommand.ts +++ b/clients/client-eventbridge/commands/ListEventBusesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEventBusesCommandInput = ListEventBusesRequest; @@ -64,14 +64,14 @@ export class ListEventBusesCommand extends $Command< private serialize( input: ListEventBusesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEventBusesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEventBusesCommand(output, context); } diff --git a/clients/client-eventbridge/commands/ListEventSourcesCommand.ts b/clients/client-eventbridge/commands/ListEventSourcesCommand.ts index f4f64787ceb9..a57c99ad1b90 100644 --- a/clients/client-eventbridge/commands/ListEventSourcesCommand.ts +++ b/clients/client-eventbridge/commands/ListEventSourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEventSourcesCommandInput = ListEventSourcesRequest; @@ -67,14 +67,14 @@ export class ListEventSourcesCommand extends $Command< private serialize( input: ListEventSourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEventSourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEventSourcesCommand(output, context); } diff --git a/clients/client-eventbridge/commands/ListPartnerEventSourceAccountsCommand.ts b/clients/client-eventbridge/commands/ListPartnerEventSourceAccountsCommand.ts index e308b3fef75e..1529374e78a3 100644 --- a/clients/client-eventbridge/commands/ListPartnerEventSourceAccountsCommand.ts +++ b/clients/client-eventbridge/commands/ListPartnerEventSourceAccountsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPartnerEventSourceAccountsCommandInput = ListPartnerEventSourceAccountsRequest; @@ -70,7 +70,7 @@ export class ListPartnerEventSourceAccountsCommand extends $Command< private serialize( input: ListPartnerEventSourceAccountsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPartnerEventSourceAccountsCommand( input, @@ -80,7 +80,7 @@ export class ListPartnerEventSourceAccountsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPartnerEventSourceAccountsCommand( output, diff --git a/clients/client-eventbridge/commands/ListPartnerEventSourcesCommand.ts b/clients/client-eventbridge/commands/ListPartnerEventSourcesCommand.ts index 8a86db25298e..b74c3b10bffb 100644 --- a/clients/client-eventbridge/commands/ListPartnerEventSourcesCommand.ts +++ b/clients/client-eventbridge/commands/ListPartnerEventSourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPartnerEventSourcesCommandInput = ListPartnerEventSourcesRequest; @@ -70,14 +70,14 @@ export class ListPartnerEventSourcesCommand extends $Command< private serialize( input: ListPartnerEventSourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPartnerEventSourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPartnerEventSourcesCommand( output, diff --git a/clients/client-eventbridge/commands/ListRuleNamesByTargetCommand.ts b/clients/client-eventbridge/commands/ListRuleNamesByTargetCommand.ts index 0d370c1a87cf..3ca21b74eb72 100644 --- a/clients/client-eventbridge/commands/ListRuleNamesByTargetCommand.ts +++ b/clients/client-eventbridge/commands/ListRuleNamesByTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRuleNamesByTargetCommandInput = ListRuleNamesByTargetRequest; @@ -70,14 +70,14 @@ export class ListRuleNamesByTargetCommand extends $Command< private serialize( input: ListRuleNamesByTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRuleNamesByTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRuleNamesByTargetCommand(output, context); } diff --git a/clients/client-eventbridge/commands/ListRulesCommand.ts b/clients/client-eventbridge/commands/ListRulesCommand.ts index ea9b83fac8af..0c93601acffb 100644 --- a/clients/client-eventbridge/commands/ListRulesCommand.ts +++ b/clients/client-eventbridge/commands/ListRulesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRulesCommandInput = ListRulesRequest; @@ -64,14 +64,14 @@ export class ListRulesCommand extends $Command< private serialize( input: ListRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRulesCommand(output, context); } diff --git a/clients/client-eventbridge/commands/ListTagsForResourceCommand.ts b/clients/client-eventbridge/commands/ListTagsForResourceCommand.ts index 7ca3d75990c8..ac5c9ffba94b 100644 --- a/clients/client-eventbridge/commands/ListTagsForResourceCommand.ts +++ b/clients/client-eventbridge/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-eventbridge/commands/ListTargetsByRuleCommand.ts b/clients/client-eventbridge/commands/ListTargetsByRuleCommand.ts index 0e5d904a4381..30a34dc3fad9 100644 --- a/clients/client-eventbridge/commands/ListTargetsByRuleCommand.ts +++ b/clients/client-eventbridge/commands/ListTargetsByRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTargetsByRuleCommandInput = ListTargetsByRuleRequest; @@ -67,14 +67,14 @@ export class ListTargetsByRuleCommand extends $Command< private serialize( input: ListTargetsByRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTargetsByRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTargetsByRuleCommand(output, context); } diff --git a/clients/client-eventbridge/commands/PutEventsCommand.ts b/clients/client-eventbridge/commands/PutEventsCommand.ts index 8b097b9a3655..4aa2afb9cb0c 100644 --- a/clients/client-eventbridge/commands/PutEventsCommand.ts +++ b/clients/client-eventbridge/commands/PutEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEventsCommandInput = PutEventsRequest; @@ -64,14 +64,14 @@ export class PutEventsCommand extends $Command< private serialize( input: PutEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutEventsCommand(output, context); } diff --git a/clients/client-eventbridge/commands/PutPartnerEventsCommand.ts b/clients/client-eventbridge/commands/PutPartnerEventsCommand.ts index 6f962fbdde9f..31ea3cdc22d1 100644 --- a/clients/client-eventbridge/commands/PutPartnerEventsCommand.ts +++ b/clients/client-eventbridge/commands/PutPartnerEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutPartnerEventsCommandInput = PutPartnerEventsRequest; @@ -67,14 +67,14 @@ export class PutPartnerEventsCommand extends $Command< private serialize( input: PutPartnerEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutPartnerEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutPartnerEventsCommand(output, context); } diff --git a/clients/client-eventbridge/commands/PutPermissionCommand.ts b/clients/client-eventbridge/commands/PutPermissionCommand.ts index eb2ed1bdeb65..21159b9ba647 100644 --- a/clients/client-eventbridge/commands/PutPermissionCommand.ts +++ b/clients/client-eventbridge/commands/PutPermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutPermissionCommandInput = PutPermissionRequest; @@ -65,14 +65,14 @@ export class PutPermissionCommand extends $Command< private serialize( input: PutPermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutPermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutPermissionCommand(output, context); } diff --git a/clients/client-eventbridge/commands/PutRuleCommand.ts b/clients/client-eventbridge/commands/PutRuleCommand.ts index 3a64db3f8673..309f964dd07d 100644 --- a/clients/client-eventbridge/commands/PutRuleCommand.ts +++ b/clients/client-eventbridge/commands/PutRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRuleCommandInput = PutRuleRequest; @@ -64,14 +64,14 @@ export class PutRuleCommand extends $Command< private serialize( input: PutRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRuleCommand(output, context); } diff --git a/clients/client-eventbridge/commands/PutTargetsCommand.ts b/clients/client-eventbridge/commands/PutTargetsCommand.ts index 61ca1e9f5d34..1d64c31aed3e 100644 --- a/clients/client-eventbridge/commands/PutTargetsCommand.ts +++ b/clients/client-eventbridge/commands/PutTargetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutTargetsCommandInput = PutTargetsRequest; @@ -64,14 +64,14 @@ export class PutTargetsCommand extends $Command< private serialize( input: PutTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutTargetsCommand(output, context); } diff --git a/clients/client-eventbridge/commands/RemovePermissionCommand.ts b/clients/client-eventbridge/commands/RemovePermissionCommand.ts index 3c17980d7a59..8c7f073332d3 100644 --- a/clients/client-eventbridge/commands/RemovePermissionCommand.ts +++ b/clients/client-eventbridge/commands/RemovePermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemovePermissionCommandInput = RemovePermissionRequest; @@ -65,14 +65,14 @@ export class RemovePermissionCommand extends $Command< private serialize( input: RemovePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemovePermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemovePermissionCommand(output, context); } diff --git a/clients/client-eventbridge/commands/RemoveTargetsCommand.ts b/clients/client-eventbridge/commands/RemoveTargetsCommand.ts index d83d62babbcf..8034f9d5f39b 100644 --- a/clients/client-eventbridge/commands/RemoveTargetsCommand.ts +++ b/clients/client-eventbridge/commands/RemoveTargetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTargetsCommandInput = RemoveTargetsRequest; @@ -64,14 +64,14 @@ export class RemoveTargetsCommand extends $Command< private serialize( input: RemoveTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTargetsCommand(output, context); } diff --git a/clients/client-eventbridge/commands/TagResourceCommand.ts b/clients/client-eventbridge/commands/TagResourceCommand.ts index ed1b34aad0e2..c0bb436041a0 100644 --- a/clients/client-eventbridge/commands/TagResourceCommand.ts +++ b/clients/client-eventbridge/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-eventbridge/commands/TestEventPatternCommand.ts b/clients/client-eventbridge/commands/TestEventPatternCommand.ts index f648856eca62..f419d2729f92 100644 --- a/clients/client-eventbridge/commands/TestEventPatternCommand.ts +++ b/clients/client-eventbridge/commands/TestEventPatternCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestEventPatternCommandInput = TestEventPatternRequest; @@ -67,14 +67,14 @@ export class TestEventPatternCommand extends $Command< private serialize( input: TestEventPatternCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TestEventPatternCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TestEventPatternCommand(output, context); } diff --git a/clients/client-eventbridge/commands/UntagResourceCommand.ts b/clients/client-eventbridge/commands/UntagResourceCommand.ts index a6acf9f20c29..4242d102b693 100644 --- a/clients/client-eventbridge/commands/UntagResourceCommand.ts +++ b/clients/client-eventbridge/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-eventbridge/protocols/Aws_json1_1.ts b/clients/client-eventbridge/protocols/Aws_json1_1.ts index a9e97bf6df3e..6ee66ec73976 100644 --- a/clients/client-eventbridge/protocols/Aws_json1_1.ts +++ b/clients/client-eventbridge/protocols/Aws_json1_1.ts @@ -5159,6 +5159,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-firehose/commands/CreateDeliveryStreamCommand.ts b/clients/client-firehose/commands/CreateDeliveryStreamCommand.ts index 4adcd1de93ba..8fb94f7e205b 100644 --- a/clients/client-firehose/commands/CreateDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/CreateDeliveryStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeliveryStreamCommandInput = CreateDeliveryStreamInput; @@ -70,14 +70,14 @@ export class CreateDeliveryStreamCommand extends $Command< private serialize( input: CreateDeliveryStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDeliveryStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDeliveryStreamCommand(output, context); } diff --git a/clients/client-firehose/commands/DeleteDeliveryStreamCommand.ts b/clients/client-firehose/commands/DeleteDeliveryStreamCommand.ts index a36df438b533..7e10b063059a 100644 --- a/clients/client-firehose/commands/DeleteDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/DeleteDeliveryStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDeliveryStreamCommandInput = DeleteDeliveryStreamInput; @@ -70,14 +70,14 @@ export class DeleteDeliveryStreamCommand extends $Command< private serialize( input: DeleteDeliveryStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDeliveryStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDeliveryStreamCommand(output, context); } diff --git a/clients/client-firehose/commands/DescribeDeliveryStreamCommand.ts b/clients/client-firehose/commands/DescribeDeliveryStreamCommand.ts index 73a23a3d90a4..0299d929d286 100644 --- a/clients/client-firehose/commands/DescribeDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/DescribeDeliveryStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDeliveryStreamCommandInput = DescribeDeliveryStreamInput; @@ -70,14 +70,14 @@ export class DescribeDeliveryStreamCommand extends $Command< private serialize( input: DescribeDeliveryStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDeliveryStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDeliveryStreamCommand(output, context); } diff --git a/clients/client-firehose/commands/ListDeliveryStreamsCommand.ts b/clients/client-firehose/commands/ListDeliveryStreamsCommand.ts index ca87b0660f6c..726d936be0d3 100644 --- a/clients/client-firehose/commands/ListDeliveryStreamsCommand.ts +++ b/clients/client-firehose/commands/ListDeliveryStreamsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeliveryStreamsCommandInput = ListDeliveryStreamsInput; @@ -70,14 +70,14 @@ export class ListDeliveryStreamsCommand extends $Command< private serialize( input: ListDeliveryStreamsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDeliveryStreamsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDeliveryStreamsCommand(output, context); } diff --git a/clients/client-firehose/commands/ListTagsForDeliveryStreamCommand.ts b/clients/client-firehose/commands/ListTagsForDeliveryStreamCommand.ts index 5ee0ccc254ab..312d7f342103 100644 --- a/clients/client-firehose/commands/ListTagsForDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/ListTagsForDeliveryStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForDeliveryStreamCommandInput = ListTagsForDeliveryStreamInput; @@ -70,14 +70,14 @@ export class ListTagsForDeliveryStreamCommand extends $Command< private serialize( input: ListTagsForDeliveryStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForDeliveryStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForDeliveryStreamCommand( output, diff --git a/clients/client-firehose/commands/PutRecordBatchCommand.ts b/clients/client-firehose/commands/PutRecordBatchCommand.ts index 34afa895b9d5..f014c7113d1c 100644 --- a/clients/client-firehose/commands/PutRecordBatchCommand.ts +++ b/clients/client-firehose/commands/PutRecordBatchCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRecordBatchCommandInput = PutRecordBatchInput; @@ -64,14 +64,14 @@ export class PutRecordBatchCommand extends $Command< private serialize( input: PutRecordBatchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRecordBatchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRecordBatchCommand(output, context); } diff --git a/clients/client-firehose/commands/PutRecordCommand.ts b/clients/client-firehose/commands/PutRecordCommand.ts index 3ab3795d56da..a3dddb3d7f73 100644 --- a/clients/client-firehose/commands/PutRecordCommand.ts +++ b/clients/client-firehose/commands/PutRecordCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRecordCommandInput = PutRecordInput; @@ -64,14 +64,14 @@ export class PutRecordCommand extends $Command< private serialize( input: PutRecordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRecordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRecordCommand(output, context); } diff --git a/clients/client-firehose/commands/StartDeliveryStreamEncryptionCommand.ts b/clients/client-firehose/commands/StartDeliveryStreamEncryptionCommand.ts index 5d70f50439a2..fe8f1e14a841 100644 --- a/clients/client-firehose/commands/StartDeliveryStreamEncryptionCommand.ts +++ b/clients/client-firehose/commands/StartDeliveryStreamEncryptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDeliveryStreamEncryptionCommandInput = StartDeliveryStreamEncryptionInput; @@ -70,7 +70,7 @@ export class StartDeliveryStreamEncryptionCommand extends $Command< private serialize( input: StartDeliveryStreamEncryptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartDeliveryStreamEncryptionCommand( input, @@ -80,7 +80,7 @@ export class StartDeliveryStreamEncryptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartDeliveryStreamEncryptionCommand( output, diff --git a/clients/client-firehose/commands/StopDeliveryStreamEncryptionCommand.ts b/clients/client-firehose/commands/StopDeliveryStreamEncryptionCommand.ts index a97ae0cc19b3..1a562c7b05a3 100644 --- a/clients/client-firehose/commands/StopDeliveryStreamEncryptionCommand.ts +++ b/clients/client-firehose/commands/StopDeliveryStreamEncryptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopDeliveryStreamEncryptionCommandInput = StopDeliveryStreamEncryptionInput; @@ -70,7 +70,7 @@ export class StopDeliveryStreamEncryptionCommand extends $Command< private serialize( input: StopDeliveryStreamEncryptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopDeliveryStreamEncryptionCommand( input, @@ -80,7 +80,7 @@ export class StopDeliveryStreamEncryptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopDeliveryStreamEncryptionCommand( output, diff --git a/clients/client-firehose/commands/TagDeliveryStreamCommand.ts b/clients/client-firehose/commands/TagDeliveryStreamCommand.ts index d74e4f32c326..ce1df41d8ec3 100644 --- a/clients/client-firehose/commands/TagDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/TagDeliveryStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagDeliveryStreamCommandInput = TagDeliveryStreamInput; @@ -67,14 +67,14 @@ export class TagDeliveryStreamCommand extends $Command< private serialize( input: TagDeliveryStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagDeliveryStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagDeliveryStreamCommand(output, context); } diff --git a/clients/client-firehose/commands/UntagDeliveryStreamCommand.ts b/clients/client-firehose/commands/UntagDeliveryStreamCommand.ts index 137eb0e28b4a..5f969e6f5e0c 100644 --- a/clients/client-firehose/commands/UntagDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/UntagDeliveryStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagDeliveryStreamCommandInput = UntagDeliveryStreamInput; @@ -70,14 +70,14 @@ export class UntagDeliveryStreamCommand extends $Command< private serialize( input: UntagDeliveryStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagDeliveryStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagDeliveryStreamCommand(output, context); } diff --git a/clients/client-firehose/commands/UpdateDestinationCommand.ts b/clients/client-firehose/commands/UpdateDestinationCommand.ts index 9b5e80a7c4e9..9f7eef5fd906 100644 --- a/clients/client-firehose/commands/UpdateDestinationCommand.ts +++ b/clients/client-firehose/commands/UpdateDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDestinationCommandInput = UpdateDestinationInput; @@ -67,14 +67,14 @@ export class UpdateDestinationCommand extends $Command< private serialize( input: UpdateDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDestinationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDestinationCommand(output, context); } diff --git a/clients/client-firehose/protocols/Aws_json1_1.ts b/clients/client-firehose/protocols/Aws_json1_1.ts index 258f1d2c36d5..e95c09fb47c4 100644 --- a/clients/client-firehose/protocols/Aws_json1_1.ts +++ b/clients/client-firehose/protocols/Aws_json1_1.ts @@ -4374,6 +4374,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-fms/commands/AssociateAdminAccountCommand.ts b/clients/client-fms/commands/AssociateAdminAccountCommand.ts index 8d9b0db1795e..91052795f153 100644 --- a/clients/client-fms/commands/AssociateAdminAccountCommand.ts +++ b/clients/client-fms/commands/AssociateAdminAccountCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateAdminAccountCommandInput = AssociateAdminAccountRequest; @@ -68,14 +68,14 @@ export class AssociateAdminAccountCommand extends $Command< private serialize( input: AssociateAdminAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateAdminAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateAdminAccountCommand(output, context); } diff --git a/clients/client-fms/commands/DeleteNotificationChannelCommand.ts b/clients/client-fms/commands/DeleteNotificationChannelCommand.ts index f55342ba573f..05f44ae1470e 100644 --- a/clients/client-fms/commands/DeleteNotificationChannelCommand.ts +++ b/clients/client-fms/commands/DeleteNotificationChannelCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNotificationChannelCommandInput = DeleteNotificationChannelRequest; @@ -68,14 +68,14 @@ export class DeleteNotificationChannelCommand extends $Command< private serialize( input: DeleteNotificationChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteNotificationChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteNotificationChannelCommand( output, diff --git a/clients/client-fms/commands/DeletePolicyCommand.ts b/clients/client-fms/commands/DeletePolicyCommand.ts index c76bbfef31c3..ec9a7b55c129 100644 --- a/clients/client-fms/commands/DeletePolicyCommand.ts +++ b/clients/client-fms/commands/DeletePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePolicyCommandInput = DeletePolicyRequest; @@ -65,14 +65,14 @@ export class DeletePolicyCommand extends $Command< private serialize( input: DeletePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePolicyCommand(output, context); } diff --git a/clients/client-fms/commands/DisassociateAdminAccountCommand.ts b/clients/client-fms/commands/DisassociateAdminAccountCommand.ts index b51a5fd2b03a..cbc4be702031 100644 --- a/clients/client-fms/commands/DisassociateAdminAccountCommand.ts +++ b/clients/client-fms/commands/DisassociateAdminAccountCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateAdminAccountCommandInput = DisassociateAdminAccountRequest; @@ -68,14 +68,14 @@ export class DisassociateAdminAccountCommand extends $Command< private serialize( input: DisassociateAdminAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateAdminAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateAdminAccountCommand( output, diff --git a/clients/client-fms/commands/GetAdminAccountCommand.ts b/clients/client-fms/commands/GetAdminAccountCommand.ts index 7964dd680dd3..7e63e85dda85 100644 --- a/clients/client-fms/commands/GetAdminAccountCommand.ts +++ b/clients/client-fms/commands/GetAdminAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAdminAccountCommandInput = GetAdminAccountRequest; @@ -67,14 +67,14 @@ export class GetAdminAccountCommand extends $Command< private serialize( input: GetAdminAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAdminAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAdminAccountCommand(output, context); } diff --git a/clients/client-fms/commands/GetComplianceDetailCommand.ts b/clients/client-fms/commands/GetComplianceDetailCommand.ts index 1b68b6e6e31f..9315cbbd2704 100644 --- a/clients/client-fms/commands/GetComplianceDetailCommand.ts +++ b/clients/client-fms/commands/GetComplianceDetailCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetComplianceDetailCommandInput = GetComplianceDetailRequest; @@ -70,14 +70,14 @@ export class GetComplianceDetailCommand extends $Command< private serialize( input: GetComplianceDetailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetComplianceDetailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetComplianceDetailCommand(output, context); } diff --git a/clients/client-fms/commands/GetNotificationChannelCommand.ts b/clients/client-fms/commands/GetNotificationChannelCommand.ts index fb07b250a176..b708786913b4 100644 --- a/clients/client-fms/commands/GetNotificationChannelCommand.ts +++ b/clients/client-fms/commands/GetNotificationChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetNotificationChannelCommandInput = GetNotificationChannelRequest; @@ -70,14 +70,14 @@ export class GetNotificationChannelCommand extends $Command< private serialize( input: GetNotificationChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetNotificationChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetNotificationChannelCommand(output, context); } diff --git a/clients/client-fms/commands/GetPolicyCommand.ts b/clients/client-fms/commands/GetPolicyCommand.ts index e5337ff886bc..8988e6771b4d 100644 --- a/clients/client-fms/commands/GetPolicyCommand.ts +++ b/clients/client-fms/commands/GetPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPolicyCommandInput = GetPolicyRequest; @@ -64,14 +64,14 @@ export class GetPolicyCommand extends $Command< private serialize( input: GetPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPolicyCommand(output, context); } diff --git a/clients/client-fms/commands/GetProtectionStatusCommand.ts b/clients/client-fms/commands/GetProtectionStatusCommand.ts index 16e5d310eaf3..59edf1e70d58 100644 --- a/clients/client-fms/commands/GetProtectionStatusCommand.ts +++ b/clients/client-fms/commands/GetProtectionStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetProtectionStatusCommandInput = GetProtectionStatusRequest; @@ -70,14 +70,14 @@ export class GetProtectionStatusCommand extends $Command< private serialize( input: GetProtectionStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetProtectionStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetProtectionStatusCommand(output, context); } diff --git a/clients/client-fms/commands/ListComplianceStatusCommand.ts b/clients/client-fms/commands/ListComplianceStatusCommand.ts index 405e8adca2a9..342b9472aa7b 100644 --- a/clients/client-fms/commands/ListComplianceStatusCommand.ts +++ b/clients/client-fms/commands/ListComplianceStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListComplianceStatusCommandInput = ListComplianceStatusRequest; @@ -70,14 +70,14 @@ export class ListComplianceStatusCommand extends $Command< private serialize( input: ListComplianceStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListComplianceStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListComplianceStatusCommand(output, context); } diff --git a/clients/client-fms/commands/ListMemberAccountsCommand.ts b/clients/client-fms/commands/ListMemberAccountsCommand.ts index e1cf9e49a3a7..04d505bf7830 100644 --- a/clients/client-fms/commands/ListMemberAccountsCommand.ts +++ b/clients/client-fms/commands/ListMemberAccountsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMemberAccountsCommandInput = ListMemberAccountsRequest; @@ -67,14 +67,14 @@ export class ListMemberAccountsCommand extends $Command< private serialize( input: ListMemberAccountsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListMemberAccountsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListMemberAccountsCommand(output, context); } diff --git a/clients/client-fms/commands/ListPoliciesCommand.ts b/clients/client-fms/commands/ListPoliciesCommand.ts index 05a01c58dc7b..8d5e2249efd3 100644 --- a/clients/client-fms/commands/ListPoliciesCommand.ts +++ b/clients/client-fms/commands/ListPoliciesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPoliciesCommandInput = ListPoliciesRequest; @@ -64,14 +64,14 @@ export class ListPoliciesCommand extends $Command< private serialize( input: ListPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPoliciesCommand(output, context); } diff --git a/clients/client-fms/commands/ListTagsForResourceCommand.ts b/clients/client-fms/commands/ListTagsForResourceCommand.ts index 0a7a2cc61750..8d9749cf7af9 100644 --- a/clients/client-fms/commands/ListTagsForResourceCommand.ts +++ b/clients/client-fms/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-fms/commands/PutNotificationChannelCommand.ts b/clients/client-fms/commands/PutNotificationChannelCommand.ts index e9d3d7b79ab8..184dce023bef 100644 --- a/clients/client-fms/commands/PutNotificationChannelCommand.ts +++ b/clients/client-fms/commands/PutNotificationChannelCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutNotificationChannelCommandInput = PutNotificationChannelRequest; @@ -68,14 +68,14 @@ export class PutNotificationChannelCommand extends $Command< private serialize( input: PutNotificationChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutNotificationChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutNotificationChannelCommand(output, context); } diff --git a/clients/client-fms/commands/PutPolicyCommand.ts b/clients/client-fms/commands/PutPolicyCommand.ts index 1a3dbe8b78c1..1887ef0148f9 100644 --- a/clients/client-fms/commands/PutPolicyCommand.ts +++ b/clients/client-fms/commands/PutPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutPolicyCommandInput = PutPolicyRequest; @@ -64,14 +64,14 @@ export class PutPolicyCommand extends $Command< private serialize( input: PutPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutPolicyCommand(output, context); } diff --git a/clients/client-fms/commands/TagResourceCommand.ts b/clients/client-fms/commands/TagResourceCommand.ts index 9d5586bd2b93..be05227c5ba0 100644 --- a/clients/client-fms/commands/TagResourceCommand.ts +++ b/clients/client-fms/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-fms/commands/UntagResourceCommand.ts b/clients/client-fms/commands/UntagResourceCommand.ts index f0b7597de9d9..bf823c0fb88e 100644 --- a/clients/client-fms/commands/UntagResourceCommand.ts +++ b/clients/client-fms/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-fms/protocols/Aws_json1_1.ts b/clients/client-fms/protocols/Aws_json1_1.ts index 314c8dd4fdd7..3009eb531c0d 100644 --- a/clients/client-fms/protocols/Aws_json1_1.ts +++ b/clients/client-fms/protocols/Aws_json1_1.ts @@ -2826,6 +2826,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-forecast/commands/CreateDatasetCommand.ts b/clients/client-forecast/commands/CreateDatasetCommand.ts index 4b6b238ffbf1..b21b6e29cefd 100644 --- a/clients/client-forecast/commands/CreateDatasetCommand.ts +++ b/clients/client-forecast/commands/CreateDatasetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDatasetCommandInput = CreateDatasetRequest; @@ -64,14 +64,14 @@ export class CreateDatasetCommand extends $Command< private serialize( input: CreateDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDatasetCommand(output, context); } diff --git a/clients/client-forecast/commands/CreateDatasetGroupCommand.ts b/clients/client-forecast/commands/CreateDatasetGroupCommand.ts index 2cef82953440..37f78ff6447e 100644 --- a/clients/client-forecast/commands/CreateDatasetGroupCommand.ts +++ b/clients/client-forecast/commands/CreateDatasetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDatasetGroupCommandInput = CreateDatasetGroupRequest; @@ -67,14 +67,14 @@ export class CreateDatasetGroupCommand extends $Command< private serialize( input: CreateDatasetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDatasetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDatasetGroupCommand(output, context); } diff --git a/clients/client-forecast/commands/CreateDatasetImportJobCommand.ts b/clients/client-forecast/commands/CreateDatasetImportJobCommand.ts index e1beec2cd08e..9ddffba2cf84 100644 --- a/clients/client-forecast/commands/CreateDatasetImportJobCommand.ts +++ b/clients/client-forecast/commands/CreateDatasetImportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDatasetImportJobCommandInput = CreateDatasetImportJobRequest; @@ -70,14 +70,14 @@ export class CreateDatasetImportJobCommand extends $Command< private serialize( input: CreateDatasetImportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDatasetImportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDatasetImportJobCommand(output, context); } diff --git a/clients/client-forecast/commands/CreateForecastCommand.ts b/clients/client-forecast/commands/CreateForecastCommand.ts index fb6ce4d4e869..1d9ba78257d9 100644 --- a/clients/client-forecast/commands/CreateForecastCommand.ts +++ b/clients/client-forecast/commands/CreateForecastCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateForecastCommandInput = CreateForecastRequest; @@ -64,14 +64,14 @@ export class CreateForecastCommand extends $Command< private serialize( input: CreateForecastCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateForecastCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateForecastCommand(output, context); } diff --git a/clients/client-forecast/commands/CreateForecastExportJobCommand.ts b/clients/client-forecast/commands/CreateForecastExportJobCommand.ts index ad299a1ca07a..18c00f256124 100644 --- a/clients/client-forecast/commands/CreateForecastExportJobCommand.ts +++ b/clients/client-forecast/commands/CreateForecastExportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateForecastExportJobCommandInput = CreateForecastExportJobRequest; @@ -70,14 +70,14 @@ export class CreateForecastExportJobCommand extends $Command< private serialize( input: CreateForecastExportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateForecastExportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateForecastExportJobCommand( output, diff --git a/clients/client-forecast/commands/CreatePredictorCommand.ts b/clients/client-forecast/commands/CreatePredictorCommand.ts index 96f95357a11b..11eea0bcda17 100644 --- a/clients/client-forecast/commands/CreatePredictorCommand.ts +++ b/clients/client-forecast/commands/CreatePredictorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePredictorCommandInput = CreatePredictorRequest; @@ -67,14 +67,14 @@ export class CreatePredictorCommand extends $Command< private serialize( input: CreatePredictorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePredictorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePredictorCommand(output, context); } diff --git a/clients/client-forecast/commands/DeleteDatasetCommand.ts b/clients/client-forecast/commands/DeleteDatasetCommand.ts index 309c29300c77..60ac6b40c9be 100644 --- a/clients/client-forecast/commands/DeleteDatasetCommand.ts +++ b/clients/client-forecast/commands/DeleteDatasetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDatasetCommandInput = DeleteDatasetRequest; @@ -65,14 +65,14 @@ export class DeleteDatasetCommand extends $Command< private serialize( input: DeleteDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDatasetCommand(output, context); } diff --git a/clients/client-forecast/commands/DeleteDatasetGroupCommand.ts b/clients/client-forecast/commands/DeleteDatasetGroupCommand.ts index b5dc79c4f1be..68a7da094634 100644 --- a/clients/client-forecast/commands/DeleteDatasetGroupCommand.ts +++ b/clients/client-forecast/commands/DeleteDatasetGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDatasetGroupCommandInput = DeleteDatasetGroupRequest; @@ -65,14 +65,14 @@ export class DeleteDatasetGroupCommand extends $Command< private serialize( input: DeleteDatasetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDatasetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDatasetGroupCommand(output, context); } diff --git a/clients/client-forecast/commands/DeleteDatasetImportJobCommand.ts b/clients/client-forecast/commands/DeleteDatasetImportJobCommand.ts index e212617f2c12..7fb3b2bd875d 100644 --- a/clients/client-forecast/commands/DeleteDatasetImportJobCommand.ts +++ b/clients/client-forecast/commands/DeleteDatasetImportJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDatasetImportJobCommandInput = DeleteDatasetImportJobRequest; @@ -68,14 +68,14 @@ export class DeleteDatasetImportJobCommand extends $Command< private serialize( input: DeleteDatasetImportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDatasetImportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDatasetImportJobCommand(output, context); } diff --git a/clients/client-forecast/commands/DeleteForecastCommand.ts b/clients/client-forecast/commands/DeleteForecastCommand.ts index c059ab7b9449..ab0a1245e9b4 100644 --- a/clients/client-forecast/commands/DeleteForecastCommand.ts +++ b/clients/client-forecast/commands/DeleteForecastCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteForecastCommandInput = DeleteForecastRequest; @@ -65,14 +65,14 @@ export class DeleteForecastCommand extends $Command< private serialize( input: DeleteForecastCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteForecastCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteForecastCommand(output, context); } diff --git a/clients/client-forecast/commands/DeleteForecastExportJobCommand.ts b/clients/client-forecast/commands/DeleteForecastExportJobCommand.ts index c5efad670df0..7f3355bd9cd0 100644 --- a/clients/client-forecast/commands/DeleteForecastExportJobCommand.ts +++ b/clients/client-forecast/commands/DeleteForecastExportJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteForecastExportJobCommandInput = DeleteForecastExportJobRequest; @@ -68,14 +68,14 @@ export class DeleteForecastExportJobCommand extends $Command< private serialize( input: DeleteForecastExportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteForecastExportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteForecastExportJobCommand( output, diff --git a/clients/client-forecast/commands/DeletePredictorCommand.ts b/clients/client-forecast/commands/DeletePredictorCommand.ts index 3e5728379d1e..62884ab2dbc6 100644 --- a/clients/client-forecast/commands/DeletePredictorCommand.ts +++ b/clients/client-forecast/commands/DeletePredictorCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePredictorCommandInput = DeletePredictorRequest; @@ -65,14 +65,14 @@ export class DeletePredictorCommand extends $Command< private serialize( input: DeletePredictorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePredictorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePredictorCommand(output, context); } diff --git a/clients/client-forecast/commands/DescribeDatasetCommand.ts b/clients/client-forecast/commands/DescribeDatasetCommand.ts index 4e8bd001f3d2..742119986d23 100644 --- a/clients/client-forecast/commands/DescribeDatasetCommand.ts +++ b/clients/client-forecast/commands/DescribeDatasetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDatasetCommandInput = DescribeDatasetRequest; @@ -67,14 +67,14 @@ export class DescribeDatasetCommand extends $Command< private serialize( input: DescribeDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDatasetCommand(output, context); } diff --git a/clients/client-forecast/commands/DescribeDatasetGroupCommand.ts b/clients/client-forecast/commands/DescribeDatasetGroupCommand.ts index ae4be217b2a9..fcea01cee316 100644 --- a/clients/client-forecast/commands/DescribeDatasetGroupCommand.ts +++ b/clients/client-forecast/commands/DescribeDatasetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDatasetGroupCommandInput = DescribeDatasetGroupRequest; @@ -70,14 +70,14 @@ export class DescribeDatasetGroupCommand extends $Command< private serialize( input: DescribeDatasetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDatasetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDatasetGroupCommand(output, context); } diff --git a/clients/client-forecast/commands/DescribeDatasetImportJobCommand.ts b/clients/client-forecast/commands/DescribeDatasetImportJobCommand.ts index df2a5603bfe4..cf5d952aa614 100644 --- a/clients/client-forecast/commands/DescribeDatasetImportJobCommand.ts +++ b/clients/client-forecast/commands/DescribeDatasetImportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDatasetImportJobCommandInput = DescribeDatasetImportJobRequest; @@ -70,14 +70,14 @@ export class DescribeDatasetImportJobCommand extends $Command< private serialize( input: DescribeDatasetImportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDatasetImportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDatasetImportJobCommand( output, diff --git a/clients/client-forecast/commands/DescribeForecastCommand.ts b/clients/client-forecast/commands/DescribeForecastCommand.ts index d84c2e22124c..376ddd3f1279 100644 --- a/clients/client-forecast/commands/DescribeForecastCommand.ts +++ b/clients/client-forecast/commands/DescribeForecastCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeForecastCommandInput = DescribeForecastRequest; @@ -67,14 +67,14 @@ export class DescribeForecastCommand extends $Command< private serialize( input: DescribeForecastCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeForecastCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeForecastCommand(output, context); } diff --git a/clients/client-forecast/commands/DescribeForecastExportJobCommand.ts b/clients/client-forecast/commands/DescribeForecastExportJobCommand.ts index ea1682924b31..2fb12e067d7f 100644 --- a/clients/client-forecast/commands/DescribeForecastExportJobCommand.ts +++ b/clients/client-forecast/commands/DescribeForecastExportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeForecastExportJobCommandInput = DescribeForecastExportJobRequest; @@ -70,14 +70,14 @@ export class DescribeForecastExportJobCommand extends $Command< private serialize( input: DescribeForecastExportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeForecastExportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeForecastExportJobCommand( output, diff --git a/clients/client-forecast/commands/DescribePredictorCommand.ts b/clients/client-forecast/commands/DescribePredictorCommand.ts index eab870bd83a0..df34a542f085 100644 --- a/clients/client-forecast/commands/DescribePredictorCommand.ts +++ b/clients/client-forecast/commands/DescribePredictorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePredictorCommandInput = DescribePredictorRequest; @@ -67,14 +67,14 @@ export class DescribePredictorCommand extends $Command< private serialize( input: DescribePredictorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePredictorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePredictorCommand(output, context); } diff --git a/clients/client-forecast/commands/GetAccuracyMetricsCommand.ts b/clients/client-forecast/commands/GetAccuracyMetricsCommand.ts index da07f70b427c..224fbe6b9edd 100644 --- a/clients/client-forecast/commands/GetAccuracyMetricsCommand.ts +++ b/clients/client-forecast/commands/GetAccuracyMetricsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccuracyMetricsCommandInput = GetAccuracyMetricsRequest; @@ -67,14 +67,14 @@ export class GetAccuracyMetricsCommand extends $Command< private serialize( input: GetAccuracyMetricsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAccuracyMetricsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAccuracyMetricsCommand(output, context); } diff --git a/clients/client-forecast/commands/ListDatasetGroupsCommand.ts b/clients/client-forecast/commands/ListDatasetGroupsCommand.ts index c63d9f2859ac..0be7f74ed9d2 100644 --- a/clients/client-forecast/commands/ListDatasetGroupsCommand.ts +++ b/clients/client-forecast/commands/ListDatasetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDatasetGroupsCommandInput = ListDatasetGroupsRequest; @@ -67,14 +67,14 @@ export class ListDatasetGroupsCommand extends $Command< private serialize( input: ListDatasetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDatasetGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDatasetGroupsCommand(output, context); } diff --git a/clients/client-forecast/commands/ListDatasetImportJobsCommand.ts b/clients/client-forecast/commands/ListDatasetImportJobsCommand.ts index bb37f2e54b83..fc2eb4ce49eb 100644 --- a/clients/client-forecast/commands/ListDatasetImportJobsCommand.ts +++ b/clients/client-forecast/commands/ListDatasetImportJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDatasetImportJobsCommandInput = ListDatasetImportJobsRequest; @@ -70,14 +70,14 @@ export class ListDatasetImportJobsCommand extends $Command< private serialize( input: ListDatasetImportJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDatasetImportJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDatasetImportJobsCommand(output, context); } diff --git a/clients/client-forecast/commands/ListDatasetsCommand.ts b/clients/client-forecast/commands/ListDatasetsCommand.ts index c7626be38463..e9a902e117ea 100644 --- a/clients/client-forecast/commands/ListDatasetsCommand.ts +++ b/clients/client-forecast/commands/ListDatasetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDatasetsCommandInput = ListDatasetsRequest; @@ -64,14 +64,14 @@ export class ListDatasetsCommand extends $Command< private serialize( input: ListDatasetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDatasetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDatasetsCommand(output, context); } diff --git a/clients/client-forecast/commands/ListForecastExportJobsCommand.ts b/clients/client-forecast/commands/ListForecastExportJobsCommand.ts index 239056d9fb25..02248b840629 100644 --- a/clients/client-forecast/commands/ListForecastExportJobsCommand.ts +++ b/clients/client-forecast/commands/ListForecastExportJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListForecastExportJobsCommandInput = ListForecastExportJobsRequest; @@ -70,14 +70,14 @@ export class ListForecastExportJobsCommand extends $Command< private serialize( input: ListForecastExportJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListForecastExportJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListForecastExportJobsCommand(output, context); } diff --git a/clients/client-forecast/commands/ListForecastsCommand.ts b/clients/client-forecast/commands/ListForecastsCommand.ts index 0c2f88cc12f0..d83b4b67e9d4 100644 --- a/clients/client-forecast/commands/ListForecastsCommand.ts +++ b/clients/client-forecast/commands/ListForecastsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListForecastsCommandInput = ListForecastsRequest; @@ -64,14 +64,14 @@ export class ListForecastsCommand extends $Command< private serialize( input: ListForecastsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListForecastsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListForecastsCommand(output, context); } diff --git a/clients/client-forecast/commands/ListPredictorsCommand.ts b/clients/client-forecast/commands/ListPredictorsCommand.ts index 8533a0982458..9447dcfc99b7 100644 --- a/clients/client-forecast/commands/ListPredictorsCommand.ts +++ b/clients/client-forecast/commands/ListPredictorsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPredictorsCommandInput = ListPredictorsRequest; @@ -64,14 +64,14 @@ export class ListPredictorsCommand extends $Command< private serialize( input: ListPredictorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPredictorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPredictorsCommand(output, context); } diff --git a/clients/client-forecast/commands/UpdateDatasetGroupCommand.ts b/clients/client-forecast/commands/UpdateDatasetGroupCommand.ts index b30a4793809a..b1b9ce33aa7a 100644 --- a/clients/client-forecast/commands/UpdateDatasetGroupCommand.ts +++ b/clients/client-forecast/commands/UpdateDatasetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDatasetGroupCommandInput = UpdateDatasetGroupRequest; @@ -67,14 +67,14 @@ export class UpdateDatasetGroupCommand extends $Command< private serialize( input: UpdateDatasetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDatasetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDatasetGroupCommand(output, context); } diff --git a/clients/client-forecast/protocols/Aws_json1_1.ts b/clients/client-forecast/protocols/Aws_json1_1.ts index 435d4319c76a..5d633212d5a8 100644 --- a/clients/client-forecast/protocols/Aws_json1_1.ts +++ b/clients/client-forecast/protocols/Aws_json1_1.ts @@ -5216,6 +5216,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-forecastquery/commands/QueryForecastCommand.ts b/clients/client-forecastquery/commands/QueryForecastCommand.ts index ba2612e6ffe0..5684e440c987 100644 --- a/clients/client-forecastquery/commands/QueryForecastCommand.ts +++ b/clients/client-forecastquery/commands/QueryForecastCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type QueryForecastCommandInput = QueryForecastRequest; @@ -64,14 +64,14 @@ export class QueryForecastCommand extends $Command< private serialize( input: QueryForecastCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1QueryForecastCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1QueryForecastCommand(output, context); } diff --git a/clients/client-forecastquery/protocols/Aws_json1_1.ts b/clients/client-forecastquery/protocols/Aws_json1_1.ts index f997f3854883..f1d7605c0d6a 100644 --- a/clients/client-forecastquery/protocols/Aws_json1_1.ts +++ b/clients/client-forecastquery/protocols/Aws_json1_1.ts @@ -401,6 +401,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-frauddetector/commands/BatchCreateVariableCommand.ts b/clients/client-frauddetector/commands/BatchCreateVariableCommand.ts index 0a4c06292a30..4eeb5fa6cd52 100644 --- a/clients/client-frauddetector/commands/BatchCreateVariableCommand.ts +++ b/clients/client-frauddetector/commands/BatchCreateVariableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchCreateVariableCommandInput = BatchCreateVariableRequest; @@ -70,14 +70,14 @@ export class BatchCreateVariableCommand extends $Command< private serialize( input: BatchCreateVariableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchCreateVariableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchCreateVariableCommand(output, context); } diff --git a/clients/client-frauddetector/commands/BatchGetVariableCommand.ts b/clients/client-frauddetector/commands/BatchGetVariableCommand.ts index be19e9c343a2..b81cf09731fe 100644 --- a/clients/client-frauddetector/commands/BatchGetVariableCommand.ts +++ b/clients/client-frauddetector/commands/BatchGetVariableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetVariableCommandInput = BatchGetVariableRequest; @@ -67,14 +67,14 @@ export class BatchGetVariableCommand extends $Command< private serialize( input: BatchGetVariableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetVariableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetVariableCommand(output, context); } diff --git a/clients/client-frauddetector/commands/CreateDetectorVersionCommand.ts b/clients/client-frauddetector/commands/CreateDetectorVersionCommand.ts index dc7fb6caf4a9..618044a05921 100644 --- a/clients/client-frauddetector/commands/CreateDetectorVersionCommand.ts +++ b/clients/client-frauddetector/commands/CreateDetectorVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDetectorVersionCommandInput = CreateDetectorVersionRequest; @@ -70,14 +70,14 @@ export class CreateDetectorVersionCommand extends $Command< private serialize( input: CreateDetectorVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDetectorVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDetectorVersionCommand(output, context); } diff --git a/clients/client-frauddetector/commands/CreateModelVersionCommand.ts b/clients/client-frauddetector/commands/CreateModelVersionCommand.ts index 777edc4bf3ad..5f599b32192e 100644 --- a/clients/client-frauddetector/commands/CreateModelVersionCommand.ts +++ b/clients/client-frauddetector/commands/CreateModelVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateModelVersionCommandInput = CreateModelVersionRequest; @@ -67,14 +67,14 @@ export class CreateModelVersionCommand extends $Command< private serialize( input: CreateModelVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateModelVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateModelVersionCommand(output, context); } diff --git a/clients/client-frauddetector/commands/CreateRuleCommand.ts b/clients/client-frauddetector/commands/CreateRuleCommand.ts index 11ddcb5cb8b6..388ed66bcf3e 100644 --- a/clients/client-frauddetector/commands/CreateRuleCommand.ts +++ b/clients/client-frauddetector/commands/CreateRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRuleCommandInput = CreateRuleRequest; @@ -64,14 +64,14 @@ export class CreateRuleCommand extends $Command< private serialize( input: CreateRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRuleCommand(output, context); } diff --git a/clients/client-frauddetector/commands/CreateVariableCommand.ts b/clients/client-frauddetector/commands/CreateVariableCommand.ts index 954bd4db1ed3..101a1e5ad0c2 100644 --- a/clients/client-frauddetector/commands/CreateVariableCommand.ts +++ b/clients/client-frauddetector/commands/CreateVariableCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVariableCommandInput = CreateVariableRequest; @@ -64,14 +64,14 @@ export class CreateVariableCommand extends $Command< private serialize( input: CreateVariableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateVariableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateVariableCommand(output, context); } diff --git a/clients/client-frauddetector/commands/DeleteDetectorVersionCommand.ts b/clients/client-frauddetector/commands/DeleteDetectorVersionCommand.ts index e34aebb0d317..18a877cc6b20 100644 --- a/clients/client-frauddetector/commands/DeleteDetectorVersionCommand.ts +++ b/clients/client-frauddetector/commands/DeleteDetectorVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDetectorVersionCommandInput = DeleteDetectorVersionRequest; @@ -70,14 +70,14 @@ export class DeleteDetectorVersionCommand extends $Command< private serialize( input: DeleteDetectorVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDetectorVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDetectorVersionCommand(output, context); } diff --git a/clients/client-frauddetector/commands/DeleteEventCommand.ts b/clients/client-frauddetector/commands/DeleteEventCommand.ts index 56f624a4b468..66f5afde2e0f 100644 --- a/clients/client-frauddetector/commands/DeleteEventCommand.ts +++ b/clients/client-frauddetector/commands/DeleteEventCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEventCommandInput = DeleteEventRequest; @@ -64,14 +64,14 @@ export class DeleteEventCommand extends $Command< private serialize( input: DeleteEventCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEventCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEventCommand(output, context); } diff --git a/clients/client-frauddetector/commands/DescribeDetectorCommand.ts b/clients/client-frauddetector/commands/DescribeDetectorCommand.ts index 4f9b95956e9c..d2883bad718b 100644 --- a/clients/client-frauddetector/commands/DescribeDetectorCommand.ts +++ b/clients/client-frauddetector/commands/DescribeDetectorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDetectorCommandInput = DescribeDetectorRequest; @@ -67,14 +67,14 @@ export class DescribeDetectorCommand extends $Command< private serialize( input: DescribeDetectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDetectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDetectorCommand(output, context); } diff --git a/clients/client-frauddetector/commands/DescribeModelVersionsCommand.ts b/clients/client-frauddetector/commands/DescribeModelVersionsCommand.ts index 56bddda7a71b..565fdf9c9fb2 100644 --- a/clients/client-frauddetector/commands/DescribeModelVersionsCommand.ts +++ b/clients/client-frauddetector/commands/DescribeModelVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeModelVersionsCommandInput = DescribeModelVersionsRequest; @@ -70,14 +70,14 @@ export class DescribeModelVersionsCommand extends $Command< private serialize( input: DescribeModelVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeModelVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeModelVersionsCommand(output, context); } diff --git a/clients/client-frauddetector/commands/GetDetectorVersionCommand.ts b/clients/client-frauddetector/commands/GetDetectorVersionCommand.ts index 2a92f9c5376c..dfbcd15ddc06 100644 --- a/clients/client-frauddetector/commands/GetDetectorVersionCommand.ts +++ b/clients/client-frauddetector/commands/GetDetectorVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDetectorVersionCommandInput = GetDetectorVersionRequest; @@ -67,14 +67,14 @@ export class GetDetectorVersionCommand extends $Command< private serialize( input: GetDetectorVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDetectorVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDetectorVersionCommand(output, context); } diff --git a/clients/client-frauddetector/commands/GetDetectorsCommand.ts b/clients/client-frauddetector/commands/GetDetectorsCommand.ts index fdc09880caef..7b95dfd43c5f 100644 --- a/clients/client-frauddetector/commands/GetDetectorsCommand.ts +++ b/clients/client-frauddetector/commands/GetDetectorsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDetectorsCommandInput = GetDetectorsRequest; @@ -64,14 +64,14 @@ export class GetDetectorsCommand extends $Command< private serialize( input: GetDetectorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDetectorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDetectorsCommand(output, context); } diff --git a/clients/client-frauddetector/commands/GetExternalModelsCommand.ts b/clients/client-frauddetector/commands/GetExternalModelsCommand.ts index f0fb6f472d0f..449195119d43 100644 --- a/clients/client-frauddetector/commands/GetExternalModelsCommand.ts +++ b/clients/client-frauddetector/commands/GetExternalModelsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetExternalModelsCommandInput = GetExternalModelsRequest; @@ -67,14 +67,14 @@ export class GetExternalModelsCommand extends $Command< private serialize( input: GetExternalModelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetExternalModelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetExternalModelsCommand(output, context); } diff --git a/clients/client-frauddetector/commands/GetModelVersionCommand.ts b/clients/client-frauddetector/commands/GetModelVersionCommand.ts index 1956d8e14fc2..989eea15e83c 100644 --- a/clients/client-frauddetector/commands/GetModelVersionCommand.ts +++ b/clients/client-frauddetector/commands/GetModelVersionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetModelVersionCommandInput = GetModelVersionRequest; @@ -64,14 +64,14 @@ export class GetModelVersionCommand extends $Command< private serialize( input: GetModelVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetModelVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetModelVersionCommand(output, context); } diff --git a/clients/client-frauddetector/commands/GetModelsCommand.ts b/clients/client-frauddetector/commands/GetModelsCommand.ts index c7b89b84b37c..b38e6d49b8d6 100644 --- a/clients/client-frauddetector/commands/GetModelsCommand.ts +++ b/clients/client-frauddetector/commands/GetModelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetModelsCommandInput = GetModelsRequest; @@ -64,14 +64,14 @@ export class GetModelsCommand extends $Command< private serialize( input: GetModelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetModelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetModelsCommand(output, context); } diff --git a/clients/client-frauddetector/commands/GetOutcomesCommand.ts b/clients/client-frauddetector/commands/GetOutcomesCommand.ts index a8b1991d4635..2fefdd29ab70 100644 --- a/clients/client-frauddetector/commands/GetOutcomesCommand.ts +++ b/clients/client-frauddetector/commands/GetOutcomesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOutcomesCommandInput = GetOutcomesRequest; @@ -64,14 +64,14 @@ export class GetOutcomesCommand extends $Command< private serialize( input: GetOutcomesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOutcomesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOutcomesCommand(output, context); } diff --git a/clients/client-frauddetector/commands/GetPredictionCommand.ts b/clients/client-frauddetector/commands/GetPredictionCommand.ts index 804147842b08..a07e849a7bab 100644 --- a/clients/client-frauddetector/commands/GetPredictionCommand.ts +++ b/clients/client-frauddetector/commands/GetPredictionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPredictionCommandInput = GetPredictionRequest; @@ -64,14 +64,14 @@ export class GetPredictionCommand extends $Command< private serialize( input: GetPredictionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPredictionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPredictionCommand(output, context); } diff --git a/clients/client-frauddetector/commands/GetRulesCommand.ts b/clients/client-frauddetector/commands/GetRulesCommand.ts index 82cd7e60ce11..e45ef243efad 100644 --- a/clients/client-frauddetector/commands/GetRulesCommand.ts +++ b/clients/client-frauddetector/commands/GetRulesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRulesCommandInput = GetRulesRequest; @@ -64,14 +64,14 @@ export class GetRulesCommand extends $Command< private serialize( input: GetRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRulesCommand(output, context); } diff --git a/clients/client-frauddetector/commands/GetVariablesCommand.ts b/clients/client-frauddetector/commands/GetVariablesCommand.ts index a65e58ffef16..2fb88c0a92b2 100644 --- a/clients/client-frauddetector/commands/GetVariablesCommand.ts +++ b/clients/client-frauddetector/commands/GetVariablesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVariablesCommandInput = GetVariablesRequest; @@ -64,14 +64,14 @@ export class GetVariablesCommand extends $Command< private serialize( input: GetVariablesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetVariablesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetVariablesCommand(output, context); } diff --git a/clients/client-frauddetector/commands/PutDetectorCommand.ts b/clients/client-frauddetector/commands/PutDetectorCommand.ts index 9ca520a67395..8ac7a797373f 100644 --- a/clients/client-frauddetector/commands/PutDetectorCommand.ts +++ b/clients/client-frauddetector/commands/PutDetectorCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDetectorCommandInput = PutDetectorRequest; @@ -64,14 +64,14 @@ export class PutDetectorCommand extends $Command< private serialize( input: PutDetectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutDetectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutDetectorCommand(output, context); } diff --git a/clients/client-frauddetector/commands/PutExternalModelCommand.ts b/clients/client-frauddetector/commands/PutExternalModelCommand.ts index 3c3e1fc073c0..5d4f54f6a710 100644 --- a/clients/client-frauddetector/commands/PutExternalModelCommand.ts +++ b/clients/client-frauddetector/commands/PutExternalModelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutExternalModelCommandInput = PutExternalModelRequest; @@ -67,14 +67,14 @@ export class PutExternalModelCommand extends $Command< private serialize( input: PutExternalModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutExternalModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutExternalModelCommand(output, context); } diff --git a/clients/client-frauddetector/commands/PutModelCommand.ts b/clients/client-frauddetector/commands/PutModelCommand.ts index 7dd4db439ae7..a385c886dfc8 100644 --- a/clients/client-frauddetector/commands/PutModelCommand.ts +++ b/clients/client-frauddetector/commands/PutModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutModelCommandInput = PutModelRequest; @@ -64,14 +64,14 @@ export class PutModelCommand extends $Command< private serialize( input: PutModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutModelCommand(output, context); } diff --git a/clients/client-frauddetector/commands/PutOutcomeCommand.ts b/clients/client-frauddetector/commands/PutOutcomeCommand.ts index 815f9eb696bb..8d8fcfa1e892 100644 --- a/clients/client-frauddetector/commands/PutOutcomeCommand.ts +++ b/clients/client-frauddetector/commands/PutOutcomeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutOutcomeCommandInput = PutOutcomeRequest; @@ -64,14 +64,14 @@ export class PutOutcomeCommand extends $Command< private serialize( input: PutOutcomeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutOutcomeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutOutcomeCommand(output, context); } diff --git a/clients/client-frauddetector/commands/UpdateDetectorVersionCommand.ts b/clients/client-frauddetector/commands/UpdateDetectorVersionCommand.ts index 17035449d447..7192179d1009 100644 --- a/clients/client-frauddetector/commands/UpdateDetectorVersionCommand.ts +++ b/clients/client-frauddetector/commands/UpdateDetectorVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDetectorVersionCommandInput = UpdateDetectorVersionRequest; @@ -70,14 +70,14 @@ export class UpdateDetectorVersionCommand extends $Command< private serialize( input: UpdateDetectorVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDetectorVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDetectorVersionCommand(output, context); } diff --git a/clients/client-frauddetector/commands/UpdateDetectorVersionMetadataCommand.ts b/clients/client-frauddetector/commands/UpdateDetectorVersionMetadataCommand.ts index 9e4072175a29..715068442ae8 100644 --- a/clients/client-frauddetector/commands/UpdateDetectorVersionMetadataCommand.ts +++ b/clients/client-frauddetector/commands/UpdateDetectorVersionMetadataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDetectorVersionMetadataCommandInput = UpdateDetectorVersionMetadataRequest; @@ -70,7 +70,7 @@ export class UpdateDetectorVersionMetadataCommand extends $Command< private serialize( input: UpdateDetectorVersionMetadataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDetectorVersionMetadataCommand( input, @@ -80,7 +80,7 @@ export class UpdateDetectorVersionMetadataCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDetectorVersionMetadataCommand( output, diff --git a/clients/client-frauddetector/commands/UpdateDetectorVersionStatusCommand.ts b/clients/client-frauddetector/commands/UpdateDetectorVersionStatusCommand.ts index 3f07c834967e..0c2b67b16899 100644 --- a/clients/client-frauddetector/commands/UpdateDetectorVersionStatusCommand.ts +++ b/clients/client-frauddetector/commands/UpdateDetectorVersionStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDetectorVersionStatusCommandInput = UpdateDetectorVersionStatusRequest; @@ -70,7 +70,7 @@ export class UpdateDetectorVersionStatusCommand extends $Command< private serialize( input: UpdateDetectorVersionStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDetectorVersionStatusCommand( input, @@ -80,7 +80,7 @@ export class UpdateDetectorVersionStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDetectorVersionStatusCommand( output, diff --git a/clients/client-frauddetector/commands/UpdateModelVersionCommand.ts b/clients/client-frauddetector/commands/UpdateModelVersionCommand.ts index dd179d9ae320..e0c61f6d9648 100644 --- a/clients/client-frauddetector/commands/UpdateModelVersionCommand.ts +++ b/clients/client-frauddetector/commands/UpdateModelVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateModelVersionCommandInput = UpdateModelVersionRequest; @@ -67,14 +67,14 @@ export class UpdateModelVersionCommand extends $Command< private serialize( input: UpdateModelVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateModelVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateModelVersionCommand(output, context); } diff --git a/clients/client-frauddetector/commands/UpdateRuleMetadataCommand.ts b/clients/client-frauddetector/commands/UpdateRuleMetadataCommand.ts index da31fd0f6aa1..7dd3efd5b5be 100644 --- a/clients/client-frauddetector/commands/UpdateRuleMetadataCommand.ts +++ b/clients/client-frauddetector/commands/UpdateRuleMetadataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRuleMetadataCommandInput = UpdateRuleMetadataRequest; @@ -67,14 +67,14 @@ export class UpdateRuleMetadataCommand extends $Command< private serialize( input: UpdateRuleMetadataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRuleMetadataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRuleMetadataCommand(output, context); } diff --git a/clients/client-frauddetector/commands/UpdateRuleVersionCommand.ts b/clients/client-frauddetector/commands/UpdateRuleVersionCommand.ts index 4e86b09cc470..1889f0f41871 100644 --- a/clients/client-frauddetector/commands/UpdateRuleVersionCommand.ts +++ b/clients/client-frauddetector/commands/UpdateRuleVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRuleVersionCommandInput = UpdateRuleVersionRequest; @@ -67,14 +67,14 @@ export class UpdateRuleVersionCommand extends $Command< private serialize( input: UpdateRuleVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRuleVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRuleVersionCommand(output, context); } diff --git a/clients/client-frauddetector/commands/UpdateVariableCommand.ts b/clients/client-frauddetector/commands/UpdateVariableCommand.ts index 6eeb3b502cb6..522111b9c145 100644 --- a/clients/client-frauddetector/commands/UpdateVariableCommand.ts +++ b/clients/client-frauddetector/commands/UpdateVariableCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVariableCommandInput = UpdateVariableRequest; @@ -64,14 +64,14 @@ export class UpdateVariableCommand extends $Command< private serialize( input: UpdateVariableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateVariableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateVariableCommand(output, context); } diff --git a/clients/client-frauddetector/protocols/Aws_json1_1.ts b/clients/client-frauddetector/protocols/Aws_json1_1.ts index eaf79c86fdeb..f562012b8fa8 100644 --- a/clients/client-frauddetector/protocols/Aws_json1_1.ts +++ b/clients/client-frauddetector/protocols/Aws_json1_1.ts @@ -5295,6 +5295,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-fsx/commands/CancelDataRepositoryTaskCommand.ts b/clients/client-fsx/commands/CancelDataRepositoryTaskCommand.ts index 0e85b90bc186..896abddfe21d 100644 --- a/clients/client-fsx/commands/CancelDataRepositoryTaskCommand.ts +++ b/clients/client-fsx/commands/CancelDataRepositoryTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelDataRepositoryTaskCommandInput = CancelDataRepositoryTaskRequest; @@ -70,14 +70,14 @@ export class CancelDataRepositoryTaskCommand extends $Command< private serialize( input: CancelDataRepositoryTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelDataRepositoryTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelDataRepositoryTaskCommand( output, diff --git a/clients/client-fsx/commands/CreateBackupCommand.ts b/clients/client-fsx/commands/CreateBackupCommand.ts index 253da1d5d27c..49d89d5ec55b 100644 --- a/clients/client-fsx/commands/CreateBackupCommand.ts +++ b/clients/client-fsx/commands/CreateBackupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBackupCommandInput = CreateBackupRequest; @@ -64,14 +64,14 @@ export class CreateBackupCommand extends $Command< private serialize( input: CreateBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateBackupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateBackupCommand(output, context); } diff --git a/clients/client-fsx/commands/CreateDataRepositoryTaskCommand.ts b/clients/client-fsx/commands/CreateDataRepositoryTaskCommand.ts index 27409444909b..bb393d8bd587 100644 --- a/clients/client-fsx/commands/CreateDataRepositoryTaskCommand.ts +++ b/clients/client-fsx/commands/CreateDataRepositoryTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDataRepositoryTaskCommandInput = CreateDataRepositoryTaskRequest; @@ -70,14 +70,14 @@ export class CreateDataRepositoryTaskCommand extends $Command< private serialize( input: CreateDataRepositoryTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDataRepositoryTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDataRepositoryTaskCommand( output, diff --git a/clients/client-fsx/commands/CreateFileSystemCommand.ts b/clients/client-fsx/commands/CreateFileSystemCommand.ts index 34dcdf9491a8..4cbfcd3a92b9 100644 --- a/clients/client-fsx/commands/CreateFileSystemCommand.ts +++ b/clients/client-fsx/commands/CreateFileSystemCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFileSystemCommandInput = CreateFileSystemRequest; @@ -67,14 +67,14 @@ export class CreateFileSystemCommand extends $Command< private serialize( input: CreateFileSystemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateFileSystemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateFileSystemCommand(output, context); } diff --git a/clients/client-fsx/commands/CreateFileSystemFromBackupCommand.ts b/clients/client-fsx/commands/CreateFileSystemFromBackupCommand.ts index c02e75c41862..c185d348af04 100644 --- a/clients/client-fsx/commands/CreateFileSystemFromBackupCommand.ts +++ b/clients/client-fsx/commands/CreateFileSystemFromBackupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFileSystemFromBackupCommandInput = CreateFileSystemFromBackupRequest; @@ -70,7 +70,7 @@ export class CreateFileSystemFromBackupCommand extends $Command< private serialize( input: CreateFileSystemFromBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateFileSystemFromBackupCommand( input, @@ -80,7 +80,7 @@ export class CreateFileSystemFromBackupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateFileSystemFromBackupCommand( output, diff --git a/clients/client-fsx/commands/DeleteBackupCommand.ts b/clients/client-fsx/commands/DeleteBackupCommand.ts index 00ad7f2162e4..518657251182 100644 --- a/clients/client-fsx/commands/DeleteBackupCommand.ts +++ b/clients/client-fsx/commands/DeleteBackupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBackupCommandInput = DeleteBackupRequest; @@ -64,14 +64,14 @@ export class DeleteBackupCommand extends $Command< private serialize( input: DeleteBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteBackupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteBackupCommand(output, context); } diff --git a/clients/client-fsx/commands/DeleteFileSystemCommand.ts b/clients/client-fsx/commands/DeleteFileSystemCommand.ts index 032ac399b48f..59fa77819585 100644 --- a/clients/client-fsx/commands/DeleteFileSystemCommand.ts +++ b/clients/client-fsx/commands/DeleteFileSystemCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFileSystemCommandInput = DeleteFileSystemRequest; @@ -67,14 +67,14 @@ export class DeleteFileSystemCommand extends $Command< private serialize( input: DeleteFileSystemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteFileSystemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteFileSystemCommand(output, context); } diff --git a/clients/client-fsx/commands/DescribeBackupsCommand.ts b/clients/client-fsx/commands/DescribeBackupsCommand.ts index d609e61074d8..f968a765c7fc 100644 --- a/clients/client-fsx/commands/DescribeBackupsCommand.ts +++ b/clients/client-fsx/commands/DescribeBackupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBackupsCommandInput = DescribeBackupsRequest; @@ -67,14 +67,14 @@ export class DescribeBackupsCommand extends $Command< private serialize( input: DescribeBackupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeBackupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeBackupsCommand(output, context); } diff --git a/clients/client-fsx/commands/DescribeDataRepositoryTasksCommand.ts b/clients/client-fsx/commands/DescribeDataRepositoryTasksCommand.ts index 17761149b52f..b4dc47f14b9c 100644 --- a/clients/client-fsx/commands/DescribeDataRepositoryTasksCommand.ts +++ b/clients/client-fsx/commands/DescribeDataRepositoryTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDataRepositoryTasksCommandInput = DescribeDataRepositoryTasksRequest; @@ -70,7 +70,7 @@ export class DescribeDataRepositoryTasksCommand extends $Command< private serialize( input: DescribeDataRepositoryTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDataRepositoryTasksCommand( input, @@ -80,7 +80,7 @@ export class DescribeDataRepositoryTasksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDataRepositoryTasksCommand( output, diff --git a/clients/client-fsx/commands/DescribeFileSystemsCommand.ts b/clients/client-fsx/commands/DescribeFileSystemsCommand.ts index 65ea619d4e28..397a464b260a 100644 --- a/clients/client-fsx/commands/DescribeFileSystemsCommand.ts +++ b/clients/client-fsx/commands/DescribeFileSystemsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFileSystemsCommandInput = DescribeFileSystemsRequest; @@ -70,14 +70,14 @@ export class DescribeFileSystemsCommand extends $Command< private serialize( input: DescribeFileSystemsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeFileSystemsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeFileSystemsCommand(output, context); } diff --git a/clients/client-fsx/commands/ListTagsForResourceCommand.ts b/clients/client-fsx/commands/ListTagsForResourceCommand.ts index 54a5d0d09957..4392bac9de53 100644 --- a/clients/client-fsx/commands/ListTagsForResourceCommand.ts +++ b/clients/client-fsx/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-fsx/commands/TagResourceCommand.ts b/clients/client-fsx/commands/TagResourceCommand.ts index 6d05a9ef043c..29e6b87b8062 100644 --- a/clients/client-fsx/commands/TagResourceCommand.ts +++ b/clients/client-fsx/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-fsx/commands/UntagResourceCommand.ts b/clients/client-fsx/commands/UntagResourceCommand.ts index 84f84f947416..1a2b22b9caae 100644 --- a/clients/client-fsx/commands/UntagResourceCommand.ts +++ b/clients/client-fsx/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-fsx/commands/UpdateFileSystemCommand.ts b/clients/client-fsx/commands/UpdateFileSystemCommand.ts index e22d6eca78ea..aff58f15ee32 100644 --- a/clients/client-fsx/commands/UpdateFileSystemCommand.ts +++ b/clients/client-fsx/commands/UpdateFileSystemCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFileSystemCommandInput = UpdateFileSystemRequest; @@ -67,14 +67,14 @@ export class UpdateFileSystemCommand extends $Command< private serialize( input: UpdateFileSystemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateFileSystemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateFileSystemCommand(output, context); } diff --git a/clients/client-fsx/protocols/Aws_json1_1.ts b/clients/client-fsx/protocols/Aws_json1_1.ts index ea1229f2a1ab..6627a0a10b49 100644 --- a/clients/client-fsx/protocols/Aws_json1_1.ts +++ b/clients/client-fsx/protocols/Aws_json1_1.ts @@ -3867,6 +3867,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-gamelift/commands/AcceptMatchCommand.ts b/clients/client-gamelift/commands/AcceptMatchCommand.ts index ce9f8ee81f2c..f069d4541c04 100644 --- a/clients/client-gamelift/commands/AcceptMatchCommand.ts +++ b/clients/client-gamelift/commands/AcceptMatchCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptMatchCommandInput = AcceptMatchInput; @@ -64,14 +64,14 @@ export class AcceptMatchCommand extends $Command< private serialize( input: AcceptMatchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AcceptMatchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AcceptMatchCommand(output, context); } diff --git a/clients/client-gamelift/commands/CreateAliasCommand.ts b/clients/client-gamelift/commands/CreateAliasCommand.ts index 43fde50ef13b..dd5e8cd2078d 100644 --- a/clients/client-gamelift/commands/CreateAliasCommand.ts +++ b/clients/client-gamelift/commands/CreateAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAliasCommandInput = CreateAliasInput; @@ -64,14 +64,14 @@ export class CreateAliasCommand extends $Command< private serialize( input: CreateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAliasCommand(output, context); } diff --git a/clients/client-gamelift/commands/CreateBuildCommand.ts b/clients/client-gamelift/commands/CreateBuildCommand.ts index b429cfe49139..05c432a535da 100644 --- a/clients/client-gamelift/commands/CreateBuildCommand.ts +++ b/clients/client-gamelift/commands/CreateBuildCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBuildCommandInput = CreateBuildInput; @@ -64,14 +64,14 @@ export class CreateBuildCommand extends $Command< private serialize( input: CreateBuildCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateBuildCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateBuildCommand(output, context); } diff --git a/clients/client-gamelift/commands/CreateFleetCommand.ts b/clients/client-gamelift/commands/CreateFleetCommand.ts index f67bfabaefe8..b25c05c2dda2 100644 --- a/clients/client-gamelift/commands/CreateFleetCommand.ts +++ b/clients/client-gamelift/commands/CreateFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFleetCommandInput = CreateFleetInput; @@ -64,14 +64,14 @@ export class CreateFleetCommand extends $Command< private serialize( input: CreateFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateFleetCommand(output, context); } diff --git a/clients/client-gamelift/commands/CreateGameSessionCommand.ts b/clients/client-gamelift/commands/CreateGameSessionCommand.ts index 198af1274c4a..9342f42903dd 100644 --- a/clients/client-gamelift/commands/CreateGameSessionCommand.ts +++ b/clients/client-gamelift/commands/CreateGameSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGameSessionCommandInput = CreateGameSessionInput; @@ -67,14 +67,14 @@ export class CreateGameSessionCommand extends $Command< private serialize( input: CreateGameSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateGameSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateGameSessionCommand(output, context); } diff --git a/clients/client-gamelift/commands/CreateGameSessionQueueCommand.ts b/clients/client-gamelift/commands/CreateGameSessionQueueCommand.ts index 3645814003fd..36f949659d27 100644 --- a/clients/client-gamelift/commands/CreateGameSessionQueueCommand.ts +++ b/clients/client-gamelift/commands/CreateGameSessionQueueCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGameSessionQueueCommandInput = CreateGameSessionQueueInput; @@ -70,14 +70,14 @@ export class CreateGameSessionQueueCommand extends $Command< private serialize( input: CreateGameSessionQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateGameSessionQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateGameSessionQueueCommand(output, context); } diff --git a/clients/client-gamelift/commands/CreateMatchmakingConfigurationCommand.ts b/clients/client-gamelift/commands/CreateMatchmakingConfigurationCommand.ts index 97b0b2857723..3b8f68df9184 100644 --- a/clients/client-gamelift/commands/CreateMatchmakingConfigurationCommand.ts +++ b/clients/client-gamelift/commands/CreateMatchmakingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMatchmakingConfigurationCommandInput = CreateMatchmakingConfigurationInput; @@ -70,7 +70,7 @@ export class CreateMatchmakingConfigurationCommand extends $Command< private serialize( input: CreateMatchmakingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateMatchmakingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class CreateMatchmakingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateMatchmakingConfigurationCommand( output, diff --git a/clients/client-gamelift/commands/CreateMatchmakingRuleSetCommand.ts b/clients/client-gamelift/commands/CreateMatchmakingRuleSetCommand.ts index 14c091f3d52d..47d5ca38b6d8 100644 --- a/clients/client-gamelift/commands/CreateMatchmakingRuleSetCommand.ts +++ b/clients/client-gamelift/commands/CreateMatchmakingRuleSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMatchmakingRuleSetCommandInput = CreateMatchmakingRuleSetInput; @@ -70,14 +70,14 @@ export class CreateMatchmakingRuleSetCommand extends $Command< private serialize( input: CreateMatchmakingRuleSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateMatchmakingRuleSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateMatchmakingRuleSetCommand( output, diff --git a/clients/client-gamelift/commands/CreatePlayerSessionCommand.ts b/clients/client-gamelift/commands/CreatePlayerSessionCommand.ts index e6fc56920b5b..f81fee2709c7 100644 --- a/clients/client-gamelift/commands/CreatePlayerSessionCommand.ts +++ b/clients/client-gamelift/commands/CreatePlayerSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePlayerSessionCommandInput = CreatePlayerSessionInput; @@ -70,14 +70,14 @@ export class CreatePlayerSessionCommand extends $Command< private serialize( input: CreatePlayerSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePlayerSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePlayerSessionCommand(output, context); } diff --git a/clients/client-gamelift/commands/CreatePlayerSessionsCommand.ts b/clients/client-gamelift/commands/CreatePlayerSessionsCommand.ts index e1b6ba2185ae..12f99dc4775d 100644 --- a/clients/client-gamelift/commands/CreatePlayerSessionsCommand.ts +++ b/clients/client-gamelift/commands/CreatePlayerSessionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePlayerSessionsCommandInput = CreatePlayerSessionsInput; @@ -70,14 +70,14 @@ export class CreatePlayerSessionsCommand extends $Command< private serialize( input: CreatePlayerSessionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePlayerSessionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePlayerSessionsCommand(output, context); } diff --git a/clients/client-gamelift/commands/CreateScriptCommand.ts b/clients/client-gamelift/commands/CreateScriptCommand.ts index d6a332d4bb71..5333aa6dd0d3 100644 --- a/clients/client-gamelift/commands/CreateScriptCommand.ts +++ b/clients/client-gamelift/commands/CreateScriptCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateScriptCommandInput = CreateScriptInput; @@ -64,14 +64,14 @@ export class CreateScriptCommand extends $Command< private serialize( input: CreateScriptCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateScriptCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateScriptCommand(output, context); } diff --git a/clients/client-gamelift/commands/CreateVpcPeeringAuthorizationCommand.ts b/clients/client-gamelift/commands/CreateVpcPeeringAuthorizationCommand.ts index 860281dfbf76..d349227d72df 100644 --- a/clients/client-gamelift/commands/CreateVpcPeeringAuthorizationCommand.ts +++ b/clients/client-gamelift/commands/CreateVpcPeeringAuthorizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVpcPeeringAuthorizationCommandInput = CreateVpcPeeringAuthorizationInput; @@ -70,7 +70,7 @@ export class CreateVpcPeeringAuthorizationCommand extends $Command< private serialize( input: CreateVpcPeeringAuthorizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateVpcPeeringAuthorizationCommand( input, @@ -80,7 +80,7 @@ export class CreateVpcPeeringAuthorizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateVpcPeeringAuthorizationCommand( output, diff --git a/clients/client-gamelift/commands/CreateVpcPeeringConnectionCommand.ts b/clients/client-gamelift/commands/CreateVpcPeeringConnectionCommand.ts index 3189ae6e42de..540d49935878 100644 --- a/clients/client-gamelift/commands/CreateVpcPeeringConnectionCommand.ts +++ b/clients/client-gamelift/commands/CreateVpcPeeringConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVpcPeeringConnectionCommandInput = CreateVpcPeeringConnectionInput; @@ -70,7 +70,7 @@ export class CreateVpcPeeringConnectionCommand extends $Command< private serialize( input: CreateVpcPeeringConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateVpcPeeringConnectionCommand( input, @@ -80,7 +80,7 @@ export class CreateVpcPeeringConnectionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateVpcPeeringConnectionCommand( output, diff --git a/clients/client-gamelift/commands/DeleteAliasCommand.ts b/clients/client-gamelift/commands/DeleteAliasCommand.ts index 0c237f784ad3..bdf86ede43f6 100644 --- a/clients/client-gamelift/commands/DeleteAliasCommand.ts +++ b/clients/client-gamelift/commands/DeleteAliasCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAliasCommandInput = DeleteAliasInput; @@ -65,14 +65,14 @@ export class DeleteAliasCommand extends $Command< private serialize( input: DeleteAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAliasCommand(output, context); } diff --git a/clients/client-gamelift/commands/DeleteBuildCommand.ts b/clients/client-gamelift/commands/DeleteBuildCommand.ts index bb58b89ee259..0c9fe28cde0d 100644 --- a/clients/client-gamelift/commands/DeleteBuildCommand.ts +++ b/clients/client-gamelift/commands/DeleteBuildCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBuildCommandInput = DeleteBuildInput; @@ -65,14 +65,14 @@ export class DeleteBuildCommand extends $Command< private serialize( input: DeleteBuildCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteBuildCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteBuildCommand(output, context); } diff --git a/clients/client-gamelift/commands/DeleteFleetCommand.ts b/clients/client-gamelift/commands/DeleteFleetCommand.ts index 7257e2612fcb..d03cd57d3d3f 100644 --- a/clients/client-gamelift/commands/DeleteFleetCommand.ts +++ b/clients/client-gamelift/commands/DeleteFleetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFleetCommandInput = DeleteFleetInput; @@ -65,14 +65,14 @@ export class DeleteFleetCommand extends $Command< private serialize( input: DeleteFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteFleetCommand(output, context); } diff --git a/clients/client-gamelift/commands/DeleteGameSessionQueueCommand.ts b/clients/client-gamelift/commands/DeleteGameSessionQueueCommand.ts index 57a5ff18050e..911b5d753cc9 100644 --- a/clients/client-gamelift/commands/DeleteGameSessionQueueCommand.ts +++ b/clients/client-gamelift/commands/DeleteGameSessionQueueCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGameSessionQueueCommandInput = DeleteGameSessionQueueInput; @@ -70,14 +70,14 @@ export class DeleteGameSessionQueueCommand extends $Command< private serialize( input: DeleteGameSessionQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteGameSessionQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteGameSessionQueueCommand(output, context); } diff --git a/clients/client-gamelift/commands/DeleteMatchmakingConfigurationCommand.ts b/clients/client-gamelift/commands/DeleteMatchmakingConfigurationCommand.ts index 0753a7a68a6f..5cab48bf0091 100644 --- a/clients/client-gamelift/commands/DeleteMatchmakingConfigurationCommand.ts +++ b/clients/client-gamelift/commands/DeleteMatchmakingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMatchmakingConfigurationCommandInput = DeleteMatchmakingConfigurationInput; @@ -70,7 +70,7 @@ export class DeleteMatchmakingConfigurationCommand extends $Command< private serialize( input: DeleteMatchmakingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteMatchmakingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteMatchmakingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteMatchmakingConfigurationCommand( output, diff --git a/clients/client-gamelift/commands/DeleteMatchmakingRuleSetCommand.ts b/clients/client-gamelift/commands/DeleteMatchmakingRuleSetCommand.ts index a9d5b27e3f68..d8f086e502fb 100644 --- a/clients/client-gamelift/commands/DeleteMatchmakingRuleSetCommand.ts +++ b/clients/client-gamelift/commands/DeleteMatchmakingRuleSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMatchmakingRuleSetCommandInput = DeleteMatchmakingRuleSetInput; @@ -70,14 +70,14 @@ export class DeleteMatchmakingRuleSetCommand extends $Command< private serialize( input: DeleteMatchmakingRuleSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteMatchmakingRuleSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteMatchmakingRuleSetCommand( output, diff --git a/clients/client-gamelift/commands/DeleteScalingPolicyCommand.ts b/clients/client-gamelift/commands/DeleteScalingPolicyCommand.ts index 96212623d0cf..7aee7b7f51b4 100644 --- a/clients/client-gamelift/commands/DeleteScalingPolicyCommand.ts +++ b/clients/client-gamelift/commands/DeleteScalingPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteScalingPolicyCommandInput = DeleteScalingPolicyInput; @@ -68,14 +68,14 @@ export class DeleteScalingPolicyCommand extends $Command< private serialize( input: DeleteScalingPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteScalingPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteScalingPolicyCommand(output, context); } diff --git a/clients/client-gamelift/commands/DeleteScriptCommand.ts b/clients/client-gamelift/commands/DeleteScriptCommand.ts index 680ab9014eb7..e9390bef1abe 100644 --- a/clients/client-gamelift/commands/DeleteScriptCommand.ts +++ b/clients/client-gamelift/commands/DeleteScriptCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteScriptCommandInput = DeleteScriptInput; @@ -65,14 +65,14 @@ export class DeleteScriptCommand extends $Command< private serialize( input: DeleteScriptCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteScriptCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteScriptCommand(output, context); } diff --git a/clients/client-gamelift/commands/DeleteVpcPeeringAuthorizationCommand.ts b/clients/client-gamelift/commands/DeleteVpcPeeringAuthorizationCommand.ts index d84a4309b234..0fd1b0c143f1 100644 --- a/clients/client-gamelift/commands/DeleteVpcPeeringAuthorizationCommand.ts +++ b/clients/client-gamelift/commands/DeleteVpcPeeringAuthorizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVpcPeeringAuthorizationCommandInput = DeleteVpcPeeringAuthorizationInput; @@ -70,7 +70,7 @@ export class DeleteVpcPeeringAuthorizationCommand extends $Command< private serialize( input: DeleteVpcPeeringAuthorizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteVpcPeeringAuthorizationCommand( input, @@ -80,7 +80,7 @@ export class DeleteVpcPeeringAuthorizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteVpcPeeringAuthorizationCommand( output, diff --git a/clients/client-gamelift/commands/DeleteVpcPeeringConnectionCommand.ts b/clients/client-gamelift/commands/DeleteVpcPeeringConnectionCommand.ts index e3c674d53219..348a6d9d6f95 100644 --- a/clients/client-gamelift/commands/DeleteVpcPeeringConnectionCommand.ts +++ b/clients/client-gamelift/commands/DeleteVpcPeeringConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVpcPeeringConnectionCommandInput = DeleteVpcPeeringConnectionInput; @@ -70,7 +70,7 @@ export class DeleteVpcPeeringConnectionCommand extends $Command< private serialize( input: DeleteVpcPeeringConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteVpcPeeringConnectionCommand( input, @@ -80,7 +80,7 @@ export class DeleteVpcPeeringConnectionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteVpcPeeringConnectionCommand( output, diff --git a/clients/client-gamelift/commands/DescribeAliasCommand.ts b/clients/client-gamelift/commands/DescribeAliasCommand.ts index 5d855b0114bf..3a55ead2971e 100644 --- a/clients/client-gamelift/commands/DescribeAliasCommand.ts +++ b/clients/client-gamelift/commands/DescribeAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAliasCommandInput = DescribeAliasInput; @@ -64,14 +64,14 @@ export class DescribeAliasCommand extends $Command< private serialize( input: DescribeAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAliasCommand(output, context); } diff --git a/clients/client-gamelift/commands/DescribeBuildCommand.ts b/clients/client-gamelift/commands/DescribeBuildCommand.ts index ad3542396c9c..03bb0e8dc5ba 100644 --- a/clients/client-gamelift/commands/DescribeBuildCommand.ts +++ b/clients/client-gamelift/commands/DescribeBuildCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBuildCommandInput = DescribeBuildInput; @@ -64,14 +64,14 @@ export class DescribeBuildCommand extends $Command< private serialize( input: DescribeBuildCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeBuildCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeBuildCommand(output, context); } diff --git a/clients/client-gamelift/commands/DescribeEC2InstanceLimitsCommand.ts b/clients/client-gamelift/commands/DescribeEC2InstanceLimitsCommand.ts index bd6a58cba1b9..f4f5cb6876e1 100644 --- a/clients/client-gamelift/commands/DescribeEC2InstanceLimitsCommand.ts +++ b/clients/client-gamelift/commands/DescribeEC2InstanceLimitsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEC2InstanceLimitsCommandInput = DescribeEC2InstanceLimitsInput; @@ -70,14 +70,14 @@ export class DescribeEC2InstanceLimitsCommand extends $Command< private serialize( input: DescribeEC2InstanceLimitsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEC2InstanceLimitsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEC2InstanceLimitsCommand( output, diff --git a/clients/client-gamelift/commands/DescribeFleetAttributesCommand.ts b/clients/client-gamelift/commands/DescribeFleetAttributesCommand.ts index 16593b836e73..6bed3c155577 100644 --- a/clients/client-gamelift/commands/DescribeFleetAttributesCommand.ts +++ b/clients/client-gamelift/commands/DescribeFleetAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFleetAttributesCommandInput = DescribeFleetAttributesInput; @@ -70,14 +70,14 @@ export class DescribeFleetAttributesCommand extends $Command< private serialize( input: DescribeFleetAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeFleetAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeFleetAttributesCommand( output, diff --git a/clients/client-gamelift/commands/DescribeFleetCapacityCommand.ts b/clients/client-gamelift/commands/DescribeFleetCapacityCommand.ts index e5e049a19730..df8fb9e0c9dc 100644 --- a/clients/client-gamelift/commands/DescribeFleetCapacityCommand.ts +++ b/clients/client-gamelift/commands/DescribeFleetCapacityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFleetCapacityCommandInput = DescribeFleetCapacityInput; @@ -70,14 +70,14 @@ export class DescribeFleetCapacityCommand extends $Command< private serialize( input: DescribeFleetCapacityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeFleetCapacityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeFleetCapacityCommand(output, context); } diff --git a/clients/client-gamelift/commands/DescribeFleetEventsCommand.ts b/clients/client-gamelift/commands/DescribeFleetEventsCommand.ts index 7d68e071df4a..2b4f46caeda0 100644 --- a/clients/client-gamelift/commands/DescribeFleetEventsCommand.ts +++ b/clients/client-gamelift/commands/DescribeFleetEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFleetEventsCommandInput = DescribeFleetEventsInput; @@ -70,14 +70,14 @@ export class DescribeFleetEventsCommand extends $Command< private serialize( input: DescribeFleetEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeFleetEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeFleetEventsCommand(output, context); } diff --git a/clients/client-gamelift/commands/DescribeFleetPortSettingsCommand.ts b/clients/client-gamelift/commands/DescribeFleetPortSettingsCommand.ts index 4fb7ac92ff32..48e03bc22459 100644 --- a/clients/client-gamelift/commands/DescribeFleetPortSettingsCommand.ts +++ b/clients/client-gamelift/commands/DescribeFleetPortSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFleetPortSettingsCommandInput = DescribeFleetPortSettingsInput; @@ -70,14 +70,14 @@ export class DescribeFleetPortSettingsCommand extends $Command< private serialize( input: DescribeFleetPortSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeFleetPortSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeFleetPortSettingsCommand( output, diff --git a/clients/client-gamelift/commands/DescribeFleetUtilizationCommand.ts b/clients/client-gamelift/commands/DescribeFleetUtilizationCommand.ts index bb6e811af9bd..ed6e82f5f395 100644 --- a/clients/client-gamelift/commands/DescribeFleetUtilizationCommand.ts +++ b/clients/client-gamelift/commands/DescribeFleetUtilizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFleetUtilizationCommandInput = DescribeFleetUtilizationInput; @@ -70,14 +70,14 @@ export class DescribeFleetUtilizationCommand extends $Command< private serialize( input: DescribeFleetUtilizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeFleetUtilizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeFleetUtilizationCommand( output, diff --git a/clients/client-gamelift/commands/DescribeGameSessionDetailsCommand.ts b/clients/client-gamelift/commands/DescribeGameSessionDetailsCommand.ts index 7f605b256c6e..37a70bbc342b 100644 --- a/clients/client-gamelift/commands/DescribeGameSessionDetailsCommand.ts +++ b/clients/client-gamelift/commands/DescribeGameSessionDetailsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGameSessionDetailsCommandInput = DescribeGameSessionDetailsInput; @@ -70,7 +70,7 @@ export class DescribeGameSessionDetailsCommand extends $Command< private serialize( input: DescribeGameSessionDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeGameSessionDetailsCommand( input, @@ -80,7 +80,7 @@ export class DescribeGameSessionDetailsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeGameSessionDetailsCommand( output, diff --git a/clients/client-gamelift/commands/DescribeGameSessionPlacementCommand.ts b/clients/client-gamelift/commands/DescribeGameSessionPlacementCommand.ts index 32ce6481a1e1..a5d9949cc8b4 100644 --- a/clients/client-gamelift/commands/DescribeGameSessionPlacementCommand.ts +++ b/clients/client-gamelift/commands/DescribeGameSessionPlacementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGameSessionPlacementCommandInput = DescribeGameSessionPlacementInput; @@ -70,7 +70,7 @@ export class DescribeGameSessionPlacementCommand extends $Command< private serialize( input: DescribeGameSessionPlacementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeGameSessionPlacementCommand( input, @@ -80,7 +80,7 @@ export class DescribeGameSessionPlacementCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeGameSessionPlacementCommand( output, diff --git a/clients/client-gamelift/commands/DescribeGameSessionQueuesCommand.ts b/clients/client-gamelift/commands/DescribeGameSessionQueuesCommand.ts index 547ecceef94f..2d73fd638d56 100644 --- a/clients/client-gamelift/commands/DescribeGameSessionQueuesCommand.ts +++ b/clients/client-gamelift/commands/DescribeGameSessionQueuesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGameSessionQueuesCommandInput = DescribeGameSessionQueuesInput; @@ -70,14 +70,14 @@ export class DescribeGameSessionQueuesCommand extends $Command< private serialize( input: DescribeGameSessionQueuesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeGameSessionQueuesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeGameSessionQueuesCommand( output, diff --git a/clients/client-gamelift/commands/DescribeGameSessionsCommand.ts b/clients/client-gamelift/commands/DescribeGameSessionsCommand.ts index 6b2e446f91ee..b1bbcfc1616c 100644 --- a/clients/client-gamelift/commands/DescribeGameSessionsCommand.ts +++ b/clients/client-gamelift/commands/DescribeGameSessionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGameSessionsCommandInput = DescribeGameSessionsInput; @@ -70,14 +70,14 @@ export class DescribeGameSessionsCommand extends $Command< private serialize( input: DescribeGameSessionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeGameSessionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeGameSessionsCommand(output, context); } diff --git a/clients/client-gamelift/commands/DescribeInstancesCommand.ts b/clients/client-gamelift/commands/DescribeInstancesCommand.ts index 0226597c8239..902a71f89878 100644 --- a/clients/client-gamelift/commands/DescribeInstancesCommand.ts +++ b/clients/client-gamelift/commands/DescribeInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstancesCommandInput = DescribeInstancesInput; @@ -67,14 +67,14 @@ export class DescribeInstancesCommand extends $Command< private serialize( input: DescribeInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeInstancesCommand(output, context); } diff --git a/clients/client-gamelift/commands/DescribeMatchmakingCommand.ts b/clients/client-gamelift/commands/DescribeMatchmakingCommand.ts index b8b3066dbac6..cdcd4892f2f8 100644 --- a/clients/client-gamelift/commands/DescribeMatchmakingCommand.ts +++ b/clients/client-gamelift/commands/DescribeMatchmakingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMatchmakingCommandInput = DescribeMatchmakingInput; @@ -70,14 +70,14 @@ export class DescribeMatchmakingCommand extends $Command< private serialize( input: DescribeMatchmakingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMatchmakingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMatchmakingCommand(output, context); } diff --git a/clients/client-gamelift/commands/DescribeMatchmakingConfigurationsCommand.ts b/clients/client-gamelift/commands/DescribeMatchmakingConfigurationsCommand.ts index 712815a7231c..69d84880ca5e 100644 --- a/clients/client-gamelift/commands/DescribeMatchmakingConfigurationsCommand.ts +++ b/clients/client-gamelift/commands/DescribeMatchmakingConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMatchmakingConfigurationsCommandInput = DescribeMatchmakingConfigurationsInput; @@ -70,7 +70,7 @@ export class DescribeMatchmakingConfigurationsCommand extends $Command< private serialize( input: DescribeMatchmakingConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMatchmakingConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeMatchmakingConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMatchmakingConfigurationsCommand( output, diff --git a/clients/client-gamelift/commands/DescribeMatchmakingRuleSetsCommand.ts b/clients/client-gamelift/commands/DescribeMatchmakingRuleSetsCommand.ts index 76ecaaaa34e0..7853e8f898aa 100644 --- a/clients/client-gamelift/commands/DescribeMatchmakingRuleSetsCommand.ts +++ b/clients/client-gamelift/commands/DescribeMatchmakingRuleSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMatchmakingRuleSetsCommandInput = DescribeMatchmakingRuleSetsInput; @@ -70,7 +70,7 @@ export class DescribeMatchmakingRuleSetsCommand extends $Command< private serialize( input: DescribeMatchmakingRuleSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMatchmakingRuleSetsCommand( input, @@ -80,7 +80,7 @@ export class DescribeMatchmakingRuleSetsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMatchmakingRuleSetsCommand( output, diff --git a/clients/client-gamelift/commands/DescribePlayerSessionsCommand.ts b/clients/client-gamelift/commands/DescribePlayerSessionsCommand.ts index 81843d43467e..ab5a23f47a97 100644 --- a/clients/client-gamelift/commands/DescribePlayerSessionsCommand.ts +++ b/clients/client-gamelift/commands/DescribePlayerSessionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePlayerSessionsCommandInput = DescribePlayerSessionsInput; @@ -70,14 +70,14 @@ export class DescribePlayerSessionsCommand extends $Command< private serialize( input: DescribePlayerSessionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePlayerSessionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePlayerSessionsCommand(output, context); } diff --git a/clients/client-gamelift/commands/DescribeRuntimeConfigurationCommand.ts b/clients/client-gamelift/commands/DescribeRuntimeConfigurationCommand.ts index 1530c88ba2d7..6f7c2d9fd476 100644 --- a/clients/client-gamelift/commands/DescribeRuntimeConfigurationCommand.ts +++ b/clients/client-gamelift/commands/DescribeRuntimeConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRuntimeConfigurationCommandInput = DescribeRuntimeConfigurationInput; @@ -70,7 +70,7 @@ export class DescribeRuntimeConfigurationCommand extends $Command< private serialize( input: DescribeRuntimeConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRuntimeConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DescribeRuntimeConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRuntimeConfigurationCommand( output, diff --git a/clients/client-gamelift/commands/DescribeScalingPoliciesCommand.ts b/clients/client-gamelift/commands/DescribeScalingPoliciesCommand.ts index 02e83511584d..2e2079efe11f 100644 --- a/clients/client-gamelift/commands/DescribeScalingPoliciesCommand.ts +++ b/clients/client-gamelift/commands/DescribeScalingPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScalingPoliciesCommandInput = DescribeScalingPoliciesInput; @@ -70,14 +70,14 @@ export class DescribeScalingPoliciesCommand extends $Command< private serialize( input: DescribeScalingPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeScalingPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeScalingPoliciesCommand( output, diff --git a/clients/client-gamelift/commands/DescribeScriptCommand.ts b/clients/client-gamelift/commands/DescribeScriptCommand.ts index e0615cd0636e..d37f0455f878 100644 --- a/clients/client-gamelift/commands/DescribeScriptCommand.ts +++ b/clients/client-gamelift/commands/DescribeScriptCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScriptCommandInput = DescribeScriptInput; @@ -64,14 +64,14 @@ export class DescribeScriptCommand extends $Command< private serialize( input: DescribeScriptCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeScriptCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeScriptCommand(output, context); } diff --git a/clients/client-gamelift/commands/DescribeVpcPeeringAuthorizationsCommand.ts b/clients/client-gamelift/commands/DescribeVpcPeeringAuthorizationsCommand.ts index 4455b0d054dd..b114fcc339db 100644 --- a/clients/client-gamelift/commands/DescribeVpcPeeringAuthorizationsCommand.ts +++ b/clients/client-gamelift/commands/DescribeVpcPeeringAuthorizationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcPeeringAuthorizationsCommandInput = DescribeVpcPeeringAuthorizationsInput; @@ -70,7 +70,7 @@ export class DescribeVpcPeeringAuthorizationsCommand extends $Command< private serialize( input: DescribeVpcPeeringAuthorizationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeVpcPeeringAuthorizationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeVpcPeeringAuthorizationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeVpcPeeringAuthorizationsCommand( output, diff --git a/clients/client-gamelift/commands/DescribeVpcPeeringConnectionsCommand.ts b/clients/client-gamelift/commands/DescribeVpcPeeringConnectionsCommand.ts index a8ee4ee85036..bec3740e6323 100644 --- a/clients/client-gamelift/commands/DescribeVpcPeeringConnectionsCommand.ts +++ b/clients/client-gamelift/commands/DescribeVpcPeeringConnectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVpcPeeringConnectionsCommandInput = DescribeVpcPeeringConnectionsInput; @@ -70,7 +70,7 @@ export class DescribeVpcPeeringConnectionsCommand extends $Command< private serialize( input: DescribeVpcPeeringConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeVpcPeeringConnectionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeVpcPeeringConnectionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeVpcPeeringConnectionsCommand( output, diff --git a/clients/client-gamelift/commands/GetGameSessionLogUrlCommand.ts b/clients/client-gamelift/commands/GetGameSessionLogUrlCommand.ts index 3ba3bba2622e..bb57d398cf60 100644 --- a/clients/client-gamelift/commands/GetGameSessionLogUrlCommand.ts +++ b/clients/client-gamelift/commands/GetGameSessionLogUrlCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGameSessionLogUrlCommandInput = GetGameSessionLogUrlInput; @@ -70,14 +70,14 @@ export class GetGameSessionLogUrlCommand extends $Command< private serialize( input: GetGameSessionLogUrlCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetGameSessionLogUrlCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetGameSessionLogUrlCommand(output, context); } diff --git a/clients/client-gamelift/commands/GetInstanceAccessCommand.ts b/clients/client-gamelift/commands/GetInstanceAccessCommand.ts index 1b650fa797fb..19508c94b452 100644 --- a/clients/client-gamelift/commands/GetInstanceAccessCommand.ts +++ b/clients/client-gamelift/commands/GetInstanceAccessCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstanceAccessCommandInput = GetInstanceAccessInput; @@ -67,14 +67,14 @@ export class GetInstanceAccessCommand extends $Command< private serialize( input: GetInstanceAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstanceAccessCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstanceAccessCommand(output, context); } diff --git a/clients/client-gamelift/commands/ListAliasesCommand.ts b/clients/client-gamelift/commands/ListAliasesCommand.ts index dfcb0d1ef220..28d421e6f5e6 100644 --- a/clients/client-gamelift/commands/ListAliasesCommand.ts +++ b/clients/client-gamelift/commands/ListAliasesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAliasesCommandInput = ListAliasesInput; @@ -64,14 +64,14 @@ export class ListAliasesCommand extends $Command< private serialize( input: ListAliasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAliasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAliasesCommand(output, context); } diff --git a/clients/client-gamelift/commands/ListBuildsCommand.ts b/clients/client-gamelift/commands/ListBuildsCommand.ts index ba00d76fafc7..1309bbc4e99e 100644 --- a/clients/client-gamelift/commands/ListBuildsCommand.ts +++ b/clients/client-gamelift/commands/ListBuildsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBuildsCommandInput = ListBuildsInput; @@ -64,14 +64,14 @@ export class ListBuildsCommand extends $Command< private serialize( input: ListBuildsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListBuildsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListBuildsCommand(output, context); } diff --git a/clients/client-gamelift/commands/ListFleetsCommand.ts b/clients/client-gamelift/commands/ListFleetsCommand.ts index 22c362d368ff..2702776944fd 100644 --- a/clients/client-gamelift/commands/ListFleetsCommand.ts +++ b/clients/client-gamelift/commands/ListFleetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFleetsCommandInput = ListFleetsInput; @@ -64,14 +64,14 @@ export class ListFleetsCommand extends $Command< private serialize( input: ListFleetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListFleetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListFleetsCommand(output, context); } diff --git a/clients/client-gamelift/commands/ListScriptsCommand.ts b/clients/client-gamelift/commands/ListScriptsCommand.ts index 95582bc6878e..649a4a82b67d 100644 --- a/clients/client-gamelift/commands/ListScriptsCommand.ts +++ b/clients/client-gamelift/commands/ListScriptsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListScriptsCommandInput = ListScriptsInput; @@ -64,14 +64,14 @@ export class ListScriptsCommand extends $Command< private serialize( input: ListScriptsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListScriptsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListScriptsCommand(output, context); } diff --git a/clients/client-gamelift/commands/ListTagsForResourceCommand.ts b/clients/client-gamelift/commands/ListTagsForResourceCommand.ts index 5aab9064d44e..af4114921a92 100644 --- a/clients/client-gamelift/commands/ListTagsForResourceCommand.ts +++ b/clients/client-gamelift/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-gamelift/commands/PutScalingPolicyCommand.ts b/clients/client-gamelift/commands/PutScalingPolicyCommand.ts index 044c8bfbdaf9..24faa80292d1 100644 --- a/clients/client-gamelift/commands/PutScalingPolicyCommand.ts +++ b/clients/client-gamelift/commands/PutScalingPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutScalingPolicyCommandInput = PutScalingPolicyInput; @@ -64,14 +64,14 @@ export class PutScalingPolicyCommand extends $Command< private serialize( input: PutScalingPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutScalingPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutScalingPolicyCommand(output, context); } diff --git a/clients/client-gamelift/commands/RequestUploadCredentialsCommand.ts b/clients/client-gamelift/commands/RequestUploadCredentialsCommand.ts index 20282935d0ea..cda9bdd20d99 100644 --- a/clients/client-gamelift/commands/RequestUploadCredentialsCommand.ts +++ b/clients/client-gamelift/commands/RequestUploadCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RequestUploadCredentialsCommandInput = RequestUploadCredentialsInput; @@ -70,14 +70,14 @@ export class RequestUploadCredentialsCommand extends $Command< private serialize( input: RequestUploadCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RequestUploadCredentialsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RequestUploadCredentialsCommand( output, diff --git a/clients/client-gamelift/commands/ResolveAliasCommand.ts b/clients/client-gamelift/commands/ResolveAliasCommand.ts index 8945bfcab757..2e9e6646ae29 100644 --- a/clients/client-gamelift/commands/ResolveAliasCommand.ts +++ b/clients/client-gamelift/commands/ResolveAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResolveAliasCommandInput = ResolveAliasInput; @@ -64,14 +64,14 @@ export class ResolveAliasCommand extends $Command< private serialize( input: ResolveAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResolveAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResolveAliasCommand(output, context); } diff --git a/clients/client-gamelift/commands/SearchGameSessionsCommand.ts b/clients/client-gamelift/commands/SearchGameSessionsCommand.ts index 690e51e969d2..0846be400af3 100644 --- a/clients/client-gamelift/commands/SearchGameSessionsCommand.ts +++ b/clients/client-gamelift/commands/SearchGameSessionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchGameSessionsCommandInput = SearchGameSessionsInput; @@ -67,14 +67,14 @@ export class SearchGameSessionsCommand extends $Command< private serialize( input: SearchGameSessionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchGameSessionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchGameSessionsCommand(output, context); } diff --git a/clients/client-gamelift/commands/StartFleetActionsCommand.ts b/clients/client-gamelift/commands/StartFleetActionsCommand.ts index 809edb018eb4..dca049776093 100644 --- a/clients/client-gamelift/commands/StartFleetActionsCommand.ts +++ b/clients/client-gamelift/commands/StartFleetActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartFleetActionsCommandInput = StartFleetActionsInput; @@ -67,14 +67,14 @@ export class StartFleetActionsCommand extends $Command< private serialize( input: StartFleetActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartFleetActionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartFleetActionsCommand(output, context); } diff --git a/clients/client-gamelift/commands/StartGameSessionPlacementCommand.ts b/clients/client-gamelift/commands/StartGameSessionPlacementCommand.ts index 9c3eb8626173..1a4c3681efad 100644 --- a/clients/client-gamelift/commands/StartGameSessionPlacementCommand.ts +++ b/clients/client-gamelift/commands/StartGameSessionPlacementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartGameSessionPlacementCommandInput = StartGameSessionPlacementInput; @@ -70,14 +70,14 @@ export class StartGameSessionPlacementCommand extends $Command< private serialize( input: StartGameSessionPlacementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartGameSessionPlacementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartGameSessionPlacementCommand( output, diff --git a/clients/client-gamelift/commands/StartMatchBackfillCommand.ts b/clients/client-gamelift/commands/StartMatchBackfillCommand.ts index d29ac188392b..83d2fcb9a010 100644 --- a/clients/client-gamelift/commands/StartMatchBackfillCommand.ts +++ b/clients/client-gamelift/commands/StartMatchBackfillCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartMatchBackfillCommandInput = StartMatchBackfillInput; @@ -67,14 +67,14 @@ export class StartMatchBackfillCommand extends $Command< private serialize( input: StartMatchBackfillCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartMatchBackfillCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartMatchBackfillCommand(output, context); } diff --git a/clients/client-gamelift/commands/StartMatchmakingCommand.ts b/clients/client-gamelift/commands/StartMatchmakingCommand.ts index 396ae249709d..2c2ed57a023c 100644 --- a/clients/client-gamelift/commands/StartMatchmakingCommand.ts +++ b/clients/client-gamelift/commands/StartMatchmakingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartMatchmakingCommandInput = StartMatchmakingInput; @@ -64,14 +64,14 @@ export class StartMatchmakingCommand extends $Command< private serialize( input: StartMatchmakingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartMatchmakingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartMatchmakingCommand(output, context); } diff --git a/clients/client-gamelift/commands/StopFleetActionsCommand.ts b/clients/client-gamelift/commands/StopFleetActionsCommand.ts index 60d9209a9687..126f53b0e39a 100644 --- a/clients/client-gamelift/commands/StopFleetActionsCommand.ts +++ b/clients/client-gamelift/commands/StopFleetActionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopFleetActionsCommandInput = StopFleetActionsInput; @@ -64,14 +64,14 @@ export class StopFleetActionsCommand extends $Command< private serialize( input: StopFleetActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopFleetActionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopFleetActionsCommand(output, context); } diff --git a/clients/client-gamelift/commands/StopGameSessionPlacementCommand.ts b/clients/client-gamelift/commands/StopGameSessionPlacementCommand.ts index 8bc79037af79..aa9bb464ba0b 100644 --- a/clients/client-gamelift/commands/StopGameSessionPlacementCommand.ts +++ b/clients/client-gamelift/commands/StopGameSessionPlacementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopGameSessionPlacementCommandInput = StopGameSessionPlacementInput; @@ -70,14 +70,14 @@ export class StopGameSessionPlacementCommand extends $Command< private serialize( input: StopGameSessionPlacementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopGameSessionPlacementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopGameSessionPlacementCommand( output, diff --git a/clients/client-gamelift/commands/StopMatchmakingCommand.ts b/clients/client-gamelift/commands/StopMatchmakingCommand.ts index f2610008f7c4..97d06ce33317 100644 --- a/clients/client-gamelift/commands/StopMatchmakingCommand.ts +++ b/clients/client-gamelift/commands/StopMatchmakingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopMatchmakingCommandInput = StopMatchmakingInput; @@ -64,14 +64,14 @@ export class StopMatchmakingCommand extends $Command< private serialize( input: StopMatchmakingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopMatchmakingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopMatchmakingCommand(output, context); } diff --git a/clients/client-gamelift/commands/TagResourceCommand.ts b/clients/client-gamelift/commands/TagResourceCommand.ts index 4ecedf93dd76..2e4ddbb2df7f 100644 --- a/clients/client-gamelift/commands/TagResourceCommand.ts +++ b/clients/client-gamelift/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-gamelift/commands/UntagResourceCommand.ts b/clients/client-gamelift/commands/UntagResourceCommand.ts index b553b6a69a7b..9702624a1e12 100644 --- a/clients/client-gamelift/commands/UntagResourceCommand.ts +++ b/clients/client-gamelift/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-gamelift/commands/UpdateAliasCommand.ts b/clients/client-gamelift/commands/UpdateAliasCommand.ts index 5f693bd9a0a9..183a165b8714 100644 --- a/clients/client-gamelift/commands/UpdateAliasCommand.ts +++ b/clients/client-gamelift/commands/UpdateAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAliasCommandInput = UpdateAliasInput; @@ -64,14 +64,14 @@ export class UpdateAliasCommand extends $Command< private serialize( input: UpdateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAliasCommand(output, context); } diff --git a/clients/client-gamelift/commands/UpdateBuildCommand.ts b/clients/client-gamelift/commands/UpdateBuildCommand.ts index 63e203fe03b5..d44442052829 100644 --- a/clients/client-gamelift/commands/UpdateBuildCommand.ts +++ b/clients/client-gamelift/commands/UpdateBuildCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBuildCommandInput = UpdateBuildInput; @@ -64,14 +64,14 @@ export class UpdateBuildCommand extends $Command< private serialize( input: UpdateBuildCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateBuildCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateBuildCommand(output, context); } diff --git a/clients/client-gamelift/commands/UpdateFleetAttributesCommand.ts b/clients/client-gamelift/commands/UpdateFleetAttributesCommand.ts index adba67d80b94..ed6d0c11d4a5 100644 --- a/clients/client-gamelift/commands/UpdateFleetAttributesCommand.ts +++ b/clients/client-gamelift/commands/UpdateFleetAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFleetAttributesCommandInput = UpdateFleetAttributesInput; @@ -70,14 +70,14 @@ export class UpdateFleetAttributesCommand extends $Command< private serialize( input: UpdateFleetAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateFleetAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateFleetAttributesCommand(output, context); } diff --git a/clients/client-gamelift/commands/UpdateFleetCapacityCommand.ts b/clients/client-gamelift/commands/UpdateFleetCapacityCommand.ts index 3f77a330f77e..5e1e4cc0e47f 100644 --- a/clients/client-gamelift/commands/UpdateFleetCapacityCommand.ts +++ b/clients/client-gamelift/commands/UpdateFleetCapacityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFleetCapacityCommandInput = UpdateFleetCapacityInput; @@ -70,14 +70,14 @@ export class UpdateFleetCapacityCommand extends $Command< private serialize( input: UpdateFleetCapacityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateFleetCapacityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateFleetCapacityCommand(output, context); } diff --git a/clients/client-gamelift/commands/UpdateFleetPortSettingsCommand.ts b/clients/client-gamelift/commands/UpdateFleetPortSettingsCommand.ts index c5db3253b79b..c39639d52275 100644 --- a/clients/client-gamelift/commands/UpdateFleetPortSettingsCommand.ts +++ b/clients/client-gamelift/commands/UpdateFleetPortSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFleetPortSettingsCommandInput = UpdateFleetPortSettingsInput; @@ -70,14 +70,14 @@ export class UpdateFleetPortSettingsCommand extends $Command< private serialize( input: UpdateFleetPortSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateFleetPortSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateFleetPortSettingsCommand( output, diff --git a/clients/client-gamelift/commands/UpdateGameSessionCommand.ts b/clients/client-gamelift/commands/UpdateGameSessionCommand.ts index bcf598f3e9bb..3dfb118575e0 100644 --- a/clients/client-gamelift/commands/UpdateGameSessionCommand.ts +++ b/clients/client-gamelift/commands/UpdateGameSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGameSessionCommandInput = UpdateGameSessionInput; @@ -67,14 +67,14 @@ export class UpdateGameSessionCommand extends $Command< private serialize( input: UpdateGameSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateGameSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateGameSessionCommand(output, context); } diff --git a/clients/client-gamelift/commands/UpdateGameSessionQueueCommand.ts b/clients/client-gamelift/commands/UpdateGameSessionQueueCommand.ts index fc1d9563c358..afcaac4388c1 100644 --- a/clients/client-gamelift/commands/UpdateGameSessionQueueCommand.ts +++ b/clients/client-gamelift/commands/UpdateGameSessionQueueCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGameSessionQueueCommandInput = UpdateGameSessionQueueInput; @@ -70,14 +70,14 @@ export class UpdateGameSessionQueueCommand extends $Command< private serialize( input: UpdateGameSessionQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateGameSessionQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateGameSessionQueueCommand(output, context); } diff --git a/clients/client-gamelift/commands/UpdateMatchmakingConfigurationCommand.ts b/clients/client-gamelift/commands/UpdateMatchmakingConfigurationCommand.ts index b87f5d9a3072..fcd8f494e47f 100644 --- a/clients/client-gamelift/commands/UpdateMatchmakingConfigurationCommand.ts +++ b/clients/client-gamelift/commands/UpdateMatchmakingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMatchmakingConfigurationCommandInput = UpdateMatchmakingConfigurationInput; @@ -70,7 +70,7 @@ export class UpdateMatchmakingConfigurationCommand extends $Command< private serialize( input: UpdateMatchmakingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateMatchmakingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateMatchmakingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateMatchmakingConfigurationCommand( output, diff --git a/clients/client-gamelift/commands/UpdateRuntimeConfigurationCommand.ts b/clients/client-gamelift/commands/UpdateRuntimeConfigurationCommand.ts index 393be98731e9..494f286d6b5a 100644 --- a/clients/client-gamelift/commands/UpdateRuntimeConfigurationCommand.ts +++ b/clients/client-gamelift/commands/UpdateRuntimeConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRuntimeConfigurationCommandInput = UpdateRuntimeConfigurationInput; @@ -70,7 +70,7 @@ export class UpdateRuntimeConfigurationCommand extends $Command< private serialize( input: UpdateRuntimeConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRuntimeConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateRuntimeConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRuntimeConfigurationCommand( output, diff --git a/clients/client-gamelift/commands/UpdateScriptCommand.ts b/clients/client-gamelift/commands/UpdateScriptCommand.ts index c166f92e163e..ed3dc46d1be3 100644 --- a/clients/client-gamelift/commands/UpdateScriptCommand.ts +++ b/clients/client-gamelift/commands/UpdateScriptCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateScriptCommandInput = UpdateScriptInput; @@ -64,14 +64,14 @@ export class UpdateScriptCommand extends $Command< private serialize( input: UpdateScriptCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateScriptCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateScriptCommand(output, context); } diff --git a/clients/client-gamelift/commands/ValidateMatchmakingRuleSetCommand.ts b/clients/client-gamelift/commands/ValidateMatchmakingRuleSetCommand.ts index f739fe488153..1e283d80d1e9 100644 --- a/clients/client-gamelift/commands/ValidateMatchmakingRuleSetCommand.ts +++ b/clients/client-gamelift/commands/ValidateMatchmakingRuleSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ValidateMatchmakingRuleSetCommandInput = ValidateMatchmakingRuleSetInput; @@ -70,7 +70,7 @@ export class ValidateMatchmakingRuleSetCommand extends $Command< private serialize( input: ValidateMatchmakingRuleSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ValidateMatchmakingRuleSetCommand( input, @@ -80,7 +80,7 @@ export class ValidateMatchmakingRuleSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ValidateMatchmakingRuleSetCommand( output, diff --git a/clients/client-gamelift/protocols/Aws_json1_1.ts b/clients/client-gamelift/protocols/Aws_json1_1.ts index 55bb30669605..449ec64f3a91 100644 --- a/clients/client-gamelift/protocols/Aws_json1_1.ts +++ b/clients/client-gamelift/protocols/Aws_json1_1.ts @@ -13520,6 +13520,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-glacier/commands/AbortMultipartUploadCommand.ts b/clients/client-glacier/commands/AbortMultipartUploadCommand.ts index 396a6ccd5618..865fe65726e4 100644 --- a/clients/client-glacier/commands/AbortMultipartUploadCommand.ts +++ b/clients/client-glacier/commands/AbortMultipartUploadCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AbortMultipartUploadCommandInput = AbortMultipartUploadInput; @@ -68,14 +68,14 @@ export class AbortMultipartUploadCommand extends $Command< private serialize( input: AbortMultipartUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AbortMultipartUploadCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AbortMultipartUploadCommand( output, diff --git a/clients/client-glacier/commands/AbortVaultLockCommand.ts b/clients/client-glacier/commands/AbortVaultLockCommand.ts index 9de26ff84f5d..038ffac62d88 100644 --- a/clients/client-glacier/commands/AbortVaultLockCommand.ts +++ b/clients/client-glacier/commands/AbortVaultLockCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AbortVaultLockCommandInput = AbortVaultLockInput; @@ -65,14 +65,14 @@ export class AbortVaultLockCommand extends $Command< private serialize( input: AbortVaultLockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AbortVaultLockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AbortVaultLockCommand(output, context); } diff --git a/clients/client-glacier/commands/AddTagsToVaultCommand.ts b/clients/client-glacier/commands/AddTagsToVaultCommand.ts index 1c798f4aebcc..a67f45a21df3 100644 --- a/clients/client-glacier/commands/AddTagsToVaultCommand.ts +++ b/clients/client-glacier/commands/AddTagsToVaultCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToVaultCommandInput = AddTagsToVaultInput; @@ -65,14 +65,14 @@ export class AddTagsToVaultCommand extends $Command< private serialize( input: AddTagsToVaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AddTagsToVaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AddTagsToVaultCommand(output, context); } diff --git a/clients/client-glacier/commands/CompleteMultipartUploadCommand.ts b/clients/client-glacier/commands/CompleteMultipartUploadCommand.ts index 3de29091e2eb..596da0de2290 100644 --- a/clients/client-glacier/commands/CompleteMultipartUploadCommand.ts +++ b/clients/client-glacier/commands/CompleteMultipartUploadCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CompleteMultipartUploadCommandInput = CompleteMultipartUploadInput; @@ -70,7 +70,7 @@ export class CompleteMultipartUploadCommand extends $Command< private serialize( input: CompleteMultipartUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CompleteMultipartUploadCommand( input, @@ -80,7 +80,7 @@ export class CompleteMultipartUploadCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CompleteMultipartUploadCommand( output, diff --git a/clients/client-glacier/commands/CompleteVaultLockCommand.ts b/clients/client-glacier/commands/CompleteVaultLockCommand.ts index cdca9e80bc27..a4c83e813c4d 100644 --- a/clients/client-glacier/commands/CompleteVaultLockCommand.ts +++ b/clients/client-glacier/commands/CompleteVaultLockCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CompleteVaultLockCommandInput = CompleteVaultLockInput; @@ -65,14 +65,14 @@ export class CompleteVaultLockCommand extends $Command< private serialize( input: CompleteVaultLockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CompleteVaultLockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CompleteVaultLockCommand(output, context); } diff --git a/clients/client-glacier/commands/CreateVaultCommand.ts b/clients/client-glacier/commands/CreateVaultCommand.ts index a0e4b1c09ed1..351030798d96 100644 --- a/clients/client-glacier/commands/CreateVaultCommand.ts +++ b/clients/client-glacier/commands/CreateVaultCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVaultCommandInput = CreateVaultInput; @@ -64,14 +64,14 @@ export class CreateVaultCommand extends $Command< private serialize( input: CreateVaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateVaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateVaultCommand(output, context); } diff --git a/clients/client-glacier/commands/DeleteArchiveCommand.ts b/clients/client-glacier/commands/DeleteArchiveCommand.ts index 6066a677e329..1e8b5c04cdc0 100644 --- a/clients/client-glacier/commands/DeleteArchiveCommand.ts +++ b/clients/client-glacier/commands/DeleteArchiveCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteArchiveCommandInput = DeleteArchiveInput; @@ -65,14 +65,14 @@ export class DeleteArchiveCommand extends $Command< private serialize( input: DeleteArchiveCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteArchiveCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteArchiveCommand(output, context); } diff --git a/clients/client-glacier/commands/DeleteVaultAccessPolicyCommand.ts b/clients/client-glacier/commands/DeleteVaultAccessPolicyCommand.ts index 1ec5ec3b3680..19ce1b4667ec 100644 --- a/clients/client-glacier/commands/DeleteVaultAccessPolicyCommand.ts +++ b/clients/client-glacier/commands/DeleteVaultAccessPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVaultAccessPolicyCommandInput = DeleteVaultAccessPolicyInput; @@ -68,7 +68,7 @@ export class DeleteVaultAccessPolicyCommand extends $Command< private serialize( input: DeleteVaultAccessPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVaultAccessPolicyCommand( input, @@ -78,7 +78,7 @@ export class DeleteVaultAccessPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVaultAccessPolicyCommand( output, diff --git a/clients/client-glacier/commands/DeleteVaultCommand.ts b/clients/client-glacier/commands/DeleteVaultCommand.ts index 08e72ddf8e34..51903d0f3e87 100644 --- a/clients/client-glacier/commands/DeleteVaultCommand.ts +++ b/clients/client-glacier/commands/DeleteVaultCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVaultCommandInput = DeleteVaultInput; @@ -65,14 +65,14 @@ export class DeleteVaultCommand extends $Command< private serialize( input: DeleteVaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVaultCommand(output, context); } diff --git a/clients/client-glacier/commands/DeleteVaultNotificationsCommand.ts b/clients/client-glacier/commands/DeleteVaultNotificationsCommand.ts index 25be9488a4c2..0673ef0670bd 100644 --- a/clients/client-glacier/commands/DeleteVaultNotificationsCommand.ts +++ b/clients/client-glacier/commands/DeleteVaultNotificationsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVaultNotificationsCommandInput = DeleteVaultNotificationsInput; @@ -68,7 +68,7 @@ export class DeleteVaultNotificationsCommand extends $Command< private serialize( input: DeleteVaultNotificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVaultNotificationsCommand( input, @@ -78,7 +78,7 @@ export class DeleteVaultNotificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVaultNotificationsCommand( output, diff --git a/clients/client-glacier/commands/DescribeJobCommand.ts b/clients/client-glacier/commands/DescribeJobCommand.ts index 57ca1dfe43e0..ba853d35c6bc 100644 --- a/clients/client-glacier/commands/DescribeJobCommand.ts +++ b/clients/client-glacier/commands/DescribeJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeJobCommandInput = DescribeJobInput; @@ -64,14 +64,14 @@ export class DescribeJobCommand extends $Command< private serialize( input: DescribeJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeJobCommand(output, context); } diff --git a/clients/client-glacier/commands/DescribeVaultCommand.ts b/clients/client-glacier/commands/DescribeVaultCommand.ts index 604f6f3cb712..2467ffeeb53a 100644 --- a/clients/client-glacier/commands/DescribeVaultCommand.ts +++ b/clients/client-glacier/commands/DescribeVaultCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVaultCommandInput = DescribeVaultInput; @@ -64,14 +64,14 @@ export class DescribeVaultCommand extends $Command< private serialize( input: DescribeVaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeVaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeVaultCommand(output, context); } diff --git a/clients/client-glacier/commands/GetDataRetrievalPolicyCommand.ts b/clients/client-glacier/commands/GetDataRetrievalPolicyCommand.ts index 81ffa42f1612..030d74c74baf 100644 --- a/clients/client-glacier/commands/GetDataRetrievalPolicyCommand.ts +++ b/clients/client-glacier/commands/GetDataRetrievalPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDataRetrievalPolicyCommandInput = GetDataRetrievalPolicyInput; @@ -70,7 +70,7 @@ export class GetDataRetrievalPolicyCommand extends $Command< private serialize( input: GetDataRetrievalPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDataRetrievalPolicyCommand( input, @@ -80,7 +80,7 @@ export class GetDataRetrievalPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDataRetrievalPolicyCommand( output, diff --git a/clients/client-glacier/commands/GetJobOutputCommand.ts b/clients/client-glacier/commands/GetJobOutputCommand.ts index e41d638ee572..b7bf25bfe405 100644 --- a/clients/client-glacier/commands/GetJobOutputCommand.ts +++ b/clients/client-glacier/commands/GetJobOutputCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobOutputCommandInput = GetJobOutputInput; @@ -64,14 +64,14 @@ export class GetJobOutputCommand extends $Command< private serialize( input: GetJobOutputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetJobOutputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetJobOutputCommand(output, context); } diff --git a/clients/client-glacier/commands/GetVaultAccessPolicyCommand.ts b/clients/client-glacier/commands/GetVaultAccessPolicyCommand.ts index 96c6c25203dc..e8f6cad4e62b 100644 --- a/clients/client-glacier/commands/GetVaultAccessPolicyCommand.ts +++ b/clients/client-glacier/commands/GetVaultAccessPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVaultAccessPolicyCommandInput = GetVaultAccessPolicyInput; @@ -70,14 +70,14 @@ export class GetVaultAccessPolicyCommand extends $Command< private serialize( input: GetVaultAccessPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVaultAccessPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVaultAccessPolicyCommand( output, diff --git a/clients/client-glacier/commands/GetVaultLockCommand.ts b/clients/client-glacier/commands/GetVaultLockCommand.ts index ed20e64b8849..22052cda59bd 100644 --- a/clients/client-glacier/commands/GetVaultLockCommand.ts +++ b/clients/client-glacier/commands/GetVaultLockCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVaultLockCommandInput = GetVaultLockInput; @@ -64,14 +64,14 @@ export class GetVaultLockCommand extends $Command< private serialize( input: GetVaultLockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVaultLockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVaultLockCommand(output, context); } diff --git a/clients/client-glacier/commands/GetVaultNotificationsCommand.ts b/clients/client-glacier/commands/GetVaultNotificationsCommand.ts index 72383e844a4f..391af48dd88f 100644 --- a/clients/client-glacier/commands/GetVaultNotificationsCommand.ts +++ b/clients/client-glacier/commands/GetVaultNotificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVaultNotificationsCommandInput = GetVaultNotificationsInput; @@ -70,14 +70,14 @@ export class GetVaultNotificationsCommand extends $Command< private serialize( input: GetVaultNotificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVaultNotificationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVaultNotificationsCommand( output, diff --git a/clients/client-glacier/commands/InitiateJobCommand.ts b/clients/client-glacier/commands/InitiateJobCommand.ts index 88837256617f..e9cd55ec0fdf 100644 --- a/clients/client-glacier/commands/InitiateJobCommand.ts +++ b/clients/client-glacier/commands/InitiateJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InitiateJobCommandInput = InitiateJobInput; @@ -64,14 +64,14 @@ export class InitiateJobCommand extends $Command< private serialize( input: InitiateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InitiateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InitiateJobCommand(output, context); } diff --git a/clients/client-glacier/commands/InitiateMultipartUploadCommand.ts b/clients/client-glacier/commands/InitiateMultipartUploadCommand.ts index 2b88777f989a..f54eb133e826 100644 --- a/clients/client-glacier/commands/InitiateMultipartUploadCommand.ts +++ b/clients/client-glacier/commands/InitiateMultipartUploadCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InitiateMultipartUploadCommandInput = InitiateMultipartUploadInput; @@ -70,7 +70,7 @@ export class InitiateMultipartUploadCommand extends $Command< private serialize( input: InitiateMultipartUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InitiateMultipartUploadCommand( input, @@ -80,7 +80,7 @@ export class InitiateMultipartUploadCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InitiateMultipartUploadCommand( output, diff --git a/clients/client-glacier/commands/InitiateVaultLockCommand.ts b/clients/client-glacier/commands/InitiateVaultLockCommand.ts index 5e5fc8c74166..da2ebdfd5966 100644 --- a/clients/client-glacier/commands/InitiateVaultLockCommand.ts +++ b/clients/client-glacier/commands/InitiateVaultLockCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InitiateVaultLockCommandInput = InitiateVaultLockInput; @@ -67,14 +67,14 @@ export class InitiateVaultLockCommand extends $Command< private serialize( input: InitiateVaultLockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InitiateVaultLockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InitiateVaultLockCommand(output, context); } diff --git a/clients/client-glacier/commands/ListJobsCommand.ts b/clients/client-glacier/commands/ListJobsCommand.ts index 98385b3f0084..625744d68e27 100644 --- a/clients/client-glacier/commands/ListJobsCommand.ts +++ b/clients/client-glacier/commands/ListJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsCommandInput = ListJobsInput; @@ -64,14 +64,14 @@ export class ListJobsCommand extends $Command< private serialize( input: ListJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJobsCommand(output, context); } diff --git a/clients/client-glacier/commands/ListMultipartUploadsCommand.ts b/clients/client-glacier/commands/ListMultipartUploadsCommand.ts index 70aaec402483..51af489e4935 100644 --- a/clients/client-glacier/commands/ListMultipartUploadsCommand.ts +++ b/clients/client-glacier/commands/ListMultipartUploadsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMultipartUploadsCommandInput = ListMultipartUploadsInput; @@ -70,14 +70,14 @@ export class ListMultipartUploadsCommand extends $Command< private serialize( input: ListMultipartUploadsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListMultipartUploadsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListMultipartUploadsCommand( output, diff --git a/clients/client-glacier/commands/ListPartsCommand.ts b/clients/client-glacier/commands/ListPartsCommand.ts index 542a6fc1e33b..b8cc4af7056c 100644 --- a/clients/client-glacier/commands/ListPartsCommand.ts +++ b/clients/client-glacier/commands/ListPartsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPartsCommandInput = ListPartsInput; @@ -64,14 +64,14 @@ export class ListPartsCommand extends $Command< private serialize( input: ListPartsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPartsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPartsCommand(output, context); } diff --git a/clients/client-glacier/commands/ListProvisionedCapacityCommand.ts b/clients/client-glacier/commands/ListProvisionedCapacityCommand.ts index d4c6edcfd23f..8627186de81a 100644 --- a/clients/client-glacier/commands/ListProvisionedCapacityCommand.ts +++ b/clients/client-glacier/commands/ListProvisionedCapacityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProvisionedCapacityCommandInput = ListProvisionedCapacityInput; @@ -70,7 +70,7 @@ export class ListProvisionedCapacityCommand extends $Command< private serialize( input: ListProvisionedCapacityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListProvisionedCapacityCommand( input, @@ -80,7 +80,7 @@ export class ListProvisionedCapacityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListProvisionedCapacityCommand( output, diff --git a/clients/client-glacier/commands/ListTagsForVaultCommand.ts b/clients/client-glacier/commands/ListTagsForVaultCommand.ts index c8f4d6608c42..2c31b656c0d8 100644 --- a/clients/client-glacier/commands/ListTagsForVaultCommand.ts +++ b/clients/client-glacier/commands/ListTagsForVaultCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForVaultCommandInput = ListTagsForVaultInput; @@ -64,14 +64,14 @@ export class ListTagsForVaultCommand extends $Command< private serialize( input: ListTagsForVaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForVaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForVaultCommand(output, context); } diff --git a/clients/client-glacier/commands/ListVaultsCommand.ts b/clients/client-glacier/commands/ListVaultsCommand.ts index 4679c5ad1424..6699d8557acd 100644 --- a/clients/client-glacier/commands/ListVaultsCommand.ts +++ b/clients/client-glacier/commands/ListVaultsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVaultsCommandInput = ListVaultsInput; @@ -64,14 +64,14 @@ export class ListVaultsCommand extends $Command< private serialize( input: ListVaultsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListVaultsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListVaultsCommand(output, context); } diff --git a/clients/client-glacier/commands/PurchaseProvisionedCapacityCommand.ts b/clients/client-glacier/commands/PurchaseProvisionedCapacityCommand.ts index 42f41217339d..94b8a557ab23 100644 --- a/clients/client-glacier/commands/PurchaseProvisionedCapacityCommand.ts +++ b/clients/client-glacier/commands/PurchaseProvisionedCapacityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PurchaseProvisionedCapacityCommandInput = PurchaseProvisionedCapacityInput; @@ -70,7 +70,7 @@ export class PurchaseProvisionedCapacityCommand extends $Command< private serialize( input: PurchaseProvisionedCapacityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PurchaseProvisionedCapacityCommand( input, @@ -80,7 +80,7 @@ export class PurchaseProvisionedCapacityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PurchaseProvisionedCapacityCommand( output, diff --git a/clients/client-glacier/commands/RemoveTagsFromVaultCommand.ts b/clients/client-glacier/commands/RemoveTagsFromVaultCommand.ts index 4631f06f1a90..27d7a58844e9 100644 --- a/clients/client-glacier/commands/RemoveTagsFromVaultCommand.ts +++ b/clients/client-glacier/commands/RemoveTagsFromVaultCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromVaultCommandInput = RemoveTagsFromVaultInput; @@ -68,14 +68,14 @@ export class RemoveTagsFromVaultCommand extends $Command< private serialize( input: RemoveTagsFromVaultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RemoveTagsFromVaultCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RemoveTagsFromVaultCommand( output, diff --git a/clients/client-glacier/commands/SetDataRetrievalPolicyCommand.ts b/clients/client-glacier/commands/SetDataRetrievalPolicyCommand.ts index 6ff2f22bf7a4..3ce4fb0322dd 100644 --- a/clients/client-glacier/commands/SetDataRetrievalPolicyCommand.ts +++ b/clients/client-glacier/commands/SetDataRetrievalPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetDataRetrievalPolicyCommandInput = SetDataRetrievalPolicyInput; @@ -68,7 +68,7 @@ export class SetDataRetrievalPolicyCommand extends $Command< private serialize( input: SetDataRetrievalPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SetDataRetrievalPolicyCommand( input, @@ -78,7 +78,7 @@ export class SetDataRetrievalPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SetDataRetrievalPolicyCommand( output, diff --git a/clients/client-glacier/commands/SetVaultAccessPolicyCommand.ts b/clients/client-glacier/commands/SetVaultAccessPolicyCommand.ts index 835ce63ca8c8..cfb145250ada 100644 --- a/clients/client-glacier/commands/SetVaultAccessPolicyCommand.ts +++ b/clients/client-glacier/commands/SetVaultAccessPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetVaultAccessPolicyCommandInput = SetVaultAccessPolicyInput; @@ -68,14 +68,14 @@ export class SetVaultAccessPolicyCommand extends $Command< private serialize( input: SetVaultAccessPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SetVaultAccessPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SetVaultAccessPolicyCommand( output, diff --git a/clients/client-glacier/commands/SetVaultNotificationsCommand.ts b/clients/client-glacier/commands/SetVaultNotificationsCommand.ts index a7620943bcc6..dd3a36faec6e 100644 --- a/clients/client-glacier/commands/SetVaultNotificationsCommand.ts +++ b/clients/client-glacier/commands/SetVaultNotificationsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetVaultNotificationsCommandInput = SetVaultNotificationsInput; @@ -68,14 +68,14 @@ export class SetVaultNotificationsCommand extends $Command< private serialize( input: SetVaultNotificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SetVaultNotificationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SetVaultNotificationsCommand( output, diff --git a/clients/client-glacier/commands/UploadArchiveCommand.ts b/clients/client-glacier/commands/UploadArchiveCommand.ts index 61baa2e568ec..8dc4a76d9d91 100644 --- a/clients/client-glacier/commands/UploadArchiveCommand.ts +++ b/clients/client-glacier/commands/UploadArchiveCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UploadArchiveCommandInput = UploadArchiveInput; @@ -64,14 +64,14 @@ export class UploadArchiveCommand extends $Command< private serialize( input: UploadArchiveCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UploadArchiveCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UploadArchiveCommand(output, context); } diff --git a/clients/client-glacier/commands/UploadMultipartPartCommand.ts b/clients/client-glacier/commands/UploadMultipartPartCommand.ts index b8b8b626a25f..f321aecc7a57 100644 --- a/clients/client-glacier/commands/UploadMultipartPartCommand.ts +++ b/clients/client-glacier/commands/UploadMultipartPartCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UploadMultipartPartCommandInput = UploadMultipartPartInput; @@ -70,14 +70,14 @@ export class UploadMultipartPartCommand extends $Command< private serialize( input: UploadMultipartPartCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UploadMultipartPartCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UploadMultipartPartCommand( output, diff --git a/clients/client-glacier/protocols/Aws_restJson1_1.ts b/clients/client-glacier/protocols/Aws_restJson1_1.ts index a29449b82971..821afca69245 100644 --- a/clients/client-glacier/protocols/Aws_restJson1_1.ts +++ b/clients/client-glacier/protocols/Aws_restJson1_1.ts @@ -5729,6 +5729,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-global-accelerator/commands/CreateAcceleratorCommand.ts b/clients/client-global-accelerator/commands/CreateAcceleratorCommand.ts index fe02d118b0fc..4fe974b2bec6 100644 --- a/clients/client-global-accelerator/commands/CreateAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/CreateAcceleratorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAcceleratorCommandInput = CreateAcceleratorRequest; @@ -67,14 +67,14 @@ export class CreateAcceleratorCommand extends $Command< private serialize( input: CreateAcceleratorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAcceleratorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAcceleratorCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/CreateEndpointGroupCommand.ts b/clients/client-global-accelerator/commands/CreateEndpointGroupCommand.ts index 568b613a8709..283185b23176 100644 --- a/clients/client-global-accelerator/commands/CreateEndpointGroupCommand.ts +++ b/clients/client-global-accelerator/commands/CreateEndpointGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEndpointGroupCommandInput = CreateEndpointGroupRequest; @@ -70,14 +70,14 @@ export class CreateEndpointGroupCommand extends $Command< private serialize( input: CreateEndpointGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEndpointGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEndpointGroupCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/CreateListenerCommand.ts b/clients/client-global-accelerator/commands/CreateListenerCommand.ts index cf01fb8c1d7b..7bbe2b02544b 100644 --- a/clients/client-global-accelerator/commands/CreateListenerCommand.ts +++ b/clients/client-global-accelerator/commands/CreateListenerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateListenerCommandInput = CreateListenerRequest; @@ -64,14 +64,14 @@ export class CreateListenerCommand extends $Command< private serialize( input: CreateListenerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateListenerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateListenerCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/DeleteAcceleratorCommand.ts b/clients/client-global-accelerator/commands/DeleteAcceleratorCommand.ts index a0b7da83b1fe..86b69136cbb3 100644 --- a/clients/client-global-accelerator/commands/DeleteAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/DeleteAcceleratorCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAcceleratorCommandInput = DeleteAcceleratorRequest; @@ -65,14 +65,14 @@ export class DeleteAcceleratorCommand extends $Command< private serialize( input: DeleteAcceleratorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAcceleratorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAcceleratorCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/DeleteEndpointGroupCommand.ts b/clients/client-global-accelerator/commands/DeleteEndpointGroupCommand.ts index 9fb78fe18765..46a96f522ce8 100644 --- a/clients/client-global-accelerator/commands/DeleteEndpointGroupCommand.ts +++ b/clients/client-global-accelerator/commands/DeleteEndpointGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEndpointGroupCommandInput = DeleteEndpointGroupRequest; @@ -68,14 +68,14 @@ export class DeleteEndpointGroupCommand extends $Command< private serialize( input: DeleteEndpointGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEndpointGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEndpointGroupCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/DeleteListenerCommand.ts b/clients/client-global-accelerator/commands/DeleteListenerCommand.ts index 35a517ac37db..028dca064cd3 100644 --- a/clients/client-global-accelerator/commands/DeleteListenerCommand.ts +++ b/clients/client-global-accelerator/commands/DeleteListenerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteListenerCommandInput = DeleteListenerRequest; @@ -65,14 +65,14 @@ export class DeleteListenerCommand extends $Command< private serialize( input: DeleteListenerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteListenerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteListenerCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/DescribeAcceleratorAttributesCommand.ts b/clients/client-global-accelerator/commands/DescribeAcceleratorAttributesCommand.ts index 04b416252f9d..e97653a6a386 100644 --- a/clients/client-global-accelerator/commands/DescribeAcceleratorAttributesCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeAcceleratorAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAcceleratorAttributesCommandInput = DescribeAcceleratorAttributesRequest; @@ -70,7 +70,7 @@ export class DescribeAcceleratorAttributesCommand extends $Command< private serialize( input: DescribeAcceleratorAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAcceleratorAttributesCommand( input, @@ -80,7 +80,7 @@ export class DescribeAcceleratorAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAcceleratorAttributesCommand( output, diff --git a/clients/client-global-accelerator/commands/DescribeAcceleratorCommand.ts b/clients/client-global-accelerator/commands/DescribeAcceleratorCommand.ts index 387775cbd4ef..e4d848f514e4 100644 --- a/clients/client-global-accelerator/commands/DescribeAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeAcceleratorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAcceleratorCommandInput = DescribeAcceleratorRequest; @@ -70,14 +70,14 @@ export class DescribeAcceleratorCommand extends $Command< private serialize( input: DescribeAcceleratorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAcceleratorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAcceleratorCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/DescribeEndpointGroupCommand.ts b/clients/client-global-accelerator/commands/DescribeEndpointGroupCommand.ts index b78b298fbfa7..32de9f96e2c4 100644 --- a/clients/client-global-accelerator/commands/DescribeEndpointGroupCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeEndpointGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEndpointGroupCommandInput = DescribeEndpointGroupRequest; @@ -70,14 +70,14 @@ export class DescribeEndpointGroupCommand extends $Command< private serialize( input: DescribeEndpointGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEndpointGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEndpointGroupCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/DescribeListenerCommand.ts b/clients/client-global-accelerator/commands/DescribeListenerCommand.ts index 93deebfec443..3021bf996418 100644 --- a/clients/client-global-accelerator/commands/DescribeListenerCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeListenerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeListenerCommandInput = DescribeListenerRequest; @@ -67,14 +67,14 @@ export class DescribeListenerCommand extends $Command< private serialize( input: DescribeListenerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeListenerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeListenerCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/ListAcceleratorsCommand.ts b/clients/client-global-accelerator/commands/ListAcceleratorsCommand.ts index ae71b494b668..a8730ae028c4 100644 --- a/clients/client-global-accelerator/commands/ListAcceleratorsCommand.ts +++ b/clients/client-global-accelerator/commands/ListAcceleratorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAcceleratorsCommandInput = ListAcceleratorsRequest; @@ -67,14 +67,14 @@ export class ListAcceleratorsCommand extends $Command< private serialize( input: ListAcceleratorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAcceleratorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAcceleratorsCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/ListEndpointGroupsCommand.ts b/clients/client-global-accelerator/commands/ListEndpointGroupsCommand.ts index 3871687ff71d..2c6753229978 100644 --- a/clients/client-global-accelerator/commands/ListEndpointGroupsCommand.ts +++ b/clients/client-global-accelerator/commands/ListEndpointGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEndpointGroupsCommandInput = ListEndpointGroupsRequest; @@ -67,14 +67,14 @@ export class ListEndpointGroupsCommand extends $Command< private serialize( input: ListEndpointGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEndpointGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEndpointGroupsCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/ListListenersCommand.ts b/clients/client-global-accelerator/commands/ListListenersCommand.ts index 0377e8be3399..8e3803c36358 100644 --- a/clients/client-global-accelerator/commands/ListListenersCommand.ts +++ b/clients/client-global-accelerator/commands/ListListenersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListListenersCommandInput = ListListenersRequest; @@ -64,14 +64,14 @@ export class ListListenersCommand extends $Command< private serialize( input: ListListenersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListListenersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListListenersCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/UpdateAcceleratorAttributesCommand.ts b/clients/client-global-accelerator/commands/UpdateAcceleratorAttributesCommand.ts index 625a75ba9c71..a4eb98fd9119 100644 --- a/clients/client-global-accelerator/commands/UpdateAcceleratorAttributesCommand.ts +++ b/clients/client-global-accelerator/commands/UpdateAcceleratorAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAcceleratorAttributesCommandInput = UpdateAcceleratorAttributesRequest; @@ -70,7 +70,7 @@ export class UpdateAcceleratorAttributesCommand extends $Command< private serialize( input: UpdateAcceleratorAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAcceleratorAttributesCommand( input, @@ -80,7 +80,7 @@ export class UpdateAcceleratorAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAcceleratorAttributesCommand( output, diff --git a/clients/client-global-accelerator/commands/UpdateAcceleratorCommand.ts b/clients/client-global-accelerator/commands/UpdateAcceleratorCommand.ts index f66a61200bd1..aa32c4bbdfa7 100644 --- a/clients/client-global-accelerator/commands/UpdateAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/UpdateAcceleratorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAcceleratorCommandInput = UpdateAcceleratorRequest; @@ -67,14 +67,14 @@ export class UpdateAcceleratorCommand extends $Command< private serialize( input: UpdateAcceleratorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAcceleratorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAcceleratorCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/UpdateEndpointGroupCommand.ts b/clients/client-global-accelerator/commands/UpdateEndpointGroupCommand.ts index 01d555e350d1..7517696febc3 100644 --- a/clients/client-global-accelerator/commands/UpdateEndpointGroupCommand.ts +++ b/clients/client-global-accelerator/commands/UpdateEndpointGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEndpointGroupCommandInput = UpdateEndpointGroupRequest; @@ -70,14 +70,14 @@ export class UpdateEndpointGroupCommand extends $Command< private serialize( input: UpdateEndpointGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateEndpointGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateEndpointGroupCommand(output, context); } diff --git a/clients/client-global-accelerator/commands/UpdateListenerCommand.ts b/clients/client-global-accelerator/commands/UpdateListenerCommand.ts index c346bfd573b3..6a8a95447c54 100644 --- a/clients/client-global-accelerator/commands/UpdateListenerCommand.ts +++ b/clients/client-global-accelerator/commands/UpdateListenerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateListenerCommandInput = UpdateListenerRequest; @@ -64,14 +64,14 @@ export class UpdateListenerCommand extends $Command< private serialize( input: UpdateListenerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateListenerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateListenerCommand(output, context); } diff --git a/clients/client-global-accelerator/protocols/Aws_json1_1.ts b/clients/client-global-accelerator/protocols/Aws_json1_1.ts index a4d140645309..2362d8f3d73d 100644 --- a/clients/client-global-accelerator/protocols/Aws_json1_1.ts +++ b/clients/client-global-accelerator/protocols/Aws_json1_1.ts @@ -3048,6 +3048,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-glue/commands/BatchCreatePartitionCommand.ts b/clients/client-glue/commands/BatchCreatePartitionCommand.ts index 5d97b0357aec..17c2f50ba1fd 100644 --- a/clients/client-glue/commands/BatchCreatePartitionCommand.ts +++ b/clients/client-glue/commands/BatchCreatePartitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchCreatePartitionCommandInput = BatchCreatePartitionRequest; @@ -70,14 +70,14 @@ export class BatchCreatePartitionCommand extends $Command< private serialize( input: BatchCreatePartitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchCreatePartitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchCreatePartitionCommand(output, context); } diff --git a/clients/client-glue/commands/BatchDeleteConnectionCommand.ts b/clients/client-glue/commands/BatchDeleteConnectionCommand.ts index afc30ce858c4..f82bc759c5fa 100644 --- a/clients/client-glue/commands/BatchDeleteConnectionCommand.ts +++ b/clients/client-glue/commands/BatchDeleteConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDeleteConnectionCommandInput = BatchDeleteConnectionRequest; @@ -70,14 +70,14 @@ export class BatchDeleteConnectionCommand extends $Command< private serialize( input: BatchDeleteConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDeleteConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDeleteConnectionCommand(output, context); } diff --git a/clients/client-glue/commands/BatchDeletePartitionCommand.ts b/clients/client-glue/commands/BatchDeletePartitionCommand.ts index eb743dcd7a0e..06ce25cd1e29 100644 --- a/clients/client-glue/commands/BatchDeletePartitionCommand.ts +++ b/clients/client-glue/commands/BatchDeletePartitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDeletePartitionCommandInput = BatchDeletePartitionRequest; @@ -70,14 +70,14 @@ export class BatchDeletePartitionCommand extends $Command< private serialize( input: BatchDeletePartitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDeletePartitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDeletePartitionCommand(output, context); } diff --git a/clients/client-glue/commands/BatchDeleteTableCommand.ts b/clients/client-glue/commands/BatchDeleteTableCommand.ts index bac0282ac6f9..d81f936e8acf 100644 --- a/clients/client-glue/commands/BatchDeleteTableCommand.ts +++ b/clients/client-glue/commands/BatchDeleteTableCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDeleteTableCommandInput = BatchDeleteTableRequest; @@ -67,14 +67,14 @@ export class BatchDeleteTableCommand extends $Command< private serialize( input: BatchDeleteTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDeleteTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDeleteTableCommand(output, context); } diff --git a/clients/client-glue/commands/BatchDeleteTableVersionCommand.ts b/clients/client-glue/commands/BatchDeleteTableVersionCommand.ts index d077b09a5c8f..9dd61ce6ab56 100644 --- a/clients/client-glue/commands/BatchDeleteTableVersionCommand.ts +++ b/clients/client-glue/commands/BatchDeleteTableVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDeleteTableVersionCommandInput = BatchDeleteTableVersionRequest; @@ -70,14 +70,14 @@ export class BatchDeleteTableVersionCommand extends $Command< private serialize( input: BatchDeleteTableVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDeleteTableVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDeleteTableVersionCommand( output, diff --git a/clients/client-glue/commands/BatchGetCrawlersCommand.ts b/clients/client-glue/commands/BatchGetCrawlersCommand.ts index caa133963776..566266f15a1a 100644 --- a/clients/client-glue/commands/BatchGetCrawlersCommand.ts +++ b/clients/client-glue/commands/BatchGetCrawlersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetCrawlersCommandInput = BatchGetCrawlersRequest; @@ -67,14 +67,14 @@ export class BatchGetCrawlersCommand extends $Command< private serialize( input: BatchGetCrawlersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetCrawlersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetCrawlersCommand(output, context); } diff --git a/clients/client-glue/commands/BatchGetDevEndpointsCommand.ts b/clients/client-glue/commands/BatchGetDevEndpointsCommand.ts index 5f4bde18cd85..a6a73d3baf1a 100644 --- a/clients/client-glue/commands/BatchGetDevEndpointsCommand.ts +++ b/clients/client-glue/commands/BatchGetDevEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetDevEndpointsCommandInput = BatchGetDevEndpointsRequest; @@ -70,14 +70,14 @@ export class BatchGetDevEndpointsCommand extends $Command< private serialize( input: BatchGetDevEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetDevEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetDevEndpointsCommand(output, context); } diff --git a/clients/client-glue/commands/BatchGetJobsCommand.ts b/clients/client-glue/commands/BatchGetJobsCommand.ts index 170107715538..c7b9774aa585 100644 --- a/clients/client-glue/commands/BatchGetJobsCommand.ts +++ b/clients/client-glue/commands/BatchGetJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetJobsCommandInput = BatchGetJobsRequest; @@ -64,14 +64,14 @@ export class BatchGetJobsCommand extends $Command< private serialize( input: BatchGetJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetJobsCommand(output, context); } diff --git a/clients/client-glue/commands/BatchGetPartitionCommand.ts b/clients/client-glue/commands/BatchGetPartitionCommand.ts index a9ae5a1b1faf..a0f8e8b79fa1 100644 --- a/clients/client-glue/commands/BatchGetPartitionCommand.ts +++ b/clients/client-glue/commands/BatchGetPartitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetPartitionCommandInput = BatchGetPartitionRequest; @@ -67,14 +67,14 @@ export class BatchGetPartitionCommand extends $Command< private serialize( input: BatchGetPartitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetPartitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetPartitionCommand(output, context); } diff --git a/clients/client-glue/commands/BatchGetTriggersCommand.ts b/clients/client-glue/commands/BatchGetTriggersCommand.ts index 2eede9b951ca..82f0aa0469e3 100644 --- a/clients/client-glue/commands/BatchGetTriggersCommand.ts +++ b/clients/client-glue/commands/BatchGetTriggersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetTriggersCommandInput = BatchGetTriggersRequest; @@ -67,14 +67,14 @@ export class BatchGetTriggersCommand extends $Command< private serialize( input: BatchGetTriggersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetTriggersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetTriggersCommand(output, context); } diff --git a/clients/client-glue/commands/BatchGetWorkflowsCommand.ts b/clients/client-glue/commands/BatchGetWorkflowsCommand.ts index ff760ca4e19f..c8f5bf547b65 100644 --- a/clients/client-glue/commands/BatchGetWorkflowsCommand.ts +++ b/clients/client-glue/commands/BatchGetWorkflowsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetWorkflowsCommandInput = BatchGetWorkflowsRequest; @@ -67,14 +67,14 @@ export class BatchGetWorkflowsCommand extends $Command< private serialize( input: BatchGetWorkflowsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGetWorkflowsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGetWorkflowsCommand(output, context); } diff --git a/clients/client-glue/commands/BatchStopJobRunCommand.ts b/clients/client-glue/commands/BatchStopJobRunCommand.ts index 05223897e782..f31cac843662 100644 --- a/clients/client-glue/commands/BatchStopJobRunCommand.ts +++ b/clients/client-glue/commands/BatchStopJobRunCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchStopJobRunCommandInput = BatchStopJobRunRequest; @@ -67,14 +67,14 @@ export class BatchStopJobRunCommand extends $Command< private serialize( input: BatchStopJobRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchStopJobRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchStopJobRunCommand(output, context); } diff --git a/clients/client-glue/commands/CancelMLTaskRunCommand.ts b/clients/client-glue/commands/CancelMLTaskRunCommand.ts index 968be542a796..2c10ca05714f 100644 --- a/clients/client-glue/commands/CancelMLTaskRunCommand.ts +++ b/clients/client-glue/commands/CancelMLTaskRunCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelMLTaskRunCommandInput = CancelMLTaskRunRequest; @@ -67,14 +67,14 @@ export class CancelMLTaskRunCommand extends $Command< private serialize( input: CancelMLTaskRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelMLTaskRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelMLTaskRunCommand(output, context); } diff --git a/clients/client-glue/commands/CreateClassifierCommand.ts b/clients/client-glue/commands/CreateClassifierCommand.ts index f7125c5021a8..e21f2120711d 100644 --- a/clients/client-glue/commands/CreateClassifierCommand.ts +++ b/clients/client-glue/commands/CreateClassifierCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClassifierCommandInput = CreateClassifierRequest; @@ -67,14 +67,14 @@ export class CreateClassifierCommand extends $Command< private serialize( input: CreateClassifierCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateClassifierCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateClassifierCommand(output, context); } diff --git a/clients/client-glue/commands/CreateConnectionCommand.ts b/clients/client-glue/commands/CreateConnectionCommand.ts index 9bec0256e45a..a6cbcbaf52ae 100644 --- a/clients/client-glue/commands/CreateConnectionCommand.ts +++ b/clients/client-glue/commands/CreateConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConnectionCommandInput = CreateConnectionRequest; @@ -67,14 +67,14 @@ export class CreateConnectionCommand extends $Command< private serialize( input: CreateConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateConnectionCommand(output, context); } diff --git a/clients/client-glue/commands/CreateCrawlerCommand.ts b/clients/client-glue/commands/CreateCrawlerCommand.ts index a8b3643e6288..d7f84c3ecef0 100644 --- a/clients/client-glue/commands/CreateCrawlerCommand.ts +++ b/clients/client-glue/commands/CreateCrawlerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCrawlerCommandInput = CreateCrawlerRequest; @@ -64,14 +64,14 @@ export class CreateCrawlerCommand extends $Command< private serialize( input: CreateCrawlerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCrawlerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCrawlerCommand(output, context); } diff --git a/clients/client-glue/commands/CreateDatabaseCommand.ts b/clients/client-glue/commands/CreateDatabaseCommand.ts index e2ff79e55547..5aa2873da72f 100644 --- a/clients/client-glue/commands/CreateDatabaseCommand.ts +++ b/clients/client-glue/commands/CreateDatabaseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDatabaseCommandInput = CreateDatabaseRequest; @@ -64,14 +64,14 @@ export class CreateDatabaseCommand extends $Command< private serialize( input: CreateDatabaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDatabaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDatabaseCommand(output, context); } diff --git a/clients/client-glue/commands/CreateDevEndpointCommand.ts b/clients/client-glue/commands/CreateDevEndpointCommand.ts index 4c93ff2a222a..02aa0acbd794 100644 --- a/clients/client-glue/commands/CreateDevEndpointCommand.ts +++ b/clients/client-glue/commands/CreateDevEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDevEndpointCommandInput = CreateDevEndpointRequest; @@ -67,14 +67,14 @@ export class CreateDevEndpointCommand extends $Command< private serialize( input: CreateDevEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDevEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDevEndpointCommand(output, context); } diff --git a/clients/client-glue/commands/CreateJobCommand.ts b/clients/client-glue/commands/CreateJobCommand.ts index 854dcaa5918d..6caff812bb82 100644 --- a/clients/client-glue/commands/CreateJobCommand.ts +++ b/clients/client-glue/commands/CreateJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateJobCommandInput = CreateJobRequest; @@ -64,14 +64,14 @@ export class CreateJobCommand extends $Command< private serialize( input: CreateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateJobCommand(output, context); } diff --git a/clients/client-glue/commands/CreateMLTransformCommand.ts b/clients/client-glue/commands/CreateMLTransformCommand.ts index 003c32a274ef..0cf9ece0237b 100644 --- a/clients/client-glue/commands/CreateMLTransformCommand.ts +++ b/clients/client-glue/commands/CreateMLTransformCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMLTransformCommandInput = CreateMLTransformRequest; @@ -67,14 +67,14 @@ export class CreateMLTransformCommand extends $Command< private serialize( input: CreateMLTransformCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateMLTransformCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateMLTransformCommand(output, context); } diff --git a/clients/client-glue/commands/CreatePartitionCommand.ts b/clients/client-glue/commands/CreatePartitionCommand.ts index 90148f362703..1853deb4f65a 100644 --- a/clients/client-glue/commands/CreatePartitionCommand.ts +++ b/clients/client-glue/commands/CreatePartitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePartitionCommandInput = CreatePartitionRequest; @@ -67,14 +67,14 @@ export class CreatePartitionCommand extends $Command< private serialize( input: CreatePartitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePartitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePartitionCommand(output, context); } diff --git a/clients/client-glue/commands/CreateScriptCommand.ts b/clients/client-glue/commands/CreateScriptCommand.ts index 1af77cee28c9..f5b3e8e467a8 100644 --- a/clients/client-glue/commands/CreateScriptCommand.ts +++ b/clients/client-glue/commands/CreateScriptCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateScriptCommandInput = CreateScriptRequest; @@ -64,14 +64,14 @@ export class CreateScriptCommand extends $Command< private serialize( input: CreateScriptCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateScriptCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateScriptCommand(output, context); } diff --git a/clients/client-glue/commands/CreateSecurityConfigurationCommand.ts b/clients/client-glue/commands/CreateSecurityConfigurationCommand.ts index d65255b28155..fdaa1dd4e883 100644 --- a/clients/client-glue/commands/CreateSecurityConfigurationCommand.ts +++ b/clients/client-glue/commands/CreateSecurityConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSecurityConfigurationCommandInput = CreateSecurityConfigurationRequest; @@ -70,7 +70,7 @@ export class CreateSecurityConfigurationCommand extends $Command< private serialize( input: CreateSecurityConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSecurityConfigurationCommand( input, @@ -80,7 +80,7 @@ export class CreateSecurityConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSecurityConfigurationCommand( output, diff --git a/clients/client-glue/commands/CreateTableCommand.ts b/clients/client-glue/commands/CreateTableCommand.ts index a2692ff05544..9d09cadf6eba 100644 --- a/clients/client-glue/commands/CreateTableCommand.ts +++ b/clients/client-glue/commands/CreateTableCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTableCommandInput = CreateTableRequest; @@ -64,14 +64,14 @@ export class CreateTableCommand extends $Command< private serialize( input: CreateTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTableCommand(output, context); } diff --git a/clients/client-glue/commands/CreateTriggerCommand.ts b/clients/client-glue/commands/CreateTriggerCommand.ts index 49b25d7a4179..47af6cd31394 100644 --- a/clients/client-glue/commands/CreateTriggerCommand.ts +++ b/clients/client-glue/commands/CreateTriggerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTriggerCommandInput = CreateTriggerRequest; @@ -64,14 +64,14 @@ export class CreateTriggerCommand extends $Command< private serialize( input: CreateTriggerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTriggerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTriggerCommand(output, context); } diff --git a/clients/client-glue/commands/CreateUserDefinedFunctionCommand.ts b/clients/client-glue/commands/CreateUserDefinedFunctionCommand.ts index 4c61599336c1..5d78fd3bcf46 100644 --- a/clients/client-glue/commands/CreateUserDefinedFunctionCommand.ts +++ b/clients/client-glue/commands/CreateUserDefinedFunctionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserDefinedFunctionCommandInput = CreateUserDefinedFunctionRequest; @@ -70,14 +70,14 @@ export class CreateUserDefinedFunctionCommand extends $Command< private serialize( input: CreateUserDefinedFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserDefinedFunctionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserDefinedFunctionCommand( output, diff --git a/clients/client-glue/commands/CreateWorkflowCommand.ts b/clients/client-glue/commands/CreateWorkflowCommand.ts index cde9770bb225..bea9a0aa6945 100644 --- a/clients/client-glue/commands/CreateWorkflowCommand.ts +++ b/clients/client-glue/commands/CreateWorkflowCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateWorkflowCommandInput = CreateWorkflowRequest; @@ -64,14 +64,14 @@ export class CreateWorkflowCommand extends $Command< private serialize( input: CreateWorkflowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateWorkflowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateWorkflowCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteClassifierCommand.ts b/clients/client-glue/commands/DeleteClassifierCommand.ts index 76d3b917f056..d4db0a7967ae 100644 --- a/clients/client-glue/commands/DeleteClassifierCommand.ts +++ b/clients/client-glue/commands/DeleteClassifierCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClassifierCommandInput = DeleteClassifierRequest; @@ -67,14 +67,14 @@ export class DeleteClassifierCommand extends $Command< private serialize( input: DeleteClassifierCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteClassifierCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteClassifierCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteConnectionCommand.ts b/clients/client-glue/commands/DeleteConnectionCommand.ts index 79cee24a03ce..2ca5a8ada58d 100644 --- a/clients/client-glue/commands/DeleteConnectionCommand.ts +++ b/clients/client-glue/commands/DeleteConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConnectionCommandInput = DeleteConnectionRequest; @@ -67,14 +67,14 @@ export class DeleteConnectionCommand extends $Command< private serialize( input: DeleteConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteConnectionCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteCrawlerCommand.ts b/clients/client-glue/commands/DeleteCrawlerCommand.ts index 6ebaa7e3ed86..8054d9b27167 100644 --- a/clients/client-glue/commands/DeleteCrawlerCommand.ts +++ b/clients/client-glue/commands/DeleteCrawlerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCrawlerCommandInput = DeleteCrawlerRequest; @@ -64,14 +64,14 @@ export class DeleteCrawlerCommand extends $Command< private serialize( input: DeleteCrawlerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCrawlerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCrawlerCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteDatabaseCommand.ts b/clients/client-glue/commands/DeleteDatabaseCommand.ts index fb76f4c7d6c5..b46799c1baa1 100644 --- a/clients/client-glue/commands/DeleteDatabaseCommand.ts +++ b/clients/client-glue/commands/DeleteDatabaseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDatabaseCommandInput = DeleteDatabaseRequest; @@ -64,14 +64,14 @@ export class DeleteDatabaseCommand extends $Command< private serialize( input: DeleteDatabaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDatabaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDatabaseCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteDevEndpointCommand.ts b/clients/client-glue/commands/DeleteDevEndpointCommand.ts index c06180d8d0d3..8e54417b93dd 100644 --- a/clients/client-glue/commands/DeleteDevEndpointCommand.ts +++ b/clients/client-glue/commands/DeleteDevEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDevEndpointCommandInput = DeleteDevEndpointRequest; @@ -67,14 +67,14 @@ export class DeleteDevEndpointCommand extends $Command< private serialize( input: DeleteDevEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDevEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDevEndpointCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteJobCommand.ts b/clients/client-glue/commands/DeleteJobCommand.ts index 7c339f1fff06..689002501df2 100644 --- a/clients/client-glue/commands/DeleteJobCommand.ts +++ b/clients/client-glue/commands/DeleteJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteJobCommandInput = DeleteJobRequest; @@ -64,14 +64,14 @@ export class DeleteJobCommand extends $Command< private serialize( input: DeleteJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteJobCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteMLTransformCommand.ts b/clients/client-glue/commands/DeleteMLTransformCommand.ts index 139212123c01..f1095962b923 100644 --- a/clients/client-glue/commands/DeleteMLTransformCommand.ts +++ b/clients/client-glue/commands/DeleteMLTransformCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMLTransformCommandInput = DeleteMLTransformRequest; @@ -67,14 +67,14 @@ export class DeleteMLTransformCommand extends $Command< private serialize( input: DeleteMLTransformCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteMLTransformCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteMLTransformCommand(output, context); } diff --git a/clients/client-glue/commands/DeletePartitionCommand.ts b/clients/client-glue/commands/DeletePartitionCommand.ts index 6dea2f451616..64dcba2858ac 100644 --- a/clients/client-glue/commands/DeletePartitionCommand.ts +++ b/clients/client-glue/commands/DeletePartitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePartitionCommandInput = DeletePartitionRequest; @@ -67,14 +67,14 @@ export class DeletePartitionCommand extends $Command< private serialize( input: DeletePartitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePartitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePartitionCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteResourcePolicyCommand.ts b/clients/client-glue/commands/DeleteResourcePolicyCommand.ts index 3427fdad6902..67777f00713d 100644 --- a/clients/client-glue/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-glue/commands/DeleteResourcePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResourcePolicyCommandInput = DeleteResourcePolicyRequest; @@ -70,14 +70,14 @@ export class DeleteResourcePolicyCommand extends $Command< private serialize( input: DeleteResourcePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteResourcePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteResourcePolicyCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteSecurityConfigurationCommand.ts b/clients/client-glue/commands/DeleteSecurityConfigurationCommand.ts index c88455b88a2a..ec81efb813ac 100644 --- a/clients/client-glue/commands/DeleteSecurityConfigurationCommand.ts +++ b/clients/client-glue/commands/DeleteSecurityConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSecurityConfigurationCommandInput = DeleteSecurityConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteSecurityConfigurationCommand extends $Command< private serialize( input: DeleteSecurityConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSecurityConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteSecurityConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSecurityConfigurationCommand( output, diff --git a/clients/client-glue/commands/DeleteTableCommand.ts b/clients/client-glue/commands/DeleteTableCommand.ts index 0343e818b525..c818aa92b8d5 100644 --- a/clients/client-glue/commands/DeleteTableCommand.ts +++ b/clients/client-glue/commands/DeleteTableCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTableCommandInput = DeleteTableRequest; @@ -64,14 +64,14 @@ export class DeleteTableCommand extends $Command< private serialize( input: DeleteTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTableCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteTableVersionCommand.ts b/clients/client-glue/commands/DeleteTableVersionCommand.ts index f7f0e0f2b155..868e8bdfe1b9 100644 --- a/clients/client-glue/commands/DeleteTableVersionCommand.ts +++ b/clients/client-glue/commands/DeleteTableVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTableVersionCommandInput = DeleteTableVersionRequest; @@ -67,14 +67,14 @@ export class DeleteTableVersionCommand extends $Command< private serialize( input: DeleteTableVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTableVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTableVersionCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteTriggerCommand.ts b/clients/client-glue/commands/DeleteTriggerCommand.ts index a8c077952b57..db49d9653d18 100644 --- a/clients/client-glue/commands/DeleteTriggerCommand.ts +++ b/clients/client-glue/commands/DeleteTriggerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTriggerCommandInput = DeleteTriggerRequest; @@ -64,14 +64,14 @@ export class DeleteTriggerCommand extends $Command< private serialize( input: DeleteTriggerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTriggerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTriggerCommand(output, context); } diff --git a/clients/client-glue/commands/DeleteUserDefinedFunctionCommand.ts b/clients/client-glue/commands/DeleteUserDefinedFunctionCommand.ts index f6ebc61738d8..8830bfb7f674 100644 --- a/clients/client-glue/commands/DeleteUserDefinedFunctionCommand.ts +++ b/clients/client-glue/commands/DeleteUserDefinedFunctionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserDefinedFunctionCommandInput = DeleteUserDefinedFunctionRequest; @@ -70,14 +70,14 @@ export class DeleteUserDefinedFunctionCommand extends $Command< private serialize( input: DeleteUserDefinedFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserDefinedFunctionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserDefinedFunctionCommand( output, diff --git a/clients/client-glue/commands/DeleteWorkflowCommand.ts b/clients/client-glue/commands/DeleteWorkflowCommand.ts index 5d764e04835a..7a7e9c437340 100644 --- a/clients/client-glue/commands/DeleteWorkflowCommand.ts +++ b/clients/client-glue/commands/DeleteWorkflowCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteWorkflowCommandInput = DeleteWorkflowRequest; @@ -64,14 +64,14 @@ export class DeleteWorkflowCommand extends $Command< private serialize( input: DeleteWorkflowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteWorkflowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteWorkflowCommand(output, context); } diff --git a/clients/client-glue/commands/GetCatalogImportStatusCommand.ts b/clients/client-glue/commands/GetCatalogImportStatusCommand.ts index 9d9fbd27fab2..70653134cffb 100644 --- a/clients/client-glue/commands/GetCatalogImportStatusCommand.ts +++ b/clients/client-glue/commands/GetCatalogImportStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCatalogImportStatusCommandInput = GetCatalogImportStatusRequest; @@ -70,14 +70,14 @@ export class GetCatalogImportStatusCommand extends $Command< private serialize( input: GetCatalogImportStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCatalogImportStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCatalogImportStatusCommand(output, context); } diff --git a/clients/client-glue/commands/GetClassifierCommand.ts b/clients/client-glue/commands/GetClassifierCommand.ts index 8bdc16a5cd1f..ccb966f43e67 100644 --- a/clients/client-glue/commands/GetClassifierCommand.ts +++ b/clients/client-glue/commands/GetClassifierCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetClassifierCommandInput = GetClassifierRequest; @@ -64,14 +64,14 @@ export class GetClassifierCommand extends $Command< private serialize( input: GetClassifierCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetClassifierCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetClassifierCommand(output, context); } diff --git a/clients/client-glue/commands/GetClassifiersCommand.ts b/clients/client-glue/commands/GetClassifiersCommand.ts index 58eda054d758..b1ba9255ba91 100644 --- a/clients/client-glue/commands/GetClassifiersCommand.ts +++ b/clients/client-glue/commands/GetClassifiersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetClassifiersCommandInput = GetClassifiersRequest; @@ -64,14 +64,14 @@ export class GetClassifiersCommand extends $Command< private serialize( input: GetClassifiersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetClassifiersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetClassifiersCommand(output, context); } diff --git a/clients/client-glue/commands/GetConnectionCommand.ts b/clients/client-glue/commands/GetConnectionCommand.ts index 8de6a86ea9dc..43909c018659 100644 --- a/clients/client-glue/commands/GetConnectionCommand.ts +++ b/clients/client-glue/commands/GetConnectionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConnectionCommandInput = GetConnectionRequest; @@ -64,14 +64,14 @@ export class GetConnectionCommand extends $Command< private serialize( input: GetConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetConnectionCommand(output, context); } diff --git a/clients/client-glue/commands/GetConnectionsCommand.ts b/clients/client-glue/commands/GetConnectionsCommand.ts index 852cf3b5da8b..e4d664ffe7b6 100644 --- a/clients/client-glue/commands/GetConnectionsCommand.ts +++ b/clients/client-glue/commands/GetConnectionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConnectionsCommandInput = GetConnectionsRequest; @@ -64,14 +64,14 @@ export class GetConnectionsCommand extends $Command< private serialize( input: GetConnectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetConnectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetConnectionsCommand(output, context); } diff --git a/clients/client-glue/commands/GetCrawlerCommand.ts b/clients/client-glue/commands/GetCrawlerCommand.ts index 7ecfba0a77f6..492892ce4b74 100644 --- a/clients/client-glue/commands/GetCrawlerCommand.ts +++ b/clients/client-glue/commands/GetCrawlerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCrawlerCommandInput = GetCrawlerRequest; @@ -64,14 +64,14 @@ export class GetCrawlerCommand extends $Command< private serialize( input: GetCrawlerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCrawlerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCrawlerCommand(output, context); } diff --git a/clients/client-glue/commands/GetCrawlerMetricsCommand.ts b/clients/client-glue/commands/GetCrawlerMetricsCommand.ts index 936dfd496a0e..33eb0ac36385 100644 --- a/clients/client-glue/commands/GetCrawlerMetricsCommand.ts +++ b/clients/client-glue/commands/GetCrawlerMetricsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCrawlerMetricsCommandInput = GetCrawlerMetricsRequest; @@ -67,14 +67,14 @@ export class GetCrawlerMetricsCommand extends $Command< private serialize( input: GetCrawlerMetricsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCrawlerMetricsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCrawlerMetricsCommand(output, context); } diff --git a/clients/client-glue/commands/GetCrawlersCommand.ts b/clients/client-glue/commands/GetCrawlersCommand.ts index 758a40966546..c3d930af537b 100644 --- a/clients/client-glue/commands/GetCrawlersCommand.ts +++ b/clients/client-glue/commands/GetCrawlersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCrawlersCommandInput = GetCrawlersRequest; @@ -64,14 +64,14 @@ export class GetCrawlersCommand extends $Command< private serialize( input: GetCrawlersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCrawlersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCrawlersCommand(output, context); } diff --git a/clients/client-glue/commands/GetDataCatalogEncryptionSettingsCommand.ts b/clients/client-glue/commands/GetDataCatalogEncryptionSettingsCommand.ts index 07c462294d0f..a73f1b396e29 100644 --- a/clients/client-glue/commands/GetDataCatalogEncryptionSettingsCommand.ts +++ b/clients/client-glue/commands/GetDataCatalogEncryptionSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDataCatalogEncryptionSettingsCommandInput = GetDataCatalogEncryptionSettingsRequest; @@ -70,7 +70,7 @@ export class GetDataCatalogEncryptionSettingsCommand extends $Command< private serialize( input: GetDataCatalogEncryptionSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDataCatalogEncryptionSettingsCommand( input, @@ -80,7 +80,7 @@ export class GetDataCatalogEncryptionSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDataCatalogEncryptionSettingsCommand( output, diff --git a/clients/client-glue/commands/GetDatabaseCommand.ts b/clients/client-glue/commands/GetDatabaseCommand.ts index 2c57731f6c52..c1a0c18a8ef4 100644 --- a/clients/client-glue/commands/GetDatabaseCommand.ts +++ b/clients/client-glue/commands/GetDatabaseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDatabaseCommandInput = GetDatabaseRequest; @@ -64,14 +64,14 @@ export class GetDatabaseCommand extends $Command< private serialize( input: GetDatabaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDatabaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDatabaseCommand(output, context); } diff --git a/clients/client-glue/commands/GetDatabasesCommand.ts b/clients/client-glue/commands/GetDatabasesCommand.ts index ad32f7a0961d..a3ab477ecd6f 100644 --- a/clients/client-glue/commands/GetDatabasesCommand.ts +++ b/clients/client-glue/commands/GetDatabasesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDatabasesCommandInput = GetDatabasesRequest; @@ -64,14 +64,14 @@ export class GetDatabasesCommand extends $Command< private serialize( input: GetDatabasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDatabasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDatabasesCommand(output, context); } diff --git a/clients/client-glue/commands/GetDataflowGraphCommand.ts b/clients/client-glue/commands/GetDataflowGraphCommand.ts index 836f899af983..05dbc1e4fc3a 100644 --- a/clients/client-glue/commands/GetDataflowGraphCommand.ts +++ b/clients/client-glue/commands/GetDataflowGraphCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDataflowGraphCommandInput = GetDataflowGraphRequest; @@ -67,14 +67,14 @@ export class GetDataflowGraphCommand extends $Command< private serialize( input: GetDataflowGraphCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDataflowGraphCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDataflowGraphCommand(output, context); } diff --git a/clients/client-glue/commands/GetDevEndpointCommand.ts b/clients/client-glue/commands/GetDevEndpointCommand.ts index fccf801f781c..53a1beac516d 100644 --- a/clients/client-glue/commands/GetDevEndpointCommand.ts +++ b/clients/client-glue/commands/GetDevEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDevEndpointCommandInput = GetDevEndpointRequest; @@ -64,14 +64,14 @@ export class GetDevEndpointCommand extends $Command< private serialize( input: GetDevEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDevEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDevEndpointCommand(output, context); } diff --git a/clients/client-glue/commands/GetDevEndpointsCommand.ts b/clients/client-glue/commands/GetDevEndpointsCommand.ts index d4325c534454..5cd107e0abb7 100644 --- a/clients/client-glue/commands/GetDevEndpointsCommand.ts +++ b/clients/client-glue/commands/GetDevEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDevEndpointsCommandInput = GetDevEndpointsRequest; @@ -67,14 +67,14 @@ export class GetDevEndpointsCommand extends $Command< private serialize( input: GetDevEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDevEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDevEndpointsCommand(output, context); } diff --git a/clients/client-glue/commands/GetJobBookmarkCommand.ts b/clients/client-glue/commands/GetJobBookmarkCommand.ts index 7b340c0f9a1a..e9b68a003d33 100644 --- a/clients/client-glue/commands/GetJobBookmarkCommand.ts +++ b/clients/client-glue/commands/GetJobBookmarkCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobBookmarkCommandInput = GetJobBookmarkRequest; @@ -64,14 +64,14 @@ export class GetJobBookmarkCommand extends $Command< private serialize( input: GetJobBookmarkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetJobBookmarkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetJobBookmarkCommand(output, context); } diff --git a/clients/client-glue/commands/GetJobCommand.ts b/clients/client-glue/commands/GetJobCommand.ts index 6f9005aaa982..da9ca51b670b 100644 --- a/clients/client-glue/commands/GetJobCommand.ts +++ b/clients/client-glue/commands/GetJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobCommandInput = GetJobRequest; @@ -64,14 +64,14 @@ export class GetJobCommand extends $Command< private serialize( input: GetJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetJobCommand(output, context); } diff --git a/clients/client-glue/commands/GetJobRunCommand.ts b/clients/client-glue/commands/GetJobRunCommand.ts index 67e063e00325..babc5a82c321 100644 --- a/clients/client-glue/commands/GetJobRunCommand.ts +++ b/clients/client-glue/commands/GetJobRunCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobRunCommandInput = GetJobRunRequest; @@ -64,14 +64,14 @@ export class GetJobRunCommand extends $Command< private serialize( input: GetJobRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetJobRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetJobRunCommand(output, context); } diff --git a/clients/client-glue/commands/GetJobRunsCommand.ts b/clients/client-glue/commands/GetJobRunsCommand.ts index 64c809e7bf34..511d01a2c492 100644 --- a/clients/client-glue/commands/GetJobRunsCommand.ts +++ b/clients/client-glue/commands/GetJobRunsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobRunsCommandInput = GetJobRunsRequest; @@ -64,14 +64,14 @@ export class GetJobRunsCommand extends $Command< private serialize( input: GetJobRunsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetJobRunsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetJobRunsCommand(output, context); } diff --git a/clients/client-glue/commands/GetJobsCommand.ts b/clients/client-glue/commands/GetJobsCommand.ts index bb7b41d5a720..4355014ae647 100644 --- a/clients/client-glue/commands/GetJobsCommand.ts +++ b/clients/client-glue/commands/GetJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobsCommandInput = GetJobsRequest; @@ -64,14 +64,14 @@ export class GetJobsCommand extends $Command< private serialize( input: GetJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetJobsCommand(output, context); } diff --git a/clients/client-glue/commands/GetMLTaskRunCommand.ts b/clients/client-glue/commands/GetMLTaskRunCommand.ts index bdedf9e77187..43091773be23 100644 --- a/clients/client-glue/commands/GetMLTaskRunCommand.ts +++ b/clients/client-glue/commands/GetMLTaskRunCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMLTaskRunCommandInput = GetMLTaskRunRequest; @@ -64,14 +64,14 @@ export class GetMLTaskRunCommand extends $Command< private serialize( input: GetMLTaskRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMLTaskRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMLTaskRunCommand(output, context); } diff --git a/clients/client-glue/commands/GetMLTaskRunsCommand.ts b/clients/client-glue/commands/GetMLTaskRunsCommand.ts index 14870b571804..d18f51aca6ce 100644 --- a/clients/client-glue/commands/GetMLTaskRunsCommand.ts +++ b/clients/client-glue/commands/GetMLTaskRunsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMLTaskRunsCommandInput = GetMLTaskRunsRequest; @@ -64,14 +64,14 @@ export class GetMLTaskRunsCommand extends $Command< private serialize( input: GetMLTaskRunsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMLTaskRunsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMLTaskRunsCommand(output, context); } diff --git a/clients/client-glue/commands/GetMLTransformCommand.ts b/clients/client-glue/commands/GetMLTransformCommand.ts index 609c1c11ecf7..7f170ba93a0f 100644 --- a/clients/client-glue/commands/GetMLTransformCommand.ts +++ b/clients/client-glue/commands/GetMLTransformCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMLTransformCommandInput = GetMLTransformRequest; @@ -64,14 +64,14 @@ export class GetMLTransformCommand extends $Command< private serialize( input: GetMLTransformCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMLTransformCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMLTransformCommand(output, context); } diff --git a/clients/client-glue/commands/GetMLTransformsCommand.ts b/clients/client-glue/commands/GetMLTransformsCommand.ts index afcf4979eec5..c73d8b1b2a5a 100644 --- a/clients/client-glue/commands/GetMLTransformsCommand.ts +++ b/clients/client-glue/commands/GetMLTransformsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMLTransformsCommandInput = GetMLTransformsRequest; @@ -67,14 +67,14 @@ export class GetMLTransformsCommand extends $Command< private serialize( input: GetMLTransformsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMLTransformsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMLTransformsCommand(output, context); } diff --git a/clients/client-glue/commands/GetMappingCommand.ts b/clients/client-glue/commands/GetMappingCommand.ts index bd6f1a72d44b..cb7abc8205d0 100644 --- a/clients/client-glue/commands/GetMappingCommand.ts +++ b/clients/client-glue/commands/GetMappingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMappingCommandInput = GetMappingRequest; @@ -64,14 +64,14 @@ export class GetMappingCommand extends $Command< private serialize( input: GetMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMappingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMappingCommand(output, context); } diff --git a/clients/client-glue/commands/GetPartitionCommand.ts b/clients/client-glue/commands/GetPartitionCommand.ts index 665ae33abd8b..8b03825d289f 100644 --- a/clients/client-glue/commands/GetPartitionCommand.ts +++ b/clients/client-glue/commands/GetPartitionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPartitionCommandInput = GetPartitionRequest; @@ -64,14 +64,14 @@ export class GetPartitionCommand extends $Command< private serialize( input: GetPartitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPartitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPartitionCommand(output, context); } diff --git a/clients/client-glue/commands/GetPartitionsCommand.ts b/clients/client-glue/commands/GetPartitionsCommand.ts index dc5287bbe9eb..e67128c10c87 100644 --- a/clients/client-glue/commands/GetPartitionsCommand.ts +++ b/clients/client-glue/commands/GetPartitionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPartitionsCommandInput = GetPartitionsRequest; @@ -64,14 +64,14 @@ export class GetPartitionsCommand extends $Command< private serialize( input: GetPartitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPartitionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPartitionsCommand(output, context); } diff --git a/clients/client-glue/commands/GetPlanCommand.ts b/clients/client-glue/commands/GetPlanCommand.ts index e115cca1e7bc..3972cf10458f 100644 --- a/clients/client-glue/commands/GetPlanCommand.ts +++ b/clients/client-glue/commands/GetPlanCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPlanCommandInput = GetPlanRequest; @@ -64,14 +64,14 @@ export class GetPlanCommand extends $Command< private serialize( input: GetPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPlanCommand(output, context); } diff --git a/clients/client-glue/commands/GetResourcePolicyCommand.ts b/clients/client-glue/commands/GetResourcePolicyCommand.ts index 9cfd86f21c54..5d6d7f6443fd 100644 --- a/clients/client-glue/commands/GetResourcePolicyCommand.ts +++ b/clients/client-glue/commands/GetResourcePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourcePolicyCommandInput = GetResourcePolicyRequest; @@ -67,14 +67,14 @@ export class GetResourcePolicyCommand extends $Command< private serialize( input: GetResourcePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetResourcePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetResourcePolicyCommand(output, context); } diff --git a/clients/client-glue/commands/GetSecurityConfigurationCommand.ts b/clients/client-glue/commands/GetSecurityConfigurationCommand.ts index 34b5e8085542..ca70b6b5406f 100644 --- a/clients/client-glue/commands/GetSecurityConfigurationCommand.ts +++ b/clients/client-glue/commands/GetSecurityConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSecurityConfigurationCommandInput = GetSecurityConfigurationRequest; @@ -70,14 +70,14 @@ export class GetSecurityConfigurationCommand extends $Command< private serialize( input: GetSecurityConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSecurityConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSecurityConfigurationCommand( output, diff --git a/clients/client-glue/commands/GetSecurityConfigurationsCommand.ts b/clients/client-glue/commands/GetSecurityConfigurationsCommand.ts index c79be7f7a1da..6388a91cf1e7 100644 --- a/clients/client-glue/commands/GetSecurityConfigurationsCommand.ts +++ b/clients/client-glue/commands/GetSecurityConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSecurityConfigurationsCommandInput = GetSecurityConfigurationsRequest; @@ -70,14 +70,14 @@ export class GetSecurityConfigurationsCommand extends $Command< private serialize( input: GetSecurityConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSecurityConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSecurityConfigurationsCommand( output, diff --git a/clients/client-glue/commands/GetTableCommand.ts b/clients/client-glue/commands/GetTableCommand.ts index ec6851cc5eab..d1812c559e22 100644 --- a/clients/client-glue/commands/GetTableCommand.ts +++ b/clients/client-glue/commands/GetTableCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTableCommandInput = GetTableRequest; @@ -64,14 +64,14 @@ export class GetTableCommand extends $Command< private serialize( input: GetTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTableCommand(output, context); } diff --git a/clients/client-glue/commands/GetTableVersionCommand.ts b/clients/client-glue/commands/GetTableVersionCommand.ts index 7d716258a702..b8900885ec59 100644 --- a/clients/client-glue/commands/GetTableVersionCommand.ts +++ b/clients/client-glue/commands/GetTableVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTableVersionCommandInput = GetTableVersionRequest; @@ -67,14 +67,14 @@ export class GetTableVersionCommand extends $Command< private serialize( input: GetTableVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTableVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTableVersionCommand(output, context); } diff --git a/clients/client-glue/commands/GetTableVersionsCommand.ts b/clients/client-glue/commands/GetTableVersionsCommand.ts index 27721f2b46b7..ee84a002f010 100644 --- a/clients/client-glue/commands/GetTableVersionsCommand.ts +++ b/clients/client-glue/commands/GetTableVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTableVersionsCommandInput = GetTableVersionsRequest; @@ -67,14 +67,14 @@ export class GetTableVersionsCommand extends $Command< private serialize( input: GetTableVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTableVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTableVersionsCommand(output, context); } diff --git a/clients/client-glue/commands/GetTablesCommand.ts b/clients/client-glue/commands/GetTablesCommand.ts index 0336574c1413..1ce72f148e12 100644 --- a/clients/client-glue/commands/GetTablesCommand.ts +++ b/clients/client-glue/commands/GetTablesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTablesCommandInput = GetTablesRequest; @@ -64,14 +64,14 @@ export class GetTablesCommand extends $Command< private serialize( input: GetTablesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTablesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTablesCommand(output, context); } diff --git a/clients/client-glue/commands/GetTagsCommand.ts b/clients/client-glue/commands/GetTagsCommand.ts index f559ace816de..32d2b176a828 100644 --- a/clients/client-glue/commands/GetTagsCommand.ts +++ b/clients/client-glue/commands/GetTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTagsCommandInput = GetTagsRequest; @@ -64,14 +64,14 @@ export class GetTagsCommand extends $Command< private serialize( input: GetTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTagsCommand(output, context); } diff --git a/clients/client-glue/commands/GetTriggerCommand.ts b/clients/client-glue/commands/GetTriggerCommand.ts index 48520081ed27..474dd8409a62 100644 --- a/clients/client-glue/commands/GetTriggerCommand.ts +++ b/clients/client-glue/commands/GetTriggerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTriggerCommandInput = GetTriggerRequest; @@ -64,14 +64,14 @@ export class GetTriggerCommand extends $Command< private serialize( input: GetTriggerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTriggerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTriggerCommand(output, context); } diff --git a/clients/client-glue/commands/GetTriggersCommand.ts b/clients/client-glue/commands/GetTriggersCommand.ts index 3054a00c78be..0ccb2749d064 100644 --- a/clients/client-glue/commands/GetTriggersCommand.ts +++ b/clients/client-glue/commands/GetTriggersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTriggersCommandInput = GetTriggersRequest; @@ -64,14 +64,14 @@ export class GetTriggersCommand extends $Command< private serialize( input: GetTriggersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTriggersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTriggersCommand(output, context); } diff --git a/clients/client-glue/commands/GetUserDefinedFunctionCommand.ts b/clients/client-glue/commands/GetUserDefinedFunctionCommand.ts index 4811c5c6bc78..14535a1437d1 100644 --- a/clients/client-glue/commands/GetUserDefinedFunctionCommand.ts +++ b/clients/client-glue/commands/GetUserDefinedFunctionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUserDefinedFunctionCommandInput = GetUserDefinedFunctionRequest; @@ -70,14 +70,14 @@ export class GetUserDefinedFunctionCommand extends $Command< private serialize( input: GetUserDefinedFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetUserDefinedFunctionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetUserDefinedFunctionCommand(output, context); } diff --git a/clients/client-glue/commands/GetUserDefinedFunctionsCommand.ts b/clients/client-glue/commands/GetUserDefinedFunctionsCommand.ts index a9e14595c0bd..a04b25a233c5 100644 --- a/clients/client-glue/commands/GetUserDefinedFunctionsCommand.ts +++ b/clients/client-glue/commands/GetUserDefinedFunctionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUserDefinedFunctionsCommandInput = GetUserDefinedFunctionsRequest; @@ -70,14 +70,14 @@ export class GetUserDefinedFunctionsCommand extends $Command< private serialize( input: GetUserDefinedFunctionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetUserDefinedFunctionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetUserDefinedFunctionsCommand( output, diff --git a/clients/client-glue/commands/GetWorkflowCommand.ts b/clients/client-glue/commands/GetWorkflowCommand.ts index 6aee7bddfc89..88bb2d4eda23 100644 --- a/clients/client-glue/commands/GetWorkflowCommand.ts +++ b/clients/client-glue/commands/GetWorkflowCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWorkflowCommandInput = GetWorkflowRequest; @@ -64,14 +64,14 @@ export class GetWorkflowCommand extends $Command< private serialize( input: GetWorkflowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetWorkflowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetWorkflowCommand(output, context); } diff --git a/clients/client-glue/commands/GetWorkflowRunCommand.ts b/clients/client-glue/commands/GetWorkflowRunCommand.ts index 44d172590e4f..7410bed823bd 100644 --- a/clients/client-glue/commands/GetWorkflowRunCommand.ts +++ b/clients/client-glue/commands/GetWorkflowRunCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWorkflowRunCommandInput = GetWorkflowRunRequest; @@ -64,14 +64,14 @@ export class GetWorkflowRunCommand extends $Command< private serialize( input: GetWorkflowRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetWorkflowRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetWorkflowRunCommand(output, context); } diff --git a/clients/client-glue/commands/GetWorkflowRunPropertiesCommand.ts b/clients/client-glue/commands/GetWorkflowRunPropertiesCommand.ts index 21d295e6235c..ac0ec808eece 100644 --- a/clients/client-glue/commands/GetWorkflowRunPropertiesCommand.ts +++ b/clients/client-glue/commands/GetWorkflowRunPropertiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWorkflowRunPropertiesCommandInput = GetWorkflowRunPropertiesRequest; @@ -70,14 +70,14 @@ export class GetWorkflowRunPropertiesCommand extends $Command< private serialize( input: GetWorkflowRunPropertiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetWorkflowRunPropertiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetWorkflowRunPropertiesCommand( output, diff --git a/clients/client-glue/commands/GetWorkflowRunsCommand.ts b/clients/client-glue/commands/GetWorkflowRunsCommand.ts index 9dea9a5992ed..5efdfaf72d9a 100644 --- a/clients/client-glue/commands/GetWorkflowRunsCommand.ts +++ b/clients/client-glue/commands/GetWorkflowRunsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWorkflowRunsCommandInput = GetWorkflowRunsRequest; @@ -67,14 +67,14 @@ export class GetWorkflowRunsCommand extends $Command< private serialize( input: GetWorkflowRunsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetWorkflowRunsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetWorkflowRunsCommand(output, context); } diff --git a/clients/client-glue/commands/ImportCatalogToGlueCommand.ts b/clients/client-glue/commands/ImportCatalogToGlueCommand.ts index 438955a46f36..9f500e9f1533 100644 --- a/clients/client-glue/commands/ImportCatalogToGlueCommand.ts +++ b/clients/client-glue/commands/ImportCatalogToGlueCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportCatalogToGlueCommandInput = ImportCatalogToGlueRequest; @@ -70,14 +70,14 @@ export class ImportCatalogToGlueCommand extends $Command< private serialize( input: ImportCatalogToGlueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportCatalogToGlueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportCatalogToGlueCommand(output, context); } diff --git a/clients/client-glue/commands/ListCrawlersCommand.ts b/clients/client-glue/commands/ListCrawlersCommand.ts index c444b1634caf..5a514a6f885e 100644 --- a/clients/client-glue/commands/ListCrawlersCommand.ts +++ b/clients/client-glue/commands/ListCrawlersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCrawlersCommandInput = ListCrawlersRequest; @@ -64,14 +64,14 @@ export class ListCrawlersCommand extends $Command< private serialize( input: ListCrawlersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCrawlersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCrawlersCommand(output, context); } diff --git a/clients/client-glue/commands/ListDevEndpointsCommand.ts b/clients/client-glue/commands/ListDevEndpointsCommand.ts index f985fe364b81..41889af25314 100644 --- a/clients/client-glue/commands/ListDevEndpointsCommand.ts +++ b/clients/client-glue/commands/ListDevEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDevEndpointsCommandInput = ListDevEndpointsRequest; @@ -67,14 +67,14 @@ export class ListDevEndpointsCommand extends $Command< private serialize( input: ListDevEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDevEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDevEndpointsCommand(output, context); } diff --git a/clients/client-glue/commands/ListJobsCommand.ts b/clients/client-glue/commands/ListJobsCommand.ts index 5df7c2a175de..cd600f0c935d 100644 --- a/clients/client-glue/commands/ListJobsCommand.ts +++ b/clients/client-glue/commands/ListJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsCommandInput = ListJobsRequest; @@ -64,14 +64,14 @@ export class ListJobsCommand extends $Command< private serialize( input: ListJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListJobsCommand(output, context); } diff --git a/clients/client-glue/commands/ListTriggersCommand.ts b/clients/client-glue/commands/ListTriggersCommand.ts index 6af8df8c5e4d..885bf532f9a8 100644 --- a/clients/client-glue/commands/ListTriggersCommand.ts +++ b/clients/client-glue/commands/ListTriggersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTriggersCommandInput = ListTriggersRequest; @@ -64,14 +64,14 @@ export class ListTriggersCommand extends $Command< private serialize( input: ListTriggersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTriggersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTriggersCommand(output, context); } diff --git a/clients/client-glue/commands/ListWorkflowsCommand.ts b/clients/client-glue/commands/ListWorkflowsCommand.ts index bb0033caf5f9..8b31e45b332a 100644 --- a/clients/client-glue/commands/ListWorkflowsCommand.ts +++ b/clients/client-glue/commands/ListWorkflowsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWorkflowsCommandInput = ListWorkflowsRequest; @@ -64,14 +64,14 @@ export class ListWorkflowsCommand extends $Command< private serialize( input: ListWorkflowsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListWorkflowsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListWorkflowsCommand(output, context); } diff --git a/clients/client-glue/commands/PutDataCatalogEncryptionSettingsCommand.ts b/clients/client-glue/commands/PutDataCatalogEncryptionSettingsCommand.ts index dee6890e1cd8..eb66ec21457e 100644 --- a/clients/client-glue/commands/PutDataCatalogEncryptionSettingsCommand.ts +++ b/clients/client-glue/commands/PutDataCatalogEncryptionSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDataCatalogEncryptionSettingsCommandInput = PutDataCatalogEncryptionSettingsRequest; @@ -70,7 +70,7 @@ export class PutDataCatalogEncryptionSettingsCommand extends $Command< private serialize( input: PutDataCatalogEncryptionSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutDataCatalogEncryptionSettingsCommand( input, @@ -80,7 +80,7 @@ export class PutDataCatalogEncryptionSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutDataCatalogEncryptionSettingsCommand( output, diff --git a/clients/client-glue/commands/PutResourcePolicyCommand.ts b/clients/client-glue/commands/PutResourcePolicyCommand.ts index 575ccb5647eb..98138e40a3b4 100644 --- a/clients/client-glue/commands/PutResourcePolicyCommand.ts +++ b/clients/client-glue/commands/PutResourcePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutResourcePolicyCommandInput = PutResourcePolicyRequest; @@ -67,14 +67,14 @@ export class PutResourcePolicyCommand extends $Command< private serialize( input: PutResourcePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutResourcePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutResourcePolicyCommand(output, context); } diff --git a/clients/client-glue/commands/PutWorkflowRunPropertiesCommand.ts b/clients/client-glue/commands/PutWorkflowRunPropertiesCommand.ts index 6d7c320f60ce..734cbe2ccbe6 100644 --- a/clients/client-glue/commands/PutWorkflowRunPropertiesCommand.ts +++ b/clients/client-glue/commands/PutWorkflowRunPropertiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutWorkflowRunPropertiesCommandInput = PutWorkflowRunPropertiesRequest; @@ -70,14 +70,14 @@ export class PutWorkflowRunPropertiesCommand extends $Command< private serialize( input: PutWorkflowRunPropertiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutWorkflowRunPropertiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutWorkflowRunPropertiesCommand( output, diff --git a/clients/client-glue/commands/ResetJobBookmarkCommand.ts b/clients/client-glue/commands/ResetJobBookmarkCommand.ts index 3082d1c6d74c..c28962071a2b 100644 --- a/clients/client-glue/commands/ResetJobBookmarkCommand.ts +++ b/clients/client-glue/commands/ResetJobBookmarkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetJobBookmarkCommandInput = ResetJobBookmarkRequest; @@ -67,14 +67,14 @@ export class ResetJobBookmarkCommand extends $Command< private serialize( input: ResetJobBookmarkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResetJobBookmarkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResetJobBookmarkCommand(output, context); } diff --git a/clients/client-glue/commands/SearchTablesCommand.ts b/clients/client-glue/commands/SearchTablesCommand.ts index 1ca95b3e6543..53ee54c7c7dc 100644 --- a/clients/client-glue/commands/SearchTablesCommand.ts +++ b/clients/client-glue/commands/SearchTablesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchTablesCommandInput = SearchTablesRequest; @@ -64,14 +64,14 @@ export class SearchTablesCommand extends $Command< private serialize( input: SearchTablesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchTablesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchTablesCommand(output, context); } diff --git a/clients/client-glue/commands/StartCrawlerCommand.ts b/clients/client-glue/commands/StartCrawlerCommand.ts index c60f88cfafe3..740fd498ca04 100644 --- a/clients/client-glue/commands/StartCrawlerCommand.ts +++ b/clients/client-glue/commands/StartCrawlerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartCrawlerCommandInput = StartCrawlerRequest; @@ -64,14 +64,14 @@ export class StartCrawlerCommand extends $Command< private serialize( input: StartCrawlerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartCrawlerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartCrawlerCommand(output, context); } diff --git a/clients/client-glue/commands/StartCrawlerScheduleCommand.ts b/clients/client-glue/commands/StartCrawlerScheduleCommand.ts index 3d6b63552d93..8a8b08057905 100644 --- a/clients/client-glue/commands/StartCrawlerScheduleCommand.ts +++ b/clients/client-glue/commands/StartCrawlerScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartCrawlerScheduleCommandInput = StartCrawlerScheduleRequest; @@ -70,14 +70,14 @@ export class StartCrawlerScheduleCommand extends $Command< private serialize( input: StartCrawlerScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartCrawlerScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartCrawlerScheduleCommand(output, context); } diff --git a/clients/client-glue/commands/StartExportLabelsTaskRunCommand.ts b/clients/client-glue/commands/StartExportLabelsTaskRunCommand.ts index d364aed2247b..91690eb60640 100644 --- a/clients/client-glue/commands/StartExportLabelsTaskRunCommand.ts +++ b/clients/client-glue/commands/StartExportLabelsTaskRunCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartExportLabelsTaskRunCommandInput = StartExportLabelsTaskRunRequest; @@ -70,14 +70,14 @@ export class StartExportLabelsTaskRunCommand extends $Command< private serialize( input: StartExportLabelsTaskRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartExportLabelsTaskRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartExportLabelsTaskRunCommand( output, diff --git a/clients/client-glue/commands/StartImportLabelsTaskRunCommand.ts b/clients/client-glue/commands/StartImportLabelsTaskRunCommand.ts index a51d09c18027..0067582f1373 100644 --- a/clients/client-glue/commands/StartImportLabelsTaskRunCommand.ts +++ b/clients/client-glue/commands/StartImportLabelsTaskRunCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartImportLabelsTaskRunCommandInput = StartImportLabelsTaskRunRequest; @@ -70,14 +70,14 @@ export class StartImportLabelsTaskRunCommand extends $Command< private serialize( input: StartImportLabelsTaskRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartImportLabelsTaskRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartImportLabelsTaskRunCommand( output, diff --git a/clients/client-glue/commands/StartJobRunCommand.ts b/clients/client-glue/commands/StartJobRunCommand.ts index 932464fadcbb..7c3186a7302d 100644 --- a/clients/client-glue/commands/StartJobRunCommand.ts +++ b/clients/client-glue/commands/StartJobRunCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartJobRunCommandInput = StartJobRunRequest; @@ -64,14 +64,14 @@ export class StartJobRunCommand extends $Command< private serialize( input: StartJobRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartJobRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartJobRunCommand(output, context); } diff --git a/clients/client-glue/commands/StartMLEvaluationTaskRunCommand.ts b/clients/client-glue/commands/StartMLEvaluationTaskRunCommand.ts index 22fed05fe256..6d90a26c6f1f 100644 --- a/clients/client-glue/commands/StartMLEvaluationTaskRunCommand.ts +++ b/clients/client-glue/commands/StartMLEvaluationTaskRunCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartMLEvaluationTaskRunCommandInput = StartMLEvaluationTaskRunRequest; @@ -70,14 +70,14 @@ export class StartMLEvaluationTaskRunCommand extends $Command< private serialize( input: StartMLEvaluationTaskRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartMLEvaluationTaskRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartMLEvaluationTaskRunCommand( output, diff --git a/clients/client-glue/commands/StartMLLabelingSetGenerationTaskRunCommand.ts b/clients/client-glue/commands/StartMLLabelingSetGenerationTaskRunCommand.ts index 3873bd8b697d..8ab713a71419 100644 --- a/clients/client-glue/commands/StartMLLabelingSetGenerationTaskRunCommand.ts +++ b/clients/client-glue/commands/StartMLLabelingSetGenerationTaskRunCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartMLLabelingSetGenerationTaskRunCommandInput = StartMLLabelingSetGenerationTaskRunRequest; @@ -70,7 +70,7 @@ export class StartMLLabelingSetGenerationTaskRunCommand extends $Command< private serialize( input: StartMLLabelingSetGenerationTaskRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartMLLabelingSetGenerationTaskRunCommand( input, @@ -80,7 +80,7 @@ export class StartMLLabelingSetGenerationTaskRunCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartMLLabelingSetGenerationTaskRunCommand( output, diff --git a/clients/client-glue/commands/StartTriggerCommand.ts b/clients/client-glue/commands/StartTriggerCommand.ts index 27fcb1508f2f..0dcfbab51d57 100644 --- a/clients/client-glue/commands/StartTriggerCommand.ts +++ b/clients/client-glue/commands/StartTriggerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartTriggerCommandInput = StartTriggerRequest; @@ -64,14 +64,14 @@ export class StartTriggerCommand extends $Command< private serialize( input: StartTriggerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartTriggerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartTriggerCommand(output, context); } diff --git a/clients/client-glue/commands/StartWorkflowRunCommand.ts b/clients/client-glue/commands/StartWorkflowRunCommand.ts index 9070a67b8afd..d1c664f3906d 100644 --- a/clients/client-glue/commands/StartWorkflowRunCommand.ts +++ b/clients/client-glue/commands/StartWorkflowRunCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartWorkflowRunCommandInput = StartWorkflowRunRequest; @@ -67,14 +67,14 @@ export class StartWorkflowRunCommand extends $Command< private serialize( input: StartWorkflowRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartWorkflowRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartWorkflowRunCommand(output, context); } diff --git a/clients/client-glue/commands/StopCrawlerCommand.ts b/clients/client-glue/commands/StopCrawlerCommand.ts index cc130f2d299d..cb0f42585e0c 100644 --- a/clients/client-glue/commands/StopCrawlerCommand.ts +++ b/clients/client-glue/commands/StopCrawlerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopCrawlerCommandInput = StopCrawlerRequest; @@ -64,14 +64,14 @@ export class StopCrawlerCommand extends $Command< private serialize( input: StopCrawlerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopCrawlerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopCrawlerCommand(output, context); } diff --git a/clients/client-glue/commands/StopCrawlerScheduleCommand.ts b/clients/client-glue/commands/StopCrawlerScheduleCommand.ts index 644b395c6399..a377ba423d3c 100644 --- a/clients/client-glue/commands/StopCrawlerScheduleCommand.ts +++ b/clients/client-glue/commands/StopCrawlerScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopCrawlerScheduleCommandInput = StopCrawlerScheduleRequest; @@ -70,14 +70,14 @@ export class StopCrawlerScheduleCommand extends $Command< private serialize( input: StopCrawlerScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopCrawlerScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopCrawlerScheduleCommand(output, context); } diff --git a/clients/client-glue/commands/StopTriggerCommand.ts b/clients/client-glue/commands/StopTriggerCommand.ts index d14af81d9779..e836b93fe2e7 100644 --- a/clients/client-glue/commands/StopTriggerCommand.ts +++ b/clients/client-glue/commands/StopTriggerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopTriggerCommandInput = StopTriggerRequest; @@ -64,14 +64,14 @@ export class StopTriggerCommand extends $Command< private serialize( input: StopTriggerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopTriggerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopTriggerCommand(output, context); } diff --git a/clients/client-glue/commands/TagResourceCommand.ts b/clients/client-glue/commands/TagResourceCommand.ts index 61bd3ad18075..a68e4c72163a 100644 --- a/clients/client-glue/commands/TagResourceCommand.ts +++ b/clients/client-glue/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-glue/commands/UntagResourceCommand.ts b/clients/client-glue/commands/UntagResourceCommand.ts index d58477213520..a6dc8e48e294 100644 --- a/clients/client-glue/commands/UntagResourceCommand.ts +++ b/clients/client-glue/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-glue/commands/UpdateClassifierCommand.ts b/clients/client-glue/commands/UpdateClassifierCommand.ts index c12918357c81..2404567cc95d 100644 --- a/clients/client-glue/commands/UpdateClassifierCommand.ts +++ b/clients/client-glue/commands/UpdateClassifierCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateClassifierCommandInput = UpdateClassifierRequest; @@ -67,14 +67,14 @@ export class UpdateClassifierCommand extends $Command< private serialize( input: UpdateClassifierCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateClassifierCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateClassifierCommand(output, context); } diff --git a/clients/client-glue/commands/UpdateConnectionCommand.ts b/clients/client-glue/commands/UpdateConnectionCommand.ts index 1910038383e6..f0c5b94a65d4 100644 --- a/clients/client-glue/commands/UpdateConnectionCommand.ts +++ b/clients/client-glue/commands/UpdateConnectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConnectionCommandInput = UpdateConnectionRequest; @@ -67,14 +67,14 @@ export class UpdateConnectionCommand extends $Command< private serialize( input: UpdateConnectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateConnectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateConnectionCommand(output, context); } diff --git a/clients/client-glue/commands/UpdateCrawlerCommand.ts b/clients/client-glue/commands/UpdateCrawlerCommand.ts index cf82101110b0..0886d2f4a333 100644 --- a/clients/client-glue/commands/UpdateCrawlerCommand.ts +++ b/clients/client-glue/commands/UpdateCrawlerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCrawlerCommandInput = UpdateCrawlerRequest; @@ -64,14 +64,14 @@ export class UpdateCrawlerCommand extends $Command< private serialize( input: UpdateCrawlerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateCrawlerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateCrawlerCommand(output, context); } diff --git a/clients/client-glue/commands/UpdateCrawlerScheduleCommand.ts b/clients/client-glue/commands/UpdateCrawlerScheduleCommand.ts index 17415923c63b..e49fb5a0033a 100644 --- a/clients/client-glue/commands/UpdateCrawlerScheduleCommand.ts +++ b/clients/client-glue/commands/UpdateCrawlerScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCrawlerScheduleCommandInput = UpdateCrawlerScheduleRequest; @@ -70,14 +70,14 @@ export class UpdateCrawlerScheduleCommand extends $Command< private serialize( input: UpdateCrawlerScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateCrawlerScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateCrawlerScheduleCommand(output, context); } diff --git a/clients/client-glue/commands/UpdateDatabaseCommand.ts b/clients/client-glue/commands/UpdateDatabaseCommand.ts index f7241b0846ce..1478694a2714 100644 --- a/clients/client-glue/commands/UpdateDatabaseCommand.ts +++ b/clients/client-glue/commands/UpdateDatabaseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDatabaseCommandInput = UpdateDatabaseRequest; @@ -64,14 +64,14 @@ export class UpdateDatabaseCommand extends $Command< private serialize( input: UpdateDatabaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDatabaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDatabaseCommand(output, context); } diff --git a/clients/client-glue/commands/UpdateDevEndpointCommand.ts b/clients/client-glue/commands/UpdateDevEndpointCommand.ts index 4c1949c99605..ee4df480cf81 100644 --- a/clients/client-glue/commands/UpdateDevEndpointCommand.ts +++ b/clients/client-glue/commands/UpdateDevEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDevEndpointCommandInput = UpdateDevEndpointRequest; @@ -67,14 +67,14 @@ export class UpdateDevEndpointCommand extends $Command< private serialize( input: UpdateDevEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDevEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDevEndpointCommand(output, context); } diff --git a/clients/client-glue/commands/UpdateJobCommand.ts b/clients/client-glue/commands/UpdateJobCommand.ts index 731235913272..4ad473bfb3e8 100644 --- a/clients/client-glue/commands/UpdateJobCommand.ts +++ b/clients/client-glue/commands/UpdateJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateJobCommandInput = UpdateJobRequest; @@ -64,14 +64,14 @@ export class UpdateJobCommand extends $Command< private serialize( input: UpdateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateJobCommand(output, context); } diff --git a/clients/client-glue/commands/UpdateMLTransformCommand.ts b/clients/client-glue/commands/UpdateMLTransformCommand.ts index 0cc89c9587e1..2adb20661af2 100644 --- a/clients/client-glue/commands/UpdateMLTransformCommand.ts +++ b/clients/client-glue/commands/UpdateMLTransformCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMLTransformCommandInput = UpdateMLTransformRequest; @@ -67,14 +67,14 @@ export class UpdateMLTransformCommand extends $Command< private serialize( input: UpdateMLTransformCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateMLTransformCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateMLTransformCommand(output, context); } diff --git a/clients/client-glue/commands/UpdatePartitionCommand.ts b/clients/client-glue/commands/UpdatePartitionCommand.ts index 23af650abe16..6c735d0b0c77 100644 --- a/clients/client-glue/commands/UpdatePartitionCommand.ts +++ b/clients/client-glue/commands/UpdatePartitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePartitionCommandInput = UpdatePartitionRequest; @@ -67,14 +67,14 @@ export class UpdatePartitionCommand extends $Command< private serialize( input: UpdatePartitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdatePartitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdatePartitionCommand(output, context); } diff --git a/clients/client-glue/commands/UpdateTableCommand.ts b/clients/client-glue/commands/UpdateTableCommand.ts index b92e07fef208..f14cda1b09cd 100644 --- a/clients/client-glue/commands/UpdateTableCommand.ts +++ b/clients/client-glue/commands/UpdateTableCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTableCommandInput = UpdateTableRequest; @@ -64,14 +64,14 @@ export class UpdateTableCommand extends $Command< private serialize( input: UpdateTableCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTableCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTableCommand(output, context); } diff --git a/clients/client-glue/commands/UpdateTriggerCommand.ts b/clients/client-glue/commands/UpdateTriggerCommand.ts index e5ed43de2de0..503981dce1ae 100644 --- a/clients/client-glue/commands/UpdateTriggerCommand.ts +++ b/clients/client-glue/commands/UpdateTriggerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTriggerCommandInput = UpdateTriggerRequest; @@ -64,14 +64,14 @@ export class UpdateTriggerCommand extends $Command< private serialize( input: UpdateTriggerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTriggerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTriggerCommand(output, context); } diff --git a/clients/client-glue/commands/UpdateUserDefinedFunctionCommand.ts b/clients/client-glue/commands/UpdateUserDefinedFunctionCommand.ts index a8081b0ac552..9176e3e84222 100644 --- a/clients/client-glue/commands/UpdateUserDefinedFunctionCommand.ts +++ b/clients/client-glue/commands/UpdateUserDefinedFunctionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserDefinedFunctionCommandInput = UpdateUserDefinedFunctionRequest; @@ -70,14 +70,14 @@ export class UpdateUserDefinedFunctionCommand extends $Command< private serialize( input: UpdateUserDefinedFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateUserDefinedFunctionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateUserDefinedFunctionCommand( output, diff --git a/clients/client-glue/commands/UpdateWorkflowCommand.ts b/clients/client-glue/commands/UpdateWorkflowCommand.ts index a06f8d5efdc5..8233f48aeff2 100644 --- a/clients/client-glue/commands/UpdateWorkflowCommand.ts +++ b/clients/client-glue/commands/UpdateWorkflowCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateWorkflowCommandInput = UpdateWorkflowRequest; @@ -64,14 +64,14 @@ export class UpdateWorkflowCommand extends $Command< private serialize( input: UpdateWorkflowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateWorkflowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateWorkflowCommand(output, context); } diff --git a/clients/client-glue/protocols/Aws_json1_1.ts b/clients/client-glue/protocols/Aws_json1_1.ts index 666f93bbe5cc..14b4b5436e8c 100644 --- a/clients/client-glue/protocols/Aws_json1_1.ts +++ b/clients/client-glue/protocols/Aws_json1_1.ts @@ -23282,6 +23282,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-greengrass/commands/AssociateRoleToGroupCommand.ts b/clients/client-greengrass/commands/AssociateRoleToGroupCommand.ts index 47ab4e49d0b8..5d274021d080 100644 --- a/clients/client-greengrass/commands/AssociateRoleToGroupCommand.ts +++ b/clients/client-greengrass/commands/AssociateRoleToGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateRoleToGroupCommandInput = AssociateRoleToGroupRequest; @@ -70,14 +70,14 @@ export class AssociateRoleToGroupCommand extends $Command< private serialize( input: AssociateRoleToGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateRoleToGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateRoleToGroupCommand( output, diff --git a/clients/client-greengrass/commands/AssociateServiceRoleToAccountCommand.ts b/clients/client-greengrass/commands/AssociateServiceRoleToAccountCommand.ts index a9158fd5e459..b32df7f04698 100644 --- a/clients/client-greengrass/commands/AssociateServiceRoleToAccountCommand.ts +++ b/clients/client-greengrass/commands/AssociateServiceRoleToAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateServiceRoleToAccountCommandInput = AssociateServiceRoleToAccountRequest; @@ -70,7 +70,7 @@ export class AssociateServiceRoleToAccountCommand extends $Command< private serialize( input: AssociateServiceRoleToAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateServiceRoleToAccountCommand( input, @@ -80,7 +80,7 @@ export class AssociateServiceRoleToAccountCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateServiceRoleToAccountCommand( output, diff --git a/clients/client-greengrass/commands/CreateConnectorDefinitionCommand.ts b/clients/client-greengrass/commands/CreateConnectorDefinitionCommand.ts index 65c1a02f292a..fcdab74ee2d0 100644 --- a/clients/client-greengrass/commands/CreateConnectorDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateConnectorDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConnectorDefinitionCommandInput = CreateConnectorDefinitionRequest; @@ -70,7 +70,7 @@ export class CreateConnectorDefinitionCommand extends $Command< private serialize( input: CreateConnectorDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConnectorDefinitionCommand( input, @@ -80,7 +80,7 @@ export class CreateConnectorDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConnectorDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/CreateConnectorDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateConnectorDefinitionVersionCommand.ts index a388f067b5df..742e84e32aec 100644 --- a/clients/client-greengrass/commands/CreateConnectorDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateConnectorDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConnectorDefinitionVersionCommandInput = CreateConnectorDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class CreateConnectorDefinitionVersionCommand extends $Command< private serialize( input: CreateConnectorDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConnectorDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateConnectorDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConnectorDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/CreateCoreDefinitionCommand.ts b/clients/client-greengrass/commands/CreateCoreDefinitionCommand.ts index 3ba90f1d3479..1feb6a60ecea 100644 --- a/clients/client-greengrass/commands/CreateCoreDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateCoreDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCoreDefinitionCommandInput = CreateCoreDefinitionRequest; @@ -70,14 +70,14 @@ export class CreateCoreDefinitionCommand extends $Command< private serialize( input: CreateCoreDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateCoreDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateCoreDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/CreateCoreDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateCoreDefinitionVersionCommand.ts index 0d0f7cdbbf0b..5fb4d3750dd2 100644 --- a/clients/client-greengrass/commands/CreateCoreDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateCoreDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCoreDefinitionVersionCommandInput = CreateCoreDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class CreateCoreDefinitionVersionCommand extends $Command< private serialize( input: CreateCoreDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateCoreDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateCoreDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateCoreDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/CreateDeploymentCommand.ts b/clients/client-greengrass/commands/CreateDeploymentCommand.ts index 03438f1e6d68..37e62049f45b 100644 --- a/clients/client-greengrass/commands/CreateDeploymentCommand.ts +++ b/clients/client-greengrass/commands/CreateDeploymentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeploymentCommandInput = CreateDeploymentRequest; @@ -67,14 +67,14 @@ export class CreateDeploymentCommand extends $Command< private serialize( input: CreateDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDeploymentCommand(output, context); } diff --git a/clients/client-greengrass/commands/CreateDeviceDefinitionCommand.ts b/clients/client-greengrass/commands/CreateDeviceDefinitionCommand.ts index 520c113b834f..6dc739406ae2 100644 --- a/clients/client-greengrass/commands/CreateDeviceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateDeviceDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeviceDefinitionCommandInput = CreateDeviceDefinitionRequest; @@ -70,7 +70,7 @@ export class CreateDeviceDefinitionCommand extends $Command< private serialize( input: CreateDeviceDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDeviceDefinitionCommand( input, @@ -80,7 +80,7 @@ export class CreateDeviceDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDeviceDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/CreateDeviceDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateDeviceDefinitionVersionCommand.ts index 23198541eae2..a1c8e8e39fad 100644 --- a/clients/client-greengrass/commands/CreateDeviceDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateDeviceDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeviceDefinitionVersionCommandInput = CreateDeviceDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class CreateDeviceDefinitionVersionCommand extends $Command< private serialize( input: CreateDeviceDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDeviceDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateDeviceDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDeviceDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/CreateFunctionDefinitionCommand.ts b/clients/client-greengrass/commands/CreateFunctionDefinitionCommand.ts index 17e7136371e1..c2f2b594cd8c 100644 --- a/clients/client-greengrass/commands/CreateFunctionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateFunctionDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFunctionDefinitionCommandInput = CreateFunctionDefinitionRequest; @@ -70,7 +70,7 @@ export class CreateFunctionDefinitionCommand extends $Command< private serialize( input: CreateFunctionDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFunctionDefinitionCommand( input, @@ -80,7 +80,7 @@ export class CreateFunctionDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFunctionDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/CreateFunctionDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateFunctionDefinitionVersionCommand.ts index bb4ce052948d..3d6baab239b7 100644 --- a/clients/client-greengrass/commands/CreateFunctionDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateFunctionDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFunctionDefinitionVersionCommandInput = CreateFunctionDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class CreateFunctionDefinitionVersionCommand extends $Command< private serialize( input: CreateFunctionDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFunctionDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateFunctionDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFunctionDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/CreateGroupCertificateAuthorityCommand.ts b/clients/client-greengrass/commands/CreateGroupCertificateAuthorityCommand.ts index 617da1614c02..2e29b201a6f1 100644 --- a/clients/client-greengrass/commands/CreateGroupCertificateAuthorityCommand.ts +++ b/clients/client-greengrass/commands/CreateGroupCertificateAuthorityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGroupCertificateAuthorityCommandInput = CreateGroupCertificateAuthorityRequest; @@ -70,7 +70,7 @@ export class CreateGroupCertificateAuthorityCommand extends $Command< private serialize( input: CreateGroupCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateGroupCertificateAuthorityCommand( input, @@ -80,7 +80,7 @@ export class CreateGroupCertificateAuthorityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateGroupCertificateAuthorityCommand( output, diff --git a/clients/client-greengrass/commands/CreateGroupCommand.ts b/clients/client-greengrass/commands/CreateGroupCommand.ts index 22a2272f4e86..fb45a20cba9f 100644 --- a/clients/client-greengrass/commands/CreateGroupCommand.ts +++ b/clients/client-greengrass/commands/CreateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGroupCommandInput = CreateGroupRequest; @@ -64,14 +64,14 @@ export class CreateGroupCommand extends $Command< private serialize( input: CreateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateGroupCommand(output, context); } diff --git a/clients/client-greengrass/commands/CreateGroupVersionCommand.ts b/clients/client-greengrass/commands/CreateGroupVersionCommand.ts index 4d2bc07fd034..3650e53f712a 100644 --- a/clients/client-greengrass/commands/CreateGroupVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateGroupVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGroupVersionCommandInput = CreateGroupVersionRequest; @@ -67,14 +67,14 @@ export class CreateGroupVersionCommand extends $Command< private serialize( input: CreateGroupVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateGroupVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateGroupVersionCommand(output, context); } diff --git a/clients/client-greengrass/commands/CreateLoggerDefinitionCommand.ts b/clients/client-greengrass/commands/CreateLoggerDefinitionCommand.ts index 1b941359713f..12f1bc1fbfb5 100644 --- a/clients/client-greengrass/commands/CreateLoggerDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateLoggerDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLoggerDefinitionCommandInput = CreateLoggerDefinitionRequest; @@ -70,7 +70,7 @@ export class CreateLoggerDefinitionCommand extends $Command< private serialize( input: CreateLoggerDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateLoggerDefinitionCommand( input, @@ -80,7 +80,7 @@ export class CreateLoggerDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateLoggerDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/CreateLoggerDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateLoggerDefinitionVersionCommand.ts index 355ee4bd1398..6376c79c1f37 100644 --- a/clients/client-greengrass/commands/CreateLoggerDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateLoggerDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLoggerDefinitionVersionCommandInput = CreateLoggerDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class CreateLoggerDefinitionVersionCommand extends $Command< private serialize( input: CreateLoggerDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateLoggerDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateLoggerDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateLoggerDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/CreateResourceDefinitionCommand.ts b/clients/client-greengrass/commands/CreateResourceDefinitionCommand.ts index b4726ef1cad8..5d78efd94ed1 100644 --- a/clients/client-greengrass/commands/CreateResourceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateResourceDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateResourceDefinitionCommandInput = CreateResourceDefinitionRequest; @@ -70,7 +70,7 @@ export class CreateResourceDefinitionCommand extends $Command< private serialize( input: CreateResourceDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateResourceDefinitionCommand( input, @@ -80,7 +80,7 @@ export class CreateResourceDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateResourceDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/CreateResourceDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateResourceDefinitionVersionCommand.ts index 2658f957143e..90a097803f31 100644 --- a/clients/client-greengrass/commands/CreateResourceDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateResourceDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateResourceDefinitionVersionCommandInput = CreateResourceDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class CreateResourceDefinitionVersionCommand extends $Command< private serialize( input: CreateResourceDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateResourceDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateResourceDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateResourceDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/CreateSoftwareUpdateJobCommand.ts b/clients/client-greengrass/commands/CreateSoftwareUpdateJobCommand.ts index 7d2896408e3c..1b5e1f73d733 100644 --- a/clients/client-greengrass/commands/CreateSoftwareUpdateJobCommand.ts +++ b/clients/client-greengrass/commands/CreateSoftwareUpdateJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSoftwareUpdateJobCommandInput = CreateSoftwareUpdateJobRequest; @@ -70,7 +70,7 @@ export class CreateSoftwareUpdateJobCommand extends $Command< private serialize( input: CreateSoftwareUpdateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSoftwareUpdateJobCommand( input, @@ -80,7 +80,7 @@ export class CreateSoftwareUpdateJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSoftwareUpdateJobCommand( output, diff --git a/clients/client-greengrass/commands/CreateSubscriptionDefinitionCommand.ts b/clients/client-greengrass/commands/CreateSubscriptionDefinitionCommand.ts index 9e96857606da..033ae0c8ec33 100644 --- a/clients/client-greengrass/commands/CreateSubscriptionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateSubscriptionDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSubscriptionDefinitionCommandInput = CreateSubscriptionDefinitionRequest; @@ -70,7 +70,7 @@ export class CreateSubscriptionDefinitionCommand extends $Command< private serialize( input: CreateSubscriptionDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSubscriptionDefinitionCommand( input, @@ -80,7 +80,7 @@ export class CreateSubscriptionDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSubscriptionDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/CreateSubscriptionDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateSubscriptionDefinitionVersionCommand.ts index 93df8d15717d..3af07c0371cd 100644 --- a/clients/client-greengrass/commands/CreateSubscriptionDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateSubscriptionDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSubscriptionDefinitionVersionCommandInput = CreateSubscriptionDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class CreateSubscriptionDefinitionVersionCommand extends $Command< private serialize( input: CreateSubscriptionDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSubscriptionDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateSubscriptionDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSubscriptionDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/DeleteConnectorDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteConnectorDefinitionCommand.ts index 0d52cc8bacb8..7d6ee2f1ab48 100644 --- a/clients/client-greengrass/commands/DeleteConnectorDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteConnectorDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConnectorDefinitionCommandInput = DeleteConnectorDefinitionRequest; @@ -70,7 +70,7 @@ export class DeleteConnectorDefinitionCommand extends $Command< private serialize( input: DeleteConnectorDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteConnectorDefinitionCommand( input, @@ -80,7 +80,7 @@ export class DeleteConnectorDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteConnectorDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/DeleteCoreDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteCoreDefinitionCommand.ts index 71ff63d1a854..28b328d685b3 100644 --- a/clients/client-greengrass/commands/DeleteCoreDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteCoreDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCoreDefinitionCommandInput = DeleteCoreDefinitionRequest; @@ -70,14 +70,14 @@ export class DeleteCoreDefinitionCommand extends $Command< private serialize( input: DeleteCoreDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteCoreDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteCoreDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/DeleteDeviceDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteDeviceDefinitionCommand.ts index ee743cc2e6e9..7a92c3f00db9 100644 --- a/clients/client-greengrass/commands/DeleteDeviceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteDeviceDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDeviceDefinitionCommandInput = DeleteDeviceDefinitionRequest; @@ -70,7 +70,7 @@ export class DeleteDeviceDefinitionCommand extends $Command< private serialize( input: DeleteDeviceDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDeviceDefinitionCommand( input, @@ -80,7 +80,7 @@ export class DeleteDeviceDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDeviceDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/DeleteFunctionDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteFunctionDefinitionCommand.ts index c63fd2061971..8097185a5a1f 100644 --- a/clients/client-greengrass/commands/DeleteFunctionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteFunctionDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFunctionDefinitionCommandInput = DeleteFunctionDefinitionRequest; @@ -70,7 +70,7 @@ export class DeleteFunctionDefinitionCommand extends $Command< private serialize( input: DeleteFunctionDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFunctionDefinitionCommand( input, @@ -80,7 +80,7 @@ export class DeleteFunctionDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFunctionDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/DeleteGroupCommand.ts b/clients/client-greengrass/commands/DeleteGroupCommand.ts index c3a336726041..87fd66d774f2 100644 --- a/clients/client-greengrass/commands/DeleteGroupCommand.ts +++ b/clients/client-greengrass/commands/DeleteGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGroupCommandInput = DeleteGroupRequest; @@ -64,14 +64,14 @@ export class DeleteGroupCommand extends $Command< private serialize( input: DeleteGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteGroupCommand(output, context); } diff --git a/clients/client-greengrass/commands/DeleteLoggerDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteLoggerDefinitionCommand.ts index 9dffc3c26af9..b0d7975d9755 100644 --- a/clients/client-greengrass/commands/DeleteLoggerDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteLoggerDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLoggerDefinitionCommandInput = DeleteLoggerDefinitionRequest; @@ -70,7 +70,7 @@ export class DeleteLoggerDefinitionCommand extends $Command< private serialize( input: DeleteLoggerDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteLoggerDefinitionCommand( input, @@ -80,7 +80,7 @@ export class DeleteLoggerDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteLoggerDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/DeleteResourceDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteResourceDefinitionCommand.ts index ea65067a21a9..abe21e2b8a6a 100644 --- a/clients/client-greengrass/commands/DeleteResourceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteResourceDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResourceDefinitionCommandInput = DeleteResourceDefinitionRequest; @@ -70,7 +70,7 @@ export class DeleteResourceDefinitionCommand extends $Command< private serialize( input: DeleteResourceDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteResourceDefinitionCommand( input, @@ -80,7 +80,7 @@ export class DeleteResourceDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteResourceDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/DeleteSubscriptionDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteSubscriptionDefinitionCommand.ts index 7c3dc3593efc..ff56889ae610 100644 --- a/clients/client-greengrass/commands/DeleteSubscriptionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteSubscriptionDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSubscriptionDefinitionCommandInput = DeleteSubscriptionDefinitionRequest; @@ -70,7 +70,7 @@ export class DeleteSubscriptionDefinitionCommand extends $Command< private serialize( input: DeleteSubscriptionDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSubscriptionDefinitionCommand( input, @@ -80,7 +80,7 @@ export class DeleteSubscriptionDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSubscriptionDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/DisassociateRoleFromGroupCommand.ts b/clients/client-greengrass/commands/DisassociateRoleFromGroupCommand.ts index b310430093c4..0c63abbfcf5c 100644 --- a/clients/client-greengrass/commands/DisassociateRoleFromGroupCommand.ts +++ b/clients/client-greengrass/commands/DisassociateRoleFromGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateRoleFromGroupCommandInput = DisassociateRoleFromGroupRequest; @@ -70,7 +70,7 @@ export class DisassociateRoleFromGroupCommand extends $Command< private serialize( input: DisassociateRoleFromGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateRoleFromGroupCommand( input, @@ -80,7 +80,7 @@ export class DisassociateRoleFromGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateRoleFromGroupCommand( output, diff --git a/clients/client-greengrass/commands/DisassociateServiceRoleFromAccountCommand.ts b/clients/client-greengrass/commands/DisassociateServiceRoleFromAccountCommand.ts index bd97968140f8..46c5f14bebe9 100644 --- a/clients/client-greengrass/commands/DisassociateServiceRoleFromAccountCommand.ts +++ b/clients/client-greengrass/commands/DisassociateServiceRoleFromAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateServiceRoleFromAccountCommandInput = DisassociateServiceRoleFromAccountRequest; @@ -70,7 +70,7 @@ export class DisassociateServiceRoleFromAccountCommand extends $Command< private serialize( input: DisassociateServiceRoleFromAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateServiceRoleFromAccountCommand( input, @@ -80,7 +80,7 @@ export class DisassociateServiceRoleFromAccountCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateServiceRoleFromAccountCommand( output, diff --git a/clients/client-greengrass/commands/GetAssociatedRoleCommand.ts b/clients/client-greengrass/commands/GetAssociatedRoleCommand.ts index 50c1b716ec4a..383b16005f7b 100644 --- a/clients/client-greengrass/commands/GetAssociatedRoleCommand.ts +++ b/clients/client-greengrass/commands/GetAssociatedRoleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAssociatedRoleCommandInput = GetAssociatedRoleRequest; @@ -67,14 +67,14 @@ export class GetAssociatedRoleCommand extends $Command< private serialize( input: GetAssociatedRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAssociatedRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAssociatedRoleCommand(output, context); } diff --git a/clients/client-greengrass/commands/GetBulkDeploymentStatusCommand.ts b/clients/client-greengrass/commands/GetBulkDeploymentStatusCommand.ts index a65a25438060..f912ad0a8275 100644 --- a/clients/client-greengrass/commands/GetBulkDeploymentStatusCommand.ts +++ b/clients/client-greengrass/commands/GetBulkDeploymentStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBulkDeploymentStatusCommandInput = GetBulkDeploymentStatusRequest; @@ -70,7 +70,7 @@ export class GetBulkDeploymentStatusCommand extends $Command< private serialize( input: GetBulkDeploymentStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBulkDeploymentStatusCommand( input, @@ -80,7 +80,7 @@ export class GetBulkDeploymentStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBulkDeploymentStatusCommand( output, diff --git a/clients/client-greengrass/commands/GetConnectivityInfoCommand.ts b/clients/client-greengrass/commands/GetConnectivityInfoCommand.ts index 49f6c1f2a172..f35dbea3ec2b 100644 --- a/clients/client-greengrass/commands/GetConnectivityInfoCommand.ts +++ b/clients/client-greengrass/commands/GetConnectivityInfoCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConnectivityInfoCommandInput = GetConnectivityInfoRequest; @@ -70,14 +70,14 @@ export class GetConnectivityInfoCommand extends $Command< private serialize( input: GetConnectivityInfoCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConnectivityInfoCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConnectivityInfoCommand( output, diff --git a/clients/client-greengrass/commands/GetConnectorDefinitionCommand.ts b/clients/client-greengrass/commands/GetConnectorDefinitionCommand.ts index 0236090bba61..3756acee5cea 100644 --- a/clients/client-greengrass/commands/GetConnectorDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetConnectorDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConnectorDefinitionCommandInput = GetConnectorDefinitionRequest; @@ -70,7 +70,7 @@ export class GetConnectorDefinitionCommand extends $Command< private serialize( input: GetConnectorDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConnectorDefinitionCommand( input, @@ -80,7 +80,7 @@ export class GetConnectorDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConnectorDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/GetConnectorDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetConnectorDefinitionVersionCommand.ts index d27f3e83e192..ed67433722cb 100644 --- a/clients/client-greengrass/commands/GetConnectorDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetConnectorDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConnectorDefinitionVersionCommandInput = GetConnectorDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class GetConnectorDefinitionVersionCommand extends $Command< private serialize( input: GetConnectorDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConnectorDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class GetConnectorDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConnectorDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/GetCoreDefinitionCommand.ts b/clients/client-greengrass/commands/GetCoreDefinitionCommand.ts index fddd8db61da2..e875db4596b6 100644 --- a/clients/client-greengrass/commands/GetCoreDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetCoreDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCoreDefinitionCommandInput = GetCoreDefinitionRequest; @@ -67,14 +67,14 @@ export class GetCoreDefinitionCommand extends $Command< private serialize( input: GetCoreDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCoreDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCoreDefinitionCommand(output, context); } diff --git a/clients/client-greengrass/commands/GetCoreDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetCoreDefinitionVersionCommand.ts index 5fd84f9b7d28..1101d7b88758 100644 --- a/clients/client-greengrass/commands/GetCoreDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetCoreDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCoreDefinitionVersionCommandInput = GetCoreDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class GetCoreDefinitionVersionCommand extends $Command< private serialize( input: GetCoreDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCoreDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class GetCoreDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCoreDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/GetDeploymentStatusCommand.ts b/clients/client-greengrass/commands/GetDeploymentStatusCommand.ts index d524a92cd160..3f3d7240f4ac 100644 --- a/clients/client-greengrass/commands/GetDeploymentStatusCommand.ts +++ b/clients/client-greengrass/commands/GetDeploymentStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeploymentStatusCommandInput = GetDeploymentStatusRequest; @@ -70,14 +70,14 @@ export class GetDeploymentStatusCommand extends $Command< private serialize( input: GetDeploymentStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeploymentStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeploymentStatusCommand( output, diff --git a/clients/client-greengrass/commands/GetDeviceDefinitionCommand.ts b/clients/client-greengrass/commands/GetDeviceDefinitionCommand.ts index b4af537f4a66..caf1af71c41a 100644 --- a/clients/client-greengrass/commands/GetDeviceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetDeviceDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeviceDefinitionCommandInput = GetDeviceDefinitionRequest; @@ -70,14 +70,14 @@ export class GetDeviceDefinitionCommand extends $Command< private serialize( input: GetDeviceDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeviceDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeviceDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/GetDeviceDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetDeviceDefinitionVersionCommand.ts index 6a76645b9eb7..2c8d38ee36df 100644 --- a/clients/client-greengrass/commands/GetDeviceDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetDeviceDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeviceDefinitionVersionCommandInput = GetDeviceDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class GetDeviceDefinitionVersionCommand extends $Command< private serialize( input: GetDeviceDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeviceDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class GetDeviceDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeviceDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/GetFunctionDefinitionCommand.ts b/clients/client-greengrass/commands/GetFunctionDefinitionCommand.ts index a29538639bec..65ff0e4437b6 100644 --- a/clients/client-greengrass/commands/GetFunctionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetFunctionDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFunctionDefinitionCommandInput = GetFunctionDefinitionRequest; @@ -70,14 +70,14 @@ export class GetFunctionDefinitionCommand extends $Command< private serialize( input: GetFunctionDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFunctionDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFunctionDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/GetFunctionDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetFunctionDefinitionVersionCommand.ts index 3423a4535f5a..b2a9ccb44e3e 100644 --- a/clients/client-greengrass/commands/GetFunctionDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetFunctionDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFunctionDefinitionVersionCommandInput = GetFunctionDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class GetFunctionDefinitionVersionCommand extends $Command< private serialize( input: GetFunctionDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFunctionDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class GetFunctionDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFunctionDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/GetGroupCertificateAuthorityCommand.ts b/clients/client-greengrass/commands/GetGroupCertificateAuthorityCommand.ts index 64fded651af4..aeb4c3098187 100644 --- a/clients/client-greengrass/commands/GetGroupCertificateAuthorityCommand.ts +++ b/clients/client-greengrass/commands/GetGroupCertificateAuthorityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGroupCertificateAuthorityCommandInput = GetGroupCertificateAuthorityRequest; @@ -70,7 +70,7 @@ export class GetGroupCertificateAuthorityCommand extends $Command< private serialize( input: GetGroupCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGroupCertificateAuthorityCommand( input, @@ -80,7 +80,7 @@ export class GetGroupCertificateAuthorityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGroupCertificateAuthorityCommand( output, diff --git a/clients/client-greengrass/commands/GetGroupCertificateConfigurationCommand.ts b/clients/client-greengrass/commands/GetGroupCertificateConfigurationCommand.ts index 45a9debae8aa..d479a01e16e7 100644 --- a/clients/client-greengrass/commands/GetGroupCertificateConfigurationCommand.ts +++ b/clients/client-greengrass/commands/GetGroupCertificateConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGroupCertificateConfigurationCommandInput = GetGroupCertificateConfigurationRequest; @@ -70,7 +70,7 @@ export class GetGroupCertificateConfigurationCommand extends $Command< private serialize( input: GetGroupCertificateConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGroupCertificateConfigurationCommand( input, @@ -80,7 +80,7 @@ export class GetGroupCertificateConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGroupCertificateConfigurationCommand( output, diff --git a/clients/client-greengrass/commands/GetGroupCommand.ts b/clients/client-greengrass/commands/GetGroupCommand.ts index 084aeb2bb328..81327b529de8 100644 --- a/clients/client-greengrass/commands/GetGroupCommand.ts +++ b/clients/client-greengrass/commands/GetGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGroupCommandInput = GetGroupRequest; @@ -64,14 +64,14 @@ export class GetGroupCommand extends $Command< private serialize( input: GetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGroupCommand(output, context); } diff --git a/clients/client-greengrass/commands/GetGroupVersionCommand.ts b/clients/client-greengrass/commands/GetGroupVersionCommand.ts index db8509209ce4..c65e03857574 100644 --- a/clients/client-greengrass/commands/GetGroupVersionCommand.ts +++ b/clients/client-greengrass/commands/GetGroupVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGroupVersionCommandInput = GetGroupVersionRequest; @@ -67,14 +67,14 @@ export class GetGroupVersionCommand extends $Command< private serialize( input: GetGroupVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGroupVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGroupVersionCommand(output, context); } diff --git a/clients/client-greengrass/commands/GetLoggerDefinitionCommand.ts b/clients/client-greengrass/commands/GetLoggerDefinitionCommand.ts index 66221284fe7b..55db55d4f1c7 100644 --- a/clients/client-greengrass/commands/GetLoggerDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetLoggerDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLoggerDefinitionCommandInput = GetLoggerDefinitionRequest; @@ -70,14 +70,14 @@ export class GetLoggerDefinitionCommand extends $Command< private serialize( input: GetLoggerDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLoggerDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLoggerDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/GetLoggerDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetLoggerDefinitionVersionCommand.ts index 8049bce73b37..e33be38ae3a3 100644 --- a/clients/client-greengrass/commands/GetLoggerDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetLoggerDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLoggerDefinitionVersionCommandInput = GetLoggerDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class GetLoggerDefinitionVersionCommand extends $Command< private serialize( input: GetLoggerDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLoggerDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class GetLoggerDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLoggerDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/GetResourceDefinitionCommand.ts b/clients/client-greengrass/commands/GetResourceDefinitionCommand.ts index c484cfe0784c..6284efe8a2d4 100644 --- a/clients/client-greengrass/commands/GetResourceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetResourceDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourceDefinitionCommandInput = GetResourceDefinitionRequest; @@ -70,14 +70,14 @@ export class GetResourceDefinitionCommand extends $Command< private serialize( input: GetResourceDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetResourceDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetResourceDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/GetResourceDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetResourceDefinitionVersionCommand.ts index eadfddcafba8..92ad49c26cfc 100644 --- a/clients/client-greengrass/commands/GetResourceDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetResourceDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourceDefinitionVersionCommandInput = GetResourceDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class GetResourceDefinitionVersionCommand extends $Command< private serialize( input: GetResourceDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetResourceDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class GetResourceDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetResourceDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/GetServiceRoleForAccountCommand.ts b/clients/client-greengrass/commands/GetServiceRoleForAccountCommand.ts index 1baa2782b3de..ea5152797951 100644 --- a/clients/client-greengrass/commands/GetServiceRoleForAccountCommand.ts +++ b/clients/client-greengrass/commands/GetServiceRoleForAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServiceRoleForAccountCommandInput = GetServiceRoleForAccountRequest; @@ -70,7 +70,7 @@ export class GetServiceRoleForAccountCommand extends $Command< private serialize( input: GetServiceRoleForAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetServiceRoleForAccountCommand( input, @@ -80,7 +80,7 @@ export class GetServiceRoleForAccountCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetServiceRoleForAccountCommand( output, diff --git a/clients/client-greengrass/commands/GetSubscriptionDefinitionCommand.ts b/clients/client-greengrass/commands/GetSubscriptionDefinitionCommand.ts index b993a829a332..80fa3a7552f5 100644 --- a/clients/client-greengrass/commands/GetSubscriptionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetSubscriptionDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSubscriptionDefinitionCommandInput = GetSubscriptionDefinitionRequest; @@ -70,7 +70,7 @@ export class GetSubscriptionDefinitionCommand extends $Command< private serialize( input: GetSubscriptionDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSubscriptionDefinitionCommand( input, @@ -80,7 +80,7 @@ export class GetSubscriptionDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSubscriptionDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/GetSubscriptionDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetSubscriptionDefinitionVersionCommand.ts index fd1afdeed206..b84656ea6161 100644 --- a/clients/client-greengrass/commands/GetSubscriptionDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetSubscriptionDefinitionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSubscriptionDefinitionVersionCommandInput = GetSubscriptionDefinitionVersionRequest; @@ -70,7 +70,7 @@ export class GetSubscriptionDefinitionVersionCommand extends $Command< private serialize( input: GetSubscriptionDefinitionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSubscriptionDefinitionVersionCommand( input, @@ -80,7 +80,7 @@ export class GetSubscriptionDefinitionVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSubscriptionDefinitionVersionCommand( output, diff --git a/clients/client-greengrass/commands/ListBulkDeploymentDetailedReportsCommand.ts b/clients/client-greengrass/commands/ListBulkDeploymentDetailedReportsCommand.ts index 181367317a10..8e4508dc304c 100644 --- a/clients/client-greengrass/commands/ListBulkDeploymentDetailedReportsCommand.ts +++ b/clients/client-greengrass/commands/ListBulkDeploymentDetailedReportsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBulkDeploymentDetailedReportsCommandInput = ListBulkDeploymentDetailedReportsRequest; @@ -70,7 +70,7 @@ export class ListBulkDeploymentDetailedReportsCommand extends $Command< private serialize( input: ListBulkDeploymentDetailedReportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBulkDeploymentDetailedReportsCommand( input, @@ -80,7 +80,7 @@ export class ListBulkDeploymentDetailedReportsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBulkDeploymentDetailedReportsCommand( output, diff --git a/clients/client-greengrass/commands/ListBulkDeploymentsCommand.ts b/clients/client-greengrass/commands/ListBulkDeploymentsCommand.ts index 35ffae81b594..de553695f12b 100644 --- a/clients/client-greengrass/commands/ListBulkDeploymentsCommand.ts +++ b/clients/client-greengrass/commands/ListBulkDeploymentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBulkDeploymentsCommandInput = ListBulkDeploymentsRequest; @@ -70,14 +70,14 @@ export class ListBulkDeploymentsCommand extends $Command< private serialize( input: ListBulkDeploymentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBulkDeploymentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBulkDeploymentsCommand( output, diff --git a/clients/client-greengrass/commands/ListConnectorDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListConnectorDefinitionVersionsCommand.ts index 31b372d9ae98..222763402975 100644 --- a/clients/client-greengrass/commands/ListConnectorDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListConnectorDefinitionVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConnectorDefinitionVersionsCommandInput = ListConnectorDefinitionVersionsRequest; @@ -70,7 +70,7 @@ export class ListConnectorDefinitionVersionsCommand extends $Command< private serialize( input: ListConnectorDefinitionVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListConnectorDefinitionVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListConnectorDefinitionVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListConnectorDefinitionVersionsCommand( output, diff --git a/clients/client-greengrass/commands/ListConnectorDefinitionsCommand.ts b/clients/client-greengrass/commands/ListConnectorDefinitionsCommand.ts index 217a56dbf4b2..18d27df4f0c6 100644 --- a/clients/client-greengrass/commands/ListConnectorDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListConnectorDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConnectorDefinitionsCommandInput = ListConnectorDefinitionsRequest; @@ -70,7 +70,7 @@ export class ListConnectorDefinitionsCommand extends $Command< private serialize( input: ListConnectorDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListConnectorDefinitionsCommand( input, @@ -80,7 +80,7 @@ export class ListConnectorDefinitionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListConnectorDefinitionsCommand( output, diff --git a/clients/client-greengrass/commands/ListCoreDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListCoreDefinitionVersionsCommand.ts index ed2b789d62f2..9cc9d469d9a4 100644 --- a/clients/client-greengrass/commands/ListCoreDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListCoreDefinitionVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCoreDefinitionVersionsCommandInput = ListCoreDefinitionVersionsRequest; @@ -70,7 +70,7 @@ export class ListCoreDefinitionVersionsCommand extends $Command< private serialize( input: ListCoreDefinitionVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListCoreDefinitionVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListCoreDefinitionVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListCoreDefinitionVersionsCommand( output, diff --git a/clients/client-greengrass/commands/ListCoreDefinitionsCommand.ts b/clients/client-greengrass/commands/ListCoreDefinitionsCommand.ts index 511f35b17143..50c92e6cf049 100644 --- a/clients/client-greengrass/commands/ListCoreDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListCoreDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCoreDefinitionsCommandInput = ListCoreDefinitionsRequest; @@ -70,14 +70,14 @@ export class ListCoreDefinitionsCommand extends $Command< private serialize( input: ListCoreDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListCoreDefinitionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListCoreDefinitionsCommand( output, diff --git a/clients/client-greengrass/commands/ListDeploymentsCommand.ts b/clients/client-greengrass/commands/ListDeploymentsCommand.ts index 68313d06991e..b57bff741ec4 100644 --- a/clients/client-greengrass/commands/ListDeploymentsCommand.ts +++ b/clients/client-greengrass/commands/ListDeploymentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeploymentsCommandInput = ListDeploymentsRequest; @@ -67,14 +67,14 @@ export class ListDeploymentsCommand extends $Command< private serialize( input: ListDeploymentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDeploymentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDeploymentsCommand(output, context); } diff --git a/clients/client-greengrass/commands/ListDeviceDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListDeviceDefinitionVersionsCommand.ts index 8303d3fa871c..f5529b587c0d 100644 --- a/clients/client-greengrass/commands/ListDeviceDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListDeviceDefinitionVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeviceDefinitionVersionsCommandInput = ListDeviceDefinitionVersionsRequest; @@ -70,7 +70,7 @@ export class ListDeviceDefinitionVersionsCommand extends $Command< private serialize( input: ListDeviceDefinitionVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDeviceDefinitionVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListDeviceDefinitionVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDeviceDefinitionVersionsCommand( output, diff --git a/clients/client-greengrass/commands/ListDeviceDefinitionsCommand.ts b/clients/client-greengrass/commands/ListDeviceDefinitionsCommand.ts index 39b44f591422..2371f6803644 100644 --- a/clients/client-greengrass/commands/ListDeviceDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListDeviceDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeviceDefinitionsCommandInput = ListDeviceDefinitionsRequest; @@ -70,14 +70,14 @@ export class ListDeviceDefinitionsCommand extends $Command< private serialize( input: ListDeviceDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDeviceDefinitionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDeviceDefinitionsCommand( output, diff --git a/clients/client-greengrass/commands/ListFunctionDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListFunctionDefinitionVersionsCommand.ts index 68d3ef3c3baa..101d84e4518b 100644 --- a/clients/client-greengrass/commands/ListFunctionDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListFunctionDefinitionVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFunctionDefinitionVersionsCommandInput = ListFunctionDefinitionVersionsRequest; @@ -70,7 +70,7 @@ export class ListFunctionDefinitionVersionsCommand extends $Command< private serialize( input: ListFunctionDefinitionVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFunctionDefinitionVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListFunctionDefinitionVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFunctionDefinitionVersionsCommand( output, diff --git a/clients/client-greengrass/commands/ListFunctionDefinitionsCommand.ts b/clients/client-greengrass/commands/ListFunctionDefinitionsCommand.ts index 7983fc995e43..badd96aade91 100644 --- a/clients/client-greengrass/commands/ListFunctionDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListFunctionDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFunctionDefinitionsCommandInput = ListFunctionDefinitionsRequest; @@ -70,7 +70,7 @@ export class ListFunctionDefinitionsCommand extends $Command< private serialize( input: ListFunctionDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFunctionDefinitionsCommand( input, @@ -80,7 +80,7 @@ export class ListFunctionDefinitionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFunctionDefinitionsCommand( output, diff --git a/clients/client-greengrass/commands/ListGroupCertificateAuthoritiesCommand.ts b/clients/client-greengrass/commands/ListGroupCertificateAuthoritiesCommand.ts index e298f56f799a..fa9df56ec808 100644 --- a/clients/client-greengrass/commands/ListGroupCertificateAuthoritiesCommand.ts +++ b/clients/client-greengrass/commands/ListGroupCertificateAuthoritiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupCertificateAuthoritiesCommandInput = ListGroupCertificateAuthoritiesRequest; @@ -70,7 +70,7 @@ export class ListGroupCertificateAuthoritiesCommand extends $Command< private serialize( input: ListGroupCertificateAuthoritiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListGroupCertificateAuthoritiesCommand( input, @@ -80,7 +80,7 @@ export class ListGroupCertificateAuthoritiesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListGroupCertificateAuthoritiesCommand( output, diff --git a/clients/client-greengrass/commands/ListGroupVersionsCommand.ts b/clients/client-greengrass/commands/ListGroupVersionsCommand.ts index 5cec8c7223f6..1fb9035d8fbc 100644 --- a/clients/client-greengrass/commands/ListGroupVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListGroupVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupVersionsCommandInput = ListGroupVersionsRequest; @@ -67,14 +67,14 @@ export class ListGroupVersionsCommand extends $Command< private serialize( input: ListGroupVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListGroupVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListGroupVersionsCommand(output, context); } diff --git a/clients/client-greengrass/commands/ListGroupsCommand.ts b/clients/client-greengrass/commands/ListGroupsCommand.ts index a9596e39f0a1..241dcb01238a 100644 --- a/clients/client-greengrass/commands/ListGroupsCommand.ts +++ b/clients/client-greengrass/commands/ListGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupsCommandInput = ListGroupsRequest; @@ -64,14 +64,14 @@ export class ListGroupsCommand extends $Command< private serialize( input: ListGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListGroupsCommand(output, context); } diff --git a/clients/client-greengrass/commands/ListLoggerDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListLoggerDefinitionVersionsCommand.ts index 202933d7a0a4..56cc0965adf4 100644 --- a/clients/client-greengrass/commands/ListLoggerDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListLoggerDefinitionVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLoggerDefinitionVersionsCommandInput = ListLoggerDefinitionVersionsRequest; @@ -70,7 +70,7 @@ export class ListLoggerDefinitionVersionsCommand extends $Command< private serialize( input: ListLoggerDefinitionVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListLoggerDefinitionVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListLoggerDefinitionVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListLoggerDefinitionVersionsCommand( output, diff --git a/clients/client-greengrass/commands/ListLoggerDefinitionsCommand.ts b/clients/client-greengrass/commands/ListLoggerDefinitionsCommand.ts index 865c9cbd470f..3f5fc9b766fc 100644 --- a/clients/client-greengrass/commands/ListLoggerDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListLoggerDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLoggerDefinitionsCommandInput = ListLoggerDefinitionsRequest; @@ -70,14 +70,14 @@ export class ListLoggerDefinitionsCommand extends $Command< private serialize( input: ListLoggerDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListLoggerDefinitionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListLoggerDefinitionsCommand( output, diff --git a/clients/client-greengrass/commands/ListResourceDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListResourceDefinitionVersionsCommand.ts index 861db16371c3..d668353be02b 100644 --- a/clients/client-greengrass/commands/ListResourceDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListResourceDefinitionVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourceDefinitionVersionsCommandInput = ListResourceDefinitionVersionsRequest; @@ -70,7 +70,7 @@ export class ListResourceDefinitionVersionsCommand extends $Command< private serialize( input: ListResourceDefinitionVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListResourceDefinitionVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListResourceDefinitionVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListResourceDefinitionVersionsCommand( output, diff --git a/clients/client-greengrass/commands/ListResourceDefinitionsCommand.ts b/clients/client-greengrass/commands/ListResourceDefinitionsCommand.ts index 8641f5c4ffc8..c50a7cb422ae 100644 --- a/clients/client-greengrass/commands/ListResourceDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListResourceDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourceDefinitionsCommandInput = ListResourceDefinitionsRequest; @@ -70,7 +70,7 @@ export class ListResourceDefinitionsCommand extends $Command< private serialize( input: ListResourceDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListResourceDefinitionsCommand( input, @@ -80,7 +80,7 @@ export class ListResourceDefinitionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListResourceDefinitionsCommand( output, diff --git a/clients/client-greengrass/commands/ListSubscriptionDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListSubscriptionDefinitionVersionsCommand.ts index 9b81115d4aca..c267e758db18 100644 --- a/clients/client-greengrass/commands/ListSubscriptionDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListSubscriptionDefinitionVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSubscriptionDefinitionVersionsCommandInput = ListSubscriptionDefinitionVersionsRequest; @@ -70,7 +70,7 @@ export class ListSubscriptionDefinitionVersionsCommand extends $Command< private serialize( input: ListSubscriptionDefinitionVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSubscriptionDefinitionVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListSubscriptionDefinitionVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSubscriptionDefinitionVersionsCommand( output, diff --git a/clients/client-greengrass/commands/ListSubscriptionDefinitionsCommand.ts b/clients/client-greengrass/commands/ListSubscriptionDefinitionsCommand.ts index 74789177a21f..dbdb25bba516 100644 --- a/clients/client-greengrass/commands/ListSubscriptionDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListSubscriptionDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSubscriptionDefinitionsCommandInput = ListSubscriptionDefinitionsRequest; @@ -70,7 +70,7 @@ export class ListSubscriptionDefinitionsCommand extends $Command< private serialize( input: ListSubscriptionDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSubscriptionDefinitionsCommand( input, @@ -80,7 +80,7 @@ export class ListSubscriptionDefinitionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSubscriptionDefinitionsCommand( output, diff --git a/clients/client-greengrass/commands/ListTagsForResourceCommand.ts b/clients/client-greengrass/commands/ListTagsForResourceCommand.ts index 9bfaa2ad7b77..c31e2019eede 100644 --- a/clients/client-greengrass/commands/ListTagsForResourceCommand.ts +++ b/clients/client-greengrass/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-greengrass/commands/ResetDeploymentsCommand.ts b/clients/client-greengrass/commands/ResetDeploymentsCommand.ts index badcc2af6e87..b7146e74e3e7 100644 --- a/clients/client-greengrass/commands/ResetDeploymentsCommand.ts +++ b/clients/client-greengrass/commands/ResetDeploymentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetDeploymentsCommandInput = ResetDeploymentsRequest; @@ -67,14 +67,14 @@ export class ResetDeploymentsCommand extends $Command< private serialize( input: ResetDeploymentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ResetDeploymentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ResetDeploymentsCommand(output, context); } diff --git a/clients/client-greengrass/commands/StartBulkDeploymentCommand.ts b/clients/client-greengrass/commands/StartBulkDeploymentCommand.ts index d83936bc0a9d..095bf36375a1 100644 --- a/clients/client-greengrass/commands/StartBulkDeploymentCommand.ts +++ b/clients/client-greengrass/commands/StartBulkDeploymentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartBulkDeploymentCommandInput = StartBulkDeploymentRequest; @@ -70,14 +70,14 @@ export class StartBulkDeploymentCommand extends $Command< private serialize( input: StartBulkDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartBulkDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartBulkDeploymentCommand( output, diff --git a/clients/client-greengrass/commands/StopBulkDeploymentCommand.ts b/clients/client-greengrass/commands/StopBulkDeploymentCommand.ts index 6a8b6064b060..c5231cf0c25d 100644 --- a/clients/client-greengrass/commands/StopBulkDeploymentCommand.ts +++ b/clients/client-greengrass/commands/StopBulkDeploymentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopBulkDeploymentCommandInput = StopBulkDeploymentRequest; @@ -67,14 +67,14 @@ export class StopBulkDeploymentCommand extends $Command< private serialize( input: StopBulkDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopBulkDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopBulkDeploymentCommand(output, context); } diff --git a/clients/client-greengrass/commands/TagResourceCommand.ts b/clients/client-greengrass/commands/TagResourceCommand.ts index 7869cd1bf0f0..6f8238f58b49 100644 --- a/clients/client-greengrass/commands/TagResourceCommand.ts +++ b/clients/client-greengrass/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-greengrass/commands/UntagResourceCommand.ts b/clients/client-greengrass/commands/UntagResourceCommand.ts index 64572494c4f3..0cfedc2881f5 100644 --- a/clients/client-greengrass/commands/UntagResourceCommand.ts +++ b/clients/client-greengrass/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-greengrass/commands/UpdateConnectivityInfoCommand.ts b/clients/client-greengrass/commands/UpdateConnectivityInfoCommand.ts index 1c07637f7229..c056269ab9f3 100644 --- a/clients/client-greengrass/commands/UpdateConnectivityInfoCommand.ts +++ b/clients/client-greengrass/commands/UpdateConnectivityInfoCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConnectivityInfoCommandInput = UpdateConnectivityInfoRequest; @@ -70,7 +70,7 @@ export class UpdateConnectivityInfoCommand extends $Command< private serialize( input: UpdateConnectivityInfoCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateConnectivityInfoCommand( input, @@ -80,7 +80,7 @@ export class UpdateConnectivityInfoCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateConnectivityInfoCommand( output, diff --git a/clients/client-greengrass/commands/UpdateConnectorDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateConnectorDefinitionCommand.ts index d5de93bfedbf..e59340e57f87 100644 --- a/clients/client-greengrass/commands/UpdateConnectorDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateConnectorDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConnectorDefinitionCommandInput = UpdateConnectorDefinitionRequest; @@ -70,7 +70,7 @@ export class UpdateConnectorDefinitionCommand extends $Command< private serialize( input: UpdateConnectorDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateConnectorDefinitionCommand( input, @@ -80,7 +80,7 @@ export class UpdateConnectorDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateConnectorDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/UpdateCoreDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateCoreDefinitionCommand.ts index b712df7d468a..f00dde170afa 100644 --- a/clients/client-greengrass/commands/UpdateCoreDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateCoreDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCoreDefinitionCommandInput = UpdateCoreDefinitionRequest; @@ -70,14 +70,14 @@ export class UpdateCoreDefinitionCommand extends $Command< private serialize( input: UpdateCoreDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateCoreDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateCoreDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/UpdateDeviceDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateDeviceDefinitionCommand.ts index 291c3afdf2d2..fbe0d73e2bb8 100644 --- a/clients/client-greengrass/commands/UpdateDeviceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateDeviceDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDeviceDefinitionCommandInput = UpdateDeviceDefinitionRequest; @@ -70,7 +70,7 @@ export class UpdateDeviceDefinitionCommand extends $Command< private serialize( input: UpdateDeviceDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDeviceDefinitionCommand( input, @@ -80,7 +80,7 @@ export class UpdateDeviceDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDeviceDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/UpdateFunctionDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateFunctionDefinitionCommand.ts index fc9e84112fe5..180db5512b20 100644 --- a/clients/client-greengrass/commands/UpdateFunctionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateFunctionDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFunctionDefinitionCommandInput = UpdateFunctionDefinitionRequest; @@ -70,7 +70,7 @@ export class UpdateFunctionDefinitionCommand extends $Command< private serialize( input: UpdateFunctionDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFunctionDefinitionCommand( input, @@ -80,7 +80,7 @@ export class UpdateFunctionDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFunctionDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/UpdateGroupCertificateConfigurationCommand.ts b/clients/client-greengrass/commands/UpdateGroupCertificateConfigurationCommand.ts index a0c9d0b3e7a7..d77b58615665 100644 --- a/clients/client-greengrass/commands/UpdateGroupCertificateConfigurationCommand.ts +++ b/clients/client-greengrass/commands/UpdateGroupCertificateConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGroupCertificateConfigurationCommandInput = UpdateGroupCertificateConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateGroupCertificateConfigurationCommand extends $Command< private serialize( input: UpdateGroupCertificateConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateGroupCertificateConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateGroupCertificateConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateGroupCertificateConfigurationCommand( output, diff --git a/clients/client-greengrass/commands/UpdateGroupCommand.ts b/clients/client-greengrass/commands/UpdateGroupCommand.ts index 59a00d932e47..23306928320d 100644 --- a/clients/client-greengrass/commands/UpdateGroupCommand.ts +++ b/clients/client-greengrass/commands/UpdateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGroupCommandInput = UpdateGroupRequest; @@ -64,14 +64,14 @@ export class UpdateGroupCommand extends $Command< private serialize( input: UpdateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateGroupCommand(output, context); } diff --git a/clients/client-greengrass/commands/UpdateLoggerDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateLoggerDefinitionCommand.ts index c9ce9128a0d0..c6d89395c54d 100644 --- a/clients/client-greengrass/commands/UpdateLoggerDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateLoggerDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLoggerDefinitionCommandInput = UpdateLoggerDefinitionRequest; @@ -70,7 +70,7 @@ export class UpdateLoggerDefinitionCommand extends $Command< private serialize( input: UpdateLoggerDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateLoggerDefinitionCommand( input, @@ -80,7 +80,7 @@ export class UpdateLoggerDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateLoggerDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/UpdateResourceDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateResourceDefinitionCommand.ts index bbda99e8ae24..4e1f75430b35 100644 --- a/clients/client-greengrass/commands/UpdateResourceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateResourceDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateResourceDefinitionCommandInput = UpdateResourceDefinitionRequest; @@ -70,7 +70,7 @@ export class UpdateResourceDefinitionCommand extends $Command< private serialize( input: UpdateResourceDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateResourceDefinitionCommand( input, @@ -80,7 +80,7 @@ export class UpdateResourceDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateResourceDefinitionCommand( output, diff --git a/clients/client-greengrass/commands/UpdateSubscriptionDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateSubscriptionDefinitionCommand.ts index f18ac11ab1b6..ad3f20109992 100644 --- a/clients/client-greengrass/commands/UpdateSubscriptionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateSubscriptionDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSubscriptionDefinitionCommandInput = UpdateSubscriptionDefinitionRequest; @@ -70,7 +70,7 @@ export class UpdateSubscriptionDefinitionCommand extends $Command< private serialize( input: UpdateSubscriptionDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateSubscriptionDefinitionCommand( input, @@ -80,7 +80,7 @@ export class UpdateSubscriptionDefinitionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateSubscriptionDefinitionCommand( output, diff --git a/clients/client-greengrass/protocols/Aws_restJson1_1.ts b/clients/client-greengrass/protocols/Aws_restJson1_1.ts index 1d0c67fefa0b..bbad213c8774 100644 --- a/clients/client-greengrass/protocols/Aws_restJson1_1.ts +++ b/clients/client-greengrass/protocols/Aws_restJson1_1.ts @@ -11860,6 +11860,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-groundstation/commands/CancelContactCommand.ts b/clients/client-groundstation/commands/CancelContactCommand.ts index e095cd12be3c..5700a06fe9af 100644 --- a/clients/client-groundstation/commands/CancelContactCommand.ts +++ b/clients/client-groundstation/commands/CancelContactCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelContactCommandInput = CancelContactRequest; @@ -64,14 +64,14 @@ export class CancelContactCommand extends $Command< private serialize( input: CancelContactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelContactCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelContactCommand(output, context); } diff --git a/clients/client-groundstation/commands/CreateConfigCommand.ts b/clients/client-groundstation/commands/CreateConfigCommand.ts index d6a769df2383..7b075d462ff6 100644 --- a/clients/client-groundstation/commands/CreateConfigCommand.ts +++ b/clients/client-groundstation/commands/CreateConfigCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigCommandInput = CreateConfigRequest; @@ -64,14 +64,14 @@ export class CreateConfigCommand extends $Command< private serialize( input: CreateConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConfigCommand(output, context); } diff --git a/clients/client-groundstation/commands/CreateDataflowEndpointGroupCommand.ts b/clients/client-groundstation/commands/CreateDataflowEndpointGroupCommand.ts index 276347a8244f..b39b323a295a 100644 --- a/clients/client-groundstation/commands/CreateDataflowEndpointGroupCommand.ts +++ b/clients/client-groundstation/commands/CreateDataflowEndpointGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDataflowEndpointGroupCommandInput = CreateDataflowEndpointGroupRequest; @@ -70,7 +70,7 @@ export class CreateDataflowEndpointGroupCommand extends $Command< private serialize( input: CreateDataflowEndpointGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDataflowEndpointGroupCommand( input, @@ -80,7 +80,7 @@ export class CreateDataflowEndpointGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDataflowEndpointGroupCommand( output, diff --git a/clients/client-groundstation/commands/CreateMissionProfileCommand.ts b/clients/client-groundstation/commands/CreateMissionProfileCommand.ts index 147566e92b6c..6b356deedf48 100644 --- a/clients/client-groundstation/commands/CreateMissionProfileCommand.ts +++ b/clients/client-groundstation/commands/CreateMissionProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMissionProfileCommandInput = CreateMissionProfileRequest; @@ -70,14 +70,14 @@ export class CreateMissionProfileCommand extends $Command< private serialize( input: CreateMissionProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateMissionProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateMissionProfileCommand( output, diff --git a/clients/client-groundstation/commands/DeleteConfigCommand.ts b/clients/client-groundstation/commands/DeleteConfigCommand.ts index 84ef03c2366d..9794c48d3be0 100644 --- a/clients/client-groundstation/commands/DeleteConfigCommand.ts +++ b/clients/client-groundstation/commands/DeleteConfigCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigCommandInput = DeleteConfigRequest; @@ -64,14 +64,14 @@ export class DeleteConfigCommand extends $Command< private serialize( input: DeleteConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteConfigCommand(output, context); } diff --git a/clients/client-groundstation/commands/DeleteDataflowEndpointGroupCommand.ts b/clients/client-groundstation/commands/DeleteDataflowEndpointGroupCommand.ts index 4f9d465487bc..6bc834c953ab 100644 --- a/clients/client-groundstation/commands/DeleteDataflowEndpointGroupCommand.ts +++ b/clients/client-groundstation/commands/DeleteDataflowEndpointGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDataflowEndpointGroupCommandInput = DeleteDataflowEndpointGroupRequest; @@ -70,7 +70,7 @@ export class DeleteDataflowEndpointGroupCommand extends $Command< private serialize( input: DeleteDataflowEndpointGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDataflowEndpointGroupCommand( input, @@ -80,7 +80,7 @@ export class DeleteDataflowEndpointGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDataflowEndpointGroupCommand( output, diff --git a/clients/client-groundstation/commands/DeleteMissionProfileCommand.ts b/clients/client-groundstation/commands/DeleteMissionProfileCommand.ts index e9f9bc7d0213..e73501299216 100644 --- a/clients/client-groundstation/commands/DeleteMissionProfileCommand.ts +++ b/clients/client-groundstation/commands/DeleteMissionProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMissionProfileCommandInput = DeleteMissionProfileRequest; @@ -70,14 +70,14 @@ export class DeleteMissionProfileCommand extends $Command< private serialize( input: DeleteMissionProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMissionProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMissionProfileCommand( output, diff --git a/clients/client-groundstation/commands/DescribeContactCommand.ts b/clients/client-groundstation/commands/DescribeContactCommand.ts index 44f8ecac15fd..825a836e8b21 100644 --- a/clients/client-groundstation/commands/DescribeContactCommand.ts +++ b/clients/client-groundstation/commands/DescribeContactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeContactCommandInput = DescribeContactRequest; @@ -67,14 +67,14 @@ export class DescribeContactCommand extends $Command< private serialize( input: DescribeContactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeContactCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeContactCommand(output, context); } diff --git a/clients/client-groundstation/commands/GetConfigCommand.ts b/clients/client-groundstation/commands/GetConfigCommand.ts index f41505559dbc..e91bbdc700da 100644 --- a/clients/client-groundstation/commands/GetConfigCommand.ts +++ b/clients/client-groundstation/commands/GetConfigCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConfigCommandInput = GetConfigRequest; @@ -64,14 +64,14 @@ export class GetConfigCommand extends $Command< private serialize( input: GetConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConfigCommand(output, context); } diff --git a/clients/client-groundstation/commands/GetDataflowEndpointGroupCommand.ts b/clients/client-groundstation/commands/GetDataflowEndpointGroupCommand.ts index 395ab3018a70..9495e73691ad 100644 --- a/clients/client-groundstation/commands/GetDataflowEndpointGroupCommand.ts +++ b/clients/client-groundstation/commands/GetDataflowEndpointGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDataflowEndpointGroupCommandInput = GetDataflowEndpointGroupRequest; @@ -70,7 +70,7 @@ export class GetDataflowEndpointGroupCommand extends $Command< private serialize( input: GetDataflowEndpointGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDataflowEndpointGroupCommand( input, @@ -80,7 +80,7 @@ export class GetDataflowEndpointGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDataflowEndpointGroupCommand( output, diff --git a/clients/client-groundstation/commands/GetMinuteUsageCommand.ts b/clients/client-groundstation/commands/GetMinuteUsageCommand.ts index d8b845458dd0..4e333e7f0212 100644 --- a/clients/client-groundstation/commands/GetMinuteUsageCommand.ts +++ b/clients/client-groundstation/commands/GetMinuteUsageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMinuteUsageCommandInput = GetMinuteUsageRequest; @@ -64,14 +64,14 @@ export class GetMinuteUsageCommand extends $Command< private serialize( input: GetMinuteUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMinuteUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMinuteUsageCommand(output, context); } diff --git a/clients/client-groundstation/commands/GetMissionProfileCommand.ts b/clients/client-groundstation/commands/GetMissionProfileCommand.ts index 1f8464bd2b85..ffda9e29d056 100644 --- a/clients/client-groundstation/commands/GetMissionProfileCommand.ts +++ b/clients/client-groundstation/commands/GetMissionProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMissionProfileCommandInput = GetMissionProfileRequest; @@ -67,14 +67,14 @@ export class GetMissionProfileCommand extends $Command< private serialize( input: GetMissionProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMissionProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMissionProfileCommand(output, context); } diff --git a/clients/client-groundstation/commands/GetSatelliteCommand.ts b/clients/client-groundstation/commands/GetSatelliteCommand.ts index e2b29c57b073..ba754fea89ee 100644 --- a/clients/client-groundstation/commands/GetSatelliteCommand.ts +++ b/clients/client-groundstation/commands/GetSatelliteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSatelliteCommandInput = GetSatelliteRequest; @@ -64,14 +64,14 @@ export class GetSatelliteCommand extends $Command< private serialize( input: GetSatelliteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSatelliteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSatelliteCommand(output, context); } diff --git a/clients/client-groundstation/commands/ListConfigsCommand.ts b/clients/client-groundstation/commands/ListConfigsCommand.ts index a23de9884110..91730250abd3 100644 --- a/clients/client-groundstation/commands/ListConfigsCommand.ts +++ b/clients/client-groundstation/commands/ListConfigsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigsCommandInput = ListConfigsRequest; @@ -64,14 +64,14 @@ export class ListConfigsCommand extends $Command< private serialize( input: ListConfigsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListConfigsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListConfigsCommand(output, context); } diff --git a/clients/client-groundstation/commands/ListContactsCommand.ts b/clients/client-groundstation/commands/ListContactsCommand.ts index b520bfc85710..abe4b7e64de8 100644 --- a/clients/client-groundstation/commands/ListContactsCommand.ts +++ b/clients/client-groundstation/commands/ListContactsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListContactsCommandInput = ListContactsRequest; @@ -64,14 +64,14 @@ export class ListContactsCommand extends $Command< private serialize( input: ListContactsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListContactsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListContactsCommand(output, context); } diff --git a/clients/client-groundstation/commands/ListDataflowEndpointGroupsCommand.ts b/clients/client-groundstation/commands/ListDataflowEndpointGroupsCommand.ts index 7b3b29856d28..3bf46c0b2a3a 100644 --- a/clients/client-groundstation/commands/ListDataflowEndpointGroupsCommand.ts +++ b/clients/client-groundstation/commands/ListDataflowEndpointGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDataflowEndpointGroupsCommandInput = ListDataflowEndpointGroupsRequest; @@ -70,7 +70,7 @@ export class ListDataflowEndpointGroupsCommand extends $Command< private serialize( input: ListDataflowEndpointGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDataflowEndpointGroupsCommand( input, @@ -80,7 +80,7 @@ export class ListDataflowEndpointGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDataflowEndpointGroupsCommand( output, diff --git a/clients/client-groundstation/commands/ListGroundStationsCommand.ts b/clients/client-groundstation/commands/ListGroundStationsCommand.ts index 77beccf01872..9bb1c8a5b221 100644 --- a/clients/client-groundstation/commands/ListGroundStationsCommand.ts +++ b/clients/client-groundstation/commands/ListGroundStationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroundStationsCommandInput = ListGroundStationsRequest; @@ -67,14 +67,14 @@ export class ListGroundStationsCommand extends $Command< private serialize( input: ListGroundStationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListGroundStationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListGroundStationsCommand(output, context); } diff --git a/clients/client-groundstation/commands/ListMissionProfilesCommand.ts b/clients/client-groundstation/commands/ListMissionProfilesCommand.ts index 52f557ebc4b8..09d8ef9f61d1 100644 --- a/clients/client-groundstation/commands/ListMissionProfilesCommand.ts +++ b/clients/client-groundstation/commands/ListMissionProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMissionProfilesCommandInput = ListMissionProfilesRequest; @@ -70,14 +70,14 @@ export class ListMissionProfilesCommand extends $Command< private serialize( input: ListMissionProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListMissionProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListMissionProfilesCommand( output, diff --git a/clients/client-groundstation/commands/ListSatellitesCommand.ts b/clients/client-groundstation/commands/ListSatellitesCommand.ts index 1d93ddc9b2fd..c4f2bf38ff0c 100644 --- a/clients/client-groundstation/commands/ListSatellitesCommand.ts +++ b/clients/client-groundstation/commands/ListSatellitesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSatellitesCommandInput = ListSatellitesRequest; @@ -64,14 +64,14 @@ export class ListSatellitesCommand extends $Command< private serialize( input: ListSatellitesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSatellitesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSatellitesCommand(output, context); } diff --git a/clients/client-groundstation/commands/ListTagsForResourceCommand.ts b/clients/client-groundstation/commands/ListTagsForResourceCommand.ts index 724df3b40aa7..0c25b131712f 100644 --- a/clients/client-groundstation/commands/ListTagsForResourceCommand.ts +++ b/clients/client-groundstation/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-groundstation/commands/ReserveContactCommand.ts b/clients/client-groundstation/commands/ReserveContactCommand.ts index 15746167198e..d364f448b954 100644 --- a/clients/client-groundstation/commands/ReserveContactCommand.ts +++ b/clients/client-groundstation/commands/ReserveContactCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReserveContactCommandInput = ReserveContactRequest; @@ -64,14 +64,14 @@ export class ReserveContactCommand extends $Command< private serialize( input: ReserveContactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ReserveContactCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ReserveContactCommand(output, context); } diff --git a/clients/client-groundstation/commands/TagResourceCommand.ts b/clients/client-groundstation/commands/TagResourceCommand.ts index ec286af9a5fb..0303f49a5531 100644 --- a/clients/client-groundstation/commands/TagResourceCommand.ts +++ b/clients/client-groundstation/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-groundstation/commands/UntagResourceCommand.ts b/clients/client-groundstation/commands/UntagResourceCommand.ts index f16781f47b5e..e9de5e462994 100644 --- a/clients/client-groundstation/commands/UntagResourceCommand.ts +++ b/clients/client-groundstation/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-groundstation/commands/UpdateConfigCommand.ts b/clients/client-groundstation/commands/UpdateConfigCommand.ts index bce1cbeb3cb1..51439b9dc25e 100644 --- a/clients/client-groundstation/commands/UpdateConfigCommand.ts +++ b/clients/client-groundstation/commands/UpdateConfigCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConfigCommandInput = UpdateConfigRequest; @@ -64,14 +64,14 @@ export class UpdateConfigCommand extends $Command< private serialize( input: UpdateConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateConfigCommand(output, context); } diff --git a/clients/client-groundstation/commands/UpdateMissionProfileCommand.ts b/clients/client-groundstation/commands/UpdateMissionProfileCommand.ts index 75427b1b1f1c..68a4b9b7322e 100644 --- a/clients/client-groundstation/commands/UpdateMissionProfileCommand.ts +++ b/clients/client-groundstation/commands/UpdateMissionProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMissionProfileCommandInput = UpdateMissionProfileRequest; @@ -70,14 +70,14 @@ export class UpdateMissionProfileCommand extends $Command< private serialize( input: UpdateMissionProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateMissionProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateMissionProfileCommand( output, diff --git a/clients/client-groundstation/protocols/Aws_restJson1_1.ts b/clients/client-groundstation/protocols/Aws_restJson1_1.ts index d4ca07321f64..fcec1497a53f 100644 --- a/clients/client-groundstation/protocols/Aws_restJson1_1.ts +++ b/clients/client-groundstation/protocols/Aws_restJson1_1.ts @@ -4184,6 +4184,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-guardduty/commands/AcceptInvitationCommand.ts b/clients/client-guardduty/commands/AcceptInvitationCommand.ts index 3f0db41779be..8630e774b779 100644 --- a/clients/client-guardduty/commands/AcceptInvitationCommand.ts +++ b/clients/client-guardduty/commands/AcceptInvitationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptInvitationCommandInput = AcceptInvitationRequest; @@ -67,14 +67,14 @@ export class AcceptInvitationCommand extends $Command< private serialize( input: AcceptInvitationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AcceptInvitationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AcceptInvitationCommand(output, context); } diff --git a/clients/client-guardduty/commands/ArchiveFindingsCommand.ts b/clients/client-guardduty/commands/ArchiveFindingsCommand.ts index 0bcece25fc8b..7275e92da4de 100644 --- a/clients/client-guardduty/commands/ArchiveFindingsCommand.ts +++ b/clients/client-guardduty/commands/ArchiveFindingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ArchiveFindingsCommandInput = ArchiveFindingsRequest; @@ -67,14 +67,14 @@ export class ArchiveFindingsCommand extends $Command< private serialize( input: ArchiveFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ArchiveFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ArchiveFindingsCommand(output, context); } diff --git a/clients/client-guardduty/commands/CreateDetectorCommand.ts b/clients/client-guardduty/commands/CreateDetectorCommand.ts index 902055bbcfd1..70522e090572 100644 --- a/clients/client-guardduty/commands/CreateDetectorCommand.ts +++ b/clients/client-guardduty/commands/CreateDetectorCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDetectorCommandInput = CreateDetectorRequest; @@ -64,14 +64,14 @@ export class CreateDetectorCommand extends $Command< private serialize( input: CreateDetectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDetectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDetectorCommand(output, context); } diff --git a/clients/client-guardduty/commands/CreateFilterCommand.ts b/clients/client-guardduty/commands/CreateFilterCommand.ts index 63fa1dd8ac1b..fe60628b20d0 100644 --- a/clients/client-guardduty/commands/CreateFilterCommand.ts +++ b/clients/client-guardduty/commands/CreateFilterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFilterCommandInput = CreateFilterRequest; @@ -64,14 +64,14 @@ export class CreateFilterCommand extends $Command< private serialize( input: CreateFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFilterCommand(output, context); } diff --git a/clients/client-guardduty/commands/CreateIPSetCommand.ts b/clients/client-guardduty/commands/CreateIPSetCommand.ts index 7b8b3e2b2015..c7600d935c76 100644 --- a/clients/client-guardduty/commands/CreateIPSetCommand.ts +++ b/clients/client-guardduty/commands/CreateIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIPSetCommandInput = CreateIPSetRequest; @@ -64,14 +64,14 @@ export class CreateIPSetCommand extends $Command< private serialize( input: CreateIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateIPSetCommand(output, context); } diff --git a/clients/client-guardduty/commands/CreateMembersCommand.ts b/clients/client-guardduty/commands/CreateMembersCommand.ts index 123fbca8ffb0..9deb6c4aea24 100644 --- a/clients/client-guardduty/commands/CreateMembersCommand.ts +++ b/clients/client-guardduty/commands/CreateMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMembersCommandInput = CreateMembersRequest; @@ -64,14 +64,14 @@ export class CreateMembersCommand extends $Command< private serialize( input: CreateMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateMembersCommand(output, context); } diff --git a/clients/client-guardduty/commands/CreatePublishingDestinationCommand.ts b/clients/client-guardduty/commands/CreatePublishingDestinationCommand.ts index 9de1165e0014..5b5e2daf148e 100644 --- a/clients/client-guardduty/commands/CreatePublishingDestinationCommand.ts +++ b/clients/client-guardduty/commands/CreatePublishingDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePublishingDestinationCommandInput = CreatePublishingDestinationRequest; @@ -70,7 +70,7 @@ export class CreatePublishingDestinationCommand extends $Command< private serialize( input: CreatePublishingDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePublishingDestinationCommand( input, @@ -80,7 +80,7 @@ export class CreatePublishingDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePublishingDestinationCommand( output, diff --git a/clients/client-guardduty/commands/CreateSampleFindingsCommand.ts b/clients/client-guardduty/commands/CreateSampleFindingsCommand.ts index 6b64187b6ba6..b6c226b68ed1 100644 --- a/clients/client-guardduty/commands/CreateSampleFindingsCommand.ts +++ b/clients/client-guardduty/commands/CreateSampleFindingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSampleFindingsCommandInput = CreateSampleFindingsRequest; @@ -70,14 +70,14 @@ export class CreateSampleFindingsCommand extends $Command< private serialize( input: CreateSampleFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSampleFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSampleFindingsCommand( output, diff --git a/clients/client-guardduty/commands/CreateThreatIntelSetCommand.ts b/clients/client-guardduty/commands/CreateThreatIntelSetCommand.ts index 71d4444f6221..d95a95287508 100644 --- a/clients/client-guardduty/commands/CreateThreatIntelSetCommand.ts +++ b/clients/client-guardduty/commands/CreateThreatIntelSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateThreatIntelSetCommandInput = CreateThreatIntelSetRequest; @@ -70,14 +70,14 @@ export class CreateThreatIntelSetCommand extends $Command< private serialize( input: CreateThreatIntelSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateThreatIntelSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateThreatIntelSetCommand( output, diff --git a/clients/client-guardduty/commands/DeclineInvitationsCommand.ts b/clients/client-guardduty/commands/DeclineInvitationsCommand.ts index 3e2180d6102b..5b510a218737 100644 --- a/clients/client-guardduty/commands/DeclineInvitationsCommand.ts +++ b/clients/client-guardduty/commands/DeclineInvitationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeclineInvitationsCommandInput = DeclineInvitationsRequest; @@ -67,14 +67,14 @@ export class DeclineInvitationsCommand extends $Command< private serialize( input: DeclineInvitationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeclineInvitationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeclineInvitationsCommand(output, context); } diff --git a/clients/client-guardduty/commands/DeleteDetectorCommand.ts b/clients/client-guardduty/commands/DeleteDetectorCommand.ts index 41022a42c66b..2bc66dde1f18 100644 --- a/clients/client-guardduty/commands/DeleteDetectorCommand.ts +++ b/clients/client-guardduty/commands/DeleteDetectorCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDetectorCommandInput = DeleteDetectorRequest; @@ -64,14 +64,14 @@ export class DeleteDetectorCommand extends $Command< private serialize( input: DeleteDetectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDetectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDetectorCommand(output, context); } diff --git a/clients/client-guardduty/commands/DeleteFilterCommand.ts b/clients/client-guardduty/commands/DeleteFilterCommand.ts index 4c2e5a8b1295..99f88f2563c5 100644 --- a/clients/client-guardduty/commands/DeleteFilterCommand.ts +++ b/clients/client-guardduty/commands/DeleteFilterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFilterCommandInput = DeleteFilterRequest; @@ -64,14 +64,14 @@ export class DeleteFilterCommand extends $Command< private serialize( input: DeleteFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFilterCommand(output, context); } diff --git a/clients/client-guardduty/commands/DeleteIPSetCommand.ts b/clients/client-guardduty/commands/DeleteIPSetCommand.ts index ba86d2307246..4b2a82ad4e13 100644 --- a/clients/client-guardduty/commands/DeleteIPSetCommand.ts +++ b/clients/client-guardduty/commands/DeleteIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIPSetCommandInput = DeleteIPSetRequest; @@ -64,14 +64,14 @@ export class DeleteIPSetCommand extends $Command< private serialize( input: DeleteIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteIPSetCommand(output, context); } diff --git a/clients/client-guardduty/commands/DeleteInvitationsCommand.ts b/clients/client-guardduty/commands/DeleteInvitationsCommand.ts index 1cddf36656a5..4e4735eaf1ff 100644 --- a/clients/client-guardduty/commands/DeleteInvitationsCommand.ts +++ b/clients/client-guardduty/commands/DeleteInvitationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInvitationsCommandInput = DeleteInvitationsRequest; @@ -67,14 +67,14 @@ export class DeleteInvitationsCommand extends $Command< private serialize( input: DeleteInvitationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteInvitationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteInvitationsCommand(output, context); } diff --git a/clients/client-guardduty/commands/DeleteMembersCommand.ts b/clients/client-guardduty/commands/DeleteMembersCommand.ts index 4076ed9f6260..486b36dee978 100644 --- a/clients/client-guardduty/commands/DeleteMembersCommand.ts +++ b/clients/client-guardduty/commands/DeleteMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMembersCommandInput = DeleteMembersRequest; @@ -64,14 +64,14 @@ export class DeleteMembersCommand extends $Command< private serialize( input: DeleteMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMembersCommand(output, context); } diff --git a/clients/client-guardduty/commands/DeletePublishingDestinationCommand.ts b/clients/client-guardduty/commands/DeletePublishingDestinationCommand.ts index 24966772a7fe..7d177bae7040 100644 --- a/clients/client-guardduty/commands/DeletePublishingDestinationCommand.ts +++ b/clients/client-guardduty/commands/DeletePublishingDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePublishingDestinationCommandInput = DeletePublishingDestinationRequest; @@ -70,7 +70,7 @@ export class DeletePublishingDestinationCommand extends $Command< private serialize( input: DeletePublishingDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePublishingDestinationCommand( input, @@ -80,7 +80,7 @@ export class DeletePublishingDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePublishingDestinationCommand( output, diff --git a/clients/client-guardduty/commands/DeleteThreatIntelSetCommand.ts b/clients/client-guardduty/commands/DeleteThreatIntelSetCommand.ts index 8dd586f7de71..21c2230cb0f6 100644 --- a/clients/client-guardduty/commands/DeleteThreatIntelSetCommand.ts +++ b/clients/client-guardduty/commands/DeleteThreatIntelSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteThreatIntelSetCommandInput = DeleteThreatIntelSetRequest; @@ -70,14 +70,14 @@ export class DeleteThreatIntelSetCommand extends $Command< private serialize( input: DeleteThreatIntelSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteThreatIntelSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteThreatIntelSetCommand( output, diff --git a/clients/client-guardduty/commands/DescribePublishingDestinationCommand.ts b/clients/client-guardduty/commands/DescribePublishingDestinationCommand.ts index 4e1fcad6daba..aa2533c787ed 100644 --- a/clients/client-guardduty/commands/DescribePublishingDestinationCommand.ts +++ b/clients/client-guardduty/commands/DescribePublishingDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePublishingDestinationCommandInput = DescribePublishingDestinationRequest; @@ -70,7 +70,7 @@ export class DescribePublishingDestinationCommand extends $Command< private serialize( input: DescribePublishingDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribePublishingDestinationCommand( input, @@ -80,7 +80,7 @@ export class DescribePublishingDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribePublishingDestinationCommand( output, diff --git a/clients/client-guardduty/commands/DisassociateFromMasterAccountCommand.ts b/clients/client-guardduty/commands/DisassociateFromMasterAccountCommand.ts index b28bb8b63879..1ec1b7893996 100644 --- a/clients/client-guardduty/commands/DisassociateFromMasterAccountCommand.ts +++ b/clients/client-guardduty/commands/DisassociateFromMasterAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateFromMasterAccountCommandInput = DisassociateFromMasterAccountRequest; @@ -70,7 +70,7 @@ export class DisassociateFromMasterAccountCommand extends $Command< private serialize( input: DisassociateFromMasterAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateFromMasterAccountCommand( input, @@ -80,7 +80,7 @@ export class DisassociateFromMasterAccountCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateFromMasterAccountCommand( output, diff --git a/clients/client-guardduty/commands/DisassociateMembersCommand.ts b/clients/client-guardduty/commands/DisassociateMembersCommand.ts index 3a8d568ca2e1..d9e1333349ca 100644 --- a/clients/client-guardduty/commands/DisassociateMembersCommand.ts +++ b/clients/client-guardduty/commands/DisassociateMembersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateMembersCommandInput = DisassociateMembersRequest; @@ -70,14 +70,14 @@ export class DisassociateMembersCommand extends $Command< private serialize( input: DisassociateMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateMembersCommand( output, diff --git a/clients/client-guardduty/commands/GetDetectorCommand.ts b/clients/client-guardduty/commands/GetDetectorCommand.ts index a9ecf4fe08bf..48787b6c2417 100644 --- a/clients/client-guardduty/commands/GetDetectorCommand.ts +++ b/clients/client-guardduty/commands/GetDetectorCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDetectorCommandInput = GetDetectorRequest; @@ -64,14 +64,14 @@ export class GetDetectorCommand extends $Command< private serialize( input: GetDetectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDetectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDetectorCommand(output, context); } diff --git a/clients/client-guardduty/commands/GetFilterCommand.ts b/clients/client-guardduty/commands/GetFilterCommand.ts index c1b23c3852e8..20f679c103fb 100644 --- a/clients/client-guardduty/commands/GetFilterCommand.ts +++ b/clients/client-guardduty/commands/GetFilterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFilterCommandInput = GetFilterRequest; @@ -64,14 +64,14 @@ export class GetFilterCommand extends $Command< private serialize( input: GetFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFilterCommand(output, context); } diff --git a/clients/client-guardduty/commands/GetFindingsCommand.ts b/clients/client-guardduty/commands/GetFindingsCommand.ts index 3c80ac43b36c..cbe47d8defb1 100644 --- a/clients/client-guardduty/commands/GetFindingsCommand.ts +++ b/clients/client-guardduty/commands/GetFindingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFindingsCommandInput = GetFindingsRequest; @@ -64,14 +64,14 @@ export class GetFindingsCommand extends $Command< private serialize( input: GetFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFindingsCommand(output, context); } diff --git a/clients/client-guardduty/commands/GetFindingsStatisticsCommand.ts b/clients/client-guardduty/commands/GetFindingsStatisticsCommand.ts index fcaf8ad7b278..94ee86a3ee85 100644 --- a/clients/client-guardduty/commands/GetFindingsStatisticsCommand.ts +++ b/clients/client-guardduty/commands/GetFindingsStatisticsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFindingsStatisticsCommandInput = GetFindingsStatisticsRequest; @@ -70,14 +70,14 @@ export class GetFindingsStatisticsCommand extends $Command< private serialize( input: GetFindingsStatisticsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFindingsStatisticsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFindingsStatisticsCommand( output, diff --git a/clients/client-guardduty/commands/GetIPSetCommand.ts b/clients/client-guardduty/commands/GetIPSetCommand.ts index e5ffeee805b4..73067e33e501 100644 --- a/clients/client-guardduty/commands/GetIPSetCommand.ts +++ b/clients/client-guardduty/commands/GetIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIPSetCommandInput = GetIPSetRequest; @@ -64,14 +64,14 @@ export class GetIPSetCommand extends $Command< private serialize( input: GetIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIPSetCommand(output, context); } diff --git a/clients/client-guardduty/commands/GetInvitationsCountCommand.ts b/clients/client-guardduty/commands/GetInvitationsCountCommand.ts index 100fab5b9c3b..b80d23c4592d 100644 --- a/clients/client-guardduty/commands/GetInvitationsCountCommand.ts +++ b/clients/client-guardduty/commands/GetInvitationsCountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInvitationsCountCommandInput = GetInvitationsCountRequest; @@ -70,14 +70,14 @@ export class GetInvitationsCountCommand extends $Command< private serialize( input: GetInvitationsCountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetInvitationsCountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetInvitationsCountCommand( output, diff --git a/clients/client-guardduty/commands/GetMasterAccountCommand.ts b/clients/client-guardduty/commands/GetMasterAccountCommand.ts index 2aaedabf719c..2d4440d82d25 100644 --- a/clients/client-guardduty/commands/GetMasterAccountCommand.ts +++ b/clients/client-guardduty/commands/GetMasterAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMasterAccountCommandInput = GetMasterAccountRequest; @@ -67,14 +67,14 @@ export class GetMasterAccountCommand extends $Command< private serialize( input: GetMasterAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMasterAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMasterAccountCommand(output, context); } diff --git a/clients/client-guardduty/commands/GetMembersCommand.ts b/clients/client-guardduty/commands/GetMembersCommand.ts index 2adc62d16242..84de4e300b12 100644 --- a/clients/client-guardduty/commands/GetMembersCommand.ts +++ b/clients/client-guardduty/commands/GetMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMembersCommandInput = GetMembersRequest; @@ -64,14 +64,14 @@ export class GetMembersCommand extends $Command< private serialize( input: GetMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMembersCommand(output, context); } diff --git a/clients/client-guardduty/commands/GetThreatIntelSetCommand.ts b/clients/client-guardduty/commands/GetThreatIntelSetCommand.ts index 0204ec389363..8d7227d78b51 100644 --- a/clients/client-guardduty/commands/GetThreatIntelSetCommand.ts +++ b/clients/client-guardduty/commands/GetThreatIntelSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetThreatIntelSetCommandInput = GetThreatIntelSetRequest; @@ -67,14 +67,14 @@ export class GetThreatIntelSetCommand extends $Command< private serialize( input: GetThreatIntelSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetThreatIntelSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetThreatIntelSetCommand(output, context); } diff --git a/clients/client-guardduty/commands/InviteMembersCommand.ts b/clients/client-guardduty/commands/InviteMembersCommand.ts index ac3fb6c5ebe3..3972c2e24f92 100644 --- a/clients/client-guardduty/commands/InviteMembersCommand.ts +++ b/clients/client-guardduty/commands/InviteMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InviteMembersCommandInput = InviteMembersRequest; @@ -64,14 +64,14 @@ export class InviteMembersCommand extends $Command< private serialize( input: InviteMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InviteMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InviteMembersCommand(output, context); } diff --git a/clients/client-guardduty/commands/ListDetectorsCommand.ts b/clients/client-guardduty/commands/ListDetectorsCommand.ts index d260e335deb7..b1dfd62ab54c 100644 --- a/clients/client-guardduty/commands/ListDetectorsCommand.ts +++ b/clients/client-guardduty/commands/ListDetectorsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDetectorsCommandInput = ListDetectorsRequest; @@ -64,14 +64,14 @@ export class ListDetectorsCommand extends $Command< private serialize( input: ListDetectorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDetectorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDetectorsCommand(output, context); } diff --git a/clients/client-guardduty/commands/ListFiltersCommand.ts b/clients/client-guardduty/commands/ListFiltersCommand.ts index acf860c78ea1..0c53cb80bbbe 100644 --- a/clients/client-guardduty/commands/ListFiltersCommand.ts +++ b/clients/client-guardduty/commands/ListFiltersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFiltersCommandInput = ListFiltersRequest; @@ -64,14 +64,14 @@ export class ListFiltersCommand extends $Command< private serialize( input: ListFiltersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFiltersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFiltersCommand(output, context); } diff --git a/clients/client-guardduty/commands/ListFindingsCommand.ts b/clients/client-guardduty/commands/ListFindingsCommand.ts index 98e2e4f15545..0dbd1afb8d0a 100644 --- a/clients/client-guardduty/commands/ListFindingsCommand.ts +++ b/clients/client-guardduty/commands/ListFindingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFindingsCommandInput = ListFindingsRequest; @@ -64,14 +64,14 @@ export class ListFindingsCommand extends $Command< private serialize( input: ListFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFindingsCommand(output, context); } diff --git a/clients/client-guardduty/commands/ListIPSetsCommand.ts b/clients/client-guardduty/commands/ListIPSetsCommand.ts index 19a76eb35d4e..819c7dd95ad6 100644 --- a/clients/client-guardduty/commands/ListIPSetsCommand.ts +++ b/clients/client-guardduty/commands/ListIPSetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIPSetsCommandInput = ListIPSetsRequest; @@ -64,14 +64,14 @@ export class ListIPSetsCommand extends $Command< private serialize( input: ListIPSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListIPSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListIPSetsCommand(output, context); } diff --git a/clients/client-guardduty/commands/ListInvitationsCommand.ts b/clients/client-guardduty/commands/ListInvitationsCommand.ts index b86b5ffef2b5..28c334e41c85 100644 --- a/clients/client-guardduty/commands/ListInvitationsCommand.ts +++ b/clients/client-guardduty/commands/ListInvitationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInvitationsCommandInput = ListInvitationsRequest; @@ -67,14 +67,14 @@ export class ListInvitationsCommand extends $Command< private serialize( input: ListInvitationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListInvitationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListInvitationsCommand(output, context); } diff --git a/clients/client-guardduty/commands/ListMembersCommand.ts b/clients/client-guardduty/commands/ListMembersCommand.ts index 71ae663b0398..bf9fff2eba83 100644 --- a/clients/client-guardduty/commands/ListMembersCommand.ts +++ b/clients/client-guardduty/commands/ListMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMembersCommandInput = ListMembersRequest; @@ -64,14 +64,14 @@ export class ListMembersCommand extends $Command< private serialize( input: ListMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListMembersCommand(output, context); } diff --git a/clients/client-guardduty/commands/ListPublishingDestinationsCommand.ts b/clients/client-guardduty/commands/ListPublishingDestinationsCommand.ts index 4806d136fb40..f2e0f97232a0 100644 --- a/clients/client-guardduty/commands/ListPublishingDestinationsCommand.ts +++ b/clients/client-guardduty/commands/ListPublishingDestinationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPublishingDestinationsCommandInput = ListPublishingDestinationsRequest; @@ -70,7 +70,7 @@ export class ListPublishingDestinationsCommand extends $Command< private serialize( input: ListPublishingDestinationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPublishingDestinationsCommand( input, @@ -80,7 +80,7 @@ export class ListPublishingDestinationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPublishingDestinationsCommand( output, diff --git a/clients/client-guardduty/commands/ListTagsForResourceCommand.ts b/clients/client-guardduty/commands/ListTagsForResourceCommand.ts index 043513061268..e7a267d4c2f1 100644 --- a/clients/client-guardduty/commands/ListTagsForResourceCommand.ts +++ b/clients/client-guardduty/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-guardduty/commands/ListThreatIntelSetsCommand.ts b/clients/client-guardduty/commands/ListThreatIntelSetsCommand.ts index d6d867631a1b..00918431029f 100644 --- a/clients/client-guardduty/commands/ListThreatIntelSetsCommand.ts +++ b/clients/client-guardduty/commands/ListThreatIntelSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListThreatIntelSetsCommandInput = ListThreatIntelSetsRequest; @@ -70,14 +70,14 @@ export class ListThreatIntelSetsCommand extends $Command< private serialize( input: ListThreatIntelSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListThreatIntelSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListThreatIntelSetsCommand( output, diff --git a/clients/client-guardduty/commands/StartMonitoringMembersCommand.ts b/clients/client-guardduty/commands/StartMonitoringMembersCommand.ts index 5c7489a79819..8062515f89ba 100644 --- a/clients/client-guardduty/commands/StartMonitoringMembersCommand.ts +++ b/clients/client-guardduty/commands/StartMonitoringMembersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartMonitoringMembersCommandInput = StartMonitoringMembersRequest; @@ -70,7 +70,7 @@ export class StartMonitoringMembersCommand extends $Command< private serialize( input: StartMonitoringMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartMonitoringMembersCommand( input, @@ -80,7 +80,7 @@ export class StartMonitoringMembersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartMonitoringMembersCommand( output, diff --git a/clients/client-guardduty/commands/StopMonitoringMembersCommand.ts b/clients/client-guardduty/commands/StopMonitoringMembersCommand.ts index 808270484776..988305b0e6f2 100644 --- a/clients/client-guardduty/commands/StopMonitoringMembersCommand.ts +++ b/clients/client-guardduty/commands/StopMonitoringMembersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopMonitoringMembersCommandInput = StopMonitoringMembersRequest; @@ -70,14 +70,14 @@ export class StopMonitoringMembersCommand extends $Command< private serialize( input: StopMonitoringMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopMonitoringMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopMonitoringMembersCommand( output, diff --git a/clients/client-guardduty/commands/TagResourceCommand.ts b/clients/client-guardduty/commands/TagResourceCommand.ts index 574a584842ef..b19f3ba0c053 100644 --- a/clients/client-guardduty/commands/TagResourceCommand.ts +++ b/clients/client-guardduty/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-guardduty/commands/UnarchiveFindingsCommand.ts b/clients/client-guardduty/commands/UnarchiveFindingsCommand.ts index 8ec965fb424b..379c4c3330cb 100644 --- a/clients/client-guardduty/commands/UnarchiveFindingsCommand.ts +++ b/clients/client-guardduty/commands/UnarchiveFindingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnarchiveFindingsCommandInput = UnarchiveFindingsRequest; @@ -67,14 +67,14 @@ export class UnarchiveFindingsCommand extends $Command< private serialize( input: UnarchiveFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UnarchiveFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UnarchiveFindingsCommand(output, context); } diff --git a/clients/client-guardduty/commands/UntagResourceCommand.ts b/clients/client-guardduty/commands/UntagResourceCommand.ts index c1bf16f7d39e..9ce6e7183ea6 100644 --- a/clients/client-guardduty/commands/UntagResourceCommand.ts +++ b/clients/client-guardduty/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-guardduty/commands/UpdateDetectorCommand.ts b/clients/client-guardduty/commands/UpdateDetectorCommand.ts index dd73ef36cc56..e47a5fe0b03a 100644 --- a/clients/client-guardduty/commands/UpdateDetectorCommand.ts +++ b/clients/client-guardduty/commands/UpdateDetectorCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDetectorCommandInput = UpdateDetectorRequest; @@ -64,14 +64,14 @@ export class UpdateDetectorCommand extends $Command< private serialize( input: UpdateDetectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDetectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDetectorCommand(output, context); } diff --git a/clients/client-guardduty/commands/UpdateFilterCommand.ts b/clients/client-guardduty/commands/UpdateFilterCommand.ts index 32cb2da0b330..3fe388cae889 100644 --- a/clients/client-guardduty/commands/UpdateFilterCommand.ts +++ b/clients/client-guardduty/commands/UpdateFilterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFilterCommandInput = UpdateFilterRequest; @@ -64,14 +64,14 @@ export class UpdateFilterCommand extends $Command< private serialize( input: UpdateFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFilterCommand(output, context); } diff --git a/clients/client-guardduty/commands/UpdateFindingsFeedbackCommand.ts b/clients/client-guardduty/commands/UpdateFindingsFeedbackCommand.ts index d36ca8fd5583..9fa270ab2c2d 100644 --- a/clients/client-guardduty/commands/UpdateFindingsFeedbackCommand.ts +++ b/clients/client-guardduty/commands/UpdateFindingsFeedbackCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFindingsFeedbackCommandInput = UpdateFindingsFeedbackRequest; @@ -70,7 +70,7 @@ export class UpdateFindingsFeedbackCommand extends $Command< private serialize( input: UpdateFindingsFeedbackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFindingsFeedbackCommand( input, @@ -80,7 +80,7 @@ export class UpdateFindingsFeedbackCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFindingsFeedbackCommand( output, diff --git a/clients/client-guardduty/commands/UpdateIPSetCommand.ts b/clients/client-guardduty/commands/UpdateIPSetCommand.ts index bbd8b6f3fdf4..cfccb5c2bac6 100644 --- a/clients/client-guardduty/commands/UpdateIPSetCommand.ts +++ b/clients/client-guardduty/commands/UpdateIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIPSetCommandInput = UpdateIPSetRequest; @@ -64,14 +64,14 @@ export class UpdateIPSetCommand extends $Command< private serialize( input: UpdateIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateIPSetCommand(output, context); } diff --git a/clients/client-guardduty/commands/UpdatePublishingDestinationCommand.ts b/clients/client-guardduty/commands/UpdatePublishingDestinationCommand.ts index 41c2d1bbd666..f67e93dbd71f 100644 --- a/clients/client-guardduty/commands/UpdatePublishingDestinationCommand.ts +++ b/clients/client-guardduty/commands/UpdatePublishingDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePublishingDestinationCommandInput = UpdatePublishingDestinationRequest; @@ -70,7 +70,7 @@ export class UpdatePublishingDestinationCommand extends $Command< private serialize( input: UpdatePublishingDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdatePublishingDestinationCommand( input, @@ -80,7 +80,7 @@ export class UpdatePublishingDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdatePublishingDestinationCommand( output, diff --git a/clients/client-guardduty/commands/UpdateThreatIntelSetCommand.ts b/clients/client-guardduty/commands/UpdateThreatIntelSetCommand.ts index fc2851bcdd25..5e3fc6c5413f 100644 --- a/clients/client-guardduty/commands/UpdateThreatIntelSetCommand.ts +++ b/clients/client-guardduty/commands/UpdateThreatIntelSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateThreatIntelSetCommandInput = UpdateThreatIntelSetRequest; @@ -70,14 +70,14 @@ export class UpdateThreatIntelSetCommand extends $Command< private serialize( input: UpdateThreatIntelSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateThreatIntelSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateThreatIntelSetCommand( output, diff --git a/clients/client-guardduty/protocols/Aws_restJson1_1.ts b/clients/client-guardduty/protocols/Aws_restJson1_1.ts index df933ce3ca49..c31885b91ff6 100644 --- a/clients/client-guardduty/protocols/Aws_restJson1_1.ts +++ b/clients/client-guardduty/protocols/Aws_restJson1_1.ts @@ -7050,6 +7050,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-health/commands/DescribeAffectedAccountsForOrganizationCommand.ts b/clients/client-health/commands/DescribeAffectedAccountsForOrganizationCommand.ts index a390ad3de1ec..1feaa4b1625b 100644 --- a/clients/client-health/commands/DescribeAffectedAccountsForOrganizationCommand.ts +++ b/clients/client-health/commands/DescribeAffectedAccountsForOrganizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAffectedAccountsForOrganizationCommandInput = DescribeAffectedAccountsForOrganizationRequest; @@ -72,7 +72,7 @@ export class DescribeAffectedAccountsForOrganizationCommand extends $Command< private serialize( input: DescribeAffectedAccountsForOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAffectedAccountsForOrganizationCommand( input, @@ -82,7 +82,7 @@ export class DescribeAffectedAccountsForOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAffectedAccountsForOrganizationCommand( output, diff --git a/clients/client-health/commands/DescribeAffectedEntitiesCommand.ts b/clients/client-health/commands/DescribeAffectedEntitiesCommand.ts index 99609f55279a..78d7684472c4 100644 --- a/clients/client-health/commands/DescribeAffectedEntitiesCommand.ts +++ b/clients/client-health/commands/DescribeAffectedEntitiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAffectedEntitiesCommandInput = DescribeAffectedEntitiesRequest; @@ -70,14 +70,14 @@ export class DescribeAffectedEntitiesCommand extends $Command< private serialize( input: DescribeAffectedEntitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAffectedEntitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAffectedEntitiesCommand( output, diff --git a/clients/client-health/commands/DescribeAffectedEntitiesForOrganizationCommand.ts b/clients/client-health/commands/DescribeAffectedEntitiesForOrganizationCommand.ts index 793c611e5df0..cc4d364c619b 100644 --- a/clients/client-health/commands/DescribeAffectedEntitiesForOrganizationCommand.ts +++ b/clients/client-health/commands/DescribeAffectedEntitiesForOrganizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAffectedEntitiesForOrganizationCommandInput = DescribeAffectedEntitiesForOrganizationRequest; @@ -72,7 +72,7 @@ export class DescribeAffectedEntitiesForOrganizationCommand extends $Command< private serialize( input: DescribeAffectedEntitiesForOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAffectedEntitiesForOrganizationCommand( input, @@ -82,7 +82,7 @@ export class DescribeAffectedEntitiesForOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAffectedEntitiesForOrganizationCommand( output, diff --git a/clients/client-health/commands/DescribeEntityAggregatesCommand.ts b/clients/client-health/commands/DescribeEntityAggregatesCommand.ts index e1ed1032893d..8edc3d46caf2 100644 --- a/clients/client-health/commands/DescribeEntityAggregatesCommand.ts +++ b/clients/client-health/commands/DescribeEntityAggregatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEntityAggregatesCommandInput = DescribeEntityAggregatesRequest; @@ -70,14 +70,14 @@ export class DescribeEntityAggregatesCommand extends $Command< private serialize( input: DescribeEntityAggregatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEntityAggregatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEntityAggregatesCommand( output, diff --git a/clients/client-health/commands/DescribeEventAggregatesCommand.ts b/clients/client-health/commands/DescribeEventAggregatesCommand.ts index e84b240a38e4..7858dae57d6c 100644 --- a/clients/client-health/commands/DescribeEventAggregatesCommand.ts +++ b/clients/client-health/commands/DescribeEventAggregatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventAggregatesCommandInput = DescribeEventAggregatesRequest; @@ -70,14 +70,14 @@ export class DescribeEventAggregatesCommand extends $Command< private serialize( input: DescribeEventAggregatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventAggregatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventAggregatesCommand( output, diff --git a/clients/client-health/commands/DescribeEventDetailsCommand.ts b/clients/client-health/commands/DescribeEventDetailsCommand.ts index f1354c308f71..67a1f893c4ce 100644 --- a/clients/client-health/commands/DescribeEventDetailsCommand.ts +++ b/clients/client-health/commands/DescribeEventDetailsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventDetailsCommandInput = DescribeEventDetailsRequest; @@ -70,14 +70,14 @@ export class DescribeEventDetailsCommand extends $Command< private serialize( input: DescribeEventDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventDetailsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventDetailsCommand(output, context); } diff --git a/clients/client-health/commands/DescribeEventDetailsForOrganizationCommand.ts b/clients/client-health/commands/DescribeEventDetailsForOrganizationCommand.ts index 91aa2a2d4f75..122f46e9bfbe 100644 --- a/clients/client-health/commands/DescribeEventDetailsForOrganizationCommand.ts +++ b/clients/client-health/commands/DescribeEventDetailsForOrganizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventDetailsForOrganizationCommandInput = DescribeEventDetailsForOrganizationRequest; @@ -70,7 +70,7 @@ export class DescribeEventDetailsForOrganizationCommand extends $Command< private serialize( input: DescribeEventDetailsForOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventDetailsForOrganizationCommand( input, @@ -80,7 +80,7 @@ export class DescribeEventDetailsForOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventDetailsForOrganizationCommand( output, diff --git a/clients/client-health/commands/DescribeEventTypesCommand.ts b/clients/client-health/commands/DescribeEventTypesCommand.ts index e55155d54591..cf025da05a7c 100644 --- a/clients/client-health/commands/DescribeEventTypesCommand.ts +++ b/clients/client-health/commands/DescribeEventTypesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventTypesCommandInput = DescribeEventTypesRequest; @@ -67,14 +67,14 @@ export class DescribeEventTypesCommand extends $Command< private serialize( input: DescribeEventTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventTypesCommand(output, context); } diff --git a/clients/client-health/commands/DescribeEventsCommand.ts b/clients/client-health/commands/DescribeEventsCommand.ts index 923164b91276..5e5df34761de 100644 --- a/clients/client-health/commands/DescribeEventsCommand.ts +++ b/clients/client-health/commands/DescribeEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventsCommandInput = DescribeEventsRequest; @@ -64,14 +64,14 @@ export class DescribeEventsCommand extends $Command< private serialize( input: DescribeEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventsCommand(output, context); } diff --git a/clients/client-health/commands/DescribeEventsForOrganizationCommand.ts b/clients/client-health/commands/DescribeEventsForOrganizationCommand.ts index 96bedc734426..5c34642bb145 100644 --- a/clients/client-health/commands/DescribeEventsForOrganizationCommand.ts +++ b/clients/client-health/commands/DescribeEventsForOrganizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventsForOrganizationCommandInput = DescribeEventsForOrganizationRequest; @@ -70,7 +70,7 @@ export class DescribeEventsForOrganizationCommand extends $Command< private serialize( input: DescribeEventsForOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventsForOrganizationCommand( input, @@ -80,7 +80,7 @@ export class DescribeEventsForOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventsForOrganizationCommand( output, diff --git a/clients/client-health/commands/DescribeHealthServiceStatusForOrganizationCommand.ts b/clients/client-health/commands/DescribeHealthServiceStatusForOrganizationCommand.ts index ca265b6242f8..a94905ad7f43 100644 --- a/clients/client-health/commands/DescribeHealthServiceStatusForOrganizationCommand.ts +++ b/clients/client-health/commands/DescribeHealthServiceStatusForOrganizationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHealthServiceStatusForOrganizationCommandInput = {}; @@ -69,7 +69,7 @@ export class DescribeHealthServiceStatusForOrganizationCommand extends $Command< private serialize( input: DescribeHealthServiceStatusForOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeHealthServiceStatusForOrganizationCommand( input, @@ -79,7 +79,7 @@ export class DescribeHealthServiceStatusForOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeHealthServiceStatusForOrganizationCommand( output, diff --git a/clients/client-health/commands/DisableHealthServiceAccessForOrganizationCommand.ts b/clients/client-health/commands/DisableHealthServiceAccessForOrganizationCommand.ts index c7a7322a4d0f..8ea2281a006e 100644 --- a/clients/client-health/commands/DisableHealthServiceAccessForOrganizationCommand.ts +++ b/clients/client-health/commands/DisableHealthServiceAccessForOrganizationCommand.ts @@ -18,9 +18,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableHealthServiceAccessForOrganizationCommandInput = {}; @@ -69,7 +69,7 @@ export class DisableHealthServiceAccessForOrganizationCommand extends $Command< private serialize( input: DisableHealthServiceAccessForOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableHealthServiceAccessForOrganizationCommand( input, @@ -79,7 +79,7 @@ export class DisableHealthServiceAccessForOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableHealthServiceAccessForOrganizationCommand( output, diff --git a/clients/client-health/commands/EnableHealthServiceAccessForOrganizationCommand.ts b/clients/client-health/commands/EnableHealthServiceAccessForOrganizationCommand.ts index 6c9c9d63fed2..759430b7f488 100644 --- a/clients/client-health/commands/EnableHealthServiceAccessForOrganizationCommand.ts +++ b/clients/client-health/commands/EnableHealthServiceAccessForOrganizationCommand.ts @@ -18,9 +18,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableHealthServiceAccessForOrganizationCommandInput = {}; @@ -69,7 +69,7 @@ export class EnableHealthServiceAccessForOrganizationCommand extends $Command< private serialize( input: EnableHealthServiceAccessForOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableHealthServiceAccessForOrganizationCommand( input, @@ -79,7 +79,7 @@ export class EnableHealthServiceAccessForOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableHealthServiceAccessForOrganizationCommand( output, diff --git a/clients/client-health/protocols/Aws_json1_1.ts b/clients/client-health/protocols/Aws_json1_1.ts index 96a503b8c661..b5b3285b4a62 100644 --- a/clients/client-health/protocols/Aws_json1_1.ts +++ b/clients/client-health/protocols/Aws_json1_1.ts @@ -2547,6 +2547,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-iam/commands/AddClientIDToOpenIDConnectProviderCommand.ts b/clients/client-iam/commands/AddClientIDToOpenIDConnectProviderCommand.ts index 0a628b2b70f7..e6e446e4b865 100644 --- a/clients/client-iam/commands/AddClientIDToOpenIDConnectProviderCommand.ts +++ b/clients/client-iam/commands/AddClientIDToOpenIDConnectProviderCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddClientIDToOpenIDConnectProviderCommandInput = AddClientIDToOpenIDConnectProviderRequest; @@ -68,7 +68,7 @@ export class AddClientIDToOpenIDConnectProviderCommand extends $Command< private serialize( input: AddClientIDToOpenIDConnectProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddClientIDToOpenIDConnectProviderCommand( input, @@ -78,7 +78,7 @@ export class AddClientIDToOpenIDConnectProviderCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddClientIDToOpenIDConnectProviderCommand( output, diff --git a/clients/client-iam/commands/AddRoleToInstanceProfileCommand.ts b/clients/client-iam/commands/AddRoleToInstanceProfileCommand.ts index 752d6fa79522..506f5388771f 100644 --- a/clients/client-iam/commands/AddRoleToInstanceProfileCommand.ts +++ b/clients/client-iam/commands/AddRoleToInstanceProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddRoleToInstanceProfileCommandInput = AddRoleToInstanceProfileRequest; @@ -68,14 +68,14 @@ export class AddRoleToInstanceProfileCommand extends $Command< private serialize( input: AddRoleToInstanceProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddRoleToInstanceProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddRoleToInstanceProfileCommand(output, context); } diff --git a/clients/client-iam/commands/AddUserToGroupCommand.ts b/clients/client-iam/commands/AddUserToGroupCommand.ts index a856d8350520..d8f0873ed445 100644 --- a/clients/client-iam/commands/AddUserToGroupCommand.ts +++ b/clients/client-iam/commands/AddUserToGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddUserToGroupCommandInput = AddUserToGroupRequest; @@ -65,14 +65,14 @@ export class AddUserToGroupCommand extends $Command< private serialize( input: AddUserToGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddUserToGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddUserToGroupCommand(output, context); } diff --git a/clients/client-iam/commands/AttachGroupPolicyCommand.ts b/clients/client-iam/commands/AttachGroupPolicyCommand.ts index d6e18e7f0ec3..d57771c53886 100644 --- a/clients/client-iam/commands/AttachGroupPolicyCommand.ts +++ b/clients/client-iam/commands/AttachGroupPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachGroupPolicyCommandInput = AttachGroupPolicyRequest; @@ -65,14 +65,14 @@ export class AttachGroupPolicyCommand extends $Command< private serialize( input: AttachGroupPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAttachGroupPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAttachGroupPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/AttachRolePolicyCommand.ts b/clients/client-iam/commands/AttachRolePolicyCommand.ts index b5bf4eb7ac72..1cb5b665fecc 100644 --- a/clients/client-iam/commands/AttachRolePolicyCommand.ts +++ b/clients/client-iam/commands/AttachRolePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachRolePolicyCommandInput = AttachRolePolicyRequest; @@ -65,14 +65,14 @@ export class AttachRolePolicyCommand extends $Command< private serialize( input: AttachRolePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAttachRolePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAttachRolePolicyCommand(output, context); } diff --git a/clients/client-iam/commands/AttachUserPolicyCommand.ts b/clients/client-iam/commands/AttachUserPolicyCommand.ts index ef4758df8ac2..98d292dfd01e 100644 --- a/clients/client-iam/commands/AttachUserPolicyCommand.ts +++ b/clients/client-iam/commands/AttachUserPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachUserPolicyCommandInput = AttachUserPolicyRequest; @@ -65,14 +65,14 @@ export class AttachUserPolicyCommand extends $Command< private serialize( input: AttachUserPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAttachUserPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAttachUserPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/ChangePasswordCommand.ts b/clients/client-iam/commands/ChangePasswordCommand.ts index a13a5d19311c..d87237156c16 100644 --- a/clients/client-iam/commands/ChangePasswordCommand.ts +++ b/clients/client-iam/commands/ChangePasswordCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ChangePasswordCommandInput = ChangePasswordRequest; @@ -65,14 +65,14 @@ export class ChangePasswordCommand extends $Command< private serialize( input: ChangePasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryChangePasswordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryChangePasswordCommand(output, context); } diff --git a/clients/client-iam/commands/CreateAccessKeyCommand.ts b/clients/client-iam/commands/CreateAccessKeyCommand.ts index 2a9f4179bcf0..1c25eb83fcf2 100644 --- a/clients/client-iam/commands/CreateAccessKeyCommand.ts +++ b/clients/client-iam/commands/CreateAccessKeyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAccessKeyCommandInput = CreateAccessKeyRequest; @@ -67,14 +67,14 @@ export class CreateAccessKeyCommand extends $Command< private serialize( input: CreateAccessKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateAccessKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateAccessKeyCommand(output, context); } diff --git a/clients/client-iam/commands/CreateAccountAliasCommand.ts b/clients/client-iam/commands/CreateAccountAliasCommand.ts index 6c639e04cd0b..1c3c3adffaa9 100644 --- a/clients/client-iam/commands/CreateAccountAliasCommand.ts +++ b/clients/client-iam/commands/CreateAccountAliasCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAccountAliasCommandInput = CreateAccountAliasRequest; @@ -65,14 +65,14 @@ export class CreateAccountAliasCommand extends $Command< private serialize( input: CreateAccountAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateAccountAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateAccountAliasCommand(output, context); } diff --git a/clients/client-iam/commands/CreateGroupCommand.ts b/clients/client-iam/commands/CreateGroupCommand.ts index e4cc0e84412c..3a48bd7f823d 100644 --- a/clients/client-iam/commands/CreateGroupCommand.ts +++ b/clients/client-iam/commands/CreateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGroupCommandInput = CreateGroupRequest; @@ -64,14 +64,14 @@ export class CreateGroupCommand extends $Command< private serialize( input: CreateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateGroupCommand(output, context); } diff --git a/clients/client-iam/commands/CreateInstanceProfileCommand.ts b/clients/client-iam/commands/CreateInstanceProfileCommand.ts index 90ce198342b6..624ab5b9ba2d 100644 --- a/clients/client-iam/commands/CreateInstanceProfileCommand.ts +++ b/clients/client-iam/commands/CreateInstanceProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInstanceProfileCommandInput = CreateInstanceProfileRequest; @@ -70,14 +70,14 @@ export class CreateInstanceProfileCommand extends $Command< private serialize( input: CreateInstanceProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateInstanceProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateInstanceProfileCommand(output, context); } diff --git a/clients/client-iam/commands/CreateLoginProfileCommand.ts b/clients/client-iam/commands/CreateLoginProfileCommand.ts index 1435aa218758..fc5c251d8e92 100644 --- a/clients/client-iam/commands/CreateLoginProfileCommand.ts +++ b/clients/client-iam/commands/CreateLoginProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLoginProfileCommandInput = CreateLoginProfileRequest; @@ -67,14 +67,14 @@ export class CreateLoginProfileCommand extends $Command< private serialize( input: CreateLoginProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateLoginProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateLoginProfileCommand(output, context); } diff --git a/clients/client-iam/commands/CreateOpenIDConnectProviderCommand.ts b/clients/client-iam/commands/CreateOpenIDConnectProviderCommand.ts index edbc8d1c38f2..acb11feaa51f 100644 --- a/clients/client-iam/commands/CreateOpenIDConnectProviderCommand.ts +++ b/clients/client-iam/commands/CreateOpenIDConnectProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateOpenIDConnectProviderCommandInput = CreateOpenIDConnectProviderRequest; @@ -70,14 +70,14 @@ export class CreateOpenIDConnectProviderCommand extends $Command< private serialize( input: CreateOpenIDConnectProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateOpenIDConnectProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateOpenIDConnectProviderCommand( output, diff --git a/clients/client-iam/commands/CreatePolicyCommand.ts b/clients/client-iam/commands/CreatePolicyCommand.ts index 30f448a13773..595e877c9194 100644 --- a/clients/client-iam/commands/CreatePolicyCommand.ts +++ b/clients/client-iam/commands/CreatePolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePolicyCommandInput = CreatePolicyRequest; @@ -64,14 +64,14 @@ export class CreatePolicyCommand extends $Command< private serialize( input: CreatePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreatePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreatePolicyCommand(output, context); } diff --git a/clients/client-iam/commands/CreatePolicyVersionCommand.ts b/clients/client-iam/commands/CreatePolicyVersionCommand.ts index 813d3f4cb86a..41cc41292ac0 100644 --- a/clients/client-iam/commands/CreatePolicyVersionCommand.ts +++ b/clients/client-iam/commands/CreatePolicyVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePolicyVersionCommandInput = CreatePolicyVersionRequest; @@ -70,14 +70,14 @@ export class CreatePolicyVersionCommand extends $Command< private serialize( input: CreatePolicyVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreatePolicyVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreatePolicyVersionCommand(output, context); } diff --git a/clients/client-iam/commands/CreateRoleCommand.ts b/clients/client-iam/commands/CreateRoleCommand.ts index 5356d7c90fc6..a9c57b95111d 100644 --- a/clients/client-iam/commands/CreateRoleCommand.ts +++ b/clients/client-iam/commands/CreateRoleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRoleCommandInput = CreateRoleRequest; @@ -64,14 +64,14 @@ export class CreateRoleCommand extends $Command< private serialize( input: CreateRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateRoleCommand(output, context); } diff --git a/clients/client-iam/commands/CreateSAMLProviderCommand.ts b/clients/client-iam/commands/CreateSAMLProviderCommand.ts index 495d86277711..ce564afc17e8 100644 --- a/clients/client-iam/commands/CreateSAMLProviderCommand.ts +++ b/clients/client-iam/commands/CreateSAMLProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSAMLProviderCommandInput = CreateSAMLProviderRequest; @@ -67,14 +67,14 @@ export class CreateSAMLProviderCommand extends $Command< private serialize( input: CreateSAMLProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateSAMLProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateSAMLProviderCommand(output, context); } diff --git a/clients/client-iam/commands/CreateServiceLinkedRoleCommand.ts b/clients/client-iam/commands/CreateServiceLinkedRoleCommand.ts index ba0ff71c42f3..556278527ede 100644 --- a/clients/client-iam/commands/CreateServiceLinkedRoleCommand.ts +++ b/clients/client-iam/commands/CreateServiceLinkedRoleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateServiceLinkedRoleCommandInput = CreateServiceLinkedRoleRequest; @@ -70,14 +70,14 @@ export class CreateServiceLinkedRoleCommand extends $Command< private serialize( input: CreateServiceLinkedRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateServiceLinkedRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateServiceLinkedRoleCommand(output, context); } diff --git a/clients/client-iam/commands/CreateServiceSpecificCredentialCommand.ts b/clients/client-iam/commands/CreateServiceSpecificCredentialCommand.ts index 3cc56470cea0..e0568e30a2f6 100644 --- a/clients/client-iam/commands/CreateServiceSpecificCredentialCommand.ts +++ b/clients/client-iam/commands/CreateServiceSpecificCredentialCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateServiceSpecificCredentialCommandInput = CreateServiceSpecificCredentialRequest; @@ -70,7 +70,7 @@ export class CreateServiceSpecificCredentialCommand extends $Command< private serialize( input: CreateServiceSpecificCredentialCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateServiceSpecificCredentialCommand( input, @@ -80,7 +80,7 @@ export class CreateServiceSpecificCredentialCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateServiceSpecificCredentialCommand( output, diff --git a/clients/client-iam/commands/CreateUserCommand.ts b/clients/client-iam/commands/CreateUserCommand.ts index d91aa9bc0e43..d2f11c68d552 100644 --- a/clients/client-iam/commands/CreateUserCommand.ts +++ b/clients/client-iam/commands/CreateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserCommandInput = CreateUserRequest; @@ -64,14 +64,14 @@ export class CreateUserCommand extends $Command< private serialize( input: CreateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateUserCommand(output, context); } diff --git a/clients/client-iam/commands/CreateVirtualMFADeviceCommand.ts b/clients/client-iam/commands/CreateVirtualMFADeviceCommand.ts index 6421e0f40d14..b8a408de2f25 100644 --- a/clients/client-iam/commands/CreateVirtualMFADeviceCommand.ts +++ b/clients/client-iam/commands/CreateVirtualMFADeviceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVirtualMFADeviceCommandInput = CreateVirtualMFADeviceRequest; @@ -70,14 +70,14 @@ export class CreateVirtualMFADeviceCommand extends $Command< private serialize( input: CreateVirtualMFADeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateVirtualMFADeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateVirtualMFADeviceCommand(output, context); } diff --git a/clients/client-iam/commands/DeactivateMFADeviceCommand.ts b/clients/client-iam/commands/DeactivateMFADeviceCommand.ts index 42afe95f9e6a..e292b9e6e401 100644 --- a/clients/client-iam/commands/DeactivateMFADeviceCommand.ts +++ b/clients/client-iam/commands/DeactivateMFADeviceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeactivateMFADeviceCommandInput = DeactivateMFADeviceRequest; @@ -68,14 +68,14 @@ export class DeactivateMFADeviceCommand extends $Command< private serialize( input: DeactivateMFADeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeactivateMFADeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeactivateMFADeviceCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteAccessKeyCommand.ts b/clients/client-iam/commands/DeleteAccessKeyCommand.ts index 56b1ed68415a..80b8ced5d75b 100644 --- a/clients/client-iam/commands/DeleteAccessKeyCommand.ts +++ b/clients/client-iam/commands/DeleteAccessKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAccessKeyCommandInput = DeleteAccessKeyRequest; @@ -65,14 +65,14 @@ export class DeleteAccessKeyCommand extends $Command< private serialize( input: DeleteAccessKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteAccessKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteAccessKeyCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteAccountAliasCommand.ts b/clients/client-iam/commands/DeleteAccountAliasCommand.ts index cca3979787e0..0900f01ee016 100644 --- a/clients/client-iam/commands/DeleteAccountAliasCommand.ts +++ b/clients/client-iam/commands/DeleteAccountAliasCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAccountAliasCommandInput = DeleteAccountAliasRequest; @@ -65,14 +65,14 @@ export class DeleteAccountAliasCommand extends $Command< private serialize( input: DeleteAccountAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteAccountAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteAccountAliasCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteAccountPasswordPolicyCommand.ts b/clients/client-iam/commands/DeleteAccountPasswordPolicyCommand.ts index 483164f640ff..077ebf3e7533 100644 --- a/clients/client-iam/commands/DeleteAccountPasswordPolicyCommand.ts +++ b/clients/client-iam/commands/DeleteAccountPasswordPolicyCommand.ts @@ -18,9 +18,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAccountPasswordPolicyCommandInput = {}; @@ -67,14 +67,14 @@ export class DeleteAccountPasswordPolicyCommand extends $Command< private serialize( input: DeleteAccountPasswordPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteAccountPasswordPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteAccountPasswordPolicyCommand( output, diff --git a/clients/client-iam/commands/DeleteGroupCommand.ts b/clients/client-iam/commands/DeleteGroupCommand.ts index af0994f3eb58..441e05494b98 100644 --- a/clients/client-iam/commands/DeleteGroupCommand.ts +++ b/clients/client-iam/commands/DeleteGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGroupCommandInput = DeleteGroupRequest; @@ -65,14 +65,14 @@ export class DeleteGroupCommand extends $Command< private serialize( input: DeleteGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteGroupCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteGroupPolicyCommand.ts b/clients/client-iam/commands/DeleteGroupPolicyCommand.ts index 7cd05eb954b3..f499792d71a5 100644 --- a/clients/client-iam/commands/DeleteGroupPolicyCommand.ts +++ b/clients/client-iam/commands/DeleteGroupPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGroupPolicyCommandInput = DeleteGroupPolicyRequest; @@ -65,14 +65,14 @@ export class DeleteGroupPolicyCommand extends $Command< private serialize( input: DeleteGroupPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteGroupPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteGroupPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteInstanceProfileCommand.ts b/clients/client-iam/commands/DeleteInstanceProfileCommand.ts index 67ef87f30312..f983403f59d1 100644 --- a/clients/client-iam/commands/DeleteInstanceProfileCommand.ts +++ b/clients/client-iam/commands/DeleteInstanceProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInstanceProfileCommandInput = DeleteInstanceProfileRequest; @@ -68,14 +68,14 @@ export class DeleteInstanceProfileCommand extends $Command< private serialize( input: DeleteInstanceProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteInstanceProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteInstanceProfileCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteLoginProfileCommand.ts b/clients/client-iam/commands/DeleteLoginProfileCommand.ts index 6ae2b5537200..6fb1375ff2ba 100644 --- a/clients/client-iam/commands/DeleteLoginProfileCommand.ts +++ b/clients/client-iam/commands/DeleteLoginProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLoginProfileCommandInput = DeleteLoginProfileRequest; @@ -65,14 +65,14 @@ export class DeleteLoginProfileCommand extends $Command< private serialize( input: DeleteLoginProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteLoginProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteLoginProfileCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteOpenIDConnectProviderCommand.ts b/clients/client-iam/commands/DeleteOpenIDConnectProviderCommand.ts index 6d4d9d50d71d..ab44e7f00881 100644 --- a/clients/client-iam/commands/DeleteOpenIDConnectProviderCommand.ts +++ b/clients/client-iam/commands/DeleteOpenIDConnectProviderCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteOpenIDConnectProviderCommandInput = DeleteOpenIDConnectProviderRequest; @@ -68,14 +68,14 @@ export class DeleteOpenIDConnectProviderCommand extends $Command< private serialize( input: DeleteOpenIDConnectProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteOpenIDConnectProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteOpenIDConnectProviderCommand( output, diff --git a/clients/client-iam/commands/DeletePolicyCommand.ts b/clients/client-iam/commands/DeletePolicyCommand.ts index a81e9e5be790..d65fb83dc648 100644 --- a/clients/client-iam/commands/DeletePolicyCommand.ts +++ b/clients/client-iam/commands/DeletePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePolicyCommandInput = DeletePolicyRequest; @@ -65,14 +65,14 @@ export class DeletePolicyCommand extends $Command< private serialize( input: DeletePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeletePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeletePolicyCommand(output, context); } diff --git a/clients/client-iam/commands/DeletePolicyVersionCommand.ts b/clients/client-iam/commands/DeletePolicyVersionCommand.ts index 0ba2ec4feda3..9f9115e3479d 100644 --- a/clients/client-iam/commands/DeletePolicyVersionCommand.ts +++ b/clients/client-iam/commands/DeletePolicyVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePolicyVersionCommandInput = DeletePolicyVersionRequest; @@ -68,14 +68,14 @@ export class DeletePolicyVersionCommand extends $Command< private serialize( input: DeletePolicyVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeletePolicyVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeletePolicyVersionCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteRoleCommand.ts b/clients/client-iam/commands/DeleteRoleCommand.ts index b7a347823018..3f66f34b7bd6 100644 --- a/clients/client-iam/commands/DeleteRoleCommand.ts +++ b/clients/client-iam/commands/DeleteRoleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRoleCommandInput = DeleteRoleRequest; @@ -65,14 +65,14 @@ export class DeleteRoleCommand extends $Command< private serialize( input: DeleteRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteRoleCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteRolePermissionsBoundaryCommand.ts b/clients/client-iam/commands/DeleteRolePermissionsBoundaryCommand.ts index ddc94248ea4d..9aaa2d92f55e 100644 --- a/clients/client-iam/commands/DeleteRolePermissionsBoundaryCommand.ts +++ b/clients/client-iam/commands/DeleteRolePermissionsBoundaryCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRolePermissionsBoundaryCommandInput = DeleteRolePermissionsBoundaryRequest; @@ -68,7 +68,7 @@ export class DeleteRolePermissionsBoundaryCommand extends $Command< private serialize( input: DeleteRolePermissionsBoundaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteRolePermissionsBoundaryCommand( input, @@ -78,7 +78,7 @@ export class DeleteRolePermissionsBoundaryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteRolePermissionsBoundaryCommand( output, diff --git a/clients/client-iam/commands/DeleteRolePolicyCommand.ts b/clients/client-iam/commands/DeleteRolePolicyCommand.ts index c9673efd0d50..80532eb1437d 100644 --- a/clients/client-iam/commands/DeleteRolePolicyCommand.ts +++ b/clients/client-iam/commands/DeleteRolePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRolePolicyCommandInput = DeleteRolePolicyRequest; @@ -65,14 +65,14 @@ export class DeleteRolePolicyCommand extends $Command< private serialize( input: DeleteRolePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteRolePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteRolePolicyCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteSAMLProviderCommand.ts b/clients/client-iam/commands/DeleteSAMLProviderCommand.ts index 95225c52c6c2..a7dae7292c69 100644 --- a/clients/client-iam/commands/DeleteSAMLProviderCommand.ts +++ b/clients/client-iam/commands/DeleteSAMLProviderCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSAMLProviderCommandInput = DeleteSAMLProviderRequest; @@ -65,14 +65,14 @@ export class DeleteSAMLProviderCommand extends $Command< private serialize( input: DeleteSAMLProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteSAMLProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteSAMLProviderCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteSSHPublicKeyCommand.ts b/clients/client-iam/commands/DeleteSSHPublicKeyCommand.ts index de44ac8ae89c..70c597172206 100644 --- a/clients/client-iam/commands/DeleteSSHPublicKeyCommand.ts +++ b/clients/client-iam/commands/DeleteSSHPublicKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSSHPublicKeyCommandInput = DeleteSSHPublicKeyRequest; @@ -65,14 +65,14 @@ export class DeleteSSHPublicKeyCommand extends $Command< private serialize( input: DeleteSSHPublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteSSHPublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteSSHPublicKeyCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteServerCertificateCommand.ts b/clients/client-iam/commands/DeleteServerCertificateCommand.ts index 1277d53bc831..2d758c861281 100644 --- a/clients/client-iam/commands/DeleteServerCertificateCommand.ts +++ b/clients/client-iam/commands/DeleteServerCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteServerCertificateCommandInput = DeleteServerCertificateRequest; @@ -68,14 +68,14 @@ export class DeleteServerCertificateCommand extends $Command< private serialize( input: DeleteServerCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteServerCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteServerCertificateCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteServiceLinkedRoleCommand.ts b/clients/client-iam/commands/DeleteServiceLinkedRoleCommand.ts index 7a47fc80e4fc..b6c14faa31af 100644 --- a/clients/client-iam/commands/DeleteServiceLinkedRoleCommand.ts +++ b/clients/client-iam/commands/DeleteServiceLinkedRoleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteServiceLinkedRoleCommandInput = DeleteServiceLinkedRoleRequest; @@ -70,14 +70,14 @@ export class DeleteServiceLinkedRoleCommand extends $Command< private serialize( input: DeleteServiceLinkedRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteServiceLinkedRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteServiceLinkedRoleCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteServiceSpecificCredentialCommand.ts b/clients/client-iam/commands/DeleteServiceSpecificCredentialCommand.ts index caf46f6f55c8..1411441c389f 100644 --- a/clients/client-iam/commands/DeleteServiceSpecificCredentialCommand.ts +++ b/clients/client-iam/commands/DeleteServiceSpecificCredentialCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteServiceSpecificCredentialCommandInput = DeleteServiceSpecificCredentialRequest; @@ -68,7 +68,7 @@ export class DeleteServiceSpecificCredentialCommand extends $Command< private serialize( input: DeleteServiceSpecificCredentialCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteServiceSpecificCredentialCommand( input, @@ -78,7 +78,7 @@ export class DeleteServiceSpecificCredentialCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteServiceSpecificCredentialCommand( output, diff --git a/clients/client-iam/commands/DeleteSigningCertificateCommand.ts b/clients/client-iam/commands/DeleteSigningCertificateCommand.ts index e6debea3400c..6ac565f806c6 100644 --- a/clients/client-iam/commands/DeleteSigningCertificateCommand.ts +++ b/clients/client-iam/commands/DeleteSigningCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSigningCertificateCommandInput = DeleteSigningCertificateRequest; @@ -68,14 +68,14 @@ export class DeleteSigningCertificateCommand extends $Command< private serialize( input: DeleteSigningCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteSigningCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteSigningCertificateCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteUserCommand.ts b/clients/client-iam/commands/DeleteUserCommand.ts index 5197c7a873bd..b0b691bfa205 100644 --- a/clients/client-iam/commands/DeleteUserCommand.ts +++ b/clients/client-iam/commands/DeleteUserCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserCommandInput = DeleteUserRequest; @@ -65,14 +65,14 @@ export class DeleteUserCommand extends $Command< private serialize( input: DeleteUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteUserCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteUserPermissionsBoundaryCommand.ts b/clients/client-iam/commands/DeleteUserPermissionsBoundaryCommand.ts index 876e82da4168..8cb065309958 100644 --- a/clients/client-iam/commands/DeleteUserPermissionsBoundaryCommand.ts +++ b/clients/client-iam/commands/DeleteUserPermissionsBoundaryCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserPermissionsBoundaryCommandInput = DeleteUserPermissionsBoundaryRequest; @@ -68,7 +68,7 @@ export class DeleteUserPermissionsBoundaryCommand extends $Command< private serialize( input: DeleteUserPermissionsBoundaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteUserPermissionsBoundaryCommand( input, @@ -78,7 +78,7 @@ export class DeleteUserPermissionsBoundaryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteUserPermissionsBoundaryCommand( output, diff --git a/clients/client-iam/commands/DeleteUserPolicyCommand.ts b/clients/client-iam/commands/DeleteUserPolicyCommand.ts index 8c1d7e4635a0..5df841179553 100644 --- a/clients/client-iam/commands/DeleteUserPolicyCommand.ts +++ b/clients/client-iam/commands/DeleteUserPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserPolicyCommandInput = DeleteUserPolicyRequest; @@ -65,14 +65,14 @@ export class DeleteUserPolicyCommand extends $Command< private serialize( input: DeleteUserPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteUserPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteUserPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/DeleteVirtualMFADeviceCommand.ts b/clients/client-iam/commands/DeleteVirtualMFADeviceCommand.ts index 981f4f0dd752..ed9b596bd1b8 100644 --- a/clients/client-iam/commands/DeleteVirtualMFADeviceCommand.ts +++ b/clients/client-iam/commands/DeleteVirtualMFADeviceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVirtualMFADeviceCommandInput = DeleteVirtualMFADeviceRequest; @@ -68,14 +68,14 @@ export class DeleteVirtualMFADeviceCommand extends $Command< private serialize( input: DeleteVirtualMFADeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteVirtualMFADeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteVirtualMFADeviceCommand(output, context); } diff --git a/clients/client-iam/commands/DetachGroupPolicyCommand.ts b/clients/client-iam/commands/DetachGroupPolicyCommand.ts index c2ffb2421f2d..58cc384639b2 100644 --- a/clients/client-iam/commands/DetachGroupPolicyCommand.ts +++ b/clients/client-iam/commands/DetachGroupPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachGroupPolicyCommandInput = DetachGroupPolicyRequest; @@ -65,14 +65,14 @@ export class DetachGroupPolicyCommand extends $Command< private serialize( input: DetachGroupPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDetachGroupPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDetachGroupPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/DetachRolePolicyCommand.ts b/clients/client-iam/commands/DetachRolePolicyCommand.ts index 5bbb1a41046b..be3d77938022 100644 --- a/clients/client-iam/commands/DetachRolePolicyCommand.ts +++ b/clients/client-iam/commands/DetachRolePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachRolePolicyCommandInput = DetachRolePolicyRequest; @@ -65,14 +65,14 @@ export class DetachRolePolicyCommand extends $Command< private serialize( input: DetachRolePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDetachRolePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDetachRolePolicyCommand(output, context); } diff --git a/clients/client-iam/commands/DetachUserPolicyCommand.ts b/clients/client-iam/commands/DetachUserPolicyCommand.ts index b173e1dc670b..41d660df31e1 100644 --- a/clients/client-iam/commands/DetachUserPolicyCommand.ts +++ b/clients/client-iam/commands/DetachUserPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachUserPolicyCommandInput = DetachUserPolicyRequest; @@ -65,14 +65,14 @@ export class DetachUserPolicyCommand extends $Command< private serialize( input: DetachUserPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDetachUserPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDetachUserPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/EnableMFADeviceCommand.ts b/clients/client-iam/commands/EnableMFADeviceCommand.ts index 0908bf152802..fcd3c972f2cd 100644 --- a/clients/client-iam/commands/EnableMFADeviceCommand.ts +++ b/clients/client-iam/commands/EnableMFADeviceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableMFADeviceCommandInput = EnableMFADeviceRequest; @@ -65,14 +65,14 @@ export class EnableMFADeviceCommand extends $Command< private serialize( input: EnableMFADeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryEnableMFADeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryEnableMFADeviceCommand(output, context); } diff --git a/clients/client-iam/commands/GenerateCredentialReportCommand.ts b/clients/client-iam/commands/GenerateCredentialReportCommand.ts index a49c7eb75a21..c5062da3d83f 100644 --- a/clients/client-iam/commands/GenerateCredentialReportCommand.ts +++ b/clients/client-iam/commands/GenerateCredentialReportCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateCredentialReportCommandInput = {}; @@ -67,14 +67,14 @@ export class GenerateCredentialReportCommand extends $Command< private serialize( input: GenerateCredentialReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGenerateCredentialReportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGenerateCredentialReportCommand(output, context); } diff --git a/clients/client-iam/commands/GenerateOrganizationsAccessReportCommand.ts b/clients/client-iam/commands/GenerateOrganizationsAccessReportCommand.ts index 5eb95368d24c..6e30546bc6ed 100644 --- a/clients/client-iam/commands/GenerateOrganizationsAccessReportCommand.ts +++ b/clients/client-iam/commands/GenerateOrganizationsAccessReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateOrganizationsAccessReportCommandInput = GenerateOrganizationsAccessReportRequest; @@ -70,7 +70,7 @@ export class GenerateOrganizationsAccessReportCommand extends $Command< private serialize( input: GenerateOrganizationsAccessReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGenerateOrganizationsAccessReportCommand( input, @@ -80,7 +80,7 @@ export class GenerateOrganizationsAccessReportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGenerateOrganizationsAccessReportCommand( output, diff --git a/clients/client-iam/commands/GenerateServiceLastAccessedDetailsCommand.ts b/clients/client-iam/commands/GenerateServiceLastAccessedDetailsCommand.ts index 33df2e8c7be3..7320e62c6101 100644 --- a/clients/client-iam/commands/GenerateServiceLastAccessedDetailsCommand.ts +++ b/clients/client-iam/commands/GenerateServiceLastAccessedDetailsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateServiceLastAccessedDetailsCommandInput = GenerateServiceLastAccessedDetailsRequest; @@ -70,7 +70,7 @@ export class GenerateServiceLastAccessedDetailsCommand extends $Command< private serialize( input: GenerateServiceLastAccessedDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGenerateServiceLastAccessedDetailsCommand( input, @@ -80,7 +80,7 @@ export class GenerateServiceLastAccessedDetailsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGenerateServiceLastAccessedDetailsCommand( output, diff --git a/clients/client-iam/commands/GetAccessKeyLastUsedCommand.ts b/clients/client-iam/commands/GetAccessKeyLastUsedCommand.ts index 445a1c08679a..ea08f0596038 100644 --- a/clients/client-iam/commands/GetAccessKeyLastUsedCommand.ts +++ b/clients/client-iam/commands/GetAccessKeyLastUsedCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccessKeyLastUsedCommandInput = GetAccessKeyLastUsedRequest; @@ -70,14 +70,14 @@ export class GetAccessKeyLastUsedCommand extends $Command< private serialize( input: GetAccessKeyLastUsedCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetAccessKeyLastUsedCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetAccessKeyLastUsedCommand(output, context); } diff --git a/clients/client-iam/commands/GetAccountAuthorizationDetailsCommand.ts b/clients/client-iam/commands/GetAccountAuthorizationDetailsCommand.ts index bf78d31c9a0c..d78c4a6aa708 100644 --- a/clients/client-iam/commands/GetAccountAuthorizationDetailsCommand.ts +++ b/clients/client-iam/commands/GetAccountAuthorizationDetailsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountAuthorizationDetailsCommandInput = GetAccountAuthorizationDetailsRequest; @@ -70,7 +70,7 @@ export class GetAccountAuthorizationDetailsCommand extends $Command< private serialize( input: GetAccountAuthorizationDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetAccountAuthorizationDetailsCommand( input, @@ -80,7 +80,7 @@ export class GetAccountAuthorizationDetailsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetAccountAuthorizationDetailsCommand( output, diff --git a/clients/client-iam/commands/GetAccountPasswordPolicyCommand.ts b/clients/client-iam/commands/GetAccountPasswordPolicyCommand.ts index 62d6b4c8a7ad..d79cf97eef74 100644 --- a/clients/client-iam/commands/GetAccountPasswordPolicyCommand.ts +++ b/clients/client-iam/commands/GetAccountPasswordPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountPasswordPolicyCommandInput = {}; @@ -67,14 +67,14 @@ export class GetAccountPasswordPolicyCommand extends $Command< private serialize( input: GetAccountPasswordPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetAccountPasswordPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetAccountPasswordPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/GetAccountSummaryCommand.ts b/clients/client-iam/commands/GetAccountSummaryCommand.ts index 23cc267b821f..2d19b9e6d18c 100644 --- a/clients/client-iam/commands/GetAccountSummaryCommand.ts +++ b/clients/client-iam/commands/GetAccountSummaryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountSummaryCommandInput = {}; @@ -64,14 +64,14 @@ export class GetAccountSummaryCommand extends $Command< private serialize( input: GetAccountSummaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetAccountSummaryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetAccountSummaryCommand(output, context); } diff --git a/clients/client-iam/commands/GetContextKeysForCustomPolicyCommand.ts b/clients/client-iam/commands/GetContextKeysForCustomPolicyCommand.ts index 1dbe6151dc1d..e9e1b947b37b 100644 --- a/clients/client-iam/commands/GetContextKeysForCustomPolicyCommand.ts +++ b/clients/client-iam/commands/GetContextKeysForCustomPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetContextKeysForCustomPolicyCommandInput = GetContextKeysForCustomPolicyRequest; @@ -70,7 +70,7 @@ export class GetContextKeysForCustomPolicyCommand extends $Command< private serialize( input: GetContextKeysForCustomPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetContextKeysForCustomPolicyCommand( input, @@ -80,7 +80,7 @@ export class GetContextKeysForCustomPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetContextKeysForCustomPolicyCommand( output, diff --git a/clients/client-iam/commands/GetContextKeysForPrincipalPolicyCommand.ts b/clients/client-iam/commands/GetContextKeysForPrincipalPolicyCommand.ts index daf219ed5241..eb5a42289474 100644 --- a/clients/client-iam/commands/GetContextKeysForPrincipalPolicyCommand.ts +++ b/clients/client-iam/commands/GetContextKeysForPrincipalPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetContextKeysForPrincipalPolicyCommandInput = GetContextKeysForPrincipalPolicyRequest; @@ -70,7 +70,7 @@ export class GetContextKeysForPrincipalPolicyCommand extends $Command< private serialize( input: GetContextKeysForPrincipalPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetContextKeysForPrincipalPolicyCommand( input, @@ -80,7 +80,7 @@ export class GetContextKeysForPrincipalPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetContextKeysForPrincipalPolicyCommand( output, diff --git a/clients/client-iam/commands/GetCredentialReportCommand.ts b/clients/client-iam/commands/GetCredentialReportCommand.ts index 393dabbd87ec..2f4dd7c90adf 100644 --- a/clients/client-iam/commands/GetCredentialReportCommand.ts +++ b/clients/client-iam/commands/GetCredentialReportCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCredentialReportCommandInput = {}; @@ -67,14 +67,14 @@ export class GetCredentialReportCommand extends $Command< private serialize( input: GetCredentialReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetCredentialReportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetCredentialReportCommand(output, context); } diff --git a/clients/client-iam/commands/GetGroupCommand.ts b/clients/client-iam/commands/GetGroupCommand.ts index 868f533f71b1..b77969aee1c8 100644 --- a/clients/client-iam/commands/GetGroupCommand.ts +++ b/clients/client-iam/commands/GetGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGroupCommandInput = GetGroupRequest; @@ -64,14 +64,14 @@ export class GetGroupCommand extends $Command< private serialize( input: GetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetGroupCommand(output, context); } diff --git a/clients/client-iam/commands/GetGroupPolicyCommand.ts b/clients/client-iam/commands/GetGroupPolicyCommand.ts index 3faddf560e90..6093304f949b 100644 --- a/clients/client-iam/commands/GetGroupPolicyCommand.ts +++ b/clients/client-iam/commands/GetGroupPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGroupPolicyCommandInput = GetGroupPolicyRequest; @@ -64,14 +64,14 @@ export class GetGroupPolicyCommand extends $Command< private serialize( input: GetGroupPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetGroupPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetGroupPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/GetInstanceProfileCommand.ts b/clients/client-iam/commands/GetInstanceProfileCommand.ts index ddf3462a5375..11c4e45e61a2 100644 --- a/clients/client-iam/commands/GetInstanceProfileCommand.ts +++ b/clients/client-iam/commands/GetInstanceProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstanceProfileCommandInput = GetInstanceProfileRequest; @@ -67,14 +67,14 @@ export class GetInstanceProfileCommand extends $Command< private serialize( input: GetInstanceProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetInstanceProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetInstanceProfileCommand(output, context); } diff --git a/clients/client-iam/commands/GetLoginProfileCommand.ts b/clients/client-iam/commands/GetLoginProfileCommand.ts index 8aa0a67192b4..7f7735c53dec 100644 --- a/clients/client-iam/commands/GetLoginProfileCommand.ts +++ b/clients/client-iam/commands/GetLoginProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLoginProfileCommandInput = GetLoginProfileRequest; @@ -67,14 +67,14 @@ export class GetLoginProfileCommand extends $Command< private serialize( input: GetLoginProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetLoginProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetLoginProfileCommand(output, context); } diff --git a/clients/client-iam/commands/GetOpenIDConnectProviderCommand.ts b/clients/client-iam/commands/GetOpenIDConnectProviderCommand.ts index 1d8cafbe3750..0cfcd2177f22 100644 --- a/clients/client-iam/commands/GetOpenIDConnectProviderCommand.ts +++ b/clients/client-iam/commands/GetOpenIDConnectProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOpenIDConnectProviderCommandInput = GetOpenIDConnectProviderRequest; @@ -70,14 +70,14 @@ export class GetOpenIDConnectProviderCommand extends $Command< private serialize( input: GetOpenIDConnectProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetOpenIDConnectProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetOpenIDConnectProviderCommand(output, context); } diff --git a/clients/client-iam/commands/GetOrganizationsAccessReportCommand.ts b/clients/client-iam/commands/GetOrganizationsAccessReportCommand.ts index 8979dd163502..efebaf2eeeeb 100644 --- a/clients/client-iam/commands/GetOrganizationsAccessReportCommand.ts +++ b/clients/client-iam/commands/GetOrganizationsAccessReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOrganizationsAccessReportCommandInput = GetOrganizationsAccessReportRequest; @@ -70,7 +70,7 @@ export class GetOrganizationsAccessReportCommand extends $Command< private serialize( input: GetOrganizationsAccessReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetOrganizationsAccessReportCommand( input, @@ -80,7 +80,7 @@ export class GetOrganizationsAccessReportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetOrganizationsAccessReportCommand( output, diff --git a/clients/client-iam/commands/GetPolicyCommand.ts b/clients/client-iam/commands/GetPolicyCommand.ts index dc6b40cdcc77..b3f4c4b6e3de 100644 --- a/clients/client-iam/commands/GetPolicyCommand.ts +++ b/clients/client-iam/commands/GetPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPolicyCommandInput = GetPolicyRequest; @@ -64,14 +64,14 @@ export class GetPolicyCommand extends $Command< private serialize( input: GetPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/GetPolicyVersionCommand.ts b/clients/client-iam/commands/GetPolicyVersionCommand.ts index f9fd79fffd8c..3cbec2ac093c 100644 --- a/clients/client-iam/commands/GetPolicyVersionCommand.ts +++ b/clients/client-iam/commands/GetPolicyVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPolicyVersionCommandInput = GetPolicyVersionRequest; @@ -67,14 +67,14 @@ export class GetPolicyVersionCommand extends $Command< private serialize( input: GetPolicyVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetPolicyVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetPolicyVersionCommand(output, context); } diff --git a/clients/client-iam/commands/GetRoleCommand.ts b/clients/client-iam/commands/GetRoleCommand.ts index 12ce4fa361fa..8a6a023a811e 100644 --- a/clients/client-iam/commands/GetRoleCommand.ts +++ b/clients/client-iam/commands/GetRoleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRoleCommandInput = GetRoleRequest; @@ -64,14 +64,14 @@ export class GetRoleCommand extends $Command< private serialize( input: GetRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetRoleCommand(output, context); } diff --git a/clients/client-iam/commands/GetRolePolicyCommand.ts b/clients/client-iam/commands/GetRolePolicyCommand.ts index 93ac0f990dfc..a7969ab6196d 100644 --- a/clients/client-iam/commands/GetRolePolicyCommand.ts +++ b/clients/client-iam/commands/GetRolePolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRolePolicyCommandInput = GetRolePolicyRequest; @@ -64,14 +64,14 @@ export class GetRolePolicyCommand extends $Command< private serialize( input: GetRolePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetRolePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetRolePolicyCommand(output, context); } diff --git a/clients/client-iam/commands/GetSAMLProviderCommand.ts b/clients/client-iam/commands/GetSAMLProviderCommand.ts index ab15cc99b6e8..8ba865e190c9 100644 --- a/clients/client-iam/commands/GetSAMLProviderCommand.ts +++ b/clients/client-iam/commands/GetSAMLProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSAMLProviderCommandInput = GetSAMLProviderRequest; @@ -67,14 +67,14 @@ export class GetSAMLProviderCommand extends $Command< private serialize( input: GetSAMLProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetSAMLProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetSAMLProviderCommand(output, context); } diff --git a/clients/client-iam/commands/GetSSHPublicKeyCommand.ts b/clients/client-iam/commands/GetSSHPublicKeyCommand.ts index e80618d43e22..9f0f30be4f99 100644 --- a/clients/client-iam/commands/GetSSHPublicKeyCommand.ts +++ b/clients/client-iam/commands/GetSSHPublicKeyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSSHPublicKeyCommandInput = GetSSHPublicKeyRequest; @@ -67,14 +67,14 @@ export class GetSSHPublicKeyCommand extends $Command< private serialize( input: GetSSHPublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetSSHPublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetSSHPublicKeyCommand(output, context); } diff --git a/clients/client-iam/commands/GetServerCertificateCommand.ts b/clients/client-iam/commands/GetServerCertificateCommand.ts index 41a7e2422f8b..4b274b623f73 100644 --- a/clients/client-iam/commands/GetServerCertificateCommand.ts +++ b/clients/client-iam/commands/GetServerCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServerCertificateCommandInput = GetServerCertificateRequest; @@ -70,14 +70,14 @@ export class GetServerCertificateCommand extends $Command< private serialize( input: GetServerCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetServerCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetServerCertificateCommand(output, context); } diff --git a/clients/client-iam/commands/GetServiceLastAccessedDetailsCommand.ts b/clients/client-iam/commands/GetServiceLastAccessedDetailsCommand.ts index 7c0b4ed7b36f..5d1ef9675dee 100644 --- a/clients/client-iam/commands/GetServiceLastAccessedDetailsCommand.ts +++ b/clients/client-iam/commands/GetServiceLastAccessedDetailsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServiceLastAccessedDetailsCommandInput = GetServiceLastAccessedDetailsRequest; @@ -70,7 +70,7 @@ export class GetServiceLastAccessedDetailsCommand extends $Command< private serialize( input: GetServiceLastAccessedDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetServiceLastAccessedDetailsCommand( input, @@ -80,7 +80,7 @@ export class GetServiceLastAccessedDetailsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetServiceLastAccessedDetailsCommand( output, diff --git a/clients/client-iam/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.ts b/clients/client-iam/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.ts index 46b891f22819..47b395aa132d 100644 --- a/clients/client-iam/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.ts +++ b/clients/client-iam/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServiceLastAccessedDetailsWithEntitiesCommandInput = GetServiceLastAccessedDetailsWithEntitiesRequest; @@ -72,7 +72,7 @@ export class GetServiceLastAccessedDetailsWithEntitiesCommand extends $Command< private serialize( input: GetServiceLastAccessedDetailsWithEntitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetServiceLastAccessedDetailsWithEntitiesCommand( input, @@ -82,7 +82,7 @@ export class GetServiceLastAccessedDetailsWithEntitiesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetServiceLastAccessedDetailsWithEntitiesCommand( output, diff --git a/clients/client-iam/commands/GetServiceLinkedRoleDeletionStatusCommand.ts b/clients/client-iam/commands/GetServiceLinkedRoleDeletionStatusCommand.ts index 20cbcbf8503f..52737f8186bb 100644 --- a/clients/client-iam/commands/GetServiceLinkedRoleDeletionStatusCommand.ts +++ b/clients/client-iam/commands/GetServiceLinkedRoleDeletionStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServiceLinkedRoleDeletionStatusCommandInput = GetServiceLinkedRoleDeletionStatusRequest; @@ -70,7 +70,7 @@ export class GetServiceLinkedRoleDeletionStatusCommand extends $Command< private serialize( input: GetServiceLinkedRoleDeletionStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetServiceLinkedRoleDeletionStatusCommand( input, @@ -80,7 +80,7 @@ export class GetServiceLinkedRoleDeletionStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetServiceLinkedRoleDeletionStatusCommand( output, diff --git a/clients/client-iam/commands/GetUserCommand.ts b/clients/client-iam/commands/GetUserCommand.ts index deb4ef16bb26..25d854589ba9 100644 --- a/clients/client-iam/commands/GetUserCommand.ts +++ b/clients/client-iam/commands/GetUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUserCommandInput = GetUserRequest; @@ -64,14 +64,14 @@ export class GetUserCommand extends $Command< private serialize( input: GetUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetUserCommand(output, context); } diff --git a/clients/client-iam/commands/GetUserPolicyCommand.ts b/clients/client-iam/commands/GetUserPolicyCommand.ts index 89485ce81c1f..e0f755f979d3 100644 --- a/clients/client-iam/commands/GetUserPolicyCommand.ts +++ b/clients/client-iam/commands/GetUserPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUserPolicyCommandInput = GetUserPolicyRequest; @@ -64,14 +64,14 @@ export class GetUserPolicyCommand extends $Command< private serialize( input: GetUserPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetUserPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetUserPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/ListAccessKeysCommand.ts b/clients/client-iam/commands/ListAccessKeysCommand.ts index 691b3107b300..e467d2ec2f2d 100644 --- a/clients/client-iam/commands/ListAccessKeysCommand.ts +++ b/clients/client-iam/commands/ListAccessKeysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAccessKeysCommandInput = ListAccessKeysRequest; @@ -64,14 +64,14 @@ export class ListAccessKeysCommand extends $Command< private serialize( input: ListAccessKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListAccessKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListAccessKeysCommand(output, context); } diff --git a/clients/client-iam/commands/ListAccountAliasesCommand.ts b/clients/client-iam/commands/ListAccountAliasesCommand.ts index 3655791fe712..b4aee9da1998 100644 --- a/clients/client-iam/commands/ListAccountAliasesCommand.ts +++ b/clients/client-iam/commands/ListAccountAliasesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAccountAliasesCommandInput = ListAccountAliasesRequest; @@ -67,14 +67,14 @@ export class ListAccountAliasesCommand extends $Command< private serialize( input: ListAccountAliasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListAccountAliasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListAccountAliasesCommand(output, context); } diff --git a/clients/client-iam/commands/ListAttachedGroupPoliciesCommand.ts b/clients/client-iam/commands/ListAttachedGroupPoliciesCommand.ts index a8bd5768a737..61214c1bb69b 100644 --- a/clients/client-iam/commands/ListAttachedGroupPoliciesCommand.ts +++ b/clients/client-iam/commands/ListAttachedGroupPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAttachedGroupPoliciesCommandInput = ListAttachedGroupPoliciesRequest; @@ -70,14 +70,14 @@ export class ListAttachedGroupPoliciesCommand extends $Command< private serialize( input: ListAttachedGroupPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListAttachedGroupPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListAttachedGroupPoliciesCommand( output, diff --git a/clients/client-iam/commands/ListAttachedRolePoliciesCommand.ts b/clients/client-iam/commands/ListAttachedRolePoliciesCommand.ts index 80f5497576a0..0bc1968d5680 100644 --- a/clients/client-iam/commands/ListAttachedRolePoliciesCommand.ts +++ b/clients/client-iam/commands/ListAttachedRolePoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAttachedRolePoliciesCommandInput = ListAttachedRolePoliciesRequest; @@ -70,14 +70,14 @@ export class ListAttachedRolePoliciesCommand extends $Command< private serialize( input: ListAttachedRolePoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListAttachedRolePoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListAttachedRolePoliciesCommand(output, context); } diff --git a/clients/client-iam/commands/ListAttachedUserPoliciesCommand.ts b/clients/client-iam/commands/ListAttachedUserPoliciesCommand.ts index 88841538404d..19c30d6361f3 100644 --- a/clients/client-iam/commands/ListAttachedUserPoliciesCommand.ts +++ b/clients/client-iam/commands/ListAttachedUserPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAttachedUserPoliciesCommandInput = ListAttachedUserPoliciesRequest; @@ -70,14 +70,14 @@ export class ListAttachedUserPoliciesCommand extends $Command< private serialize( input: ListAttachedUserPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListAttachedUserPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListAttachedUserPoliciesCommand(output, context); } diff --git a/clients/client-iam/commands/ListEntitiesForPolicyCommand.ts b/clients/client-iam/commands/ListEntitiesForPolicyCommand.ts index dc0332229fcd..8721ed424a18 100644 --- a/clients/client-iam/commands/ListEntitiesForPolicyCommand.ts +++ b/clients/client-iam/commands/ListEntitiesForPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEntitiesForPolicyCommandInput = ListEntitiesForPolicyRequest; @@ -70,14 +70,14 @@ export class ListEntitiesForPolicyCommand extends $Command< private serialize( input: ListEntitiesForPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListEntitiesForPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListEntitiesForPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/ListGroupPoliciesCommand.ts b/clients/client-iam/commands/ListGroupPoliciesCommand.ts index 7831140d6ee5..05daef07e90f 100644 --- a/clients/client-iam/commands/ListGroupPoliciesCommand.ts +++ b/clients/client-iam/commands/ListGroupPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupPoliciesCommandInput = ListGroupPoliciesRequest; @@ -67,14 +67,14 @@ export class ListGroupPoliciesCommand extends $Command< private serialize( input: ListGroupPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListGroupPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListGroupPoliciesCommand(output, context); } diff --git a/clients/client-iam/commands/ListGroupsCommand.ts b/clients/client-iam/commands/ListGroupsCommand.ts index ed57313470f9..f179dc5a7332 100644 --- a/clients/client-iam/commands/ListGroupsCommand.ts +++ b/clients/client-iam/commands/ListGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupsCommandInput = ListGroupsRequest; @@ -64,14 +64,14 @@ export class ListGroupsCommand extends $Command< private serialize( input: ListGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListGroupsCommand(output, context); } diff --git a/clients/client-iam/commands/ListGroupsForUserCommand.ts b/clients/client-iam/commands/ListGroupsForUserCommand.ts index 25d983d8549e..e5470677475c 100644 --- a/clients/client-iam/commands/ListGroupsForUserCommand.ts +++ b/clients/client-iam/commands/ListGroupsForUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupsForUserCommandInput = ListGroupsForUserRequest; @@ -67,14 +67,14 @@ export class ListGroupsForUserCommand extends $Command< private serialize( input: ListGroupsForUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListGroupsForUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListGroupsForUserCommand(output, context); } diff --git a/clients/client-iam/commands/ListInstanceProfilesCommand.ts b/clients/client-iam/commands/ListInstanceProfilesCommand.ts index 39e4a0fdc7a8..6d5fb36f4378 100644 --- a/clients/client-iam/commands/ListInstanceProfilesCommand.ts +++ b/clients/client-iam/commands/ListInstanceProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInstanceProfilesCommandInput = ListInstanceProfilesRequest; @@ -70,14 +70,14 @@ export class ListInstanceProfilesCommand extends $Command< private serialize( input: ListInstanceProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListInstanceProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListInstanceProfilesCommand(output, context); } diff --git a/clients/client-iam/commands/ListInstanceProfilesForRoleCommand.ts b/clients/client-iam/commands/ListInstanceProfilesForRoleCommand.ts index 3396cbfd9863..d6fac3413638 100644 --- a/clients/client-iam/commands/ListInstanceProfilesForRoleCommand.ts +++ b/clients/client-iam/commands/ListInstanceProfilesForRoleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInstanceProfilesForRoleCommandInput = ListInstanceProfilesForRoleRequest; @@ -70,14 +70,14 @@ export class ListInstanceProfilesForRoleCommand extends $Command< private serialize( input: ListInstanceProfilesForRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListInstanceProfilesForRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListInstanceProfilesForRoleCommand( output, diff --git a/clients/client-iam/commands/ListMFADevicesCommand.ts b/clients/client-iam/commands/ListMFADevicesCommand.ts index 52f80ce0393f..90d02ee5ac7d 100644 --- a/clients/client-iam/commands/ListMFADevicesCommand.ts +++ b/clients/client-iam/commands/ListMFADevicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMFADevicesCommandInput = ListMFADevicesRequest; @@ -64,14 +64,14 @@ export class ListMFADevicesCommand extends $Command< private serialize( input: ListMFADevicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListMFADevicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListMFADevicesCommand(output, context); } diff --git a/clients/client-iam/commands/ListOpenIDConnectProvidersCommand.ts b/clients/client-iam/commands/ListOpenIDConnectProvidersCommand.ts index 98df3f61decb..e2edb8cac044 100644 --- a/clients/client-iam/commands/ListOpenIDConnectProvidersCommand.ts +++ b/clients/client-iam/commands/ListOpenIDConnectProvidersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOpenIDConnectProvidersCommandInput = ListOpenIDConnectProvidersRequest; @@ -70,14 +70,14 @@ export class ListOpenIDConnectProvidersCommand extends $Command< private serialize( input: ListOpenIDConnectProvidersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListOpenIDConnectProvidersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListOpenIDConnectProvidersCommand( output, diff --git a/clients/client-iam/commands/ListPoliciesCommand.ts b/clients/client-iam/commands/ListPoliciesCommand.ts index 790dcc54c6e7..a915e243003e 100644 --- a/clients/client-iam/commands/ListPoliciesCommand.ts +++ b/clients/client-iam/commands/ListPoliciesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPoliciesCommandInput = ListPoliciesRequest; @@ -64,14 +64,14 @@ export class ListPoliciesCommand extends $Command< private serialize( input: ListPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListPoliciesCommand(output, context); } diff --git a/clients/client-iam/commands/ListPoliciesGrantingServiceAccessCommand.ts b/clients/client-iam/commands/ListPoliciesGrantingServiceAccessCommand.ts index 876487eef1e1..ca370fc59e61 100644 --- a/clients/client-iam/commands/ListPoliciesGrantingServiceAccessCommand.ts +++ b/clients/client-iam/commands/ListPoliciesGrantingServiceAccessCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPoliciesGrantingServiceAccessCommandInput = ListPoliciesGrantingServiceAccessRequest; @@ -70,7 +70,7 @@ export class ListPoliciesGrantingServiceAccessCommand extends $Command< private serialize( input: ListPoliciesGrantingServiceAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListPoliciesGrantingServiceAccessCommand( input, @@ -80,7 +80,7 @@ export class ListPoliciesGrantingServiceAccessCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListPoliciesGrantingServiceAccessCommand( output, diff --git a/clients/client-iam/commands/ListPolicyVersionsCommand.ts b/clients/client-iam/commands/ListPolicyVersionsCommand.ts index e0b9f7edf152..a3bc363901ea 100644 --- a/clients/client-iam/commands/ListPolicyVersionsCommand.ts +++ b/clients/client-iam/commands/ListPolicyVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPolicyVersionsCommandInput = ListPolicyVersionsRequest; @@ -67,14 +67,14 @@ export class ListPolicyVersionsCommand extends $Command< private serialize( input: ListPolicyVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListPolicyVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListPolicyVersionsCommand(output, context); } diff --git a/clients/client-iam/commands/ListRolePoliciesCommand.ts b/clients/client-iam/commands/ListRolePoliciesCommand.ts index 84dd138c5d97..d7f64a0142f7 100644 --- a/clients/client-iam/commands/ListRolePoliciesCommand.ts +++ b/clients/client-iam/commands/ListRolePoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRolePoliciesCommandInput = ListRolePoliciesRequest; @@ -67,14 +67,14 @@ export class ListRolePoliciesCommand extends $Command< private serialize( input: ListRolePoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListRolePoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListRolePoliciesCommand(output, context); } diff --git a/clients/client-iam/commands/ListRoleTagsCommand.ts b/clients/client-iam/commands/ListRoleTagsCommand.ts index f713994e40d7..75051cf58852 100644 --- a/clients/client-iam/commands/ListRoleTagsCommand.ts +++ b/clients/client-iam/commands/ListRoleTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRoleTagsCommandInput = ListRoleTagsRequest; @@ -64,14 +64,14 @@ export class ListRoleTagsCommand extends $Command< private serialize( input: ListRoleTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListRoleTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListRoleTagsCommand(output, context); } diff --git a/clients/client-iam/commands/ListRolesCommand.ts b/clients/client-iam/commands/ListRolesCommand.ts index 419cfd9061f0..55ed0cfbff08 100644 --- a/clients/client-iam/commands/ListRolesCommand.ts +++ b/clients/client-iam/commands/ListRolesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRolesCommandInput = ListRolesRequest; @@ -64,14 +64,14 @@ export class ListRolesCommand extends $Command< private serialize( input: ListRolesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListRolesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListRolesCommand(output, context); } diff --git a/clients/client-iam/commands/ListSAMLProvidersCommand.ts b/clients/client-iam/commands/ListSAMLProvidersCommand.ts index 87611d8ebdb2..1fb6704813d2 100644 --- a/clients/client-iam/commands/ListSAMLProvidersCommand.ts +++ b/clients/client-iam/commands/ListSAMLProvidersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSAMLProvidersCommandInput = ListSAMLProvidersRequest; @@ -67,14 +67,14 @@ export class ListSAMLProvidersCommand extends $Command< private serialize( input: ListSAMLProvidersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListSAMLProvidersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListSAMLProvidersCommand(output, context); } diff --git a/clients/client-iam/commands/ListSSHPublicKeysCommand.ts b/clients/client-iam/commands/ListSSHPublicKeysCommand.ts index 677074c0632d..edfe8c7195b8 100644 --- a/clients/client-iam/commands/ListSSHPublicKeysCommand.ts +++ b/clients/client-iam/commands/ListSSHPublicKeysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSSHPublicKeysCommandInput = ListSSHPublicKeysRequest; @@ -67,14 +67,14 @@ export class ListSSHPublicKeysCommand extends $Command< private serialize( input: ListSSHPublicKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListSSHPublicKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListSSHPublicKeysCommand(output, context); } diff --git a/clients/client-iam/commands/ListServerCertificatesCommand.ts b/clients/client-iam/commands/ListServerCertificatesCommand.ts index 55d61ff0e97c..fddcdc3efd61 100644 --- a/clients/client-iam/commands/ListServerCertificatesCommand.ts +++ b/clients/client-iam/commands/ListServerCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListServerCertificatesCommandInput = ListServerCertificatesRequest; @@ -70,14 +70,14 @@ export class ListServerCertificatesCommand extends $Command< private serialize( input: ListServerCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListServerCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListServerCertificatesCommand(output, context); } diff --git a/clients/client-iam/commands/ListServiceSpecificCredentialsCommand.ts b/clients/client-iam/commands/ListServiceSpecificCredentialsCommand.ts index 05d43a993330..8774a3ac3877 100644 --- a/clients/client-iam/commands/ListServiceSpecificCredentialsCommand.ts +++ b/clients/client-iam/commands/ListServiceSpecificCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListServiceSpecificCredentialsCommandInput = ListServiceSpecificCredentialsRequest; @@ -70,7 +70,7 @@ export class ListServiceSpecificCredentialsCommand extends $Command< private serialize( input: ListServiceSpecificCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListServiceSpecificCredentialsCommand( input, @@ -80,7 +80,7 @@ export class ListServiceSpecificCredentialsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListServiceSpecificCredentialsCommand( output, diff --git a/clients/client-iam/commands/ListSigningCertificatesCommand.ts b/clients/client-iam/commands/ListSigningCertificatesCommand.ts index 99fa1fab1e64..7c1560725974 100644 --- a/clients/client-iam/commands/ListSigningCertificatesCommand.ts +++ b/clients/client-iam/commands/ListSigningCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSigningCertificatesCommandInput = ListSigningCertificatesRequest; @@ -70,14 +70,14 @@ export class ListSigningCertificatesCommand extends $Command< private serialize( input: ListSigningCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListSigningCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListSigningCertificatesCommand(output, context); } diff --git a/clients/client-iam/commands/ListUserPoliciesCommand.ts b/clients/client-iam/commands/ListUserPoliciesCommand.ts index 2f88a0840362..c709c5367678 100644 --- a/clients/client-iam/commands/ListUserPoliciesCommand.ts +++ b/clients/client-iam/commands/ListUserPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUserPoliciesCommandInput = ListUserPoliciesRequest; @@ -67,14 +67,14 @@ export class ListUserPoliciesCommand extends $Command< private serialize( input: ListUserPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListUserPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListUserPoliciesCommand(output, context); } diff --git a/clients/client-iam/commands/ListUserTagsCommand.ts b/clients/client-iam/commands/ListUserTagsCommand.ts index 495416e8272e..1912b671abfb 100644 --- a/clients/client-iam/commands/ListUserTagsCommand.ts +++ b/clients/client-iam/commands/ListUserTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUserTagsCommandInput = ListUserTagsRequest; @@ -64,14 +64,14 @@ export class ListUserTagsCommand extends $Command< private serialize( input: ListUserTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListUserTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListUserTagsCommand(output, context); } diff --git a/clients/client-iam/commands/ListUsersCommand.ts b/clients/client-iam/commands/ListUsersCommand.ts index 5b9a05fb0b14..e3ff1c61f9c5 100644 --- a/clients/client-iam/commands/ListUsersCommand.ts +++ b/clients/client-iam/commands/ListUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUsersCommandInput = ListUsersRequest; @@ -64,14 +64,14 @@ export class ListUsersCommand extends $Command< private serialize( input: ListUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListUsersCommand(output, context); } diff --git a/clients/client-iam/commands/ListVirtualMFADevicesCommand.ts b/clients/client-iam/commands/ListVirtualMFADevicesCommand.ts index 5231a61117e7..1ebb8cc0badb 100644 --- a/clients/client-iam/commands/ListVirtualMFADevicesCommand.ts +++ b/clients/client-iam/commands/ListVirtualMFADevicesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVirtualMFADevicesCommandInput = ListVirtualMFADevicesRequest; @@ -70,14 +70,14 @@ export class ListVirtualMFADevicesCommand extends $Command< private serialize( input: ListVirtualMFADevicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListVirtualMFADevicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListVirtualMFADevicesCommand(output, context); } diff --git a/clients/client-iam/commands/PutGroupPolicyCommand.ts b/clients/client-iam/commands/PutGroupPolicyCommand.ts index 8ee4af17d526..bdc0dbbb2e1e 100644 --- a/clients/client-iam/commands/PutGroupPolicyCommand.ts +++ b/clients/client-iam/commands/PutGroupPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutGroupPolicyCommandInput = PutGroupPolicyRequest; @@ -65,14 +65,14 @@ export class PutGroupPolicyCommand extends $Command< private serialize( input: PutGroupPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutGroupPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutGroupPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/PutRolePermissionsBoundaryCommand.ts b/clients/client-iam/commands/PutRolePermissionsBoundaryCommand.ts index 3813c778898e..f8771585791a 100644 --- a/clients/client-iam/commands/PutRolePermissionsBoundaryCommand.ts +++ b/clients/client-iam/commands/PutRolePermissionsBoundaryCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRolePermissionsBoundaryCommandInput = PutRolePermissionsBoundaryRequest; @@ -68,14 +68,14 @@ export class PutRolePermissionsBoundaryCommand extends $Command< private serialize( input: PutRolePermissionsBoundaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutRolePermissionsBoundaryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutRolePermissionsBoundaryCommand( output, diff --git a/clients/client-iam/commands/PutRolePolicyCommand.ts b/clients/client-iam/commands/PutRolePolicyCommand.ts index 5abf15f3073c..2ada924372d1 100644 --- a/clients/client-iam/commands/PutRolePolicyCommand.ts +++ b/clients/client-iam/commands/PutRolePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRolePolicyCommandInput = PutRolePolicyRequest; @@ -65,14 +65,14 @@ export class PutRolePolicyCommand extends $Command< private serialize( input: PutRolePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutRolePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutRolePolicyCommand(output, context); } diff --git a/clients/client-iam/commands/PutUserPermissionsBoundaryCommand.ts b/clients/client-iam/commands/PutUserPermissionsBoundaryCommand.ts index 331771721f6a..934969e325a4 100644 --- a/clients/client-iam/commands/PutUserPermissionsBoundaryCommand.ts +++ b/clients/client-iam/commands/PutUserPermissionsBoundaryCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutUserPermissionsBoundaryCommandInput = PutUserPermissionsBoundaryRequest; @@ -68,14 +68,14 @@ export class PutUserPermissionsBoundaryCommand extends $Command< private serialize( input: PutUserPermissionsBoundaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutUserPermissionsBoundaryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutUserPermissionsBoundaryCommand( output, diff --git a/clients/client-iam/commands/PutUserPolicyCommand.ts b/clients/client-iam/commands/PutUserPolicyCommand.ts index 1f17d147ffa4..e753daf52800 100644 --- a/clients/client-iam/commands/PutUserPolicyCommand.ts +++ b/clients/client-iam/commands/PutUserPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutUserPolicyCommandInput = PutUserPolicyRequest; @@ -65,14 +65,14 @@ export class PutUserPolicyCommand extends $Command< private serialize( input: PutUserPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutUserPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutUserPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/RemoveClientIDFromOpenIDConnectProviderCommand.ts b/clients/client-iam/commands/RemoveClientIDFromOpenIDConnectProviderCommand.ts index 981f04b47d1a..db38757862c2 100644 --- a/clients/client-iam/commands/RemoveClientIDFromOpenIDConnectProviderCommand.ts +++ b/clients/client-iam/commands/RemoveClientIDFromOpenIDConnectProviderCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveClientIDFromOpenIDConnectProviderCommandInput = RemoveClientIDFromOpenIDConnectProviderRequest; @@ -70,7 +70,7 @@ export class RemoveClientIDFromOpenIDConnectProviderCommand extends $Command< private serialize( input: RemoveClientIDFromOpenIDConnectProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveClientIDFromOpenIDConnectProviderCommand( input, @@ -80,7 +80,7 @@ export class RemoveClientIDFromOpenIDConnectProviderCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveClientIDFromOpenIDConnectProviderCommand( output, diff --git a/clients/client-iam/commands/RemoveRoleFromInstanceProfileCommand.ts b/clients/client-iam/commands/RemoveRoleFromInstanceProfileCommand.ts index e0ef99bf3dad..0d3d6662a916 100644 --- a/clients/client-iam/commands/RemoveRoleFromInstanceProfileCommand.ts +++ b/clients/client-iam/commands/RemoveRoleFromInstanceProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveRoleFromInstanceProfileCommandInput = RemoveRoleFromInstanceProfileRequest; @@ -68,7 +68,7 @@ export class RemoveRoleFromInstanceProfileCommand extends $Command< private serialize( input: RemoveRoleFromInstanceProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveRoleFromInstanceProfileCommand( input, @@ -78,7 +78,7 @@ export class RemoveRoleFromInstanceProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveRoleFromInstanceProfileCommand( output, diff --git a/clients/client-iam/commands/RemoveUserFromGroupCommand.ts b/clients/client-iam/commands/RemoveUserFromGroupCommand.ts index aad3eaeb8e89..e9026ccd43c8 100644 --- a/clients/client-iam/commands/RemoveUserFromGroupCommand.ts +++ b/clients/client-iam/commands/RemoveUserFromGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveUserFromGroupCommandInput = RemoveUserFromGroupRequest; @@ -68,14 +68,14 @@ export class RemoveUserFromGroupCommand extends $Command< private serialize( input: RemoveUserFromGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveUserFromGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveUserFromGroupCommand(output, context); } diff --git a/clients/client-iam/commands/ResetServiceSpecificCredentialCommand.ts b/clients/client-iam/commands/ResetServiceSpecificCredentialCommand.ts index 43a04e85ccd9..26ec40e61d26 100644 --- a/clients/client-iam/commands/ResetServiceSpecificCredentialCommand.ts +++ b/clients/client-iam/commands/ResetServiceSpecificCredentialCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetServiceSpecificCredentialCommandInput = ResetServiceSpecificCredentialRequest; @@ -70,7 +70,7 @@ export class ResetServiceSpecificCredentialCommand extends $Command< private serialize( input: ResetServiceSpecificCredentialCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryResetServiceSpecificCredentialCommand( input, @@ -80,7 +80,7 @@ export class ResetServiceSpecificCredentialCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryResetServiceSpecificCredentialCommand( output, diff --git a/clients/client-iam/commands/ResyncMFADeviceCommand.ts b/clients/client-iam/commands/ResyncMFADeviceCommand.ts index 359b5678a0f5..133811e6be7d 100644 --- a/clients/client-iam/commands/ResyncMFADeviceCommand.ts +++ b/clients/client-iam/commands/ResyncMFADeviceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResyncMFADeviceCommandInput = ResyncMFADeviceRequest; @@ -65,14 +65,14 @@ export class ResyncMFADeviceCommand extends $Command< private serialize( input: ResyncMFADeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryResyncMFADeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryResyncMFADeviceCommand(output, context); } diff --git a/clients/client-iam/commands/SetDefaultPolicyVersionCommand.ts b/clients/client-iam/commands/SetDefaultPolicyVersionCommand.ts index 14c29a146605..0fc753a56b6a 100644 --- a/clients/client-iam/commands/SetDefaultPolicyVersionCommand.ts +++ b/clients/client-iam/commands/SetDefaultPolicyVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetDefaultPolicyVersionCommandInput = SetDefaultPolicyVersionRequest; @@ -68,14 +68,14 @@ export class SetDefaultPolicyVersionCommand extends $Command< private serialize( input: SetDefaultPolicyVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetDefaultPolicyVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetDefaultPolicyVersionCommand(output, context); } diff --git a/clients/client-iam/commands/SetSecurityTokenServicePreferencesCommand.ts b/clients/client-iam/commands/SetSecurityTokenServicePreferencesCommand.ts index a5af12a1ff42..27b9d4dfd166 100644 --- a/clients/client-iam/commands/SetSecurityTokenServicePreferencesCommand.ts +++ b/clients/client-iam/commands/SetSecurityTokenServicePreferencesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetSecurityTokenServicePreferencesCommandInput = SetSecurityTokenServicePreferencesRequest; @@ -68,7 +68,7 @@ export class SetSecurityTokenServicePreferencesCommand extends $Command< private serialize( input: SetSecurityTokenServicePreferencesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetSecurityTokenServicePreferencesCommand( input, @@ -78,7 +78,7 @@ export class SetSecurityTokenServicePreferencesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetSecurityTokenServicePreferencesCommand( output, diff --git a/clients/client-iam/commands/SimulateCustomPolicyCommand.ts b/clients/client-iam/commands/SimulateCustomPolicyCommand.ts index 86b0c2ece4f5..317a59f8e88d 100644 --- a/clients/client-iam/commands/SimulateCustomPolicyCommand.ts +++ b/clients/client-iam/commands/SimulateCustomPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SimulateCustomPolicyCommandInput = SimulateCustomPolicyRequest; @@ -70,14 +70,14 @@ export class SimulateCustomPolicyCommand extends $Command< private serialize( input: SimulateCustomPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySimulateCustomPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySimulateCustomPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/SimulatePrincipalPolicyCommand.ts b/clients/client-iam/commands/SimulatePrincipalPolicyCommand.ts index c380b2048239..35f5b677949c 100644 --- a/clients/client-iam/commands/SimulatePrincipalPolicyCommand.ts +++ b/clients/client-iam/commands/SimulatePrincipalPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SimulatePrincipalPolicyCommandInput = SimulatePrincipalPolicyRequest; @@ -70,14 +70,14 @@ export class SimulatePrincipalPolicyCommand extends $Command< private serialize( input: SimulatePrincipalPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySimulatePrincipalPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySimulatePrincipalPolicyCommand(output, context); } diff --git a/clients/client-iam/commands/TagRoleCommand.ts b/clients/client-iam/commands/TagRoleCommand.ts index c0004b3527a3..47db515646e7 100644 --- a/clients/client-iam/commands/TagRoleCommand.ts +++ b/clients/client-iam/commands/TagRoleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagRoleCommandInput = TagRoleRequest; @@ -65,14 +65,14 @@ export class TagRoleCommand extends $Command< private serialize( input: TagRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryTagRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryTagRoleCommand(output, context); } diff --git a/clients/client-iam/commands/TagUserCommand.ts b/clients/client-iam/commands/TagUserCommand.ts index 5b84a6dabc21..086d76d8faaa 100644 --- a/clients/client-iam/commands/TagUserCommand.ts +++ b/clients/client-iam/commands/TagUserCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagUserCommandInput = TagUserRequest; @@ -65,14 +65,14 @@ export class TagUserCommand extends $Command< private serialize( input: TagUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryTagUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryTagUserCommand(output, context); } diff --git a/clients/client-iam/commands/UntagRoleCommand.ts b/clients/client-iam/commands/UntagRoleCommand.ts index e942bb2ec1ed..79291e9a26ac 100644 --- a/clients/client-iam/commands/UntagRoleCommand.ts +++ b/clients/client-iam/commands/UntagRoleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagRoleCommandInput = UntagRoleRequest; @@ -65,14 +65,14 @@ export class UntagRoleCommand extends $Command< private serialize( input: UntagRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUntagRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUntagRoleCommand(output, context); } diff --git a/clients/client-iam/commands/UntagUserCommand.ts b/clients/client-iam/commands/UntagUserCommand.ts index 48df41827f7f..122fa5dd5d4b 100644 --- a/clients/client-iam/commands/UntagUserCommand.ts +++ b/clients/client-iam/commands/UntagUserCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagUserCommandInput = UntagUserRequest; @@ -65,14 +65,14 @@ export class UntagUserCommand extends $Command< private serialize( input: UntagUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUntagUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUntagUserCommand(output, context); } diff --git a/clients/client-iam/commands/UpdateAccessKeyCommand.ts b/clients/client-iam/commands/UpdateAccessKeyCommand.ts index 3172949f4425..942b81a72a65 100644 --- a/clients/client-iam/commands/UpdateAccessKeyCommand.ts +++ b/clients/client-iam/commands/UpdateAccessKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAccessKeyCommandInput = UpdateAccessKeyRequest; @@ -65,14 +65,14 @@ export class UpdateAccessKeyCommand extends $Command< private serialize( input: UpdateAccessKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateAccessKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateAccessKeyCommand(output, context); } diff --git a/clients/client-iam/commands/UpdateAccountPasswordPolicyCommand.ts b/clients/client-iam/commands/UpdateAccountPasswordPolicyCommand.ts index ac083d7cf21b..e8c90a6a2493 100644 --- a/clients/client-iam/commands/UpdateAccountPasswordPolicyCommand.ts +++ b/clients/client-iam/commands/UpdateAccountPasswordPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAccountPasswordPolicyCommandInput = UpdateAccountPasswordPolicyRequest; @@ -68,14 +68,14 @@ export class UpdateAccountPasswordPolicyCommand extends $Command< private serialize( input: UpdateAccountPasswordPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateAccountPasswordPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateAccountPasswordPolicyCommand( output, diff --git a/clients/client-iam/commands/UpdateAssumeRolePolicyCommand.ts b/clients/client-iam/commands/UpdateAssumeRolePolicyCommand.ts index b8c4441ad85f..e6a312a33748 100644 --- a/clients/client-iam/commands/UpdateAssumeRolePolicyCommand.ts +++ b/clients/client-iam/commands/UpdateAssumeRolePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAssumeRolePolicyCommandInput = UpdateAssumeRolePolicyRequest; @@ -68,14 +68,14 @@ export class UpdateAssumeRolePolicyCommand extends $Command< private serialize( input: UpdateAssumeRolePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateAssumeRolePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateAssumeRolePolicyCommand(output, context); } diff --git a/clients/client-iam/commands/UpdateGroupCommand.ts b/clients/client-iam/commands/UpdateGroupCommand.ts index c150ee3843ca..2f68e21069be 100644 --- a/clients/client-iam/commands/UpdateGroupCommand.ts +++ b/clients/client-iam/commands/UpdateGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGroupCommandInput = UpdateGroupRequest; @@ -65,14 +65,14 @@ export class UpdateGroupCommand extends $Command< private serialize( input: UpdateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateGroupCommand(output, context); } diff --git a/clients/client-iam/commands/UpdateLoginProfileCommand.ts b/clients/client-iam/commands/UpdateLoginProfileCommand.ts index 83d26eb96c38..04828746120a 100644 --- a/clients/client-iam/commands/UpdateLoginProfileCommand.ts +++ b/clients/client-iam/commands/UpdateLoginProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLoginProfileCommandInput = UpdateLoginProfileRequest; @@ -65,14 +65,14 @@ export class UpdateLoginProfileCommand extends $Command< private serialize( input: UpdateLoginProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateLoginProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateLoginProfileCommand(output, context); } diff --git a/clients/client-iam/commands/UpdateOpenIDConnectProviderThumbprintCommand.ts b/clients/client-iam/commands/UpdateOpenIDConnectProviderThumbprintCommand.ts index 81472e8f9532..795dedcfbc46 100644 --- a/clients/client-iam/commands/UpdateOpenIDConnectProviderThumbprintCommand.ts +++ b/clients/client-iam/commands/UpdateOpenIDConnectProviderThumbprintCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateOpenIDConnectProviderThumbprintCommandInput = UpdateOpenIDConnectProviderThumbprintRequest; @@ -70,7 +70,7 @@ export class UpdateOpenIDConnectProviderThumbprintCommand extends $Command< private serialize( input: UpdateOpenIDConnectProviderThumbprintCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateOpenIDConnectProviderThumbprintCommand( input, @@ -80,7 +80,7 @@ export class UpdateOpenIDConnectProviderThumbprintCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateOpenIDConnectProviderThumbprintCommand( output, diff --git a/clients/client-iam/commands/UpdateRoleCommand.ts b/clients/client-iam/commands/UpdateRoleCommand.ts index ac496d7ac5c7..79af6ed6ea17 100644 --- a/clients/client-iam/commands/UpdateRoleCommand.ts +++ b/clients/client-iam/commands/UpdateRoleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRoleCommandInput = UpdateRoleRequest; @@ -64,14 +64,14 @@ export class UpdateRoleCommand extends $Command< private serialize( input: UpdateRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateRoleCommand(output, context); } diff --git a/clients/client-iam/commands/UpdateRoleDescriptionCommand.ts b/clients/client-iam/commands/UpdateRoleDescriptionCommand.ts index b6dbfa0779de..9d79314a0a8c 100644 --- a/clients/client-iam/commands/UpdateRoleDescriptionCommand.ts +++ b/clients/client-iam/commands/UpdateRoleDescriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRoleDescriptionCommandInput = UpdateRoleDescriptionRequest; @@ -70,14 +70,14 @@ export class UpdateRoleDescriptionCommand extends $Command< private serialize( input: UpdateRoleDescriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateRoleDescriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateRoleDescriptionCommand(output, context); } diff --git a/clients/client-iam/commands/UpdateSAMLProviderCommand.ts b/clients/client-iam/commands/UpdateSAMLProviderCommand.ts index 07be525021da..931eebe009e3 100644 --- a/clients/client-iam/commands/UpdateSAMLProviderCommand.ts +++ b/clients/client-iam/commands/UpdateSAMLProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSAMLProviderCommandInput = UpdateSAMLProviderRequest; @@ -67,14 +67,14 @@ export class UpdateSAMLProviderCommand extends $Command< private serialize( input: UpdateSAMLProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateSAMLProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateSAMLProviderCommand(output, context); } diff --git a/clients/client-iam/commands/UpdateSSHPublicKeyCommand.ts b/clients/client-iam/commands/UpdateSSHPublicKeyCommand.ts index 39939f1e9d6f..a92f2a9bb9b1 100644 --- a/clients/client-iam/commands/UpdateSSHPublicKeyCommand.ts +++ b/clients/client-iam/commands/UpdateSSHPublicKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSSHPublicKeyCommandInput = UpdateSSHPublicKeyRequest; @@ -65,14 +65,14 @@ export class UpdateSSHPublicKeyCommand extends $Command< private serialize( input: UpdateSSHPublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateSSHPublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateSSHPublicKeyCommand(output, context); } diff --git a/clients/client-iam/commands/UpdateServerCertificateCommand.ts b/clients/client-iam/commands/UpdateServerCertificateCommand.ts index 658ab23fe04c..d452e852a709 100644 --- a/clients/client-iam/commands/UpdateServerCertificateCommand.ts +++ b/clients/client-iam/commands/UpdateServerCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServerCertificateCommandInput = UpdateServerCertificateRequest; @@ -68,14 +68,14 @@ export class UpdateServerCertificateCommand extends $Command< private serialize( input: UpdateServerCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateServerCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateServerCertificateCommand(output, context); } diff --git a/clients/client-iam/commands/UpdateServiceSpecificCredentialCommand.ts b/clients/client-iam/commands/UpdateServiceSpecificCredentialCommand.ts index e2a62d46a7af..553c862bd6fd 100644 --- a/clients/client-iam/commands/UpdateServiceSpecificCredentialCommand.ts +++ b/clients/client-iam/commands/UpdateServiceSpecificCredentialCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServiceSpecificCredentialCommandInput = UpdateServiceSpecificCredentialRequest; @@ -68,7 +68,7 @@ export class UpdateServiceSpecificCredentialCommand extends $Command< private serialize( input: UpdateServiceSpecificCredentialCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateServiceSpecificCredentialCommand( input, @@ -78,7 +78,7 @@ export class UpdateServiceSpecificCredentialCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateServiceSpecificCredentialCommand( output, diff --git a/clients/client-iam/commands/UpdateSigningCertificateCommand.ts b/clients/client-iam/commands/UpdateSigningCertificateCommand.ts index 80de36989c03..0968b05712c8 100644 --- a/clients/client-iam/commands/UpdateSigningCertificateCommand.ts +++ b/clients/client-iam/commands/UpdateSigningCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSigningCertificateCommandInput = UpdateSigningCertificateRequest; @@ -68,14 +68,14 @@ export class UpdateSigningCertificateCommand extends $Command< private serialize( input: UpdateSigningCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateSigningCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateSigningCertificateCommand(output, context); } diff --git a/clients/client-iam/commands/UpdateUserCommand.ts b/clients/client-iam/commands/UpdateUserCommand.ts index dde3e2215406..25290d785562 100644 --- a/clients/client-iam/commands/UpdateUserCommand.ts +++ b/clients/client-iam/commands/UpdateUserCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserCommandInput = UpdateUserRequest; @@ -65,14 +65,14 @@ export class UpdateUserCommand extends $Command< private serialize( input: UpdateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateUserCommand(output, context); } diff --git a/clients/client-iam/commands/UploadSSHPublicKeyCommand.ts b/clients/client-iam/commands/UploadSSHPublicKeyCommand.ts index 422017b4960b..5c15f3823533 100644 --- a/clients/client-iam/commands/UploadSSHPublicKeyCommand.ts +++ b/clients/client-iam/commands/UploadSSHPublicKeyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UploadSSHPublicKeyCommandInput = UploadSSHPublicKeyRequest; @@ -67,14 +67,14 @@ export class UploadSSHPublicKeyCommand extends $Command< private serialize( input: UploadSSHPublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUploadSSHPublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUploadSSHPublicKeyCommand(output, context); } diff --git a/clients/client-iam/commands/UploadServerCertificateCommand.ts b/clients/client-iam/commands/UploadServerCertificateCommand.ts index 6b397ceb6044..350d2d23e133 100644 --- a/clients/client-iam/commands/UploadServerCertificateCommand.ts +++ b/clients/client-iam/commands/UploadServerCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UploadServerCertificateCommandInput = UploadServerCertificateRequest; @@ -70,14 +70,14 @@ export class UploadServerCertificateCommand extends $Command< private serialize( input: UploadServerCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUploadServerCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUploadServerCertificateCommand(output, context); } diff --git a/clients/client-iam/commands/UploadSigningCertificateCommand.ts b/clients/client-iam/commands/UploadSigningCertificateCommand.ts index ac16ee64a2b7..cfc262ce7e1d 100644 --- a/clients/client-iam/commands/UploadSigningCertificateCommand.ts +++ b/clients/client-iam/commands/UploadSigningCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UploadSigningCertificateCommandInput = UploadSigningCertificateRequest; @@ -70,14 +70,14 @@ export class UploadSigningCertificateCommand extends $Command< private serialize( input: UploadSigningCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUploadSigningCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUploadSigningCertificateCommand(output, context); } diff --git a/clients/client-iam/protocols/Aws_query.ts b/clients/client-iam/protocols/Aws_query.ts index 94d7b259c4f6..38b72299cf31 100644 --- a/clients/client-iam/protocols/Aws_query.ts +++ b/clients/client-iam/protocols/Aws_query.ts @@ -20641,6 +20641,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-imagebuilder/commands/CancelImageCreationCommand.ts b/clients/client-imagebuilder/commands/CancelImageCreationCommand.ts index 1a42e58e1def..5d1a21b54727 100644 --- a/clients/client-imagebuilder/commands/CancelImageCreationCommand.ts +++ b/clients/client-imagebuilder/commands/CancelImageCreationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelImageCreationCommandInput = CancelImageCreationRequest; @@ -70,14 +70,14 @@ export class CancelImageCreationCommand extends $Command< private serialize( input: CancelImageCreationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelImageCreationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelImageCreationCommand( output, diff --git a/clients/client-imagebuilder/commands/CreateComponentCommand.ts b/clients/client-imagebuilder/commands/CreateComponentCommand.ts index cc381b4aac27..97563b140711 100644 --- a/clients/client-imagebuilder/commands/CreateComponentCommand.ts +++ b/clients/client-imagebuilder/commands/CreateComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateComponentCommandInput = CreateComponentRequest; @@ -67,14 +67,14 @@ export class CreateComponentCommand extends $Command< private serialize( input: CreateComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateComponentCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/CreateDistributionConfigurationCommand.ts b/clients/client-imagebuilder/commands/CreateDistributionConfigurationCommand.ts index 4ebdb2e3d072..cd4c3801946d 100644 --- a/clients/client-imagebuilder/commands/CreateDistributionConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/CreateDistributionConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDistributionConfigurationCommandInput = CreateDistributionConfigurationRequest; @@ -70,7 +70,7 @@ export class CreateDistributionConfigurationCommand extends $Command< private serialize( input: CreateDistributionConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDistributionConfigurationCommand( input, @@ -80,7 +80,7 @@ export class CreateDistributionConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDistributionConfigurationCommand( output, diff --git a/clients/client-imagebuilder/commands/CreateImageCommand.ts b/clients/client-imagebuilder/commands/CreateImageCommand.ts index 554df7d532df..7dff1459833a 100644 --- a/clients/client-imagebuilder/commands/CreateImageCommand.ts +++ b/clients/client-imagebuilder/commands/CreateImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateImageCommandInput = CreateImageRequest; @@ -64,14 +64,14 @@ export class CreateImageCommand extends $Command< private serialize( input: CreateImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateImageCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/CreateImagePipelineCommand.ts b/clients/client-imagebuilder/commands/CreateImagePipelineCommand.ts index f202e662dffc..8a257a49323b 100644 --- a/clients/client-imagebuilder/commands/CreateImagePipelineCommand.ts +++ b/clients/client-imagebuilder/commands/CreateImagePipelineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateImagePipelineCommandInput = CreateImagePipelineRequest; @@ -70,14 +70,14 @@ export class CreateImagePipelineCommand extends $Command< private serialize( input: CreateImagePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateImagePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateImagePipelineCommand( output, diff --git a/clients/client-imagebuilder/commands/CreateImageRecipeCommand.ts b/clients/client-imagebuilder/commands/CreateImageRecipeCommand.ts index e6afabb611bb..34b82865b82c 100644 --- a/clients/client-imagebuilder/commands/CreateImageRecipeCommand.ts +++ b/clients/client-imagebuilder/commands/CreateImageRecipeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateImageRecipeCommandInput = CreateImageRecipeRequest; @@ -67,14 +67,14 @@ export class CreateImageRecipeCommand extends $Command< private serialize( input: CreateImageRecipeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateImageRecipeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateImageRecipeCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/CreateInfrastructureConfigurationCommand.ts b/clients/client-imagebuilder/commands/CreateInfrastructureConfigurationCommand.ts index 2a52333f297d..606771b37bc7 100644 --- a/clients/client-imagebuilder/commands/CreateInfrastructureConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/CreateInfrastructureConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInfrastructureConfigurationCommandInput = CreateInfrastructureConfigurationRequest; @@ -70,7 +70,7 @@ export class CreateInfrastructureConfigurationCommand extends $Command< private serialize( input: CreateInfrastructureConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateInfrastructureConfigurationCommand( input, @@ -80,7 +80,7 @@ export class CreateInfrastructureConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateInfrastructureConfigurationCommand( output, diff --git a/clients/client-imagebuilder/commands/DeleteComponentCommand.ts b/clients/client-imagebuilder/commands/DeleteComponentCommand.ts index f1047f37cb08..308e48f78f11 100644 --- a/clients/client-imagebuilder/commands/DeleteComponentCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteComponentCommandInput = DeleteComponentRequest; @@ -67,14 +67,14 @@ export class DeleteComponentCommand extends $Command< private serialize( input: DeleteComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteComponentCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/DeleteDistributionConfigurationCommand.ts b/clients/client-imagebuilder/commands/DeleteDistributionConfigurationCommand.ts index faa076a1d163..5b81a530cc22 100644 --- a/clients/client-imagebuilder/commands/DeleteDistributionConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteDistributionConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDistributionConfigurationCommandInput = DeleteDistributionConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteDistributionConfigurationCommand extends $Command< private serialize( input: DeleteDistributionConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDistributionConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteDistributionConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDistributionConfigurationCommand( output, diff --git a/clients/client-imagebuilder/commands/DeleteImageCommand.ts b/clients/client-imagebuilder/commands/DeleteImageCommand.ts index 732307ba1713..c5bac8d577a1 100644 --- a/clients/client-imagebuilder/commands/DeleteImageCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteImageCommandInput = DeleteImageRequest; @@ -64,14 +64,14 @@ export class DeleteImageCommand extends $Command< private serialize( input: DeleteImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteImageCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/DeleteImagePipelineCommand.ts b/clients/client-imagebuilder/commands/DeleteImagePipelineCommand.ts index f569cebcb6b4..f7b0fc883371 100644 --- a/clients/client-imagebuilder/commands/DeleteImagePipelineCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteImagePipelineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteImagePipelineCommandInput = DeleteImagePipelineRequest; @@ -70,14 +70,14 @@ export class DeleteImagePipelineCommand extends $Command< private serialize( input: DeleteImagePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteImagePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteImagePipelineCommand( output, diff --git a/clients/client-imagebuilder/commands/DeleteImageRecipeCommand.ts b/clients/client-imagebuilder/commands/DeleteImageRecipeCommand.ts index b4a0cba72337..2159ac986edf 100644 --- a/clients/client-imagebuilder/commands/DeleteImageRecipeCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteImageRecipeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteImageRecipeCommandInput = DeleteImageRecipeRequest; @@ -67,14 +67,14 @@ export class DeleteImageRecipeCommand extends $Command< private serialize( input: DeleteImageRecipeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteImageRecipeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteImageRecipeCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/DeleteInfrastructureConfigurationCommand.ts b/clients/client-imagebuilder/commands/DeleteInfrastructureConfigurationCommand.ts index e207251698c4..1d5daf0098c7 100644 --- a/clients/client-imagebuilder/commands/DeleteInfrastructureConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteInfrastructureConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInfrastructureConfigurationCommandInput = DeleteInfrastructureConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteInfrastructureConfigurationCommand extends $Command< private serialize( input: DeleteInfrastructureConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteInfrastructureConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteInfrastructureConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteInfrastructureConfigurationCommand( output, diff --git a/clients/client-imagebuilder/commands/GetComponentCommand.ts b/clients/client-imagebuilder/commands/GetComponentCommand.ts index 8ce4969fbbd7..ccbca31a142d 100644 --- a/clients/client-imagebuilder/commands/GetComponentCommand.ts +++ b/clients/client-imagebuilder/commands/GetComponentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetComponentCommandInput = GetComponentRequest; @@ -64,14 +64,14 @@ export class GetComponentCommand extends $Command< private serialize( input: GetComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetComponentCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/GetComponentPolicyCommand.ts b/clients/client-imagebuilder/commands/GetComponentPolicyCommand.ts index 8b7d44ce2c08..5fd396b4f69f 100644 --- a/clients/client-imagebuilder/commands/GetComponentPolicyCommand.ts +++ b/clients/client-imagebuilder/commands/GetComponentPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetComponentPolicyCommandInput = GetComponentPolicyRequest; @@ -67,14 +67,14 @@ export class GetComponentPolicyCommand extends $Command< private serialize( input: GetComponentPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetComponentPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetComponentPolicyCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/GetDistributionConfigurationCommand.ts b/clients/client-imagebuilder/commands/GetDistributionConfigurationCommand.ts index c7618111c98d..c0cb814e6416 100644 --- a/clients/client-imagebuilder/commands/GetDistributionConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/GetDistributionConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDistributionConfigurationCommandInput = GetDistributionConfigurationRequest; @@ -70,7 +70,7 @@ export class GetDistributionConfigurationCommand extends $Command< private serialize( input: GetDistributionConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDistributionConfigurationCommand( input, @@ -80,7 +80,7 @@ export class GetDistributionConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDistributionConfigurationCommand( output, diff --git a/clients/client-imagebuilder/commands/GetImageCommand.ts b/clients/client-imagebuilder/commands/GetImageCommand.ts index 81826da428c8..fe3767d23a3d 100644 --- a/clients/client-imagebuilder/commands/GetImageCommand.ts +++ b/clients/client-imagebuilder/commands/GetImageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetImageCommandInput = GetImageRequest; @@ -64,14 +64,14 @@ export class GetImageCommand extends $Command< private serialize( input: GetImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetImageCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/GetImagePipelineCommand.ts b/clients/client-imagebuilder/commands/GetImagePipelineCommand.ts index 31b2530ac1c6..eedc432db0ef 100644 --- a/clients/client-imagebuilder/commands/GetImagePipelineCommand.ts +++ b/clients/client-imagebuilder/commands/GetImagePipelineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetImagePipelineCommandInput = GetImagePipelineRequest; @@ -67,14 +67,14 @@ export class GetImagePipelineCommand extends $Command< private serialize( input: GetImagePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetImagePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetImagePipelineCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/GetImagePolicyCommand.ts b/clients/client-imagebuilder/commands/GetImagePolicyCommand.ts index 7adb80b28617..8a1281c46ce8 100644 --- a/clients/client-imagebuilder/commands/GetImagePolicyCommand.ts +++ b/clients/client-imagebuilder/commands/GetImagePolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetImagePolicyCommandInput = GetImagePolicyRequest; @@ -64,14 +64,14 @@ export class GetImagePolicyCommand extends $Command< private serialize( input: GetImagePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetImagePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetImagePolicyCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/GetImageRecipeCommand.ts b/clients/client-imagebuilder/commands/GetImageRecipeCommand.ts index 99f6e15a9255..50ac31165f86 100644 --- a/clients/client-imagebuilder/commands/GetImageRecipeCommand.ts +++ b/clients/client-imagebuilder/commands/GetImageRecipeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetImageRecipeCommandInput = GetImageRecipeRequest; @@ -64,14 +64,14 @@ export class GetImageRecipeCommand extends $Command< private serialize( input: GetImageRecipeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetImageRecipeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetImageRecipeCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/GetImageRecipePolicyCommand.ts b/clients/client-imagebuilder/commands/GetImageRecipePolicyCommand.ts index ac1199b81b48..2c246d4eb7c2 100644 --- a/clients/client-imagebuilder/commands/GetImageRecipePolicyCommand.ts +++ b/clients/client-imagebuilder/commands/GetImageRecipePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetImageRecipePolicyCommandInput = GetImageRecipePolicyRequest; @@ -70,14 +70,14 @@ export class GetImageRecipePolicyCommand extends $Command< private serialize( input: GetImageRecipePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetImageRecipePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetImageRecipePolicyCommand( output, diff --git a/clients/client-imagebuilder/commands/GetInfrastructureConfigurationCommand.ts b/clients/client-imagebuilder/commands/GetInfrastructureConfigurationCommand.ts index 587b5a46153f..627486427964 100644 --- a/clients/client-imagebuilder/commands/GetInfrastructureConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/GetInfrastructureConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInfrastructureConfigurationCommandInput = GetInfrastructureConfigurationRequest; @@ -70,7 +70,7 @@ export class GetInfrastructureConfigurationCommand extends $Command< private serialize( input: GetInfrastructureConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetInfrastructureConfigurationCommand( input, @@ -80,7 +80,7 @@ export class GetInfrastructureConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetInfrastructureConfigurationCommand( output, diff --git a/clients/client-imagebuilder/commands/ImportComponentCommand.ts b/clients/client-imagebuilder/commands/ImportComponentCommand.ts index 2052e8a955a2..90b75b22710f 100644 --- a/clients/client-imagebuilder/commands/ImportComponentCommand.ts +++ b/clients/client-imagebuilder/commands/ImportComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportComponentCommandInput = ImportComponentRequest; @@ -67,14 +67,14 @@ export class ImportComponentCommand extends $Command< private serialize( input: ImportComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ImportComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ImportComponentCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/ListComponentBuildVersionsCommand.ts b/clients/client-imagebuilder/commands/ListComponentBuildVersionsCommand.ts index 4e1ae7e36e54..5d52caf72b60 100644 --- a/clients/client-imagebuilder/commands/ListComponentBuildVersionsCommand.ts +++ b/clients/client-imagebuilder/commands/ListComponentBuildVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListComponentBuildVersionsCommandInput = ListComponentBuildVersionsRequest; @@ -70,7 +70,7 @@ export class ListComponentBuildVersionsCommand extends $Command< private serialize( input: ListComponentBuildVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListComponentBuildVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListComponentBuildVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListComponentBuildVersionsCommand( output, diff --git a/clients/client-imagebuilder/commands/ListComponentsCommand.ts b/clients/client-imagebuilder/commands/ListComponentsCommand.ts index a32ec09eb73a..76bf1a17d2e3 100644 --- a/clients/client-imagebuilder/commands/ListComponentsCommand.ts +++ b/clients/client-imagebuilder/commands/ListComponentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListComponentsCommandInput = ListComponentsRequest; @@ -64,14 +64,14 @@ export class ListComponentsCommand extends $Command< private serialize( input: ListComponentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListComponentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListComponentsCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/ListDistributionConfigurationsCommand.ts b/clients/client-imagebuilder/commands/ListDistributionConfigurationsCommand.ts index bf3871a77b24..0f6fe3a35874 100644 --- a/clients/client-imagebuilder/commands/ListDistributionConfigurationsCommand.ts +++ b/clients/client-imagebuilder/commands/ListDistributionConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDistributionConfigurationsCommandInput = ListDistributionConfigurationsRequest; @@ -70,7 +70,7 @@ export class ListDistributionConfigurationsCommand extends $Command< private serialize( input: ListDistributionConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDistributionConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class ListDistributionConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDistributionConfigurationsCommand( output, diff --git a/clients/client-imagebuilder/commands/ListImageBuildVersionsCommand.ts b/clients/client-imagebuilder/commands/ListImageBuildVersionsCommand.ts index a4abc3179f59..d76e096bdba3 100644 --- a/clients/client-imagebuilder/commands/ListImageBuildVersionsCommand.ts +++ b/clients/client-imagebuilder/commands/ListImageBuildVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListImageBuildVersionsCommandInput = ListImageBuildVersionsRequest; @@ -70,7 +70,7 @@ export class ListImageBuildVersionsCommand extends $Command< private serialize( input: ListImageBuildVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListImageBuildVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListImageBuildVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListImageBuildVersionsCommand( output, diff --git a/clients/client-imagebuilder/commands/ListImagePipelineImagesCommand.ts b/clients/client-imagebuilder/commands/ListImagePipelineImagesCommand.ts index 6df5ccba5203..eaf91a36c586 100644 --- a/clients/client-imagebuilder/commands/ListImagePipelineImagesCommand.ts +++ b/clients/client-imagebuilder/commands/ListImagePipelineImagesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListImagePipelineImagesCommandInput = ListImagePipelineImagesRequest; @@ -70,7 +70,7 @@ export class ListImagePipelineImagesCommand extends $Command< private serialize( input: ListImagePipelineImagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListImagePipelineImagesCommand( input, @@ -80,7 +80,7 @@ export class ListImagePipelineImagesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListImagePipelineImagesCommand( output, diff --git a/clients/client-imagebuilder/commands/ListImagePipelinesCommand.ts b/clients/client-imagebuilder/commands/ListImagePipelinesCommand.ts index 047c2510a03c..64d5c355fd16 100644 --- a/clients/client-imagebuilder/commands/ListImagePipelinesCommand.ts +++ b/clients/client-imagebuilder/commands/ListImagePipelinesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListImagePipelinesCommandInput = ListImagePipelinesRequest; @@ -67,14 +67,14 @@ export class ListImagePipelinesCommand extends $Command< private serialize( input: ListImagePipelinesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListImagePipelinesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListImagePipelinesCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/ListImageRecipesCommand.ts b/clients/client-imagebuilder/commands/ListImageRecipesCommand.ts index ad5a6dbdfcde..ae8c89ae6fcc 100644 --- a/clients/client-imagebuilder/commands/ListImageRecipesCommand.ts +++ b/clients/client-imagebuilder/commands/ListImageRecipesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListImageRecipesCommandInput = ListImageRecipesRequest; @@ -67,14 +67,14 @@ export class ListImageRecipesCommand extends $Command< private serialize( input: ListImageRecipesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListImageRecipesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListImageRecipesCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/ListImagesCommand.ts b/clients/client-imagebuilder/commands/ListImagesCommand.ts index b8cbe1a8b5ec..1bbb4bffc303 100644 --- a/clients/client-imagebuilder/commands/ListImagesCommand.ts +++ b/clients/client-imagebuilder/commands/ListImagesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListImagesCommandInput = ListImagesRequest; @@ -64,14 +64,14 @@ export class ListImagesCommand extends $Command< private serialize( input: ListImagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListImagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListImagesCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/ListInfrastructureConfigurationsCommand.ts b/clients/client-imagebuilder/commands/ListInfrastructureConfigurationsCommand.ts index 686fdd287446..db0e3862cdf4 100644 --- a/clients/client-imagebuilder/commands/ListInfrastructureConfigurationsCommand.ts +++ b/clients/client-imagebuilder/commands/ListInfrastructureConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInfrastructureConfigurationsCommandInput = ListInfrastructureConfigurationsRequest; @@ -70,7 +70,7 @@ export class ListInfrastructureConfigurationsCommand extends $Command< private serialize( input: ListInfrastructureConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListInfrastructureConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class ListInfrastructureConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListInfrastructureConfigurationsCommand( output, diff --git a/clients/client-imagebuilder/commands/ListTagsForResourceCommand.ts b/clients/client-imagebuilder/commands/ListTagsForResourceCommand.ts index 99dc05c524c5..79f43000be9f 100644 --- a/clients/client-imagebuilder/commands/ListTagsForResourceCommand.ts +++ b/clients/client-imagebuilder/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-imagebuilder/commands/PutComponentPolicyCommand.ts b/clients/client-imagebuilder/commands/PutComponentPolicyCommand.ts index 336e8670cc9f..9167a5cc81fd 100644 --- a/clients/client-imagebuilder/commands/PutComponentPolicyCommand.ts +++ b/clients/client-imagebuilder/commands/PutComponentPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutComponentPolicyCommandInput = PutComponentPolicyRequest; @@ -67,14 +67,14 @@ export class PutComponentPolicyCommand extends $Command< private serialize( input: PutComponentPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutComponentPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutComponentPolicyCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/PutImagePolicyCommand.ts b/clients/client-imagebuilder/commands/PutImagePolicyCommand.ts index f3b082ec1bfd..92863e3a5afd 100644 --- a/clients/client-imagebuilder/commands/PutImagePolicyCommand.ts +++ b/clients/client-imagebuilder/commands/PutImagePolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutImagePolicyCommandInput = PutImagePolicyRequest; @@ -64,14 +64,14 @@ export class PutImagePolicyCommand extends $Command< private serialize( input: PutImagePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutImagePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutImagePolicyCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/PutImageRecipePolicyCommand.ts b/clients/client-imagebuilder/commands/PutImageRecipePolicyCommand.ts index 5f62ac9ea75b..7b62c042c8e8 100644 --- a/clients/client-imagebuilder/commands/PutImageRecipePolicyCommand.ts +++ b/clients/client-imagebuilder/commands/PutImageRecipePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutImageRecipePolicyCommandInput = PutImageRecipePolicyRequest; @@ -70,14 +70,14 @@ export class PutImageRecipePolicyCommand extends $Command< private serialize( input: PutImageRecipePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutImageRecipePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutImageRecipePolicyCommand( output, diff --git a/clients/client-imagebuilder/commands/StartImagePipelineExecutionCommand.ts b/clients/client-imagebuilder/commands/StartImagePipelineExecutionCommand.ts index 5b9a5502bef0..a15d9a1fab33 100644 --- a/clients/client-imagebuilder/commands/StartImagePipelineExecutionCommand.ts +++ b/clients/client-imagebuilder/commands/StartImagePipelineExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartImagePipelineExecutionCommandInput = StartImagePipelineExecutionRequest; @@ -70,7 +70,7 @@ export class StartImagePipelineExecutionCommand extends $Command< private serialize( input: StartImagePipelineExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartImagePipelineExecutionCommand( input, @@ -80,7 +80,7 @@ export class StartImagePipelineExecutionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartImagePipelineExecutionCommand( output, diff --git a/clients/client-imagebuilder/commands/TagResourceCommand.ts b/clients/client-imagebuilder/commands/TagResourceCommand.ts index 28ea6028e8a1..95f4376ddde8 100644 --- a/clients/client-imagebuilder/commands/TagResourceCommand.ts +++ b/clients/client-imagebuilder/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/UntagResourceCommand.ts b/clients/client-imagebuilder/commands/UntagResourceCommand.ts index 4eb34c572580..498266907a0b 100644 --- a/clients/client-imagebuilder/commands/UntagResourceCommand.ts +++ b/clients/client-imagebuilder/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-imagebuilder/commands/UpdateDistributionConfigurationCommand.ts b/clients/client-imagebuilder/commands/UpdateDistributionConfigurationCommand.ts index 2d6f38844665..fb07117d5fec 100644 --- a/clients/client-imagebuilder/commands/UpdateDistributionConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/UpdateDistributionConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDistributionConfigurationCommandInput = UpdateDistributionConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateDistributionConfigurationCommand extends $Command< private serialize( input: UpdateDistributionConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDistributionConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateDistributionConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDistributionConfigurationCommand( output, diff --git a/clients/client-imagebuilder/commands/UpdateImagePipelineCommand.ts b/clients/client-imagebuilder/commands/UpdateImagePipelineCommand.ts index e18a58be0db1..9e74e08a2844 100644 --- a/clients/client-imagebuilder/commands/UpdateImagePipelineCommand.ts +++ b/clients/client-imagebuilder/commands/UpdateImagePipelineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateImagePipelineCommandInput = UpdateImagePipelineRequest; @@ -70,14 +70,14 @@ export class UpdateImagePipelineCommand extends $Command< private serialize( input: UpdateImagePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateImagePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateImagePipelineCommand( output, diff --git a/clients/client-imagebuilder/commands/UpdateInfrastructureConfigurationCommand.ts b/clients/client-imagebuilder/commands/UpdateInfrastructureConfigurationCommand.ts index 1a4ab8e49325..33c8485eafcb 100644 --- a/clients/client-imagebuilder/commands/UpdateInfrastructureConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/UpdateInfrastructureConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateInfrastructureConfigurationCommandInput = UpdateInfrastructureConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateInfrastructureConfigurationCommand extends $Command< private serialize( input: UpdateInfrastructureConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateInfrastructureConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateInfrastructureConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateInfrastructureConfigurationCommand( output, diff --git a/clients/client-imagebuilder/protocols/Aws_restJson1_1.ts b/clients/client-imagebuilder/protocols/Aws_restJson1_1.ts index 648465809d5d..489457adbcc0 100644 --- a/clients/client-imagebuilder/protocols/Aws_restJson1_1.ts +++ b/clients/client-imagebuilder/protocols/Aws_restJson1_1.ts @@ -7931,6 +7931,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-inspector/commands/AddAttributesToFindingsCommand.ts b/clients/client-inspector/commands/AddAttributesToFindingsCommand.ts index 429f7483dce4..3598bd4a66cd 100644 --- a/clients/client-inspector/commands/AddAttributesToFindingsCommand.ts +++ b/clients/client-inspector/commands/AddAttributesToFindingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddAttributesToFindingsCommandInput = AddAttributesToFindingsRequest; @@ -70,14 +70,14 @@ export class AddAttributesToFindingsCommand extends $Command< private serialize( input: AddAttributesToFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddAttributesToFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddAttributesToFindingsCommand( output, diff --git a/clients/client-inspector/commands/CreateAssessmentTargetCommand.ts b/clients/client-inspector/commands/CreateAssessmentTargetCommand.ts index 68be8bac16c0..260dd7b2684f 100644 --- a/clients/client-inspector/commands/CreateAssessmentTargetCommand.ts +++ b/clients/client-inspector/commands/CreateAssessmentTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAssessmentTargetCommandInput = CreateAssessmentTargetRequest; @@ -70,14 +70,14 @@ export class CreateAssessmentTargetCommand extends $Command< private serialize( input: CreateAssessmentTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAssessmentTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAssessmentTargetCommand(output, context); } diff --git a/clients/client-inspector/commands/CreateAssessmentTemplateCommand.ts b/clients/client-inspector/commands/CreateAssessmentTemplateCommand.ts index d3c731f94520..46462291fcdd 100644 --- a/clients/client-inspector/commands/CreateAssessmentTemplateCommand.ts +++ b/clients/client-inspector/commands/CreateAssessmentTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAssessmentTemplateCommandInput = CreateAssessmentTemplateRequest; @@ -70,14 +70,14 @@ export class CreateAssessmentTemplateCommand extends $Command< private serialize( input: CreateAssessmentTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAssessmentTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAssessmentTemplateCommand( output, diff --git a/clients/client-inspector/commands/CreateExclusionsPreviewCommand.ts b/clients/client-inspector/commands/CreateExclusionsPreviewCommand.ts index 7e33c9d1720c..ec83efc42cc6 100644 --- a/clients/client-inspector/commands/CreateExclusionsPreviewCommand.ts +++ b/clients/client-inspector/commands/CreateExclusionsPreviewCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateExclusionsPreviewCommandInput = CreateExclusionsPreviewRequest; @@ -70,14 +70,14 @@ export class CreateExclusionsPreviewCommand extends $Command< private serialize( input: CreateExclusionsPreviewCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateExclusionsPreviewCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateExclusionsPreviewCommand( output, diff --git a/clients/client-inspector/commands/CreateResourceGroupCommand.ts b/clients/client-inspector/commands/CreateResourceGroupCommand.ts index 7c11eb632965..098cf4199bff 100644 --- a/clients/client-inspector/commands/CreateResourceGroupCommand.ts +++ b/clients/client-inspector/commands/CreateResourceGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateResourceGroupCommandInput = CreateResourceGroupRequest; @@ -70,14 +70,14 @@ export class CreateResourceGroupCommand extends $Command< private serialize( input: CreateResourceGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateResourceGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateResourceGroupCommand(output, context); } diff --git a/clients/client-inspector/commands/DeleteAssessmentRunCommand.ts b/clients/client-inspector/commands/DeleteAssessmentRunCommand.ts index d56256bf7cab..1cc764d6e2ae 100644 --- a/clients/client-inspector/commands/DeleteAssessmentRunCommand.ts +++ b/clients/client-inspector/commands/DeleteAssessmentRunCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAssessmentRunCommandInput = DeleteAssessmentRunRequest; @@ -68,14 +68,14 @@ export class DeleteAssessmentRunCommand extends $Command< private serialize( input: DeleteAssessmentRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAssessmentRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAssessmentRunCommand(output, context); } diff --git a/clients/client-inspector/commands/DeleteAssessmentTargetCommand.ts b/clients/client-inspector/commands/DeleteAssessmentTargetCommand.ts index 8d23ee421cd0..9afa566aa40f 100644 --- a/clients/client-inspector/commands/DeleteAssessmentTargetCommand.ts +++ b/clients/client-inspector/commands/DeleteAssessmentTargetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAssessmentTargetCommandInput = DeleteAssessmentTargetRequest; @@ -68,14 +68,14 @@ export class DeleteAssessmentTargetCommand extends $Command< private serialize( input: DeleteAssessmentTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAssessmentTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAssessmentTargetCommand(output, context); } diff --git a/clients/client-inspector/commands/DeleteAssessmentTemplateCommand.ts b/clients/client-inspector/commands/DeleteAssessmentTemplateCommand.ts index 2192a41454cb..f6613f083a2c 100644 --- a/clients/client-inspector/commands/DeleteAssessmentTemplateCommand.ts +++ b/clients/client-inspector/commands/DeleteAssessmentTemplateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAssessmentTemplateCommandInput = DeleteAssessmentTemplateRequest; @@ -68,14 +68,14 @@ export class DeleteAssessmentTemplateCommand extends $Command< private serialize( input: DeleteAssessmentTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAssessmentTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAssessmentTemplateCommand( output, diff --git a/clients/client-inspector/commands/DescribeAssessmentRunsCommand.ts b/clients/client-inspector/commands/DescribeAssessmentRunsCommand.ts index 9683f614807d..ad9c4fe902f3 100644 --- a/clients/client-inspector/commands/DescribeAssessmentRunsCommand.ts +++ b/clients/client-inspector/commands/DescribeAssessmentRunsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAssessmentRunsCommandInput = DescribeAssessmentRunsRequest; @@ -70,14 +70,14 @@ export class DescribeAssessmentRunsCommand extends $Command< private serialize( input: DescribeAssessmentRunsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAssessmentRunsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAssessmentRunsCommand(output, context); } diff --git a/clients/client-inspector/commands/DescribeAssessmentTargetsCommand.ts b/clients/client-inspector/commands/DescribeAssessmentTargetsCommand.ts index fbf6c58a913a..ed12f2f2974f 100644 --- a/clients/client-inspector/commands/DescribeAssessmentTargetsCommand.ts +++ b/clients/client-inspector/commands/DescribeAssessmentTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAssessmentTargetsCommandInput = DescribeAssessmentTargetsRequest; @@ -70,14 +70,14 @@ export class DescribeAssessmentTargetsCommand extends $Command< private serialize( input: DescribeAssessmentTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAssessmentTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAssessmentTargetsCommand( output, diff --git a/clients/client-inspector/commands/DescribeAssessmentTemplatesCommand.ts b/clients/client-inspector/commands/DescribeAssessmentTemplatesCommand.ts index 2ace5cbb09b9..a9033c78ba21 100644 --- a/clients/client-inspector/commands/DescribeAssessmentTemplatesCommand.ts +++ b/clients/client-inspector/commands/DescribeAssessmentTemplatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAssessmentTemplatesCommandInput = DescribeAssessmentTemplatesRequest; @@ -70,7 +70,7 @@ export class DescribeAssessmentTemplatesCommand extends $Command< private serialize( input: DescribeAssessmentTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAssessmentTemplatesCommand( input, @@ -80,7 +80,7 @@ export class DescribeAssessmentTemplatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAssessmentTemplatesCommand( output, diff --git a/clients/client-inspector/commands/DescribeCrossAccountAccessRoleCommand.ts b/clients/client-inspector/commands/DescribeCrossAccountAccessRoleCommand.ts index 5ac952c59c62..15253b06379f 100644 --- a/clients/client-inspector/commands/DescribeCrossAccountAccessRoleCommand.ts +++ b/clients/client-inspector/commands/DescribeCrossAccountAccessRoleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCrossAccountAccessRoleCommandInput = {}; @@ -67,7 +67,7 @@ export class DescribeCrossAccountAccessRoleCommand extends $Command< private serialize( input: DescribeCrossAccountAccessRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCrossAccountAccessRoleCommand( input, @@ -77,7 +77,7 @@ export class DescribeCrossAccountAccessRoleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCrossAccountAccessRoleCommand( output, diff --git a/clients/client-inspector/commands/DescribeExclusionsCommand.ts b/clients/client-inspector/commands/DescribeExclusionsCommand.ts index 3ddb23f66fe1..2ef518604149 100644 --- a/clients/client-inspector/commands/DescribeExclusionsCommand.ts +++ b/clients/client-inspector/commands/DescribeExclusionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeExclusionsCommandInput = DescribeExclusionsRequest; @@ -67,14 +67,14 @@ export class DescribeExclusionsCommand extends $Command< private serialize( input: DescribeExclusionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeExclusionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeExclusionsCommand(output, context); } diff --git a/clients/client-inspector/commands/DescribeFindingsCommand.ts b/clients/client-inspector/commands/DescribeFindingsCommand.ts index 0090920ba335..771116ba5f62 100644 --- a/clients/client-inspector/commands/DescribeFindingsCommand.ts +++ b/clients/client-inspector/commands/DescribeFindingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFindingsCommandInput = DescribeFindingsRequest; @@ -67,14 +67,14 @@ export class DescribeFindingsCommand extends $Command< private serialize( input: DescribeFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeFindingsCommand(output, context); } diff --git a/clients/client-inspector/commands/DescribeResourceGroupsCommand.ts b/clients/client-inspector/commands/DescribeResourceGroupsCommand.ts index 6c0bd363ffed..79226d468484 100644 --- a/clients/client-inspector/commands/DescribeResourceGroupsCommand.ts +++ b/clients/client-inspector/commands/DescribeResourceGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeResourceGroupsCommandInput = DescribeResourceGroupsRequest; @@ -70,14 +70,14 @@ export class DescribeResourceGroupsCommand extends $Command< private serialize( input: DescribeResourceGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeResourceGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeResourceGroupsCommand(output, context); } diff --git a/clients/client-inspector/commands/DescribeRulesPackagesCommand.ts b/clients/client-inspector/commands/DescribeRulesPackagesCommand.ts index 1b78b1d87345..78c2b6cf881f 100644 --- a/clients/client-inspector/commands/DescribeRulesPackagesCommand.ts +++ b/clients/client-inspector/commands/DescribeRulesPackagesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRulesPackagesCommandInput = DescribeRulesPackagesRequest; @@ -70,14 +70,14 @@ export class DescribeRulesPackagesCommand extends $Command< private serialize( input: DescribeRulesPackagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRulesPackagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRulesPackagesCommand(output, context); } diff --git a/clients/client-inspector/commands/GetAssessmentReportCommand.ts b/clients/client-inspector/commands/GetAssessmentReportCommand.ts index 773df2efdefe..c1db979e8d9f 100644 --- a/clients/client-inspector/commands/GetAssessmentReportCommand.ts +++ b/clients/client-inspector/commands/GetAssessmentReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAssessmentReportCommandInput = GetAssessmentReportRequest; @@ -70,14 +70,14 @@ export class GetAssessmentReportCommand extends $Command< private serialize( input: GetAssessmentReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAssessmentReportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAssessmentReportCommand(output, context); } diff --git a/clients/client-inspector/commands/GetExclusionsPreviewCommand.ts b/clients/client-inspector/commands/GetExclusionsPreviewCommand.ts index 6041ff702bc6..7266d8ed91e2 100644 --- a/clients/client-inspector/commands/GetExclusionsPreviewCommand.ts +++ b/clients/client-inspector/commands/GetExclusionsPreviewCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetExclusionsPreviewCommandInput = GetExclusionsPreviewRequest; @@ -70,14 +70,14 @@ export class GetExclusionsPreviewCommand extends $Command< private serialize( input: GetExclusionsPreviewCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetExclusionsPreviewCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetExclusionsPreviewCommand(output, context); } diff --git a/clients/client-inspector/commands/GetTelemetryMetadataCommand.ts b/clients/client-inspector/commands/GetTelemetryMetadataCommand.ts index be3e958e0cb0..8f7910495daa 100644 --- a/clients/client-inspector/commands/GetTelemetryMetadataCommand.ts +++ b/clients/client-inspector/commands/GetTelemetryMetadataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTelemetryMetadataCommandInput = GetTelemetryMetadataRequest; @@ -70,14 +70,14 @@ export class GetTelemetryMetadataCommand extends $Command< private serialize( input: GetTelemetryMetadataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTelemetryMetadataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTelemetryMetadataCommand(output, context); } diff --git a/clients/client-inspector/commands/ListAssessmentRunAgentsCommand.ts b/clients/client-inspector/commands/ListAssessmentRunAgentsCommand.ts index c08ff579c447..4f3575a678cd 100644 --- a/clients/client-inspector/commands/ListAssessmentRunAgentsCommand.ts +++ b/clients/client-inspector/commands/ListAssessmentRunAgentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssessmentRunAgentsCommandInput = ListAssessmentRunAgentsRequest; @@ -70,14 +70,14 @@ export class ListAssessmentRunAgentsCommand extends $Command< private serialize( input: ListAssessmentRunAgentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAssessmentRunAgentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAssessmentRunAgentsCommand( output, diff --git a/clients/client-inspector/commands/ListAssessmentRunsCommand.ts b/clients/client-inspector/commands/ListAssessmentRunsCommand.ts index 211590ca3364..10dafb6f79d1 100644 --- a/clients/client-inspector/commands/ListAssessmentRunsCommand.ts +++ b/clients/client-inspector/commands/ListAssessmentRunsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssessmentRunsCommandInput = ListAssessmentRunsRequest; @@ -67,14 +67,14 @@ export class ListAssessmentRunsCommand extends $Command< private serialize( input: ListAssessmentRunsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAssessmentRunsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAssessmentRunsCommand(output, context); } diff --git a/clients/client-inspector/commands/ListAssessmentTargetsCommand.ts b/clients/client-inspector/commands/ListAssessmentTargetsCommand.ts index 9be28037c386..68ba9d5f1ce2 100644 --- a/clients/client-inspector/commands/ListAssessmentTargetsCommand.ts +++ b/clients/client-inspector/commands/ListAssessmentTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssessmentTargetsCommandInput = ListAssessmentTargetsRequest; @@ -70,14 +70,14 @@ export class ListAssessmentTargetsCommand extends $Command< private serialize( input: ListAssessmentTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAssessmentTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAssessmentTargetsCommand(output, context); } diff --git a/clients/client-inspector/commands/ListAssessmentTemplatesCommand.ts b/clients/client-inspector/commands/ListAssessmentTemplatesCommand.ts index e8e7ed2f7303..4c2697e82444 100644 --- a/clients/client-inspector/commands/ListAssessmentTemplatesCommand.ts +++ b/clients/client-inspector/commands/ListAssessmentTemplatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssessmentTemplatesCommandInput = ListAssessmentTemplatesRequest; @@ -70,14 +70,14 @@ export class ListAssessmentTemplatesCommand extends $Command< private serialize( input: ListAssessmentTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAssessmentTemplatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAssessmentTemplatesCommand( output, diff --git a/clients/client-inspector/commands/ListEventSubscriptionsCommand.ts b/clients/client-inspector/commands/ListEventSubscriptionsCommand.ts index c2f5a537d56a..550cc78e363d 100644 --- a/clients/client-inspector/commands/ListEventSubscriptionsCommand.ts +++ b/clients/client-inspector/commands/ListEventSubscriptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEventSubscriptionsCommandInput = ListEventSubscriptionsRequest; @@ -70,14 +70,14 @@ export class ListEventSubscriptionsCommand extends $Command< private serialize( input: ListEventSubscriptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEventSubscriptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEventSubscriptionsCommand(output, context); } diff --git a/clients/client-inspector/commands/ListExclusionsCommand.ts b/clients/client-inspector/commands/ListExclusionsCommand.ts index be3c610d393e..d29bf5673856 100644 --- a/clients/client-inspector/commands/ListExclusionsCommand.ts +++ b/clients/client-inspector/commands/ListExclusionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListExclusionsCommandInput = ListExclusionsRequest; @@ -64,14 +64,14 @@ export class ListExclusionsCommand extends $Command< private serialize( input: ListExclusionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListExclusionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListExclusionsCommand(output, context); } diff --git a/clients/client-inspector/commands/ListFindingsCommand.ts b/clients/client-inspector/commands/ListFindingsCommand.ts index 72bc19fc3b09..b4e09c867094 100644 --- a/clients/client-inspector/commands/ListFindingsCommand.ts +++ b/clients/client-inspector/commands/ListFindingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFindingsCommandInput = ListFindingsRequest; @@ -64,14 +64,14 @@ export class ListFindingsCommand extends $Command< private serialize( input: ListFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListFindingsCommand(output, context); } diff --git a/clients/client-inspector/commands/ListRulesPackagesCommand.ts b/clients/client-inspector/commands/ListRulesPackagesCommand.ts index ac310f47d1c5..ea5b5fd89871 100644 --- a/clients/client-inspector/commands/ListRulesPackagesCommand.ts +++ b/clients/client-inspector/commands/ListRulesPackagesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRulesPackagesCommandInput = ListRulesPackagesRequest; @@ -67,14 +67,14 @@ export class ListRulesPackagesCommand extends $Command< private serialize( input: ListRulesPackagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRulesPackagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRulesPackagesCommand(output, context); } diff --git a/clients/client-inspector/commands/ListTagsForResourceCommand.ts b/clients/client-inspector/commands/ListTagsForResourceCommand.ts index d1ba719733e9..26745c50e07d 100644 --- a/clients/client-inspector/commands/ListTagsForResourceCommand.ts +++ b/clients/client-inspector/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-inspector/commands/PreviewAgentsCommand.ts b/clients/client-inspector/commands/PreviewAgentsCommand.ts index 1ffb8a2e87ad..7213bdc1e29c 100644 --- a/clients/client-inspector/commands/PreviewAgentsCommand.ts +++ b/clients/client-inspector/commands/PreviewAgentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PreviewAgentsCommandInput = PreviewAgentsRequest; @@ -64,14 +64,14 @@ export class PreviewAgentsCommand extends $Command< private serialize( input: PreviewAgentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PreviewAgentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PreviewAgentsCommand(output, context); } diff --git a/clients/client-inspector/commands/RegisterCrossAccountAccessRoleCommand.ts b/clients/client-inspector/commands/RegisterCrossAccountAccessRoleCommand.ts index 82c2e197ae17..8da7d0eee762 100644 --- a/clients/client-inspector/commands/RegisterCrossAccountAccessRoleCommand.ts +++ b/clients/client-inspector/commands/RegisterCrossAccountAccessRoleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterCrossAccountAccessRoleCommandInput = RegisterCrossAccountAccessRoleRequest; @@ -68,7 +68,7 @@ export class RegisterCrossAccountAccessRoleCommand extends $Command< private serialize( input: RegisterCrossAccountAccessRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterCrossAccountAccessRoleCommand( input, @@ -78,7 +78,7 @@ export class RegisterCrossAccountAccessRoleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterCrossAccountAccessRoleCommand( output, diff --git a/clients/client-inspector/commands/RemoveAttributesFromFindingsCommand.ts b/clients/client-inspector/commands/RemoveAttributesFromFindingsCommand.ts index 59989e74a455..66a119b22756 100644 --- a/clients/client-inspector/commands/RemoveAttributesFromFindingsCommand.ts +++ b/clients/client-inspector/commands/RemoveAttributesFromFindingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveAttributesFromFindingsCommandInput = RemoveAttributesFromFindingsRequest; @@ -70,7 +70,7 @@ export class RemoveAttributesFromFindingsCommand extends $Command< private serialize( input: RemoveAttributesFromFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveAttributesFromFindingsCommand( input, @@ -80,7 +80,7 @@ export class RemoveAttributesFromFindingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveAttributesFromFindingsCommand( output, diff --git a/clients/client-inspector/commands/SetTagsForResourceCommand.ts b/clients/client-inspector/commands/SetTagsForResourceCommand.ts index 134ce5f2c297..83317a1f4849 100644 --- a/clients/client-inspector/commands/SetTagsForResourceCommand.ts +++ b/clients/client-inspector/commands/SetTagsForResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetTagsForResourceCommandInput = SetTagsForResourceRequest; @@ -65,14 +65,14 @@ export class SetTagsForResourceCommand extends $Command< private serialize( input: SetTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetTagsForResourceCommand(output, context); } diff --git a/clients/client-inspector/commands/StartAssessmentRunCommand.ts b/clients/client-inspector/commands/StartAssessmentRunCommand.ts index 34231db3aebe..a4f1a1da8a14 100644 --- a/clients/client-inspector/commands/StartAssessmentRunCommand.ts +++ b/clients/client-inspector/commands/StartAssessmentRunCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartAssessmentRunCommandInput = StartAssessmentRunRequest; @@ -67,14 +67,14 @@ export class StartAssessmentRunCommand extends $Command< private serialize( input: StartAssessmentRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartAssessmentRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartAssessmentRunCommand(output, context); } diff --git a/clients/client-inspector/commands/StopAssessmentRunCommand.ts b/clients/client-inspector/commands/StopAssessmentRunCommand.ts index 292b7b23db36..000b77df561a 100644 --- a/clients/client-inspector/commands/StopAssessmentRunCommand.ts +++ b/clients/client-inspector/commands/StopAssessmentRunCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopAssessmentRunCommandInput = StopAssessmentRunRequest; @@ -65,14 +65,14 @@ export class StopAssessmentRunCommand extends $Command< private serialize( input: StopAssessmentRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopAssessmentRunCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopAssessmentRunCommand(output, context); } diff --git a/clients/client-inspector/commands/SubscribeToEventCommand.ts b/clients/client-inspector/commands/SubscribeToEventCommand.ts index 888a0ce06f46..b5e218c7db17 100644 --- a/clients/client-inspector/commands/SubscribeToEventCommand.ts +++ b/clients/client-inspector/commands/SubscribeToEventCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SubscribeToEventCommandInput = SubscribeToEventRequest; @@ -65,14 +65,14 @@ export class SubscribeToEventCommand extends $Command< private serialize( input: SubscribeToEventCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SubscribeToEventCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SubscribeToEventCommand(output, context); } diff --git a/clients/client-inspector/commands/UnsubscribeFromEventCommand.ts b/clients/client-inspector/commands/UnsubscribeFromEventCommand.ts index 33ff308a29dc..8768920ac72a 100644 --- a/clients/client-inspector/commands/UnsubscribeFromEventCommand.ts +++ b/clients/client-inspector/commands/UnsubscribeFromEventCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnsubscribeFromEventCommandInput = UnsubscribeFromEventRequest; @@ -68,14 +68,14 @@ export class UnsubscribeFromEventCommand extends $Command< private serialize( input: UnsubscribeFromEventCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UnsubscribeFromEventCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UnsubscribeFromEventCommand(output, context); } diff --git a/clients/client-inspector/commands/UpdateAssessmentTargetCommand.ts b/clients/client-inspector/commands/UpdateAssessmentTargetCommand.ts index cd466162aa5a..baa82f18f5e6 100644 --- a/clients/client-inspector/commands/UpdateAssessmentTargetCommand.ts +++ b/clients/client-inspector/commands/UpdateAssessmentTargetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAssessmentTargetCommandInput = UpdateAssessmentTargetRequest; @@ -68,14 +68,14 @@ export class UpdateAssessmentTargetCommand extends $Command< private serialize( input: UpdateAssessmentTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAssessmentTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAssessmentTargetCommand(output, context); } diff --git a/clients/client-inspector/protocols/Aws_json1_1.ts b/clients/client-inspector/protocols/Aws_json1_1.ts index e7278046acf4..a22bfe5515fc 100644 --- a/clients/client-inspector/protocols/Aws_json1_1.ts +++ b/clients/client-inspector/protocols/Aws_json1_1.ts @@ -7080,6 +7080,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-iot-1click-devices-service/commands/ClaimDevicesByClaimCodeCommand.ts b/clients/client-iot-1click-devices-service/commands/ClaimDevicesByClaimCodeCommand.ts index 9a7cf66349e8..2997a6ac8996 100644 --- a/clients/client-iot-1click-devices-service/commands/ClaimDevicesByClaimCodeCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/ClaimDevicesByClaimCodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ClaimDevicesByClaimCodeCommandInput = ClaimDevicesByClaimCodeRequest; @@ -70,7 +70,7 @@ export class ClaimDevicesByClaimCodeCommand extends $Command< private serialize( input: ClaimDevicesByClaimCodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ClaimDevicesByClaimCodeCommand( input, @@ -80,7 +80,7 @@ export class ClaimDevicesByClaimCodeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ClaimDevicesByClaimCodeCommand( output, diff --git a/clients/client-iot-1click-devices-service/commands/DescribeDeviceCommand.ts b/clients/client-iot-1click-devices-service/commands/DescribeDeviceCommand.ts index 019ce6f018b3..d3b1b19d803f 100644 --- a/clients/client-iot-1click-devices-service/commands/DescribeDeviceCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/DescribeDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDeviceCommandInput = DescribeDeviceRequest; @@ -64,14 +64,14 @@ export class DescribeDeviceCommand extends $Command< private serialize( input: DescribeDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDeviceCommand(output, context); } diff --git a/clients/client-iot-1click-devices-service/commands/FinalizeDeviceClaimCommand.ts b/clients/client-iot-1click-devices-service/commands/FinalizeDeviceClaimCommand.ts index e3d078408d13..bc777c89b46a 100644 --- a/clients/client-iot-1click-devices-service/commands/FinalizeDeviceClaimCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/FinalizeDeviceClaimCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type FinalizeDeviceClaimCommandInput = FinalizeDeviceClaimRequest; @@ -70,14 +70,14 @@ export class FinalizeDeviceClaimCommand extends $Command< private serialize( input: FinalizeDeviceClaimCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1FinalizeDeviceClaimCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1FinalizeDeviceClaimCommand( output, diff --git a/clients/client-iot-1click-devices-service/commands/GetDeviceMethodsCommand.ts b/clients/client-iot-1click-devices-service/commands/GetDeviceMethodsCommand.ts index a4b863121f26..0b86c04ca1f4 100644 --- a/clients/client-iot-1click-devices-service/commands/GetDeviceMethodsCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/GetDeviceMethodsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeviceMethodsCommandInput = GetDeviceMethodsRequest; @@ -67,14 +67,14 @@ export class GetDeviceMethodsCommand extends $Command< private serialize( input: GetDeviceMethodsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeviceMethodsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeviceMethodsCommand(output, context); } diff --git a/clients/client-iot-1click-devices-service/commands/InitiateDeviceClaimCommand.ts b/clients/client-iot-1click-devices-service/commands/InitiateDeviceClaimCommand.ts index c3c850274fbc..f6513ac187d1 100644 --- a/clients/client-iot-1click-devices-service/commands/InitiateDeviceClaimCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/InitiateDeviceClaimCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InitiateDeviceClaimCommandInput = InitiateDeviceClaimRequest; @@ -70,14 +70,14 @@ export class InitiateDeviceClaimCommand extends $Command< private serialize( input: InitiateDeviceClaimCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InitiateDeviceClaimCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InitiateDeviceClaimCommand( output, diff --git a/clients/client-iot-1click-devices-service/commands/InvokeDeviceMethodCommand.ts b/clients/client-iot-1click-devices-service/commands/InvokeDeviceMethodCommand.ts index 4c5bf3a664d1..ec9c33ab72bd 100644 --- a/clients/client-iot-1click-devices-service/commands/InvokeDeviceMethodCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/InvokeDeviceMethodCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InvokeDeviceMethodCommandInput = InvokeDeviceMethodRequest; @@ -67,14 +67,14 @@ export class InvokeDeviceMethodCommand extends $Command< private serialize( input: InvokeDeviceMethodCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InvokeDeviceMethodCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InvokeDeviceMethodCommand(output, context); } diff --git a/clients/client-iot-1click-devices-service/commands/ListDeviceEventsCommand.ts b/clients/client-iot-1click-devices-service/commands/ListDeviceEventsCommand.ts index 7b50a39aad4b..edc4204043fe 100644 --- a/clients/client-iot-1click-devices-service/commands/ListDeviceEventsCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/ListDeviceEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeviceEventsCommandInput = ListDeviceEventsRequest; @@ -67,14 +67,14 @@ export class ListDeviceEventsCommand extends $Command< private serialize( input: ListDeviceEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDeviceEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDeviceEventsCommand(output, context); } diff --git a/clients/client-iot-1click-devices-service/commands/ListDevicesCommand.ts b/clients/client-iot-1click-devices-service/commands/ListDevicesCommand.ts index 0f5fa3bad2e2..dff4ad3f0ba9 100644 --- a/clients/client-iot-1click-devices-service/commands/ListDevicesCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/ListDevicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDevicesCommandInput = ListDevicesRequest; @@ -64,14 +64,14 @@ export class ListDevicesCommand extends $Command< private serialize( input: ListDevicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDevicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDevicesCommand(output, context); } diff --git a/clients/client-iot-1click-devices-service/commands/ListTagsForResourceCommand.ts b/clients/client-iot-1click-devices-service/commands/ListTagsForResourceCommand.ts index b0193d0cd282..fbc3432c2be3 100644 --- a/clients/client-iot-1click-devices-service/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-iot-1click-devices-service/commands/TagResourceCommand.ts b/clients/client-iot-1click-devices-service/commands/TagResourceCommand.ts index 70f300bc8cc8..51095b359f90 100644 --- a/clients/client-iot-1click-devices-service/commands/TagResourceCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-iot-1click-devices-service/commands/UnclaimDeviceCommand.ts b/clients/client-iot-1click-devices-service/commands/UnclaimDeviceCommand.ts index 80018ae94eaf..52e10a797fb4 100644 --- a/clients/client-iot-1click-devices-service/commands/UnclaimDeviceCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/UnclaimDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnclaimDeviceCommandInput = UnclaimDeviceRequest; @@ -64,14 +64,14 @@ export class UnclaimDeviceCommand extends $Command< private serialize( input: UnclaimDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UnclaimDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UnclaimDeviceCommand(output, context); } diff --git a/clients/client-iot-1click-devices-service/commands/UntagResourceCommand.ts b/clients/client-iot-1click-devices-service/commands/UntagResourceCommand.ts index 121047672d9a..608bc1ab1aac 100644 --- a/clients/client-iot-1click-devices-service/commands/UntagResourceCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-iot-1click-devices-service/commands/UpdateDeviceStateCommand.ts b/clients/client-iot-1click-devices-service/commands/UpdateDeviceStateCommand.ts index 0b25809e5a35..6eda43528695 100644 --- a/clients/client-iot-1click-devices-service/commands/UpdateDeviceStateCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/UpdateDeviceStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDeviceStateCommandInput = UpdateDeviceStateRequest; @@ -67,14 +67,14 @@ export class UpdateDeviceStateCommand extends $Command< private serialize( input: UpdateDeviceStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDeviceStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDeviceStateCommand(output, context); } diff --git a/clients/client-iot-1click-devices-service/protocols/Aws_restJson1_1.ts b/clients/client-iot-1click-devices-service/protocols/Aws_restJson1_1.ts index 9b548abb4255..be37710c8a4d 100644 --- a/clients/client-iot-1click-devices-service/protocols/Aws_restJson1_1.ts +++ b/clients/client-iot-1click-devices-service/protocols/Aws_restJson1_1.ts @@ -1826,6 +1826,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-iot-1click-projects/commands/AssociateDeviceWithPlacementCommand.ts b/clients/client-iot-1click-projects/commands/AssociateDeviceWithPlacementCommand.ts index 1106e0fb7153..b302c4619531 100644 --- a/clients/client-iot-1click-projects/commands/AssociateDeviceWithPlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/AssociateDeviceWithPlacementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateDeviceWithPlacementCommandInput = AssociateDeviceWithPlacementRequest; @@ -70,7 +70,7 @@ export class AssociateDeviceWithPlacementCommand extends $Command< private serialize( input: AssociateDeviceWithPlacementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateDeviceWithPlacementCommand( input, @@ -80,7 +80,7 @@ export class AssociateDeviceWithPlacementCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateDeviceWithPlacementCommand( output, diff --git a/clients/client-iot-1click-projects/commands/CreatePlacementCommand.ts b/clients/client-iot-1click-projects/commands/CreatePlacementCommand.ts index ba3ff15bf663..8cf73094406d 100644 --- a/clients/client-iot-1click-projects/commands/CreatePlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/CreatePlacementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePlacementCommandInput = CreatePlacementRequest; @@ -67,14 +67,14 @@ export class CreatePlacementCommand extends $Command< private serialize( input: CreatePlacementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePlacementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePlacementCommand(output, context); } diff --git a/clients/client-iot-1click-projects/commands/CreateProjectCommand.ts b/clients/client-iot-1click-projects/commands/CreateProjectCommand.ts index 016a89bbf3c4..19af477a3d41 100644 --- a/clients/client-iot-1click-projects/commands/CreateProjectCommand.ts +++ b/clients/client-iot-1click-projects/commands/CreateProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProjectCommandInput = CreateProjectRequest; @@ -64,14 +64,14 @@ export class CreateProjectCommand extends $Command< private serialize( input: CreateProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateProjectCommand(output, context); } diff --git a/clients/client-iot-1click-projects/commands/DeletePlacementCommand.ts b/clients/client-iot-1click-projects/commands/DeletePlacementCommand.ts index 1d64cbac117d..f7d5093c3107 100644 --- a/clients/client-iot-1click-projects/commands/DeletePlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/DeletePlacementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePlacementCommandInput = DeletePlacementRequest; @@ -67,14 +67,14 @@ export class DeletePlacementCommand extends $Command< private serialize( input: DeletePlacementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePlacementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePlacementCommand(output, context); } diff --git a/clients/client-iot-1click-projects/commands/DeleteProjectCommand.ts b/clients/client-iot-1click-projects/commands/DeleteProjectCommand.ts index 5df7970dd07a..b228228be703 100644 --- a/clients/client-iot-1click-projects/commands/DeleteProjectCommand.ts +++ b/clients/client-iot-1click-projects/commands/DeleteProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProjectCommandInput = DeleteProjectRequest; @@ -64,14 +64,14 @@ export class DeleteProjectCommand extends $Command< private serialize( input: DeleteProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteProjectCommand(output, context); } diff --git a/clients/client-iot-1click-projects/commands/DescribePlacementCommand.ts b/clients/client-iot-1click-projects/commands/DescribePlacementCommand.ts index b7626e2f4b70..9c17950fdb24 100644 --- a/clients/client-iot-1click-projects/commands/DescribePlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/DescribePlacementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePlacementCommandInput = DescribePlacementRequest; @@ -67,14 +67,14 @@ export class DescribePlacementCommand extends $Command< private serialize( input: DescribePlacementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribePlacementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribePlacementCommand(output, context); } diff --git a/clients/client-iot-1click-projects/commands/DescribeProjectCommand.ts b/clients/client-iot-1click-projects/commands/DescribeProjectCommand.ts index b746a0ee2272..3622c70eab31 100644 --- a/clients/client-iot-1click-projects/commands/DescribeProjectCommand.ts +++ b/clients/client-iot-1click-projects/commands/DescribeProjectCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProjectCommandInput = DescribeProjectRequest; @@ -67,14 +67,14 @@ export class DescribeProjectCommand extends $Command< private serialize( input: DescribeProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeProjectCommand(output, context); } diff --git a/clients/client-iot-1click-projects/commands/DisassociateDeviceFromPlacementCommand.ts b/clients/client-iot-1click-projects/commands/DisassociateDeviceFromPlacementCommand.ts index 8cc51989d434..e366a3124973 100644 --- a/clients/client-iot-1click-projects/commands/DisassociateDeviceFromPlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/DisassociateDeviceFromPlacementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateDeviceFromPlacementCommandInput = DisassociateDeviceFromPlacementRequest; @@ -70,7 +70,7 @@ export class DisassociateDeviceFromPlacementCommand extends $Command< private serialize( input: DisassociateDeviceFromPlacementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateDeviceFromPlacementCommand( input, @@ -80,7 +80,7 @@ export class DisassociateDeviceFromPlacementCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateDeviceFromPlacementCommand( output, diff --git a/clients/client-iot-1click-projects/commands/GetDevicesInPlacementCommand.ts b/clients/client-iot-1click-projects/commands/GetDevicesInPlacementCommand.ts index e8662c07d4e8..95fb9d255f7f 100644 --- a/clients/client-iot-1click-projects/commands/GetDevicesInPlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/GetDevicesInPlacementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDevicesInPlacementCommandInput = GetDevicesInPlacementRequest; @@ -70,14 +70,14 @@ export class GetDevicesInPlacementCommand extends $Command< private serialize( input: GetDevicesInPlacementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDevicesInPlacementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDevicesInPlacementCommand( output, diff --git a/clients/client-iot-1click-projects/commands/ListPlacementsCommand.ts b/clients/client-iot-1click-projects/commands/ListPlacementsCommand.ts index bc6c981dcd7c..78224588b0bd 100644 --- a/clients/client-iot-1click-projects/commands/ListPlacementsCommand.ts +++ b/clients/client-iot-1click-projects/commands/ListPlacementsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPlacementsCommandInput = ListPlacementsRequest; @@ -64,14 +64,14 @@ export class ListPlacementsCommand extends $Command< private serialize( input: ListPlacementsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPlacementsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPlacementsCommand(output, context); } diff --git a/clients/client-iot-1click-projects/commands/ListProjectsCommand.ts b/clients/client-iot-1click-projects/commands/ListProjectsCommand.ts index de74cf0bdedc..e59093953786 100644 --- a/clients/client-iot-1click-projects/commands/ListProjectsCommand.ts +++ b/clients/client-iot-1click-projects/commands/ListProjectsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProjectsCommandInput = ListProjectsRequest; @@ -64,14 +64,14 @@ export class ListProjectsCommand extends $Command< private serialize( input: ListProjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListProjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListProjectsCommand(output, context); } diff --git a/clients/client-iot-1click-projects/commands/ListTagsForResourceCommand.ts b/clients/client-iot-1click-projects/commands/ListTagsForResourceCommand.ts index 07721f020b38..daba4049466f 100644 --- a/clients/client-iot-1click-projects/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iot-1click-projects/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-iot-1click-projects/commands/TagResourceCommand.ts b/clients/client-iot-1click-projects/commands/TagResourceCommand.ts index cfe70c6834ca..881ae2e708f9 100644 --- a/clients/client-iot-1click-projects/commands/TagResourceCommand.ts +++ b/clients/client-iot-1click-projects/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-iot-1click-projects/commands/UntagResourceCommand.ts b/clients/client-iot-1click-projects/commands/UntagResourceCommand.ts index 02a303ecedf4..99f434768b2f 100644 --- a/clients/client-iot-1click-projects/commands/UntagResourceCommand.ts +++ b/clients/client-iot-1click-projects/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-iot-1click-projects/commands/UpdatePlacementCommand.ts b/clients/client-iot-1click-projects/commands/UpdatePlacementCommand.ts index 2e4afebb1a96..f00aa4faba06 100644 --- a/clients/client-iot-1click-projects/commands/UpdatePlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/UpdatePlacementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePlacementCommandInput = UpdatePlacementRequest; @@ -67,14 +67,14 @@ export class UpdatePlacementCommand extends $Command< private serialize( input: UpdatePlacementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdatePlacementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdatePlacementCommand(output, context); } diff --git a/clients/client-iot-1click-projects/commands/UpdateProjectCommand.ts b/clients/client-iot-1click-projects/commands/UpdateProjectCommand.ts index 51c33fac3855..fa7a4d1597a1 100644 --- a/clients/client-iot-1click-projects/commands/UpdateProjectCommand.ts +++ b/clients/client-iot-1click-projects/commands/UpdateProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProjectCommandInput = UpdateProjectRequest; @@ -64,14 +64,14 @@ export class UpdateProjectCommand extends $Command< private serialize( input: UpdateProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateProjectCommand(output, context); } diff --git a/clients/client-iot-1click-projects/protocols/Aws_restJson1_1.ts b/clients/client-iot-1click-projects/protocols/Aws_restJson1_1.ts index ec2201cda11f..529d79359eff 100644 --- a/clients/client-iot-1click-projects/protocols/Aws_restJson1_1.ts +++ b/clients/client-iot-1click-projects/protocols/Aws_restJson1_1.ts @@ -2374,6 +2374,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-iot-data-plane/commands/DeleteThingShadowCommand.ts b/clients/client-iot-data-plane/commands/DeleteThingShadowCommand.ts index 356c3650f629..50cbf96cac53 100644 --- a/clients/client-iot-data-plane/commands/DeleteThingShadowCommand.ts +++ b/clients/client-iot-data-plane/commands/DeleteThingShadowCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteThingShadowCommandInput = DeleteThingShadowRequest; @@ -67,14 +67,14 @@ export class DeleteThingShadowCommand extends $Command< private serialize( input: DeleteThingShadowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteThingShadowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteThingShadowCommand(output, context); } diff --git a/clients/client-iot-data-plane/commands/GetThingShadowCommand.ts b/clients/client-iot-data-plane/commands/GetThingShadowCommand.ts index 2493977ce479..f67e71d9f74b 100644 --- a/clients/client-iot-data-plane/commands/GetThingShadowCommand.ts +++ b/clients/client-iot-data-plane/commands/GetThingShadowCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetThingShadowCommandInput = GetThingShadowRequest; @@ -64,14 +64,14 @@ export class GetThingShadowCommand extends $Command< private serialize( input: GetThingShadowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetThingShadowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetThingShadowCommand(output, context); } diff --git a/clients/client-iot-data-plane/commands/PublishCommand.ts b/clients/client-iot-data-plane/commands/PublishCommand.ts index 925f0f850230..a79636dea422 100644 --- a/clients/client-iot-data-plane/commands/PublishCommand.ts +++ b/clients/client-iot-data-plane/commands/PublishCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PublishCommandInput = PublishRequest; @@ -65,14 +65,14 @@ export class PublishCommand extends $Command< private serialize( input: PublishCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PublishCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PublishCommand(output, context); } diff --git a/clients/client-iot-data-plane/commands/UpdateThingShadowCommand.ts b/clients/client-iot-data-plane/commands/UpdateThingShadowCommand.ts index 4e48816902ec..ea095c676b1b 100644 --- a/clients/client-iot-data-plane/commands/UpdateThingShadowCommand.ts +++ b/clients/client-iot-data-plane/commands/UpdateThingShadowCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateThingShadowCommandInput = UpdateThingShadowRequest; @@ -67,14 +67,14 @@ export class UpdateThingShadowCommand extends $Command< private serialize( input: UpdateThingShadowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateThingShadowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateThingShadowCommand(output, context); } diff --git a/clients/client-iot-data-plane/protocols/Aws_restJson1_1.ts b/clients/client-iot-data-plane/protocols/Aws_restJson1_1.ts index fd2f53db9941..3ca37532c953 100644 --- a/clients/client-iot-data-plane/protocols/Aws_restJson1_1.ts +++ b/clients/client-iot-data-plane/protocols/Aws_restJson1_1.ts @@ -736,6 +736,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-iot-events-data/commands/BatchPutMessageCommand.ts b/clients/client-iot-events-data/commands/BatchPutMessageCommand.ts index 2f3fe05e0168..0b697605b9f2 100644 --- a/clients/client-iot-events-data/commands/BatchPutMessageCommand.ts +++ b/clients/client-iot-events-data/commands/BatchPutMessageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchPutMessageCommandInput = BatchPutMessageRequest; @@ -67,14 +67,14 @@ export class BatchPutMessageCommand extends $Command< private serialize( input: BatchPutMessageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchPutMessageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchPutMessageCommand(output, context); } diff --git a/clients/client-iot-events-data/commands/BatchUpdateDetectorCommand.ts b/clients/client-iot-events-data/commands/BatchUpdateDetectorCommand.ts index 5d18c6ba3c83..c674793124b0 100644 --- a/clients/client-iot-events-data/commands/BatchUpdateDetectorCommand.ts +++ b/clients/client-iot-events-data/commands/BatchUpdateDetectorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchUpdateDetectorCommandInput = BatchUpdateDetectorRequest; @@ -70,14 +70,14 @@ export class BatchUpdateDetectorCommand extends $Command< private serialize( input: BatchUpdateDetectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchUpdateDetectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchUpdateDetectorCommand( output, diff --git a/clients/client-iot-events-data/commands/DescribeDetectorCommand.ts b/clients/client-iot-events-data/commands/DescribeDetectorCommand.ts index fe6342a7ae7b..e9c11dadff81 100644 --- a/clients/client-iot-events-data/commands/DescribeDetectorCommand.ts +++ b/clients/client-iot-events-data/commands/DescribeDetectorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDetectorCommandInput = DescribeDetectorRequest; @@ -67,14 +67,14 @@ export class DescribeDetectorCommand extends $Command< private serialize( input: DescribeDetectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDetectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDetectorCommand(output, context); } diff --git a/clients/client-iot-events-data/commands/ListDetectorsCommand.ts b/clients/client-iot-events-data/commands/ListDetectorsCommand.ts index 5e701d397718..eab6f8b1f866 100644 --- a/clients/client-iot-events-data/commands/ListDetectorsCommand.ts +++ b/clients/client-iot-events-data/commands/ListDetectorsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDetectorsCommandInput = ListDetectorsRequest; @@ -64,14 +64,14 @@ export class ListDetectorsCommand extends $Command< private serialize( input: ListDetectorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDetectorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDetectorsCommand(output, context); } diff --git a/clients/client-iot-events-data/protocols/Aws_restJson1_1.ts b/clients/client-iot-events-data/protocols/Aws_restJson1_1.ts index c42d43e9d337..e46553ee8731 100644 --- a/clients/client-iot-events-data/protocols/Aws_restJson1_1.ts +++ b/clients/client-iot-events-data/protocols/Aws_restJson1_1.ts @@ -1007,6 +1007,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-iot-events/commands/CreateDetectorModelCommand.ts b/clients/client-iot-events/commands/CreateDetectorModelCommand.ts index 53b333b92225..9cebb031e335 100644 --- a/clients/client-iot-events/commands/CreateDetectorModelCommand.ts +++ b/clients/client-iot-events/commands/CreateDetectorModelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDetectorModelCommandInput = CreateDetectorModelRequest; @@ -70,14 +70,14 @@ export class CreateDetectorModelCommand extends $Command< private serialize( input: CreateDetectorModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDetectorModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDetectorModelCommand( output, diff --git a/clients/client-iot-events/commands/CreateInputCommand.ts b/clients/client-iot-events/commands/CreateInputCommand.ts index 96cde4e818ba..8bed6706f336 100644 --- a/clients/client-iot-events/commands/CreateInputCommand.ts +++ b/clients/client-iot-events/commands/CreateInputCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInputCommandInput = CreateInputRequest; @@ -64,14 +64,14 @@ export class CreateInputCommand extends $Command< private serialize( input: CreateInputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateInputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateInputCommand(output, context); } diff --git a/clients/client-iot-events/commands/DeleteDetectorModelCommand.ts b/clients/client-iot-events/commands/DeleteDetectorModelCommand.ts index eded85373091..cbd25405f128 100644 --- a/clients/client-iot-events/commands/DeleteDetectorModelCommand.ts +++ b/clients/client-iot-events/commands/DeleteDetectorModelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDetectorModelCommandInput = DeleteDetectorModelRequest; @@ -70,14 +70,14 @@ export class DeleteDetectorModelCommand extends $Command< private serialize( input: DeleteDetectorModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDetectorModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDetectorModelCommand( output, diff --git a/clients/client-iot-events/commands/DeleteInputCommand.ts b/clients/client-iot-events/commands/DeleteInputCommand.ts index 841ad89093d0..9c7a79c71cae 100644 --- a/clients/client-iot-events/commands/DeleteInputCommand.ts +++ b/clients/client-iot-events/commands/DeleteInputCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInputCommandInput = DeleteInputRequest; @@ -64,14 +64,14 @@ export class DeleteInputCommand extends $Command< private serialize( input: DeleteInputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteInputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteInputCommand(output, context); } diff --git a/clients/client-iot-events/commands/DescribeDetectorModelCommand.ts b/clients/client-iot-events/commands/DescribeDetectorModelCommand.ts index ae3d22837a9a..412aeab5a8b3 100644 --- a/clients/client-iot-events/commands/DescribeDetectorModelCommand.ts +++ b/clients/client-iot-events/commands/DescribeDetectorModelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDetectorModelCommandInput = DescribeDetectorModelRequest; @@ -70,14 +70,14 @@ export class DescribeDetectorModelCommand extends $Command< private serialize( input: DescribeDetectorModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDetectorModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDetectorModelCommand( output, diff --git a/clients/client-iot-events/commands/DescribeInputCommand.ts b/clients/client-iot-events/commands/DescribeInputCommand.ts index 8952d7f80b9f..209fb07d11c8 100644 --- a/clients/client-iot-events/commands/DescribeInputCommand.ts +++ b/clients/client-iot-events/commands/DescribeInputCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInputCommandInput = DescribeInputRequest; @@ -64,14 +64,14 @@ export class DescribeInputCommand extends $Command< private serialize( input: DescribeInputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeInputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeInputCommand(output, context); } diff --git a/clients/client-iot-events/commands/DescribeLoggingOptionsCommand.ts b/clients/client-iot-events/commands/DescribeLoggingOptionsCommand.ts index 029a02e05124..6a94991b10d4 100644 --- a/clients/client-iot-events/commands/DescribeLoggingOptionsCommand.ts +++ b/clients/client-iot-events/commands/DescribeLoggingOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoggingOptionsCommandInput = DescribeLoggingOptionsRequest; @@ -70,7 +70,7 @@ export class DescribeLoggingOptionsCommand extends $Command< private serialize( input: DescribeLoggingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeLoggingOptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeLoggingOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeLoggingOptionsCommand( output, diff --git a/clients/client-iot-events/commands/ListDetectorModelVersionsCommand.ts b/clients/client-iot-events/commands/ListDetectorModelVersionsCommand.ts index 47c28ad02741..8b0c6bec9a96 100644 --- a/clients/client-iot-events/commands/ListDetectorModelVersionsCommand.ts +++ b/clients/client-iot-events/commands/ListDetectorModelVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDetectorModelVersionsCommandInput = ListDetectorModelVersionsRequest; @@ -70,7 +70,7 @@ export class ListDetectorModelVersionsCommand extends $Command< private serialize( input: ListDetectorModelVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDetectorModelVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListDetectorModelVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDetectorModelVersionsCommand( output, diff --git a/clients/client-iot-events/commands/ListDetectorModelsCommand.ts b/clients/client-iot-events/commands/ListDetectorModelsCommand.ts index 63707d5bd7b3..bf12d8155a6a 100644 --- a/clients/client-iot-events/commands/ListDetectorModelsCommand.ts +++ b/clients/client-iot-events/commands/ListDetectorModelsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDetectorModelsCommandInput = ListDetectorModelsRequest; @@ -67,14 +67,14 @@ export class ListDetectorModelsCommand extends $Command< private serialize( input: ListDetectorModelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDetectorModelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDetectorModelsCommand(output, context); } diff --git a/clients/client-iot-events/commands/ListInputsCommand.ts b/clients/client-iot-events/commands/ListInputsCommand.ts index fb088589729b..de98f68aa378 100644 --- a/clients/client-iot-events/commands/ListInputsCommand.ts +++ b/clients/client-iot-events/commands/ListInputsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInputsCommandInput = ListInputsRequest; @@ -64,14 +64,14 @@ export class ListInputsCommand extends $Command< private serialize( input: ListInputsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListInputsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListInputsCommand(output, context); } diff --git a/clients/client-iot-events/commands/ListTagsForResourceCommand.ts b/clients/client-iot-events/commands/ListTagsForResourceCommand.ts index 7a0cdea3c2ca..6c693b4676ca 100644 --- a/clients/client-iot-events/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iot-events/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-iot-events/commands/PutLoggingOptionsCommand.ts b/clients/client-iot-events/commands/PutLoggingOptionsCommand.ts index ad515780bc3d..c574116671ec 100644 --- a/clients/client-iot-events/commands/PutLoggingOptionsCommand.ts +++ b/clients/client-iot-events/commands/PutLoggingOptionsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLoggingOptionsCommandInput = PutLoggingOptionsRequest; @@ -65,14 +65,14 @@ export class PutLoggingOptionsCommand extends $Command< private serialize( input: PutLoggingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutLoggingOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutLoggingOptionsCommand(output, context); } diff --git a/clients/client-iot-events/commands/TagResourceCommand.ts b/clients/client-iot-events/commands/TagResourceCommand.ts index e921ca886692..f3413af45c46 100644 --- a/clients/client-iot-events/commands/TagResourceCommand.ts +++ b/clients/client-iot-events/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-iot-events/commands/UntagResourceCommand.ts b/clients/client-iot-events/commands/UntagResourceCommand.ts index 57fa02a7eda5..fc0a24017a35 100644 --- a/clients/client-iot-events/commands/UntagResourceCommand.ts +++ b/clients/client-iot-events/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-iot-events/commands/UpdateDetectorModelCommand.ts b/clients/client-iot-events/commands/UpdateDetectorModelCommand.ts index eae619e49171..532bbee09de0 100644 --- a/clients/client-iot-events/commands/UpdateDetectorModelCommand.ts +++ b/clients/client-iot-events/commands/UpdateDetectorModelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDetectorModelCommandInput = UpdateDetectorModelRequest; @@ -70,14 +70,14 @@ export class UpdateDetectorModelCommand extends $Command< private serialize( input: UpdateDetectorModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDetectorModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDetectorModelCommand( output, diff --git a/clients/client-iot-events/commands/UpdateInputCommand.ts b/clients/client-iot-events/commands/UpdateInputCommand.ts index ed4741f9e461..d3ebb0995146 100644 --- a/clients/client-iot-events/commands/UpdateInputCommand.ts +++ b/clients/client-iot-events/commands/UpdateInputCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateInputCommandInput = UpdateInputRequest; @@ -64,14 +64,14 @@ export class UpdateInputCommand extends $Command< private serialize( input: UpdateInputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateInputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateInputCommand(output, context); } diff --git a/clients/client-iot-events/protocols/Aws_restJson1_1.ts b/clients/client-iot-events/protocols/Aws_restJson1_1.ts index 97564807cf06..08e9fea59b06 100644 --- a/clients/client-iot-events/protocols/Aws_restJson1_1.ts +++ b/clients/client-iot-events/protocols/Aws_restJson1_1.ts @@ -3566,6 +3566,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-iot-jobs-data-plane/commands/DescribeJobExecutionCommand.ts b/clients/client-iot-jobs-data-plane/commands/DescribeJobExecutionCommand.ts index bd1bed038e48..6591218e6940 100644 --- a/clients/client-iot-jobs-data-plane/commands/DescribeJobExecutionCommand.ts +++ b/clients/client-iot-jobs-data-plane/commands/DescribeJobExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeJobExecutionCommandInput = DescribeJobExecutionRequest; @@ -70,14 +70,14 @@ export class DescribeJobExecutionCommand extends $Command< private serialize( input: DescribeJobExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeJobExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeJobExecutionCommand( output, diff --git a/clients/client-iot-jobs-data-plane/commands/GetPendingJobExecutionsCommand.ts b/clients/client-iot-jobs-data-plane/commands/GetPendingJobExecutionsCommand.ts index 7bcdf0f831a9..412e64950e7c 100644 --- a/clients/client-iot-jobs-data-plane/commands/GetPendingJobExecutionsCommand.ts +++ b/clients/client-iot-jobs-data-plane/commands/GetPendingJobExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPendingJobExecutionsCommandInput = GetPendingJobExecutionsRequest; @@ -70,7 +70,7 @@ export class GetPendingJobExecutionsCommand extends $Command< private serialize( input: GetPendingJobExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPendingJobExecutionsCommand( input, @@ -80,7 +80,7 @@ export class GetPendingJobExecutionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPendingJobExecutionsCommand( output, diff --git a/clients/client-iot-jobs-data-plane/commands/StartNextPendingJobExecutionCommand.ts b/clients/client-iot-jobs-data-plane/commands/StartNextPendingJobExecutionCommand.ts index d7f2d16695d8..1a11a24baced 100644 --- a/clients/client-iot-jobs-data-plane/commands/StartNextPendingJobExecutionCommand.ts +++ b/clients/client-iot-jobs-data-plane/commands/StartNextPendingJobExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartNextPendingJobExecutionCommandInput = StartNextPendingJobExecutionRequest; @@ -70,7 +70,7 @@ export class StartNextPendingJobExecutionCommand extends $Command< private serialize( input: StartNextPendingJobExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartNextPendingJobExecutionCommand( input, @@ -80,7 +80,7 @@ export class StartNextPendingJobExecutionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartNextPendingJobExecutionCommand( output, diff --git a/clients/client-iot-jobs-data-plane/commands/UpdateJobExecutionCommand.ts b/clients/client-iot-jobs-data-plane/commands/UpdateJobExecutionCommand.ts index b831a8b541f2..5eb459bcb3d3 100644 --- a/clients/client-iot-jobs-data-plane/commands/UpdateJobExecutionCommand.ts +++ b/clients/client-iot-jobs-data-plane/commands/UpdateJobExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateJobExecutionCommandInput = UpdateJobExecutionRequest; @@ -67,14 +67,14 @@ export class UpdateJobExecutionCommand extends $Command< private serialize( input: UpdateJobExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateJobExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateJobExecutionCommand(output, context); } diff --git a/clients/client-iot-jobs-data-plane/protocols/Aws_restJson1_1.ts b/clients/client-iot-jobs-data-plane/protocols/Aws_restJson1_1.ts index ce094430f27a..d86ae20bb648 100644 --- a/clients/client-iot-jobs-data-plane/protocols/Aws_restJson1_1.ts +++ b/clients/client-iot-jobs-data-plane/protocols/Aws_restJson1_1.ts @@ -888,6 +888,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-iot/commands/AcceptCertificateTransferCommand.ts b/clients/client-iot/commands/AcceptCertificateTransferCommand.ts index 6d6ca004bc80..cf945744a0f3 100644 --- a/clients/client-iot/commands/AcceptCertificateTransferCommand.ts +++ b/clients/client-iot/commands/AcceptCertificateTransferCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptCertificateTransferCommandInput = AcceptCertificateTransferRequest; @@ -68,7 +68,7 @@ export class AcceptCertificateTransferCommand extends $Command< private serialize( input: AcceptCertificateTransferCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AcceptCertificateTransferCommand( input, @@ -78,7 +78,7 @@ export class AcceptCertificateTransferCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AcceptCertificateTransferCommand( output, diff --git a/clients/client-iot/commands/AddThingToBillingGroupCommand.ts b/clients/client-iot/commands/AddThingToBillingGroupCommand.ts index 645b4723fbf0..7f62eb1b0210 100644 --- a/clients/client-iot/commands/AddThingToBillingGroupCommand.ts +++ b/clients/client-iot/commands/AddThingToBillingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddThingToBillingGroupCommandInput = AddThingToBillingGroupRequest; @@ -70,7 +70,7 @@ export class AddThingToBillingGroupCommand extends $Command< private serialize( input: AddThingToBillingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AddThingToBillingGroupCommand( input, @@ -80,7 +80,7 @@ export class AddThingToBillingGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AddThingToBillingGroupCommand( output, diff --git a/clients/client-iot/commands/AddThingToThingGroupCommand.ts b/clients/client-iot/commands/AddThingToThingGroupCommand.ts index 5b490b70d64e..81007a7c55e9 100644 --- a/clients/client-iot/commands/AddThingToThingGroupCommand.ts +++ b/clients/client-iot/commands/AddThingToThingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddThingToThingGroupCommandInput = AddThingToThingGroupRequest; @@ -70,14 +70,14 @@ export class AddThingToThingGroupCommand extends $Command< private serialize( input: AddThingToThingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AddThingToThingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AddThingToThingGroupCommand( output, diff --git a/clients/client-iot/commands/AssociateTargetsWithJobCommand.ts b/clients/client-iot/commands/AssociateTargetsWithJobCommand.ts index dfb5509acfb4..b757996be4aa 100644 --- a/clients/client-iot/commands/AssociateTargetsWithJobCommand.ts +++ b/clients/client-iot/commands/AssociateTargetsWithJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateTargetsWithJobCommandInput = AssociateTargetsWithJobRequest; @@ -70,7 +70,7 @@ export class AssociateTargetsWithJobCommand extends $Command< private serialize( input: AssociateTargetsWithJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateTargetsWithJobCommand( input, @@ -80,7 +80,7 @@ export class AssociateTargetsWithJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateTargetsWithJobCommand( output, diff --git a/clients/client-iot/commands/AttachPolicyCommand.ts b/clients/client-iot/commands/AttachPolicyCommand.ts index 92a4f30d457a..b4444b473254 100644 --- a/clients/client-iot/commands/AttachPolicyCommand.ts +++ b/clients/client-iot/commands/AttachPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachPolicyCommandInput = AttachPolicyRequest; @@ -65,14 +65,14 @@ export class AttachPolicyCommand extends $Command< private serialize( input: AttachPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AttachPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AttachPolicyCommand(output, context); } diff --git a/clients/client-iot/commands/AttachPrincipalPolicyCommand.ts b/clients/client-iot/commands/AttachPrincipalPolicyCommand.ts index 30f161e378cd..c2001e2810e6 100644 --- a/clients/client-iot/commands/AttachPrincipalPolicyCommand.ts +++ b/clients/client-iot/commands/AttachPrincipalPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachPrincipalPolicyCommandInput = AttachPrincipalPolicyRequest; @@ -68,14 +68,14 @@ export class AttachPrincipalPolicyCommand extends $Command< private serialize( input: AttachPrincipalPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AttachPrincipalPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AttachPrincipalPolicyCommand( output, diff --git a/clients/client-iot/commands/AttachSecurityProfileCommand.ts b/clients/client-iot/commands/AttachSecurityProfileCommand.ts index 90fa959dce07..6766ffb359f5 100644 --- a/clients/client-iot/commands/AttachSecurityProfileCommand.ts +++ b/clients/client-iot/commands/AttachSecurityProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachSecurityProfileCommandInput = AttachSecurityProfileRequest; @@ -70,14 +70,14 @@ export class AttachSecurityProfileCommand extends $Command< private serialize( input: AttachSecurityProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AttachSecurityProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AttachSecurityProfileCommand( output, diff --git a/clients/client-iot/commands/AttachThingPrincipalCommand.ts b/clients/client-iot/commands/AttachThingPrincipalCommand.ts index bc17fad16af6..7b6e17b04bbb 100644 --- a/clients/client-iot/commands/AttachThingPrincipalCommand.ts +++ b/clients/client-iot/commands/AttachThingPrincipalCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachThingPrincipalCommandInput = AttachThingPrincipalRequest; @@ -70,14 +70,14 @@ export class AttachThingPrincipalCommand extends $Command< private serialize( input: AttachThingPrincipalCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AttachThingPrincipalCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AttachThingPrincipalCommand( output, diff --git a/clients/client-iot/commands/CancelAuditMitigationActionsTaskCommand.ts b/clients/client-iot/commands/CancelAuditMitigationActionsTaskCommand.ts index ecd8f0f1d358..9b8b751dc508 100644 --- a/clients/client-iot/commands/CancelAuditMitigationActionsTaskCommand.ts +++ b/clients/client-iot/commands/CancelAuditMitigationActionsTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelAuditMitigationActionsTaskCommandInput = CancelAuditMitigationActionsTaskRequest; @@ -70,7 +70,7 @@ export class CancelAuditMitigationActionsTaskCommand extends $Command< private serialize( input: CancelAuditMitigationActionsTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelAuditMitigationActionsTaskCommand( input, @@ -80,7 +80,7 @@ export class CancelAuditMitigationActionsTaskCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelAuditMitigationActionsTaskCommand( output, diff --git a/clients/client-iot/commands/CancelAuditTaskCommand.ts b/clients/client-iot/commands/CancelAuditTaskCommand.ts index 347c0437640d..8b65e166a4b1 100644 --- a/clients/client-iot/commands/CancelAuditTaskCommand.ts +++ b/clients/client-iot/commands/CancelAuditTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelAuditTaskCommandInput = CancelAuditTaskRequest; @@ -67,14 +67,14 @@ export class CancelAuditTaskCommand extends $Command< private serialize( input: CancelAuditTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelAuditTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelAuditTaskCommand(output, context); } diff --git a/clients/client-iot/commands/CancelCertificateTransferCommand.ts b/clients/client-iot/commands/CancelCertificateTransferCommand.ts index 50815657b8c7..f478a7ebf2bf 100644 --- a/clients/client-iot/commands/CancelCertificateTransferCommand.ts +++ b/clients/client-iot/commands/CancelCertificateTransferCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelCertificateTransferCommandInput = CancelCertificateTransferRequest; @@ -68,7 +68,7 @@ export class CancelCertificateTransferCommand extends $Command< private serialize( input: CancelCertificateTransferCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelCertificateTransferCommand( input, @@ -78,7 +78,7 @@ export class CancelCertificateTransferCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelCertificateTransferCommand( output, diff --git a/clients/client-iot/commands/CancelJobCommand.ts b/clients/client-iot/commands/CancelJobCommand.ts index 77b02dd943a0..85bd47343a99 100644 --- a/clients/client-iot/commands/CancelJobCommand.ts +++ b/clients/client-iot/commands/CancelJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelJobCommandInput = CancelJobRequest; @@ -64,14 +64,14 @@ export class CancelJobCommand extends $Command< private serialize( input: CancelJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelJobCommand(output, context); } diff --git a/clients/client-iot/commands/CancelJobExecutionCommand.ts b/clients/client-iot/commands/CancelJobExecutionCommand.ts index 30d380d21e79..53933551468e 100644 --- a/clients/client-iot/commands/CancelJobExecutionCommand.ts +++ b/clients/client-iot/commands/CancelJobExecutionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelJobExecutionCommandInput = CancelJobExecutionRequest; @@ -65,14 +65,14 @@ export class CancelJobExecutionCommand extends $Command< private serialize( input: CancelJobExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelJobExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelJobExecutionCommand(output, context); } diff --git a/clients/client-iot/commands/ClearDefaultAuthorizerCommand.ts b/clients/client-iot/commands/ClearDefaultAuthorizerCommand.ts index 8a6159713692..e82f085c7116 100644 --- a/clients/client-iot/commands/ClearDefaultAuthorizerCommand.ts +++ b/clients/client-iot/commands/ClearDefaultAuthorizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ClearDefaultAuthorizerCommandInput = ClearDefaultAuthorizerRequest; @@ -70,7 +70,7 @@ export class ClearDefaultAuthorizerCommand extends $Command< private serialize( input: ClearDefaultAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ClearDefaultAuthorizerCommand( input, @@ -80,7 +80,7 @@ export class ClearDefaultAuthorizerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ClearDefaultAuthorizerCommand( output, diff --git a/clients/client-iot/commands/ConfirmTopicRuleDestinationCommand.ts b/clients/client-iot/commands/ConfirmTopicRuleDestinationCommand.ts index 38c7be35cc0e..6a4fc3a4972a 100644 --- a/clients/client-iot/commands/ConfirmTopicRuleDestinationCommand.ts +++ b/clients/client-iot/commands/ConfirmTopicRuleDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfirmTopicRuleDestinationCommandInput = ConfirmTopicRuleDestinationRequest; @@ -70,7 +70,7 @@ export class ConfirmTopicRuleDestinationCommand extends $Command< private serialize( input: ConfirmTopicRuleDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ConfirmTopicRuleDestinationCommand( input, @@ -80,7 +80,7 @@ export class ConfirmTopicRuleDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ConfirmTopicRuleDestinationCommand( output, diff --git a/clients/client-iot/commands/CreateAuthorizerCommand.ts b/clients/client-iot/commands/CreateAuthorizerCommand.ts index 4f8b548ee1ae..1f970edf2e49 100644 --- a/clients/client-iot/commands/CreateAuthorizerCommand.ts +++ b/clients/client-iot/commands/CreateAuthorizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAuthorizerCommandInput = CreateAuthorizerRequest; @@ -67,14 +67,14 @@ export class CreateAuthorizerCommand extends $Command< private serialize( input: CreateAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateAuthorizerCommand(output, context); } diff --git a/clients/client-iot/commands/CreateBillingGroupCommand.ts b/clients/client-iot/commands/CreateBillingGroupCommand.ts index ce084e70187d..12069407ab30 100644 --- a/clients/client-iot/commands/CreateBillingGroupCommand.ts +++ b/clients/client-iot/commands/CreateBillingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBillingGroupCommandInput = CreateBillingGroupRequest; @@ -67,14 +67,14 @@ export class CreateBillingGroupCommand extends $Command< private serialize( input: CreateBillingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateBillingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateBillingGroupCommand(output, context); } diff --git a/clients/client-iot/commands/CreateCertificateFromCsrCommand.ts b/clients/client-iot/commands/CreateCertificateFromCsrCommand.ts index dde20fb230e2..aa49e93a61a8 100644 --- a/clients/client-iot/commands/CreateCertificateFromCsrCommand.ts +++ b/clients/client-iot/commands/CreateCertificateFromCsrCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCertificateFromCsrCommandInput = CreateCertificateFromCsrRequest; @@ -70,7 +70,7 @@ export class CreateCertificateFromCsrCommand extends $Command< private serialize( input: CreateCertificateFromCsrCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateCertificateFromCsrCommand( input, @@ -80,7 +80,7 @@ export class CreateCertificateFromCsrCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateCertificateFromCsrCommand( output, diff --git a/clients/client-iot/commands/CreateDomainConfigurationCommand.ts b/clients/client-iot/commands/CreateDomainConfigurationCommand.ts index fcb46c3ad05c..a2cc6be20ade 100644 --- a/clients/client-iot/commands/CreateDomainConfigurationCommand.ts +++ b/clients/client-iot/commands/CreateDomainConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDomainConfigurationCommandInput = CreateDomainConfigurationRequest; @@ -70,7 +70,7 @@ export class CreateDomainConfigurationCommand extends $Command< private serialize( input: CreateDomainConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDomainConfigurationCommand( input, @@ -80,7 +80,7 @@ export class CreateDomainConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDomainConfigurationCommand( output, diff --git a/clients/client-iot/commands/CreateDynamicThingGroupCommand.ts b/clients/client-iot/commands/CreateDynamicThingGroupCommand.ts index 3cad605010d1..7cd00bece31d 100644 --- a/clients/client-iot/commands/CreateDynamicThingGroupCommand.ts +++ b/clients/client-iot/commands/CreateDynamicThingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDynamicThingGroupCommandInput = CreateDynamicThingGroupRequest; @@ -70,7 +70,7 @@ export class CreateDynamicThingGroupCommand extends $Command< private serialize( input: CreateDynamicThingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDynamicThingGroupCommand( input, @@ -80,7 +80,7 @@ export class CreateDynamicThingGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDynamicThingGroupCommand( output, diff --git a/clients/client-iot/commands/CreateJobCommand.ts b/clients/client-iot/commands/CreateJobCommand.ts index 26f2526488c1..d9c98bf02fbd 100644 --- a/clients/client-iot/commands/CreateJobCommand.ts +++ b/clients/client-iot/commands/CreateJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateJobCommandInput = CreateJobRequest; @@ -64,14 +64,14 @@ export class CreateJobCommand extends $Command< private serialize( input: CreateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateJobCommand(output, context); } diff --git a/clients/client-iot/commands/CreateKeysAndCertificateCommand.ts b/clients/client-iot/commands/CreateKeysAndCertificateCommand.ts index d735afefa0df..a18b5b776683 100644 --- a/clients/client-iot/commands/CreateKeysAndCertificateCommand.ts +++ b/clients/client-iot/commands/CreateKeysAndCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateKeysAndCertificateCommandInput = CreateKeysAndCertificateRequest; @@ -70,7 +70,7 @@ export class CreateKeysAndCertificateCommand extends $Command< private serialize( input: CreateKeysAndCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateKeysAndCertificateCommand( input, @@ -80,7 +80,7 @@ export class CreateKeysAndCertificateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateKeysAndCertificateCommand( output, diff --git a/clients/client-iot/commands/CreateMitigationActionCommand.ts b/clients/client-iot/commands/CreateMitigationActionCommand.ts index 5cc01a266380..ae3548f4daf1 100644 --- a/clients/client-iot/commands/CreateMitigationActionCommand.ts +++ b/clients/client-iot/commands/CreateMitigationActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMitigationActionCommandInput = CreateMitigationActionRequest; @@ -70,7 +70,7 @@ export class CreateMitigationActionCommand extends $Command< private serialize( input: CreateMitigationActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateMitigationActionCommand( input, @@ -80,7 +80,7 @@ export class CreateMitigationActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateMitigationActionCommand( output, diff --git a/clients/client-iot/commands/CreateOTAUpdateCommand.ts b/clients/client-iot/commands/CreateOTAUpdateCommand.ts index ff084c545050..81684f9cfdfa 100644 --- a/clients/client-iot/commands/CreateOTAUpdateCommand.ts +++ b/clients/client-iot/commands/CreateOTAUpdateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateOTAUpdateCommandInput = CreateOTAUpdateRequest; @@ -67,14 +67,14 @@ export class CreateOTAUpdateCommand extends $Command< private serialize( input: CreateOTAUpdateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateOTAUpdateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateOTAUpdateCommand(output, context); } diff --git a/clients/client-iot/commands/CreatePolicyCommand.ts b/clients/client-iot/commands/CreatePolicyCommand.ts index 97de615b56a8..42e1c0c165f9 100644 --- a/clients/client-iot/commands/CreatePolicyCommand.ts +++ b/clients/client-iot/commands/CreatePolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePolicyCommandInput = CreatePolicyRequest; @@ -64,14 +64,14 @@ export class CreatePolicyCommand extends $Command< private serialize( input: CreatePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePolicyCommand(output, context); } diff --git a/clients/client-iot/commands/CreatePolicyVersionCommand.ts b/clients/client-iot/commands/CreatePolicyVersionCommand.ts index 04c5563d5b92..d3c613c856be 100644 --- a/clients/client-iot/commands/CreatePolicyVersionCommand.ts +++ b/clients/client-iot/commands/CreatePolicyVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePolicyVersionCommandInput = CreatePolicyVersionRequest; @@ -70,14 +70,14 @@ export class CreatePolicyVersionCommand extends $Command< private serialize( input: CreatePolicyVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePolicyVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePolicyVersionCommand( output, diff --git a/clients/client-iot/commands/CreateProvisioningClaimCommand.ts b/clients/client-iot/commands/CreateProvisioningClaimCommand.ts index 6528bd2603b6..60b86cc5389d 100644 --- a/clients/client-iot/commands/CreateProvisioningClaimCommand.ts +++ b/clients/client-iot/commands/CreateProvisioningClaimCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProvisioningClaimCommandInput = CreateProvisioningClaimRequest; @@ -70,7 +70,7 @@ export class CreateProvisioningClaimCommand extends $Command< private serialize( input: CreateProvisioningClaimCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateProvisioningClaimCommand( input, @@ -80,7 +80,7 @@ export class CreateProvisioningClaimCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateProvisioningClaimCommand( output, diff --git a/clients/client-iot/commands/CreateProvisioningTemplateCommand.ts b/clients/client-iot/commands/CreateProvisioningTemplateCommand.ts index e51728793afb..c6f890215b35 100644 --- a/clients/client-iot/commands/CreateProvisioningTemplateCommand.ts +++ b/clients/client-iot/commands/CreateProvisioningTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProvisioningTemplateCommandInput = CreateProvisioningTemplateRequest; @@ -70,7 +70,7 @@ export class CreateProvisioningTemplateCommand extends $Command< private serialize( input: CreateProvisioningTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateProvisioningTemplateCommand( input, @@ -80,7 +80,7 @@ export class CreateProvisioningTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateProvisioningTemplateCommand( output, diff --git a/clients/client-iot/commands/CreateProvisioningTemplateVersionCommand.ts b/clients/client-iot/commands/CreateProvisioningTemplateVersionCommand.ts index be5b1da070d5..9fd48b7ea0a8 100644 --- a/clients/client-iot/commands/CreateProvisioningTemplateVersionCommand.ts +++ b/clients/client-iot/commands/CreateProvisioningTemplateVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProvisioningTemplateVersionCommandInput = CreateProvisioningTemplateVersionRequest; @@ -70,7 +70,7 @@ export class CreateProvisioningTemplateVersionCommand extends $Command< private serialize( input: CreateProvisioningTemplateVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateProvisioningTemplateVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateProvisioningTemplateVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateProvisioningTemplateVersionCommand( output, diff --git a/clients/client-iot/commands/CreateRoleAliasCommand.ts b/clients/client-iot/commands/CreateRoleAliasCommand.ts index ff900be76984..f3c4dd8dadd9 100644 --- a/clients/client-iot/commands/CreateRoleAliasCommand.ts +++ b/clients/client-iot/commands/CreateRoleAliasCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRoleAliasCommandInput = CreateRoleAliasRequest; @@ -67,14 +67,14 @@ export class CreateRoleAliasCommand extends $Command< private serialize( input: CreateRoleAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRoleAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRoleAliasCommand(output, context); } diff --git a/clients/client-iot/commands/CreateScheduledAuditCommand.ts b/clients/client-iot/commands/CreateScheduledAuditCommand.ts index c20ec255983e..2cbb5f52511e 100644 --- a/clients/client-iot/commands/CreateScheduledAuditCommand.ts +++ b/clients/client-iot/commands/CreateScheduledAuditCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateScheduledAuditCommandInput = CreateScheduledAuditRequest; @@ -70,14 +70,14 @@ export class CreateScheduledAuditCommand extends $Command< private serialize( input: CreateScheduledAuditCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateScheduledAuditCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateScheduledAuditCommand( output, diff --git a/clients/client-iot/commands/CreateSecurityProfileCommand.ts b/clients/client-iot/commands/CreateSecurityProfileCommand.ts index ecd864db4ea7..cf5ec9d89598 100644 --- a/clients/client-iot/commands/CreateSecurityProfileCommand.ts +++ b/clients/client-iot/commands/CreateSecurityProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSecurityProfileCommandInput = CreateSecurityProfileRequest; @@ -70,14 +70,14 @@ export class CreateSecurityProfileCommand extends $Command< private serialize( input: CreateSecurityProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSecurityProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSecurityProfileCommand( output, diff --git a/clients/client-iot/commands/CreateStreamCommand.ts b/clients/client-iot/commands/CreateStreamCommand.ts index edaa000aef23..10b0d38f72bd 100644 --- a/clients/client-iot/commands/CreateStreamCommand.ts +++ b/clients/client-iot/commands/CreateStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStreamCommandInput = CreateStreamRequest; @@ -64,14 +64,14 @@ export class CreateStreamCommand extends $Command< private serialize( input: CreateStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateStreamCommand(output, context); } diff --git a/clients/client-iot/commands/CreateThingCommand.ts b/clients/client-iot/commands/CreateThingCommand.ts index 0d8fe8656db9..c765434b90d4 100644 --- a/clients/client-iot/commands/CreateThingCommand.ts +++ b/clients/client-iot/commands/CreateThingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateThingCommandInput = CreateThingRequest; @@ -64,14 +64,14 @@ export class CreateThingCommand extends $Command< private serialize( input: CreateThingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateThingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateThingCommand(output, context); } diff --git a/clients/client-iot/commands/CreateThingGroupCommand.ts b/clients/client-iot/commands/CreateThingGroupCommand.ts index edafe288a35f..c0b91c1a1cc9 100644 --- a/clients/client-iot/commands/CreateThingGroupCommand.ts +++ b/clients/client-iot/commands/CreateThingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateThingGroupCommandInput = CreateThingGroupRequest; @@ -67,14 +67,14 @@ export class CreateThingGroupCommand extends $Command< private serialize( input: CreateThingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateThingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateThingGroupCommand(output, context); } diff --git a/clients/client-iot/commands/CreateThingTypeCommand.ts b/clients/client-iot/commands/CreateThingTypeCommand.ts index dca1db768ff4..3c43618f00b4 100644 --- a/clients/client-iot/commands/CreateThingTypeCommand.ts +++ b/clients/client-iot/commands/CreateThingTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateThingTypeCommandInput = CreateThingTypeRequest; @@ -67,14 +67,14 @@ export class CreateThingTypeCommand extends $Command< private serialize( input: CreateThingTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateThingTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateThingTypeCommand(output, context); } diff --git a/clients/client-iot/commands/CreateTopicRuleCommand.ts b/clients/client-iot/commands/CreateTopicRuleCommand.ts index 2ae9d91118e4..6caf203f5767 100644 --- a/clients/client-iot/commands/CreateTopicRuleCommand.ts +++ b/clients/client-iot/commands/CreateTopicRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTopicRuleCommandInput = CreateTopicRuleRequest; @@ -65,14 +65,14 @@ export class CreateTopicRuleCommand extends $Command< private serialize( input: CreateTopicRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateTopicRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateTopicRuleCommand(output, context); } diff --git a/clients/client-iot/commands/CreateTopicRuleDestinationCommand.ts b/clients/client-iot/commands/CreateTopicRuleDestinationCommand.ts index 05e9c9c87600..b2f16bc53624 100644 --- a/clients/client-iot/commands/CreateTopicRuleDestinationCommand.ts +++ b/clients/client-iot/commands/CreateTopicRuleDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTopicRuleDestinationCommandInput = CreateTopicRuleDestinationRequest; @@ -70,7 +70,7 @@ export class CreateTopicRuleDestinationCommand extends $Command< private serialize( input: CreateTopicRuleDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateTopicRuleDestinationCommand( input, @@ -80,7 +80,7 @@ export class CreateTopicRuleDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateTopicRuleDestinationCommand( output, diff --git a/clients/client-iot/commands/DeleteAccountAuditConfigurationCommand.ts b/clients/client-iot/commands/DeleteAccountAuditConfigurationCommand.ts index 23be0902847e..70c8088ce62c 100644 --- a/clients/client-iot/commands/DeleteAccountAuditConfigurationCommand.ts +++ b/clients/client-iot/commands/DeleteAccountAuditConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAccountAuditConfigurationCommandInput = DeleteAccountAuditConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteAccountAuditConfigurationCommand extends $Command< private serialize( input: DeleteAccountAuditConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAccountAuditConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteAccountAuditConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAccountAuditConfigurationCommand( output, diff --git a/clients/client-iot/commands/DeleteAuthorizerCommand.ts b/clients/client-iot/commands/DeleteAuthorizerCommand.ts index 3675a3654196..4d3a0535abfb 100644 --- a/clients/client-iot/commands/DeleteAuthorizerCommand.ts +++ b/clients/client-iot/commands/DeleteAuthorizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAuthorizerCommandInput = DeleteAuthorizerRequest; @@ -67,14 +67,14 @@ export class DeleteAuthorizerCommand extends $Command< private serialize( input: DeleteAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAuthorizerCommand(output, context); } diff --git a/clients/client-iot/commands/DeleteBillingGroupCommand.ts b/clients/client-iot/commands/DeleteBillingGroupCommand.ts index 01c94a56fb32..9f50864d2e03 100644 --- a/clients/client-iot/commands/DeleteBillingGroupCommand.ts +++ b/clients/client-iot/commands/DeleteBillingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBillingGroupCommandInput = DeleteBillingGroupRequest; @@ -67,14 +67,14 @@ export class DeleteBillingGroupCommand extends $Command< private serialize( input: DeleteBillingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBillingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBillingGroupCommand(output, context); } diff --git a/clients/client-iot/commands/DeleteCACertificateCommand.ts b/clients/client-iot/commands/DeleteCACertificateCommand.ts index d549a4ad968a..c8072b312a62 100644 --- a/clients/client-iot/commands/DeleteCACertificateCommand.ts +++ b/clients/client-iot/commands/DeleteCACertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCACertificateCommandInput = DeleteCACertificateRequest; @@ -70,14 +70,14 @@ export class DeleteCACertificateCommand extends $Command< private serialize( input: DeleteCACertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteCACertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteCACertificateCommand( output, diff --git a/clients/client-iot/commands/DeleteCertificateCommand.ts b/clients/client-iot/commands/DeleteCertificateCommand.ts index e10e5d0a42a1..7f98a7bccc85 100644 --- a/clients/client-iot/commands/DeleteCertificateCommand.ts +++ b/clients/client-iot/commands/DeleteCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCertificateCommandInput = DeleteCertificateRequest; @@ -65,14 +65,14 @@ export class DeleteCertificateCommand extends $Command< private serialize( input: DeleteCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteCertificateCommand(output, context); } diff --git a/clients/client-iot/commands/DeleteDomainConfigurationCommand.ts b/clients/client-iot/commands/DeleteDomainConfigurationCommand.ts index 52ee6310c010..464c8f7e084f 100644 --- a/clients/client-iot/commands/DeleteDomainConfigurationCommand.ts +++ b/clients/client-iot/commands/DeleteDomainConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDomainConfigurationCommandInput = DeleteDomainConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteDomainConfigurationCommand extends $Command< private serialize( input: DeleteDomainConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDomainConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteDomainConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDomainConfigurationCommand( output, diff --git a/clients/client-iot/commands/DeleteDynamicThingGroupCommand.ts b/clients/client-iot/commands/DeleteDynamicThingGroupCommand.ts index 106a0de99989..c826781e819d 100644 --- a/clients/client-iot/commands/DeleteDynamicThingGroupCommand.ts +++ b/clients/client-iot/commands/DeleteDynamicThingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDynamicThingGroupCommandInput = DeleteDynamicThingGroupRequest; @@ -70,7 +70,7 @@ export class DeleteDynamicThingGroupCommand extends $Command< private serialize( input: DeleteDynamicThingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDynamicThingGroupCommand( input, @@ -80,7 +80,7 @@ export class DeleteDynamicThingGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDynamicThingGroupCommand( output, diff --git a/clients/client-iot/commands/DeleteJobCommand.ts b/clients/client-iot/commands/DeleteJobCommand.ts index c2c6d497d49f..7ec83958f6cb 100644 --- a/clients/client-iot/commands/DeleteJobCommand.ts +++ b/clients/client-iot/commands/DeleteJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteJobCommandInput = DeleteJobRequest; @@ -65,14 +65,14 @@ export class DeleteJobCommand extends $Command< private serialize( input: DeleteJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteJobCommand(output, context); } diff --git a/clients/client-iot/commands/DeleteJobExecutionCommand.ts b/clients/client-iot/commands/DeleteJobExecutionCommand.ts index 9a86e2ccac4a..df1211e77857 100644 --- a/clients/client-iot/commands/DeleteJobExecutionCommand.ts +++ b/clients/client-iot/commands/DeleteJobExecutionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteJobExecutionCommandInput = DeleteJobExecutionRequest; @@ -65,14 +65,14 @@ export class DeleteJobExecutionCommand extends $Command< private serialize( input: DeleteJobExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteJobExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteJobExecutionCommand(output, context); } diff --git a/clients/client-iot/commands/DeleteMitigationActionCommand.ts b/clients/client-iot/commands/DeleteMitigationActionCommand.ts index edf2cafc4ab9..00db9a7410b9 100644 --- a/clients/client-iot/commands/DeleteMitigationActionCommand.ts +++ b/clients/client-iot/commands/DeleteMitigationActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMitigationActionCommandInput = DeleteMitigationActionRequest; @@ -70,7 +70,7 @@ export class DeleteMitigationActionCommand extends $Command< private serialize( input: DeleteMitigationActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMitigationActionCommand( input, @@ -80,7 +80,7 @@ export class DeleteMitigationActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMitigationActionCommand( output, diff --git a/clients/client-iot/commands/DeleteOTAUpdateCommand.ts b/clients/client-iot/commands/DeleteOTAUpdateCommand.ts index 103f5029391e..12e327202972 100644 --- a/clients/client-iot/commands/DeleteOTAUpdateCommand.ts +++ b/clients/client-iot/commands/DeleteOTAUpdateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteOTAUpdateCommandInput = DeleteOTAUpdateRequest; @@ -67,14 +67,14 @@ export class DeleteOTAUpdateCommand extends $Command< private serialize( input: DeleteOTAUpdateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteOTAUpdateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteOTAUpdateCommand(output, context); } diff --git a/clients/client-iot/commands/DeletePolicyCommand.ts b/clients/client-iot/commands/DeletePolicyCommand.ts index 1db0da3a7d47..c356ac43e736 100644 --- a/clients/client-iot/commands/DeletePolicyCommand.ts +++ b/clients/client-iot/commands/DeletePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePolicyCommandInput = DeletePolicyRequest; @@ -65,14 +65,14 @@ export class DeletePolicyCommand extends $Command< private serialize( input: DeletePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePolicyCommand(output, context); } diff --git a/clients/client-iot/commands/DeletePolicyVersionCommand.ts b/clients/client-iot/commands/DeletePolicyVersionCommand.ts index 65a8bd0cff07..6948322e9e6e 100644 --- a/clients/client-iot/commands/DeletePolicyVersionCommand.ts +++ b/clients/client-iot/commands/DeletePolicyVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePolicyVersionCommandInput = DeletePolicyVersionRequest; @@ -68,14 +68,14 @@ export class DeletePolicyVersionCommand extends $Command< private serialize( input: DeletePolicyVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePolicyVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePolicyVersionCommand( output, diff --git a/clients/client-iot/commands/DeleteProvisioningTemplateCommand.ts b/clients/client-iot/commands/DeleteProvisioningTemplateCommand.ts index f02a149b20b7..cdb903443544 100644 --- a/clients/client-iot/commands/DeleteProvisioningTemplateCommand.ts +++ b/clients/client-iot/commands/DeleteProvisioningTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProvisioningTemplateCommandInput = DeleteProvisioningTemplateRequest; @@ -70,7 +70,7 @@ export class DeleteProvisioningTemplateCommand extends $Command< private serialize( input: DeleteProvisioningTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteProvisioningTemplateCommand( input, @@ -80,7 +80,7 @@ export class DeleteProvisioningTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteProvisioningTemplateCommand( output, diff --git a/clients/client-iot/commands/DeleteProvisioningTemplateVersionCommand.ts b/clients/client-iot/commands/DeleteProvisioningTemplateVersionCommand.ts index 0c811064398a..d658cdafa97d 100644 --- a/clients/client-iot/commands/DeleteProvisioningTemplateVersionCommand.ts +++ b/clients/client-iot/commands/DeleteProvisioningTemplateVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProvisioningTemplateVersionCommandInput = DeleteProvisioningTemplateVersionRequest; @@ -70,7 +70,7 @@ export class DeleteProvisioningTemplateVersionCommand extends $Command< private serialize( input: DeleteProvisioningTemplateVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteProvisioningTemplateVersionCommand( input, @@ -80,7 +80,7 @@ export class DeleteProvisioningTemplateVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteProvisioningTemplateVersionCommand( output, diff --git a/clients/client-iot/commands/DeleteRegistrationCodeCommand.ts b/clients/client-iot/commands/DeleteRegistrationCodeCommand.ts index 2fc2e572d299..56de4bed398c 100644 --- a/clients/client-iot/commands/DeleteRegistrationCodeCommand.ts +++ b/clients/client-iot/commands/DeleteRegistrationCodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRegistrationCodeCommandInput = DeleteRegistrationCodeRequest; @@ -70,7 +70,7 @@ export class DeleteRegistrationCodeCommand extends $Command< private serialize( input: DeleteRegistrationCodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRegistrationCodeCommand( input, @@ -80,7 +80,7 @@ export class DeleteRegistrationCodeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRegistrationCodeCommand( output, diff --git a/clients/client-iot/commands/DeleteRoleAliasCommand.ts b/clients/client-iot/commands/DeleteRoleAliasCommand.ts index 93391876b3cb..399527da6ca2 100644 --- a/clients/client-iot/commands/DeleteRoleAliasCommand.ts +++ b/clients/client-iot/commands/DeleteRoleAliasCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRoleAliasCommandInput = DeleteRoleAliasRequest; @@ -67,14 +67,14 @@ export class DeleteRoleAliasCommand extends $Command< private serialize( input: DeleteRoleAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRoleAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRoleAliasCommand(output, context); } diff --git a/clients/client-iot/commands/DeleteScheduledAuditCommand.ts b/clients/client-iot/commands/DeleteScheduledAuditCommand.ts index b3e97b3d8d66..e80f07f7e576 100644 --- a/clients/client-iot/commands/DeleteScheduledAuditCommand.ts +++ b/clients/client-iot/commands/DeleteScheduledAuditCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteScheduledAuditCommandInput = DeleteScheduledAuditRequest; @@ -70,14 +70,14 @@ export class DeleteScheduledAuditCommand extends $Command< private serialize( input: DeleteScheduledAuditCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteScheduledAuditCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteScheduledAuditCommand( output, diff --git a/clients/client-iot/commands/DeleteSecurityProfileCommand.ts b/clients/client-iot/commands/DeleteSecurityProfileCommand.ts index dba0466d6dfc..a649470bfdd9 100644 --- a/clients/client-iot/commands/DeleteSecurityProfileCommand.ts +++ b/clients/client-iot/commands/DeleteSecurityProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSecurityProfileCommandInput = DeleteSecurityProfileRequest; @@ -70,14 +70,14 @@ export class DeleteSecurityProfileCommand extends $Command< private serialize( input: DeleteSecurityProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSecurityProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSecurityProfileCommand( output, diff --git a/clients/client-iot/commands/DeleteStreamCommand.ts b/clients/client-iot/commands/DeleteStreamCommand.ts index 47239bdcb7f3..895c266170eb 100644 --- a/clients/client-iot/commands/DeleteStreamCommand.ts +++ b/clients/client-iot/commands/DeleteStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStreamCommandInput = DeleteStreamRequest; @@ -64,14 +64,14 @@ export class DeleteStreamCommand extends $Command< private serialize( input: DeleteStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteStreamCommand(output, context); } diff --git a/clients/client-iot/commands/DeleteThingCommand.ts b/clients/client-iot/commands/DeleteThingCommand.ts index 282b49a7aced..806a30ac8463 100644 --- a/clients/client-iot/commands/DeleteThingCommand.ts +++ b/clients/client-iot/commands/DeleteThingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteThingCommandInput = DeleteThingRequest; @@ -64,14 +64,14 @@ export class DeleteThingCommand extends $Command< private serialize( input: DeleteThingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteThingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteThingCommand(output, context); } diff --git a/clients/client-iot/commands/DeleteThingGroupCommand.ts b/clients/client-iot/commands/DeleteThingGroupCommand.ts index 01c4646f09d7..1b9d06335115 100644 --- a/clients/client-iot/commands/DeleteThingGroupCommand.ts +++ b/clients/client-iot/commands/DeleteThingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteThingGroupCommandInput = DeleteThingGroupRequest; @@ -67,14 +67,14 @@ export class DeleteThingGroupCommand extends $Command< private serialize( input: DeleteThingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteThingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteThingGroupCommand(output, context); } diff --git a/clients/client-iot/commands/DeleteThingTypeCommand.ts b/clients/client-iot/commands/DeleteThingTypeCommand.ts index 6fdc5204c8c2..540be315200d 100644 --- a/clients/client-iot/commands/DeleteThingTypeCommand.ts +++ b/clients/client-iot/commands/DeleteThingTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteThingTypeCommandInput = DeleteThingTypeRequest; @@ -67,14 +67,14 @@ export class DeleteThingTypeCommand extends $Command< private serialize( input: DeleteThingTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteThingTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteThingTypeCommand(output, context); } diff --git a/clients/client-iot/commands/DeleteTopicRuleCommand.ts b/clients/client-iot/commands/DeleteTopicRuleCommand.ts index 40108b58c309..065c48e06032 100644 --- a/clients/client-iot/commands/DeleteTopicRuleCommand.ts +++ b/clients/client-iot/commands/DeleteTopicRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTopicRuleCommandInput = DeleteTopicRuleRequest; @@ -65,14 +65,14 @@ export class DeleteTopicRuleCommand extends $Command< private serialize( input: DeleteTopicRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteTopicRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteTopicRuleCommand(output, context); } diff --git a/clients/client-iot/commands/DeleteTopicRuleDestinationCommand.ts b/clients/client-iot/commands/DeleteTopicRuleDestinationCommand.ts index 24fad50408c4..260607f86f95 100644 --- a/clients/client-iot/commands/DeleteTopicRuleDestinationCommand.ts +++ b/clients/client-iot/commands/DeleteTopicRuleDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTopicRuleDestinationCommandInput = DeleteTopicRuleDestinationRequest; @@ -70,7 +70,7 @@ export class DeleteTopicRuleDestinationCommand extends $Command< private serialize( input: DeleteTopicRuleDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteTopicRuleDestinationCommand( input, @@ -80,7 +80,7 @@ export class DeleteTopicRuleDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteTopicRuleDestinationCommand( output, diff --git a/clients/client-iot/commands/DeleteV2LoggingLevelCommand.ts b/clients/client-iot/commands/DeleteV2LoggingLevelCommand.ts index 89bac390859a..567159b90a09 100644 --- a/clients/client-iot/commands/DeleteV2LoggingLevelCommand.ts +++ b/clients/client-iot/commands/DeleteV2LoggingLevelCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteV2LoggingLevelCommandInput = DeleteV2LoggingLevelRequest; @@ -68,14 +68,14 @@ export class DeleteV2LoggingLevelCommand extends $Command< private serialize( input: DeleteV2LoggingLevelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteV2LoggingLevelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteV2LoggingLevelCommand( output, diff --git a/clients/client-iot/commands/DeprecateThingTypeCommand.ts b/clients/client-iot/commands/DeprecateThingTypeCommand.ts index 8ccc7c3a66ac..5f728aeb2224 100644 --- a/clients/client-iot/commands/DeprecateThingTypeCommand.ts +++ b/clients/client-iot/commands/DeprecateThingTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeprecateThingTypeCommandInput = DeprecateThingTypeRequest; @@ -67,14 +67,14 @@ export class DeprecateThingTypeCommand extends $Command< private serialize( input: DeprecateThingTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeprecateThingTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeprecateThingTypeCommand(output, context); } diff --git a/clients/client-iot/commands/DescribeAccountAuditConfigurationCommand.ts b/clients/client-iot/commands/DescribeAccountAuditConfigurationCommand.ts index 7081f36838e7..afe150107079 100644 --- a/clients/client-iot/commands/DescribeAccountAuditConfigurationCommand.ts +++ b/clients/client-iot/commands/DescribeAccountAuditConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountAuditConfigurationCommandInput = DescribeAccountAuditConfigurationRequest; @@ -70,7 +70,7 @@ export class DescribeAccountAuditConfigurationCommand extends $Command< private serialize( input: DescribeAccountAuditConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeAccountAuditConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DescribeAccountAuditConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeAccountAuditConfigurationCommand( output, diff --git a/clients/client-iot/commands/DescribeAuditFindingCommand.ts b/clients/client-iot/commands/DescribeAuditFindingCommand.ts index 762ed21ff1bc..0359fba89e2e 100644 --- a/clients/client-iot/commands/DescribeAuditFindingCommand.ts +++ b/clients/client-iot/commands/DescribeAuditFindingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAuditFindingCommandInput = DescribeAuditFindingRequest; @@ -70,14 +70,14 @@ export class DescribeAuditFindingCommand extends $Command< private serialize( input: DescribeAuditFindingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeAuditFindingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeAuditFindingCommand( output, diff --git a/clients/client-iot/commands/DescribeAuditMitigationActionsTaskCommand.ts b/clients/client-iot/commands/DescribeAuditMitigationActionsTaskCommand.ts index 1563eaa4b4db..a91a5ddaa50c 100644 --- a/clients/client-iot/commands/DescribeAuditMitigationActionsTaskCommand.ts +++ b/clients/client-iot/commands/DescribeAuditMitigationActionsTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAuditMitigationActionsTaskCommandInput = DescribeAuditMitigationActionsTaskRequest; @@ -70,7 +70,7 @@ export class DescribeAuditMitigationActionsTaskCommand extends $Command< private serialize( input: DescribeAuditMitigationActionsTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeAuditMitigationActionsTaskCommand( input, @@ -80,7 +80,7 @@ export class DescribeAuditMitigationActionsTaskCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeAuditMitigationActionsTaskCommand( output, diff --git a/clients/client-iot/commands/DescribeAuditTaskCommand.ts b/clients/client-iot/commands/DescribeAuditTaskCommand.ts index 54b7d3a83058..0c2ed19d77f0 100644 --- a/clients/client-iot/commands/DescribeAuditTaskCommand.ts +++ b/clients/client-iot/commands/DescribeAuditTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAuditTaskCommandInput = DescribeAuditTaskRequest; @@ -67,14 +67,14 @@ export class DescribeAuditTaskCommand extends $Command< private serialize( input: DescribeAuditTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeAuditTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeAuditTaskCommand(output, context); } diff --git a/clients/client-iot/commands/DescribeAuthorizerCommand.ts b/clients/client-iot/commands/DescribeAuthorizerCommand.ts index 315e746a4570..92a9868d5b0e 100644 --- a/clients/client-iot/commands/DescribeAuthorizerCommand.ts +++ b/clients/client-iot/commands/DescribeAuthorizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAuthorizerCommandInput = DescribeAuthorizerRequest; @@ -67,14 +67,14 @@ export class DescribeAuthorizerCommand extends $Command< private serialize( input: DescribeAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeAuthorizerCommand(output, context); } diff --git a/clients/client-iot/commands/DescribeBillingGroupCommand.ts b/clients/client-iot/commands/DescribeBillingGroupCommand.ts index 576e9fdc797f..2bc2d54e0e76 100644 --- a/clients/client-iot/commands/DescribeBillingGroupCommand.ts +++ b/clients/client-iot/commands/DescribeBillingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBillingGroupCommandInput = DescribeBillingGroupRequest; @@ -70,14 +70,14 @@ export class DescribeBillingGroupCommand extends $Command< private serialize( input: DescribeBillingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeBillingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeBillingGroupCommand( output, diff --git a/clients/client-iot/commands/DescribeCACertificateCommand.ts b/clients/client-iot/commands/DescribeCACertificateCommand.ts index 338deb5d85df..2a4fb34344b4 100644 --- a/clients/client-iot/commands/DescribeCACertificateCommand.ts +++ b/clients/client-iot/commands/DescribeCACertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCACertificateCommandInput = DescribeCACertificateRequest; @@ -70,14 +70,14 @@ export class DescribeCACertificateCommand extends $Command< private serialize( input: DescribeCACertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeCACertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeCACertificateCommand( output, diff --git a/clients/client-iot/commands/DescribeCertificateCommand.ts b/clients/client-iot/commands/DescribeCertificateCommand.ts index 734059515daa..f21f140f22c7 100644 --- a/clients/client-iot/commands/DescribeCertificateCommand.ts +++ b/clients/client-iot/commands/DescribeCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCertificateCommandInput = DescribeCertificateRequest; @@ -70,14 +70,14 @@ export class DescribeCertificateCommand extends $Command< private serialize( input: DescribeCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeCertificateCommand( output, diff --git a/clients/client-iot/commands/DescribeDefaultAuthorizerCommand.ts b/clients/client-iot/commands/DescribeDefaultAuthorizerCommand.ts index 35bf20d4c988..fa55b4de362c 100644 --- a/clients/client-iot/commands/DescribeDefaultAuthorizerCommand.ts +++ b/clients/client-iot/commands/DescribeDefaultAuthorizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDefaultAuthorizerCommandInput = DescribeDefaultAuthorizerRequest; @@ -70,7 +70,7 @@ export class DescribeDefaultAuthorizerCommand extends $Command< private serialize( input: DescribeDefaultAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDefaultAuthorizerCommand( input, @@ -80,7 +80,7 @@ export class DescribeDefaultAuthorizerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDefaultAuthorizerCommand( output, diff --git a/clients/client-iot/commands/DescribeDomainConfigurationCommand.ts b/clients/client-iot/commands/DescribeDomainConfigurationCommand.ts index 3c99643eadfe..a7ecc13bd3d8 100644 --- a/clients/client-iot/commands/DescribeDomainConfigurationCommand.ts +++ b/clients/client-iot/commands/DescribeDomainConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDomainConfigurationCommandInput = DescribeDomainConfigurationRequest; @@ -70,7 +70,7 @@ export class DescribeDomainConfigurationCommand extends $Command< private serialize( input: DescribeDomainConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDomainConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DescribeDomainConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDomainConfigurationCommand( output, diff --git a/clients/client-iot/commands/DescribeEndpointCommand.ts b/clients/client-iot/commands/DescribeEndpointCommand.ts index cb6d59c2bf80..d6838f81bf6c 100644 --- a/clients/client-iot/commands/DescribeEndpointCommand.ts +++ b/clients/client-iot/commands/DescribeEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEndpointCommandInput = DescribeEndpointRequest; @@ -67,14 +67,14 @@ export class DescribeEndpointCommand extends $Command< private serialize( input: DescribeEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeEndpointCommand(output, context); } diff --git a/clients/client-iot/commands/DescribeEventConfigurationsCommand.ts b/clients/client-iot/commands/DescribeEventConfigurationsCommand.ts index a4c3b2ed847c..c09ab36a0e20 100644 --- a/clients/client-iot/commands/DescribeEventConfigurationsCommand.ts +++ b/clients/client-iot/commands/DescribeEventConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventConfigurationsCommandInput = DescribeEventConfigurationsRequest; @@ -70,7 +70,7 @@ export class DescribeEventConfigurationsCommand extends $Command< private serialize( input: DescribeEventConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeEventConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeEventConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeEventConfigurationsCommand( output, diff --git a/clients/client-iot/commands/DescribeIndexCommand.ts b/clients/client-iot/commands/DescribeIndexCommand.ts index b0f7b23f1dac..71bea158ad16 100644 --- a/clients/client-iot/commands/DescribeIndexCommand.ts +++ b/clients/client-iot/commands/DescribeIndexCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIndexCommandInput = DescribeIndexRequest; @@ -64,14 +64,14 @@ export class DescribeIndexCommand extends $Command< private serialize( input: DescribeIndexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeIndexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeIndexCommand(output, context); } diff --git a/clients/client-iot/commands/DescribeJobCommand.ts b/clients/client-iot/commands/DescribeJobCommand.ts index 05724c57a28b..00c346244e6b 100644 --- a/clients/client-iot/commands/DescribeJobCommand.ts +++ b/clients/client-iot/commands/DescribeJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeJobCommandInput = DescribeJobRequest; @@ -64,14 +64,14 @@ export class DescribeJobCommand extends $Command< private serialize( input: DescribeJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeJobCommand(output, context); } diff --git a/clients/client-iot/commands/DescribeJobExecutionCommand.ts b/clients/client-iot/commands/DescribeJobExecutionCommand.ts index ad434b3bde46..87a611c151fa 100644 --- a/clients/client-iot/commands/DescribeJobExecutionCommand.ts +++ b/clients/client-iot/commands/DescribeJobExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeJobExecutionCommandInput = DescribeJobExecutionRequest; @@ -70,14 +70,14 @@ export class DescribeJobExecutionCommand extends $Command< private serialize( input: DescribeJobExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeJobExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeJobExecutionCommand( output, diff --git a/clients/client-iot/commands/DescribeMitigationActionCommand.ts b/clients/client-iot/commands/DescribeMitigationActionCommand.ts index c5f890f8d3fc..92aeef47a518 100644 --- a/clients/client-iot/commands/DescribeMitigationActionCommand.ts +++ b/clients/client-iot/commands/DescribeMitigationActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMitigationActionCommandInput = DescribeMitigationActionRequest; @@ -70,7 +70,7 @@ export class DescribeMitigationActionCommand extends $Command< private serialize( input: DescribeMitigationActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeMitigationActionCommand( input, @@ -80,7 +80,7 @@ export class DescribeMitigationActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeMitigationActionCommand( output, diff --git a/clients/client-iot/commands/DescribeProvisioningTemplateCommand.ts b/clients/client-iot/commands/DescribeProvisioningTemplateCommand.ts index 5ef689903c41..a4ee261d6db6 100644 --- a/clients/client-iot/commands/DescribeProvisioningTemplateCommand.ts +++ b/clients/client-iot/commands/DescribeProvisioningTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProvisioningTemplateCommandInput = DescribeProvisioningTemplateRequest; @@ -70,7 +70,7 @@ export class DescribeProvisioningTemplateCommand extends $Command< private serialize( input: DescribeProvisioningTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeProvisioningTemplateCommand( input, @@ -80,7 +80,7 @@ export class DescribeProvisioningTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeProvisioningTemplateCommand( output, diff --git a/clients/client-iot/commands/DescribeProvisioningTemplateVersionCommand.ts b/clients/client-iot/commands/DescribeProvisioningTemplateVersionCommand.ts index 96e5292d8132..dcceb320fcf4 100644 --- a/clients/client-iot/commands/DescribeProvisioningTemplateVersionCommand.ts +++ b/clients/client-iot/commands/DescribeProvisioningTemplateVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProvisioningTemplateVersionCommandInput = DescribeProvisioningTemplateVersionRequest; @@ -70,7 +70,7 @@ export class DescribeProvisioningTemplateVersionCommand extends $Command< private serialize( input: DescribeProvisioningTemplateVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeProvisioningTemplateVersionCommand( input, @@ -80,7 +80,7 @@ export class DescribeProvisioningTemplateVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeProvisioningTemplateVersionCommand( output, diff --git a/clients/client-iot/commands/DescribeRoleAliasCommand.ts b/clients/client-iot/commands/DescribeRoleAliasCommand.ts index 53da8376dba5..d9bf700bbc30 100644 --- a/clients/client-iot/commands/DescribeRoleAliasCommand.ts +++ b/clients/client-iot/commands/DescribeRoleAliasCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRoleAliasCommandInput = DescribeRoleAliasRequest; @@ -67,14 +67,14 @@ export class DescribeRoleAliasCommand extends $Command< private serialize( input: DescribeRoleAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeRoleAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeRoleAliasCommand(output, context); } diff --git a/clients/client-iot/commands/DescribeScheduledAuditCommand.ts b/clients/client-iot/commands/DescribeScheduledAuditCommand.ts index 8c185b52487d..a57122cb6a23 100644 --- a/clients/client-iot/commands/DescribeScheduledAuditCommand.ts +++ b/clients/client-iot/commands/DescribeScheduledAuditCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScheduledAuditCommandInput = DescribeScheduledAuditRequest; @@ -70,7 +70,7 @@ export class DescribeScheduledAuditCommand extends $Command< private serialize( input: DescribeScheduledAuditCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeScheduledAuditCommand( input, @@ -80,7 +80,7 @@ export class DescribeScheduledAuditCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeScheduledAuditCommand( output, diff --git a/clients/client-iot/commands/DescribeSecurityProfileCommand.ts b/clients/client-iot/commands/DescribeSecurityProfileCommand.ts index 268ca1308a73..d856d4ae7218 100644 --- a/clients/client-iot/commands/DescribeSecurityProfileCommand.ts +++ b/clients/client-iot/commands/DescribeSecurityProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSecurityProfileCommandInput = DescribeSecurityProfileRequest; @@ -70,7 +70,7 @@ export class DescribeSecurityProfileCommand extends $Command< private serialize( input: DescribeSecurityProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeSecurityProfileCommand( input, @@ -80,7 +80,7 @@ export class DescribeSecurityProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeSecurityProfileCommand( output, diff --git a/clients/client-iot/commands/DescribeStreamCommand.ts b/clients/client-iot/commands/DescribeStreamCommand.ts index 9e13667c5b3a..6b8fe930dc77 100644 --- a/clients/client-iot/commands/DescribeStreamCommand.ts +++ b/clients/client-iot/commands/DescribeStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStreamCommandInput = DescribeStreamRequest; @@ -64,14 +64,14 @@ export class DescribeStreamCommand extends $Command< private serialize( input: DescribeStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeStreamCommand(output, context); } diff --git a/clients/client-iot/commands/DescribeThingCommand.ts b/clients/client-iot/commands/DescribeThingCommand.ts index c6bed2f9224c..85c0ef75955d 100644 --- a/clients/client-iot/commands/DescribeThingCommand.ts +++ b/clients/client-iot/commands/DescribeThingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeThingCommandInput = DescribeThingRequest; @@ -64,14 +64,14 @@ export class DescribeThingCommand extends $Command< private serialize( input: DescribeThingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeThingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeThingCommand(output, context); } diff --git a/clients/client-iot/commands/DescribeThingGroupCommand.ts b/clients/client-iot/commands/DescribeThingGroupCommand.ts index 585403a64013..6f5fe2e3a97a 100644 --- a/clients/client-iot/commands/DescribeThingGroupCommand.ts +++ b/clients/client-iot/commands/DescribeThingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeThingGroupCommandInput = DescribeThingGroupRequest; @@ -67,14 +67,14 @@ export class DescribeThingGroupCommand extends $Command< private serialize( input: DescribeThingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeThingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeThingGroupCommand(output, context); } diff --git a/clients/client-iot/commands/DescribeThingRegistrationTaskCommand.ts b/clients/client-iot/commands/DescribeThingRegistrationTaskCommand.ts index 385d510311ff..76ce77494cb7 100644 --- a/clients/client-iot/commands/DescribeThingRegistrationTaskCommand.ts +++ b/clients/client-iot/commands/DescribeThingRegistrationTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeThingRegistrationTaskCommandInput = DescribeThingRegistrationTaskRequest; @@ -70,7 +70,7 @@ export class DescribeThingRegistrationTaskCommand extends $Command< private serialize( input: DescribeThingRegistrationTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeThingRegistrationTaskCommand( input, @@ -80,7 +80,7 @@ export class DescribeThingRegistrationTaskCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeThingRegistrationTaskCommand( output, diff --git a/clients/client-iot/commands/DescribeThingTypeCommand.ts b/clients/client-iot/commands/DescribeThingTypeCommand.ts index 2ed6fad6b4e1..280732fcfee7 100644 --- a/clients/client-iot/commands/DescribeThingTypeCommand.ts +++ b/clients/client-iot/commands/DescribeThingTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeThingTypeCommandInput = DescribeThingTypeRequest; @@ -67,14 +67,14 @@ export class DescribeThingTypeCommand extends $Command< private serialize( input: DescribeThingTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeThingTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeThingTypeCommand(output, context); } diff --git a/clients/client-iot/commands/DetachPolicyCommand.ts b/clients/client-iot/commands/DetachPolicyCommand.ts index f4d891448723..5cd00c2c4911 100644 --- a/clients/client-iot/commands/DetachPolicyCommand.ts +++ b/clients/client-iot/commands/DetachPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachPolicyCommandInput = DetachPolicyRequest; @@ -65,14 +65,14 @@ export class DetachPolicyCommand extends $Command< private serialize( input: DetachPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DetachPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DetachPolicyCommand(output, context); } diff --git a/clients/client-iot/commands/DetachPrincipalPolicyCommand.ts b/clients/client-iot/commands/DetachPrincipalPolicyCommand.ts index 9494e891115f..bb10451330ab 100644 --- a/clients/client-iot/commands/DetachPrincipalPolicyCommand.ts +++ b/clients/client-iot/commands/DetachPrincipalPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachPrincipalPolicyCommandInput = DetachPrincipalPolicyRequest; @@ -68,14 +68,14 @@ export class DetachPrincipalPolicyCommand extends $Command< private serialize( input: DetachPrincipalPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DetachPrincipalPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DetachPrincipalPolicyCommand( output, diff --git a/clients/client-iot/commands/DetachSecurityProfileCommand.ts b/clients/client-iot/commands/DetachSecurityProfileCommand.ts index 21a2a844a16e..0394aae0a9d2 100644 --- a/clients/client-iot/commands/DetachSecurityProfileCommand.ts +++ b/clients/client-iot/commands/DetachSecurityProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachSecurityProfileCommandInput = DetachSecurityProfileRequest; @@ -70,14 +70,14 @@ export class DetachSecurityProfileCommand extends $Command< private serialize( input: DetachSecurityProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DetachSecurityProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DetachSecurityProfileCommand( output, diff --git a/clients/client-iot/commands/DetachThingPrincipalCommand.ts b/clients/client-iot/commands/DetachThingPrincipalCommand.ts index 29f2cf2a819f..e1ac143276d3 100644 --- a/clients/client-iot/commands/DetachThingPrincipalCommand.ts +++ b/clients/client-iot/commands/DetachThingPrincipalCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachThingPrincipalCommandInput = DetachThingPrincipalRequest; @@ -70,14 +70,14 @@ export class DetachThingPrincipalCommand extends $Command< private serialize( input: DetachThingPrincipalCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DetachThingPrincipalCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DetachThingPrincipalCommand( output, diff --git a/clients/client-iot/commands/DisableTopicRuleCommand.ts b/clients/client-iot/commands/DisableTopicRuleCommand.ts index 7cb3e9e61792..c7d8edd1859b 100644 --- a/clients/client-iot/commands/DisableTopicRuleCommand.ts +++ b/clients/client-iot/commands/DisableTopicRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableTopicRuleCommandInput = DisableTopicRuleRequest; @@ -65,14 +65,14 @@ export class DisableTopicRuleCommand extends $Command< private serialize( input: DisableTopicRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisableTopicRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisableTopicRuleCommand(output, context); } diff --git a/clients/client-iot/commands/EnableTopicRuleCommand.ts b/clients/client-iot/commands/EnableTopicRuleCommand.ts index b49688671f9a..4267105eaeb2 100644 --- a/clients/client-iot/commands/EnableTopicRuleCommand.ts +++ b/clients/client-iot/commands/EnableTopicRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableTopicRuleCommandInput = EnableTopicRuleRequest; @@ -65,14 +65,14 @@ export class EnableTopicRuleCommand extends $Command< private serialize( input: EnableTopicRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1EnableTopicRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1EnableTopicRuleCommand(output, context); } diff --git a/clients/client-iot/commands/GetCardinalityCommand.ts b/clients/client-iot/commands/GetCardinalityCommand.ts index 2dfe39d6522e..a146b6f275e5 100644 --- a/clients/client-iot/commands/GetCardinalityCommand.ts +++ b/clients/client-iot/commands/GetCardinalityCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCardinalityCommandInput = GetCardinalityRequest; @@ -64,14 +64,14 @@ export class GetCardinalityCommand extends $Command< private serialize( input: GetCardinalityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCardinalityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCardinalityCommand(output, context); } diff --git a/clients/client-iot/commands/GetEffectivePoliciesCommand.ts b/clients/client-iot/commands/GetEffectivePoliciesCommand.ts index cb091b2e8120..da75dc446e20 100644 --- a/clients/client-iot/commands/GetEffectivePoliciesCommand.ts +++ b/clients/client-iot/commands/GetEffectivePoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEffectivePoliciesCommandInput = GetEffectivePoliciesRequest; @@ -70,14 +70,14 @@ export class GetEffectivePoliciesCommand extends $Command< private serialize( input: GetEffectivePoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEffectivePoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEffectivePoliciesCommand( output, diff --git a/clients/client-iot/commands/GetIndexingConfigurationCommand.ts b/clients/client-iot/commands/GetIndexingConfigurationCommand.ts index 9420a6336135..f112dbd08bf6 100644 --- a/clients/client-iot/commands/GetIndexingConfigurationCommand.ts +++ b/clients/client-iot/commands/GetIndexingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIndexingConfigurationCommandInput = GetIndexingConfigurationRequest; @@ -70,7 +70,7 @@ export class GetIndexingConfigurationCommand extends $Command< private serialize( input: GetIndexingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIndexingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class GetIndexingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIndexingConfigurationCommand( output, diff --git a/clients/client-iot/commands/GetJobDocumentCommand.ts b/clients/client-iot/commands/GetJobDocumentCommand.ts index 20a68d4cb132..acf49755ce75 100644 --- a/clients/client-iot/commands/GetJobDocumentCommand.ts +++ b/clients/client-iot/commands/GetJobDocumentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobDocumentCommandInput = GetJobDocumentRequest; @@ -64,14 +64,14 @@ export class GetJobDocumentCommand extends $Command< private serialize( input: GetJobDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetJobDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetJobDocumentCommand(output, context); } diff --git a/clients/client-iot/commands/GetLoggingOptionsCommand.ts b/clients/client-iot/commands/GetLoggingOptionsCommand.ts index 7ea08f35570d..01a049fb5101 100644 --- a/clients/client-iot/commands/GetLoggingOptionsCommand.ts +++ b/clients/client-iot/commands/GetLoggingOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLoggingOptionsCommandInput = GetLoggingOptionsRequest; @@ -67,14 +67,14 @@ export class GetLoggingOptionsCommand extends $Command< private serialize( input: GetLoggingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLoggingOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLoggingOptionsCommand(output, context); } diff --git a/clients/client-iot/commands/GetOTAUpdateCommand.ts b/clients/client-iot/commands/GetOTAUpdateCommand.ts index b4ca1e754139..a93c1c6008ba 100644 --- a/clients/client-iot/commands/GetOTAUpdateCommand.ts +++ b/clients/client-iot/commands/GetOTAUpdateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOTAUpdateCommandInput = GetOTAUpdateRequest; @@ -64,14 +64,14 @@ export class GetOTAUpdateCommand extends $Command< private serialize( input: GetOTAUpdateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetOTAUpdateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetOTAUpdateCommand(output, context); } diff --git a/clients/client-iot/commands/GetPercentilesCommand.ts b/clients/client-iot/commands/GetPercentilesCommand.ts index 22b698a503aa..ba1a4aa8e6f5 100644 --- a/clients/client-iot/commands/GetPercentilesCommand.ts +++ b/clients/client-iot/commands/GetPercentilesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPercentilesCommandInput = GetPercentilesRequest; @@ -64,14 +64,14 @@ export class GetPercentilesCommand extends $Command< private serialize( input: GetPercentilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPercentilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPercentilesCommand(output, context); } diff --git a/clients/client-iot/commands/GetPolicyCommand.ts b/clients/client-iot/commands/GetPolicyCommand.ts index da4ff793d5a5..fc858d3c467e 100644 --- a/clients/client-iot/commands/GetPolicyCommand.ts +++ b/clients/client-iot/commands/GetPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPolicyCommandInput = GetPolicyRequest; @@ -64,14 +64,14 @@ export class GetPolicyCommand extends $Command< private serialize( input: GetPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPolicyCommand(output, context); } diff --git a/clients/client-iot/commands/GetPolicyVersionCommand.ts b/clients/client-iot/commands/GetPolicyVersionCommand.ts index b9a38c0a5d69..7e479c874fd3 100644 --- a/clients/client-iot/commands/GetPolicyVersionCommand.ts +++ b/clients/client-iot/commands/GetPolicyVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPolicyVersionCommandInput = GetPolicyVersionRequest; @@ -67,14 +67,14 @@ export class GetPolicyVersionCommand extends $Command< private serialize( input: GetPolicyVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPolicyVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPolicyVersionCommand(output, context); } diff --git a/clients/client-iot/commands/GetRegistrationCodeCommand.ts b/clients/client-iot/commands/GetRegistrationCodeCommand.ts index b21959405f91..cba8fe26bbd5 100644 --- a/clients/client-iot/commands/GetRegistrationCodeCommand.ts +++ b/clients/client-iot/commands/GetRegistrationCodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRegistrationCodeCommandInput = GetRegistrationCodeRequest; @@ -70,14 +70,14 @@ export class GetRegistrationCodeCommand extends $Command< private serialize( input: GetRegistrationCodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRegistrationCodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRegistrationCodeCommand( output, diff --git a/clients/client-iot/commands/GetStatisticsCommand.ts b/clients/client-iot/commands/GetStatisticsCommand.ts index 318f0b73b723..95c9ddcf641a 100644 --- a/clients/client-iot/commands/GetStatisticsCommand.ts +++ b/clients/client-iot/commands/GetStatisticsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetStatisticsCommandInput = GetStatisticsRequest; @@ -64,14 +64,14 @@ export class GetStatisticsCommand extends $Command< private serialize( input: GetStatisticsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetStatisticsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetStatisticsCommand(output, context); } diff --git a/clients/client-iot/commands/GetTopicRuleCommand.ts b/clients/client-iot/commands/GetTopicRuleCommand.ts index 4edae36e58b9..24fd0ca590ca 100644 --- a/clients/client-iot/commands/GetTopicRuleCommand.ts +++ b/clients/client-iot/commands/GetTopicRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTopicRuleCommandInput = GetTopicRuleRequest; @@ -64,14 +64,14 @@ export class GetTopicRuleCommand extends $Command< private serialize( input: GetTopicRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTopicRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTopicRuleCommand(output, context); } diff --git a/clients/client-iot/commands/GetTopicRuleDestinationCommand.ts b/clients/client-iot/commands/GetTopicRuleDestinationCommand.ts index a59f15e6b3ad..856d50b252cb 100644 --- a/clients/client-iot/commands/GetTopicRuleDestinationCommand.ts +++ b/clients/client-iot/commands/GetTopicRuleDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTopicRuleDestinationCommandInput = GetTopicRuleDestinationRequest; @@ -70,7 +70,7 @@ export class GetTopicRuleDestinationCommand extends $Command< private serialize( input: GetTopicRuleDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTopicRuleDestinationCommand( input, @@ -80,7 +80,7 @@ export class GetTopicRuleDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTopicRuleDestinationCommand( output, diff --git a/clients/client-iot/commands/GetV2LoggingOptionsCommand.ts b/clients/client-iot/commands/GetV2LoggingOptionsCommand.ts index 199b667ff4a0..221161f8c1fd 100644 --- a/clients/client-iot/commands/GetV2LoggingOptionsCommand.ts +++ b/clients/client-iot/commands/GetV2LoggingOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetV2LoggingOptionsCommandInput = GetV2LoggingOptionsRequest; @@ -70,14 +70,14 @@ export class GetV2LoggingOptionsCommand extends $Command< private serialize( input: GetV2LoggingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetV2LoggingOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetV2LoggingOptionsCommand( output, diff --git a/clients/client-iot/commands/ListActiveViolationsCommand.ts b/clients/client-iot/commands/ListActiveViolationsCommand.ts index e102bfd209b7..a293c6316cc0 100644 --- a/clients/client-iot/commands/ListActiveViolationsCommand.ts +++ b/clients/client-iot/commands/ListActiveViolationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListActiveViolationsCommandInput = ListActiveViolationsRequest; @@ -70,14 +70,14 @@ export class ListActiveViolationsCommand extends $Command< private serialize( input: ListActiveViolationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListActiveViolationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListActiveViolationsCommand( output, diff --git a/clients/client-iot/commands/ListAttachedPoliciesCommand.ts b/clients/client-iot/commands/ListAttachedPoliciesCommand.ts index 84a6361670da..71e750fcc81c 100644 --- a/clients/client-iot/commands/ListAttachedPoliciesCommand.ts +++ b/clients/client-iot/commands/ListAttachedPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAttachedPoliciesCommandInput = ListAttachedPoliciesRequest; @@ -70,14 +70,14 @@ export class ListAttachedPoliciesCommand extends $Command< private serialize( input: ListAttachedPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAttachedPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAttachedPoliciesCommand( output, diff --git a/clients/client-iot/commands/ListAuditFindingsCommand.ts b/clients/client-iot/commands/ListAuditFindingsCommand.ts index 34bae6baf576..92d478f2c0be 100644 --- a/clients/client-iot/commands/ListAuditFindingsCommand.ts +++ b/clients/client-iot/commands/ListAuditFindingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAuditFindingsCommandInput = ListAuditFindingsRequest; @@ -67,14 +67,14 @@ export class ListAuditFindingsCommand extends $Command< private serialize( input: ListAuditFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAuditFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAuditFindingsCommand(output, context); } diff --git a/clients/client-iot/commands/ListAuditMitigationActionsExecutionsCommand.ts b/clients/client-iot/commands/ListAuditMitigationActionsExecutionsCommand.ts index 7950818bf849..1a4e3687dbf2 100644 --- a/clients/client-iot/commands/ListAuditMitigationActionsExecutionsCommand.ts +++ b/clients/client-iot/commands/ListAuditMitigationActionsExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAuditMitigationActionsExecutionsCommandInput = ListAuditMitigationActionsExecutionsRequest; @@ -72,7 +72,7 @@ export class ListAuditMitigationActionsExecutionsCommand extends $Command< private serialize( input: ListAuditMitigationActionsExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAuditMitigationActionsExecutionsCommand( input, @@ -82,7 +82,7 @@ export class ListAuditMitigationActionsExecutionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAuditMitigationActionsExecutionsCommand( output, diff --git a/clients/client-iot/commands/ListAuditMitigationActionsTasksCommand.ts b/clients/client-iot/commands/ListAuditMitigationActionsTasksCommand.ts index d93cdd8ea709..cdb25b2d6bbc 100644 --- a/clients/client-iot/commands/ListAuditMitigationActionsTasksCommand.ts +++ b/clients/client-iot/commands/ListAuditMitigationActionsTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAuditMitigationActionsTasksCommandInput = ListAuditMitigationActionsTasksRequest; @@ -70,7 +70,7 @@ export class ListAuditMitigationActionsTasksCommand extends $Command< private serialize( input: ListAuditMitigationActionsTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAuditMitigationActionsTasksCommand( input, @@ -80,7 +80,7 @@ export class ListAuditMitigationActionsTasksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAuditMitigationActionsTasksCommand( output, diff --git a/clients/client-iot/commands/ListAuditTasksCommand.ts b/clients/client-iot/commands/ListAuditTasksCommand.ts index 4681c284a6ff..0e8f67877951 100644 --- a/clients/client-iot/commands/ListAuditTasksCommand.ts +++ b/clients/client-iot/commands/ListAuditTasksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAuditTasksCommandInput = ListAuditTasksRequest; @@ -64,14 +64,14 @@ export class ListAuditTasksCommand extends $Command< private serialize( input: ListAuditTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAuditTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAuditTasksCommand(output, context); } diff --git a/clients/client-iot/commands/ListAuthorizersCommand.ts b/clients/client-iot/commands/ListAuthorizersCommand.ts index 733191cb442d..88b4842f724f 100644 --- a/clients/client-iot/commands/ListAuthorizersCommand.ts +++ b/clients/client-iot/commands/ListAuthorizersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAuthorizersCommandInput = ListAuthorizersRequest; @@ -67,14 +67,14 @@ export class ListAuthorizersCommand extends $Command< private serialize( input: ListAuthorizersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAuthorizersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAuthorizersCommand(output, context); } diff --git a/clients/client-iot/commands/ListBillingGroupsCommand.ts b/clients/client-iot/commands/ListBillingGroupsCommand.ts index 9c8e86e57312..c41fb532190e 100644 --- a/clients/client-iot/commands/ListBillingGroupsCommand.ts +++ b/clients/client-iot/commands/ListBillingGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBillingGroupsCommandInput = ListBillingGroupsRequest; @@ -67,14 +67,14 @@ export class ListBillingGroupsCommand extends $Command< private serialize( input: ListBillingGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBillingGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBillingGroupsCommand(output, context); } diff --git a/clients/client-iot/commands/ListCACertificatesCommand.ts b/clients/client-iot/commands/ListCACertificatesCommand.ts index dbed6acc7f8e..b61a59c579f3 100644 --- a/clients/client-iot/commands/ListCACertificatesCommand.ts +++ b/clients/client-iot/commands/ListCACertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCACertificatesCommandInput = ListCACertificatesRequest; @@ -67,14 +67,14 @@ export class ListCACertificatesCommand extends $Command< private serialize( input: ListCACertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListCACertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListCACertificatesCommand(output, context); } diff --git a/clients/client-iot/commands/ListCertificatesByCACommand.ts b/clients/client-iot/commands/ListCertificatesByCACommand.ts index 0e53c670abd9..98dd2d6152ed 100644 --- a/clients/client-iot/commands/ListCertificatesByCACommand.ts +++ b/clients/client-iot/commands/ListCertificatesByCACommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCertificatesByCACommandInput = ListCertificatesByCARequest; @@ -70,14 +70,14 @@ export class ListCertificatesByCACommand extends $Command< private serialize( input: ListCertificatesByCACommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListCertificatesByCACommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListCertificatesByCACommand( output, diff --git a/clients/client-iot/commands/ListCertificatesCommand.ts b/clients/client-iot/commands/ListCertificatesCommand.ts index 8b0423456f01..6ed63ae00244 100644 --- a/clients/client-iot/commands/ListCertificatesCommand.ts +++ b/clients/client-iot/commands/ListCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCertificatesCommandInput = ListCertificatesRequest; @@ -67,14 +67,14 @@ export class ListCertificatesCommand extends $Command< private serialize( input: ListCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListCertificatesCommand(output, context); } diff --git a/clients/client-iot/commands/ListDomainConfigurationsCommand.ts b/clients/client-iot/commands/ListDomainConfigurationsCommand.ts index 1f7d1d160e46..2bad901525b1 100644 --- a/clients/client-iot/commands/ListDomainConfigurationsCommand.ts +++ b/clients/client-iot/commands/ListDomainConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDomainConfigurationsCommandInput = ListDomainConfigurationsRequest; @@ -70,7 +70,7 @@ export class ListDomainConfigurationsCommand extends $Command< private serialize( input: ListDomainConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDomainConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class ListDomainConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDomainConfigurationsCommand( output, diff --git a/clients/client-iot/commands/ListIndicesCommand.ts b/clients/client-iot/commands/ListIndicesCommand.ts index c7c35b7c9d4c..b87343e64eee 100644 --- a/clients/client-iot/commands/ListIndicesCommand.ts +++ b/clients/client-iot/commands/ListIndicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIndicesCommandInput = ListIndicesRequest; @@ -64,14 +64,14 @@ export class ListIndicesCommand extends $Command< private serialize( input: ListIndicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListIndicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListIndicesCommand(output, context); } diff --git a/clients/client-iot/commands/ListJobExecutionsForJobCommand.ts b/clients/client-iot/commands/ListJobExecutionsForJobCommand.ts index 01fcb009b977..ae4194252be5 100644 --- a/clients/client-iot/commands/ListJobExecutionsForJobCommand.ts +++ b/clients/client-iot/commands/ListJobExecutionsForJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobExecutionsForJobCommandInput = ListJobExecutionsForJobRequest; @@ -70,7 +70,7 @@ export class ListJobExecutionsForJobCommand extends $Command< private serialize( input: ListJobExecutionsForJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJobExecutionsForJobCommand( input, @@ -80,7 +80,7 @@ export class ListJobExecutionsForJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJobExecutionsForJobCommand( output, diff --git a/clients/client-iot/commands/ListJobExecutionsForThingCommand.ts b/clients/client-iot/commands/ListJobExecutionsForThingCommand.ts index 144c6fdc7b43..cbaf01e858bf 100644 --- a/clients/client-iot/commands/ListJobExecutionsForThingCommand.ts +++ b/clients/client-iot/commands/ListJobExecutionsForThingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobExecutionsForThingCommandInput = ListJobExecutionsForThingRequest; @@ -70,7 +70,7 @@ export class ListJobExecutionsForThingCommand extends $Command< private serialize( input: ListJobExecutionsForThingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJobExecutionsForThingCommand( input, @@ -80,7 +80,7 @@ export class ListJobExecutionsForThingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJobExecutionsForThingCommand( output, diff --git a/clients/client-iot/commands/ListJobsCommand.ts b/clients/client-iot/commands/ListJobsCommand.ts index 52c00f0381a7..7229e65f3214 100644 --- a/clients/client-iot/commands/ListJobsCommand.ts +++ b/clients/client-iot/commands/ListJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsCommandInput = ListJobsRequest; @@ -64,14 +64,14 @@ export class ListJobsCommand extends $Command< private serialize( input: ListJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJobsCommand(output, context); } diff --git a/clients/client-iot/commands/ListMitigationActionsCommand.ts b/clients/client-iot/commands/ListMitigationActionsCommand.ts index 7dadf1540b80..385bc3250801 100644 --- a/clients/client-iot/commands/ListMitigationActionsCommand.ts +++ b/clients/client-iot/commands/ListMitigationActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMitigationActionsCommandInput = ListMitigationActionsRequest; @@ -70,14 +70,14 @@ export class ListMitigationActionsCommand extends $Command< private serialize( input: ListMitigationActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListMitigationActionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListMitigationActionsCommand( output, diff --git a/clients/client-iot/commands/ListOTAUpdatesCommand.ts b/clients/client-iot/commands/ListOTAUpdatesCommand.ts index 43412cab6701..402347ff34cc 100644 --- a/clients/client-iot/commands/ListOTAUpdatesCommand.ts +++ b/clients/client-iot/commands/ListOTAUpdatesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOTAUpdatesCommandInput = ListOTAUpdatesRequest; @@ -64,14 +64,14 @@ export class ListOTAUpdatesCommand extends $Command< private serialize( input: ListOTAUpdatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListOTAUpdatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListOTAUpdatesCommand(output, context); } diff --git a/clients/client-iot/commands/ListOutgoingCertificatesCommand.ts b/clients/client-iot/commands/ListOutgoingCertificatesCommand.ts index 4b47750af381..38a0a4d7a6d8 100644 --- a/clients/client-iot/commands/ListOutgoingCertificatesCommand.ts +++ b/clients/client-iot/commands/ListOutgoingCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOutgoingCertificatesCommandInput = ListOutgoingCertificatesRequest; @@ -70,7 +70,7 @@ export class ListOutgoingCertificatesCommand extends $Command< private serialize( input: ListOutgoingCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListOutgoingCertificatesCommand( input, @@ -80,7 +80,7 @@ export class ListOutgoingCertificatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListOutgoingCertificatesCommand( output, diff --git a/clients/client-iot/commands/ListPoliciesCommand.ts b/clients/client-iot/commands/ListPoliciesCommand.ts index 42e2b51d2e17..31f465619888 100644 --- a/clients/client-iot/commands/ListPoliciesCommand.ts +++ b/clients/client-iot/commands/ListPoliciesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPoliciesCommandInput = ListPoliciesRequest; @@ -64,14 +64,14 @@ export class ListPoliciesCommand extends $Command< private serialize( input: ListPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPoliciesCommand(output, context); } diff --git a/clients/client-iot/commands/ListPolicyPrincipalsCommand.ts b/clients/client-iot/commands/ListPolicyPrincipalsCommand.ts index 386c17820420..3368c024089a 100644 --- a/clients/client-iot/commands/ListPolicyPrincipalsCommand.ts +++ b/clients/client-iot/commands/ListPolicyPrincipalsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPolicyPrincipalsCommandInput = ListPolicyPrincipalsRequest; @@ -70,14 +70,14 @@ export class ListPolicyPrincipalsCommand extends $Command< private serialize( input: ListPolicyPrincipalsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPolicyPrincipalsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPolicyPrincipalsCommand( output, diff --git a/clients/client-iot/commands/ListPolicyVersionsCommand.ts b/clients/client-iot/commands/ListPolicyVersionsCommand.ts index 2a69193c1c03..028b46318220 100644 --- a/clients/client-iot/commands/ListPolicyVersionsCommand.ts +++ b/clients/client-iot/commands/ListPolicyVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPolicyVersionsCommandInput = ListPolicyVersionsRequest; @@ -67,14 +67,14 @@ export class ListPolicyVersionsCommand extends $Command< private serialize( input: ListPolicyVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPolicyVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPolicyVersionsCommand(output, context); } diff --git a/clients/client-iot/commands/ListPrincipalPoliciesCommand.ts b/clients/client-iot/commands/ListPrincipalPoliciesCommand.ts index fb15dd99e0a0..4ee2bf5c275b 100644 --- a/clients/client-iot/commands/ListPrincipalPoliciesCommand.ts +++ b/clients/client-iot/commands/ListPrincipalPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPrincipalPoliciesCommandInput = ListPrincipalPoliciesRequest; @@ -70,14 +70,14 @@ export class ListPrincipalPoliciesCommand extends $Command< private serialize( input: ListPrincipalPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPrincipalPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPrincipalPoliciesCommand( output, diff --git a/clients/client-iot/commands/ListPrincipalThingsCommand.ts b/clients/client-iot/commands/ListPrincipalThingsCommand.ts index b8421e8fd3e1..07613ef171f7 100644 --- a/clients/client-iot/commands/ListPrincipalThingsCommand.ts +++ b/clients/client-iot/commands/ListPrincipalThingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPrincipalThingsCommandInput = ListPrincipalThingsRequest; @@ -70,14 +70,14 @@ export class ListPrincipalThingsCommand extends $Command< private serialize( input: ListPrincipalThingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPrincipalThingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPrincipalThingsCommand( output, diff --git a/clients/client-iot/commands/ListProvisioningTemplateVersionsCommand.ts b/clients/client-iot/commands/ListProvisioningTemplateVersionsCommand.ts index c273a57d1f6c..c98a9d2d51c1 100644 --- a/clients/client-iot/commands/ListProvisioningTemplateVersionsCommand.ts +++ b/clients/client-iot/commands/ListProvisioningTemplateVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProvisioningTemplateVersionsCommandInput = ListProvisioningTemplateVersionsRequest; @@ -70,7 +70,7 @@ export class ListProvisioningTemplateVersionsCommand extends $Command< private serialize( input: ListProvisioningTemplateVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListProvisioningTemplateVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListProvisioningTemplateVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListProvisioningTemplateVersionsCommand( output, diff --git a/clients/client-iot/commands/ListProvisioningTemplatesCommand.ts b/clients/client-iot/commands/ListProvisioningTemplatesCommand.ts index 9428e2ff3ef4..ed397da5fada 100644 --- a/clients/client-iot/commands/ListProvisioningTemplatesCommand.ts +++ b/clients/client-iot/commands/ListProvisioningTemplatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProvisioningTemplatesCommandInput = ListProvisioningTemplatesRequest; @@ -70,7 +70,7 @@ export class ListProvisioningTemplatesCommand extends $Command< private serialize( input: ListProvisioningTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListProvisioningTemplatesCommand( input, @@ -80,7 +80,7 @@ export class ListProvisioningTemplatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListProvisioningTemplatesCommand( output, diff --git a/clients/client-iot/commands/ListRoleAliasesCommand.ts b/clients/client-iot/commands/ListRoleAliasesCommand.ts index fe59421991f3..a1f67e261a74 100644 --- a/clients/client-iot/commands/ListRoleAliasesCommand.ts +++ b/clients/client-iot/commands/ListRoleAliasesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRoleAliasesCommandInput = ListRoleAliasesRequest; @@ -67,14 +67,14 @@ export class ListRoleAliasesCommand extends $Command< private serialize( input: ListRoleAliasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRoleAliasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRoleAliasesCommand(output, context); } diff --git a/clients/client-iot/commands/ListScheduledAuditsCommand.ts b/clients/client-iot/commands/ListScheduledAuditsCommand.ts index 2ea8b3fa90f9..acc824d62b50 100644 --- a/clients/client-iot/commands/ListScheduledAuditsCommand.ts +++ b/clients/client-iot/commands/ListScheduledAuditsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListScheduledAuditsCommandInput = ListScheduledAuditsRequest; @@ -70,14 +70,14 @@ export class ListScheduledAuditsCommand extends $Command< private serialize( input: ListScheduledAuditsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListScheduledAuditsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListScheduledAuditsCommand( output, diff --git a/clients/client-iot/commands/ListSecurityProfilesCommand.ts b/clients/client-iot/commands/ListSecurityProfilesCommand.ts index 3ca0f7ae73bb..44354a3e1fb7 100644 --- a/clients/client-iot/commands/ListSecurityProfilesCommand.ts +++ b/clients/client-iot/commands/ListSecurityProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSecurityProfilesCommandInput = ListSecurityProfilesRequest; @@ -70,14 +70,14 @@ export class ListSecurityProfilesCommand extends $Command< private serialize( input: ListSecurityProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSecurityProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSecurityProfilesCommand( output, diff --git a/clients/client-iot/commands/ListSecurityProfilesForTargetCommand.ts b/clients/client-iot/commands/ListSecurityProfilesForTargetCommand.ts index 4072f1f34e2f..6b6406272157 100644 --- a/clients/client-iot/commands/ListSecurityProfilesForTargetCommand.ts +++ b/clients/client-iot/commands/ListSecurityProfilesForTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSecurityProfilesForTargetCommandInput = ListSecurityProfilesForTargetRequest; @@ -70,7 +70,7 @@ export class ListSecurityProfilesForTargetCommand extends $Command< private serialize( input: ListSecurityProfilesForTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSecurityProfilesForTargetCommand( input, @@ -80,7 +80,7 @@ export class ListSecurityProfilesForTargetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSecurityProfilesForTargetCommand( output, diff --git a/clients/client-iot/commands/ListStreamsCommand.ts b/clients/client-iot/commands/ListStreamsCommand.ts index 848aad83493a..09815f5dde9f 100644 --- a/clients/client-iot/commands/ListStreamsCommand.ts +++ b/clients/client-iot/commands/ListStreamsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStreamsCommandInput = ListStreamsRequest; @@ -64,14 +64,14 @@ export class ListStreamsCommand extends $Command< private serialize( input: ListStreamsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListStreamsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListStreamsCommand(output, context); } diff --git a/clients/client-iot/commands/ListTagsForResourceCommand.ts b/clients/client-iot/commands/ListTagsForResourceCommand.ts index 7ba139051bd2..cb902913d851 100644 --- a/clients/client-iot/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iot/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-iot/commands/ListTargetsForPolicyCommand.ts b/clients/client-iot/commands/ListTargetsForPolicyCommand.ts index d4f8ae23aad4..ec7795092008 100644 --- a/clients/client-iot/commands/ListTargetsForPolicyCommand.ts +++ b/clients/client-iot/commands/ListTargetsForPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTargetsForPolicyCommandInput = ListTargetsForPolicyRequest; @@ -70,14 +70,14 @@ export class ListTargetsForPolicyCommand extends $Command< private serialize( input: ListTargetsForPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTargetsForPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTargetsForPolicyCommand( output, diff --git a/clients/client-iot/commands/ListTargetsForSecurityProfileCommand.ts b/clients/client-iot/commands/ListTargetsForSecurityProfileCommand.ts index 8a1e58c70499..494da60773cf 100644 --- a/clients/client-iot/commands/ListTargetsForSecurityProfileCommand.ts +++ b/clients/client-iot/commands/ListTargetsForSecurityProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTargetsForSecurityProfileCommandInput = ListTargetsForSecurityProfileRequest; @@ -70,7 +70,7 @@ export class ListTargetsForSecurityProfileCommand extends $Command< private serialize( input: ListTargetsForSecurityProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTargetsForSecurityProfileCommand( input, @@ -80,7 +80,7 @@ export class ListTargetsForSecurityProfileCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTargetsForSecurityProfileCommand( output, diff --git a/clients/client-iot/commands/ListThingGroupsCommand.ts b/clients/client-iot/commands/ListThingGroupsCommand.ts index 04932d901f28..610de0eacdc7 100644 --- a/clients/client-iot/commands/ListThingGroupsCommand.ts +++ b/clients/client-iot/commands/ListThingGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListThingGroupsCommandInput = ListThingGroupsRequest; @@ -67,14 +67,14 @@ export class ListThingGroupsCommand extends $Command< private serialize( input: ListThingGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListThingGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListThingGroupsCommand(output, context); } diff --git a/clients/client-iot/commands/ListThingGroupsForThingCommand.ts b/clients/client-iot/commands/ListThingGroupsForThingCommand.ts index e0f02a4dd978..864177b1391b 100644 --- a/clients/client-iot/commands/ListThingGroupsForThingCommand.ts +++ b/clients/client-iot/commands/ListThingGroupsForThingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListThingGroupsForThingCommandInput = ListThingGroupsForThingRequest; @@ -70,7 +70,7 @@ export class ListThingGroupsForThingCommand extends $Command< private serialize( input: ListThingGroupsForThingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListThingGroupsForThingCommand( input, @@ -80,7 +80,7 @@ export class ListThingGroupsForThingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListThingGroupsForThingCommand( output, diff --git a/clients/client-iot/commands/ListThingPrincipalsCommand.ts b/clients/client-iot/commands/ListThingPrincipalsCommand.ts index fef59307fe01..570ed6f8885d 100644 --- a/clients/client-iot/commands/ListThingPrincipalsCommand.ts +++ b/clients/client-iot/commands/ListThingPrincipalsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListThingPrincipalsCommandInput = ListThingPrincipalsRequest; @@ -70,14 +70,14 @@ export class ListThingPrincipalsCommand extends $Command< private serialize( input: ListThingPrincipalsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListThingPrincipalsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListThingPrincipalsCommand( output, diff --git a/clients/client-iot/commands/ListThingRegistrationTaskReportsCommand.ts b/clients/client-iot/commands/ListThingRegistrationTaskReportsCommand.ts index 729f426514be..3620ff0a81dc 100644 --- a/clients/client-iot/commands/ListThingRegistrationTaskReportsCommand.ts +++ b/clients/client-iot/commands/ListThingRegistrationTaskReportsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListThingRegistrationTaskReportsCommandInput = ListThingRegistrationTaskReportsRequest; @@ -70,7 +70,7 @@ export class ListThingRegistrationTaskReportsCommand extends $Command< private serialize( input: ListThingRegistrationTaskReportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListThingRegistrationTaskReportsCommand( input, @@ -80,7 +80,7 @@ export class ListThingRegistrationTaskReportsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListThingRegistrationTaskReportsCommand( output, diff --git a/clients/client-iot/commands/ListThingRegistrationTasksCommand.ts b/clients/client-iot/commands/ListThingRegistrationTasksCommand.ts index 73a5d49fb78b..a60459608d17 100644 --- a/clients/client-iot/commands/ListThingRegistrationTasksCommand.ts +++ b/clients/client-iot/commands/ListThingRegistrationTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListThingRegistrationTasksCommandInput = ListThingRegistrationTasksRequest; @@ -70,7 +70,7 @@ export class ListThingRegistrationTasksCommand extends $Command< private serialize( input: ListThingRegistrationTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListThingRegistrationTasksCommand( input, @@ -80,7 +80,7 @@ export class ListThingRegistrationTasksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListThingRegistrationTasksCommand( output, diff --git a/clients/client-iot/commands/ListThingTypesCommand.ts b/clients/client-iot/commands/ListThingTypesCommand.ts index d6219a9928fa..d7eec2a26e12 100644 --- a/clients/client-iot/commands/ListThingTypesCommand.ts +++ b/clients/client-iot/commands/ListThingTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListThingTypesCommandInput = ListThingTypesRequest; @@ -64,14 +64,14 @@ export class ListThingTypesCommand extends $Command< private serialize( input: ListThingTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListThingTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListThingTypesCommand(output, context); } diff --git a/clients/client-iot/commands/ListThingsCommand.ts b/clients/client-iot/commands/ListThingsCommand.ts index 2ac86d279d28..7ad4f6a4005e 100644 --- a/clients/client-iot/commands/ListThingsCommand.ts +++ b/clients/client-iot/commands/ListThingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListThingsCommandInput = ListThingsRequest; @@ -64,14 +64,14 @@ export class ListThingsCommand extends $Command< private serialize( input: ListThingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListThingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListThingsCommand(output, context); } diff --git a/clients/client-iot/commands/ListThingsInBillingGroupCommand.ts b/clients/client-iot/commands/ListThingsInBillingGroupCommand.ts index 319a34f58eb8..2ea49c41c0b6 100644 --- a/clients/client-iot/commands/ListThingsInBillingGroupCommand.ts +++ b/clients/client-iot/commands/ListThingsInBillingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListThingsInBillingGroupCommandInput = ListThingsInBillingGroupRequest; @@ -70,7 +70,7 @@ export class ListThingsInBillingGroupCommand extends $Command< private serialize( input: ListThingsInBillingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListThingsInBillingGroupCommand( input, @@ -80,7 +80,7 @@ export class ListThingsInBillingGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListThingsInBillingGroupCommand( output, diff --git a/clients/client-iot/commands/ListThingsInThingGroupCommand.ts b/clients/client-iot/commands/ListThingsInThingGroupCommand.ts index 8dde9fbdea90..55eb08ac57a5 100644 --- a/clients/client-iot/commands/ListThingsInThingGroupCommand.ts +++ b/clients/client-iot/commands/ListThingsInThingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListThingsInThingGroupCommandInput = ListThingsInThingGroupRequest; @@ -70,7 +70,7 @@ export class ListThingsInThingGroupCommand extends $Command< private serialize( input: ListThingsInThingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListThingsInThingGroupCommand( input, @@ -80,7 +80,7 @@ export class ListThingsInThingGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListThingsInThingGroupCommand( output, diff --git a/clients/client-iot/commands/ListTopicRuleDestinationsCommand.ts b/clients/client-iot/commands/ListTopicRuleDestinationsCommand.ts index 1216cd35f5d6..c25763376438 100644 --- a/clients/client-iot/commands/ListTopicRuleDestinationsCommand.ts +++ b/clients/client-iot/commands/ListTopicRuleDestinationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTopicRuleDestinationsCommandInput = ListTopicRuleDestinationsRequest; @@ -70,7 +70,7 @@ export class ListTopicRuleDestinationsCommand extends $Command< private serialize( input: ListTopicRuleDestinationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTopicRuleDestinationsCommand( input, @@ -80,7 +80,7 @@ export class ListTopicRuleDestinationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTopicRuleDestinationsCommand( output, diff --git a/clients/client-iot/commands/ListTopicRulesCommand.ts b/clients/client-iot/commands/ListTopicRulesCommand.ts index a72f0d50b3d6..6e876a2294ca 100644 --- a/clients/client-iot/commands/ListTopicRulesCommand.ts +++ b/clients/client-iot/commands/ListTopicRulesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTopicRulesCommandInput = ListTopicRulesRequest; @@ -64,14 +64,14 @@ export class ListTopicRulesCommand extends $Command< private serialize( input: ListTopicRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTopicRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTopicRulesCommand(output, context); } diff --git a/clients/client-iot/commands/ListV2LoggingLevelsCommand.ts b/clients/client-iot/commands/ListV2LoggingLevelsCommand.ts index 6b381ca5a0f4..c7baaa4b300a 100644 --- a/clients/client-iot/commands/ListV2LoggingLevelsCommand.ts +++ b/clients/client-iot/commands/ListV2LoggingLevelsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListV2LoggingLevelsCommandInput = ListV2LoggingLevelsRequest; @@ -70,14 +70,14 @@ export class ListV2LoggingLevelsCommand extends $Command< private serialize( input: ListV2LoggingLevelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListV2LoggingLevelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListV2LoggingLevelsCommand( output, diff --git a/clients/client-iot/commands/ListViolationEventsCommand.ts b/clients/client-iot/commands/ListViolationEventsCommand.ts index 6f3bcca46e7d..c79fe8a4cef4 100644 --- a/clients/client-iot/commands/ListViolationEventsCommand.ts +++ b/clients/client-iot/commands/ListViolationEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListViolationEventsCommandInput = ListViolationEventsRequest; @@ -70,14 +70,14 @@ export class ListViolationEventsCommand extends $Command< private serialize( input: ListViolationEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListViolationEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListViolationEventsCommand( output, diff --git a/clients/client-iot/commands/RegisterCACertificateCommand.ts b/clients/client-iot/commands/RegisterCACertificateCommand.ts index 9a8aebd9759a..10a4b9329ff2 100644 --- a/clients/client-iot/commands/RegisterCACertificateCommand.ts +++ b/clients/client-iot/commands/RegisterCACertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterCACertificateCommandInput = RegisterCACertificateRequest; @@ -70,14 +70,14 @@ export class RegisterCACertificateCommand extends $Command< private serialize( input: RegisterCACertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RegisterCACertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RegisterCACertificateCommand( output, diff --git a/clients/client-iot/commands/RegisterCertificateCommand.ts b/clients/client-iot/commands/RegisterCertificateCommand.ts index efc8d4ec0301..b349389913cd 100644 --- a/clients/client-iot/commands/RegisterCertificateCommand.ts +++ b/clients/client-iot/commands/RegisterCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterCertificateCommandInput = RegisterCertificateRequest; @@ -70,14 +70,14 @@ export class RegisterCertificateCommand extends $Command< private serialize( input: RegisterCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RegisterCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RegisterCertificateCommand( output, diff --git a/clients/client-iot/commands/RegisterThingCommand.ts b/clients/client-iot/commands/RegisterThingCommand.ts index 022b86003169..aa70cc862bda 100644 --- a/clients/client-iot/commands/RegisterThingCommand.ts +++ b/clients/client-iot/commands/RegisterThingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterThingCommandInput = RegisterThingRequest; @@ -64,14 +64,14 @@ export class RegisterThingCommand extends $Command< private serialize( input: RegisterThingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RegisterThingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RegisterThingCommand(output, context); } diff --git a/clients/client-iot/commands/RejectCertificateTransferCommand.ts b/clients/client-iot/commands/RejectCertificateTransferCommand.ts index 66935571d461..670741595d12 100644 --- a/clients/client-iot/commands/RejectCertificateTransferCommand.ts +++ b/clients/client-iot/commands/RejectCertificateTransferCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectCertificateTransferCommandInput = RejectCertificateTransferRequest; @@ -68,7 +68,7 @@ export class RejectCertificateTransferCommand extends $Command< private serialize( input: RejectCertificateTransferCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RejectCertificateTransferCommand( input, @@ -78,7 +78,7 @@ export class RejectCertificateTransferCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RejectCertificateTransferCommand( output, diff --git a/clients/client-iot/commands/RemoveThingFromBillingGroupCommand.ts b/clients/client-iot/commands/RemoveThingFromBillingGroupCommand.ts index 5638b296a931..a6a707a51324 100644 --- a/clients/client-iot/commands/RemoveThingFromBillingGroupCommand.ts +++ b/clients/client-iot/commands/RemoveThingFromBillingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveThingFromBillingGroupCommandInput = RemoveThingFromBillingGroupRequest; @@ -70,7 +70,7 @@ export class RemoveThingFromBillingGroupCommand extends $Command< private serialize( input: RemoveThingFromBillingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RemoveThingFromBillingGroupCommand( input, @@ -80,7 +80,7 @@ export class RemoveThingFromBillingGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RemoveThingFromBillingGroupCommand( output, diff --git a/clients/client-iot/commands/RemoveThingFromThingGroupCommand.ts b/clients/client-iot/commands/RemoveThingFromThingGroupCommand.ts index 377c85df5bbe..55ac0c8bcc7d 100644 --- a/clients/client-iot/commands/RemoveThingFromThingGroupCommand.ts +++ b/clients/client-iot/commands/RemoveThingFromThingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveThingFromThingGroupCommandInput = RemoveThingFromThingGroupRequest; @@ -70,7 +70,7 @@ export class RemoveThingFromThingGroupCommand extends $Command< private serialize( input: RemoveThingFromThingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RemoveThingFromThingGroupCommand( input, @@ -80,7 +80,7 @@ export class RemoveThingFromThingGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RemoveThingFromThingGroupCommand( output, diff --git a/clients/client-iot/commands/ReplaceTopicRuleCommand.ts b/clients/client-iot/commands/ReplaceTopicRuleCommand.ts index 78f163a06d6f..9296de7564d6 100644 --- a/clients/client-iot/commands/ReplaceTopicRuleCommand.ts +++ b/clients/client-iot/commands/ReplaceTopicRuleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReplaceTopicRuleCommandInput = ReplaceTopicRuleRequest; @@ -65,14 +65,14 @@ export class ReplaceTopicRuleCommand extends $Command< private serialize( input: ReplaceTopicRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ReplaceTopicRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ReplaceTopicRuleCommand(output, context); } diff --git a/clients/client-iot/commands/SearchIndexCommand.ts b/clients/client-iot/commands/SearchIndexCommand.ts index 9d0c361f3dbb..474b57b3c74b 100644 --- a/clients/client-iot/commands/SearchIndexCommand.ts +++ b/clients/client-iot/commands/SearchIndexCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchIndexCommandInput = SearchIndexRequest; @@ -64,14 +64,14 @@ export class SearchIndexCommand extends $Command< private serialize( input: SearchIndexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SearchIndexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SearchIndexCommand(output, context); } diff --git a/clients/client-iot/commands/SetDefaultAuthorizerCommand.ts b/clients/client-iot/commands/SetDefaultAuthorizerCommand.ts index d9bf9dd8462a..8fc4bfe90d27 100644 --- a/clients/client-iot/commands/SetDefaultAuthorizerCommand.ts +++ b/clients/client-iot/commands/SetDefaultAuthorizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetDefaultAuthorizerCommandInput = SetDefaultAuthorizerRequest; @@ -70,14 +70,14 @@ export class SetDefaultAuthorizerCommand extends $Command< private serialize( input: SetDefaultAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SetDefaultAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SetDefaultAuthorizerCommand( output, diff --git a/clients/client-iot/commands/SetDefaultPolicyVersionCommand.ts b/clients/client-iot/commands/SetDefaultPolicyVersionCommand.ts index fb9bc1927c4d..188144252b70 100644 --- a/clients/client-iot/commands/SetDefaultPolicyVersionCommand.ts +++ b/clients/client-iot/commands/SetDefaultPolicyVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetDefaultPolicyVersionCommandInput = SetDefaultPolicyVersionRequest; @@ -68,7 +68,7 @@ export class SetDefaultPolicyVersionCommand extends $Command< private serialize( input: SetDefaultPolicyVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SetDefaultPolicyVersionCommand( input, @@ -78,7 +78,7 @@ export class SetDefaultPolicyVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SetDefaultPolicyVersionCommand( output, diff --git a/clients/client-iot/commands/SetLoggingOptionsCommand.ts b/clients/client-iot/commands/SetLoggingOptionsCommand.ts index 04c253aaffbc..b7e320f6292e 100644 --- a/clients/client-iot/commands/SetLoggingOptionsCommand.ts +++ b/clients/client-iot/commands/SetLoggingOptionsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetLoggingOptionsCommandInput = SetLoggingOptionsRequest; @@ -65,14 +65,14 @@ export class SetLoggingOptionsCommand extends $Command< private serialize( input: SetLoggingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SetLoggingOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SetLoggingOptionsCommand(output, context); } diff --git a/clients/client-iot/commands/SetV2LoggingLevelCommand.ts b/clients/client-iot/commands/SetV2LoggingLevelCommand.ts index 3506e66999f6..f4baefa60bab 100644 --- a/clients/client-iot/commands/SetV2LoggingLevelCommand.ts +++ b/clients/client-iot/commands/SetV2LoggingLevelCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetV2LoggingLevelCommandInput = SetV2LoggingLevelRequest; @@ -65,14 +65,14 @@ export class SetV2LoggingLevelCommand extends $Command< private serialize( input: SetV2LoggingLevelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SetV2LoggingLevelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SetV2LoggingLevelCommand(output, context); } diff --git a/clients/client-iot/commands/SetV2LoggingOptionsCommand.ts b/clients/client-iot/commands/SetV2LoggingOptionsCommand.ts index 346206718d46..fd77f8046a32 100644 --- a/clients/client-iot/commands/SetV2LoggingOptionsCommand.ts +++ b/clients/client-iot/commands/SetV2LoggingOptionsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetV2LoggingOptionsCommandInput = SetV2LoggingOptionsRequest; @@ -68,14 +68,14 @@ export class SetV2LoggingOptionsCommand extends $Command< private serialize( input: SetV2LoggingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SetV2LoggingOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SetV2LoggingOptionsCommand( output, diff --git a/clients/client-iot/commands/StartAuditMitigationActionsTaskCommand.ts b/clients/client-iot/commands/StartAuditMitigationActionsTaskCommand.ts index ef088d872b8e..b7d22320eace 100644 --- a/clients/client-iot/commands/StartAuditMitigationActionsTaskCommand.ts +++ b/clients/client-iot/commands/StartAuditMitigationActionsTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartAuditMitigationActionsTaskCommandInput = StartAuditMitigationActionsTaskRequest; @@ -70,7 +70,7 @@ export class StartAuditMitigationActionsTaskCommand extends $Command< private serialize( input: StartAuditMitigationActionsTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartAuditMitigationActionsTaskCommand( input, @@ -80,7 +80,7 @@ export class StartAuditMitigationActionsTaskCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartAuditMitigationActionsTaskCommand( output, diff --git a/clients/client-iot/commands/StartOnDemandAuditTaskCommand.ts b/clients/client-iot/commands/StartOnDemandAuditTaskCommand.ts index 5c5de93dc396..7edb78e055fd 100644 --- a/clients/client-iot/commands/StartOnDemandAuditTaskCommand.ts +++ b/clients/client-iot/commands/StartOnDemandAuditTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartOnDemandAuditTaskCommandInput = StartOnDemandAuditTaskRequest; @@ -70,7 +70,7 @@ export class StartOnDemandAuditTaskCommand extends $Command< private serialize( input: StartOnDemandAuditTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartOnDemandAuditTaskCommand( input, @@ -80,7 +80,7 @@ export class StartOnDemandAuditTaskCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartOnDemandAuditTaskCommand( output, diff --git a/clients/client-iot/commands/StartThingRegistrationTaskCommand.ts b/clients/client-iot/commands/StartThingRegistrationTaskCommand.ts index cc899846ed55..d1ecb937a647 100644 --- a/clients/client-iot/commands/StartThingRegistrationTaskCommand.ts +++ b/clients/client-iot/commands/StartThingRegistrationTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartThingRegistrationTaskCommandInput = StartThingRegistrationTaskRequest; @@ -70,7 +70,7 @@ export class StartThingRegistrationTaskCommand extends $Command< private serialize( input: StartThingRegistrationTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartThingRegistrationTaskCommand( input, @@ -80,7 +80,7 @@ export class StartThingRegistrationTaskCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartThingRegistrationTaskCommand( output, diff --git a/clients/client-iot/commands/StopThingRegistrationTaskCommand.ts b/clients/client-iot/commands/StopThingRegistrationTaskCommand.ts index 0349be401df4..ee3da56ef1c9 100644 --- a/clients/client-iot/commands/StopThingRegistrationTaskCommand.ts +++ b/clients/client-iot/commands/StopThingRegistrationTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopThingRegistrationTaskCommandInput = StopThingRegistrationTaskRequest; @@ -70,7 +70,7 @@ export class StopThingRegistrationTaskCommand extends $Command< private serialize( input: StopThingRegistrationTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopThingRegistrationTaskCommand( input, @@ -80,7 +80,7 @@ export class StopThingRegistrationTaskCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopThingRegistrationTaskCommand( output, diff --git a/clients/client-iot/commands/TagResourceCommand.ts b/clients/client-iot/commands/TagResourceCommand.ts index fd4f970ba7f1..1b705b0a06cc 100644 --- a/clients/client-iot/commands/TagResourceCommand.ts +++ b/clients/client-iot/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-iot/commands/TestAuthorizationCommand.ts b/clients/client-iot/commands/TestAuthorizationCommand.ts index fa5a4a171fcd..7dbdb9404e9b 100644 --- a/clients/client-iot/commands/TestAuthorizationCommand.ts +++ b/clients/client-iot/commands/TestAuthorizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestAuthorizationCommandInput = TestAuthorizationRequest; @@ -67,14 +67,14 @@ export class TestAuthorizationCommand extends $Command< private serialize( input: TestAuthorizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TestAuthorizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TestAuthorizationCommand(output, context); } diff --git a/clients/client-iot/commands/TestInvokeAuthorizerCommand.ts b/clients/client-iot/commands/TestInvokeAuthorizerCommand.ts index aae266eb3f0c..0c2d2e0890d1 100644 --- a/clients/client-iot/commands/TestInvokeAuthorizerCommand.ts +++ b/clients/client-iot/commands/TestInvokeAuthorizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestInvokeAuthorizerCommandInput = TestInvokeAuthorizerRequest; @@ -70,14 +70,14 @@ export class TestInvokeAuthorizerCommand extends $Command< private serialize( input: TestInvokeAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TestInvokeAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TestInvokeAuthorizerCommand( output, diff --git a/clients/client-iot/commands/TransferCertificateCommand.ts b/clients/client-iot/commands/TransferCertificateCommand.ts index e21974e3d7b2..063b3e18b1c7 100644 --- a/clients/client-iot/commands/TransferCertificateCommand.ts +++ b/clients/client-iot/commands/TransferCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TransferCertificateCommandInput = TransferCertificateRequest; @@ -70,14 +70,14 @@ export class TransferCertificateCommand extends $Command< private serialize( input: TransferCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TransferCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TransferCertificateCommand( output, diff --git a/clients/client-iot/commands/UntagResourceCommand.ts b/clients/client-iot/commands/UntagResourceCommand.ts index 119421206502..7197f865016d 100644 --- a/clients/client-iot/commands/UntagResourceCommand.ts +++ b/clients/client-iot/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-iot/commands/UpdateAccountAuditConfigurationCommand.ts b/clients/client-iot/commands/UpdateAccountAuditConfigurationCommand.ts index 9ab38b7ff9af..aed69a3cf877 100644 --- a/clients/client-iot/commands/UpdateAccountAuditConfigurationCommand.ts +++ b/clients/client-iot/commands/UpdateAccountAuditConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAccountAuditConfigurationCommandInput = UpdateAccountAuditConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateAccountAuditConfigurationCommand extends $Command< private serialize( input: UpdateAccountAuditConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAccountAuditConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateAccountAuditConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAccountAuditConfigurationCommand( output, diff --git a/clients/client-iot/commands/UpdateAuthorizerCommand.ts b/clients/client-iot/commands/UpdateAuthorizerCommand.ts index 5f157893c3e4..7009cdd7fca2 100644 --- a/clients/client-iot/commands/UpdateAuthorizerCommand.ts +++ b/clients/client-iot/commands/UpdateAuthorizerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAuthorizerCommandInput = UpdateAuthorizerRequest; @@ -67,14 +67,14 @@ export class UpdateAuthorizerCommand extends $Command< private serialize( input: UpdateAuthorizerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAuthorizerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAuthorizerCommand(output, context); } diff --git a/clients/client-iot/commands/UpdateBillingGroupCommand.ts b/clients/client-iot/commands/UpdateBillingGroupCommand.ts index d2c3f6048a43..a6d604dae106 100644 --- a/clients/client-iot/commands/UpdateBillingGroupCommand.ts +++ b/clients/client-iot/commands/UpdateBillingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBillingGroupCommandInput = UpdateBillingGroupRequest; @@ -67,14 +67,14 @@ export class UpdateBillingGroupCommand extends $Command< private serialize( input: UpdateBillingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateBillingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateBillingGroupCommand(output, context); } diff --git a/clients/client-iot/commands/UpdateCACertificateCommand.ts b/clients/client-iot/commands/UpdateCACertificateCommand.ts index 637b20a03455..4dded3a93b5f 100644 --- a/clients/client-iot/commands/UpdateCACertificateCommand.ts +++ b/clients/client-iot/commands/UpdateCACertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCACertificateCommandInput = UpdateCACertificateRequest; @@ -68,14 +68,14 @@ export class UpdateCACertificateCommand extends $Command< private serialize( input: UpdateCACertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateCACertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateCACertificateCommand( output, diff --git a/clients/client-iot/commands/UpdateCertificateCommand.ts b/clients/client-iot/commands/UpdateCertificateCommand.ts index 8079661cba26..16796cf0213b 100644 --- a/clients/client-iot/commands/UpdateCertificateCommand.ts +++ b/clients/client-iot/commands/UpdateCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCertificateCommandInput = UpdateCertificateRequest; @@ -65,14 +65,14 @@ export class UpdateCertificateCommand extends $Command< private serialize( input: UpdateCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateCertificateCommand(output, context); } diff --git a/clients/client-iot/commands/UpdateDomainConfigurationCommand.ts b/clients/client-iot/commands/UpdateDomainConfigurationCommand.ts index e06ab1b3248b..09265eedc247 100644 --- a/clients/client-iot/commands/UpdateDomainConfigurationCommand.ts +++ b/clients/client-iot/commands/UpdateDomainConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDomainConfigurationCommandInput = UpdateDomainConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateDomainConfigurationCommand extends $Command< private serialize( input: UpdateDomainConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDomainConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateDomainConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDomainConfigurationCommand( output, diff --git a/clients/client-iot/commands/UpdateDynamicThingGroupCommand.ts b/clients/client-iot/commands/UpdateDynamicThingGroupCommand.ts index 96d33ef97bcd..c0398b6514a6 100644 --- a/clients/client-iot/commands/UpdateDynamicThingGroupCommand.ts +++ b/clients/client-iot/commands/UpdateDynamicThingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDynamicThingGroupCommandInput = UpdateDynamicThingGroupRequest; @@ -70,7 +70,7 @@ export class UpdateDynamicThingGroupCommand extends $Command< private serialize( input: UpdateDynamicThingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDynamicThingGroupCommand( input, @@ -80,7 +80,7 @@ export class UpdateDynamicThingGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDynamicThingGroupCommand( output, diff --git a/clients/client-iot/commands/UpdateEventConfigurationsCommand.ts b/clients/client-iot/commands/UpdateEventConfigurationsCommand.ts index 4bd6488899bb..c407dfc53a75 100644 --- a/clients/client-iot/commands/UpdateEventConfigurationsCommand.ts +++ b/clients/client-iot/commands/UpdateEventConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEventConfigurationsCommandInput = UpdateEventConfigurationsRequest; @@ -70,7 +70,7 @@ export class UpdateEventConfigurationsCommand extends $Command< private serialize( input: UpdateEventConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateEventConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class UpdateEventConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateEventConfigurationsCommand( output, diff --git a/clients/client-iot/commands/UpdateIndexingConfigurationCommand.ts b/clients/client-iot/commands/UpdateIndexingConfigurationCommand.ts index 8cb43c1ed2c4..96eab75f5c68 100644 --- a/clients/client-iot/commands/UpdateIndexingConfigurationCommand.ts +++ b/clients/client-iot/commands/UpdateIndexingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIndexingConfigurationCommandInput = UpdateIndexingConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateIndexingConfigurationCommand extends $Command< private serialize( input: UpdateIndexingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateIndexingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateIndexingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateIndexingConfigurationCommand( output, diff --git a/clients/client-iot/commands/UpdateJobCommand.ts b/clients/client-iot/commands/UpdateJobCommand.ts index 1bc8bf58e5d0..9e6cd3e55eaa 100644 --- a/clients/client-iot/commands/UpdateJobCommand.ts +++ b/clients/client-iot/commands/UpdateJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateJobCommandInput = UpdateJobRequest; @@ -65,14 +65,14 @@ export class UpdateJobCommand extends $Command< private serialize( input: UpdateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateJobCommand(output, context); } diff --git a/clients/client-iot/commands/UpdateMitigationActionCommand.ts b/clients/client-iot/commands/UpdateMitigationActionCommand.ts index 53730c6d54d6..17c13c0f8743 100644 --- a/clients/client-iot/commands/UpdateMitigationActionCommand.ts +++ b/clients/client-iot/commands/UpdateMitigationActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMitigationActionCommandInput = UpdateMitigationActionRequest; @@ -70,7 +70,7 @@ export class UpdateMitigationActionCommand extends $Command< private serialize( input: UpdateMitigationActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateMitigationActionCommand( input, @@ -80,7 +80,7 @@ export class UpdateMitigationActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateMitigationActionCommand( output, diff --git a/clients/client-iot/commands/UpdateProvisioningTemplateCommand.ts b/clients/client-iot/commands/UpdateProvisioningTemplateCommand.ts index 6214ca65dd0e..c665d1d552c4 100644 --- a/clients/client-iot/commands/UpdateProvisioningTemplateCommand.ts +++ b/clients/client-iot/commands/UpdateProvisioningTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProvisioningTemplateCommandInput = UpdateProvisioningTemplateRequest; @@ -70,7 +70,7 @@ export class UpdateProvisioningTemplateCommand extends $Command< private serialize( input: UpdateProvisioningTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateProvisioningTemplateCommand( input, @@ -80,7 +80,7 @@ export class UpdateProvisioningTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateProvisioningTemplateCommand( output, diff --git a/clients/client-iot/commands/UpdateRoleAliasCommand.ts b/clients/client-iot/commands/UpdateRoleAliasCommand.ts index 8269f4e51537..044a6f082adb 100644 --- a/clients/client-iot/commands/UpdateRoleAliasCommand.ts +++ b/clients/client-iot/commands/UpdateRoleAliasCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRoleAliasCommandInput = UpdateRoleAliasRequest; @@ -67,14 +67,14 @@ export class UpdateRoleAliasCommand extends $Command< private serialize( input: UpdateRoleAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRoleAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRoleAliasCommand(output, context); } diff --git a/clients/client-iot/commands/UpdateScheduledAuditCommand.ts b/clients/client-iot/commands/UpdateScheduledAuditCommand.ts index b84afa80836b..2f643c6daeb6 100644 --- a/clients/client-iot/commands/UpdateScheduledAuditCommand.ts +++ b/clients/client-iot/commands/UpdateScheduledAuditCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateScheduledAuditCommandInput = UpdateScheduledAuditRequest; @@ -70,14 +70,14 @@ export class UpdateScheduledAuditCommand extends $Command< private serialize( input: UpdateScheduledAuditCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateScheduledAuditCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateScheduledAuditCommand( output, diff --git a/clients/client-iot/commands/UpdateSecurityProfileCommand.ts b/clients/client-iot/commands/UpdateSecurityProfileCommand.ts index 7989e185de27..1f15e28f1603 100644 --- a/clients/client-iot/commands/UpdateSecurityProfileCommand.ts +++ b/clients/client-iot/commands/UpdateSecurityProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSecurityProfileCommandInput = UpdateSecurityProfileRequest; @@ -70,14 +70,14 @@ export class UpdateSecurityProfileCommand extends $Command< private serialize( input: UpdateSecurityProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateSecurityProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateSecurityProfileCommand( output, diff --git a/clients/client-iot/commands/UpdateStreamCommand.ts b/clients/client-iot/commands/UpdateStreamCommand.ts index e685a73b9bf5..d8cff3f54190 100644 --- a/clients/client-iot/commands/UpdateStreamCommand.ts +++ b/clients/client-iot/commands/UpdateStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStreamCommandInput = UpdateStreamRequest; @@ -64,14 +64,14 @@ export class UpdateStreamCommand extends $Command< private serialize( input: UpdateStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateStreamCommand(output, context); } diff --git a/clients/client-iot/commands/UpdateThingCommand.ts b/clients/client-iot/commands/UpdateThingCommand.ts index 61d0d18cab07..4bcb2f5f12f1 100644 --- a/clients/client-iot/commands/UpdateThingCommand.ts +++ b/clients/client-iot/commands/UpdateThingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateThingCommandInput = UpdateThingRequest; @@ -64,14 +64,14 @@ export class UpdateThingCommand extends $Command< private serialize( input: UpdateThingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateThingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateThingCommand(output, context); } diff --git a/clients/client-iot/commands/UpdateThingGroupCommand.ts b/clients/client-iot/commands/UpdateThingGroupCommand.ts index 5be119faf2e7..5693eae57974 100644 --- a/clients/client-iot/commands/UpdateThingGroupCommand.ts +++ b/clients/client-iot/commands/UpdateThingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateThingGroupCommandInput = UpdateThingGroupRequest; @@ -67,14 +67,14 @@ export class UpdateThingGroupCommand extends $Command< private serialize( input: UpdateThingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateThingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateThingGroupCommand(output, context); } diff --git a/clients/client-iot/commands/UpdateThingGroupsForThingCommand.ts b/clients/client-iot/commands/UpdateThingGroupsForThingCommand.ts index b018b1737a26..767e4749cde5 100644 --- a/clients/client-iot/commands/UpdateThingGroupsForThingCommand.ts +++ b/clients/client-iot/commands/UpdateThingGroupsForThingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateThingGroupsForThingCommandInput = UpdateThingGroupsForThingRequest; @@ -70,7 +70,7 @@ export class UpdateThingGroupsForThingCommand extends $Command< private serialize( input: UpdateThingGroupsForThingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateThingGroupsForThingCommand( input, @@ -80,7 +80,7 @@ export class UpdateThingGroupsForThingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateThingGroupsForThingCommand( output, diff --git a/clients/client-iot/commands/UpdateTopicRuleDestinationCommand.ts b/clients/client-iot/commands/UpdateTopicRuleDestinationCommand.ts index 5d741bf2c7b9..b9a34c4ebc3b 100644 --- a/clients/client-iot/commands/UpdateTopicRuleDestinationCommand.ts +++ b/clients/client-iot/commands/UpdateTopicRuleDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTopicRuleDestinationCommandInput = UpdateTopicRuleDestinationRequest; @@ -70,7 +70,7 @@ export class UpdateTopicRuleDestinationCommand extends $Command< private serialize( input: UpdateTopicRuleDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateTopicRuleDestinationCommand( input, @@ -80,7 +80,7 @@ export class UpdateTopicRuleDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateTopicRuleDestinationCommand( output, diff --git a/clients/client-iot/commands/ValidateSecurityProfileBehaviorsCommand.ts b/clients/client-iot/commands/ValidateSecurityProfileBehaviorsCommand.ts index 5ddae3890753..c4437b60d3ea 100644 --- a/clients/client-iot/commands/ValidateSecurityProfileBehaviorsCommand.ts +++ b/clients/client-iot/commands/ValidateSecurityProfileBehaviorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ValidateSecurityProfileBehaviorsCommandInput = ValidateSecurityProfileBehaviorsRequest; @@ -70,7 +70,7 @@ export class ValidateSecurityProfileBehaviorsCommand extends $Command< private serialize( input: ValidateSecurityProfileBehaviorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ValidateSecurityProfileBehaviorsCommand( input, @@ -80,7 +80,7 @@ export class ValidateSecurityProfileBehaviorsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ValidateSecurityProfileBehaviorsCommand( output, diff --git a/clients/client-iot/protocols/Aws_restJson1_1.ts b/clients/client-iot/protocols/Aws_restJson1_1.ts index b7f5c70ad78f..d8350646e19a 100644 --- a/clients/client-iot/protocols/Aws_restJson1_1.ts +++ b/clients/client-iot/protocols/Aws_restJson1_1.ts @@ -34339,6 +34339,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-iotanalytics/commands/BatchPutMessageCommand.ts b/clients/client-iotanalytics/commands/BatchPutMessageCommand.ts index 476171ddbb71..8f3331758d70 100644 --- a/clients/client-iotanalytics/commands/BatchPutMessageCommand.ts +++ b/clients/client-iotanalytics/commands/BatchPutMessageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchPutMessageCommandInput = BatchPutMessageRequest; @@ -67,14 +67,14 @@ export class BatchPutMessageCommand extends $Command< private serialize( input: BatchPutMessageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchPutMessageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchPutMessageCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/CancelPipelineReprocessingCommand.ts b/clients/client-iotanalytics/commands/CancelPipelineReprocessingCommand.ts index e63c5a73cc33..cc18da814947 100644 --- a/clients/client-iotanalytics/commands/CancelPipelineReprocessingCommand.ts +++ b/clients/client-iotanalytics/commands/CancelPipelineReprocessingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelPipelineReprocessingCommandInput = CancelPipelineReprocessingRequest; @@ -70,7 +70,7 @@ export class CancelPipelineReprocessingCommand extends $Command< private serialize( input: CancelPipelineReprocessingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelPipelineReprocessingCommand( input, @@ -80,7 +80,7 @@ export class CancelPipelineReprocessingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelPipelineReprocessingCommand( output, diff --git a/clients/client-iotanalytics/commands/CreateChannelCommand.ts b/clients/client-iotanalytics/commands/CreateChannelCommand.ts index eec7da310e14..b8bb66463a5a 100644 --- a/clients/client-iotanalytics/commands/CreateChannelCommand.ts +++ b/clients/client-iotanalytics/commands/CreateChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateChannelCommandInput = CreateChannelRequest; @@ -64,14 +64,14 @@ export class CreateChannelCommand extends $Command< private serialize( input: CreateChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateChannelCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/CreateDatasetCommand.ts b/clients/client-iotanalytics/commands/CreateDatasetCommand.ts index ecd65e695c5b..1214121bc255 100644 --- a/clients/client-iotanalytics/commands/CreateDatasetCommand.ts +++ b/clients/client-iotanalytics/commands/CreateDatasetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDatasetCommandInput = CreateDatasetRequest; @@ -64,14 +64,14 @@ export class CreateDatasetCommand extends $Command< private serialize( input: CreateDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDatasetCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/CreateDatasetContentCommand.ts b/clients/client-iotanalytics/commands/CreateDatasetContentCommand.ts index 42d4856dc3ec..f5bfd75d2956 100644 --- a/clients/client-iotanalytics/commands/CreateDatasetContentCommand.ts +++ b/clients/client-iotanalytics/commands/CreateDatasetContentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDatasetContentCommandInput = CreateDatasetContentRequest; @@ -70,14 +70,14 @@ export class CreateDatasetContentCommand extends $Command< private serialize( input: CreateDatasetContentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDatasetContentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDatasetContentCommand( output, diff --git a/clients/client-iotanalytics/commands/CreateDatastoreCommand.ts b/clients/client-iotanalytics/commands/CreateDatastoreCommand.ts index 665860ebbde8..03b127d871dd 100644 --- a/clients/client-iotanalytics/commands/CreateDatastoreCommand.ts +++ b/clients/client-iotanalytics/commands/CreateDatastoreCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDatastoreCommandInput = CreateDatastoreRequest; @@ -67,14 +67,14 @@ export class CreateDatastoreCommand extends $Command< private serialize( input: CreateDatastoreCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDatastoreCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDatastoreCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/CreatePipelineCommand.ts b/clients/client-iotanalytics/commands/CreatePipelineCommand.ts index 47516c68149d..8e19df21d716 100644 --- a/clients/client-iotanalytics/commands/CreatePipelineCommand.ts +++ b/clients/client-iotanalytics/commands/CreatePipelineCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePipelineCommandInput = CreatePipelineRequest; @@ -64,14 +64,14 @@ export class CreatePipelineCommand extends $Command< private serialize( input: CreatePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePipelineCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/DeleteChannelCommand.ts b/clients/client-iotanalytics/commands/DeleteChannelCommand.ts index 7efa1933b6be..7fb710dfd624 100644 --- a/clients/client-iotanalytics/commands/DeleteChannelCommand.ts +++ b/clients/client-iotanalytics/commands/DeleteChannelCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteChannelCommandInput = DeleteChannelRequest; @@ -65,14 +65,14 @@ export class DeleteChannelCommand extends $Command< private serialize( input: DeleteChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteChannelCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/DeleteDatasetCommand.ts b/clients/client-iotanalytics/commands/DeleteDatasetCommand.ts index 7e68f0ae4ab0..b53a9a39e0d4 100644 --- a/clients/client-iotanalytics/commands/DeleteDatasetCommand.ts +++ b/clients/client-iotanalytics/commands/DeleteDatasetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDatasetCommandInput = DeleteDatasetRequest; @@ -65,14 +65,14 @@ export class DeleteDatasetCommand extends $Command< private serialize( input: DeleteDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDatasetCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/DeleteDatasetContentCommand.ts b/clients/client-iotanalytics/commands/DeleteDatasetContentCommand.ts index d324e7fa19a6..7f640f91b97d 100644 --- a/clients/client-iotanalytics/commands/DeleteDatasetContentCommand.ts +++ b/clients/client-iotanalytics/commands/DeleteDatasetContentCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDatasetContentCommandInput = DeleteDatasetContentRequest; @@ -68,14 +68,14 @@ export class DeleteDatasetContentCommand extends $Command< private serialize( input: DeleteDatasetContentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDatasetContentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDatasetContentCommand( output, diff --git a/clients/client-iotanalytics/commands/DeleteDatastoreCommand.ts b/clients/client-iotanalytics/commands/DeleteDatastoreCommand.ts index b5c74239710d..dab43a259e3a 100644 --- a/clients/client-iotanalytics/commands/DeleteDatastoreCommand.ts +++ b/clients/client-iotanalytics/commands/DeleteDatastoreCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDatastoreCommandInput = DeleteDatastoreRequest; @@ -65,14 +65,14 @@ export class DeleteDatastoreCommand extends $Command< private serialize( input: DeleteDatastoreCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDatastoreCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDatastoreCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/DeletePipelineCommand.ts b/clients/client-iotanalytics/commands/DeletePipelineCommand.ts index 790a187250cf..4d9b48659755 100644 --- a/clients/client-iotanalytics/commands/DeletePipelineCommand.ts +++ b/clients/client-iotanalytics/commands/DeletePipelineCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePipelineCommandInput = DeletePipelineRequest; @@ -65,14 +65,14 @@ export class DeletePipelineCommand extends $Command< private serialize( input: DeletePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePipelineCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/DescribeChannelCommand.ts b/clients/client-iotanalytics/commands/DescribeChannelCommand.ts index 6377851c79be..97aab0b9e102 100644 --- a/clients/client-iotanalytics/commands/DescribeChannelCommand.ts +++ b/clients/client-iotanalytics/commands/DescribeChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeChannelCommandInput = DescribeChannelRequest; @@ -67,14 +67,14 @@ export class DescribeChannelCommand extends $Command< private serialize( input: DescribeChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeChannelCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/DescribeDatasetCommand.ts b/clients/client-iotanalytics/commands/DescribeDatasetCommand.ts index 754247a3e089..b7f3168a8e47 100644 --- a/clients/client-iotanalytics/commands/DescribeDatasetCommand.ts +++ b/clients/client-iotanalytics/commands/DescribeDatasetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDatasetCommandInput = DescribeDatasetRequest; @@ -67,14 +67,14 @@ export class DescribeDatasetCommand extends $Command< private serialize( input: DescribeDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDatasetCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/DescribeDatastoreCommand.ts b/clients/client-iotanalytics/commands/DescribeDatastoreCommand.ts index 9208f21ecfb4..3fe0212fd017 100644 --- a/clients/client-iotanalytics/commands/DescribeDatastoreCommand.ts +++ b/clients/client-iotanalytics/commands/DescribeDatastoreCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDatastoreCommandInput = DescribeDatastoreRequest; @@ -67,14 +67,14 @@ export class DescribeDatastoreCommand extends $Command< private serialize( input: DescribeDatastoreCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDatastoreCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDatastoreCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/DescribeLoggingOptionsCommand.ts b/clients/client-iotanalytics/commands/DescribeLoggingOptionsCommand.ts index 1ba5f942c3b2..e8331e394a24 100644 --- a/clients/client-iotanalytics/commands/DescribeLoggingOptionsCommand.ts +++ b/clients/client-iotanalytics/commands/DescribeLoggingOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoggingOptionsCommandInput = DescribeLoggingOptionsRequest; @@ -70,7 +70,7 @@ export class DescribeLoggingOptionsCommand extends $Command< private serialize( input: DescribeLoggingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeLoggingOptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeLoggingOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeLoggingOptionsCommand( output, diff --git a/clients/client-iotanalytics/commands/DescribePipelineCommand.ts b/clients/client-iotanalytics/commands/DescribePipelineCommand.ts index 796e80bef63c..3dcb40296fb9 100644 --- a/clients/client-iotanalytics/commands/DescribePipelineCommand.ts +++ b/clients/client-iotanalytics/commands/DescribePipelineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePipelineCommandInput = DescribePipelineRequest; @@ -67,14 +67,14 @@ export class DescribePipelineCommand extends $Command< private serialize( input: DescribePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribePipelineCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/GetDatasetContentCommand.ts b/clients/client-iotanalytics/commands/GetDatasetContentCommand.ts index 95707ebbfe82..94c36d8ad9c2 100644 --- a/clients/client-iotanalytics/commands/GetDatasetContentCommand.ts +++ b/clients/client-iotanalytics/commands/GetDatasetContentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDatasetContentCommandInput = GetDatasetContentRequest; @@ -67,14 +67,14 @@ export class GetDatasetContentCommand extends $Command< private serialize( input: GetDatasetContentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDatasetContentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDatasetContentCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/ListChannelsCommand.ts b/clients/client-iotanalytics/commands/ListChannelsCommand.ts index 4dcc3d6d5182..f26f1a07d46f 100644 --- a/clients/client-iotanalytics/commands/ListChannelsCommand.ts +++ b/clients/client-iotanalytics/commands/ListChannelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListChannelsCommandInput = ListChannelsRequest; @@ -64,14 +64,14 @@ export class ListChannelsCommand extends $Command< private serialize( input: ListChannelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListChannelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListChannelsCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/ListDatasetContentsCommand.ts b/clients/client-iotanalytics/commands/ListDatasetContentsCommand.ts index c021eb1ccd8a..3060af2fe6ff 100644 --- a/clients/client-iotanalytics/commands/ListDatasetContentsCommand.ts +++ b/clients/client-iotanalytics/commands/ListDatasetContentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDatasetContentsCommandInput = ListDatasetContentsRequest; @@ -70,14 +70,14 @@ export class ListDatasetContentsCommand extends $Command< private serialize( input: ListDatasetContentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDatasetContentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDatasetContentsCommand( output, diff --git a/clients/client-iotanalytics/commands/ListDatasetsCommand.ts b/clients/client-iotanalytics/commands/ListDatasetsCommand.ts index ccf560f3a0ba..9a79a18600f0 100644 --- a/clients/client-iotanalytics/commands/ListDatasetsCommand.ts +++ b/clients/client-iotanalytics/commands/ListDatasetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDatasetsCommandInput = ListDatasetsRequest; @@ -64,14 +64,14 @@ export class ListDatasetsCommand extends $Command< private serialize( input: ListDatasetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDatasetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDatasetsCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/ListDatastoresCommand.ts b/clients/client-iotanalytics/commands/ListDatastoresCommand.ts index 26e38f684193..2c03ff3d5604 100644 --- a/clients/client-iotanalytics/commands/ListDatastoresCommand.ts +++ b/clients/client-iotanalytics/commands/ListDatastoresCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDatastoresCommandInput = ListDatastoresRequest; @@ -64,14 +64,14 @@ export class ListDatastoresCommand extends $Command< private serialize( input: ListDatastoresCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDatastoresCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDatastoresCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/ListPipelinesCommand.ts b/clients/client-iotanalytics/commands/ListPipelinesCommand.ts index 705a573a6b10..c2f5798d739a 100644 --- a/clients/client-iotanalytics/commands/ListPipelinesCommand.ts +++ b/clients/client-iotanalytics/commands/ListPipelinesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPipelinesCommandInput = ListPipelinesRequest; @@ -64,14 +64,14 @@ export class ListPipelinesCommand extends $Command< private serialize( input: ListPipelinesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPipelinesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPipelinesCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/ListTagsForResourceCommand.ts b/clients/client-iotanalytics/commands/ListTagsForResourceCommand.ts index 9adbc69b711d..0dd59fb496d2 100644 --- a/clients/client-iotanalytics/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iotanalytics/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-iotanalytics/commands/PutLoggingOptionsCommand.ts b/clients/client-iotanalytics/commands/PutLoggingOptionsCommand.ts index cfd4aa5a70e7..bb3cbdb84f75 100644 --- a/clients/client-iotanalytics/commands/PutLoggingOptionsCommand.ts +++ b/clients/client-iotanalytics/commands/PutLoggingOptionsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLoggingOptionsCommandInput = PutLoggingOptionsRequest; @@ -65,14 +65,14 @@ export class PutLoggingOptionsCommand extends $Command< private serialize( input: PutLoggingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutLoggingOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutLoggingOptionsCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/RunPipelineActivityCommand.ts b/clients/client-iotanalytics/commands/RunPipelineActivityCommand.ts index c080ea7e2ebc..d13e61a90b5f 100644 --- a/clients/client-iotanalytics/commands/RunPipelineActivityCommand.ts +++ b/clients/client-iotanalytics/commands/RunPipelineActivityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RunPipelineActivityCommandInput = RunPipelineActivityRequest; @@ -70,14 +70,14 @@ export class RunPipelineActivityCommand extends $Command< private serialize( input: RunPipelineActivityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RunPipelineActivityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RunPipelineActivityCommand( output, diff --git a/clients/client-iotanalytics/commands/SampleChannelDataCommand.ts b/clients/client-iotanalytics/commands/SampleChannelDataCommand.ts index fcb256ac5cdd..84c464657a3e 100644 --- a/clients/client-iotanalytics/commands/SampleChannelDataCommand.ts +++ b/clients/client-iotanalytics/commands/SampleChannelDataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SampleChannelDataCommandInput = SampleChannelDataRequest; @@ -67,14 +67,14 @@ export class SampleChannelDataCommand extends $Command< private serialize( input: SampleChannelDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SampleChannelDataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SampleChannelDataCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/StartPipelineReprocessingCommand.ts b/clients/client-iotanalytics/commands/StartPipelineReprocessingCommand.ts index 7a11b149d8bb..d83764b88e73 100644 --- a/clients/client-iotanalytics/commands/StartPipelineReprocessingCommand.ts +++ b/clients/client-iotanalytics/commands/StartPipelineReprocessingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartPipelineReprocessingCommandInput = StartPipelineReprocessingRequest; @@ -70,7 +70,7 @@ export class StartPipelineReprocessingCommand extends $Command< private serialize( input: StartPipelineReprocessingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartPipelineReprocessingCommand( input, @@ -80,7 +80,7 @@ export class StartPipelineReprocessingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartPipelineReprocessingCommand( output, diff --git a/clients/client-iotanalytics/commands/TagResourceCommand.ts b/clients/client-iotanalytics/commands/TagResourceCommand.ts index e7c97b309b5d..d6117a20f21f 100644 --- a/clients/client-iotanalytics/commands/TagResourceCommand.ts +++ b/clients/client-iotanalytics/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/UntagResourceCommand.ts b/clients/client-iotanalytics/commands/UntagResourceCommand.ts index 461ec3d5c059..e82003666374 100644 --- a/clients/client-iotanalytics/commands/UntagResourceCommand.ts +++ b/clients/client-iotanalytics/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/UpdateChannelCommand.ts b/clients/client-iotanalytics/commands/UpdateChannelCommand.ts index c62f8e255dc5..e5e1f8f2f926 100644 --- a/clients/client-iotanalytics/commands/UpdateChannelCommand.ts +++ b/clients/client-iotanalytics/commands/UpdateChannelCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateChannelCommandInput = UpdateChannelRequest; @@ -65,14 +65,14 @@ export class UpdateChannelCommand extends $Command< private serialize( input: UpdateChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateChannelCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/UpdateDatasetCommand.ts b/clients/client-iotanalytics/commands/UpdateDatasetCommand.ts index cd51cbdc92f3..3052220de40b 100644 --- a/clients/client-iotanalytics/commands/UpdateDatasetCommand.ts +++ b/clients/client-iotanalytics/commands/UpdateDatasetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDatasetCommandInput = UpdateDatasetRequest; @@ -65,14 +65,14 @@ export class UpdateDatasetCommand extends $Command< private serialize( input: UpdateDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDatasetCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/UpdateDatastoreCommand.ts b/clients/client-iotanalytics/commands/UpdateDatastoreCommand.ts index 3ac89e3b2eb6..58449e3e7bc6 100644 --- a/clients/client-iotanalytics/commands/UpdateDatastoreCommand.ts +++ b/clients/client-iotanalytics/commands/UpdateDatastoreCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDatastoreCommandInput = UpdateDatastoreRequest; @@ -65,14 +65,14 @@ export class UpdateDatastoreCommand extends $Command< private serialize( input: UpdateDatastoreCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDatastoreCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDatastoreCommand(output, context); } diff --git a/clients/client-iotanalytics/commands/UpdatePipelineCommand.ts b/clients/client-iotanalytics/commands/UpdatePipelineCommand.ts index e00586f8494f..42436244c9db 100644 --- a/clients/client-iotanalytics/commands/UpdatePipelineCommand.ts +++ b/clients/client-iotanalytics/commands/UpdatePipelineCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePipelineCommandInput = UpdatePipelineRequest; @@ -65,14 +65,14 @@ export class UpdatePipelineCommand extends $Command< private serialize( input: UpdatePipelineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdatePipelineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdatePipelineCommand(output, context); } diff --git a/clients/client-iotanalytics/protocols/Aws_restJson1_1.ts b/clients/client-iotanalytics/protocols/Aws_restJson1_1.ts index 25547fa81125..4dff3784e9a3 100644 --- a/clients/client-iotanalytics/protocols/Aws_restJson1_1.ts +++ b/clients/client-iotanalytics/protocols/Aws_restJson1_1.ts @@ -7083,6 +7083,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-iotsecuretunneling/commands/CloseTunnelCommand.ts b/clients/client-iotsecuretunneling/commands/CloseTunnelCommand.ts index 1adb4b4f9448..ffe3050aad20 100644 --- a/clients/client-iotsecuretunneling/commands/CloseTunnelCommand.ts +++ b/clients/client-iotsecuretunneling/commands/CloseTunnelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CloseTunnelCommandInput = CloseTunnelRequest; @@ -64,14 +64,14 @@ export class CloseTunnelCommand extends $Command< private serialize( input: CloseTunnelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CloseTunnelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CloseTunnelCommand(output, context); } diff --git a/clients/client-iotsecuretunneling/commands/DescribeTunnelCommand.ts b/clients/client-iotsecuretunneling/commands/DescribeTunnelCommand.ts index d9a50ccc6d47..205297c154f5 100644 --- a/clients/client-iotsecuretunneling/commands/DescribeTunnelCommand.ts +++ b/clients/client-iotsecuretunneling/commands/DescribeTunnelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTunnelCommandInput = DescribeTunnelRequest; @@ -64,14 +64,14 @@ export class DescribeTunnelCommand extends $Command< private serialize( input: DescribeTunnelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTunnelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTunnelCommand(output, context); } diff --git a/clients/client-iotsecuretunneling/commands/ListTagsForResourceCommand.ts b/clients/client-iotsecuretunneling/commands/ListTagsForResourceCommand.ts index 1ae52d1e8ac5..d7830f4a19bf 100644 --- a/clients/client-iotsecuretunneling/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iotsecuretunneling/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-iotsecuretunneling/commands/ListTunnelsCommand.ts b/clients/client-iotsecuretunneling/commands/ListTunnelsCommand.ts index 48f84bd43952..627af44ff06d 100644 --- a/clients/client-iotsecuretunneling/commands/ListTunnelsCommand.ts +++ b/clients/client-iotsecuretunneling/commands/ListTunnelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTunnelsCommandInput = ListTunnelsRequest; @@ -64,14 +64,14 @@ export class ListTunnelsCommand extends $Command< private serialize( input: ListTunnelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTunnelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTunnelsCommand(output, context); } diff --git a/clients/client-iotsecuretunneling/commands/OpenTunnelCommand.ts b/clients/client-iotsecuretunneling/commands/OpenTunnelCommand.ts index 783452c41511..191c70bada0d 100644 --- a/clients/client-iotsecuretunneling/commands/OpenTunnelCommand.ts +++ b/clients/client-iotsecuretunneling/commands/OpenTunnelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type OpenTunnelCommandInput = OpenTunnelRequest; @@ -64,14 +64,14 @@ export class OpenTunnelCommand extends $Command< private serialize( input: OpenTunnelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1OpenTunnelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1OpenTunnelCommand(output, context); } diff --git a/clients/client-iotsecuretunneling/commands/TagResourceCommand.ts b/clients/client-iotsecuretunneling/commands/TagResourceCommand.ts index dffa9195c95c..b71b7221dc59 100644 --- a/clients/client-iotsecuretunneling/commands/TagResourceCommand.ts +++ b/clients/client-iotsecuretunneling/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-iotsecuretunneling/commands/UntagResourceCommand.ts b/clients/client-iotsecuretunneling/commands/UntagResourceCommand.ts index 4e226487dd52..c929166a6df7 100644 --- a/clients/client-iotsecuretunneling/commands/UntagResourceCommand.ts +++ b/clients/client-iotsecuretunneling/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-iotsecuretunneling/protocols/Aws_json1_1.ts b/clients/client-iotsecuretunneling/protocols/Aws_json1_1.ts index 4986490e7e2b..643c3a0abe46 100644 --- a/clients/client-iotsecuretunneling/protocols/Aws_json1_1.ts +++ b/clients/client-iotsecuretunneling/protocols/Aws_json1_1.ts @@ -1105,6 +1105,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-iotthingsgraph/commands/AssociateEntityToThingCommand.ts b/clients/client-iotthingsgraph/commands/AssociateEntityToThingCommand.ts index dcaaa696fcab..a35a81f4c468 100644 --- a/clients/client-iotthingsgraph/commands/AssociateEntityToThingCommand.ts +++ b/clients/client-iotthingsgraph/commands/AssociateEntityToThingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateEntityToThingCommandInput = AssociateEntityToThingRequest; @@ -70,14 +70,14 @@ export class AssociateEntityToThingCommand extends $Command< private serialize( input: AssociateEntityToThingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateEntityToThingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateEntityToThingCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/CreateFlowTemplateCommand.ts b/clients/client-iotthingsgraph/commands/CreateFlowTemplateCommand.ts index fcac1480a92d..556d3f6b6118 100644 --- a/clients/client-iotthingsgraph/commands/CreateFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/CreateFlowTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFlowTemplateCommandInput = CreateFlowTemplateRequest; @@ -67,14 +67,14 @@ export class CreateFlowTemplateCommand extends $Command< private serialize( input: CreateFlowTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateFlowTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateFlowTemplateCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/CreateSystemInstanceCommand.ts b/clients/client-iotthingsgraph/commands/CreateSystemInstanceCommand.ts index 4abc6822c7d5..05c2311d4a99 100644 --- a/clients/client-iotthingsgraph/commands/CreateSystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/commands/CreateSystemInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSystemInstanceCommandInput = CreateSystemInstanceRequest; @@ -70,14 +70,14 @@ export class CreateSystemInstanceCommand extends $Command< private serialize( input: CreateSystemInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSystemInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSystemInstanceCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/CreateSystemTemplateCommand.ts b/clients/client-iotthingsgraph/commands/CreateSystemTemplateCommand.ts index 9a1dde04d5a2..a0dca90e4015 100644 --- a/clients/client-iotthingsgraph/commands/CreateSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/CreateSystemTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSystemTemplateCommandInput = CreateSystemTemplateRequest; @@ -70,14 +70,14 @@ export class CreateSystemTemplateCommand extends $Command< private serialize( input: CreateSystemTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSystemTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSystemTemplateCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/DeleteFlowTemplateCommand.ts b/clients/client-iotthingsgraph/commands/DeleteFlowTemplateCommand.ts index f7bf183c6ca8..5df7264a9505 100644 --- a/clients/client-iotthingsgraph/commands/DeleteFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeleteFlowTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFlowTemplateCommandInput = DeleteFlowTemplateRequest; @@ -67,14 +67,14 @@ export class DeleteFlowTemplateCommand extends $Command< private serialize( input: DeleteFlowTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteFlowTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteFlowTemplateCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/DeleteNamespaceCommand.ts b/clients/client-iotthingsgraph/commands/DeleteNamespaceCommand.ts index 37a52bcc4cd2..b7b9dc2c262c 100644 --- a/clients/client-iotthingsgraph/commands/DeleteNamespaceCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeleteNamespaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNamespaceCommandInput = DeleteNamespaceRequest; @@ -67,14 +67,14 @@ export class DeleteNamespaceCommand extends $Command< private serialize( input: DeleteNamespaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteNamespaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteNamespaceCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/DeleteSystemInstanceCommand.ts b/clients/client-iotthingsgraph/commands/DeleteSystemInstanceCommand.ts index 373f4d10e555..ddab72230688 100644 --- a/clients/client-iotthingsgraph/commands/DeleteSystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeleteSystemInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSystemInstanceCommandInput = DeleteSystemInstanceRequest; @@ -70,14 +70,14 @@ export class DeleteSystemInstanceCommand extends $Command< private serialize( input: DeleteSystemInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSystemInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSystemInstanceCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/DeleteSystemTemplateCommand.ts b/clients/client-iotthingsgraph/commands/DeleteSystemTemplateCommand.ts index 0ff1c4025777..83c5294c77d1 100644 --- a/clients/client-iotthingsgraph/commands/DeleteSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeleteSystemTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSystemTemplateCommandInput = DeleteSystemTemplateRequest; @@ -70,14 +70,14 @@ export class DeleteSystemTemplateCommand extends $Command< private serialize( input: DeleteSystemTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSystemTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSystemTemplateCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/DeploySystemInstanceCommand.ts b/clients/client-iotthingsgraph/commands/DeploySystemInstanceCommand.ts index d8e5b64d8b5e..81e37b39d90c 100644 --- a/clients/client-iotthingsgraph/commands/DeploySystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeploySystemInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeploySystemInstanceCommandInput = DeploySystemInstanceRequest; @@ -70,14 +70,14 @@ export class DeploySystemInstanceCommand extends $Command< private serialize( input: DeploySystemInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeploySystemInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeploySystemInstanceCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/DeprecateFlowTemplateCommand.ts b/clients/client-iotthingsgraph/commands/DeprecateFlowTemplateCommand.ts index c857346cd7e4..e558c2ac0a7d 100644 --- a/clients/client-iotthingsgraph/commands/DeprecateFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeprecateFlowTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeprecateFlowTemplateCommandInput = DeprecateFlowTemplateRequest; @@ -70,14 +70,14 @@ export class DeprecateFlowTemplateCommand extends $Command< private serialize( input: DeprecateFlowTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeprecateFlowTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeprecateFlowTemplateCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/DeprecateSystemTemplateCommand.ts b/clients/client-iotthingsgraph/commands/DeprecateSystemTemplateCommand.ts index 96a3e1577908..798e83594343 100644 --- a/clients/client-iotthingsgraph/commands/DeprecateSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeprecateSystemTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeprecateSystemTemplateCommandInput = DeprecateSystemTemplateRequest; @@ -70,14 +70,14 @@ export class DeprecateSystemTemplateCommand extends $Command< private serialize( input: DeprecateSystemTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeprecateSystemTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeprecateSystemTemplateCommand( output, diff --git a/clients/client-iotthingsgraph/commands/DescribeNamespaceCommand.ts b/clients/client-iotthingsgraph/commands/DescribeNamespaceCommand.ts index 8409fc95f3f9..0b3d4e7093ee 100644 --- a/clients/client-iotthingsgraph/commands/DescribeNamespaceCommand.ts +++ b/clients/client-iotthingsgraph/commands/DescribeNamespaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNamespaceCommandInput = DescribeNamespaceRequest; @@ -67,14 +67,14 @@ export class DescribeNamespaceCommand extends $Command< private serialize( input: DescribeNamespaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeNamespaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeNamespaceCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/DissociateEntityFromThingCommand.ts b/clients/client-iotthingsgraph/commands/DissociateEntityFromThingCommand.ts index 4ba75bf163b5..b0a5f91ca157 100644 --- a/clients/client-iotthingsgraph/commands/DissociateEntityFromThingCommand.ts +++ b/clients/client-iotthingsgraph/commands/DissociateEntityFromThingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DissociateEntityFromThingCommandInput = DissociateEntityFromThingRequest; @@ -70,14 +70,14 @@ export class DissociateEntityFromThingCommand extends $Command< private serialize( input: DissociateEntityFromThingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DissociateEntityFromThingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DissociateEntityFromThingCommand( output, diff --git a/clients/client-iotthingsgraph/commands/GetEntitiesCommand.ts b/clients/client-iotthingsgraph/commands/GetEntitiesCommand.ts index d1628cd3f7ac..85a261b68719 100644 --- a/clients/client-iotthingsgraph/commands/GetEntitiesCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetEntitiesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEntitiesCommandInput = GetEntitiesRequest; @@ -64,14 +64,14 @@ export class GetEntitiesCommand extends $Command< private serialize( input: GetEntitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetEntitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetEntitiesCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/GetFlowTemplateCommand.ts b/clients/client-iotthingsgraph/commands/GetFlowTemplateCommand.ts index 17ab2a44091b..4d603b17399c 100644 --- a/clients/client-iotthingsgraph/commands/GetFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetFlowTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFlowTemplateCommandInput = GetFlowTemplateRequest; @@ -67,14 +67,14 @@ export class GetFlowTemplateCommand extends $Command< private serialize( input: GetFlowTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetFlowTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetFlowTemplateCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/GetFlowTemplateRevisionsCommand.ts b/clients/client-iotthingsgraph/commands/GetFlowTemplateRevisionsCommand.ts index e2f580d77adf..8cadd8e5357c 100644 --- a/clients/client-iotthingsgraph/commands/GetFlowTemplateRevisionsCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetFlowTemplateRevisionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFlowTemplateRevisionsCommandInput = GetFlowTemplateRevisionsRequest; @@ -70,14 +70,14 @@ export class GetFlowTemplateRevisionsCommand extends $Command< private serialize( input: GetFlowTemplateRevisionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetFlowTemplateRevisionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetFlowTemplateRevisionsCommand( output, diff --git a/clients/client-iotthingsgraph/commands/GetNamespaceDeletionStatusCommand.ts b/clients/client-iotthingsgraph/commands/GetNamespaceDeletionStatusCommand.ts index f0e7877217c7..2051c291c35a 100644 --- a/clients/client-iotthingsgraph/commands/GetNamespaceDeletionStatusCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetNamespaceDeletionStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetNamespaceDeletionStatusCommandInput = GetNamespaceDeletionStatusRequest; @@ -70,7 +70,7 @@ export class GetNamespaceDeletionStatusCommand extends $Command< private serialize( input: GetNamespaceDeletionStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetNamespaceDeletionStatusCommand( input, @@ -80,7 +80,7 @@ export class GetNamespaceDeletionStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetNamespaceDeletionStatusCommand( output, diff --git a/clients/client-iotthingsgraph/commands/GetSystemInstanceCommand.ts b/clients/client-iotthingsgraph/commands/GetSystemInstanceCommand.ts index 76a7d65e1fc4..f2cdc96287c8 100644 --- a/clients/client-iotthingsgraph/commands/GetSystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetSystemInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSystemInstanceCommandInput = GetSystemInstanceRequest; @@ -67,14 +67,14 @@ export class GetSystemInstanceCommand extends $Command< private serialize( input: GetSystemInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSystemInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSystemInstanceCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/GetSystemTemplateCommand.ts b/clients/client-iotthingsgraph/commands/GetSystemTemplateCommand.ts index 3287cb27369e..5c72c0e59b80 100644 --- a/clients/client-iotthingsgraph/commands/GetSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetSystemTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSystemTemplateCommandInput = GetSystemTemplateRequest; @@ -67,14 +67,14 @@ export class GetSystemTemplateCommand extends $Command< private serialize( input: GetSystemTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSystemTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSystemTemplateCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/GetSystemTemplateRevisionsCommand.ts b/clients/client-iotthingsgraph/commands/GetSystemTemplateRevisionsCommand.ts index 2ce622c554ec..310499970e9c 100644 --- a/clients/client-iotthingsgraph/commands/GetSystemTemplateRevisionsCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetSystemTemplateRevisionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSystemTemplateRevisionsCommandInput = GetSystemTemplateRevisionsRequest; @@ -70,7 +70,7 @@ export class GetSystemTemplateRevisionsCommand extends $Command< private serialize( input: GetSystemTemplateRevisionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSystemTemplateRevisionsCommand( input, @@ -80,7 +80,7 @@ export class GetSystemTemplateRevisionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSystemTemplateRevisionsCommand( output, diff --git a/clients/client-iotthingsgraph/commands/GetUploadStatusCommand.ts b/clients/client-iotthingsgraph/commands/GetUploadStatusCommand.ts index 19f2a95c42f9..d3369fad0030 100644 --- a/clients/client-iotthingsgraph/commands/GetUploadStatusCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetUploadStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUploadStatusCommandInput = GetUploadStatusRequest; @@ -67,14 +67,14 @@ export class GetUploadStatusCommand extends $Command< private serialize( input: GetUploadStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetUploadStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetUploadStatusCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/ListFlowExecutionMessagesCommand.ts b/clients/client-iotthingsgraph/commands/ListFlowExecutionMessagesCommand.ts index ee8ddb7f25b0..46a6b04f3a81 100644 --- a/clients/client-iotthingsgraph/commands/ListFlowExecutionMessagesCommand.ts +++ b/clients/client-iotthingsgraph/commands/ListFlowExecutionMessagesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFlowExecutionMessagesCommandInput = ListFlowExecutionMessagesRequest; @@ -70,14 +70,14 @@ export class ListFlowExecutionMessagesCommand extends $Command< private serialize( input: ListFlowExecutionMessagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListFlowExecutionMessagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListFlowExecutionMessagesCommand( output, diff --git a/clients/client-iotthingsgraph/commands/ListTagsForResourceCommand.ts b/clients/client-iotthingsgraph/commands/ListTagsForResourceCommand.ts index a179602604df..9b047cd98b38 100644 --- a/clients/client-iotthingsgraph/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iotthingsgraph/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/SearchEntitiesCommand.ts b/clients/client-iotthingsgraph/commands/SearchEntitiesCommand.ts index c8dbf5afda7b..e971be5b55a7 100644 --- a/clients/client-iotthingsgraph/commands/SearchEntitiesCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchEntitiesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchEntitiesCommandInput = SearchEntitiesRequest; @@ -64,14 +64,14 @@ export class SearchEntitiesCommand extends $Command< private serialize( input: SearchEntitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchEntitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchEntitiesCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/SearchFlowExecutionsCommand.ts b/clients/client-iotthingsgraph/commands/SearchFlowExecutionsCommand.ts index aa32b6aadd2f..611d98b25c12 100644 --- a/clients/client-iotthingsgraph/commands/SearchFlowExecutionsCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchFlowExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchFlowExecutionsCommandInput = SearchFlowExecutionsRequest; @@ -70,14 +70,14 @@ export class SearchFlowExecutionsCommand extends $Command< private serialize( input: SearchFlowExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchFlowExecutionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchFlowExecutionsCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/SearchFlowTemplatesCommand.ts b/clients/client-iotthingsgraph/commands/SearchFlowTemplatesCommand.ts index eb66a48ea954..91619730a44d 100644 --- a/clients/client-iotthingsgraph/commands/SearchFlowTemplatesCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchFlowTemplatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchFlowTemplatesCommandInput = SearchFlowTemplatesRequest; @@ -70,14 +70,14 @@ export class SearchFlowTemplatesCommand extends $Command< private serialize( input: SearchFlowTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchFlowTemplatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchFlowTemplatesCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/SearchSystemInstancesCommand.ts b/clients/client-iotthingsgraph/commands/SearchSystemInstancesCommand.ts index b89810e8cc70..a57f9e6c61f4 100644 --- a/clients/client-iotthingsgraph/commands/SearchSystemInstancesCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchSystemInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchSystemInstancesCommandInput = SearchSystemInstancesRequest; @@ -70,14 +70,14 @@ export class SearchSystemInstancesCommand extends $Command< private serialize( input: SearchSystemInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchSystemInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchSystemInstancesCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/SearchSystemTemplatesCommand.ts b/clients/client-iotthingsgraph/commands/SearchSystemTemplatesCommand.ts index 26e228ff1bf3..a6a2989baa28 100644 --- a/clients/client-iotthingsgraph/commands/SearchSystemTemplatesCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchSystemTemplatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchSystemTemplatesCommandInput = SearchSystemTemplatesRequest; @@ -70,14 +70,14 @@ export class SearchSystemTemplatesCommand extends $Command< private serialize( input: SearchSystemTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchSystemTemplatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchSystemTemplatesCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/SearchThingsCommand.ts b/clients/client-iotthingsgraph/commands/SearchThingsCommand.ts index 9b720046611c..2c445a548f00 100644 --- a/clients/client-iotthingsgraph/commands/SearchThingsCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchThingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchThingsCommandInput = SearchThingsRequest; @@ -64,14 +64,14 @@ export class SearchThingsCommand extends $Command< private serialize( input: SearchThingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchThingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchThingsCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/TagResourceCommand.ts b/clients/client-iotthingsgraph/commands/TagResourceCommand.ts index eb7d62887ecc..1b55ad723918 100644 --- a/clients/client-iotthingsgraph/commands/TagResourceCommand.ts +++ b/clients/client-iotthingsgraph/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/UndeploySystemInstanceCommand.ts b/clients/client-iotthingsgraph/commands/UndeploySystemInstanceCommand.ts index ce7d575bce78..e94bd79b1b17 100644 --- a/clients/client-iotthingsgraph/commands/UndeploySystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/commands/UndeploySystemInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UndeploySystemInstanceCommandInput = UndeploySystemInstanceRequest; @@ -70,14 +70,14 @@ export class UndeploySystemInstanceCommand extends $Command< private serialize( input: UndeploySystemInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UndeploySystemInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UndeploySystemInstanceCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/UntagResourceCommand.ts b/clients/client-iotthingsgraph/commands/UntagResourceCommand.ts index c781c4725934..5406dcf30384 100644 --- a/clients/client-iotthingsgraph/commands/UntagResourceCommand.ts +++ b/clients/client-iotthingsgraph/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/UpdateFlowTemplateCommand.ts b/clients/client-iotthingsgraph/commands/UpdateFlowTemplateCommand.ts index b916df89e523..3141c7ba64c3 100644 --- a/clients/client-iotthingsgraph/commands/UpdateFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/UpdateFlowTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFlowTemplateCommandInput = UpdateFlowTemplateRequest; @@ -67,14 +67,14 @@ export class UpdateFlowTemplateCommand extends $Command< private serialize( input: UpdateFlowTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateFlowTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateFlowTemplateCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/UpdateSystemTemplateCommand.ts b/clients/client-iotthingsgraph/commands/UpdateSystemTemplateCommand.ts index 07846c112554..e615d0e8e0aa 100644 --- a/clients/client-iotthingsgraph/commands/UpdateSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/UpdateSystemTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSystemTemplateCommandInput = UpdateSystemTemplateRequest; @@ -70,14 +70,14 @@ export class UpdateSystemTemplateCommand extends $Command< private serialize( input: UpdateSystemTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSystemTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSystemTemplateCommand(output, context); } diff --git a/clients/client-iotthingsgraph/commands/UploadEntityDefinitionsCommand.ts b/clients/client-iotthingsgraph/commands/UploadEntityDefinitionsCommand.ts index 8361c0b5dc7a..5bc42f527071 100644 --- a/clients/client-iotthingsgraph/commands/UploadEntityDefinitionsCommand.ts +++ b/clients/client-iotthingsgraph/commands/UploadEntityDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UploadEntityDefinitionsCommandInput = UploadEntityDefinitionsRequest; @@ -70,14 +70,14 @@ export class UploadEntityDefinitionsCommand extends $Command< private serialize( input: UploadEntityDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UploadEntityDefinitionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UploadEntityDefinitionsCommand( output, diff --git a/clients/client-iotthingsgraph/protocols/Aws_json1_1.ts b/clients/client-iotthingsgraph/protocols/Aws_json1_1.ts index 84f8b281f03d..5f792129a23b 100644 --- a/clients/client-iotthingsgraph/protocols/Aws_json1_1.ts +++ b/clients/client-iotthingsgraph/protocols/Aws_json1_1.ts @@ -5662,6 +5662,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-kafka/commands/CreateClusterCommand.ts b/clients/client-kafka/commands/CreateClusterCommand.ts index 92078bf6b4c9..1c23567df0bd 100644 --- a/clients/client-kafka/commands/CreateClusterCommand.ts +++ b/clients/client-kafka/commands/CreateClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClusterCommandInput = CreateClusterRequest; @@ -64,14 +64,14 @@ export class CreateClusterCommand extends $Command< private serialize( input: CreateClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateClusterCommand(output, context); } diff --git a/clients/client-kafka/commands/CreateConfigurationCommand.ts b/clients/client-kafka/commands/CreateConfigurationCommand.ts index 7476dcf2a294..cd1890129191 100644 --- a/clients/client-kafka/commands/CreateConfigurationCommand.ts +++ b/clients/client-kafka/commands/CreateConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationCommandInput = CreateConfigurationRequest; @@ -70,14 +70,14 @@ export class CreateConfigurationCommand extends $Command< private serialize( input: CreateConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConfigurationCommand( output, diff --git a/clients/client-kafka/commands/DeleteClusterCommand.ts b/clients/client-kafka/commands/DeleteClusterCommand.ts index 41c2942ac980..071437ba31a2 100644 --- a/clients/client-kafka/commands/DeleteClusterCommand.ts +++ b/clients/client-kafka/commands/DeleteClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClusterCommandInput = DeleteClusterRequest; @@ -64,14 +64,14 @@ export class DeleteClusterCommand extends $Command< private serialize( input: DeleteClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteClusterCommand(output, context); } diff --git a/clients/client-kafka/commands/DescribeClusterCommand.ts b/clients/client-kafka/commands/DescribeClusterCommand.ts index 1d4d93a8054e..33c02e87c6cf 100644 --- a/clients/client-kafka/commands/DescribeClusterCommand.ts +++ b/clients/client-kafka/commands/DescribeClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterCommandInput = DescribeClusterRequest; @@ -67,14 +67,14 @@ export class DescribeClusterCommand extends $Command< private serialize( input: DescribeClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeClusterCommand(output, context); } diff --git a/clients/client-kafka/commands/DescribeClusterOperationCommand.ts b/clients/client-kafka/commands/DescribeClusterOperationCommand.ts index 1f0157efac40..2a6c0f2461b7 100644 --- a/clients/client-kafka/commands/DescribeClusterOperationCommand.ts +++ b/clients/client-kafka/commands/DescribeClusterOperationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterOperationCommandInput = DescribeClusterOperationRequest; @@ -70,7 +70,7 @@ export class DescribeClusterOperationCommand extends $Command< private serialize( input: DescribeClusterOperationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeClusterOperationCommand( input, @@ -80,7 +80,7 @@ export class DescribeClusterOperationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeClusterOperationCommand( output, diff --git a/clients/client-kafka/commands/DescribeConfigurationCommand.ts b/clients/client-kafka/commands/DescribeConfigurationCommand.ts index c4579142a38f..936b9620f493 100644 --- a/clients/client-kafka/commands/DescribeConfigurationCommand.ts +++ b/clients/client-kafka/commands/DescribeConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationCommandInput = DescribeConfigurationRequest; @@ -70,14 +70,14 @@ export class DescribeConfigurationCommand extends $Command< private serialize( input: DescribeConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeConfigurationCommand( output, diff --git a/clients/client-kafka/commands/DescribeConfigurationRevisionCommand.ts b/clients/client-kafka/commands/DescribeConfigurationRevisionCommand.ts index a19a6e5cbb24..3b57892d49aa 100644 --- a/clients/client-kafka/commands/DescribeConfigurationRevisionCommand.ts +++ b/clients/client-kafka/commands/DescribeConfigurationRevisionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationRevisionCommandInput = DescribeConfigurationRevisionRequest; @@ -70,7 +70,7 @@ export class DescribeConfigurationRevisionCommand extends $Command< private serialize( input: DescribeConfigurationRevisionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeConfigurationRevisionCommand( input, @@ -80,7 +80,7 @@ export class DescribeConfigurationRevisionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeConfigurationRevisionCommand( output, diff --git a/clients/client-kafka/commands/GetBootstrapBrokersCommand.ts b/clients/client-kafka/commands/GetBootstrapBrokersCommand.ts index 626743412f3d..090e15c24ab0 100644 --- a/clients/client-kafka/commands/GetBootstrapBrokersCommand.ts +++ b/clients/client-kafka/commands/GetBootstrapBrokersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBootstrapBrokersCommandInput = GetBootstrapBrokersRequest; @@ -70,14 +70,14 @@ export class GetBootstrapBrokersCommand extends $Command< private serialize( input: GetBootstrapBrokersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBootstrapBrokersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBootstrapBrokersCommand( output, diff --git a/clients/client-kafka/commands/ListClusterOperationsCommand.ts b/clients/client-kafka/commands/ListClusterOperationsCommand.ts index 8e368dfe9dcc..e9c0ca52d484 100644 --- a/clients/client-kafka/commands/ListClusterOperationsCommand.ts +++ b/clients/client-kafka/commands/ListClusterOperationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListClusterOperationsCommandInput = ListClusterOperationsRequest; @@ -70,14 +70,14 @@ export class ListClusterOperationsCommand extends $Command< private serialize( input: ListClusterOperationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListClusterOperationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListClusterOperationsCommand( output, diff --git a/clients/client-kafka/commands/ListClustersCommand.ts b/clients/client-kafka/commands/ListClustersCommand.ts index e1791efa3bc2..50718407e077 100644 --- a/clients/client-kafka/commands/ListClustersCommand.ts +++ b/clients/client-kafka/commands/ListClustersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListClustersCommandInput = ListClustersRequest; @@ -64,14 +64,14 @@ export class ListClustersCommand extends $Command< private serialize( input: ListClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListClustersCommand(output, context); } diff --git a/clients/client-kafka/commands/ListConfigurationRevisionsCommand.ts b/clients/client-kafka/commands/ListConfigurationRevisionsCommand.ts index e1747598d43b..8f36b3fd0377 100644 --- a/clients/client-kafka/commands/ListConfigurationRevisionsCommand.ts +++ b/clients/client-kafka/commands/ListConfigurationRevisionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigurationRevisionsCommandInput = ListConfigurationRevisionsRequest; @@ -70,7 +70,7 @@ export class ListConfigurationRevisionsCommand extends $Command< private serialize( input: ListConfigurationRevisionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListConfigurationRevisionsCommand( input, @@ -80,7 +80,7 @@ export class ListConfigurationRevisionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListConfigurationRevisionsCommand( output, diff --git a/clients/client-kafka/commands/ListConfigurationsCommand.ts b/clients/client-kafka/commands/ListConfigurationsCommand.ts index 6741b596a403..d264ef8feb32 100644 --- a/clients/client-kafka/commands/ListConfigurationsCommand.ts +++ b/clients/client-kafka/commands/ListConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigurationsCommandInput = ListConfigurationsRequest; @@ -67,14 +67,14 @@ export class ListConfigurationsCommand extends $Command< private serialize( input: ListConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListConfigurationsCommand(output, context); } diff --git a/clients/client-kafka/commands/ListNodesCommand.ts b/clients/client-kafka/commands/ListNodesCommand.ts index 7f26f1d62a83..0719074a92a5 100644 --- a/clients/client-kafka/commands/ListNodesCommand.ts +++ b/clients/client-kafka/commands/ListNodesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListNodesCommandInput = ListNodesRequest; @@ -64,14 +64,14 @@ export class ListNodesCommand extends $Command< private serialize( input: ListNodesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListNodesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListNodesCommand(output, context); } diff --git a/clients/client-kafka/commands/ListTagsForResourceCommand.ts b/clients/client-kafka/commands/ListTagsForResourceCommand.ts index f92da1dc8efa..15996e09dab0 100644 --- a/clients/client-kafka/commands/ListTagsForResourceCommand.ts +++ b/clients/client-kafka/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-kafka/commands/TagResourceCommand.ts b/clients/client-kafka/commands/TagResourceCommand.ts index 2572cc584529..77c81d93359f 100644 --- a/clients/client-kafka/commands/TagResourceCommand.ts +++ b/clients/client-kafka/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-kafka/commands/UntagResourceCommand.ts b/clients/client-kafka/commands/UntagResourceCommand.ts index a6b7b2588c13..1e10cf00926e 100644 --- a/clients/client-kafka/commands/UntagResourceCommand.ts +++ b/clients/client-kafka/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-kafka/commands/UpdateBrokerCountCommand.ts b/clients/client-kafka/commands/UpdateBrokerCountCommand.ts index 0c92aa935001..b87e06a25e0f 100644 --- a/clients/client-kafka/commands/UpdateBrokerCountCommand.ts +++ b/clients/client-kafka/commands/UpdateBrokerCountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBrokerCountCommandInput = UpdateBrokerCountRequest; @@ -67,14 +67,14 @@ export class UpdateBrokerCountCommand extends $Command< private serialize( input: UpdateBrokerCountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateBrokerCountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateBrokerCountCommand(output, context); } diff --git a/clients/client-kafka/commands/UpdateBrokerStorageCommand.ts b/clients/client-kafka/commands/UpdateBrokerStorageCommand.ts index 7dc9982c3ee5..2a69d366bdac 100644 --- a/clients/client-kafka/commands/UpdateBrokerStorageCommand.ts +++ b/clients/client-kafka/commands/UpdateBrokerStorageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBrokerStorageCommandInput = UpdateBrokerStorageRequest; @@ -70,14 +70,14 @@ export class UpdateBrokerStorageCommand extends $Command< private serialize( input: UpdateBrokerStorageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateBrokerStorageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateBrokerStorageCommand( output, diff --git a/clients/client-kafka/commands/UpdateClusterConfigurationCommand.ts b/clients/client-kafka/commands/UpdateClusterConfigurationCommand.ts index cd31ad23e6d8..c9f8fb108301 100644 --- a/clients/client-kafka/commands/UpdateClusterConfigurationCommand.ts +++ b/clients/client-kafka/commands/UpdateClusterConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateClusterConfigurationCommandInput = UpdateClusterConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateClusterConfigurationCommand extends $Command< private serialize( input: UpdateClusterConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateClusterConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateClusterConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateClusterConfigurationCommand( output, diff --git a/clients/client-kafka/commands/UpdateMonitoringCommand.ts b/clients/client-kafka/commands/UpdateMonitoringCommand.ts index af8ec46a419c..5f17d297c3c8 100644 --- a/clients/client-kafka/commands/UpdateMonitoringCommand.ts +++ b/clients/client-kafka/commands/UpdateMonitoringCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMonitoringCommandInput = UpdateMonitoringRequest; @@ -67,14 +67,14 @@ export class UpdateMonitoringCommand extends $Command< private serialize( input: UpdateMonitoringCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateMonitoringCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateMonitoringCommand(output, context); } diff --git a/clients/client-kafka/protocols/Aws_restJson1_1.ts b/clients/client-kafka/protocols/Aws_restJson1_1.ts index 64206161b3c0..2b7debed89fe 100644 --- a/clients/client-kafka/protocols/Aws_restJson1_1.ts +++ b/clients/client-kafka/protocols/Aws_restJson1_1.ts @@ -3917,6 +3917,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts b/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts index 50c840912a4f..43afb94ab154 100644 --- a/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts +++ b/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDeleteDocumentCommandInput = BatchDeleteDocumentRequest; @@ -70,14 +70,14 @@ export class BatchDeleteDocumentCommand extends $Command< private serialize( input: BatchDeleteDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDeleteDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchDeleteDocumentCommand(output, context); } diff --git a/clients/client-kendra/commands/BatchPutDocumentCommand.ts b/clients/client-kendra/commands/BatchPutDocumentCommand.ts index 4c594b5cbd7a..869c0ae1f6e5 100644 --- a/clients/client-kendra/commands/BatchPutDocumentCommand.ts +++ b/clients/client-kendra/commands/BatchPutDocumentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchPutDocumentCommandInput = BatchPutDocumentRequest; @@ -67,14 +67,14 @@ export class BatchPutDocumentCommand extends $Command< private serialize( input: BatchPutDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchPutDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchPutDocumentCommand(output, context); } diff --git a/clients/client-kendra/commands/CreateDataSourceCommand.ts b/clients/client-kendra/commands/CreateDataSourceCommand.ts index b490a8e42e6a..ef0966b23ca1 100644 --- a/clients/client-kendra/commands/CreateDataSourceCommand.ts +++ b/clients/client-kendra/commands/CreateDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDataSourceCommandInput = CreateDataSourceRequest; @@ -67,14 +67,14 @@ export class CreateDataSourceCommand extends $Command< private serialize( input: CreateDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDataSourceCommand(output, context); } diff --git a/clients/client-kendra/commands/CreateFaqCommand.ts b/clients/client-kendra/commands/CreateFaqCommand.ts index 8a988f3c5a38..95ec840c4db8 100644 --- a/clients/client-kendra/commands/CreateFaqCommand.ts +++ b/clients/client-kendra/commands/CreateFaqCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFaqCommandInput = CreateFaqRequest; @@ -64,14 +64,14 @@ export class CreateFaqCommand extends $Command< private serialize( input: CreateFaqCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateFaqCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateFaqCommand(output, context); } diff --git a/clients/client-kendra/commands/CreateIndexCommand.ts b/clients/client-kendra/commands/CreateIndexCommand.ts index 8b11b09d03ee..75d79da8123c 100644 --- a/clients/client-kendra/commands/CreateIndexCommand.ts +++ b/clients/client-kendra/commands/CreateIndexCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIndexCommandInput = CreateIndexRequest; @@ -64,14 +64,14 @@ export class CreateIndexCommand extends $Command< private serialize( input: CreateIndexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateIndexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateIndexCommand(output, context); } diff --git a/clients/client-kendra/commands/DeleteFaqCommand.ts b/clients/client-kendra/commands/DeleteFaqCommand.ts index e52b55f6f5e6..7731e6f06f59 100644 --- a/clients/client-kendra/commands/DeleteFaqCommand.ts +++ b/clients/client-kendra/commands/DeleteFaqCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFaqCommandInput = DeleteFaqRequest; @@ -65,14 +65,14 @@ export class DeleteFaqCommand extends $Command< private serialize( input: DeleteFaqCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteFaqCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteFaqCommand(output, context); } diff --git a/clients/client-kendra/commands/DeleteIndexCommand.ts b/clients/client-kendra/commands/DeleteIndexCommand.ts index 0901051bd66c..83c4c626753b 100644 --- a/clients/client-kendra/commands/DeleteIndexCommand.ts +++ b/clients/client-kendra/commands/DeleteIndexCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIndexCommandInput = DeleteIndexRequest; @@ -65,14 +65,14 @@ export class DeleteIndexCommand extends $Command< private serialize( input: DeleteIndexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteIndexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteIndexCommand(output, context); } diff --git a/clients/client-kendra/commands/DescribeDataSourceCommand.ts b/clients/client-kendra/commands/DescribeDataSourceCommand.ts index 9222b6f961a4..ab8ae31838ee 100644 --- a/clients/client-kendra/commands/DescribeDataSourceCommand.ts +++ b/clients/client-kendra/commands/DescribeDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDataSourceCommandInput = DescribeDataSourceRequest; @@ -67,14 +67,14 @@ export class DescribeDataSourceCommand extends $Command< private serialize( input: DescribeDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDataSourceCommand(output, context); } diff --git a/clients/client-kendra/commands/DescribeFaqCommand.ts b/clients/client-kendra/commands/DescribeFaqCommand.ts index fb6223ccb229..2a866fde78f6 100644 --- a/clients/client-kendra/commands/DescribeFaqCommand.ts +++ b/clients/client-kendra/commands/DescribeFaqCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFaqCommandInput = DescribeFaqRequest; @@ -64,14 +64,14 @@ export class DescribeFaqCommand extends $Command< private serialize( input: DescribeFaqCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeFaqCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeFaqCommand(output, context); } diff --git a/clients/client-kendra/commands/DescribeIndexCommand.ts b/clients/client-kendra/commands/DescribeIndexCommand.ts index 183d21740c91..bbe46d329f31 100644 --- a/clients/client-kendra/commands/DescribeIndexCommand.ts +++ b/clients/client-kendra/commands/DescribeIndexCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIndexCommandInput = DescribeIndexRequest; @@ -64,14 +64,14 @@ export class DescribeIndexCommand extends $Command< private serialize( input: DescribeIndexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeIndexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeIndexCommand(output, context); } diff --git a/clients/client-kendra/commands/ListDataSourceSyncJobsCommand.ts b/clients/client-kendra/commands/ListDataSourceSyncJobsCommand.ts index 58ac7d4d101b..93ff600c796e 100644 --- a/clients/client-kendra/commands/ListDataSourceSyncJobsCommand.ts +++ b/clients/client-kendra/commands/ListDataSourceSyncJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDataSourceSyncJobsCommandInput = ListDataSourceSyncJobsRequest; @@ -70,14 +70,14 @@ export class ListDataSourceSyncJobsCommand extends $Command< private serialize( input: ListDataSourceSyncJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDataSourceSyncJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDataSourceSyncJobsCommand(output, context); } diff --git a/clients/client-kendra/commands/ListDataSourcesCommand.ts b/clients/client-kendra/commands/ListDataSourcesCommand.ts index e4b3f954f026..4b5135db7649 100644 --- a/clients/client-kendra/commands/ListDataSourcesCommand.ts +++ b/clients/client-kendra/commands/ListDataSourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDataSourcesCommandInput = ListDataSourcesRequest; @@ -67,14 +67,14 @@ export class ListDataSourcesCommand extends $Command< private serialize( input: ListDataSourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDataSourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDataSourcesCommand(output, context); } diff --git a/clients/client-kendra/commands/ListFaqsCommand.ts b/clients/client-kendra/commands/ListFaqsCommand.ts index bb14de9f4e93..7f76762d7bca 100644 --- a/clients/client-kendra/commands/ListFaqsCommand.ts +++ b/clients/client-kendra/commands/ListFaqsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFaqsCommandInput = ListFaqsRequest; @@ -64,14 +64,14 @@ export class ListFaqsCommand extends $Command< private serialize( input: ListFaqsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListFaqsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListFaqsCommand(output, context); } diff --git a/clients/client-kendra/commands/ListIndicesCommand.ts b/clients/client-kendra/commands/ListIndicesCommand.ts index 2d4bcfa69430..e25ff73a2f25 100644 --- a/clients/client-kendra/commands/ListIndicesCommand.ts +++ b/clients/client-kendra/commands/ListIndicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIndicesCommandInput = ListIndicesRequest; @@ -64,14 +64,14 @@ export class ListIndicesCommand extends $Command< private serialize( input: ListIndicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListIndicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListIndicesCommand(output, context); } diff --git a/clients/client-kendra/commands/QueryCommand.ts b/clients/client-kendra/commands/QueryCommand.ts index 33b7b7216a87..83f4c9642352 100644 --- a/clients/client-kendra/commands/QueryCommand.ts +++ b/clients/client-kendra/commands/QueryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type QueryCommandInput = QueryRequest; @@ -64,14 +64,14 @@ export class QueryCommand extends $Command< private serialize( input: QueryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1QueryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1QueryCommand(output, context); } diff --git a/clients/client-kendra/commands/StartDataSourceSyncJobCommand.ts b/clients/client-kendra/commands/StartDataSourceSyncJobCommand.ts index 097ea3562494..aad93570c17f 100644 --- a/clients/client-kendra/commands/StartDataSourceSyncJobCommand.ts +++ b/clients/client-kendra/commands/StartDataSourceSyncJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDataSourceSyncJobCommandInput = StartDataSourceSyncJobRequest; @@ -70,14 +70,14 @@ export class StartDataSourceSyncJobCommand extends $Command< private serialize( input: StartDataSourceSyncJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartDataSourceSyncJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartDataSourceSyncJobCommand(output, context); } diff --git a/clients/client-kendra/commands/StopDataSourceSyncJobCommand.ts b/clients/client-kendra/commands/StopDataSourceSyncJobCommand.ts index 77f965b1ac3f..ed9709977b7c 100644 --- a/clients/client-kendra/commands/StopDataSourceSyncJobCommand.ts +++ b/clients/client-kendra/commands/StopDataSourceSyncJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopDataSourceSyncJobCommandInput = StopDataSourceSyncJobRequest; @@ -68,14 +68,14 @@ export class StopDataSourceSyncJobCommand extends $Command< private serialize( input: StopDataSourceSyncJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopDataSourceSyncJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopDataSourceSyncJobCommand(output, context); } diff --git a/clients/client-kendra/commands/SubmitFeedbackCommand.ts b/clients/client-kendra/commands/SubmitFeedbackCommand.ts index 730ad7d57b24..d2a955330de2 100644 --- a/clients/client-kendra/commands/SubmitFeedbackCommand.ts +++ b/clients/client-kendra/commands/SubmitFeedbackCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SubmitFeedbackCommandInput = SubmitFeedbackRequest; @@ -65,14 +65,14 @@ export class SubmitFeedbackCommand extends $Command< private serialize( input: SubmitFeedbackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SubmitFeedbackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SubmitFeedbackCommand(output, context); } diff --git a/clients/client-kendra/commands/UpdateDataSourceCommand.ts b/clients/client-kendra/commands/UpdateDataSourceCommand.ts index aa5a1387bb2b..337730674f3b 100644 --- a/clients/client-kendra/commands/UpdateDataSourceCommand.ts +++ b/clients/client-kendra/commands/UpdateDataSourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDataSourceCommandInput = UpdateDataSourceRequest; @@ -65,14 +65,14 @@ export class UpdateDataSourceCommand extends $Command< private serialize( input: UpdateDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDataSourceCommand(output, context); } diff --git a/clients/client-kendra/commands/UpdateIndexCommand.ts b/clients/client-kendra/commands/UpdateIndexCommand.ts index 16cd02764564..fc47849cff2d 100644 --- a/clients/client-kendra/commands/UpdateIndexCommand.ts +++ b/clients/client-kendra/commands/UpdateIndexCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIndexCommandInput = UpdateIndexRequest; @@ -65,14 +65,14 @@ export class UpdateIndexCommand extends $Command< private serialize( input: UpdateIndexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateIndexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateIndexCommand(output, context); } diff --git a/clients/client-kendra/protocols/Aws_json1_1.ts b/clients/client-kendra/protocols/Aws_json1_1.ts index 7f84d5fd1764..b16eb4004869 100644 --- a/clients/client-kendra/protocols/Aws_json1_1.ts +++ b/clients/client-kendra/protocols/Aws_json1_1.ts @@ -5279,6 +5279,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationCloudWatchLoggingOptionCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationCloudWatchLoggingOptionCommand.ts index db8a6424f6a2..064393e5551d 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationCloudWatchLoggingOptionCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationCloudWatchLoggingOptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddApplicationCloudWatchLoggingOptionCommandInput = AddApplicationCloudWatchLoggingOptionRequest; @@ -72,7 +72,7 @@ export class AddApplicationCloudWatchLoggingOptionCommand extends $Command< private serialize( input: AddApplicationCloudWatchLoggingOptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand( input, @@ -82,7 +82,7 @@ export class AddApplicationCloudWatchLoggingOptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationInputCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationInputCommand.ts index 21a756de251d..d297b6f8098c 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationInputCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationInputCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddApplicationInputCommandInput = AddApplicationInputRequest; @@ -70,14 +70,14 @@ export class AddApplicationInputCommand extends $Command< private serialize( input: AddApplicationInputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddApplicationInputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddApplicationInputCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationInputProcessingConfigurationCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationInputProcessingConfigurationCommand.ts index 520154346399..4acfe8a2cce2 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationInputProcessingConfigurationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationInputProcessingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddApplicationInputProcessingConfigurationCommandInput = AddApplicationInputProcessingConfigurationRequest; @@ -72,7 +72,7 @@ export class AddApplicationInputProcessingConfigurationCommand extends $Command< private serialize( input: AddApplicationInputProcessingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddApplicationInputProcessingConfigurationCommand( input, @@ -82,7 +82,7 @@ export class AddApplicationInputProcessingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationOutputCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationOutputCommand.ts index 1b335751dbc6..96ec1f5f3243 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationOutputCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationOutputCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddApplicationOutputCommandInput = AddApplicationOutputRequest; @@ -70,14 +70,14 @@ export class AddApplicationOutputCommand extends $Command< private serialize( input: AddApplicationOutputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddApplicationOutputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddApplicationOutputCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationReferenceDataSourceCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationReferenceDataSourceCommand.ts index 50e9a043a304..29f0c556e7b3 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationReferenceDataSourceCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationReferenceDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddApplicationReferenceDataSourceCommandInput = AddApplicationReferenceDataSourceRequest; @@ -70,7 +70,7 @@ export class AddApplicationReferenceDataSourceCommand extends $Command< private serialize( input: AddApplicationReferenceDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddApplicationReferenceDataSourceCommand( input, @@ -80,7 +80,7 @@ export class AddApplicationReferenceDataSourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddApplicationReferenceDataSourceCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationVpcConfigurationCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationVpcConfigurationCommand.ts index fef774f12a9e..ab3ada14e665 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationVpcConfigurationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationVpcConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddApplicationVpcConfigurationCommandInput = AddApplicationVpcConfigurationRequest; @@ -70,7 +70,7 @@ export class AddApplicationVpcConfigurationCommand extends $Command< private serialize( input: AddApplicationVpcConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddApplicationVpcConfigurationCommand( input, @@ -80,7 +80,7 @@ export class AddApplicationVpcConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddApplicationVpcConfigurationCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/CreateApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/CreateApplicationCommand.ts index 104dccc9666e..bc580ecdd89d 100644 --- a/clients/client-kinesis-analytics-v2/commands/CreateApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/CreateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApplicationCommandInput = CreateApplicationRequest; @@ -67,14 +67,14 @@ export class CreateApplicationCommand extends $Command< private serialize( input: CreateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/CreateApplicationSnapshotCommand.ts b/clients/client-kinesis-analytics-v2/commands/CreateApplicationSnapshotCommand.ts index b2bb745e3f73..a75ee7601e58 100644 --- a/clients/client-kinesis-analytics-v2/commands/CreateApplicationSnapshotCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/CreateApplicationSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApplicationSnapshotCommandInput = CreateApplicationSnapshotRequest; @@ -70,14 +70,14 @@ export class CreateApplicationSnapshotCommand extends $Command< private serialize( input: CreateApplicationSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateApplicationSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateApplicationSnapshotCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts index d98de5356f4a..35d256fad111 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationCloudWatchLoggingOptionCommandInput = DeleteApplicationCloudWatchLoggingOptionRequest; @@ -72,7 +72,7 @@ export class DeleteApplicationCloudWatchLoggingOptionCommand extends $Command< private serialize( input: DeleteApplicationCloudWatchLoggingOptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand( input, @@ -82,7 +82,7 @@ export class DeleteApplicationCloudWatchLoggingOptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCommand.ts index 9b368ad50813..49ce30df3027 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationCommandInput = DeleteApplicationRequest; @@ -67,14 +67,14 @@ export class DeleteApplicationCommand extends $Command< private serialize( input: DeleteApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationInputProcessingConfigurationCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationInputProcessingConfigurationCommand.ts index 5717d9c6225d..b20ea3d2a614 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationInputProcessingConfigurationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationInputProcessingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationInputProcessingConfigurationCommandInput = DeleteApplicationInputProcessingConfigurationRequest; @@ -72,7 +72,7 @@ export class DeleteApplicationInputProcessingConfigurationCommand extends $Comma private serialize( input: DeleteApplicationInputProcessingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand( input, @@ -82,7 +82,7 @@ export class DeleteApplicationInputProcessingConfigurationCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationOutputCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationOutputCommand.ts index f5d6712c2171..20165b4cbe3c 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationOutputCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationOutputCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationOutputCommandInput = DeleteApplicationOutputRequest; @@ -70,14 +70,14 @@ export class DeleteApplicationOutputCommand extends $Command< private serialize( input: DeleteApplicationOutputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationOutputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationOutputCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationReferenceDataSourceCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationReferenceDataSourceCommand.ts index 97dd00503292..77d1a6f81b01 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationReferenceDataSourceCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationReferenceDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationReferenceDataSourceCommandInput = DeleteApplicationReferenceDataSourceRequest; @@ -72,7 +72,7 @@ export class DeleteApplicationReferenceDataSourceCommand extends $Command< private serialize( input: DeleteApplicationReferenceDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationReferenceDataSourceCommand( input, @@ -82,7 +82,7 @@ export class DeleteApplicationReferenceDataSourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationSnapshotCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationSnapshotCommand.ts index a587b9e11644..6ee6b65f0366 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationSnapshotCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationSnapshotCommandInput = DeleteApplicationSnapshotRequest; @@ -70,14 +70,14 @@ export class DeleteApplicationSnapshotCommand extends $Command< private serialize( input: DeleteApplicationSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationSnapshotCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationVpcConfigurationCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationVpcConfigurationCommand.ts index 52a9dc9b6be7..c175b217f145 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationVpcConfigurationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationVpcConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationVpcConfigurationCommandInput = DeleteApplicationVpcConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteApplicationVpcConfigurationCommand extends $Command< private serialize( input: DeleteApplicationVpcConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationVpcConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteApplicationVpcConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationVpcConfigurationCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/DescribeApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/DescribeApplicationCommand.ts index d07075f7f7b7..83c1bdedd3bc 100644 --- a/clients/client-kinesis-analytics-v2/commands/DescribeApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DescribeApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeApplicationCommandInput = DescribeApplicationRequest; @@ -70,14 +70,14 @@ export class DescribeApplicationCommand extends $Command< private serialize( input: DescribeApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/DescribeApplicationSnapshotCommand.ts b/clients/client-kinesis-analytics-v2/commands/DescribeApplicationSnapshotCommand.ts index 265d64099a2d..4e0d30f3e8d9 100644 --- a/clients/client-kinesis-analytics-v2/commands/DescribeApplicationSnapshotCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DescribeApplicationSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeApplicationSnapshotCommandInput = DescribeApplicationSnapshotRequest; @@ -70,7 +70,7 @@ export class DescribeApplicationSnapshotCommand extends $Command< private serialize( input: DescribeApplicationSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeApplicationSnapshotCommand( input, @@ -80,7 +80,7 @@ export class DescribeApplicationSnapshotCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeApplicationSnapshotCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/DiscoverInputSchemaCommand.ts b/clients/client-kinesis-analytics-v2/commands/DiscoverInputSchemaCommand.ts index 865c6fdd6b3e..e67625c572f8 100644 --- a/clients/client-kinesis-analytics-v2/commands/DiscoverInputSchemaCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DiscoverInputSchemaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DiscoverInputSchemaCommandInput = DiscoverInputSchemaRequest; @@ -70,14 +70,14 @@ export class DiscoverInputSchemaCommand extends $Command< private serialize( input: DiscoverInputSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DiscoverInputSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DiscoverInputSchemaCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/ListApplicationSnapshotsCommand.ts b/clients/client-kinesis-analytics-v2/commands/ListApplicationSnapshotsCommand.ts index c0f5cbbcbbdd..677ec6ccb441 100644 --- a/clients/client-kinesis-analytics-v2/commands/ListApplicationSnapshotsCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/ListApplicationSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApplicationSnapshotsCommandInput = ListApplicationSnapshotsRequest; @@ -70,14 +70,14 @@ export class ListApplicationSnapshotsCommand extends $Command< private serialize( input: ListApplicationSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListApplicationSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListApplicationSnapshotsCommand( output, diff --git a/clients/client-kinesis-analytics-v2/commands/ListApplicationsCommand.ts b/clients/client-kinesis-analytics-v2/commands/ListApplicationsCommand.ts index bccee9ea9d5d..e22ef75c15f4 100644 --- a/clients/client-kinesis-analytics-v2/commands/ListApplicationsCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/ListApplicationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApplicationsCommandInput = ListApplicationsRequest; @@ -67,14 +67,14 @@ export class ListApplicationsCommand extends $Command< private serialize( input: ListApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListApplicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListApplicationsCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/ListTagsForResourceCommand.ts b/clients/client-kinesis-analytics-v2/commands/ListTagsForResourceCommand.ts index 134046b54f5d..ef8d7e8293f9 100644 --- a/clients/client-kinesis-analytics-v2/commands/ListTagsForResourceCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/StartApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/StartApplicationCommand.ts index c3eb35b21c2f..dfcc356da9d6 100644 --- a/clients/client-kinesis-analytics-v2/commands/StartApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/StartApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartApplicationCommandInput = StartApplicationRequest; @@ -67,14 +67,14 @@ export class StartApplicationCommand extends $Command< private serialize( input: StartApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/StopApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/StopApplicationCommand.ts index 74b16f3dc54f..779fe57f321a 100644 --- a/clients/client-kinesis-analytics-v2/commands/StopApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/StopApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopApplicationCommandInput = StopApplicationRequest; @@ -67,14 +67,14 @@ export class StopApplicationCommand extends $Command< private serialize( input: StopApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/TagResourceCommand.ts b/clients/client-kinesis-analytics-v2/commands/TagResourceCommand.ts index e9cb4013374c..837b25782b4a 100644 --- a/clients/client-kinesis-analytics-v2/commands/TagResourceCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/UntagResourceCommand.ts b/clients/client-kinesis-analytics-v2/commands/UntagResourceCommand.ts index 9800dc1d1de3..accf7b5b9091 100644 --- a/clients/client-kinesis-analytics-v2/commands/UntagResourceCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/commands/UpdateApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/UpdateApplicationCommand.ts index 698ddfc8bc40..1497f3cfc145 100644 --- a/clients/client-kinesis-analytics-v2/commands/UpdateApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/UpdateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApplicationCommandInput = UpdateApplicationRequest; @@ -67,14 +67,14 @@ export class UpdateApplicationCommand extends $Command< private serialize( input: UpdateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics-v2/protocols/Aws_json1_1.ts b/clients/client-kinesis-analytics-v2/protocols/Aws_json1_1.ts index 99c9d37258ee..f484e91f445b 100644 --- a/clients/client-kinesis-analytics-v2/protocols/Aws_json1_1.ts +++ b/clients/client-kinesis-analytics-v2/protocols/Aws_json1_1.ts @@ -7240,6 +7240,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-kinesis-analytics/commands/AddApplicationCloudWatchLoggingOptionCommand.ts b/clients/client-kinesis-analytics/commands/AddApplicationCloudWatchLoggingOptionCommand.ts index 90c54c0218b7..9a5e76c4f3ca 100644 --- a/clients/client-kinesis-analytics/commands/AddApplicationCloudWatchLoggingOptionCommand.ts +++ b/clients/client-kinesis-analytics/commands/AddApplicationCloudWatchLoggingOptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddApplicationCloudWatchLoggingOptionCommandInput = AddApplicationCloudWatchLoggingOptionRequest; @@ -72,7 +72,7 @@ export class AddApplicationCloudWatchLoggingOptionCommand extends $Command< private serialize( input: AddApplicationCloudWatchLoggingOptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand( input, @@ -82,7 +82,7 @@ export class AddApplicationCloudWatchLoggingOptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand( output, diff --git a/clients/client-kinesis-analytics/commands/AddApplicationInputCommand.ts b/clients/client-kinesis-analytics/commands/AddApplicationInputCommand.ts index f10931d0aa89..1e7e566e91a7 100644 --- a/clients/client-kinesis-analytics/commands/AddApplicationInputCommand.ts +++ b/clients/client-kinesis-analytics/commands/AddApplicationInputCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddApplicationInputCommandInput = AddApplicationInputRequest; @@ -70,14 +70,14 @@ export class AddApplicationInputCommand extends $Command< private serialize( input: AddApplicationInputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddApplicationInputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddApplicationInputCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/AddApplicationInputProcessingConfigurationCommand.ts b/clients/client-kinesis-analytics/commands/AddApplicationInputProcessingConfigurationCommand.ts index fa0b6c2a45bb..43203acc0047 100644 --- a/clients/client-kinesis-analytics/commands/AddApplicationInputProcessingConfigurationCommand.ts +++ b/clients/client-kinesis-analytics/commands/AddApplicationInputProcessingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddApplicationInputProcessingConfigurationCommandInput = AddApplicationInputProcessingConfigurationRequest; @@ -72,7 +72,7 @@ export class AddApplicationInputProcessingConfigurationCommand extends $Command< private serialize( input: AddApplicationInputProcessingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddApplicationInputProcessingConfigurationCommand( input, @@ -82,7 +82,7 @@ export class AddApplicationInputProcessingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommand( output, diff --git a/clients/client-kinesis-analytics/commands/AddApplicationOutputCommand.ts b/clients/client-kinesis-analytics/commands/AddApplicationOutputCommand.ts index 430bec005d57..9c36563b627a 100644 --- a/clients/client-kinesis-analytics/commands/AddApplicationOutputCommand.ts +++ b/clients/client-kinesis-analytics/commands/AddApplicationOutputCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddApplicationOutputCommandInput = AddApplicationOutputRequest; @@ -70,14 +70,14 @@ export class AddApplicationOutputCommand extends $Command< private serialize( input: AddApplicationOutputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddApplicationOutputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddApplicationOutputCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/AddApplicationReferenceDataSourceCommand.ts b/clients/client-kinesis-analytics/commands/AddApplicationReferenceDataSourceCommand.ts index 87df485d81c2..f395305ee909 100644 --- a/clients/client-kinesis-analytics/commands/AddApplicationReferenceDataSourceCommand.ts +++ b/clients/client-kinesis-analytics/commands/AddApplicationReferenceDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddApplicationReferenceDataSourceCommandInput = AddApplicationReferenceDataSourceRequest; @@ -70,7 +70,7 @@ export class AddApplicationReferenceDataSourceCommand extends $Command< private serialize( input: AddApplicationReferenceDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddApplicationReferenceDataSourceCommand( input, @@ -80,7 +80,7 @@ export class AddApplicationReferenceDataSourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddApplicationReferenceDataSourceCommand( output, diff --git a/clients/client-kinesis-analytics/commands/CreateApplicationCommand.ts b/clients/client-kinesis-analytics/commands/CreateApplicationCommand.ts index 57d6858d8d2d..a03fdfc9db85 100644 --- a/clients/client-kinesis-analytics/commands/CreateApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/CreateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApplicationCommandInput = CreateApplicationRequest; @@ -67,14 +67,14 @@ export class CreateApplicationCommand extends $Command< private serialize( input: CreateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts b/clients/client-kinesis-analytics/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts index 84f0981f402f..582f70ce027c 100644 --- a/clients/client-kinesis-analytics/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts +++ b/clients/client-kinesis-analytics/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationCloudWatchLoggingOptionCommandInput = DeleteApplicationCloudWatchLoggingOptionRequest; @@ -72,7 +72,7 @@ export class DeleteApplicationCloudWatchLoggingOptionCommand extends $Command< private serialize( input: DeleteApplicationCloudWatchLoggingOptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand( input, @@ -82,7 +82,7 @@ export class DeleteApplicationCloudWatchLoggingOptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand( output, diff --git a/clients/client-kinesis-analytics/commands/DeleteApplicationCommand.ts b/clients/client-kinesis-analytics/commands/DeleteApplicationCommand.ts index 226a2d0971fc..71ea47b4c6a0 100644 --- a/clients/client-kinesis-analytics/commands/DeleteApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/DeleteApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationCommandInput = DeleteApplicationRequest; @@ -67,14 +67,14 @@ export class DeleteApplicationCommand extends $Command< private serialize( input: DeleteApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/DeleteApplicationInputProcessingConfigurationCommand.ts b/clients/client-kinesis-analytics/commands/DeleteApplicationInputProcessingConfigurationCommand.ts index 3e55778a2c8a..5676bd73c253 100644 --- a/clients/client-kinesis-analytics/commands/DeleteApplicationInputProcessingConfigurationCommand.ts +++ b/clients/client-kinesis-analytics/commands/DeleteApplicationInputProcessingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationInputProcessingConfigurationCommandInput = DeleteApplicationInputProcessingConfigurationRequest; @@ -72,7 +72,7 @@ export class DeleteApplicationInputProcessingConfigurationCommand extends $Comma private serialize( input: DeleteApplicationInputProcessingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand( input, @@ -82,7 +82,7 @@ export class DeleteApplicationInputProcessingConfigurationCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand( output, diff --git a/clients/client-kinesis-analytics/commands/DeleteApplicationOutputCommand.ts b/clients/client-kinesis-analytics/commands/DeleteApplicationOutputCommand.ts index 7936de81b0aa..feb9953c1970 100644 --- a/clients/client-kinesis-analytics/commands/DeleteApplicationOutputCommand.ts +++ b/clients/client-kinesis-analytics/commands/DeleteApplicationOutputCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationOutputCommandInput = DeleteApplicationOutputRequest; @@ -70,14 +70,14 @@ export class DeleteApplicationOutputCommand extends $Command< private serialize( input: DeleteApplicationOutputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationOutputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationOutputCommand( output, diff --git a/clients/client-kinesis-analytics/commands/DeleteApplicationReferenceDataSourceCommand.ts b/clients/client-kinesis-analytics/commands/DeleteApplicationReferenceDataSourceCommand.ts index efa8870943ae..a488580981e1 100644 --- a/clients/client-kinesis-analytics/commands/DeleteApplicationReferenceDataSourceCommand.ts +++ b/clients/client-kinesis-analytics/commands/DeleteApplicationReferenceDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationReferenceDataSourceCommandInput = DeleteApplicationReferenceDataSourceRequest; @@ -72,7 +72,7 @@ export class DeleteApplicationReferenceDataSourceCommand extends $Command< private serialize( input: DeleteApplicationReferenceDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteApplicationReferenceDataSourceCommand( input, @@ -82,7 +82,7 @@ export class DeleteApplicationReferenceDataSourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommand( output, diff --git a/clients/client-kinesis-analytics/commands/DescribeApplicationCommand.ts b/clients/client-kinesis-analytics/commands/DescribeApplicationCommand.ts index 4db24db838d9..2ec386ccab6c 100644 --- a/clients/client-kinesis-analytics/commands/DescribeApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/DescribeApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeApplicationCommandInput = DescribeApplicationRequest; @@ -70,14 +70,14 @@ export class DescribeApplicationCommand extends $Command< private serialize( input: DescribeApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/DiscoverInputSchemaCommand.ts b/clients/client-kinesis-analytics/commands/DiscoverInputSchemaCommand.ts index 94753ccb2205..40aa71b7c992 100644 --- a/clients/client-kinesis-analytics/commands/DiscoverInputSchemaCommand.ts +++ b/clients/client-kinesis-analytics/commands/DiscoverInputSchemaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DiscoverInputSchemaCommandInput = DiscoverInputSchemaRequest; @@ -70,14 +70,14 @@ export class DiscoverInputSchemaCommand extends $Command< private serialize( input: DiscoverInputSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DiscoverInputSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DiscoverInputSchemaCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/ListApplicationsCommand.ts b/clients/client-kinesis-analytics/commands/ListApplicationsCommand.ts index 39ddde0928ff..b28309f0296e 100644 --- a/clients/client-kinesis-analytics/commands/ListApplicationsCommand.ts +++ b/clients/client-kinesis-analytics/commands/ListApplicationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApplicationsCommandInput = ListApplicationsRequest; @@ -67,14 +67,14 @@ export class ListApplicationsCommand extends $Command< private serialize( input: ListApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListApplicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListApplicationsCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/ListTagsForResourceCommand.ts b/clients/client-kinesis-analytics/commands/ListTagsForResourceCommand.ts index b7b8815234bd..7131fd534106 100644 --- a/clients/client-kinesis-analytics/commands/ListTagsForResourceCommand.ts +++ b/clients/client-kinesis-analytics/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/StartApplicationCommand.ts b/clients/client-kinesis-analytics/commands/StartApplicationCommand.ts index efa94c1e71f7..8e0a9da8c05d 100644 --- a/clients/client-kinesis-analytics/commands/StartApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/StartApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartApplicationCommandInput = StartApplicationRequest; @@ -67,14 +67,14 @@ export class StartApplicationCommand extends $Command< private serialize( input: StartApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/StopApplicationCommand.ts b/clients/client-kinesis-analytics/commands/StopApplicationCommand.ts index b151be57ffd5..e6cfd16e4df8 100644 --- a/clients/client-kinesis-analytics/commands/StopApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/StopApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopApplicationCommandInput = StopApplicationRequest; @@ -67,14 +67,14 @@ export class StopApplicationCommand extends $Command< private serialize( input: StopApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/TagResourceCommand.ts b/clients/client-kinesis-analytics/commands/TagResourceCommand.ts index fd48298d01df..e449bc76725d 100644 --- a/clients/client-kinesis-analytics/commands/TagResourceCommand.ts +++ b/clients/client-kinesis-analytics/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/UntagResourceCommand.ts b/clients/client-kinesis-analytics/commands/UntagResourceCommand.ts index c0d6f47f0916..2b96a276ede8 100644 --- a/clients/client-kinesis-analytics/commands/UntagResourceCommand.ts +++ b/clients/client-kinesis-analytics/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-kinesis-analytics/commands/UpdateApplicationCommand.ts b/clients/client-kinesis-analytics/commands/UpdateApplicationCommand.ts index 404f140f1a24..42b36aa688b7 100644 --- a/clients/client-kinesis-analytics/commands/UpdateApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/UpdateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApplicationCommandInput = UpdateApplicationRequest; @@ -67,14 +67,14 @@ export class UpdateApplicationCommand extends $Command< private serialize( input: UpdateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateApplicationCommand(output, context); } diff --git a/clients/client-kinesis-analytics/protocols/Aws_json1_1.ts b/clients/client-kinesis-analytics/protocols/Aws_json1_1.ts index 862752866a74..64ea4c285776 100644 --- a/clients/client-kinesis-analytics/protocols/Aws_json1_1.ts +++ b/clients/client-kinesis-analytics/protocols/Aws_json1_1.ts @@ -4860,6 +4860,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-kinesis-video-archived-media/commands/GetDASHStreamingSessionURLCommand.ts b/clients/client-kinesis-video-archived-media/commands/GetDASHStreamingSessionURLCommand.ts index caa1ccba613b..9dc5785fdc1e 100644 --- a/clients/client-kinesis-video-archived-media/commands/GetDASHStreamingSessionURLCommand.ts +++ b/clients/client-kinesis-video-archived-media/commands/GetDASHStreamingSessionURLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDASHStreamingSessionURLCommandInput = GetDASHStreamingSessionURLInput; @@ -70,7 +70,7 @@ export class GetDASHStreamingSessionURLCommand extends $Command< private serialize( input: GetDASHStreamingSessionURLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDASHStreamingSessionURLCommand( input, @@ -80,7 +80,7 @@ export class GetDASHStreamingSessionURLCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDASHStreamingSessionURLCommand( output, diff --git a/clients/client-kinesis-video-archived-media/commands/GetHLSStreamingSessionURLCommand.ts b/clients/client-kinesis-video-archived-media/commands/GetHLSStreamingSessionURLCommand.ts index 036fa0d5155e..06c16d3d49fc 100644 --- a/clients/client-kinesis-video-archived-media/commands/GetHLSStreamingSessionURLCommand.ts +++ b/clients/client-kinesis-video-archived-media/commands/GetHLSStreamingSessionURLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHLSStreamingSessionURLCommandInput = GetHLSStreamingSessionURLInput; @@ -70,7 +70,7 @@ export class GetHLSStreamingSessionURLCommand extends $Command< private serialize( input: GetHLSStreamingSessionURLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetHLSStreamingSessionURLCommand( input, @@ -80,7 +80,7 @@ export class GetHLSStreamingSessionURLCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetHLSStreamingSessionURLCommand( output, diff --git a/clients/client-kinesis-video-archived-media/commands/GetMediaForFragmentListCommand.ts b/clients/client-kinesis-video-archived-media/commands/GetMediaForFragmentListCommand.ts index 4c78d2270825..4f88f0ff6176 100644 --- a/clients/client-kinesis-video-archived-media/commands/GetMediaForFragmentListCommand.ts +++ b/clients/client-kinesis-video-archived-media/commands/GetMediaForFragmentListCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMediaForFragmentListCommandInput = GetMediaForFragmentListInput; @@ -70,7 +70,7 @@ export class GetMediaForFragmentListCommand extends $Command< private serialize( input: GetMediaForFragmentListCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMediaForFragmentListCommand( input, @@ -80,7 +80,7 @@ export class GetMediaForFragmentListCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMediaForFragmentListCommand( output, diff --git a/clients/client-kinesis-video-archived-media/commands/ListFragmentsCommand.ts b/clients/client-kinesis-video-archived-media/commands/ListFragmentsCommand.ts index 39442f20775d..1f1f2e62b3a4 100644 --- a/clients/client-kinesis-video-archived-media/commands/ListFragmentsCommand.ts +++ b/clients/client-kinesis-video-archived-media/commands/ListFragmentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFragmentsCommandInput = ListFragmentsInput; @@ -64,14 +64,14 @@ export class ListFragmentsCommand extends $Command< private serialize( input: ListFragmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFragmentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFragmentsCommand(output, context); } diff --git a/clients/client-kinesis-video-archived-media/protocols/Aws_restJson1_1.ts b/clients/client-kinesis-video-archived-media/protocols/Aws_restJson1_1.ts index 797e02717550..ae7ad0484b0a 100644 --- a/clients/client-kinesis-video-archived-media/protocols/Aws_restJson1_1.ts +++ b/clients/client-kinesis-video-archived-media/protocols/Aws_restJson1_1.ts @@ -896,6 +896,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-kinesis-video-media/commands/GetMediaCommand.ts b/clients/client-kinesis-video-media/commands/GetMediaCommand.ts index 668482dad734..6e4be748dbe9 100644 --- a/clients/client-kinesis-video-media/commands/GetMediaCommand.ts +++ b/clients/client-kinesis-video-media/commands/GetMediaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMediaCommandInput = GetMediaInput; @@ -64,14 +64,14 @@ export class GetMediaCommand extends $Command< private serialize( input: GetMediaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMediaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMediaCommand(output, context); } diff --git a/clients/client-kinesis-video-media/protocols/Aws_restJson1_1.ts b/clients/client-kinesis-video-media/protocols/Aws_restJson1_1.ts index 87c002a154df..095f735f2599 100644 --- a/clients/client-kinesis-video-media/protocols/Aws_restJson1_1.ts +++ b/clients/client-kinesis-video-media/protocols/Aws_restJson1_1.ts @@ -280,6 +280,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-kinesis-video-signaling/commands/GetIceServerConfigCommand.ts b/clients/client-kinesis-video-signaling/commands/GetIceServerConfigCommand.ts index 0602982b9dd1..6fdee3980835 100644 --- a/clients/client-kinesis-video-signaling/commands/GetIceServerConfigCommand.ts +++ b/clients/client-kinesis-video-signaling/commands/GetIceServerConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIceServerConfigCommandInput = GetIceServerConfigRequest; @@ -67,14 +67,14 @@ export class GetIceServerConfigCommand extends $Command< private serialize( input: GetIceServerConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIceServerConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIceServerConfigCommand(output, context); } diff --git a/clients/client-kinesis-video-signaling/commands/SendAlexaOfferToMasterCommand.ts b/clients/client-kinesis-video-signaling/commands/SendAlexaOfferToMasterCommand.ts index 821abd175103..49ca8d7b468d 100644 --- a/clients/client-kinesis-video-signaling/commands/SendAlexaOfferToMasterCommand.ts +++ b/clients/client-kinesis-video-signaling/commands/SendAlexaOfferToMasterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendAlexaOfferToMasterCommandInput = SendAlexaOfferToMasterRequest; @@ -70,7 +70,7 @@ export class SendAlexaOfferToMasterCommand extends $Command< private serialize( input: SendAlexaOfferToMasterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SendAlexaOfferToMasterCommand( input, @@ -80,7 +80,7 @@ export class SendAlexaOfferToMasterCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SendAlexaOfferToMasterCommand( output, diff --git a/clients/client-kinesis-video-signaling/protocols/Aws_restJson1_1.ts b/clients/client-kinesis-video-signaling/protocols/Aws_restJson1_1.ts index 523f00a748fb..bbf42e589475 100644 --- a/clients/client-kinesis-video-signaling/protocols/Aws_restJson1_1.ts +++ b/clients/client-kinesis-video-signaling/protocols/Aws_restJson1_1.ts @@ -414,6 +414,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-kinesis-video/commands/CreateSignalingChannelCommand.ts b/clients/client-kinesis-video/commands/CreateSignalingChannelCommand.ts index 1991af9dae44..0eb2790bff59 100644 --- a/clients/client-kinesis-video/commands/CreateSignalingChannelCommand.ts +++ b/clients/client-kinesis-video/commands/CreateSignalingChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSignalingChannelCommandInput = CreateSignalingChannelInput; @@ -70,7 +70,7 @@ export class CreateSignalingChannelCommand extends $Command< private serialize( input: CreateSignalingChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSignalingChannelCommand( input, @@ -80,7 +80,7 @@ export class CreateSignalingChannelCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSignalingChannelCommand( output, diff --git a/clients/client-kinesis-video/commands/CreateStreamCommand.ts b/clients/client-kinesis-video/commands/CreateStreamCommand.ts index dc57fd19c3f4..e93c94b6df8a 100644 --- a/clients/client-kinesis-video/commands/CreateStreamCommand.ts +++ b/clients/client-kinesis-video/commands/CreateStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStreamCommandInput = CreateStreamInput; @@ -64,14 +64,14 @@ export class CreateStreamCommand extends $Command< private serialize( input: CreateStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateStreamCommand(output, context); } diff --git a/clients/client-kinesis-video/commands/DeleteSignalingChannelCommand.ts b/clients/client-kinesis-video/commands/DeleteSignalingChannelCommand.ts index 416f126c9757..331ebfb46a2d 100644 --- a/clients/client-kinesis-video/commands/DeleteSignalingChannelCommand.ts +++ b/clients/client-kinesis-video/commands/DeleteSignalingChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSignalingChannelCommandInput = DeleteSignalingChannelInput; @@ -70,7 +70,7 @@ export class DeleteSignalingChannelCommand extends $Command< private serialize( input: DeleteSignalingChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSignalingChannelCommand( input, @@ -80,7 +80,7 @@ export class DeleteSignalingChannelCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSignalingChannelCommand( output, diff --git a/clients/client-kinesis-video/commands/DeleteStreamCommand.ts b/clients/client-kinesis-video/commands/DeleteStreamCommand.ts index d713ac226444..010005724355 100644 --- a/clients/client-kinesis-video/commands/DeleteStreamCommand.ts +++ b/clients/client-kinesis-video/commands/DeleteStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStreamCommandInput = DeleteStreamInput; @@ -64,14 +64,14 @@ export class DeleteStreamCommand extends $Command< private serialize( input: DeleteStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteStreamCommand(output, context); } diff --git a/clients/client-kinesis-video/commands/DescribeSignalingChannelCommand.ts b/clients/client-kinesis-video/commands/DescribeSignalingChannelCommand.ts index b534aef039e1..0a26b1286d2e 100644 --- a/clients/client-kinesis-video/commands/DescribeSignalingChannelCommand.ts +++ b/clients/client-kinesis-video/commands/DescribeSignalingChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSignalingChannelCommandInput = DescribeSignalingChannelInput; @@ -70,7 +70,7 @@ export class DescribeSignalingChannelCommand extends $Command< private serialize( input: DescribeSignalingChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeSignalingChannelCommand( input, @@ -80,7 +80,7 @@ export class DescribeSignalingChannelCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeSignalingChannelCommand( output, diff --git a/clients/client-kinesis-video/commands/DescribeStreamCommand.ts b/clients/client-kinesis-video/commands/DescribeStreamCommand.ts index e24a50336a50..aeb87ee7d76e 100644 --- a/clients/client-kinesis-video/commands/DescribeStreamCommand.ts +++ b/clients/client-kinesis-video/commands/DescribeStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStreamCommandInput = DescribeStreamInput; @@ -64,14 +64,14 @@ export class DescribeStreamCommand extends $Command< private serialize( input: DescribeStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeStreamCommand(output, context); } diff --git a/clients/client-kinesis-video/commands/GetDataEndpointCommand.ts b/clients/client-kinesis-video/commands/GetDataEndpointCommand.ts index 492c09490fcb..ec56634913e5 100644 --- a/clients/client-kinesis-video/commands/GetDataEndpointCommand.ts +++ b/clients/client-kinesis-video/commands/GetDataEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDataEndpointCommandInput = GetDataEndpointInput; @@ -64,14 +64,14 @@ export class GetDataEndpointCommand extends $Command< private serialize( input: GetDataEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDataEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDataEndpointCommand(output, context); } diff --git a/clients/client-kinesis-video/commands/GetSignalingChannelEndpointCommand.ts b/clients/client-kinesis-video/commands/GetSignalingChannelEndpointCommand.ts index 80a2ad91f85a..d986d0a4cc3a 100644 --- a/clients/client-kinesis-video/commands/GetSignalingChannelEndpointCommand.ts +++ b/clients/client-kinesis-video/commands/GetSignalingChannelEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSignalingChannelEndpointCommandInput = GetSignalingChannelEndpointInput; @@ -70,7 +70,7 @@ export class GetSignalingChannelEndpointCommand extends $Command< private serialize( input: GetSignalingChannelEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSignalingChannelEndpointCommand( input, @@ -80,7 +80,7 @@ export class GetSignalingChannelEndpointCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSignalingChannelEndpointCommand( output, diff --git a/clients/client-kinesis-video/commands/ListSignalingChannelsCommand.ts b/clients/client-kinesis-video/commands/ListSignalingChannelsCommand.ts index 3cec2c27151b..b41f79103ac0 100644 --- a/clients/client-kinesis-video/commands/ListSignalingChannelsCommand.ts +++ b/clients/client-kinesis-video/commands/ListSignalingChannelsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSignalingChannelsCommandInput = ListSignalingChannelsInput; @@ -70,14 +70,14 @@ export class ListSignalingChannelsCommand extends $Command< private serialize( input: ListSignalingChannelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSignalingChannelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSignalingChannelsCommand( output, diff --git a/clients/client-kinesis-video/commands/ListStreamsCommand.ts b/clients/client-kinesis-video/commands/ListStreamsCommand.ts index 0cb0d9a884f6..a7b92a15bcdc 100644 --- a/clients/client-kinesis-video/commands/ListStreamsCommand.ts +++ b/clients/client-kinesis-video/commands/ListStreamsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStreamsCommandInput = ListStreamsInput; @@ -64,14 +64,14 @@ export class ListStreamsCommand extends $Command< private serialize( input: ListStreamsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListStreamsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListStreamsCommand(output, context); } diff --git a/clients/client-kinesis-video/commands/ListTagsForResourceCommand.ts b/clients/client-kinesis-video/commands/ListTagsForResourceCommand.ts index d8d9bc612f6b..9aff210563ca 100644 --- a/clients/client-kinesis-video/commands/ListTagsForResourceCommand.ts +++ b/clients/client-kinesis-video/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-kinesis-video/commands/ListTagsForStreamCommand.ts b/clients/client-kinesis-video/commands/ListTagsForStreamCommand.ts index 6dfba7e2baa9..2a028298a8d0 100644 --- a/clients/client-kinesis-video/commands/ListTagsForStreamCommand.ts +++ b/clients/client-kinesis-video/commands/ListTagsForStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForStreamCommandInput = ListTagsForStreamInput; @@ -67,14 +67,14 @@ export class ListTagsForStreamCommand extends $Command< private serialize( input: ListTagsForStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForStreamCommand(output, context); } diff --git a/clients/client-kinesis-video/commands/TagResourceCommand.ts b/clients/client-kinesis-video/commands/TagResourceCommand.ts index 5210a63a40a0..7252738bcfc6 100644 --- a/clients/client-kinesis-video/commands/TagResourceCommand.ts +++ b/clients/client-kinesis-video/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-kinesis-video/commands/TagStreamCommand.ts b/clients/client-kinesis-video/commands/TagStreamCommand.ts index c529c11ac579..125c8d7c0779 100644 --- a/clients/client-kinesis-video/commands/TagStreamCommand.ts +++ b/clients/client-kinesis-video/commands/TagStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagStreamCommandInput = TagStreamInput; @@ -64,14 +64,14 @@ export class TagStreamCommand extends $Command< private serialize( input: TagStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagStreamCommand(output, context); } diff --git a/clients/client-kinesis-video/commands/UntagResourceCommand.ts b/clients/client-kinesis-video/commands/UntagResourceCommand.ts index af9b31abb784..3605d749f55d 100644 --- a/clients/client-kinesis-video/commands/UntagResourceCommand.ts +++ b/clients/client-kinesis-video/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-kinesis-video/commands/UntagStreamCommand.ts b/clients/client-kinesis-video/commands/UntagStreamCommand.ts index 36b9eff0f058..a2a4755fe747 100644 --- a/clients/client-kinesis-video/commands/UntagStreamCommand.ts +++ b/clients/client-kinesis-video/commands/UntagStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagStreamCommandInput = UntagStreamInput; @@ -64,14 +64,14 @@ export class UntagStreamCommand extends $Command< private serialize( input: UntagStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagStreamCommand(output, context); } diff --git a/clients/client-kinesis-video/commands/UpdateDataRetentionCommand.ts b/clients/client-kinesis-video/commands/UpdateDataRetentionCommand.ts index dbbbb6c19b32..0d60ba1bb178 100644 --- a/clients/client-kinesis-video/commands/UpdateDataRetentionCommand.ts +++ b/clients/client-kinesis-video/commands/UpdateDataRetentionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDataRetentionCommandInput = UpdateDataRetentionInput; @@ -70,14 +70,14 @@ export class UpdateDataRetentionCommand extends $Command< private serialize( input: UpdateDataRetentionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDataRetentionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDataRetentionCommand( output, diff --git a/clients/client-kinesis-video/commands/UpdateSignalingChannelCommand.ts b/clients/client-kinesis-video/commands/UpdateSignalingChannelCommand.ts index 6f22d14d5bea..810fc85c07d6 100644 --- a/clients/client-kinesis-video/commands/UpdateSignalingChannelCommand.ts +++ b/clients/client-kinesis-video/commands/UpdateSignalingChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSignalingChannelCommandInput = UpdateSignalingChannelInput; @@ -70,7 +70,7 @@ export class UpdateSignalingChannelCommand extends $Command< private serialize( input: UpdateSignalingChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateSignalingChannelCommand( input, @@ -80,7 +80,7 @@ export class UpdateSignalingChannelCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateSignalingChannelCommand( output, diff --git a/clients/client-kinesis-video/commands/UpdateStreamCommand.ts b/clients/client-kinesis-video/commands/UpdateStreamCommand.ts index b7e9e279c43e..c13083d4f926 100644 --- a/clients/client-kinesis-video/commands/UpdateStreamCommand.ts +++ b/clients/client-kinesis-video/commands/UpdateStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStreamCommandInput = UpdateStreamInput; @@ -64,14 +64,14 @@ export class UpdateStreamCommand extends $Command< private serialize( input: UpdateStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateStreamCommand(output, context); } diff --git a/clients/client-kinesis-video/protocols/Aws_restJson1_1.ts b/clients/client-kinesis-video/protocols/Aws_restJson1_1.ts index 268d275255fa..7320e4746e6e 100644 --- a/clients/client-kinesis-video/protocols/Aws_restJson1_1.ts +++ b/clients/client-kinesis-video/protocols/Aws_restJson1_1.ts @@ -2764,6 +2764,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-kinesis/KinesisClient.ts b/clients/client-kinesis/KinesisClient.ts index 07f5100cbaaa..dc1d8a6690f2 100644 --- a/clients/client-kinesis/KinesisClient.ts +++ b/clients/client-kinesis/KinesisClient.ts @@ -53,6 +53,11 @@ import { resolveEndpointsConfig, resolveRegionConfig } from "@aws-sdk/config-resolver"; +import { + EventStreamSerdeInputConfig, + EventStreamSerdeResolvedConfig, + resolveEventStreamSerdeConfig +} from "@aws-sdk/eventstream-serde-config-resolver"; import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length"; import { HostHeaderInputConfig, @@ -89,6 +94,7 @@ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, + EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, @@ -230,6 +236,11 @@ export interface ClientDefaults * Fetch related hostname, signing name or signing region with given region. */ regionInfoProvider?: RegionInfoProvider; + + /** + * The function that provides necessary utilities for generating and signing event stream + */ + eventStreamSerdeProvider?: __EventStreamSerdeProvider; } export type KinesisClientConfig = Partial< @@ -241,7 +252,8 @@ export type KinesisClientConfig = Partial< AwsAuthInputConfig & RetryInputConfig & UserAgentInputConfig & - HostHeaderInputConfig; + HostHeaderInputConfig & + EventStreamSerdeInputConfig; export type KinesisClientResolvedConfig = __SmithyResolvedConfiguration< __HttpHandlerOptions @@ -252,7 +264,8 @@ export type KinesisClientResolvedConfig = __SmithyResolvedConfiguration< AwsAuthResolvedConfig & RetryResolvedConfig & UserAgentResolvedConfig & - HostHeaderResolvedConfig; + HostHeaderResolvedConfig & + EventStreamSerdeResolvedConfig; /** * Amazon Kinesis Data Streams Service API Reference @@ -278,8 +291,9 @@ export class KinesisClient extends __Client< let _config_4 = resolveRetryConfig(_config_3); let _config_5 = resolveUserAgentConfig(_config_4); let _config_6 = resolveHostHeaderConfig(_config_5); - super(_config_6); - this.config = _config_6; + let _config_7 = resolveEventStreamSerdeConfig(_config_6); + super(_config_7); + this.config = _config_7; this.middlewareStack.use(getAwsAuthPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); diff --git a/clients/client-kinesis/commands/AddTagsToStreamCommand.ts b/clients/client-kinesis/commands/AddTagsToStreamCommand.ts index 3c26110ad726..e826c1d2a799 100644 --- a/clients/client-kinesis/commands/AddTagsToStreamCommand.ts +++ b/clients/client-kinesis/commands/AddTagsToStreamCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToStreamCommandInput = AddTagsToStreamInput; @@ -65,14 +65,14 @@ export class AddTagsToStreamCommand extends $Command< private serialize( input: AddTagsToStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsToStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsToStreamCommand(output, context); } diff --git a/clients/client-kinesis/commands/CreateStreamCommand.ts b/clients/client-kinesis/commands/CreateStreamCommand.ts index 730f884b9c79..13fcbea1a35d 100644 --- a/clients/client-kinesis/commands/CreateStreamCommand.ts +++ b/clients/client-kinesis/commands/CreateStreamCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStreamCommandInput = CreateStreamInput; @@ -65,14 +65,14 @@ export class CreateStreamCommand extends $Command< private serialize( input: CreateStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateStreamCommand(output, context); } diff --git a/clients/client-kinesis/commands/DecreaseStreamRetentionPeriodCommand.ts b/clients/client-kinesis/commands/DecreaseStreamRetentionPeriodCommand.ts index 5917f12cdb61..fc9ffdcdce05 100644 --- a/clients/client-kinesis/commands/DecreaseStreamRetentionPeriodCommand.ts +++ b/clients/client-kinesis/commands/DecreaseStreamRetentionPeriodCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DecreaseStreamRetentionPeriodCommandInput = DecreaseStreamRetentionPeriodInput; @@ -68,7 +68,7 @@ export class DecreaseStreamRetentionPeriodCommand extends $Command< private serialize( input: DecreaseStreamRetentionPeriodCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DecreaseStreamRetentionPeriodCommand( input, @@ -78,7 +78,7 @@ export class DecreaseStreamRetentionPeriodCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DecreaseStreamRetentionPeriodCommand( output, diff --git a/clients/client-kinesis/commands/DeleteStreamCommand.ts b/clients/client-kinesis/commands/DeleteStreamCommand.ts index 00f4202b69f2..f1fadd92c1e3 100644 --- a/clients/client-kinesis/commands/DeleteStreamCommand.ts +++ b/clients/client-kinesis/commands/DeleteStreamCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStreamCommandInput = DeleteStreamInput; @@ -65,14 +65,14 @@ export class DeleteStreamCommand extends $Command< private serialize( input: DeleteStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteStreamCommand(output, context); } diff --git a/clients/client-kinesis/commands/DeregisterStreamConsumerCommand.ts b/clients/client-kinesis/commands/DeregisterStreamConsumerCommand.ts index 738e665fae9d..4a1e1ca4ca0e 100644 --- a/clients/client-kinesis/commands/DeregisterStreamConsumerCommand.ts +++ b/clients/client-kinesis/commands/DeregisterStreamConsumerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterStreamConsumerCommandInput = DeregisterStreamConsumerInput; @@ -68,14 +68,14 @@ export class DeregisterStreamConsumerCommand extends $Command< private serialize( input: DeregisterStreamConsumerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterStreamConsumerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterStreamConsumerCommand( output, diff --git a/clients/client-kinesis/commands/DescribeLimitsCommand.ts b/clients/client-kinesis/commands/DescribeLimitsCommand.ts index 1effd96d933b..0f450e52899b 100644 --- a/clients/client-kinesis/commands/DescribeLimitsCommand.ts +++ b/clients/client-kinesis/commands/DescribeLimitsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLimitsCommandInput = DescribeLimitsInput; @@ -64,14 +64,14 @@ export class DescribeLimitsCommand extends $Command< private serialize( input: DescribeLimitsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLimitsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLimitsCommand(output, context); } diff --git a/clients/client-kinesis/commands/DescribeStreamCommand.ts b/clients/client-kinesis/commands/DescribeStreamCommand.ts index e9fa2ee0c027..a48e91755d63 100644 --- a/clients/client-kinesis/commands/DescribeStreamCommand.ts +++ b/clients/client-kinesis/commands/DescribeStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStreamCommandInput = DescribeStreamInput; @@ -64,14 +64,14 @@ export class DescribeStreamCommand extends $Command< private serialize( input: DescribeStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeStreamCommand(output, context); } diff --git a/clients/client-kinesis/commands/DescribeStreamConsumerCommand.ts b/clients/client-kinesis/commands/DescribeStreamConsumerCommand.ts index 27f35ba5dee1..9486b5674f47 100644 --- a/clients/client-kinesis/commands/DescribeStreamConsumerCommand.ts +++ b/clients/client-kinesis/commands/DescribeStreamConsumerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStreamConsumerCommandInput = DescribeStreamConsumerInput; @@ -70,14 +70,14 @@ export class DescribeStreamConsumerCommand extends $Command< private serialize( input: DescribeStreamConsumerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeStreamConsumerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeStreamConsumerCommand(output, context); } diff --git a/clients/client-kinesis/commands/DescribeStreamSummaryCommand.ts b/clients/client-kinesis/commands/DescribeStreamSummaryCommand.ts index 473c78d7dea6..e45f52f3f0d0 100644 --- a/clients/client-kinesis/commands/DescribeStreamSummaryCommand.ts +++ b/clients/client-kinesis/commands/DescribeStreamSummaryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStreamSummaryCommandInput = DescribeStreamSummaryInput; @@ -70,14 +70,14 @@ export class DescribeStreamSummaryCommand extends $Command< private serialize( input: DescribeStreamSummaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeStreamSummaryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeStreamSummaryCommand(output, context); } diff --git a/clients/client-kinesis/commands/DisableEnhancedMonitoringCommand.ts b/clients/client-kinesis/commands/DisableEnhancedMonitoringCommand.ts index d7e87f4d81ea..1729fb81cff5 100644 --- a/clients/client-kinesis/commands/DisableEnhancedMonitoringCommand.ts +++ b/clients/client-kinesis/commands/DisableEnhancedMonitoringCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableEnhancedMonitoringCommandInput = DisableEnhancedMonitoringInput; @@ -70,14 +70,14 @@ export class DisableEnhancedMonitoringCommand extends $Command< private serialize( input: DisableEnhancedMonitoringCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableEnhancedMonitoringCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableEnhancedMonitoringCommand( output, diff --git a/clients/client-kinesis/commands/EnableEnhancedMonitoringCommand.ts b/clients/client-kinesis/commands/EnableEnhancedMonitoringCommand.ts index 2cad42182375..5c74a4a5f532 100644 --- a/clients/client-kinesis/commands/EnableEnhancedMonitoringCommand.ts +++ b/clients/client-kinesis/commands/EnableEnhancedMonitoringCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableEnhancedMonitoringCommandInput = EnableEnhancedMonitoringInput; @@ -70,14 +70,14 @@ export class EnableEnhancedMonitoringCommand extends $Command< private serialize( input: EnableEnhancedMonitoringCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableEnhancedMonitoringCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableEnhancedMonitoringCommand( output, diff --git a/clients/client-kinesis/commands/GetRecordsCommand.ts b/clients/client-kinesis/commands/GetRecordsCommand.ts index 574dd4c8bbb5..2fb84b1ade24 100644 --- a/clients/client-kinesis/commands/GetRecordsCommand.ts +++ b/clients/client-kinesis/commands/GetRecordsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRecordsCommandInput = GetRecordsInput; @@ -64,14 +64,14 @@ export class GetRecordsCommand extends $Command< private serialize( input: GetRecordsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRecordsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRecordsCommand(output, context); } diff --git a/clients/client-kinesis/commands/GetShardIteratorCommand.ts b/clients/client-kinesis/commands/GetShardIteratorCommand.ts index 2787d27a5491..5b2912d7a6c5 100644 --- a/clients/client-kinesis/commands/GetShardIteratorCommand.ts +++ b/clients/client-kinesis/commands/GetShardIteratorCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetShardIteratorCommandInput = GetShardIteratorInput; @@ -64,14 +64,14 @@ export class GetShardIteratorCommand extends $Command< private serialize( input: GetShardIteratorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetShardIteratorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetShardIteratorCommand(output, context); } diff --git a/clients/client-kinesis/commands/IncreaseStreamRetentionPeriodCommand.ts b/clients/client-kinesis/commands/IncreaseStreamRetentionPeriodCommand.ts index 9886293b91d2..fcf1666fbbe2 100644 --- a/clients/client-kinesis/commands/IncreaseStreamRetentionPeriodCommand.ts +++ b/clients/client-kinesis/commands/IncreaseStreamRetentionPeriodCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type IncreaseStreamRetentionPeriodCommandInput = IncreaseStreamRetentionPeriodInput; @@ -68,7 +68,7 @@ export class IncreaseStreamRetentionPeriodCommand extends $Command< private serialize( input: IncreaseStreamRetentionPeriodCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1IncreaseStreamRetentionPeriodCommand( input, @@ -78,7 +78,7 @@ export class IncreaseStreamRetentionPeriodCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1IncreaseStreamRetentionPeriodCommand( output, diff --git a/clients/client-kinesis/commands/ListShardsCommand.ts b/clients/client-kinesis/commands/ListShardsCommand.ts index 67098ed02dac..033bc1c5a152 100644 --- a/clients/client-kinesis/commands/ListShardsCommand.ts +++ b/clients/client-kinesis/commands/ListShardsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListShardsCommandInput = ListShardsInput; @@ -64,14 +64,14 @@ export class ListShardsCommand extends $Command< private serialize( input: ListShardsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListShardsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListShardsCommand(output, context); } diff --git a/clients/client-kinesis/commands/ListStreamConsumersCommand.ts b/clients/client-kinesis/commands/ListStreamConsumersCommand.ts index 0cf68ad0b7d8..71429b1b6985 100644 --- a/clients/client-kinesis/commands/ListStreamConsumersCommand.ts +++ b/clients/client-kinesis/commands/ListStreamConsumersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStreamConsumersCommandInput = ListStreamConsumersInput; @@ -70,14 +70,14 @@ export class ListStreamConsumersCommand extends $Command< private serialize( input: ListStreamConsumersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListStreamConsumersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListStreamConsumersCommand(output, context); } diff --git a/clients/client-kinesis/commands/ListStreamsCommand.ts b/clients/client-kinesis/commands/ListStreamsCommand.ts index 3d72af0ec973..16278b0f88c8 100644 --- a/clients/client-kinesis/commands/ListStreamsCommand.ts +++ b/clients/client-kinesis/commands/ListStreamsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStreamsCommandInput = ListStreamsInput; @@ -64,14 +64,14 @@ export class ListStreamsCommand extends $Command< private serialize( input: ListStreamsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListStreamsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListStreamsCommand(output, context); } diff --git a/clients/client-kinesis/commands/ListTagsForStreamCommand.ts b/clients/client-kinesis/commands/ListTagsForStreamCommand.ts index 88480ec4a28a..082395ab21f2 100644 --- a/clients/client-kinesis/commands/ListTagsForStreamCommand.ts +++ b/clients/client-kinesis/commands/ListTagsForStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForStreamCommandInput = ListTagsForStreamInput; @@ -67,14 +67,14 @@ export class ListTagsForStreamCommand extends $Command< private serialize( input: ListTagsForStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForStreamCommand(output, context); } diff --git a/clients/client-kinesis/commands/MergeShardsCommand.ts b/clients/client-kinesis/commands/MergeShardsCommand.ts index 12767a73ca46..a6ee2d8348d6 100644 --- a/clients/client-kinesis/commands/MergeShardsCommand.ts +++ b/clients/client-kinesis/commands/MergeShardsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MergeShardsCommandInput = MergeShardsInput; @@ -65,14 +65,14 @@ export class MergeShardsCommand extends $Command< private serialize( input: MergeShardsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1MergeShardsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1MergeShardsCommand(output, context); } diff --git a/clients/client-kinesis/commands/PutRecordCommand.ts b/clients/client-kinesis/commands/PutRecordCommand.ts index b117216f7fbd..0bbc92da45b9 100644 --- a/clients/client-kinesis/commands/PutRecordCommand.ts +++ b/clients/client-kinesis/commands/PutRecordCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRecordCommandInput = PutRecordInput; @@ -64,14 +64,14 @@ export class PutRecordCommand extends $Command< private serialize( input: PutRecordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRecordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRecordCommand(output, context); } diff --git a/clients/client-kinesis/commands/PutRecordsCommand.ts b/clients/client-kinesis/commands/PutRecordsCommand.ts index a35e55fae72c..d2097b125358 100644 --- a/clients/client-kinesis/commands/PutRecordsCommand.ts +++ b/clients/client-kinesis/commands/PutRecordsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutRecordsCommandInput = PutRecordsInput; @@ -64,14 +64,14 @@ export class PutRecordsCommand extends $Command< private serialize( input: PutRecordsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutRecordsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutRecordsCommand(output, context); } diff --git a/clients/client-kinesis/commands/RegisterStreamConsumerCommand.ts b/clients/client-kinesis/commands/RegisterStreamConsumerCommand.ts index d7b09aa6dec2..30e4070aa07e 100644 --- a/clients/client-kinesis/commands/RegisterStreamConsumerCommand.ts +++ b/clients/client-kinesis/commands/RegisterStreamConsumerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterStreamConsumerCommandInput = RegisterStreamConsumerInput; @@ -70,14 +70,14 @@ export class RegisterStreamConsumerCommand extends $Command< private serialize( input: RegisterStreamConsumerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterStreamConsumerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterStreamConsumerCommand(output, context); } diff --git a/clients/client-kinesis/commands/RemoveTagsFromStreamCommand.ts b/clients/client-kinesis/commands/RemoveTagsFromStreamCommand.ts index aa7d27d37495..cd0e7c3868f0 100644 --- a/clients/client-kinesis/commands/RemoveTagsFromStreamCommand.ts +++ b/clients/client-kinesis/commands/RemoveTagsFromStreamCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromStreamCommandInput = RemoveTagsFromStreamInput; @@ -68,14 +68,14 @@ export class RemoveTagsFromStreamCommand extends $Command< private serialize( input: RemoveTagsFromStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTagsFromStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTagsFromStreamCommand(output, context); } diff --git a/clients/client-kinesis/commands/SplitShardCommand.ts b/clients/client-kinesis/commands/SplitShardCommand.ts index afeb13045706..e4aa9c86617a 100644 --- a/clients/client-kinesis/commands/SplitShardCommand.ts +++ b/clients/client-kinesis/commands/SplitShardCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SplitShardCommandInput = SplitShardInput; @@ -65,14 +65,14 @@ export class SplitShardCommand extends $Command< private serialize( input: SplitShardCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SplitShardCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SplitShardCommand(output, context); } diff --git a/clients/client-kinesis/commands/StartStreamEncryptionCommand.ts b/clients/client-kinesis/commands/StartStreamEncryptionCommand.ts index 7dcd67f1c67b..ecb737b100b9 100644 --- a/clients/client-kinesis/commands/StartStreamEncryptionCommand.ts +++ b/clients/client-kinesis/commands/StartStreamEncryptionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartStreamEncryptionCommandInput = StartStreamEncryptionInput; @@ -68,14 +68,14 @@ export class StartStreamEncryptionCommand extends $Command< private serialize( input: StartStreamEncryptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartStreamEncryptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartStreamEncryptionCommand(output, context); } diff --git a/clients/client-kinesis/commands/StopStreamEncryptionCommand.ts b/clients/client-kinesis/commands/StopStreamEncryptionCommand.ts index e2bafc9bac73..95dc1126b19b 100644 --- a/clients/client-kinesis/commands/StopStreamEncryptionCommand.ts +++ b/clients/client-kinesis/commands/StopStreamEncryptionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopStreamEncryptionCommandInput = StopStreamEncryptionInput; @@ -68,14 +68,14 @@ export class StopStreamEncryptionCommand extends $Command< private serialize( input: StopStreamEncryptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopStreamEncryptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopStreamEncryptionCommand(output, context); } diff --git a/clients/client-kinesis/commands/SubscribeToShardCommand.ts b/clients/client-kinesis/commands/SubscribeToShardCommand.ts index 671437c07dcd..9501756c4b04 100644 --- a/clients/client-kinesis/commands/SubscribeToShardCommand.ts +++ b/clients/client-kinesis/commands/SubscribeToShardCommand.ts @@ -19,8 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + EventStreamSerdeContext as __EventStreamSerdeContext, + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SubscribeToShardCommandInput = SubscribeToShardInput; @@ -64,14 +65,14 @@ export class SubscribeToShardCommand extends $Command< private serialize( input: SubscribeToShardCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SubscribeToShardCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext & __EventStreamSerdeContext ): Promise { return deserializeAws_json1_1SubscribeToShardCommand(output, context); } diff --git a/clients/client-kinesis/commands/UpdateShardCountCommand.ts b/clients/client-kinesis/commands/UpdateShardCountCommand.ts index 1736b4870a5e..7c00b72be093 100644 --- a/clients/client-kinesis/commands/UpdateShardCountCommand.ts +++ b/clients/client-kinesis/commands/UpdateShardCountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateShardCountCommandInput = UpdateShardCountInput; @@ -64,14 +64,14 @@ export class UpdateShardCountCommand extends $Command< private serialize( input: UpdateShardCountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateShardCountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateShardCountCommand(output, context); } diff --git a/clients/client-kinesis/models/index.ts b/clients/client-kinesis/models/index.ts index e61b1fcbae2b..6f2d7f1e29c7 100644 --- a/clients/client-kinesis/models/index.ts +++ b/clients/client-kinesis/models/index.ts @@ -2481,7 +2481,7 @@ export interface SubscribeToShardOutput extends $MetadataBearer { /** *

The event stream that your consumer can use to read records from the shard.

*/ - EventStream?: SubscribeToShardEventStream; + EventStream?: AsyncIterable; } export namespace SubscribeToShardOutput { diff --git a/clients/client-kinesis/package.json b/clients/client-kinesis/package.json index c2f65b3b81a1..b1e405cf421a 100644 --- a/clients/client-kinesis/package.json +++ b/clients/client-kinesis/package.json @@ -31,6 +31,9 @@ "@aws-crypto/sha256-browser": "^1.0.0-alpha.0", "@aws-sdk/config-resolver": "^1.0.0-alpha.11", "@aws-sdk/credential-provider-node": "^1.0.0-alpha.5", + "@aws-sdk/eventstream-serde-browser": "^1.0.0-alpha.0", + "@aws-sdk/eventstream-serde-config-resolver": "^1.0.0-alpha.0", + "@aws-sdk/eventstream-serde-node": "^1.0.0-alpha.0", "@aws-sdk/fetch-http-handler": "^1.0.0-alpha.7", "@aws-sdk/hash-node": "^1.0.0-alpha.4", "@aws-sdk/invalid-dependency": "^1.0.0-alpha.2", diff --git a/clients/client-kinesis/protocols/Aws_json1_1.ts b/clients/client-kinesis/protocols/Aws_json1_1.ts index 5701899b78f9..4f648fd37d8e 100644 --- a/clients/client-kinesis/protocols/Aws_json1_1.ts +++ b/clients/client-kinesis/protocols/Aws_json1_1.ts @@ -4692,6 +4692,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-kinesis/runtimeConfig.browser.ts b/clients/client-kinesis/runtimeConfig.browser.ts index 63a5f50bb708..392505237fe5 100644 --- a/clients/client-kinesis/runtimeConfig.browser.ts +++ b/clients/client-kinesis/runtimeConfig.browser.ts @@ -1,3 +1,4 @@ +import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-browser"; import { invalidFunction } from "@aws-sdk/invalid-dependency"; import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler"; @@ -25,5 +26,6 @@ export const ClientDefaultValues: Required = { defaultUserAgent: defaultUserAgent(name, version), runtime: "browser", credentialDefaultProvider: invalidFunction("Credential is missing") as any, - regionDefaultProvider: invalidFunction("Region is missing") as any + regionDefaultProvider: invalidFunction("Region is missing") as any, + eventStreamSerdeProvider }; diff --git a/clients/client-kinesis/runtimeConfig.rn.ts b/clients/client-kinesis/runtimeConfig.rn.ts index 322556b6d6a8..bf1c5f451d92 100644 --- a/clients/client-kinesis/runtimeConfig.rn.ts +++ b/clients/client-kinesis/runtimeConfig.rn.ts @@ -1,3 +1,4 @@ +import { invalidFunction } from "@aws-sdk/invalid-dependency"; import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler"; import { streamCollector } from "@aws-sdk/stream-collector-rn"; import { parseUrl } from "@aws-sdk/url-parser-node"; @@ -11,5 +12,8 @@ export const ClientDefaultValues: Required = { streamCollector, urlParser: parseUrl, defaultUserAgent: `aws-sdk-js-v3-react-native-${name}/${version}`, - runtime: "react-native" + runtime: "react-native", + eventStreamSerdeProvider: invalidFunction( + "event stream is not supported in ReactNative" + ) as any }; diff --git a/clients/client-kinesis/runtimeConfig.ts b/clients/client-kinesis/runtimeConfig.ts index 2a7d08e4e948..d8094aef3bfd 100644 --- a/clients/client-kinesis/runtimeConfig.ts +++ b/clients/client-kinesis/runtimeConfig.ts @@ -1,4 +1,5 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; +import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-node"; import { defaultProvider as regionDefaultProvider } from "@aws-sdk/region-provider"; import { Hash } from "@aws-sdk/hash-node"; import { NodeHttpHandler } from "@aws-sdk/node-http-handler"; @@ -26,5 +27,6 @@ export const ClientDefaultValues: Required = { defaultUserAgent: defaultUserAgent(name, version), runtime: "node", credentialDefaultProvider, - regionDefaultProvider + regionDefaultProvider, + eventStreamSerdeProvider }; diff --git a/clients/client-kms/commands/CancelKeyDeletionCommand.ts b/clients/client-kms/commands/CancelKeyDeletionCommand.ts index 6bc158785a87..07249890ae9f 100644 --- a/clients/client-kms/commands/CancelKeyDeletionCommand.ts +++ b/clients/client-kms/commands/CancelKeyDeletionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelKeyDeletionCommandInput = CancelKeyDeletionRequest; @@ -67,14 +67,14 @@ export class CancelKeyDeletionCommand extends $Command< private serialize( input: CancelKeyDeletionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelKeyDeletionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelKeyDeletionCommand(output, context); } diff --git a/clients/client-kms/commands/ConnectCustomKeyStoreCommand.ts b/clients/client-kms/commands/ConnectCustomKeyStoreCommand.ts index c1d6d8588ecb..e9cdf95bf4a1 100644 --- a/clients/client-kms/commands/ConnectCustomKeyStoreCommand.ts +++ b/clients/client-kms/commands/ConnectCustomKeyStoreCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConnectCustomKeyStoreCommandInput = ConnectCustomKeyStoreRequest; @@ -70,14 +70,14 @@ export class ConnectCustomKeyStoreCommand extends $Command< private serialize( input: ConnectCustomKeyStoreCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ConnectCustomKeyStoreCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ConnectCustomKeyStoreCommand(output, context); } diff --git a/clients/client-kms/commands/CreateAliasCommand.ts b/clients/client-kms/commands/CreateAliasCommand.ts index d3d401e5ed4e..8d92dc55fd71 100644 --- a/clients/client-kms/commands/CreateAliasCommand.ts +++ b/clients/client-kms/commands/CreateAliasCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAliasCommandInput = CreateAliasRequest; @@ -65,14 +65,14 @@ export class CreateAliasCommand extends $Command< private serialize( input: CreateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAliasCommand(output, context); } diff --git a/clients/client-kms/commands/CreateCustomKeyStoreCommand.ts b/clients/client-kms/commands/CreateCustomKeyStoreCommand.ts index 9c31b8475ae5..182f44e30d93 100644 --- a/clients/client-kms/commands/CreateCustomKeyStoreCommand.ts +++ b/clients/client-kms/commands/CreateCustomKeyStoreCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCustomKeyStoreCommandInput = CreateCustomKeyStoreRequest; @@ -70,14 +70,14 @@ export class CreateCustomKeyStoreCommand extends $Command< private serialize( input: CreateCustomKeyStoreCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCustomKeyStoreCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCustomKeyStoreCommand(output, context); } diff --git a/clients/client-kms/commands/CreateGrantCommand.ts b/clients/client-kms/commands/CreateGrantCommand.ts index 3c04efee31ac..2956a42ca916 100644 --- a/clients/client-kms/commands/CreateGrantCommand.ts +++ b/clients/client-kms/commands/CreateGrantCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGrantCommandInput = CreateGrantRequest; @@ -64,14 +64,14 @@ export class CreateGrantCommand extends $Command< private serialize( input: CreateGrantCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateGrantCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateGrantCommand(output, context); } diff --git a/clients/client-kms/commands/CreateKeyCommand.ts b/clients/client-kms/commands/CreateKeyCommand.ts index 4a91e86ae5b5..636861f99391 100644 --- a/clients/client-kms/commands/CreateKeyCommand.ts +++ b/clients/client-kms/commands/CreateKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateKeyCommandInput = CreateKeyRequest; @@ -64,14 +64,14 @@ export class CreateKeyCommand extends $Command< private serialize( input: CreateKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateKeyCommand(output, context); } diff --git a/clients/client-kms/commands/DecryptCommand.ts b/clients/client-kms/commands/DecryptCommand.ts index 2b7d1e7627c5..c05a0ba3a654 100644 --- a/clients/client-kms/commands/DecryptCommand.ts +++ b/clients/client-kms/commands/DecryptCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DecryptCommandInput = DecryptRequest; @@ -64,14 +64,14 @@ export class DecryptCommand extends $Command< private serialize( input: DecryptCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DecryptCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DecryptCommand(output, context); } diff --git a/clients/client-kms/commands/DeleteAliasCommand.ts b/clients/client-kms/commands/DeleteAliasCommand.ts index abcc49ca81b0..bbd147fcc262 100644 --- a/clients/client-kms/commands/DeleteAliasCommand.ts +++ b/clients/client-kms/commands/DeleteAliasCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAliasCommandInput = DeleteAliasRequest; @@ -65,14 +65,14 @@ export class DeleteAliasCommand extends $Command< private serialize( input: DeleteAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAliasCommand(output, context); } diff --git a/clients/client-kms/commands/DeleteCustomKeyStoreCommand.ts b/clients/client-kms/commands/DeleteCustomKeyStoreCommand.ts index 19c33bfbc495..ecaece47f7bd 100644 --- a/clients/client-kms/commands/DeleteCustomKeyStoreCommand.ts +++ b/clients/client-kms/commands/DeleteCustomKeyStoreCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCustomKeyStoreCommandInput = DeleteCustomKeyStoreRequest; @@ -70,14 +70,14 @@ export class DeleteCustomKeyStoreCommand extends $Command< private serialize( input: DeleteCustomKeyStoreCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCustomKeyStoreCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCustomKeyStoreCommand(output, context); } diff --git a/clients/client-kms/commands/DeleteImportedKeyMaterialCommand.ts b/clients/client-kms/commands/DeleteImportedKeyMaterialCommand.ts index 09e4b5cec835..b33413b0ccfd 100644 --- a/clients/client-kms/commands/DeleteImportedKeyMaterialCommand.ts +++ b/clients/client-kms/commands/DeleteImportedKeyMaterialCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteImportedKeyMaterialCommandInput = DeleteImportedKeyMaterialRequest; @@ -68,14 +68,14 @@ export class DeleteImportedKeyMaterialCommand extends $Command< private serialize( input: DeleteImportedKeyMaterialCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteImportedKeyMaterialCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteImportedKeyMaterialCommand( output, diff --git a/clients/client-kms/commands/DescribeCustomKeyStoresCommand.ts b/clients/client-kms/commands/DescribeCustomKeyStoresCommand.ts index a488e6a8fdf6..23a5dfac06f5 100644 --- a/clients/client-kms/commands/DescribeCustomKeyStoresCommand.ts +++ b/clients/client-kms/commands/DescribeCustomKeyStoresCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCustomKeyStoresCommandInput = DescribeCustomKeyStoresRequest; @@ -70,14 +70,14 @@ export class DescribeCustomKeyStoresCommand extends $Command< private serialize( input: DescribeCustomKeyStoresCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCustomKeyStoresCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCustomKeyStoresCommand( output, diff --git a/clients/client-kms/commands/DescribeKeyCommand.ts b/clients/client-kms/commands/DescribeKeyCommand.ts index bc6094b0d7eb..d1ba1d61144d 100644 --- a/clients/client-kms/commands/DescribeKeyCommand.ts +++ b/clients/client-kms/commands/DescribeKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeKeyCommandInput = DescribeKeyRequest; @@ -64,14 +64,14 @@ export class DescribeKeyCommand extends $Command< private serialize( input: DescribeKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeKeyCommand(output, context); } diff --git a/clients/client-kms/commands/DisableKeyCommand.ts b/clients/client-kms/commands/DisableKeyCommand.ts index 8ed209a473ac..8aedbcf2aab0 100644 --- a/clients/client-kms/commands/DisableKeyCommand.ts +++ b/clients/client-kms/commands/DisableKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableKeyCommandInput = DisableKeyRequest; @@ -65,14 +65,14 @@ export class DisableKeyCommand extends $Command< private serialize( input: DisableKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableKeyCommand(output, context); } diff --git a/clients/client-kms/commands/DisableKeyRotationCommand.ts b/clients/client-kms/commands/DisableKeyRotationCommand.ts index 1ba4a716dd3c..46ebcb03df2a 100644 --- a/clients/client-kms/commands/DisableKeyRotationCommand.ts +++ b/clients/client-kms/commands/DisableKeyRotationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableKeyRotationCommandInput = DisableKeyRotationRequest; @@ -65,14 +65,14 @@ export class DisableKeyRotationCommand extends $Command< private serialize( input: DisableKeyRotationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableKeyRotationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableKeyRotationCommand(output, context); } diff --git a/clients/client-kms/commands/DisconnectCustomKeyStoreCommand.ts b/clients/client-kms/commands/DisconnectCustomKeyStoreCommand.ts index de38f5af40b0..c2935056e00c 100644 --- a/clients/client-kms/commands/DisconnectCustomKeyStoreCommand.ts +++ b/clients/client-kms/commands/DisconnectCustomKeyStoreCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisconnectCustomKeyStoreCommandInput = DisconnectCustomKeyStoreRequest; @@ -70,14 +70,14 @@ export class DisconnectCustomKeyStoreCommand extends $Command< private serialize( input: DisconnectCustomKeyStoreCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisconnectCustomKeyStoreCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisconnectCustomKeyStoreCommand( output, diff --git a/clients/client-kms/commands/EnableKeyCommand.ts b/clients/client-kms/commands/EnableKeyCommand.ts index 3ab9273bd554..bb0b800cab3a 100644 --- a/clients/client-kms/commands/EnableKeyCommand.ts +++ b/clients/client-kms/commands/EnableKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableKeyCommandInput = EnableKeyRequest; @@ -65,14 +65,14 @@ export class EnableKeyCommand extends $Command< private serialize( input: EnableKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableKeyCommand(output, context); } diff --git a/clients/client-kms/commands/EnableKeyRotationCommand.ts b/clients/client-kms/commands/EnableKeyRotationCommand.ts index 1a8204abbfa6..d52f8990da45 100644 --- a/clients/client-kms/commands/EnableKeyRotationCommand.ts +++ b/clients/client-kms/commands/EnableKeyRotationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableKeyRotationCommandInput = EnableKeyRotationRequest; @@ -65,14 +65,14 @@ export class EnableKeyRotationCommand extends $Command< private serialize( input: EnableKeyRotationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableKeyRotationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableKeyRotationCommand(output, context); } diff --git a/clients/client-kms/commands/EncryptCommand.ts b/clients/client-kms/commands/EncryptCommand.ts index 5e417b3eef5b..5674e166423e 100644 --- a/clients/client-kms/commands/EncryptCommand.ts +++ b/clients/client-kms/commands/EncryptCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EncryptCommandInput = EncryptRequest; @@ -64,14 +64,14 @@ export class EncryptCommand extends $Command< private serialize( input: EncryptCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EncryptCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EncryptCommand(output, context); } diff --git a/clients/client-kms/commands/GenerateDataKeyCommand.ts b/clients/client-kms/commands/GenerateDataKeyCommand.ts index 41c6c84bf487..2255c5f96050 100644 --- a/clients/client-kms/commands/GenerateDataKeyCommand.ts +++ b/clients/client-kms/commands/GenerateDataKeyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateDataKeyCommandInput = GenerateDataKeyRequest; @@ -67,14 +67,14 @@ export class GenerateDataKeyCommand extends $Command< private serialize( input: GenerateDataKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GenerateDataKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GenerateDataKeyCommand(output, context); } diff --git a/clients/client-kms/commands/GenerateDataKeyPairCommand.ts b/clients/client-kms/commands/GenerateDataKeyPairCommand.ts index 23dd81a233ac..786780690217 100644 --- a/clients/client-kms/commands/GenerateDataKeyPairCommand.ts +++ b/clients/client-kms/commands/GenerateDataKeyPairCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateDataKeyPairCommandInput = GenerateDataKeyPairRequest; @@ -70,14 +70,14 @@ export class GenerateDataKeyPairCommand extends $Command< private serialize( input: GenerateDataKeyPairCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GenerateDataKeyPairCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GenerateDataKeyPairCommand(output, context); } diff --git a/clients/client-kms/commands/GenerateDataKeyPairWithoutPlaintextCommand.ts b/clients/client-kms/commands/GenerateDataKeyPairWithoutPlaintextCommand.ts index 434997ce154e..c4ab05a30a13 100644 --- a/clients/client-kms/commands/GenerateDataKeyPairWithoutPlaintextCommand.ts +++ b/clients/client-kms/commands/GenerateDataKeyPairWithoutPlaintextCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateDataKeyPairWithoutPlaintextCommandInput = GenerateDataKeyPairWithoutPlaintextRequest; @@ -70,7 +70,7 @@ export class GenerateDataKeyPairWithoutPlaintextCommand extends $Command< private serialize( input: GenerateDataKeyPairWithoutPlaintextCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GenerateDataKeyPairWithoutPlaintextCommand( input, @@ -80,7 +80,7 @@ export class GenerateDataKeyPairWithoutPlaintextCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GenerateDataKeyPairWithoutPlaintextCommand( output, diff --git a/clients/client-kms/commands/GenerateDataKeyWithoutPlaintextCommand.ts b/clients/client-kms/commands/GenerateDataKeyWithoutPlaintextCommand.ts index d8b9901e2b72..98b1344e0889 100644 --- a/clients/client-kms/commands/GenerateDataKeyWithoutPlaintextCommand.ts +++ b/clients/client-kms/commands/GenerateDataKeyWithoutPlaintextCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateDataKeyWithoutPlaintextCommandInput = GenerateDataKeyWithoutPlaintextRequest; @@ -70,7 +70,7 @@ export class GenerateDataKeyWithoutPlaintextCommand extends $Command< private serialize( input: GenerateDataKeyWithoutPlaintextCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GenerateDataKeyWithoutPlaintextCommand( input, @@ -80,7 +80,7 @@ export class GenerateDataKeyWithoutPlaintextCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GenerateDataKeyWithoutPlaintextCommand( output, diff --git a/clients/client-kms/commands/GenerateRandomCommand.ts b/clients/client-kms/commands/GenerateRandomCommand.ts index 6c47b5826166..59a60a8080e1 100644 --- a/clients/client-kms/commands/GenerateRandomCommand.ts +++ b/clients/client-kms/commands/GenerateRandomCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateRandomCommandInput = GenerateRandomRequest; @@ -64,14 +64,14 @@ export class GenerateRandomCommand extends $Command< private serialize( input: GenerateRandomCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GenerateRandomCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GenerateRandomCommand(output, context); } diff --git a/clients/client-kms/commands/GetKeyPolicyCommand.ts b/clients/client-kms/commands/GetKeyPolicyCommand.ts index f95c7f55fddf..77223dd4d070 100644 --- a/clients/client-kms/commands/GetKeyPolicyCommand.ts +++ b/clients/client-kms/commands/GetKeyPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetKeyPolicyCommandInput = GetKeyPolicyRequest; @@ -64,14 +64,14 @@ export class GetKeyPolicyCommand extends $Command< private serialize( input: GetKeyPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetKeyPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetKeyPolicyCommand(output, context); } diff --git a/clients/client-kms/commands/GetKeyRotationStatusCommand.ts b/clients/client-kms/commands/GetKeyRotationStatusCommand.ts index 6cbb4e6487f5..7ad16134f0ce 100644 --- a/clients/client-kms/commands/GetKeyRotationStatusCommand.ts +++ b/clients/client-kms/commands/GetKeyRotationStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetKeyRotationStatusCommandInput = GetKeyRotationStatusRequest; @@ -70,14 +70,14 @@ export class GetKeyRotationStatusCommand extends $Command< private serialize( input: GetKeyRotationStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetKeyRotationStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetKeyRotationStatusCommand(output, context); } diff --git a/clients/client-kms/commands/GetParametersForImportCommand.ts b/clients/client-kms/commands/GetParametersForImportCommand.ts index 2f19e1ce8660..8e78d271bf4a 100644 --- a/clients/client-kms/commands/GetParametersForImportCommand.ts +++ b/clients/client-kms/commands/GetParametersForImportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetParametersForImportCommandInput = GetParametersForImportRequest; @@ -70,14 +70,14 @@ export class GetParametersForImportCommand extends $Command< private serialize( input: GetParametersForImportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetParametersForImportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetParametersForImportCommand(output, context); } diff --git a/clients/client-kms/commands/GetPublicKeyCommand.ts b/clients/client-kms/commands/GetPublicKeyCommand.ts index 56f1bbcc1d3b..1f66c8102893 100644 --- a/clients/client-kms/commands/GetPublicKeyCommand.ts +++ b/clients/client-kms/commands/GetPublicKeyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPublicKeyCommandInput = GetPublicKeyRequest; @@ -64,14 +64,14 @@ export class GetPublicKeyCommand extends $Command< private serialize( input: GetPublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPublicKeyCommand(output, context); } diff --git a/clients/client-kms/commands/ImportKeyMaterialCommand.ts b/clients/client-kms/commands/ImportKeyMaterialCommand.ts index 24f21c5a54ba..c16347c67007 100644 --- a/clients/client-kms/commands/ImportKeyMaterialCommand.ts +++ b/clients/client-kms/commands/ImportKeyMaterialCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportKeyMaterialCommandInput = ImportKeyMaterialRequest; @@ -67,14 +67,14 @@ export class ImportKeyMaterialCommand extends $Command< private serialize( input: ImportKeyMaterialCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportKeyMaterialCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportKeyMaterialCommand(output, context); } diff --git a/clients/client-kms/commands/ListAliasesCommand.ts b/clients/client-kms/commands/ListAliasesCommand.ts index 36370dbba96d..47cce793da78 100644 --- a/clients/client-kms/commands/ListAliasesCommand.ts +++ b/clients/client-kms/commands/ListAliasesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAliasesCommandInput = ListAliasesRequest; @@ -64,14 +64,14 @@ export class ListAliasesCommand extends $Command< private serialize( input: ListAliasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAliasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAliasesCommand(output, context); } diff --git a/clients/client-kms/commands/ListGrantsCommand.ts b/clients/client-kms/commands/ListGrantsCommand.ts index fd6787c65a59..7aeea0dfe65b 100644 --- a/clients/client-kms/commands/ListGrantsCommand.ts +++ b/clients/client-kms/commands/ListGrantsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGrantsCommandInput = ListGrantsRequest; @@ -64,14 +64,14 @@ export class ListGrantsCommand extends $Command< private serialize( input: ListGrantsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListGrantsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListGrantsCommand(output, context); } diff --git a/clients/client-kms/commands/ListKeyPoliciesCommand.ts b/clients/client-kms/commands/ListKeyPoliciesCommand.ts index 4f4c25c7098f..05c4d909b246 100644 --- a/clients/client-kms/commands/ListKeyPoliciesCommand.ts +++ b/clients/client-kms/commands/ListKeyPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListKeyPoliciesCommandInput = ListKeyPoliciesRequest; @@ -67,14 +67,14 @@ export class ListKeyPoliciesCommand extends $Command< private serialize( input: ListKeyPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListKeyPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListKeyPoliciesCommand(output, context); } diff --git a/clients/client-kms/commands/ListKeysCommand.ts b/clients/client-kms/commands/ListKeysCommand.ts index 0747ec3f39fc..ebe38538306b 100644 --- a/clients/client-kms/commands/ListKeysCommand.ts +++ b/clients/client-kms/commands/ListKeysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListKeysCommandInput = ListKeysRequest; @@ -64,14 +64,14 @@ export class ListKeysCommand extends $Command< private serialize( input: ListKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListKeysCommand(output, context); } diff --git a/clients/client-kms/commands/ListResourceTagsCommand.ts b/clients/client-kms/commands/ListResourceTagsCommand.ts index 4b4e508134db..78bd4d542720 100644 --- a/clients/client-kms/commands/ListResourceTagsCommand.ts +++ b/clients/client-kms/commands/ListResourceTagsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourceTagsCommandInput = ListResourceTagsRequest; @@ -67,14 +67,14 @@ export class ListResourceTagsCommand extends $Command< private serialize( input: ListResourceTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourceTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourceTagsCommand(output, context); } diff --git a/clients/client-kms/commands/ListRetirableGrantsCommand.ts b/clients/client-kms/commands/ListRetirableGrantsCommand.ts index 7beea88b2578..fe7a245324b8 100644 --- a/clients/client-kms/commands/ListRetirableGrantsCommand.ts +++ b/clients/client-kms/commands/ListRetirableGrantsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRetirableGrantsCommandInput = ListRetirableGrantsRequest; @@ -70,14 +70,14 @@ export class ListRetirableGrantsCommand extends $Command< private serialize( input: ListRetirableGrantsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRetirableGrantsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRetirableGrantsCommand(output, context); } diff --git a/clients/client-kms/commands/PutKeyPolicyCommand.ts b/clients/client-kms/commands/PutKeyPolicyCommand.ts index 4b279e30edfc..681afe1b8f2f 100644 --- a/clients/client-kms/commands/PutKeyPolicyCommand.ts +++ b/clients/client-kms/commands/PutKeyPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutKeyPolicyCommandInput = PutKeyPolicyRequest; @@ -65,14 +65,14 @@ export class PutKeyPolicyCommand extends $Command< private serialize( input: PutKeyPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutKeyPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutKeyPolicyCommand(output, context); } diff --git a/clients/client-kms/commands/ReEncryptCommand.ts b/clients/client-kms/commands/ReEncryptCommand.ts index 03626b4ac0d8..79116d390ba3 100644 --- a/clients/client-kms/commands/ReEncryptCommand.ts +++ b/clients/client-kms/commands/ReEncryptCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReEncryptCommandInput = ReEncryptRequest; @@ -64,14 +64,14 @@ export class ReEncryptCommand extends $Command< private serialize( input: ReEncryptCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ReEncryptCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ReEncryptCommand(output, context); } diff --git a/clients/client-kms/commands/RetireGrantCommand.ts b/clients/client-kms/commands/RetireGrantCommand.ts index 740d03851155..2fda06ee7188 100644 --- a/clients/client-kms/commands/RetireGrantCommand.ts +++ b/clients/client-kms/commands/RetireGrantCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RetireGrantCommandInput = RetireGrantRequest; @@ -65,14 +65,14 @@ export class RetireGrantCommand extends $Command< private serialize( input: RetireGrantCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RetireGrantCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RetireGrantCommand(output, context); } diff --git a/clients/client-kms/commands/RevokeGrantCommand.ts b/clients/client-kms/commands/RevokeGrantCommand.ts index 2e9ab93c89eb..ac2e9746ce88 100644 --- a/clients/client-kms/commands/RevokeGrantCommand.ts +++ b/clients/client-kms/commands/RevokeGrantCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeGrantCommandInput = RevokeGrantRequest; @@ -65,14 +65,14 @@ export class RevokeGrantCommand extends $Command< private serialize( input: RevokeGrantCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RevokeGrantCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RevokeGrantCommand(output, context); } diff --git a/clients/client-kms/commands/ScheduleKeyDeletionCommand.ts b/clients/client-kms/commands/ScheduleKeyDeletionCommand.ts index 933c3b08e9ec..04e52beed209 100644 --- a/clients/client-kms/commands/ScheduleKeyDeletionCommand.ts +++ b/clients/client-kms/commands/ScheduleKeyDeletionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ScheduleKeyDeletionCommandInput = ScheduleKeyDeletionRequest; @@ -70,14 +70,14 @@ export class ScheduleKeyDeletionCommand extends $Command< private serialize( input: ScheduleKeyDeletionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ScheduleKeyDeletionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ScheduleKeyDeletionCommand(output, context); } diff --git a/clients/client-kms/commands/SignCommand.ts b/clients/client-kms/commands/SignCommand.ts index 8c9dd0c29c8a..23871ab052b7 100644 --- a/clients/client-kms/commands/SignCommand.ts +++ b/clients/client-kms/commands/SignCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SignCommandInput = SignRequest; @@ -64,14 +64,14 @@ export class SignCommand extends $Command< private serialize( input: SignCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SignCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SignCommand(output, context); } diff --git a/clients/client-kms/commands/TagResourceCommand.ts b/clients/client-kms/commands/TagResourceCommand.ts index 0dccae446189..edbb3ac8aecc 100644 --- a/clients/client-kms/commands/TagResourceCommand.ts +++ b/clients/client-kms/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-kms/commands/UntagResourceCommand.ts b/clients/client-kms/commands/UntagResourceCommand.ts index 8296af4d46dd..e2b6f6366f28 100644 --- a/clients/client-kms/commands/UntagResourceCommand.ts +++ b/clients/client-kms/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-kms/commands/UpdateAliasCommand.ts b/clients/client-kms/commands/UpdateAliasCommand.ts index f46782c16ab3..ed9b2fcd2cdd 100644 --- a/clients/client-kms/commands/UpdateAliasCommand.ts +++ b/clients/client-kms/commands/UpdateAliasCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAliasCommandInput = UpdateAliasRequest; @@ -65,14 +65,14 @@ export class UpdateAliasCommand extends $Command< private serialize( input: UpdateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAliasCommand(output, context); } diff --git a/clients/client-kms/commands/UpdateCustomKeyStoreCommand.ts b/clients/client-kms/commands/UpdateCustomKeyStoreCommand.ts index 19cd92117da4..6c6f29f05aef 100644 --- a/clients/client-kms/commands/UpdateCustomKeyStoreCommand.ts +++ b/clients/client-kms/commands/UpdateCustomKeyStoreCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCustomKeyStoreCommandInput = UpdateCustomKeyStoreRequest; @@ -70,14 +70,14 @@ export class UpdateCustomKeyStoreCommand extends $Command< private serialize( input: UpdateCustomKeyStoreCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateCustomKeyStoreCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateCustomKeyStoreCommand(output, context); } diff --git a/clients/client-kms/commands/UpdateKeyDescriptionCommand.ts b/clients/client-kms/commands/UpdateKeyDescriptionCommand.ts index 8ec2597d95cb..1c6f584af361 100644 --- a/clients/client-kms/commands/UpdateKeyDescriptionCommand.ts +++ b/clients/client-kms/commands/UpdateKeyDescriptionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateKeyDescriptionCommandInput = UpdateKeyDescriptionRequest; @@ -68,14 +68,14 @@ export class UpdateKeyDescriptionCommand extends $Command< private serialize( input: UpdateKeyDescriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateKeyDescriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateKeyDescriptionCommand(output, context); } diff --git a/clients/client-kms/commands/VerifyCommand.ts b/clients/client-kms/commands/VerifyCommand.ts index dddba237b6d5..569d14f2525d 100644 --- a/clients/client-kms/commands/VerifyCommand.ts +++ b/clients/client-kms/commands/VerifyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type VerifyCommandInput = VerifyRequest; @@ -64,14 +64,14 @@ export class VerifyCommand extends $Command< private serialize( input: VerifyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1VerifyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1VerifyCommand(output, context); } diff --git a/clients/client-kms/protocols/Aws_json1_1.ts b/clients/client-kms/protocols/Aws_json1_1.ts index de02622830d5..050f0ef26592 100644 --- a/clients/client-kms/protocols/Aws_json1_1.ts +++ b/clients/client-kms/protocols/Aws_json1_1.ts @@ -8263,6 +8263,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-lakeformation/commands/BatchGrantPermissionsCommand.ts b/clients/client-lakeformation/commands/BatchGrantPermissionsCommand.ts index 9a0271fa5c2e..dc1e12e7e9d1 100644 --- a/clients/client-lakeformation/commands/BatchGrantPermissionsCommand.ts +++ b/clients/client-lakeformation/commands/BatchGrantPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGrantPermissionsCommandInput = BatchGrantPermissionsRequest; @@ -70,14 +70,14 @@ export class BatchGrantPermissionsCommand extends $Command< private serialize( input: BatchGrantPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchGrantPermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchGrantPermissionsCommand(output, context); } diff --git a/clients/client-lakeformation/commands/BatchRevokePermissionsCommand.ts b/clients/client-lakeformation/commands/BatchRevokePermissionsCommand.ts index 72eeca91c23c..d0c4680122ef 100644 --- a/clients/client-lakeformation/commands/BatchRevokePermissionsCommand.ts +++ b/clients/client-lakeformation/commands/BatchRevokePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchRevokePermissionsCommandInput = BatchRevokePermissionsRequest; @@ -70,14 +70,14 @@ export class BatchRevokePermissionsCommand extends $Command< private serialize( input: BatchRevokePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchRevokePermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchRevokePermissionsCommand(output, context); } diff --git a/clients/client-lakeformation/commands/DeregisterResourceCommand.ts b/clients/client-lakeformation/commands/DeregisterResourceCommand.ts index 048677e3e1b7..2ccd3690240f 100644 --- a/clients/client-lakeformation/commands/DeregisterResourceCommand.ts +++ b/clients/client-lakeformation/commands/DeregisterResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterResourceCommandInput = DeregisterResourceRequest; @@ -67,14 +67,14 @@ export class DeregisterResourceCommand extends $Command< private serialize( input: DeregisterResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterResourceCommand(output, context); } diff --git a/clients/client-lakeformation/commands/DescribeResourceCommand.ts b/clients/client-lakeformation/commands/DescribeResourceCommand.ts index 9fa7566efdee..9896d299d78b 100644 --- a/clients/client-lakeformation/commands/DescribeResourceCommand.ts +++ b/clients/client-lakeformation/commands/DescribeResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeResourceCommandInput = DescribeResourceRequest; @@ -67,14 +67,14 @@ export class DescribeResourceCommand extends $Command< private serialize( input: DescribeResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeResourceCommand(output, context); } diff --git a/clients/client-lakeformation/commands/GetDataLakeSettingsCommand.ts b/clients/client-lakeformation/commands/GetDataLakeSettingsCommand.ts index 012427d5c844..ce578d621969 100644 --- a/clients/client-lakeformation/commands/GetDataLakeSettingsCommand.ts +++ b/clients/client-lakeformation/commands/GetDataLakeSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDataLakeSettingsCommandInput = GetDataLakeSettingsRequest; @@ -70,14 +70,14 @@ export class GetDataLakeSettingsCommand extends $Command< private serialize( input: GetDataLakeSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDataLakeSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDataLakeSettingsCommand(output, context); } diff --git a/clients/client-lakeformation/commands/GetEffectivePermissionsForPathCommand.ts b/clients/client-lakeformation/commands/GetEffectivePermissionsForPathCommand.ts index 4b04bb09a5b7..af3b2d829f0c 100644 --- a/clients/client-lakeformation/commands/GetEffectivePermissionsForPathCommand.ts +++ b/clients/client-lakeformation/commands/GetEffectivePermissionsForPathCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEffectivePermissionsForPathCommandInput = GetEffectivePermissionsForPathRequest; @@ -70,7 +70,7 @@ export class GetEffectivePermissionsForPathCommand extends $Command< private serialize( input: GetEffectivePermissionsForPathCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetEffectivePermissionsForPathCommand( input, @@ -80,7 +80,7 @@ export class GetEffectivePermissionsForPathCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetEffectivePermissionsForPathCommand( output, diff --git a/clients/client-lakeformation/commands/GrantPermissionsCommand.ts b/clients/client-lakeformation/commands/GrantPermissionsCommand.ts index 5bd02e4d364d..0022f85a866b 100644 --- a/clients/client-lakeformation/commands/GrantPermissionsCommand.ts +++ b/clients/client-lakeformation/commands/GrantPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GrantPermissionsCommandInput = GrantPermissionsRequest; @@ -67,14 +67,14 @@ export class GrantPermissionsCommand extends $Command< private serialize( input: GrantPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GrantPermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GrantPermissionsCommand(output, context); } diff --git a/clients/client-lakeformation/commands/ListPermissionsCommand.ts b/clients/client-lakeformation/commands/ListPermissionsCommand.ts index b18d5d81958a..b94a3b39c4cc 100644 --- a/clients/client-lakeformation/commands/ListPermissionsCommand.ts +++ b/clients/client-lakeformation/commands/ListPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPermissionsCommandInput = ListPermissionsRequest; @@ -67,14 +67,14 @@ export class ListPermissionsCommand extends $Command< private serialize( input: ListPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPermissionsCommand(output, context); } diff --git a/clients/client-lakeformation/commands/ListResourcesCommand.ts b/clients/client-lakeformation/commands/ListResourcesCommand.ts index 0e051766bdb3..972148233b8b 100644 --- a/clients/client-lakeformation/commands/ListResourcesCommand.ts +++ b/clients/client-lakeformation/commands/ListResourcesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourcesCommandInput = ListResourcesRequest; @@ -64,14 +64,14 @@ export class ListResourcesCommand extends $Command< private serialize( input: ListResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourcesCommand(output, context); } diff --git a/clients/client-lakeformation/commands/PutDataLakeSettingsCommand.ts b/clients/client-lakeformation/commands/PutDataLakeSettingsCommand.ts index 7c191817a14f..97ddfdfa00af 100644 --- a/clients/client-lakeformation/commands/PutDataLakeSettingsCommand.ts +++ b/clients/client-lakeformation/commands/PutDataLakeSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDataLakeSettingsCommandInput = PutDataLakeSettingsRequest; @@ -70,14 +70,14 @@ export class PutDataLakeSettingsCommand extends $Command< private serialize( input: PutDataLakeSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutDataLakeSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutDataLakeSettingsCommand(output, context); } diff --git a/clients/client-lakeformation/commands/RegisterResourceCommand.ts b/clients/client-lakeformation/commands/RegisterResourceCommand.ts index 261421453aba..05ab06340cc0 100644 --- a/clients/client-lakeformation/commands/RegisterResourceCommand.ts +++ b/clients/client-lakeformation/commands/RegisterResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterResourceCommandInput = RegisterResourceRequest; @@ -67,14 +67,14 @@ export class RegisterResourceCommand extends $Command< private serialize( input: RegisterResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterResourceCommand(output, context); } diff --git a/clients/client-lakeformation/commands/RevokePermissionsCommand.ts b/clients/client-lakeformation/commands/RevokePermissionsCommand.ts index 6fb96a315d0c..a3d4aa1ee359 100644 --- a/clients/client-lakeformation/commands/RevokePermissionsCommand.ts +++ b/clients/client-lakeformation/commands/RevokePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokePermissionsCommandInput = RevokePermissionsRequest; @@ -67,14 +67,14 @@ export class RevokePermissionsCommand extends $Command< private serialize( input: RevokePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RevokePermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RevokePermissionsCommand(output, context); } diff --git a/clients/client-lakeformation/commands/UpdateResourceCommand.ts b/clients/client-lakeformation/commands/UpdateResourceCommand.ts index a8f2a0a450c3..900e020980be 100644 --- a/clients/client-lakeformation/commands/UpdateResourceCommand.ts +++ b/clients/client-lakeformation/commands/UpdateResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateResourceCommandInput = UpdateResourceRequest; @@ -64,14 +64,14 @@ export class UpdateResourceCommand extends $Command< private serialize( input: UpdateResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateResourceCommand(output, context); } diff --git a/clients/client-lakeformation/protocols/Aws_json1_1.ts b/clients/client-lakeformation/protocols/Aws_json1_1.ts index 01c3427312cd..4969f857e190 100644 --- a/clients/client-lakeformation/protocols/Aws_json1_1.ts +++ b/clients/client-lakeformation/protocols/Aws_json1_1.ts @@ -2649,6 +2649,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-lambda/commands/AddLayerVersionPermissionCommand.ts b/clients/client-lambda/commands/AddLayerVersionPermissionCommand.ts index d005e05f9e6d..557d50731296 100644 --- a/clients/client-lambda/commands/AddLayerVersionPermissionCommand.ts +++ b/clients/client-lambda/commands/AddLayerVersionPermissionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddLayerVersionPermissionCommandInput = AddLayerVersionPermissionRequest; @@ -70,7 +70,7 @@ export class AddLayerVersionPermissionCommand extends $Command< private serialize( input: AddLayerVersionPermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AddLayerVersionPermissionCommand( input, @@ -80,7 +80,7 @@ export class AddLayerVersionPermissionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AddLayerVersionPermissionCommand( output, diff --git a/clients/client-lambda/commands/AddPermissionCommand.ts b/clients/client-lambda/commands/AddPermissionCommand.ts index 6b379fd30ff9..f1f3e42bc324 100644 --- a/clients/client-lambda/commands/AddPermissionCommand.ts +++ b/clients/client-lambda/commands/AddPermissionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddPermissionCommandInput = AddPermissionRequest; @@ -64,14 +64,14 @@ export class AddPermissionCommand extends $Command< private serialize( input: AddPermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AddPermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AddPermissionCommand(output, context); } diff --git a/clients/client-lambda/commands/CreateAliasCommand.ts b/clients/client-lambda/commands/CreateAliasCommand.ts index 6dc9157238b0..e0356fecaea4 100644 --- a/clients/client-lambda/commands/CreateAliasCommand.ts +++ b/clients/client-lambda/commands/CreateAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAliasCommandInput = CreateAliasRequest; @@ -64,14 +64,14 @@ export class CreateAliasCommand extends $Command< private serialize( input: CreateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateAliasCommand(output, context); } diff --git a/clients/client-lambda/commands/CreateEventSourceMappingCommand.ts b/clients/client-lambda/commands/CreateEventSourceMappingCommand.ts index 76849c45d273..a9578c3e2894 100644 --- a/clients/client-lambda/commands/CreateEventSourceMappingCommand.ts +++ b/clients/client-lambda/commands/CreateEventSourceMappingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEventSourceMappingCommandInput = CreateEventSourceMappingRequest; @@ -70,7 +70,7 @@ export class CreateEventSourceMappingCommand extends $Command< private serialize( input: CreateEventSourceMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateEventSourceMappingCommand( input, @@ -80,7 +80,7 @@ export class CreateEventSourceMappingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateEventSourceMappingCommand( output, diff --git a/clients/client-lambda/commands/CreateFunctionCommand.ts b/clients/client-lambda/commands/CreateFunctionCommand.ts index 4283a39f354d..286a948fbda3 100644 --- a/clients/client-lambda/commands/CreateFunctionCommand.ts +++ b/clients/client-lambda/commands/CreateFunctionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFunctionCommandInput = CreateFunctionRequest; @@ -64,14 +64,14 @@ export class CreateFunctionCommand extends $Command< private serialize( input: CreateFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFunctionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFunctionCommand(output, context); } diff --git a/clients/client-lambda/commands/DeleteAliasCommand.ts b/clients/client-lambda/commands/DeleteAliasCommand.ts index cdf1508bac1d..f7e64d300688 100644 --- a/clients/client-lambda/commands/DeleteAliasCommand.ts +++ b/clients/client-lambda/commands/DeleteAliasCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAliasCommandInput = DeleteAliasRequest; @@ -65,14 +65,14 @@ export class DeleteAliasCommand extends $Command< private serialize( input: DeleteAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAliasCommand(output, context); } diff --git a/clients/client-lambda/commands/DeleteEventSourceMappingCommand.ts b/clients/client-lambda/commands/DeleteEventSourceMappingCommand.ts index 0915bd7fdbf8..6da76591516c 100644 --- a/clients/client-lambda/commands/DeleteEventSourceMappingCommand.ts +++ b/clients/client-lambda/commands/DeleteEventSourceMappingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEventSourceMappingCommandInput = DeleteEventSourceMappingRequest; @@ -70,7 +70,7 @@ export class DeleteEventSourceMappingCommand extends $Command< private serialize( input: DeleteEventSourceMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteEventSourceMappingCommand( input, @@ -80,7 +80,7 @@ export class DeleteEventSourceMappingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteEventSourceMappingCommand( output, diff --git a/clients/client-lambda/commands/DeleteFunctionCommand.ts b/clients/client-lambda/commands/DeleteFunctionCommand.ts index 61f8b5938ece..b681781edd9d 100644 --- a/clients/client-lambda/commands/DeleteFunctionCommand.ts +++ b/clients/client-lambda/commands/DeleteFunctionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFunctionCommandInput = DeleteFunctionRequest; @@ -65,14 +65,14 @@ export class DeleteFunctionCommand extends $Command< private serialize( input: DeleteFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFunctionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFunctionCommand(output, context); } diff --git a/clients/client-lambda/commands/DeleteFunctionConcurrencyCommand.ts b/clients/client-lambda/commands/DeleteFunctionConcurrencyCommand.ts index 6e74c6ba9840..dfb9ac594057 100644 --- a/clients/client-lambda/commands/DeleteFunctionConcurrencyCommand.ts +++ b/clients/client-lambda/commands/DeleteFunctionConcurrencyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFunctionConcurrencyCommandInput = DeleteFunctionConcurrencyRequest; @@ -68,7 +68,7 @@ export class DeleteFunctionConcurrencyCommand extends $Command< private serialize( input: DeleteFunctionConcurrencyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFunctionConcurrencyCommand( input, @@ -78,7 +78,7 @@ export class DeleteFunctionConcurrencyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFunctionConcurrencyCommand( output, diff --git a/clients/client-lambda/commands/DeleteFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/commands/DeleteFunctionEventInvokeConfigCommand.ts index a6b026cdefcf..c3c3921484cf 100644 --- a/clients/client-lambda/commands/DeleteFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/commands/DeleteFunctionEventInvokeConfigCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFunctionEventInvokeConfigCommandInput = DeleteFunctionEventInvokeConfigRequest; @@ -68,7 +68,7 @@ export class DeleteFunctionEventInvokeConfigCommand extends $Command< private serialize( input: DeleteFunctionEventInvokeConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFunctionEventInvokeConfigCommand( input, @@ -78,7 +78,7 @@ export class DeleteFunctionEventInvokeConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFunctionEventInvokeConfigCommand( output, diff --git a/clients/client-lambda/commands/DeleteLayerVersionCommand.ts b/clients/client-lambda/commands/DeleteLayerVersionCommand.ts index 920e16564589..5dfafded9a68 100644 --- a/clients/client-lambda/commands/DeleteLayerVersionCommand.ts +++ b/clients/client-lambda/commands/DeleteLayerVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLayerVersionCommandInput = DeleteLayerVersionRequest; @@ -65,14 +65,14 @@ export class DeleteLayerVersionCommand extends $Command< private serialize( input: DeleteLayerVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteLayerVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteLayerVersionCommand(output, context); } diff --git a/clients/client-lambda/commands/DeleteProvisionedConcurrencyConfigCommand.ts b/clients/client-lambda/commands/DeleteProvisionedConcurrencyConfigCommand.ts index ce169440e70b..beb5bf5f3ad7 100644 --- a/clients/client-lambda/commands/DeleteProvisionedConcurrencyConfigCommand.ts +++ b/clients/client-lambda/commands/DeleteProvisionedConcurrencyConfigCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProvisionedConcurrencyConfigCommandInput = DeleteProvisionedConcurrencyConfigRequest; @@ -68,7 +68,7 @@ export class DeleteProvisionedConcurrencyConfigCommand extends $Command< private serialize( input: DeleteProvisionedConcurrencyConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteProvisionedConcurrencyConfigCommand( input, @@ -78,7 +78,7 @@ export class DeleteProvisionedConcurrencyConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteProvisionedConcurrencyConfigCommand( output, diff --git a/clients/client-lambda/commands/GetAccountSettingsCommand.ts b/clients/client-lambda/commands/GetAccountSettingsCommand.ts index e162a0c622ef..e1ad76b22f8d 100644 --- a/clients/client-lambda/commands/GetAccountSettingsCommand.ts +++ b/clients/client-lambda/commands/GetAccountSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountSettingsCommandInput = GetAccountSettingsRequest; @@ -67,14 +67,14 @@ export class GetAccountSettingsCommand extends $Command< private serialize( input: GetAccountSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAccountSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAccountSettingsCommand(output, context); } diff --git a/clients/client-lambda/commands/GetAliasCommand.ts b/clients/client-lambda/commands/GetAliasCommand.ts index 12fa08246495..20b54b0754bb 100644 --- a/clients/client-lambda/commands/GetAliasCommand.ts +++ b/clients/client-lambda/commands/GetAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAliasCommandInput = GetAliasRequest; @@ -64,14 +64,14 @@ export class GetAliasCommand extends $Command< private serialize( input: GetAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAliasCommand(output, context); } diff --git a/clients/client-lambda/commands/GetEventSourceMappingCommand.ts b/clients/client-lambda/commands/GetEventSourceMappingCommand.ts index dada8c087d18..d0cc2bde371b 100644 --- a/clients/client-lambda/commands/GetEventSourceMappingCommand.ts +++ b/clients/client-lambda/commands/GetEventSourceMappingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEventSourceMappingCommandInput = GetEventSourceMappingRequest; @@ -70,14 +70,14 @@ export class GetEventSourceMappingCommand extends $Command< private serialize( input: GetEventSourceMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEventSourceMappingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEventSourceMappingCommand( output, diff --git a/clients/client-lambda/commands/GetFunctionCommand.ts b/clients/client-lambda/commands/GetFunctionCommand.ts index 720280df23ef..b037b531c3c1 100644 --- a/clients/client-lambda/commands/GetFunctionCommand.ts +++ b/clients/client-lambda/commands/GetFunctionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFunctionCommandInput = GetFunctionRequest; @@ -64,14 +64,14 @@ export class GetFunctionCommand extends $Command< private serialize( input: GetFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFunctionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFunctionCommand(output, context); } diff --git a/clients/client-lambda/commands/GetFunctionConcurrencyCommand.ts b/clients/client-lambda/commands/GetFunctionConcurrencyCommand.ts index 7cffcbe6bbf3..4201b64dc54e 100644 --- a/clients/client-lambda/commands/GetFunctionConcurrencyCommand.ts +++ b/clients/client-lambda/commands/GetFunctionConcurrencyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFunctionConcurrencyCommandInput = GetFunctionConcurrencyRequest; @@ -70,7 +70,7 @@ export class GetFunctionConcurrencyCommand extends $Command< private serialize( input: GetFunctionConcurrencyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFunctionConcurrencyCommand( input, @@ -80,7 +80,7 @@ export class GetFunctionConcurrencyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFunctionConcurrencyCommand( output, diff --git a/clients/client-lambda/commands/GetFunctionConfigurationCommand.ts b/clients/client-lambda/commands/GetFunctionConfigurationCommand.ts index aadd01273cc2..6192c4b1b85a 100644 --- a/clients/client-lambda/commands/GetFunctionConfigurationCommand.ts +++ b/clients/client-lambda/commands/GetFunctionConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFunctionConfigurationCommandInput = GetFunctionConfigurationRequest; @@ -70,7 +70,7 @@ export class GetFunctionConfigurationCommand extends $Command< private serialize( input: GetFunctionConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFunctionConfigurationCommand( input, @@ -80,7 +80,7 @@ export class GetFunctionConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFunctionConfigurationCommand( output, diff --git a/clients/client-lambda/commands/GetFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/commands/GetFunctionEventInvokeConfigCommand.ts index e9c6f5e2098e..c766aa9f08e0 100644 --- a/clients/client-lambda/commands/GetFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/commands/GetFunctionEventInvokeConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFunctionEventInvokeConfigCommandInput = GetFunctionEventInvokeConfigRequest; @@ -70,7 +70,7 @@ export class GetFunctionEventInvokeConfigCommand extends $Command< private serialize( input: GetFunctionEventInvokeConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFunctionEventInvokeConfigCommand( input, @@ -80,7 +80,7 @@ export class GetFunctionEventInvokeConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFunctionEventInvokeConfigCommand( output, diff --git a/clients/client-lambda/commands/GetLayerVersionByArnCommand.ts b/clients/client-lambda/commands/GetLayerVersionByArnCommand.ts index c43a3a33a5d5..be20d752403b 100644 --- a/clients/client-lambda/commands/GetLayerVersionByArnCommand.ts +++ b/clients/client-lambda/commands/GetLayerVersionByArnCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLayerVersionByArnCommandInput = GetLayerVersionByArnRequest; @@ -70,14 +70,14 @@ export class GetLayerVersionByArnCommand extends $Command< private serialize( input: GetLayerVersionByArnCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLayerVersionByArnCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLayerVersionByArnCommand( output, diff --git a/clients/client-lambda/commands/GetLayerVersionCommand.ts b/clients/client-lambda/commands/GetLayerVersionCommand.ts index e9968c88fcdf..976b41eba27f 100644 --- a/clients/client-lambda/commands/GetLayerVersionCommand.ts +++ b/clients/client-lambda/commands/GetLayerVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLayerVersionCommandInput = GetLayerVersionRequest; @@ -67,14 +67,14 @@ export class GetLayerVersionCommand extends $Command< private serialize( input: GetLayerVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLayerVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLayerVersionCommand(output, context); } diff --git a/clients/client-lambda/commands/GetLayerVersionPolicyCommand.ts b/clients/client-lambda/commands/GetLayerVersionPolicyCommand.ts index da63a695f5cf..fed36191057c 100644 --- a/clients/client-lambda/commands/GetLayerVersionPolicyCommand.ts +++ b/clients/client-lambda/commands/GetLayerVersionPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLayerVersionPolicyCommandInput = GetLayerVersionPolicyRequest; @@ -70,14 +70,14 @@ export class GetLayerVersionPolicyCommand extends $Command< private serialize( input: GetLayerVersionPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLayerVersionPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLayerVersionPolicyCommand( output, diff --git a/clients/client-lambda/commands/GetPolicyCommand.ts b/clients/client-lambda/commands/GetPolicyCommand.ts index 33744677925f..744fdef29500 100644 --- a/clients/client-lambda/commands/GetPolicyCommand.ts +++ b/clients/client-lambda/commands/GetPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPolicyCommandInput = GetPolicyRequest; @@ -64,14 +64,14 @@ export class GetPolicyCommand extends $Command< private serialize( input: GetPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPolicyCommand(output, context); } diff --git a/clients/client-lambda/commands/GetProvisionedConcurrencyConfigCommand.ts b/clients/client-lambda/commands/GetProvisionedConcurrencyConfigCommand.ts index 9f81fccb352a..20bdd1c998e3 100644 --- a/clients/client-lambda/commands/GetProvisionedConcurrencyConfigCommand.ts +++ b/clients/client-lambda/commands/GetProvisionedConcurrencyConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetProvisionedConcurrencyConfigCommandInput = GetProvisionedConcurrencyConfigRequest; @@ -70,7 +70,7 @@ export class GetProvisionedConcurrencyConfigCommand extends $Command< private serialize( input: GetProvisionedConcurrencyConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetProvisionedConcurrencyConfigCommand( input, @@ -80,7 +80,7 @@ export class GetProvisionedConcurrencyConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetProvisionedConcurrencyConfigCommand( output, diff --git a/clients/client-lambda/commands/InvokeAsyncCommand.ts b/clients/client-lambda/commands/InvokeAsyncCommand.ts index ae72a40e2bfa..95f958b16cbd 100644 --- a/clients/client-lambda/commands/InvokeAsyncCommand.ts +++ b/clients/client-lambda/commands/InvokeAsyncCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InvokeAsyncCommandInput = InvokeAsyncRequest; @@ -64,14 +64,14 @@ export class InvokeAsyncCommand extends $Command< private serialize( input: InvokeAsyncCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InvokeAsyncCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InvokeAsyncCommand(output, context); } diff --git a/clients/client-lambda/commands/InvokeCommand.ts b/clients/client-lambda/commands/InvokeCommand.ts index b144613a3d7e..9cb91dbba1c0 100644 --- a/clients/client-lambda/commands/InvokeCommand.ts +++ b/clients/client-lambda/commands/InvokeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InvokeCommandInput = InvocationRequest; @@ -64,14 +64,14 @@ export class InvokeCommand extends $Command< private serialize( input: InvokeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InvokeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InvokeCommand(output, context); } diff --git a/clients/client-lambda/commands/ListAliasesCommand.ts b/clients/client-lambda/commands/ListAliasesCommand.ts index ddad7ddb2f07..dc6a49b29c99 100644 --- a/clients/client-lambda/commands/ListAliasesCommand.ts +++ b/clients/client-lambda/commands/ListAliasesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAliasesCommandInput = ListAliasesRequest; @@ -64,14 +64,14 @@ export class ListAliasesCommand extends $Command< private serialize( input: ListAliasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAliasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAliasesCommand(output, context); } diff --git a/clients/client-lambda/commands/ListEventSourceMappingsCommand.ts b/clients/client-lambda/commands/ListEventSourceMappingsCommand.ts index a6e1caf3e7cb..2ba8dad15e30 100644 --- a/clients/client-lambda/commands/ListEventSourceMappingsCommand.ts +++ b/clients/client-lambda/commands/ListEventSourceMappingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEventSourceMappingsCommandInput = ListEventSourceMappingsRequest; @@ -70,7 +70,7 @@ export class ListEventSourceMappingsCommand extends $Command< private serialize( input: ListEventSourceMappingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListEventSourceMappingsCommand( input, @@ -80,7 +80,7 @@ export class ListEventSourceMappingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListEventSourceMappingsCommand( output, diff --git a/clients/client-lambda/commands/ListFunctionEventInvokeConfigsCommand.ts b/clients/client-lambda/commands/ListFunctionEventInvokeConfigsCommand.ts index 1212678064ac..d69928bf2881 100644 --- a/clients/client-lambda/commands/ListFunctionEventInvokeConfigsCommand.ts +++ b/clients/client-lambda/commands/ListFunctionEventInvokeConfigsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFunctionEventInvokeConfigsCommandInput = ListFunctionEventInvokeConfigsRequest; @@ -70,7 +70,7 @@ export class ListFunctionEventInvokeConfigsCommand extends $Command< private serialize( input: ListFunctionEventInvokeConfigsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFunctionEventInvokeConfigsCommand( input, @@ -80,7 +80,7 @@ export class ListFunctionEventInvokeConfigsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFunctionEventInvokeConfigsCommand( output, diff --git a/clients/client-lambda/commands/ListFunctionsCommand.ts b/clients/client-lambda/commands/ListFunctionsCommand.ts index 76069cc96507..f3c996c45279 100644 --- a/clients/client-lambda/commands/ListFunctionsCommand.ts +++ b/clients/client-lambda/commands/ListFunctionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFunctionsCommandInput = ListFunctionsRequest; @@ -64,14 +64,14 @@ export class ListFunctionsCommand extends $Command< private serialize( input: ListFunctionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFunctionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFunctionsCommand(output, context); } diff --git a/clients/client-lambda/commands/ListLayerVersionsCommand.ts b/clients/client-lambda/commands/ListLayerVersionsCommand.ts index 8ae2360f6cb7..1cb53cdac7d9 100644 --- a/clients/client-lambda/commands/ListLayerVersionsCommand.ts +++ b/clients/client-lambda/commands/ListLayerVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLayerVersionsCommandInput = ListLayerVersionsRequest; @@ -67,14 +67,14 @@ export class ListLayerVersionsCommand extends $Command< private serialize( input: ListLayerVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListLayerVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListLayerVersionsCommand(output, context); } diff --git a/clients/client-lambda/commands/ListLayersCommand.ts b/clients/client-lambda/commands/ListLayersCommand.ts index 66b9e212e09a..68ba34494bc8 100644 --- a/clients/client-lambda/commands/ListLayersCommand.ts +++ b/clients/client-lambda/commands/ListLayersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLayersCommandInput = ListLayersRequest; @@ -64,14 +64,14 @@ export class ListLayersCommand extends $Command< private serialize( input: ListLayersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListLayersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListLayersCommand(output, context); } diff --git a/clients/client-lambda/commands/ListProvisionedConcurrencyConfigsCommand.ts b/clients/client-lambda/commands/ListProvisionedConcurrencyConfigsCommand.ts index 8f9339d0545a..761ccaaf30a0 100644 --- a/clients/client-lambda/commands/ListProvisionedConcurrencyConfigsCommand.ts +++ b/clients/client-lambda/commands/ListProvisionedConcurrencyConfigsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProvisionedConcurrencyConfigsCommandInput = ListProvisionedConcurrencyConfigsRequest; @@ -70,7 +70,7 @@ export class ListProvisionedConcurrencyConfigsCommand extends $Command< private serialize( input: ListProvisionedConcurrencyConfigsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListProvisionedConcurrencyConfigsCommand( input, @@ -80,7 +80,7 @@ export class ListProvisionedConcurrencyConfigsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListProvisionedConcurrencyConfigsCommand( output, diff --git a/clients/client-lambda/commands/ListTagsCommand.ts b/clients/client-lambda/commands/ListTagsCommand.ts index 02978b836647..43061a7f1e7f 100644 --- a/clients/client-lambda/commands/ListTagsCommand.ts +++ b/clients/client-lambda/commands/ListTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsCommandInput = ListTagsRequest; @@ -64,14 +64,14 @@ export class ListTagsCommand extends $Command< private serialize( input: ListTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsCommand(output, context); } diff --git a/clients/client-lambda/commands/ListVersionsByFunctionCommand.ts b/clients/client-lambda/commands/ListVersionsByFunctionCommand.ts index d92367a56512..194240aa285c 100644 --- a/clients/client-lambda/commands/ListVersionsByFunctionCommand.ts +++ b/clients/client-lambda/commands/ListVersionsByFunctionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVersionsByFunctionCommandInput = ListVersionsByFunctionRequest; @@ -70,7 +70,7 @@ export class ListVersionsByFunctionCommand extends $Command< private serialize( input: ListVersionsByFunctionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListVersionsByFunctionCommand( input, @@ -80,7 +80,7 @@ export class ListVersionsByFunctionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListVersionsByFunctionCommand( output, diff --git a/clients/client-lambda/commands/PublishLayerVersionCommand.ts b/clients/client-lambda/commands/PublishLayerVersionCommand.ts index 4749b1d32748..83f5b6b224a4 100644 --- a/clients/client-lambda/commands/PublishLayerVersionCommand.ts +++ b/clients/client-lambda/commands/PublishLayerVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PublishLayerVersionCommandInput = PublishLayerVersionRequest; @@ -70,14 +70,14 @@ export class PublishLayerVersionCommand extends $Command< private serialize( input: PublishLayerVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PublishLayerVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PublishLayerVersionCommand( output, diff --git a/clients/client-lambda/commands/PublishVersionCommand.ts b/clients/client-lambda/commands/PublishVersionCommand.ts index 795fda3d473e..4d43c1cb19ea 100644 --- a/clients/client-lambda/commands/PublishVersionCommand.ts +++ b/clients/client-lambda/commands/PublishVersionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PublishVersionCommandInput = PublishVersionRequest; @@ -64,14 +64,14 @@ export class PublishVersionCommand extends $Command< private serialize( input: PublishVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PublishVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PublishVersionCommand(output, context); } diff --git a/clients/client-lambda/commands/PutFunctionConcurrencyCommand.ts b/clients/client-lambda/commands/PutFunctionConcurrencyCommand.ts index 3b6b34ee3241..c76454735475 100644 --- a/clients/client-lambda/commands/PutFunctionConcurrencyCommand.ts +++ b/clients/client-lambda/commands/PutFunctionConcurrencyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutFunctionConcurrencyCommandInput = PutFunctionConcurrencyRequest; @@ -67,7 +67,7 @@ export class PutFunctionConcurrencyCommand extends $Command< private serialize( input: PutFunctionConcurrencyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutFunctionConcurrencyCommand( input, @@ -77,7 +77,7 @@ export class PutFunctionConcurrencyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutFunctionConcurrencyCommand( output, diff --git a/clients/client-lambda/commands/PutFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/commands/PutFunctionEventInvokeConfigCommand.ts index 0ecdeb2de838..914cf0ea35a4 100644 --- a/clients/client-lambda/commands/PutFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/commands/PutFunctionEventInvokeConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutFunctionEventInvokeConfigCommandInput = PutFunctionEventInvokeConfigRequest; @@ -70,7 +70,7 @@ export class PutFunctionEventInvokeConfigCommand extends $Command< private serialize( input: PutFunctionEventInvokeConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutFunctionEventInvokeConfigCommand( input, @@ -80,7 +80,7 @@ export class PutFunctionEventInvokeConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutFunctionEventInvokeConfigCommand( output, diff --git a/clients/client-lambda/commands/PutProvisionedConcurrencyConfigCommand.ts b/clients/client-lambda/commands/PutProvisionedConcurrencyConfigCommand.ts index 581153a1b1d9..50ac72208b5f 100644 --- a/clients/client-lambda/commands/PutProvisionedConcurrencyConfigCommand.ts +++ b/clients/client-lambda/commands/PutProvisionedConcurrencyConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutProvisionedConcurrencyConfigCommandInput = PutProvisionedConcurrencyConfigRequest; @@ -70,7 +70,7 @@ export class PutProvisionedConcurrencyConfigCommand extends $Command< private serialize( input: PutProvisionedConcurrencyConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutProvisionedConcurrencyConfigCommand( input, @@ -80,7 +80,7 @@ export class PutProvisionedConcurrencyConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutProvisionedConcurrencyConfigCommand( output, diff --git a/clients/client-lambda/commands/RemoveLayerVersionPermissionCommand.ts b/clients/client-lambda/commands/RemoveLayerVersionPermissionCommand.ts index 756f6f5e4ac8..dd3e09634321 100644 --- a/clients/client-lambda/commands/RemoveLayerVersionPermissionCommand.ts +++ b/clients/client-lambda/commands/RemoveLayerVersionPermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveLayerVersionPermissionCommandInput = RemoveLayerVersionPermissionRequest; @@ -68,7 +68,7 @@ export class RemoveLayerVersionPermissionCommand extends $Command< private serialize( input: RemoveLayerVersionPermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RemoveLayerVersionPermissionCommand( input, @@ -78,7 +78,7 @@ export class RemoveLayerVersionPermissionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RemoveLayerVersionPermissionCommand( output, diff --git a/clients/client-lambda/commands/RemovePermissionCommand.ts b/clients/client-lambda/commands/RemovePermissionCommand.ts index 221e39403a88..2b68a347871f 100644 --- a/clients/client-lambda/commands/RemovePermissionCommand.ts +++ b/clients/client-lambda/commands/RemovePermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemovePermissionCommandInput = RemovePermissionRequest; @@ -65,14 +65,14 @@ export class RemovePermissionCommand extends $Command< private serialize( input: RemovePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RemovePermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RemovePermissionCommand(output, context); } diff --git a/clients/client-lambda/commands/TagResourceCommand.ts b/clients/client-lambda/commands/TagResourceCommand.ts index a42186331474..6ce8c12b01e9 100644 --- a/clients/client-lambda/commands/TagResourceCommand.ts +++ b/clients/client-lambda/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-lambda/commands/UntagResourceCommand.ts b/clients/client-lambda/commands/UntagResourceCommand.ts index 2881c2100cd5..b3b102488f46 100644 --- a/clients/client-lambda/commands/UntagResourceCommand.ts +++ b/clients/client-lambda/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-lambda/commands/UpdateAliasCommand.ts b/clients/client-lambda/commands/UpdateAliasCommand.ts index b30d2a878fbf..e45d82b64b9d 100644 --- a/clients/client-lambda/commands/UpdateAliasCommand.ts +++ b/clients/client-lambda/commands/UpdateAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAliasCommandInput = UpdateAliasRequest; @@ -64,14 +64,14 @@ export class UpdateAliasCommand extends $Command< private serialize( input: UpdateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAliasCommand(output, context); } diff --git a/clients/client-lambda/commands/UpdateEventSourceMappingCommand.ts b/clients/client-lambda/commands/UpdateEventSourceMappingCommand.ts index 79ce68135328..d7dbb87306f0 100644 --- a/clients/client-lambda/commands/UpdateEventSourceMappingCommand.ts +++ b/clients/client-lambda/commands/UpdateEventSourceMappingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEventSourceMappingCommandInput = UpdateEventSourceMappingRequest; @@ -70,7 +70,7 @@ export class UpdateEventSourceMappingCommand extends $Command< private serialize( input: UpdateEventSourceMappingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateEventSourceMappingCommand( input, @@ -80,7 +80,7 @@ export class UpdateEventSourceMappingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateEventSourceMappingCommand( output, diff --git a/clients/client-lambda/commands/UpdateFunctionCodeCommand.ts b/clients/client-lambda/commands/UpdateFunctionCodeCommand.ts index 68253362f161..dcf9fa7b3317 100644 --- a/clients/client-lambda/commands/UpdateFunctionCodeCommand.ts +++ b/clients/client-lambda/commands/UpdateFunctionCodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFunctionCodeCommandInput = UpdateFunctionCodeRequest; @@ -67,14 +67,14 @@ export class UpdateFunctionCodeCommand extends $Command< private serialize( input: UpdateFunctionCodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFunctionCodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFunctionCodeCommand(output, context); } diff --git a/clients/client-lambda/commands/UpdateFunctionConfigurationCommand.ts b/clients/client-lambda/commands/UpdateFunctionConfigurationCommand.ts index f6ae3064e458..0f077dd7ede8 100644 --- a/clients/client-lambda/commands/UpdateFunctionConfigurationCommand.ts +++ b/clients/client-lambda/commands/UpdateFunctionConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFunctionConfigurationCommandInput = UpdateFunctionConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateFunctionConfigurationCommand extends $Command< private serialize( input: UpdateFunctionConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFunctionConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateFunctionConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFunctionConfigurationCommand( output, diff --git a/clients/client-lambda/commands/UpdateFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/commands/UpdateFunctionEventInvokeConfigCommand.ts index 5b3aafd6ecb3..865331a1dc47 100644 --- a/clients/client-lambda/commands/UpdateFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/commands/UpdateFunctionEventInvokeConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFunctionEventInvokeConfigCommandInput = UpdateFunctionEventInvokeConfigRequest; @@ -70,7 +70,7 @@ export class UpdateFunctionEventInvokeConfigCommand extends $Command< private serialize( input: UpdateFunctionEventInvokeConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFunctionEventInvokeConfigCommand( input, @@ -80,7 +80,7 @@ export class UpdateFunctionEventInvokeConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFunctionEventInvokeConfigCommand( output, diff --git a/clients/client-lambda/protocols/Aws_restJson1_1.ts b/clients/client-lambda/protocols/Aws_restJson1_1.ts index b744f2916317..4b697ad77ca8 100644 --- a/clients/client-lambda/protocols/Aws_restJson1_1.ts +++ b/clients/client-lambda/protocols/Aws_restJson1_1.ts @@ -9480,6 +9480,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-lex-model-building-service/commands/CreateBotVersionCommand.ts b/clients/client-lex-model-building-service/commands/CreateBotVersionCommand.ts index d6b509eb84b4..07c2b97c1b7c 100644 --- a/clients/client-lex-model-building-service/commands/CreateBotVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/CreateBotVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBotVersionCommandInput = CreateBotVersionRequest; @@ -67,14 +67,14 @@ export class CreateBotVersionCommand extends $Command< private serialize( input: CreateBotVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateBotVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateBotVersionCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/CreateIntentVersionCommand.ts b/clients/client-lex-model-building-service/commands/CreateIntentVersionCommand.ts index 88a7f43be368..6a39464767d8 100644 --- a/clients/client-lex-model-building-service/commands/CreateIntentVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/CreateIntentVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIntentVersionCommandInput = CreateIntentVersionRequest; @@ -70,14 +70,14 @@ export class CreateIntentVersionCommand extends $Command< private serialize( input: CreateIntentVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateIntentVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateIntentVersionCommand( output, diff --git a/clients/client-lex-model-building-service/commands/CreateSlotTypeVersionCommand.ts b/clients/client-lex-model-building-service/commands/CreateSlotTypeVersionCommand.ts index a88f61976d55..4ed22f1e3fd0 100644 --- a/clients/client-lex-model-building-service/commands/CreateSlotTypeVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/CreateSlotTypeVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSlotTypeVersionCommandInput = CreateSlotTypeVersionRequest; @@ -70,14 +70,14 @@ export class CreateSlotTypeVersionCommand extends $Command< private serialize( input: CreateSlotTypeVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSlotTypeVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSlotTypeVersionCommand( output, diff --git a/clients/client-lex-model-building-service/commands/DeleteBotAliasCommand.ts b/clients/client-lex-model-building-service/commands/DeleteBotAliasCommand.ts index 9a0dab830669..fd800f83b658 100644 --- a/clients/client-lex-model-building-service/commands/DeleteBotAliasCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteBotAliasCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBotAliasCommandInput = DeleteBotAliasRequest; @@ -65,14 +65,14 @@ export class DeleteBotAliasCommand extends $Command< private serialize( input: DeleteBotAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBotAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBotAliasCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/DeleteBotChannelAssociationCommand.ts b/clients/client-lex-model-building-service/commands/DeleteBotChannelAssociationCommand.ts index a04c73aedfd0..910e0e020c22 100644 --- a/clients/client-lex-model-building-service/commands/DeleteBotChannelAssociationCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteBotChannelAssociationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBotChannelAssociationCommandInput = DeleteBotChannelAssociationRequest; @@ -68,7 +68,7 @@ export class DeleteBotChannelAssociationCommand extends $Command< private serialize( input: DeleteBotChannelAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBotChannelAssociationCommand( input, @@ -78,7 +78,7 @@ export class DeleteBotChannelAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBotChannelAssociationCommand( output, diff --git a/clients/client-lex-model-building-service/commands/DeleteBotCommand.ts b/clients/client-lex-model-building-service/commands/DeleteBotCommand.ts index bfa661ecb5a4..91d9d2fe9492 100644 --- a/clients/client-lex-model-building-service/commands/DeleteBotCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteBotCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBotCommandInput = DeleteBotRequest; @@ -65,14 +65,14 @@ export class DeleteBotCommand extends $Command< private serialize( input: DeleteBotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBotCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/DeleteBotVersionCommand.ts b/clients/client-lex-model-building-service/commands/DeleteBotVersionCommand.ts index 1de4b6499404..1d03ef233baa 100644 --- a/clients/client-lex-model-building-service/commands/DeleteBotVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteBotVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBotVersionCommandInput = DeleteBotVersionRequest; @@ -65,14 +65,14 @@ export class DeleteBotVersionCommand extends $Command< private serialize( input: DeleteBotVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBotVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBotVersionCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/DeleteIntentCommand.ts b/clients/client-lex-model-building-service/commands/DeleteIntentCommand.ts index b8a80b9b5d88..e36eb448cdfd 100644 --- a/clients/client-lex-model-building-service/commands/DeleteIntentCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteIntentCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIntentCommandInput = DeleteIntentRequest; @@ -65,14 +65,14 @@ export class DeleteIntentCommand extends $Command< private serialize( input: DeleteIntentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteIntentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteIntentCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/DeleteIntentVersionCommand.ts b/clients/client-lex-model-building-service/commands/DeleteIntentVersionCommand.ts index a57f4d50c0d6..9a29b9116c69 100644 --- a/clients/client-lex-model-building-service/commands/DeleteIntentVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteIntentVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIntentVersionCommandInput = DeleteIntentVersionRequest; @@ -68,14 +68,14 @@ export class DeleteIntentVersionCommand extends $Command< private serialize( input: DeleteIntentVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteIntentVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteIntentVersionCommand( output, diff --git a/clients/client-lex-model-building-service/commands/DeleteSlotTypeCommand.ts b/clients/client-lex-model-building-service/commands/DeleteSlotTypeCommand.ts index 38a1f6302347..1131c41c8029 100644 --- a/clients/client-lex-model-building-service/commands/DeleteSlotTypeCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteSlotTypeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSlotTypeCommandInput = DeleteSlotTypeRequest; @@ -65,14 +65,14 @@ export class DeleteSlotTypeCommand extends $Command< private serialize( input: DeleteSlotTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSlotTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSlotTypeCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/DeleteSlotTypeVersionCommand.ts b/clients/client-lex-model-building-service/commands/DeleteSlotTypeVersionCommand.ts index 03ba54797531..04bd8c1b7ef8 100644 --- a/clients/client-lex-model-building-service/commands/DeleteSlotTypeVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteSlotTypeVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSlotTypeVersionCommandInput = DeleteSlotTypeVersionRequest; @@ -68,14 +68,14 @@ export class DeleteSlotTypeVersionCommand extends $Command< private serialize( input: DeleteSlotTypeVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSlotTypeVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSlotTypeVersionCommand( output, diff --git a/clients/client-lex-model-building-service/commands/DeleteUtterancesCommand.ts b/clients/client-lex-model-building-service/commands/DeleteUtterancesCommand.ts index 4e0ecdf5615f..7d977432e52f 100644 --- a/clients/client-lex-model-building-service/commands/DeleteUtterancesCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteUtterancesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUtterancesCommandInput = DeleteUtterancesRequest; @@ -65,14 +65,14 @@ export class DeleteUtterancesCommand extends $Command< private serialize( input: DeleteUtterancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteUtterancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteUtterancesCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetBotAliasCommand.ts b/clients/client-lex-model-building-service/commands/GetBotAliasCommand.ts index 77ec5d0d0f73..e1d1d80721a5 100644 --- a/clients/client-lex-model-building-service/commands/GetBotAliasCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBotAliasCommandInput = GetBotAliasRequest; @@ -64,14 +64,14 @@ export class GetBotAliasCommand extends $Command< private serialize( input: GetBotAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBotAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBotAliasCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetBotAliasesCommand.ts b/clients/client-lex-model-building-service/commands/GetBotAliasesCommand.ts index 4a23955c20c8..728052e77ca9 100644 --- a/clients/client-lex-model-building-service/commands/GetBotAliasesCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotAliasesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBotAliasesCommandInput = GetBotAliasesRequest; @@ -64,14 +64,14 @@ export class GetBotAliasesCommand extends $Command< private serialize( input: GetBotAliasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBotAliasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBotAliasesCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetBotChannelAssociationCommand.ts b/clients/client-lex-model-building-service/commands/GetBotChannelAssociationCommand.ts index 59b157e51eb1..10671d30743d 100644 --- a/clients/client-lex-model-building-service/commands/GetBotChannelAssociationCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotChannelAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBotChannelAssociationCommandInput = GetBotChannelAssociationRequest; @@ -70,7 +70,7 @@ export class GetBotChannelAssociationCommand extends $Command< private serialize( input: GetBotChannelAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBotChannelAssociationCommand( input, @@ -80,7 +80,7 @@ export class GetBotChannelAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBotChannelAssociationCommand( output, diff --git a/clients/client-lex-model-building-service/commands/GetBotChannelAssociationsCommand.ts b/clients/client-lex-model-building-service/commands/GetBotChannelAssociationsCommand.ts index f269d924be0e..e88352cbb65b 100644 --- a/clients/client-lex-model-building-service/commands/GetBotChannelAssociationsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotChannelAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBotChannelAssociationsCommandInput = GetBotChannelAssociationsRequest; @@ -70,7 +70,7 @@ export class GetBotChannelAssociationsCommand extends $Command< private serialize( input: GetBotChannelAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBotChannelAssociationsCommand( input, @@ -80,7 +80,7 @@ export class GetBotChannelAssociationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBotChannelAssociationsCommand( output, diff --git a/clients/client-lex-model-building-service/commands/GetBotCommand.ts b/clients/client-lex-model-building-service/commands/GetBotCommand.ts index a2228314e130..933274b3848a 100644 --- a/clients/client-lex-model-building-service/commands/GetBotCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBotCommandInput = GetBotRequest; @@ -64,14 +64,14 @@ export class GetBotCommand extends $Command< private serialize( input: GetBotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBotCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetBotVersionsCommand.ts b/clients/client-lex-model-building-service/commands/GetBotVersionsCommand.ts index 7478c929dcff..59c04c7d918f 100644 --- a/clients/client-lex-model-building-service/commands/GetBotVersionsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotVersionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBotVersionsCommandInput = GetBotVersionsRequest; @@ -64,14 +64,14 @@ export class GetBotVersionsCommand extends $Command< private serialize( input: GetBotVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBotVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBotVersionsCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetBotsCommand.ts b/clients/client-lex-model-building-service/commands/GetBotsCommand.ts index 9da528b6332a..536be10b3c68 100644 --- a/clients/client-lex-model-building-service/commands/GetBotsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBotsCommandInput = GetBotsRequest; @@ -64,14 +64,14 @@ export class GetBotsCommand extends $Command< private serialize( input: GetBotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBotsCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetBuiltinIntentCommand.ts b/clients/client-lex-model-building-service/commands/GetBuiltinIntentCommand.ts index 3395c55f9c42..46617f33015b 100644 --- a/clients/client-lex-model-building-service/commands/GetBuiltinIntentCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBuiltinIntentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBuiltinIntentCommandInput = GetBuiltinIntentRequest; @@ -67,14 +67,14 @@ export class GetBuiltinIntentCommand extends $Command< private serialize( input: GetBuiltinIntentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBuiltinIntentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBuiltinIntentCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetBuiltinIntentsCommand.ts b/clients/client-lex-model-building-service/commands/GetBuiltinIntentsCommand.ts index 15d04d15d951..f707982deed6 100644 --- a/clients/client-lex-model-building-service/commands/GetBuiltinIntentsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBuiltinIntentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBuiltinIntentsCommandInput = GetBuiltinIntentsRequest; @@ -67,14 +67,14 @@ export class GetBuiltinIntentsCommand extends $Command< private serialize( input: GetBuiltinIntentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBuiltinIntentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBuiltinIntentsCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetBuiltinSlotTypesCommand.ts b/clients/client-lex-model-building-service/commands/GetBuiltinSlotTypesCommand.ts index b128ffed4a92..def5f382572a 100644 --- a/clients/client-lex-model-building-service/commands/GetBuiltinSlotTypesCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBuiltinSlotTypesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBuiltinSlotTypesCommandInput = GetBuiltinSlotTypesRequest; @@ -70,14 +70,14 @@ export class GetBuiltinSlotTypesCommand extends $Command< private serialize( input: GetBuiltinSlotTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBuiltinSlotTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBuiltinSlotTypesCommand( output, diff --git a/clients/client-lex-model-building-service/commands/GetExportCommand.ts b/clients/client-lex-model-building-service/commands/GetExportCommand.ts index 4cfaa20ebec8..c8c78abb9701 100644 --- a/clients/client-lex-model-building-service/commands/GetExportCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetExportCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetExportCommandInput = GetExportRequest; @@ -64,14 +64,14 @@ export class GetExportCommand extends $Command< private serialize( input: GetExportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetExportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetExportCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetImportCommand.ts b/clients/client-lex-model-building-service/commands/GetImportCommand.ts index 0fec1e71f8f8..d069fc7afb92 100644 --- a/clients/client-lex-model-building-service/commands/GetImportCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetImportCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetImportCommandInput = GetImportRequest; @@ -64,14 +64,14 @@ export class GetImportCommand extends $Command< private serialize( input: GetImportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetImportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetImportCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetIntentCommand.ts b/clients/client-lex-model-building-service/commands/GetIntentCommand.ts index 7ef3164166a8..2b2221664ac8 100644 --- a/clients/client-lex-model-building-service/commands/GetIntentCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetIntentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIntentCommandInput = GetIntentRequest; @@ -64,14 +64,14 @@ export class GetIntentCommand extends $Command< private serialize( input: GetIntentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIntentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIntentCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetIntentVersionsCommand.ts b/clients/client-lex-model-building-service/commands/GetIntentVersionsCommand.ts index 3961f60e9cc0..e0cb8a1b2b73 100644 --- a/clients/client-lex-model-building-service/commands/GetIntentVersionsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetIntentVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIntentVersionsCommandInput = GetIntentVersionsRequest; @@ -67,14 +67,14 @@ export class GetIntentVersionsCommand extends $Command< private serialize( input: GetIntentVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIntentVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIntentVersionsCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetIntentsCommand.ts b/clients/client-lex-model-building-service/commands/GetIntentsCommand.ts index 1c40574482b1..f233cccaeabc 100644 --- a/clients/client-lex-model-building-service/commands/GetIntentsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetIntentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIntentsCommandInput = GetIntentsRequest; @@ -64,14 +64,14 @@ export class GetIntentsCommand extends $Command< private serialize( input: GetIntentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetIntentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetIntentsCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetSlotTypeCommand.ts b/clients/client-lex-model-building-service/commands/GetSlotTypeCommand.ts index f1e7ed6dbc54..39a5b2b49f73 100644 --- a/clients/client-lex-model-building-service/commands/GetSlotTypeCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetSlotTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSlotTypeCommandInput = GetSlotTypeRequest; @@ -64,14 +64,14 @@ export class GetSlotTypeCommand extends $Command< private serialize( input: GetSlotTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSlotTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSlotTypeCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetSlotTypeVersionsCommand.ts b/clients/client-lex-model-building-service/commands/GetSlotTypeVersionsCommand.ts index a089f1552c86..c4910dc5af24 100644 --- a/clients/client-lex-model-building-service/commands/GetSlotTypeVersionsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetSlotTypeVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSlotTypeVersionsCommandInput = GetSlotTypeVersionsRequest; @@ -70,14 +70,14 @@ export class GetSlotTypeVersionsCommand extends $Command< private serialize( input: GetSlotTypeVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSlotTypeVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSlotTypeVersionsCommand( output, diff --git a/clients/client-lex-model-building-service/commands/GetSlotTypesCommand.ts b/clients/client-lex-model-building-service/commands/GetSlotTypesCommand.ts index 3f6e6c1404a1..0044e20f4e25 100644 --- a/clients/client-lex-model-building-service/commands/GetSlotTypesCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetSlotTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSlotTypesCommandInput = GetSlotTypesRequest; @@ -64,14 +64,14 @@ export class GetSlotTypesCommand extends $Command< private serialize( input: GetSlotTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSlotTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSlotTypesCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts b/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts index c89bd1c6c4fd..8ff0211da208 100644 --- a/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUtterancesViewCommandInput = GetUtterancesViewRequest; @@ -67,14 +67,14 @@ export class GetUtterancesViewCommand extends $Command< private serialize( input: GetUtterancesViewCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetUtterancesViewCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetUtterancesViewCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/PutBotAliasCommand.ts b/clients/client-lex-model-building-service/commands/PutBotAliasCommand.ts index e4119101fd51..a35f416a5eb5 100644 --- a/clients/client-lex-model-building-service/commands/PutBotAliasCommand.ts +++ b/clients/client-lex-model-building-service/commands/PutBotAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBotAliasCommandInput = PutBotAliasRequest; @@ -64,14 +64,14 @@ export class PutBotAliasCommand extends $Command< private serialize( input: PutBotAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutBotAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutBotAliasCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/PutBotCommand.ts b/clients/client-lex-model-building-service/commands/PutBotCommand.ts index 0254f2cbac3b..9bc6b33d25a4 100644 --- a/clients/client-lex-model-building-service/commands/PutBotCommand.ts +++ b/clients/client-lex-model-building-service/commands/PutBotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBotCommandInput = PutBotRequest; @@ -64,14 +64,14 @@ export class PutBotCommand extends $Command< private serialize( input: PutBotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutBotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutBotCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/PutIntentCommand.ts b/clients/client-lex-model-building-service/commands/PutIntentCommand.ts index ed2ecaf10caa..d84b7b01fac0 100644 --- a/clients/client-lex-model-building-service/commands/PutIntentCommand.ts +++ b/clients/client-lex-model-building-service/commands/PutIntentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutIntentCommandInput = PutIntentRequest; @@ -64,14 +64,14 @@ export class PutIntentCommand extends $Command< private serialize( input: PutIntentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutIntentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutIntentCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/PutSlotTypeCommand.ts b/clients/client-lex-model-building-service/commands/PutSlotTypeCommand.ts index a6a0c0bdde50..493af2354f52 100644 --- a/clients/client-lex-model-building-service/commands/PutSlotTypeCommand.ts +++ b/clients/client-lex-model-building-service/commands/PutSlotTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutSlotTypeCommandInput = PutSlotTypeRequest; @@ -64,14 +64,14 @@ export class PutSlotTypeCommand extends $Command< private serialize( input: PutSlotTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutSlotTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutSlotTypeCommand(output, context); } diff --git a/clients/client-lex-model-building-service/commands/StartImportCommand.ts b/clients/client-lex-model-building-service/commands/StartImportCommand.ts index 02dc038e9c2f..013758515b14 100644 --- a/clients/client-lex-model-building-service/commands/StartImportCommand.ts +++ b/clients/client-lex-model-building-service/commands/StartImportCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartImportCommandInput = StartImportRequest; @@ -64,14 +64,14 @@ export class StartImportCommand extends $Command< private serialize( input: StartImportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartImportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartImportCommand(output, context); } diff --git a/clients/client-lex-model-building-service/protocols/Aws_restJson1_1.ts b/clients/client-lex-model-building-service/protocols/Aws_restJson1_1.ts index 6ed5568aac9f..03f87a380d8c 100644 --- a/clients/client-lex-model-building-service/protocols/Aws_restJson1_1.ts +++ b/clients/client-lex-model-building-service/protocols/Aws_restJson1_1.ts @@ -6631,6 +6631,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-lex-runtime-service/commands/DeleteSessionCommand.ts b/clients/client-lex-runtime-service/commands/DeleteSessionCommand.ts index 37f12ac368d6..e0fd744ed17d 100644 --- a/clients/client-lex-runtime-service/commands/DeleteSessionCommand.ts +++ b/clients/client-lex-runtime-service/commands/DeleteSessionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSessionCommandInput = DeleteSessionRequest; @@ -64,14 +64,14 @@ export class DeleteSessionCommand extends $Command< private serialize( input: DeleteSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSessionCommand(output, context); } diff --git a/clients/client-lex-runtime-service/commands/GetSessionCommand.ts b/clients/client-lex-runtime-service/commands/GetSessionCommand.ts index 75f30989e668..808aaebe1ad9 100644 --- a/clients/client-lex-runtime-service/commands/GetSessionCommand.ts +++ b/clients/client-lex-runtime-service/commands/GetSessionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSessionCommandInput = GetSessionRequest; @@ -64,14 +64,14 @@ export class GetSessionCommand extends $Command< private serialize( input: GetSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSessionCommand(output, context); } diff --git a/clients/client-lex-runtime-service/commands/PostContentCommand.ts b/clients/client-lex-runtime-service/commands/PostContentCommand.ts index 2f3d47378efb..5b3ac53bcadb 100644 --- a/clients/client-lex-runtime-service/commands/PostContentCommand.ts +++ b/clients/client-lex-runtime-service/commands/PostContentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PostContentCommandInput = PostContentRequest; @@ -64,14 +64,14 @@ export class PostContentCommand extends $Command< private serialize( input: PostContentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PostContentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PostContentCommand(output, context); } diff --git a/clients/client-lex-runtime-service/commands/PostTextCommand.ts b/clients/client-lex-runtime-service/commands/PostTextCommand.ts index 588e01e955d5..663ca6b9b5a1 100644 --- a/clients/client-lex-runtime-service/commands/PostTextCommand.ts +++ b/clients/client-lex-runtime-service/commands/PostTextCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PostTextCommandInput = PostTextRequest; @@ -64,14 +64,14 @@ export class PostTextCommand extends $Command< private serialize( input: PostTextCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PostTextCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PostTextCommand(output, context); } diff --git a/clients/client-lex-runtime-service/commands/PutSessionCommand.ts b/clients/client-lex-runtime-service/commands/PutSessionCommand.ts index e3346aeb1da6..38e9b9427437 100644 --- a/clients/client-lex-runtime-service/commands/PutSessionCommand.ts +++ b/clients/client-lex-runtime-service/commands/PutSessionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutSessionCommandInput = PutSessionRequest; @@ -64,14 +64,14 @@ export class PutSessionCommand extends $Command< private serialize( input: PutSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutSessionCommand(output, context); } diff --git a/clients/client-lex-runtime-service/protocols/Aws_restJson1_1.ts b/clients/client-lex-runtime-service/protocols/Aws_restJson1_1.ts index a2784ec4b660..b4f440d21bdd 100644 --- a/clients/client-lex-runtime-service/protocols/Aws_restJson1_1.ts +++ b/clients/client-lex-runtime-service/protocols/Aws_restJson1_1.ts @@ -1543,6 +1543,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-license-manager/commands/CreateLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/CreateLicenseConfigurationCommand.ts index 6af29bdc9931..d143d88996e6 100644 --- a/clients/client-license-manager/commands/CreateLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/CreateLicenseConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLicenseConfigurationCommandInput = CreateLicenseConfigurationRequest; @@ -70,7 +70,7 @@ export class CreateLicenseConfigurationCommand extends $Command< private serialize( input: CreateLicenseConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLicenseConfigurationCommand( input, @@ -80,7 +80,7 @@ export class CreateLicenseConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLicenseConfigurationCommand( output, diff --git a/clients/client-license-manager/commands/DeleteLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/DeleteLicenseConfigurationCommand.ts index 58c151a595d0..c7dcdb9ccb75 100644 --- a/clients/client-license-manager/commands/DeleteLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/DeleteLicenseConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLicenseConfigurationCommandInput = DeleteLicenseConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteLicenseConfigurationCommand extends $Command< private serialize( input: DeleteLicenseConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLicenseConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteLicenseConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLicenseConfigurationCommand( output, diff --git a/clients/client-license-manager/commands/GetLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/GetLicenseConfigurationCommand.ts index 767dbb51d997..4c6e7bc2197a 100644 --- a/clients/client-license-manager/commands/GetLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/GetLicenseConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLicenseConfigurationCommandInput = GetLicenseConfigurationRequest; @@ -70,14 +70,14 @@ export class GetLicenseConfigurationCommand extends $Command< private serialize( input: GetLicenseConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLicenseConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLicenseConfigurationCommand( output, diff --git a/clients/client-license-manager/commands/GetServiceSettingsCommand.ts b/clients/client-license-manager/commands/GetServiceSettingsCommand.ts index 8b3f4542f195..5ec110cf29e9 100644 --- a/clients/client-license-manager/commands/GetServiceSettingsCommand.ts +++ b/clients/client-license-manager/commands/GetServiceSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServiceSettingsCommandInput = GetServiceSettingsRequest; @@ -67,14 +67,14 @@ export class GetServiceSettingsCommand extends $Command< private serialize( input: GetServiceSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetServiceSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetServiceSettingsCommand(output, context); } diff --git a/clients/client-license-manager/commands/ListAssociationsForLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/ListAssociationsForLicenseConfigurationCommand.ts index bffb29b4f7f6..b2e925370c08 100644 --- a/clients/client-license-manager/commands/ListAssociationsForLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/ListAssociationsForLicenseConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssociationsForLicenseConfigurationCommandInput = ListAssociationsForLicenseConfigurationRequest; @@ -72,7 +72,7 @@ export class ListAssociationsForLicenseConfigurationCommand extends $Command< private serialize( input: ListAssociationsForLicenseConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAssociationsForLicenseConfigurationCommand( input, @@ -82,7 +82,7 @@ export class ListAssociationsForLicenseConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAssociationsForLicenseConfigurationCommand( output, diff --git a/clients/client-license-manager/commands/ListFailuresForLicenseConfigurationOperationsCommand.ts b/clients/client-license-manager/commands/ListFailuresForLicenseConfigurationOperationsCommand.ts index 6943f46cd777..ccdf912be6a1 100644 --- a/clients/client-license-manager/commands/ListFailuresForLicenseConfigurationOperationsCommand.ts +++ b/clients/client-license-manager/commands/ListFailuresForLicenseConfigurationOperationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFailuresForLicenseConfigurationOperationsCommandInput = ListFailuresForLicenseConfigurationOperationsRequest; @@ -72,7 +72,7 @@ export class ListFailuresForLicenseConfigurationOperationsCommand extends $Comma private serialize( input: ListFailuresForLicenseConfigurationOperationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListFailuresForLicenseConfigurationOperationsCommand( input, @@ -82,7 +82,7 @@ export class ListFailuresForLicenseConfigurationOperationsCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListFailuresForLicenseConfigurationOperationsCommand( output, diff --git a/clients/client-license-manager/commands/ListLicenseConfigurationsCommand.ts b/clients/client-license-manager/commands/ListLicenseConfigurationsCommand.ts index ae1d28a00df8..e27a1ad26a40 100644 --- a/clients/client-license-manager/commands/ListLicenseConfigurationsCommand.ts +++ b/clients/client-license-manager/commands/ListLicenseConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLicenseConfigurationsCommandInput = ListLicenseConfigurationsRequest; @@ -70,14 +70,14 @@ export class ListLicenseConfigurationsCommand extends $Command< private serialize( input: ListLicenseConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLicenseConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLicenseConfigurationsCommand( output, diff --git a/clients/client-license-manager/commands/ListLicenseSpecificationsForResourceCommand.ts b/clients/client-license-manager/commands/ListLicenseSpecificationsForResourceCommand.ts index 4a2f7fec09ae..1f72af0caab9 100644 --- a/clients/client-license-manager/commands/ListLicenseSpecificationsForResourceCommand.ts +++ b/clients/client-license-manager/commands/ListLicenseSpecificationsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLicenseSpecificationsForResourceCommandInput = ListLicenseSpecificationsForResourceRequest; @@ -72,7 +72,7 @@ export class ListLicenseSpecificationsForResourceCommand extends $Command< private serialize( input: ListLicenseSpecificationsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLicenseSpecificationsForResourceCommand( input, @@ -82,7 +82,7 @@ export class ListLicenseSpecificationsForResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLicenseSpecificationsForResourceCommand( output, diff --git a/clients/client-license-manager/commands/ListResourceInventoryCommand.ts b/clients/client-license-manager/commands/ListResourceInventoryCommand.ts index 24f0a0105caa..27775ffd06e5 100644 --- a/clients/client-license-manager/commands/ListResourceInventoryCommand.ts +++ b/clients/client-license-manager/commands/ListResourceInventoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourceInventoryCommandInput = ListResourceInventoryRequest; @@ -70,14 +70,14 @@ export class ListResourceInventoryCommand extends $Command< private serialize( input: ListResourceInventoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourceInventoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourceInventoryCommand(output, context); } diff --git a/clients/client-license-manager/commands/ListTagsForResourceCommand.ts b/clients/client-license-manager/commands/ListTagsForResourceCommand.ts index 2b3c61eb4ac6..8e1e561dc580 100644 --- a/clients/client-license-manager/commands/ListTagsForResourceCommand.ts +++ b/clients/client-license-manager/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-license-manager/commands/ListUsageForLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/ListUsageForLicenseConfigurationCommand.ts index 7ea5cd0b171c..1a35ae19a4a4 100644 --- a/clients/client-license-manager/commands/ListUsageForLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/ListUsageForLicenseConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUsageForLicenseConfigurationCommandInput = ListUsageForLicenseConfigurationRequest; @@ -70,7 +70,7 @@ export class ListUsageForLicenseConfigurationCommand extends $Command< private serialize( input: ListUsageForLicenseConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUsageForLicenseConfigurationCommand( input, @@ -80,7 +80,7 @@ export class ListUsageForLicenseConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUsageForLicenseConfigurationCommand( output, diff --git a/clients/client-license-manager/commands/TagResourceCommand.ts b/clients/client-license-manager/commands/TagResourceCommand.ts index c4ac8817a549..b6c7fde06fd2 100644 --- a/clients/client-license-manager/commands/TagResourceCommand.ts +++ b/clients/client-license-manager/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-license-manager/commands/UntagResourceCommand.ts b/clients/client-license-manager/commands/UntagResourceCommand.ts index 9dc65fb06ef2..b6ffba88671d 100644 --- a/clients/client-license-manager/commands/UntagResourceCommand.ts +++ b/clients/client-license-manager/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-license-manager/commands/UpdateLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/UpdateLicenseConfigurationCommand.ts index aa1c8886baa5..4c576b7a7eae 100644 --- a/clients/client-license-manager/commands/UpdateLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/UpdateLicenseConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLicenseConfigurationCommandInput = UpdateLicenseConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateLicenseConfigurationCommand extends $Command< private serialize( input: UpdateLicenseConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateLicenseConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateLicenseConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateLicenseConfigurationCommand( output, diff --git a/clients/client-license-manager/commands/UpdateLicenseSpecificationsForResourceCommand.ts b/clients/client-license-manager/commands/UpdateLicenseSpecificationsForResourceCommand.ts index 9ab2bbe24708..b47ad7f02a5a 100644 --- a/clients/client-license-manager/commands/UpdateLicenseSpecificationsForResourceCommand.ts +++ b/clients/client-license-manager/commands/UpdateLicenseSpecificationsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLicenseSpecificationsForResourceCommandInput = UpdateLicenseSpecificationsForResourceRequest; @@ -72,7 +72,7 @@ export class UpdateLicenseSpecificationsForResourceCommand extends $Command< private serialize( input: UpdateLicenseSpecificationsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateLicenseSpecificationsForResourceCommand( input, @@ -82,7 +82,7 @@ export class UpdateLicenseSpecificationsForResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateLicenseSpecificationsForResourceCommand( output, diff --git a/clients/client-license-manager/commands/UpdateServiceSettingsCommand.ts b/clients/client-license-manager/commands/UpdateServiceSettingsCommand.ts index 44dbe1825a0c..8697691b0f70 100644 --- a/clients/client-license-manager/commands/UpdateServiceSettingsCommand.ts +++ b/clients/client-license-manager/commands/UpdateServiceSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServiceSettingsCommandInput = UpdateServiceSettingsRequest; @@ -70,14 +70,14 @@ export class UpdateServiceSettingsCommand extends $Command< private serialize( input: UpdateServiceSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateServiceSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateServiceSettingsCommand(output, context); } diff --git a/clients/client-license-manager/protocols/Aws_json1_1.ts b/clients/client-license-manager/protocols/Aws_json1_1.ts index 8e823594fc66..b7df2fe40ce3 100644 --- a/clients/client-license-manager/protocols/Aws_json1_1.ts +++ b/clients/client-license-manager/protocols/Aws_json1_1.ts @@ -3628,6 +3628,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-lightsail/commands/AllocateStaticIpCommand.ts b/clients/client-lightsail/commands/AllocateStaticIpCommand.ts index ad9a80ea0c31..8b8c440163af 100644 --- a/clients/client-lightsail/commands/AllocateStaticIpCommand.ts +++ b/clients/client-lightsail/commands/AllocateStaticIpCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AllocateStaticIpCommandInput = AllocateStaticIpRequest; @@ -67,14 +67,14 @@ export class AllocateStaticIpCommand extends $Command< private serialize( input: AllocateStaticIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AllocateStaticIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AllocateStaticIpCommand(output, context); } diff --git a/clients/client-lightsail/commands/AttachDiskCommand.ts b/clients/client-lightsail/commands/AttachDiskCommand.ts index a83c6e31c877..493f0c18422d 100644 --- a/clients/client-lightsail/commands/AttachDiskCommand.ts +++ b/clients/client-lightsail/commands/AttachDiskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachDiskCommandInput = AttachDiskRequest; @@ -64,14 +64,14 @@ export class AttachDiskCommand extends $Command< private serialize( input: AttachDiskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AttachDiskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AttachDiskCommand(output, context); } diff --git a/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts b/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts index 51b0846b77b4..dc06deee55a4 100644 --- a/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachInstancesToLoadBalancerCommandInput = AttachInstancesToLoadBalancerRequest; @@ -70,7 +70,7 @@ export class AttachInstancesToLoadBalancerCommand extends $Command< private serialize( input: AttachInstancesToLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AttachInstancesToLoadBalancerCommand( input, @@ -80,7 +80,7 @@ export class AttachInstancesToLoadBalancerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AttachInstancesToLoadBalancerCommand( output, diff --git a/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts b/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts index a08e43d5c1ba..635da639ef73 100644 --- a/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts +++ b/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachLoadBalancerTlsCertificateCommandInput = AttachLoadBalancerTlsCertificateRequest; @@ -70,7 +70,7 @@ export class AttachLoadBalancerTlsCertificateCommand extends $Command< private serialize( input: AttachLoadBalancerTlsCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AttachLoadBalancerTlsCertificateCommand( input, @@ -80,7 +80,7 @@ export class AttachLoadBalancerTlsCertificateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AttachLoadBalancerTlsCertificateCommand( output, diff --git a/clients/client-lightsail/commands/AttachStaticIpCommand.ts b/clients/client-lightsail/commands/AttachStaticIpCommand.ts index 72f26ce8f61a..a3b82a1ac78f 100644 --- a/clients/client-lightsail/commands/AttachStaticIpCommand.ts +++ b/clients/client-lightsail/commands/AttachStaticIpCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachStaticIpCommandInput = AttachStaticIpRequest; @@ -64,14 +64,14 @@ export class AttachStaticIpCommand extends $Command< private serialize( input: AttachStaticIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AttachStaticIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AttachStaticIpCommand(output, context); } diff --git a/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts b/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts index 0d818ca16400..eeea021d9f74 100644 --- a/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts +++ b/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CloseInstancePublicPortsCommandInput = CloseInstancePublicPortsRequest; @@ -70,14 +70,14 @@ export class CloseInstancePublicPortsCommand extends $Command< private serialize( input: CloseInstancePublicPortsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CloseInstancePublicPortsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CloseInstancePublicPortsCommand( output, diff --git a/clients/client-lightsail/commands/CopySnapshotCommand.ts b/clients/client-lightsail/commands/CopySnapshotCommand.ts index dfd6c14dec80..17105bc95eab 100644 --- a/clients/client-lightsail/commands/CopySnapshotCommand.ts +++ b/clients/client-lightsail/commands/CopySnapshotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopySnapshotCommandInput = CopySnapshotRequest; @@ -64,14 +64,14 @@ export class CopySnapshotCommand extends $Command< private serialize( input: CopySnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CopySnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CopySnapshotCommand(output, context); } diff --git a/clients/client-lightsail/commands/CreateCloudFormationStackCommand.ts b/clients/client-lightsail/commands/CreateCloudFormationStackCommand.ts index 7d307e7cbd5b..0bf2796b08d3 100644 --- a/clients/client-lightsail/commands/CreateCloudFormationStackCommand.ts +++ b/clients/client-lightsail/commands/CreateCloudFormationStackCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCloudFormationStackCommandInput = CreateCloudFormationStackRequest; @@ -70,14 +70,14 @@ export class CreateCloudFormationStackCommand extends $Command< private serialize( input: CreateCloudFormationStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCloudFormationStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCloudFormationStackCommand( output, diff --git a/clients/client-lightsail/commands/CreateDiskCommand.ts b/clients/client-lightsail/commands/CreateDiskCommand.ts index dcfea259f382..6380f5815919 100644 --- a/clients/client-lightsail/commands/CreateDiskCommand.ts +++ b/clients/client-lightsail/commands/CreateDiskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDiskCommandInput = CreateDiskRequest; @@ -64,14 +64,14 @@ export class CreateDiskCommand extends $Command< private serialize( input: CreateDiskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDiskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDiskCommand(output, context); } diff --git a/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts b/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts index 26fea279ff20..6b6bf0fb24c9 100644 --- a/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDiskFromSnapshotCommandInput = CreateDiskFromSnapshotRequest; @@ -70,14 +70,14 @@ export class CreateDiskFromSnapshotCommand extends $Command< private serialize( input: CreateDiskFromSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDiskFromSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDiskFromSnapshotCommand(output, context); } diff --git a/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts b/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts index b8ac677ace23..0aeb6d00d3d0 100644 --- a/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDiskSnapshotCommandInput = CreateDiskSnapshotRequest; @@ -67,14 +67,14 @@ export class CreateDiskSnapshotCommand extends $Command< private serialize( input: CreateDiskSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDiskSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDiskSnapshotCommand(output, context); } diff --git a/clients/client-lightsail/commands/CreateDomainCommand.ts b/clients/client-lightsail/commands/CreateDomainCommand.ts index 8adf512f92cb..4b02681eeff9 100644 --- a/clients/client-lightsail/commands/CreateDomainCommand.ts +++ b/clients/client-lightsail/commands/CreateDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDomainCommandInput = CreateDomainRequest; @@ -64,14 +64,14 @@ export class CreateDomainCommand extends $Command< private serialize( input: CreateDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDomainCommand(output, context); } diff --git a/clients/client-lightsail/commands/CreateDomainEntryCommand.ts b/clients/client-lightsail/commands/CreateDomainEntryCommand.ts index e11ee5628e39..1c8e20cf403d 100644 --- a/clients/client-lightsail/commands/CreateDomainEntryCommand.ts +++ b/clients/client-lightsail/commands/CreateDomainEntryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDomainEntryCommandInput = CreateDomainEntryRequest; @@ -67,14 +67,14 @@ export class CreateDomainEntryCommand extends $Command< private serialize( input: CreateDomainEntryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDomainEntryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDomainEntryCommand(output, context); } diff --git a/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts b/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts index 33bbda8f2d85..2fbf5aafab04 100644 --- a/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInstanceSnapshotCommandInput = CreateInstanceSnapshotRequest; @@ -70,14 +70,14 @@ export class CreateInstanceSnapshotCommand extends $Command< private serialize( input: CreateInstanceSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateInstanceSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateInstanceSnapshotCommand(output, context); } diff --git a/clients/client-lightsail/commands/CreateInstancesCommand.ts b/clients/client-lightsail/commands/CreateInstancesCommand.ts index 0faf6324fc69..b448ec7153f0 100644 --- a/clients/client-lightsail/commands/CreateInstancesCommand.ts +++ b/clients/client-lightsail/commands/CreateInstancesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInstancesCommandInput = CreateInstancesRequest; @@ -64,14 +64,14 @@ export class CreateInstancesCommand extends $Command< private serialize( input: CreateInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateInstancesCommand(output, context); } diff --git a/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts b/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts index e72e4b2d5a80..13a82a8cef9c 100644 --- a/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInstancesFromSnapshotCommandInput = CreateInstancesFromSnapshotRequest; @@ -70,7 +70,7 @@ export class CreateInstancesFromSnapshotCommand extends $Command< private serialize( input: CreateInstancesFromSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateInstancesFromSnapshotCommand( input, @@ -80,7 +80,7 @@ export class CreateInstancesFromSnapshotCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateInstancesFromSnapshotCommand( output, diff --git a/clients/client-lightsail/commands/CreateKeyPairCommand.ts b/clients/client-lightsail/commands/CreateKeyPairCommand.ts index 9a95891d4647..32d4cea81e32 100644 --- a/clients/client-lightsail/commands/CreateKeyPairCommand.ts +++ b/clients/client-lightsail/commands/CreateKeyPairCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateKeyPairCommandInput = CreateKeyPairRequest; @@ -64,14 +64,14 @@ export class CreateKeyPairCommand extends $Command< private serialize( input: CreateKeyPairCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateKeyPairCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateKeyPairCommand(output, context); } diff --git a/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts b/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts index 486ccb6b8e56..8d043a9d62e1 100644 --- a/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLoadBalancerCommandInput = CreateLoadBalancerRequest; @@ -67,14 +67,14 @@ export class CreateLoadBalancerCommand extends $Command< private serialize( input: CreateLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLoadBalancerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLoadBalancerCommand(output, context); } diff --git a/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts b/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts index edd81c690721..e45b96f7ecb0 100644 --- a/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts +++ b/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLoadBalancerTlsCertificateCommandInput = CreateLoadBalancerTlsCertificateRequest; @@ -70,7 +70,7 @@ export class CreateLoadBalancerTlsCertificateCommand extends $Command< private serialize( input: CreateLoadBalancerTlsCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLoadBalancerTlsCertificateCommand( input, @@ -80,7 +80,7 @@ export class CreateLoadBalancerTlsCertificateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommand( output, diff --git a/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts index ebb729ed3e8e..c0c2f4c494c0 100644 --- a/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRelationalDatabaseCommandInput = CreateRelationalDatabaseRequest; @@ -70,14 +70,14 @@ export class CreateRelationalDatabaseCommand extends $Command< private serialize( input: CreateRelationalDatabaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRelationalDatabaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRelationalDatabaseCommand( output, diff --git a/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts b/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts index 30810babe735..6cded305c35e 100644 --- a/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRelationalDatabaseFromSnapshotCommandInput = CreateRelationalDatabaseFromSnapshotRequest; @@ -72,7 +72,7 @@ export class CreateRelationalDatabaseFromSnapshotCommand extends $Command< private serialize( input: CreateRelationalDatabaseFromSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommand( input, @@ -82,7 +82,7 @@ export class CreateRelationalDatabaseFromSnapshotCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommand( output, diff --git a/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts b/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts index f2207c20b3df..99354480094b 100644 --- a/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRelationalDatabaseSnapshotCommandInput = CreateRelationalDatabaseSnapshotRequest; @@ -70,7 +70,7 @@ export class CreateRelationalDatabaseSnapshotCommand extends $Command< private serialize( input: CreateRelationalDatabaseSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRelationalDatabaseSnapshotCommand( input, @@ -80,7 +80,7 @@ export class CreateRelationalDatabaseSnapshotCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommand( output, diff --git a/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts index f18430903d4e..d3e35ffd123c 100644 --- a/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAutoSnapshotCommandInput = DeleteAutoSnapshotRequest; @@ -67,14 +67,14 @@ export class DeleteAutoSnapshotCommand extends $Command< private serialize( input: DeleteAutoSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAutoSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAutoSnapshotCommand(output, context); } diff --git a/clients/client-lightsail/commands/DeleteDiskCommand.ts b/clients/client-lightsail/commands/DeleteDiskCommand.ts index 211b48f7ab68..f412b293df1f 100644 --- a/clients/client-lightsail/commands/DeleteDiskCommand.ts +++ b/clients/client-lightsail/commands/DeleteDiskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDiskCommandInput = DeleteDiskRequest; @@ -64,14 +64,14 @@ export class DeleteDiskCommand extends $Command< private serialize( input: DeleteDiskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDiskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDiskCommand(output, context); } diff --git a/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts index 217b29d500df..8bbfcf4ad595 100644 --- a/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDiskSnapshotCommandInput = DeleteDiskSnapshotRequest; @@ -67,14 +67,14 @@ export class DeleteDiskSnapshotCommand extends $Command< private serialize( input: DeleteDiskSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDiskSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDiskSnapshotCommand(output, context); } diff --git a/clients/client-lightsail/commands/DeleteDomainCommand.ts b/clients/client-lightsail/commands/DeleteDomainCommand.ts index 5cdceb9790db..bd0f5cd92658 100644 --- a/clients/client-lightsail/commands/DeleteDomainCommand.ts +++ b/clients/client-lightsail/commands/DeleteDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDomainCommandInput = DeleteDomainRequest; @@ -64,14 +64,14 @@ export class DeleteDomainCommand extends $Command< private serialize( input: DeleteDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDomainCommand(output, context); } diff --git a/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts b/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts index 019f996220b1..b0018ce03e7b 100644 --- a/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts +++ b/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDomainEntryCommandInput = DeleteDomainEntryRequest; @@ -67,14 +67,14 @@ export class DeleteDomainEntryCommand extends $Command< private serialize( input: DeleteDomainEntryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDomainEntryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDomainEntryCommand(output, context); } diff --git a/clients/client-lightsail/commands/DeleteInstanceCommand.ts b/clients/client-lightsail/commands/DeleteInstanceCommand.ts index 074945db7563..08d15540bd31 100644 --- a/clients/client-lightsail/commands/DeleteInstanceCommand.ts +++ b/clients/client-lightsail/commands/DeleteInstanceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInstanceCommandInput = DeleteInstanceRequest; @@ -64,14 +64,14 @@ export class DeleteInstanceCommand extends $Command< private serialize( input: DeleteInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteInstanceCommand(output, context); } diff --git a/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts index 9546da5ceb67..6399af19922e 100644 --- a/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInstanceSnapshotCommandInput = DeleteInstanceSnapshotRequest; @@ -70,14 +70,14 @@ export class DeleteInstanceSnapshotCommand extends $Command< private serialize( input: DeleteInstanceSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteInstanceSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteInstanceSnapshotCommand(output, context); } diff --git a/clients/client-lightsail/commands/DeleteKeyPairCommand.ts b/clients/client-lightsail/commands/DeleteKeyPairCommand.ts index 2be99a210fd0..817999f17fef 100644 --- a/clients/client-lightsail/commands/DeleteKeyPairCommand.ts +++ b/clients/client-lightsail/commands/DeleteKeyPairCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteKeyPairCommandInput = DeleteKeyPairRequest; @@ -64,14 +64,14 @@ export class DeleteKeyPairCommand extends $Command< private serialize( input: DeleteKeyPairCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteKeyPairCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteKeyPairCommand(output, context); } diff --git a/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts b/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts index f3b79ed69079..ada6c841059b 100644 --- a/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts +++ b/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteKnownHostKeysCommandInput = DeleteKnownHostKeysRequest; @@ -70,14 +70,14 @@ export class DeleteKnownHostKeysCommand extends $Command< private serialize( input: DeleteKnownHostKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteKnownHostKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteKnownHostKeysCommand(output, context); } diff --git a/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts b/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts index ec366ef661db..6b11a20c0298 100644 --- a/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLoadBalancerCommandInput = DeleteLoadBalancerRequest; @@ -67,14 +67,14 @@ export class DeleteLoadBalancerCommand extends $Command< private serialize( input: DeleteLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLoadBalancerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLoadBalancerCommand(output, context); } diff --git a/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts b/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts index 80b27d317448..c51fe6b09c83 100644 --- a/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts +++ b/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLoadBalancerTlsCertificateCommandInput = DeleteLoadBalancerTlsCertificateRequest; @@ -70,7 +70,7 @@ export class DeleteLoadBalancerTlsCertificateCommand extends $Command< private serialize( input: DeleteLoadBalancerTlsCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLoadBalancerTlsCertificateCommand( input, @@ -80,7 +80,7 @@ export class DeleteLoadBalancerTlsCertificateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommand( output, diff --git a/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts index 64fabdd99d46..21c8127e7b72 100644 --- a/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRelationalDatabaseCommandInput = DeleteRelationalDatabaseRequest; @@ -70,14 +70,14 @@ export class DeleteRelationalDatabaseCommand extends $Command< private serialize( input: DeleteRelationalDatabaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRelationalDatabaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRelationalDatabaseCommand( output, diff --git a/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts index 30e1dea54700..0299a7f58969 100644 --- a/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRelationalDatabaseSnapshotCommandInput = DeleteRelationalDatabaseSnapshotRequest; @@ -70,7 +70,7 @@ export class DeleteRelationalDatabaseSnapshotCommand extends $Command< private serialize( input: DeleteRelationalDatabaseSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRelationalDatabaseSnapshotCommand( input, @@ -80,7 +80,7 @@ export class DeleteRelationalDatabaseSnapshotCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommand( output, diff --git a/clients/client-lightsail/commands/DetachDiskCommand.ts b/clients/client-lightsail/commands/DetachDiskCommand.ts index bf7411676fb8..8ec0627aa1ed 100644 --- a/clients/client-lightsail/commands/DetachDiskCommand.ts +++ b/clients/client-lightsail/commands/DetachDiskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachDiskCommandInput = DetachDiskRequest; @@ -64,14 +64,14 @@ export class DetachDiskCommand extends $Command< private serialize( input: DetachDiskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetachDiskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetachDiskCommand(output, context); } diff --git a/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts b/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts index 840aa317a417..34029754cfe1 100644 --- a/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachInstancesFromLoadBalancerCommandInput = DetachInstancesFromLoadBalancerRequest; @@ -70,7 +70,7 @@ export class DetachInstancesFromLoadBalancerCommand extends $Command< private serialize( input: DetachInstancesFromLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetachInstancesFromLoadBalancerCommand( input, @@ -80,7 +80,7 @@ export class DetachInstancesFromLoadBalancerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetachInstancesFromLoadBalancerCommand( output, diff --git a/clients/client-lightsail/commands/DetachStaticIpCommand.ts b/clients/client-lightsail/commands/DetachStaticIpCommand.ts index 94ecc31bf554..239f77d0adbd 100644 --- a/clients/client-lightsail/commands/DetachStaticIpCommand.ts +++ b/clients/client-lightsail/commands/DetachStaticIpCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachStaticIpCommandInput = DetachStaticIpRequest; @@ -64,14 +64,14 @@ export class DetachStaticIpCommand extends $Command< private serialize( input: DetachStaticIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetachStaticIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetachStaticIpCommand(output, context); } diff --git a/clients/client-lightsail/commands/DisableAddOnCommand.ts b/clients/client-lightsail/commands/DisableAddOnCommand.ts index 3956ad9744a4..89c4fa79e5a4 100644 --- a/clients/client-lightsail/commands/DisableAddOnCommand.ts +++ b/clients/client-lightsail/commands/DisableAddOnCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableAddOnCommandInput = DisableAddOnRequest; @@ -64,14 +64,14 @@ export class DisableAddOnCommand extends $Command< private serialize( input: DisableAddOnCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableAddOnCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableAddOnCommand(output, context); } diff --git a/clients/client-lightsail/commands/DownloadDefaultKeyPairCommand.ts b/clients/client-lightsail/commands/DownloadDefaultKeyPairCommand.ts index 13b41bc0a662..e24e462df9bd 100644 --- a/clients/client-lightsail/commands/DownloadDefaultKeyPairCommand.ts +++ b/clients/client-lightsail/commands/DownloadDefaultKeyPairCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DownloadDefaultKeyPairCommandInput = DownloadDefaultKeyPairRequest; @@ -70,14 +70,14 @@ export class DownloadDefaultKeyPairCommand extends $Command< private serialize( input: DownloadDefaultKeyPairCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DownloadDefaultKeyPairCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DownloadDefaultKeyPairCommand(output, context); } diff --git a/clients/client-lightsail/commands/EnableAddOnCommand.ts b/clients/client-lightsail/commands/EnableAddOnCommand.ts index 1fe5cbb88ee9..1fdf866a529a 100644 --- a/clients/client-lightsail/commands/EnableAddOnCommand.ts +++ b/clients/client-lightsail/commands/EnableAddOnCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableAddOnCommandInput = EnableAddOnRequest; @@ -64,14 +64,14 @@ export class EnableAddOnCommand extends $Command< private serialize( input: EnableAddOnCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableAddOnCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableAddOnCommand(output, context); } diff --git a/clients/client-lightsail/commands/ExportSnapshotCommand.ts b/clients/client-lightsail/commands/ExportSnapshotCommand.ts index 30a8bc1c6f87..5756f33169a8 100644 --- a/clients/client-lightsail/commands/ExportSnapshotCommand.ts +++ b/clients/client-lightsail/commands/ExportSnapshotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportSnapshotCommandInput = ExportSnapshotRequest; @@ -64,14 +64,14 @@ export class ExportSnapshotCommand extends $Command< private serialize( input: ExportSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ExportSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ExportSnapshotCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetActiveNamesCommand.ts b/clients/client-lightsail/commands/GetActiveNamesCommand.ts index d7b3e346d704..a3d5d59a0336 100644 --- a/clients/client-lightsail/commands/GetActiveNamesCommand.ts +++ b/clients/client-lightsail/commands/GetActiveNamesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetActiveNamesCommandInput = GetActiveNamesRequest; @@ -64,14 +64,14 @@ export class GetActiveNamesCommand extends $Command< private serialize( input: GetActiveNamesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetActiveNamesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetActiveNamesCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts b/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts index aa2397467892..2a071a231ca3 100644 --- a/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts +++ b/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAutoSnapshotsCommandInput = GetAutoSnapshotsRequest; @@ -67,14 +67,14 @@ export class GetAutoSnapshotsCommand extends $Command< private serialize( input: GetAutoSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAutoSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAutoSnapshotsCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetBlueprintsCommand.ts b/clients/client-lightsail/commands/GetBlueprintsCommand.ts index ba636887a475..cefe076f53ba 100644 --- a/clients/client-lightsail/commands/GetBlueprintsCommand.ts +++ b/clients/client-lightsail/commands/GetBlueprintsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBlueprintsCommandInput = GetBlueprintsRequest; @@ -64,14 +64,14 @@ export class GetBlueprintsCommand extends $Command< private serialize( input: GetBlueprintsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetBlueprintsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetBlueprintsCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetBundlesCommand.ts b/clients/client-lightsail/commands/GetBundlesCommand.ts index 9b84df8c0f09..853c06463341 100644 --- a/clients/client-lightsail/commands/GetBundlesCommand.ts +++ b/clients/client-lightsail/commands/GetBundlesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBundlesCommandInput = GetBundlesRequest; @@ -64,14 +64,14 @@ export class GetBundlesCommand extends $Command< private serialize( input: GetBundlesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetBundlesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetBundlesCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetCloudFormationStackRecordsCommand.ts b/clients/client-lightsail/commands/GetCloudFormationStackRecordsCommand.ts index 56abb092744b..043a36742099 100644 --- a/clients/client-lightsail/commands/GetCloudFormationStackRecordsCommand.ts +++ b/clients/client-lightsail/commands/GetCloudFormationStackRecordsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCloudFormationStackRecordsCommandInput = GetCloudFormationStackRecordsRequest; @@ -70,7 +70,7 @@ export class GetCloudFormationStackRecordsCommand extends $Command< private serialize( input: GetCloudFormationStackRecordsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCloudFormationStackRecordsCommand( input, @@ -80,7 +80,7 @@ export class GetCloudFormationStackRecordsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCloudFormationStackRecordsCommand( output, diff --git a/clients/client-lightsail/commands/GetDiskCommand.ts b/clients/client-lightsail/commands/GetDiskCommand.ts index 058e1e573afc..1b7d666930d0 100644 --- a/clients/client-lightsail/commands/GetDiskCommand.ts +++ b/clients/client-lightsail/commands/GetDiskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDiskCommandInput = GetDiskRequest; @@ -64,14 +64,14 @@ export class GetDiskCommand extends $Command< private serialize( input: GetDiskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDiskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDiskCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetDiskSnapshotCommand.ts b/clients/client-lightsail/commands/GetDiskSnapshotCommand.ts index 411a8d388efb..d04ca9a18ff5 100644 --- a/clients/client-lightsail/commands/GetDiskSnapshotCommand.ts +++ b/clients/client-lightsail/commands/GetDiskSnapshotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDiskSnapshotCommandInput = GetDiskSnapshotRequest; @@ -64,14 +64,14 @@ export class GetDiskSnapshotCommand extends $Command< private serialize( input: GetDiskSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDiskSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDiskSnapshotCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetDiskSnapshotsCommand.ts b/clients/client-lightsail/commands/GetDiskSnapshotsCommand.ts index ef5631ab872b..25a2dc0e907d 100644 --- a/clients/client-lightsail/commands/GetDiskSnapshotsCommand.ts +++ b/clients/client-lightsail/commands/GetDiskSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDiskSnapshotsCommandInput = GetDiskSnapshotsRequest; @@ -67,14 +67,14 @@ export class GetDiskSnapshotsCommand extends $Command< private serialize( input: GetDiskSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDiskSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDiskSnapshotsCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetDisksCommand.ts b/clients/client-lightsail/commands/GetDisksCommand.ts index 3e54dc3f9bc7..b150c6e7d212 100644 --- a/clients/client-lightsail/commands/GetDisksCommand.ts +++ b/clients/client-lightsail/commands/GetDisksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDisksCommandInput = GetDisksRequest; @@ -64,14 +64,14 @@ export class GetDisksCommand extends $Command< private serialize( input: GetDisksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDisksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDisksCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetDomainCommand.ts b/clients/client-lightsail/commands/GetDomainCommand.ts index 22e35783831e..f56c37e50ec7 100644 --- a/clients/client-lightsail/commands/GetDomainCommand.ts +++ b/clients/client-lightsail/commands/GetDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainCommandInput = GetDomainRequest; @@ -64,14 +64,14 @@ export class GetDomainCommand extends $Command< private serialize( input: GetDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDomainCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetDomainsCommand.ts b/clients/client-lightsail/commands/GetDomainsCommand.ts index 077ebb3def9e..ddeac8d71f8a 100644 --- a/clients/client-lightsail/commands/GetDomainsCommand.ts +++ b/clients/client-lightsail/commands/GetDomainsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainsCommandInput = GetDomainsRequest; @@ -64,14 +64,14 @@ export class GetDomainsCommand extends $Command< private serialize( input: GetDomainsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDomainsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDomainsCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts b/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts index a0b8453997bb..f8ddf7ea9e92 100644 --- a/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts +++ b/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetExportSnapshotRecordsCommandInput = GetExportSnapshotRecordsRequest; @@ -70,14 +70,14 @@ export class GetExportSnapshotRecordsCommand extends $Command< private serialize( input: GetExportSnapshotRecordsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetExportSnapshotRecordsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetExportSnapshotRecordsCommand( output, diff --git a/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts b/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts index 3f92770ecc5b..b37c3cf60c0c 100644 --- a/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstanceAccessDetailsCommandInput = GetInstanceAccessDetailsRequest; @@ -70,14 +70,14 @@ export class GetInstanceAccessDetailsCommand extends $Command< private serialize( input: GetInstanceAccessDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstanceAccessDetailsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstanceAccessDetailsCommand( output, diff --git a/clients/client-lightsail/commands/GetInstanceCommand.ts b/clients/client-lightsail/commands/GetInstanceCommand.ts index b2062bdc7913..5ebde2a2583d 100644 --- a/clients/client-lightsail/commands/GetInstanceCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstanceCommandInput = GetInstanceRequest; @@ -64,14 +64,14 @@ export class GetInstanceCommand extends $Command< private serialize( input: GetInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstanceCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts b/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts index 63e6d1fc5a1b..ca51880926d5 100644 --- a/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstanceMetricDataCommandInput = GetInstanceMetricDataRequest; @@ -70,14 +70,14 @@ export class GetInstanceMetricDataCommand extends $Command< private serialize( input: GetInstanceMetricDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstanceMetricDataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstanceMetricDataCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts b/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts index 42c9e1604fe8..0a57ad586458 100644 --- a/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts +++ b/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstancePortStatesCommandInput = GetInstancePortStatesRequest; @@ -70,14 +70,14 @@ export class GetInstancePortStatesCommand extends $Command< private serialize( input: GetInstancePortStatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstancePortStatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstancePortStatesCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts b/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts index 4da0dcd1e480..066d82949683 100644 --- a/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstanceSnapshotCommandInput = GetInstanceSnapshotRequest; @@ -70,14 +70,14 @@ export class GetInstanceSnapshotCommand extends $Command< private serialize( input: GetInstanceSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstanceSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstanceSnapshotCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts b/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts index c0a70850969e..0cda3858b305 100644 --- a/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstanceSnapshotsCommandInput = GetInstanceSnapshotsRequest; @@ -70,14 +70,14 @@ export class GetInstanceSnapshotsCommand extends $Command< private serialize( input: GetInstanceSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstanceSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstanceSnapshotsCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetInstanceStateCommand.ts b/clients/client-lightsail/commands/GetInstanceStateCommand.ts index d021ea6dedeb..8debfa4c97e4 100644 --- a/clients/client-lightsail/commands/GetInstanceStateCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstanceStateCommandInput = GetInstanceStateRequest; @@ -67,14 +67,14 @@ export class GetInstanceStateCommand extends $Command< private serialize( input: GetInstanceStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstanceStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstanceStateCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetInstancesCommand.ts b/clients/client-lightsail/commands/GetInstancesCommand.ts index 856739d7da14..721a28eab209 100644 --- a/clients/client-lightsail/commands/GetInstancesCommand.ts +++ b/clients/client-lightsail/commands/GetInstancesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstancesCommandInput = GetInstancesRequest; @@ -64,14 +64,14 @@ export class GetInstancesCommand extends $Command< private serialize( input: GetInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstancesCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetKeyPairCommand.ts b/clients/client-lightsail/commands/GetKeyPairCommand.ts index 36287e002386..44ac59cbeeb7 100644 --- a/clients/client-lightsail/commands/GetKeyPairCommand.ts +++ b/clients/client-lightsail/commands/GetKeyPairCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetKeyPairCommandInput = GetKeyPairRequest; @@ -64,14 +64,14 @@ export class GetKeyPairCommand extends $Command< private serialize( input: GetKeyPairCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetKeyPairCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetKeyPairCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetKeyPairsCommand.ts b/clients/client-lightsail/commands/GetKeyPairsCommand.ts index e20ba863b087..d47757ca6b6d 100644 --- a/clients/client-lightsail/commands/GetKeyPairsCommand.ts +++ b/clients/client-lightsail/commands/GetKeyPairsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetKeyPairsCommandInput = GetKeyPairsRequest; @@ -64,14 +64,14 @@ export class GetKeyPairsCommand extends $Command< private serialize( input: GetKeyPairsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetKeyPairsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetKeyPairsCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetLoadBalancerCommand.ts b/clients/client-lightsail/commands/GetLoadBalancerCommand.ts index 6f4ab077deb2..98fdea917839 100644 --- a/clients/client-lightsail/commands/GetLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLoadBalancerCommandInput = GetLoadBalancerRequest; @@ -64,14 +64,14 @@ export class GetLoadBalancerCommand extends $Command< private serialize( input: GetLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLoadBalancerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLoadBalancerCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts b/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts index e57c965bf570..623576a7146e 100644 --- a/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLoadBalancerMetricDataCommandInput = GetLoadBalancerMetricDataRequest; @@ -70,14 +70,14 @@ export class GetLoadBalancerMetricDataCommand extends $Command< private serialize( input: GetLoadBalancerMetricDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLoadBalancerMetricDataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLoadBalancerMetricDataCommand( output, diff --git a/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts b/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts index d99e71221e19..1b3e66ff3eaf 100644 --- a/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLoadBalancerTlsCertificatesCommandInput = GetLoadBalancerTlsCertificatesRequest; @@ -70,7 +70,7 @@ export class GetLoadBalancerTlsCertificatesCommand extends $Command< private serialize( input: GetLoadBalancerTlsCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLoadBalancerTlsCertificatesCommand( input, @@ -80,7 +80,7 @@ export class GetLoadBalancerTlsCertificatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommand( output, diff --git a/clients/client-lightsail/commands/GetLoadBalancersCommand.ts b/clients/client-lightsail/commands/GetLoadBalancersCommand.ts index b0620b6a06e5..81eb68557278 100644 --- a/clients/client-lightsail/commands/GetLoadBalancersCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLoadBalancersCommandInput = GetLoadBalancersRequest; @@ -67,14 +67,14 @@ export class GetLoadBalancersCommand extends $Command< private serialize( input: GetLoadBalancersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLoadBalancersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLoadBalancersCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetOperationCommand.ts b/clients/client-lightsail/commands/GetOperationCommand.ts index 6788709a93ad..9aea61ec74e3 100644 --- a/clients/client-lightsail/commands/GetOperationCommand.ts +++ b/clients/client-lightsail/commands/GetOperationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOperationCommandInput = GetOperationRequest; @@ -64,14 +64,14 @@ export class GetOperationCommand extends $Command< private serialize( input: GetOperationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOperationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOperationCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetOperationsCommand.ts b/clients/client-lightsail/commands/GetOperationsCommand.ts index da19a8109664..50c1baa5f902 100644 --- a/clients/client-lightsail/commands/GetOperationsCommand.ts +++ b/clients/client-lightsail/commands/GetOperationsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOperationsCommandInput = GetOperationsRequest; @@ -64,14 +64,14 @@ export class GetOperationsCommand extends $Command< private serialize( input: GetOperationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOperationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOperationsCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts b/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts index b928a39711a5..b03feab99141 100644 --- a/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts +++ b/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOperationsForResourceCommandInput = GetOperationsForResourceRequest; @@ -70,14 +70,14 @@ export class GetOperationsForResourceCommand extends $Command< private serialize( input: GetOperationsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOperationsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOperationsForResourceCommand( output, diff --git a/clients/client-lightsail/commands/GetRegionsCommand.ts b/clients/client-lightsail/commands/GetRegionsCommand.ts index bbb258803fae..ba7e7c706188 100644 --- a/clients/client-lightsail/commands/GetRegionsCommand.ts +++ b/clients/client-lightsail/commands/GetRegionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRegionsCommandInput = GetRegionsRequest; @@ -64,14 +64,14 @@ export class GetRegionsCommand extends $Command< private serialize( input: GetRegionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRegionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRegionsCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseBlueprintsCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseBlueprintsCommand.ts index 387aaf54e6f1..d961c6278d2e 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseBlueprintsCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseBlueprintsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabaseBlueprintsCommandInput = GetRelationalDatabaseBlueprintsRequest; @@ -70,7 +70,7 @@ export class GetRelationalDatabaseBlueprintsCommand extends $Command< private serialize( input: GetRelationalDatabaseBlueprintsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabaseBlueprintsCommand( input, @@ -80,7 +80,7 @@ export class GetRelationalDatabaseBlueprintsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommand( output, diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseBundlesCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseBundlesCommand.ts index 7eae5dd3b9b4..102c877f4354 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseBundlesCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseBundlesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabaseBundlesCommandInput = GetRelationalDatabaseBundlesRequest; @@ -70,7 +70,7 @@ export class GetRelationalDatabaseBundlesCommand extends $Command< private serialize( input: GetRelationalDatabaseBundlesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabaseBundlesCommand( input, @@ -80,7 +80,7 @@ export class GetRelationalDatabaseBundlesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabaseBundlesCommand( output, diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts index 1bd2a4cb5c30..129baf8ea820 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabaseCommandInput = GetRelationalDatabaseRequest; @@ -70,14 +70,14 @@ export class GetRelationalDatabaseCommand extends $Command< private serialize( input: GetRelationalDatabaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabaseCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseEventsCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseEventsCommand.ts index cbbb69b39841..06dd7142a65e 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseEventsCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabaseEventsCommandInput = GetRelationalDatabaseEventsRequest; @@ -70,7 +70,7 @@ export class GetRelationalDatabaseEventsCommand extends $Command< private serialize( input: GetRelationalDatabaseEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabaseEventsCommand( input, @@ -80,7 +80,7 @@ export class GetRelationalDatabaseEventsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabaseEventsCommand( output, diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseLogEventsCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseLogEventsCommand.ts index 8a04b48bdc3e..4af5a9b8b927 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseLogEventsCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseLogEventsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabaseLogEventsCommandInput = GetRelationalDatabaseLogEventsRequest; @@ -70,7 +70,7 @@ export class GetRelationalDatabaseLogEventsCommand extends $Command< private serialize( input: GetRelationalDatabaseLogEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabaseLogEventsCommand( input, @@ -80,7 +80,7 @@ export class GetRelationalDatabaseLogEventsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabaseLogEventsCommand( output, diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseLogStreamsCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseLogStreamsCommand.ts index 87b9251b6fa3..e2f8a68b8a32 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseLogStreamsCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseLogStreamsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabaseLogStreamsCommandInput = GetRelationalDatabaseLogStreamsRequest; @@ -70,7 +70,7 @@ export class GetRelationalDatabaseLogStreamsCommand extends $Command< private serialize( input: GetRelationalDatabaseLogStreamsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabaseLogStreamsCommand( input, @@ -80,7 +80,7 @@ export class GetRelationalDatabaseLogStreamsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommand( output, diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseMasterUserPasswordCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseMasterUserPasswordCommand.ts index d2e2af4475a3..f91ac71ef014 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseMasterUserPasswordCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseMasterUserPasswordCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabaseMasterUserPasswordCommandInput = GetRelationalDatabaseMasterUserPasswordRequest; @@ -72,7 +72,7 @@ export class GetRelationalDatabaseMasterUserPasswordCommand extends $Command< private serialize( input: GetRelationalDatabaseMasterUserPasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommand( input, @@ -82,7 +82,7 @@ export class GetRelationalDatabaseMasterUserPasswordCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommand( output, diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseMetricDataCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseMetricDataCommand.ts index 1f29e4103dd6..22d8109a72fa 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseMetricDataCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseMetricDataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabaseMetricDataCommandInput = GetRelationalDatabaseMetricDataRequest; @@ -70,7 +70,7 @@ export class GetRelationalDatabaseMetricDataCommand extends $Command< private serialize( input: GetRelationalDatabaseMetricDataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabaseMetricDataCommand( input, @@ -80,7 +80,7 @@ export class GetRelationalDatabaseMetricDataCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabaseMetricDataCommand( output, diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseParametersCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseParametersCommand.ts index a9be4ae7b8b1..9cd9b03a2ae7 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseParametersCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabaseParametersCommandInput = GetRelationalDatabaseParametersRequest; @@ -70,7 +70,7 @@ export class GetRelationalDatabaseParametersCommand extends $Command< private serialize( input: GetRelationalDatabaseParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabaseParametersCommand( input, @@ -80,7 +80,7 @@ export class GetRelationalDatabaseParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabaseParametersCommand( output, diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotCommand.ts index f458cd677df6..94f5d1571417 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabaseSnapshotCommandInput = GetRelationalDatabaseSnapshotRequest; @@ -70,7 +70,7 @@ export class GetRelationalDatabaseSnapshotCommand extends $Command< private serialize( input: GetRelationalDatabaseSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabaseSnapshotCommand( input, @@ -80,7 +80,7 @@ export class GetRelationalDatabaseSnapshotCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabaseSnapshotCommand( output, diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotsCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotsCommand.ts index 5a554f71f130..ed572b5d068e 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotsCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabaseSnapshotsCommandInput = GetRelationalDatabaseSnapshotsRequest; @@ -70,7 +70,7 @@ export class GetRelationalDatabaseSnapshotsCommand extends $Command< private serialize( input: GetRelationalDatabaseSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabaseSnapshotsCommand( input, @@ -80,7 +80,7 @@ export class GetRelationalDatabaseSnapshotsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommand( output, diff --git a/clients/client-lightsail/commands/GetRelationalDatabasesCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabasesCommand.ts index 43feb826d3f8..68590ee82e88 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabasesCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabasesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRelationalDatabasesCommandInput = GetRelationalDatabasesRequest; @@ -70,14 +70,14 @@ export class GetRelationalDatabasesCommand extends $Command< private serialize( input: GetRelationalDatabasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRelationalDatabasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRelationalDatabasesCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetStaticIpCommand.ts b/clients/client-lightsail/commands/GetStaticIpCommand.ts index d2d3c44fd838..1f7302fb9457 100644 --- a/clients/client-lightsail/commands/GetStaticIpCommand.ts +++ b/clients/client-lightsail/commands/GetStaticIpCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetStaticIpCommandInput = GetStaticIpRequest; @@ -64,14 +64,14 @@ export class GetStaticIpCommand extends $Command< private serialize( input: GetStaticIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetStaticIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetStaticIpCommand(output, context); } diff --git a/clients/client-lightsail/commands/GetStaticIpsCommand.ts b/clients/client-lightsail/commands/GetStaticIpsCommand.ts index fccb99416fa0..d2c270096552 100644 --- a/clients/client-lightsail/commands/GetStaticIpsCommand.ts +++ b/clients/client-lightsail/commands/GetStaticIpsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetStaticIpsCommandInput = GetStaticIpsRequest; @@ -64,14 +64,14 @@ export class GetStaticIpsCommand extends $Command< private serialize( input: GetStaticIpsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetStaticIpsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetStaticIpsCommand(output, context); } diff --git a/clients/client-lightsail/commands/ImportKeyPairCommand.ts b/clients/client-lightsail/commands/ImportKeyPairCommand.ts index d8689abdf491..768f0a5b99eb 100644 --- a/clients/client-lightsail/commands/ImportKeyPairCommand.ts +++ b/clients/client-lightsail/commands/ImportKeyPairCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportKeyPairCommandInput = ImportKeyPairRequest; @@ -64,14 +64,14 @@ export class ImportKeyPairCommand extends $Command< private serialize( input: ImportKeyPairCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportKeyPairCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportKeyPairCommand(output, context); } diff --git a/clients/client-lightsail/commands/IsVpcPeeredCommand.ts b/clients/client-lightsail/commands/IsVpcPeeredCommand.ts index f9be30e6da1a..6fbf5f2e92ba 100644 --- a/clients/client-lightsail/commands/IsVpcPeeredCommand.ts +++ b/clients/client-lightsail/commands/IsVpcPeeredCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type IsVpcPeeredCommandInput = IsVpcPeeredRequest; @@ -64,14 +64,14 @@ export class IsVpcPeeredCommand extends $Command< private serialize( input: IsVpcPeeredCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1IsVpcPeeredCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1IsVpcPeeredCommand(output, context); } diff --git a/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts b/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts index efdecc4e65dd..bb58a363e89c 100644 --- a/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts +++ b/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type OpenInstancePublicPortsCommandInput = OpenInstancePublicPortsRequest; @@ -70,14 +70,14 @@ export class OpenInstancePublicPortsCommand extends $Command< private serialize( input: OpenInstancePublicPortsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1OpenInstancePublicPortsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1OpenInstancePublicPortsCommand( output, diff --git a/clients/client-lightsail/commands/PeerVpcCommand.ts b/clients/client-lightsail/commands/PeerVpcCommand.ts index 1bd3cb6f82f8..3a487f7f6dd3 100644 --- a/clients/client-lightsail/commands/PeerVpcCommand.ts +++ b/clients/client-lightsail/commands/PeerVpcCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PeerVpcCommandInput = PeerVpcRequest; @@ -64,14 +64,14 @@ export class PeerVpcCommand extends $Command< private serialize( input: PeerVpcCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PeerVpcCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PeerVpcCommand(output, context); } diff --git a/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts b/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts index da6e50efe7b8..00608c954602 100644 --- a/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts +++ b/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutInstancePublicPortsCommandInput = PutInstancePublicPortsRequest; @@ -70,14 +70,14 @@ export class PutInstancePublicPortsCommand extends $Command< private serialize( input: PutInstancePublicPortsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutInstancePublicPortsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutInstancePublicPortsCommand(output, context); } diff --git a/clients/client-lightsail/commands/RebootInstanceCommand.ts b/clients/client-lightsail/commands/RebootInstanceCommand.ts index 12967d683c04..a5af345cbd2f 100644 --- a/clients/client-lightsail/commands/RebootInstanceCommand.ts +++ b/clients/client-lightsail/commands/RebootInstanceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootInstanceCommandInput = RebootInstanceRequest; @@ -64,14 +64,14 @@ export class RebootInstanceCommand extends $Command< private serialize( input: RebootInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RebootInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RebootInstanceCommand(output, context); } diff --git a/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts index f94b64d9c87b..b35074548886 100644 --- a/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootRelationalDatabaseCommandInput = RebootRelationalDatabaseRequest; @@ -70,14 +70,14 @@ export class RebootRelationalDatabaseCommand extends $Command< private serialize( input: RebootRelationalDatabaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RebootRelationalDatabaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RebootRelationalDatabaseCommand( output, diff --git a/clients/client-lightsail/commands/ReleaseStaticIpCommand.ts b/clients/client-lightsail/commands/ReleaseStaticIpCommand.ts index f2905891d894..79a032e4eb2a 100644 --- a/clients/client-lightsail/commands/ReleaseStaticIpCommand.ts +++ b/clients/client-lightsail/commands/ReleaseStaticIpCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReleaseStaticIpCommandInput = ReleaseStaticIpRequest; @@ -64,14 +64,14 @@ export class ReleaseStaticIpCommand extends $Command< private serialize( input: ReleaseStaticIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ReleaseStaticIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ReleaseStaticIpCommand(output, context); } diff --git a/clients/client-lightsail/commands/StartInstanceCommand.ts b/clients/client-lightsail/commands/StartInstanceCommand.ts index d7cabe5f20a9..88dfd27c5de1 100644 --- a/clients/client-lightsail/commands/StartInstanceCommand.ts +++ b/clients/client-lightsail/commands/StartInstanceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartInstanceCommandInput = StartInstanceRequest; @@ -64,14 +64,14 @@ export class StartInstanceCommand extends $Command< private serialize( input: StartInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartInstanceCommand(output, context); } diff --git a/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts index e59e0a3820c9..9bb81f1e37c1 100644 --- a/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartRelationalDatabaseCommandInput = StartRelationalDatabaseRequest; @@ -70,14 +70,14 @@ export class StartRelationalDatabaseCommand extends $Command< private serialize( input: StartRelationalDatabaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartRelationalDatabaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartRelationalDatabaseCommand( output, diff --git a/clients/client-lightsail/commands/StopInstanceCommand.ts b/clients/client-lightsail/commands/StopInstanceCommand.ts index af23e7a6edef..a7b0e1baf21e 100644 --- a/clients/client-lightsail/commands/StopInstanceCommand.ts +++ b/clients/client-lightsail/commands/StopInstanceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopInstanceCommandInput = StopInstanceRequest; @@ -64,14 +64,14 @@ export class StopInstanceCommand extends $Command< private serialize( input: StopInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopInstanceCommand(output, context); } diff --git a/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts index efc298eb4879..267fb4a03773 100644 --- a/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopRelationalDatabaseCommandInput = StopRelationalDatabaseRequest; @@ -70,14 +70,14 @@ export class StopRelationalDatabaseCommand extends $Command< private serialize( input: StopRelationalDatabaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopRelationalDatabaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopRelationalDatabaseCommand(output, context); } diff --git a/clients/client-lightsail/commands/TagResourceCommand.ts b/clients/client-lightsail/commands/TagResourceCommand.ts index 0d8a37d351b5..11b448a738bd 100644 --- a/clients/client-lightsail/commands/TagResourceCommand.ts +++ b/clients/client-lightsail/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-lightsail/commands/UnpeerVpcCommand.ts b/clients/client-lightsail/commands/UnpeerVpcCommand.ts index 7bd5b768e780..d81084dec32b 100644 --- a/clients/client-lightsail/commands/UnpeerVpcCommand.ts +++ b/clients/client-lightsail/commands/UnpeerVpcCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnpeerVpcCommandInput = UnpeerVpcRequest; @@ -64,14 +64,14 @@ export class UnpeerVpcCommand extends $Command< private serialize( input: UnpeerVpcCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UnpeerVpcCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UnpeerVpcCommand(output, context); } diff --git a/clients/client-lightsail/commands/UntagResourceCommand.ts b/clients/client-lightsail/commands/UntagResourceCommand.ts index 7052a56141a3..af8676856916 100644 --- a/clients/client-lightsail/commands/UntagResourceCommand.ts +++ b/clients/client-lightsail/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts b/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts index 5f705def9bd1..a5add48b29d9 100644 --- a/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts +++ b/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDomainEntryCommandInput = UpdateDomainEntryRequest; @@ -67,14 +67,14 @@ export class UpdateDomainEntryCommand extends $Command< private serialize( input: UpdateDomainEntryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDomainEntryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDomainEntryCommand(output, context); } diff --git a/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts b/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts index 6a505e0a40ad..bf8a98af608e 100644 --- a/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts +++ b/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLoadBalancerAttributeCommandInput = UpdateLoadBalancerAttributeRequest; @@ -70,7 +70,7 @@ export class UpdateLoadBalancerAttributeCommand extends $Command< private serialize( input: UpdateLoadBalancerAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateLoadBalancerAttributeCommand( input, @@ -80,7 +80,7 @@ export class UpdateLoadBalancerAttributeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateLoadBalancerAttributeCommand( output, diff --git a/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts index d2bd0c39f93b..5a3f643f90e3 100644 --- a/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRelationalDatabaseCommandInput = UpdateRelationalDatabaseRequest; @@ -70,14 +70,14 @@ export class UpdateRelationalDatabaseCommand extends $Command< private serialize( input: UpdateRelationalDatabaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRelationalDatabaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRelationalDatabaseCommand( output, diff --git a/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts b/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts index 9ab4a0f1e81b..43c6bb222621 100644 --- a/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts +++ b/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRelationalDatabaseParametersCommandInput = UpdateRelationalDatabaseParametersRequest; @@ -70,7 +70,7 @@ export class UpdateRelationalDatabaseParametersCommand extends $Command< private serialize( input: UpdateRelationalDatabaseParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRelationalDatabaseParametersCommand( input, @@ -80,7 +80,7 @@ export class UpdateRelationalDatabaseParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRelationalDatabaseParametersCommand( output, diff --git a/clients/client-lightsail/protocols/Aws_json1_1.ts b/clients/client-lightsail/protocols/Aws_json1_1.ts index aaa72f78d0d6..4a6bf9eabd85 100644 --- a/clients/client-lightsail/protocols/Aws_json1_1.ts +++ b/clients/client-lightsail/protocols/Aws_json1_1.ts @@ -19632,6 +19632,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-machine-learning/commands/AddTagsCommand.ts b/clients/client-machine-learning/commands/AddTagsCommand.ts index 96c1907580f3..83308f644438 100644 --- a/clients/client-machine-learning/commands/AddTagsCommand.ts +++ b/clients/client-machine-learning/commands/AddTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsCommandInput = AddTagsInput; @@ -64,14 +64,14 @@ export class AddTagsCommand extends $Command< private serialize( input: AddTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsCommand(output, context); } diff --git a/clients/client-machine-learning/commands/CreateBatchPredictionCommand.ts b/clients/client-machine-learning/commands/CreateBatchPredictionCommand.ts index 9b78caf407df..adb38baef41a 100644 --- a/clients/client-machine-learning/commands/CreateBatchPredictionCommand.ts +++ b/clients/client-machine-learning/commands/CreateBatchPredictionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBatchPredictionCommandInput = CreateBatchPredictionInput; @@ -70,14 +70,14 @@ export class CreateBatchPredictionCommand extends $Command< private serialize( input: CreateBatchPredictionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateBatchPredictionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateBatchPredictionCommand(output, context); } diff --git a/clients/client-machine-learning/commands/CreateDataSourceFromRDSCommand.ts b/clients/client-machine-learning/commands/CreateDataSourceFromRDSCommand.ts index 25032408eb47..f20fa1160558 100644 --- a/clients/client-machine-learning/commands/CreateDataSourceFromRDSCommand.ts +++ b/clients/client-machine-learning/commands/CreateDataSourceFromRDSCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDataSourceFromRDSCommandInput = CreateDataSourceFromRDSInput; @@ -70,14 +70,14 @@ export class CreateDataSourceFromRDSCommand extends $Command< private serialize( input: CreateDataSourceFromRDSCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDataSourceFromRDSCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDataSourceFromRDSCommand( output, diff --git a/clients/client-machine-learning/commands/CreateDataSourceFromRedshiftCommand.ts b/clients/client-machine-learning/commands/CreateDataSourceFromRedshiftCommand.ts index 52618e212440..210a48a6876a 100644 --- a/clients/client-machine-learning/commands/CreateDataSourceFromRedshiftCommand.ts +++ b/clients/client-machine-learning/commands/CreateDataSourceFromRedshiftCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDataSourceFromRedshiftCommandInput = CreateDataSourceFromRedshiftInput; @@ -70,7 +70,7 @@ export class CreateDataSourceFromRedshiftCommand extends $Command< private serialize( input: CreateDataSourceFromRedshiftCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDataSourceFromRedshiftCommand( input, @@ -80,7 +80,7 @@ export class CreateDataSourceFromRedshiftCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDataSourceFromRedshiftCommand( output, diff --git a/clients/client-machine-learning/commands/CreateDataSourceFromS3Command.ts b/clients/client-machine-learning/commands/CreateDataSourceFromS3Command.ts index f1e45e0d0850..b9785da9f1a9 100644 --- a/clients/client-machine-learning/commands/CreateDataSourceFromS3Command.ts +++ b/clients/client-machine-learning/commands/CreateDataSourceFromS3Command.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDataSourceFromS3CommandInput = CreateDataSourceFromS3Input; @@ -70,14 +70,14 @@ export class CreateDataSourceFromS3Command extends $Command< private serialize( input: CreateDataSourceFromS3CommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDataSourceFromS3Command(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDataSourceFromS3Command(output, context); } diff --git a/clients/client-machine-learning/commands/CreateEvaluationCommand.ts b/clients/client-machine-learning/commands/CreateEvaluationCommand.ts index a48c901d0a28..d8ae0888feed 100644 --- a/clients/client-machine-learning/commands/CreateEvaluationCommand.ts +++ b/clients/client-machine-learning/commands/CreateEvaluationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEvaluationCommandInput = CreateEvaluationInput; @@ -64,14 +64,14 @@ export class CreateEvaluationCommand extends $Command< private serialize( input: CreateEvaluationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEvaluationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEvaluationCommand(output, context); } diff --git a/clients/client-machine-learning/commands/CreateMLModelCommand.ts b/clients/client-machine-learning/commands/CreateMLModelCommand.ts index 0bb77233d1e8..5843dc5c0e2e 100644 --- a/clients/client-machine-learning/commands/CreateMLModelCommand.ts +++ b/clients/client-machine-learning/commands/CreateMLModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMLModelCommandInput = CreateMLModelInput; @@ -64,14 +64,14 @@ export class CreateMLModelCommand extends $Command< private serialize( input: CreateMLModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateMLModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateMLModelCommand(output, context); } diff --git a/clients/client-machine-learning/commands/CreateRealtimeEndpointCommand.ts b/clients/client-machine-learning/commands/CreateRealtimeEndpointCommand.ts index 121dd32dc54e..777f9b356221 100644 --- a/clients/client-machine-learning/commands/CreateRealtimeEndpointCommand.ts +++ b/clients/client-machine-learning/commands/CreateRealtimeEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRealtimeEndpointCommandInput = CreateRealtimeEndpointInput; @@ -70,14 +70,14 @@ export class CreateRealtimeEndpointCommand extends $Command< private serialize( input: CreateRealtimeEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRealtimeEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRealtimeEndpointCommand(output, context); } diff --git a/clients/client-machine-learning/commands/DeleteBatchPredictionCommand.ts b/clients/client-machine-learning/commands/DeleteBatchPredictionCommand.ts index 3c49f7956bc5..d18811a10b10 100644 --- a/clients/client-machine-learning/commands/DeleteBatchPredictionCommand.ts +++ b/clients/client-machine-learning/commands/DeleteBatchPredictionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBatchPredictionCommandInput = DeleteBatchPredictionInput; @@ -70,14 +70,14 @@ export class DeleteBatchPredictionCommand extends $Command< private serialize( input: DeleteBatchPredictionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteBatchPredictionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteBatchPredictionCommand(output, context); } diff --git a/clients/client-machine-learning/commands/DeleteDataSourceCommand.ts b/clients/client-machine-learning/commands/DeleteDataSourceCommand.ts index 4dd4bec5e15b..f5b8e66d9429 100644 --- a/clients/client-machine-learning/commands/DeleteDataSourceCommand.ts +++ b/clients/client-machine-learning/commands/DeleteDataSourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDataSourceCommandInput = DeleteDataSourceInput; @@ -64,14 +64,14 @@ export class DeleteDataSourceCommand extends $Command< private serialize( input: DeleteDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDataSourceCommand(output, context); } diff --git a/clients/client-machine-learning/commands/DeleteEvaluationCommand.ts b/clients/client-machine-learning/commands/DeleteEvaluationCommand.ts index 36a5548ac6b1..a4e93bc9d0a8 100644 --- a/clients/client-machine-learning/commands/DeleteEvaluationCommand.ts +++ b/clients/client-machine-learning/commands/DeleteEvaluationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEvaluationCommandInput = DeleteEvaluationInput; @@ -64,14 +64,14 @@ export class DeleteEvaluationCommand extends $Command< private serialize( input: DeleteEvaluationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEvaluationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEvaluationCommand(output, context); } diff --git a/clients/client-machine-learning/commands/DeleteMLModelCommand.ts b/clients/client-machine-learning/commands/DeleteMLModelCommand.ts index 72cbe4334119..d839516b1d7e 100644 --- a/clients/client-machine-learning/commands/DeleteMLModelCommand.ts +++ b/clients/client-machine-learning/commands/DeleteMLModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMLModelCommandInput = DeleteMLModelInput; @@ -64,14 +64,14 @@ export class DeleteMLModelCommand extends $Command< private serialize( input: DeleteMLModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteMLModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteMLModelCommand(output, context); } diff --git a/clients/client-machine-learning/commands/DeleteRealtimeEndpointCommand.ts b/clients/client-machine-learning/commands/DeleteRealtimeEndpointCommand.ts index 8aac8ff9828e..03b5f67216f3 100644 --- a/clients/client-machine-learning/commands/DeleteRealtimeEndpointCommand.ts +++ b/clients/client-machine-learning/commands/DeleteRealtimeEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRealtimeEndpointCommandInput = DeleteRealtimeEndpointInput; @@ -70,14 +70,14 @@ export class DeleteRealtimeEndpointCommand extends $Command< private serialize( input: DeleteRealtimeEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRealtimeEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRealtimeEndpointCommand(output, context); } diff --git a/clients/client-machine-learning/commands/DeleteTagsCommand.ts b/clients/client-machine-learning/commands/DeleteTagsCommand.ts index 6c0d2470f86f..124c44277cb4 100644 --- a/clients/client-machine-learning/commands/DeleteTagsCommand.ts +++ b/clients/client-machine-learning/commands/DeleteTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagsCommandInput = DeleteTagsInput; @@ -64,14 +64,14 @@ export class DeleteTagsCommand extends $Command< private serialize( input: DeleteTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTagsCommand(output, context); } diff --git a/clients/client-machine-learning/commands/DescribeBatchPredictionsCommand.ts b/clients/client-machine-learning/commands/DescribeBatchPredictionsCommand.ts index 1ce0f4da352b..5d2ad340f180 100644 --- a/clients/client-machine-learning/commands/DescribeBatchPredictionsCommand.ts +++ b/clients/client-machine-learning/commands/DescribeBatchPredictionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBatchPredictionsCommandInput = DescribeBatchPredictionsInput; @@ -70,14 +70,14 @@ export class DescribeBatchPredictionsCommand extends $Command< private serialize( input: DescribeBatchPredictionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeBatchPredictionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeBatchPredictionsCommand( output, diff --git a/clients/client-machine-learning/commands/DescribeDataSourcesCommand.ts b/clients/client-machine-learning/commands/DescribeDataSourcesCommand.ts index 58220bce6b41..99ef5c61e6f6 100644 --- a/clients/client-machine-learning/commands/DescribeDataSourcesCommand.ts +++ b/clients/client-machine-learning/commands/DescribeDataSourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDataSourcesCommandInput = DescribeDataSourcesInput; @@ -70,14 +70,14 @@ export class DescribeDataSourcesCommand extends $Command< private serialize( input: DescribeDataSourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDataSourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDataSourcesCommand(output, context); } diff --git a/clients/client-machine-learning/commands/DescribeEvaluationsCommand.ts b/clients/client-machine-learning/commands/DescribeEvaluationsCommand.ts index 0a0d8b0a4d4b..981d46992c7b 100644 --- a/clients/client-machine-learning/commands/DescribeEvaluationsCommand.ts +++ b/clients/client-machine-learning/commands/DescribeEvaluationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEvaluationsCommandInput = DescribeEvaluationsInput; @@ -70,14 +70,14 @@ export class DescribeEvaluationsCommand extends $Command< private serialize( input: DescribeEvaluationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEvaluationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEvaluationsCommand(output, context); } diff --git a/clients/client-machine-learning/commands/DescribeMLModelsCommand.ts b/clients/client-machine-learning/commands/DescribeMLModelsCommand.ts index 889a831dca0b..71b39d416ec8 100644 --- a/clients/client-machine-learning/commands/DescribeMLModelsCommand.ts +++ b/clients/client-machine-learning/commands/DescribeMLModelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMLModelsCommandInput = DescribeMLModelsInput; @@ -64,14 +64,14 @@ export class DescribeMLModelsCommand extends $Command< private serialize( input: DescribeMLModelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMLModelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMLModelsCommand(output, context); } diff --git a/clients/client-machine-learning/commands/DescribeTagsCommand.ts b/clients/client-machine-learning/commands/DescribeTagsCommand.ts index 1697448d3304..4c5c61a975af 100644 --- a/clients/client-machine-learning/commands/DescribeTagsCommand.ts +++ b/clients/client-machine-learning/commands/DescribeTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTagsCommandInput = DescribeTagsInput; @@ -64,14 +64,14 @@ export class DescribeTagsCommand extends $Command< private serialize( input: DescribeTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTagsCommand(output, context); } diff --git a/clients/client-machine-learning/commands/GetBatchPredictionCommand.ts b/clients/client-machine-learning/commands/GetBatchPredictionCommand.ts index 25c859e31b14..e3e0dcfebeeb 100644 --- a/clients/client-machine-learning/commands/GetBatchPredictionCommand.ts +++ b/clients/client-machine-learning/commands/GetBatchPredictionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBatchPredictionCommandInput = GetBatchPredictionInput; @@ -67,14 +67,14 @@ export class GetBatchPredictionCommand extends $Command< private serialize( input: GetBatchPredictionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetBatchPredictionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetBatchPredictionCommand(output, context); } diff --git a/clients/client-machine-learning/commands/GetDataSourceCommand.ts b/clients/client-machine-learning/commands/GetDataSourceCommand.ts index c9fd0e56f0b3..7787116c668c 100644 --- a/clients/client-machine-learning/commands/GetDataSourceCommand.ts +++ b/clients/client-machine-learning/commands/GetDataSourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDataSourceCommandInput = GetDataSourceInput; @@ -64,14 +64,14 @@ export class GetDataSourceCommand extends $Command< private serialize( input: GetDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDataSourceCommand(output, context); } diff --git a/clients/client-machine-learning/commands/GetEvaluationCommand.ts b/clients/client-machine-learning/commands/GetEvaluationCommand.ts index 0527789a5719..da7fc56a62f1 100644 --- a/clients/client-machine-learning/commands/GetEvaluationCommand.ts +++ b/clients/client-machine-learning/commands/GetEvaluationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEvaluationCommandInput = GetEvaluationInput; @@ -64,14 +64,14 @@ export class GetEvaluationCommand extends $Command< private serialize( input: GetEvaluationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetEvaluationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetEvaluationCommand(output, context); } diff --git a/clients/client-machine-learning/commands/GetMLModelCommand.ts b/clients/client-machine-learning/commands/GetMLModelCommand.ts index 963864200c2a..cda1f46d21f2 100644 --- a/clients/client-machine-learning/commands/GetMLModelCommand.ts +++ b/clients/client-machine-learning/commands/GetMLModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMLModelCommandInput = GetMLModelInput; @@ -64,14 +64,14 @@ export class GetMLModelCommand extends $Command< private serialize( input: GetMLModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMLModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMLModelCommand(output, context); } diff --git a/clients/client-machine-learning/commands/PredictCommand.ts b/clients/client-machine-learning/commands/PredictCommand.ts index 4f57b9fbc1e1..848bc4fc0fb3 100644 --- a/clients/client-machine-learning/commands/PredictCommand.ts +++ b/clients/client-machine-learning/commands/PredictCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PredictCommandInput = PredictInput; @@ -66,14 +66,14 @@ export class PredictCommand extends $Command< private serialize( input: PredictCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PredictCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PredictCommand(output, context); } diff --git a/clients/client-machine-learning/commands/UpdateBatchPredictionCommand.ts b/clients/client-machine-learning/commands/UpdateBatchPredictionCommand.ts index b7c27aeae1a5..30a63c953728 100644 --- a/clients/client-machine-learning/commands/UpdateBatchPredictionCommand.ts +++ b/clients/client-machine-learning/commands/UpdateBatchPredictionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBatchPredictionCommandInput = UpdateBatchPredictionInput; @@ -70,14 +70,14 @@ export class UpdateBatchPredictionCommand extends $Command< private serialize( input: UpdateBatchPredictionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateBatchPredictionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateBatchPredictionCommand(output, context); } diff --git a/clients/client-machine-learning/commands/UpdateDataSourceCommand.ts b/clients/client-machine-learning/commands/UpdateDataSourceCommand.ts index eb362e105e27..2b1362b0bef8 100644 --- a/clients/client-machine-learning/commands/UpdateDataSourceCommand.ts +++ b/clients/client-machine-learning/commands/UpdateDataSourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDataSourceCommandInput = UpdateDataSourceInput; @@ -64,14 +64,14 @@ export class UpdateDataSourceCommand extends $Command< private serialize( input: UpdateDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDataSourceCommand(output, context); } diff --git a/clients/client-machine-learning/commands/UpdateEvaluationCommand.ts b/clients/client-machine-learning/commands/UpdateEvaluationCommand.ts index 546fd51fdf97..dcb97c19f4b7 100644 --- a/clients/client-machine-learning/commands/UpdateEvaluationCommand.ts +++ b/clients/client-machine-learning/commands/UpdateEvaluationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEvaluationCommandInput = UpdateEvaluationInput; @@ -64,14 +64,14 @@ export class UpdateEvaluationCommand extends $Command< private serialize( input: UpdateEvaluationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateEvaluationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateEvaluationCommand(output, context); } diff --git a/clients/client-machine-learning/commands/UpdateMLModelCommand.ts b/clients/client-machine-learning/commands/UpdateMLModelCommand.ts index 46f7c65722f4..aa8e8e6fb0db 100644 --- a/clients/client-machine-learning/commands/UpdateMLModelCommand.ts +++ b/clients/client-machine-learning/commands/UpdateMLModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMLModelCommandInput = UpdateMLModelInput; @@ -64,14 +64,14 @@ export class UpdateMLModelCommand extends $Command< private serialize( input: UpdateMLModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateMLModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateMLModelCommand(output, context); } diff --git a/clients/client-machine-learning/protocols/Aws_json1_1.ts b/clients/client-machine-learning/protocols/Aws_json1_1.ts index 510722883237..2a189eca7715 100644 --- a/clients/client-machine-learning/protocols/Aws_json1_1.ts +++ b/clients/client-machine-learning/protocols/Aws_json1_1.ts @@ -5149,6 +5149,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-macie/commands/AssociateMemberAccountCommand.ts b/clients/client-macie/commands/AssociateMemberAccountCommand.ts index 9232879d558a..b16ad2d7ddea 100644 --- a/clients/client-macie/commands/AssociateMemberAccountCommand.ts +++ b/clients/client-macie/commands/AssociateMemberAccountCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateMemberAccountCommandInput = AssociateMemberAccountRequest; @@ -68,14 +68,14 @@ export class AssociateMemberAccountCommand extends $Command< private serialize( input: AssociateMemberAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateMemberAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateMemberAccountCommand(output, context); } diff --git a/clients/client-macie/commands/AssociateS3ResourcesCommand.ts b/clients/client-macie/commands/AssociateS3ResourcesCommand.ts index 3718f703c3b1..322b98cc4764 100644 --- a/clients/client-macie/commands/AssociateS3ResourcesCommand.ts +++ b/clients/client-macie/commands/AssociateS3ResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateS3ResourcesCommandInput = AssociateS3ResourcesRequest; @@ -70,14 +70,14 @@ export class AssociateS3ResourcesCommand extends $Command< private serialize( input: AssociateS3ResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateS3ResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateS3ResourcesCommand(output, context); } diff --git a/clients/client-macie/commands/DisassociateMemberAccountCommand.ts b/clients/client-macie/commands/DisassociateMemberAccountCommand.ts index 5997575083ee..519b3b196ad1 100644 --- a/clients/client-macie/commands/DisassociateMemberAccountCommand.ts +++ b/clients/client-macie/commands/DisassociateMemberAccountCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateMemberAccountCommandInput = DisassociateMemberAccountRequest; @@ -68,14 +68,14 @@ export class DisassociateMemberAccountCommand extends $Command< private serialize( input: DisassociateMemberAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateMemberAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateMemberAccountCommand( output, diff --git a/clients/client-macie/commands/DisassociateS3ResourcesCommand.ts b/clients/client-macie/commands/DisassociateS3ResourcesCommand.ts index b22e23e114ff..bc2d3b103c80 100644 --- a/clients/client-macie/commands/DisassociateS3ResourcesCommand.ts +++ b/clients/client-macie/commands/DisassociateS3ResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateS3ResourcesCommandInput = DisassociateS3ResourcesRequest; @@ -70,14 +70,14 @@ export class DisassociateS3ResourcesCommand extends $Command< private serialize( input: DisassociateS3ResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateS3ResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateS3ResourcesCommand( output, diff --git a/clients/client-macie/commands/ListMemberAccountsCommand.ts b/clients/client-macie/commands/ListMemberAccountsCommand.ts index 93d190f4e4b7..1247ad5ea216 100644 --- a/clients/client-macie/commands/ListMemberAccountsCommand.ts +++ b/clients/client-macie/commands/ListMemberAccountsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMemberAccountsCommandInput = ListMemberAccountsRequest; @@ -67,14 +67,14 @@ export class ListMemberAccountsCommand extends $Command< private serialize( input: ListMemberAccountsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListMemberAccountsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListMemberAccountsCommand(output, context); } diff --git a/clients/client-macie/commands/ListS3ResourcesCommand.ts b/clients/client-macie/commands/ListS3ResourcesCommand.ts index 76c4397b4da1..8784b2c2df4b 100644 --- a/clients/client-macie/commands/ListS3ResourcesCommand.ts +++ b/clients/client-macie/commands/ListS3ResourcesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListS3ResourcesCommandInput = ListS3ResourcesRequest; @@ -64,14 +64,14 @@ export class ListS3ResourcesCommand extends $Command< private serialize( input: ListS3ResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListS3ResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListS3ResourcesCommand(output, context); } diff --git a/clients/client-macie/commands/UpdateS3ResourcesCommand.ts b/clients/client-macie/commands/UpdateS3ResourcesCommand.ts index 201682063edb..d84c7063b156 100644 --- a/clients/client-macie/commands/UpdateS3ResourcesCommand.ts +++ b/clients/client-macie/commands/UpdateS3ResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateS3ResourcesCommandInput = UpdateS3ResourcesRequest; @@ -67,14 +67,14 @@ export class UpdateS3ResourcesCommand extends $Command< private serialize( input: UpdateS3ResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateS3ResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateS3ResourcesCommand(output, context); } diff --git a/clients/client-macie/protocols/Aws_json1_1.ts b/clients/client-macie/protocols/Aws_json1_1.ts index b0ca18041264..80ec6873edc6 100644 --- a/clients/client-macie/protocols/Aws_json1_1.ts +++ b/clients/client-macie/protocols/Aws_json1_1.ts @@ -1264,6 +1264,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-managedblockchain/commands/CreateMemberCommand.ts b/clients/client-managedblockchain/commands/CreateMemberCommand.ts index e1fb8ea49703..219dd190fd4d 100644 --- a/clients/client-managedblockchain/commands/CreateMemberCommand.ts +++ b/clients/client-managedblockchain/commands/CreateMemberCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMemberCommandInput = CreateMemberInput; @@ -64,14 +64,14 @@ export class CreateMemberCommand extends $Command< private serialize( input: CreateMemberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateMemberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateMemberCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/CreateNetworkCommand.ts b/clients/client-managedblockchain/commands/CreateNetworkCommand.ts index f6c9587aee7f..2f1a8fe43463 100644 --- a/clients/client-managedblockchain/commands/CreateNetworkCommand.ts +++ b/clients/client-managedblockchain/commands/CreateNetworkCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNetworkCommandInput = CreateNetworkInput; @@ -64,14 +64,14 @@ export class CreateNetworkCommand extends $Command< private serialize( input: CreateNetworkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateNetworkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateNetworkCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/CreateNodeCommand.ts b/clients/client-managedblockchain/commands/CreateNodeCommand.ts index a2ced210412b..09419fcbfe50 100644 --- a/clients/client-managedblockchain/commands/CreateNodeCommand.ts +++ b/clients/client-managedblockchain/commands/CreateNodeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNodeCommandInput = CreateNodeInput; @@ -64,14 +64,14 @@ export class CreateNodeCommand extends $Command< private serialize( input: CreateNodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateNodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateNodeCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/CreateProposalCommand.ts b/clients/client-managedblockchain/commands/CreateProposalCommand.ts index a26f0f4c0f6e..057010b0e34a 100644 --- a/clients/client-managedblockchain/commands/CreateProposalCommand.ts +++ b/clients/client-managedblockchain/commands/CreateProposalCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProposalCommandInput = CreateProposalInput; @@ -64,14 +64,14 @@ export class CreateProposalCommand extends $Command< private serialize( input: CreateProposalCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateProposalCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateProposalCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/DeleteMemberCommand.ts b/clients/client-managedblockchain/commands/DeleteMemberCommand.ts index 430baa7909ab..fa7da524cc9c 100644 --- a/clients/client-managedblockchain/commands/DeleteMemberCommand.ts +++ b/clients/client-managedblockchain/commands/DeleteMemberCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMemberCommandInput = DeleteMemberInput; @@ -64,14 +64,14 @@ export class DeleteMemberCommand extends $Command< private serialize( input: DeleteMemberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMemberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMemberCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/DeleteNodeCommand.ts b/clients/client-managedblockchain/commands/DeleteNodeCommand.ts index 1c9b22d2e6bf..f2174ee970d6 100644 --- a/clients/client-managedblockchain/commands/DeleteNodeCommand.ts +++ b/clients/client-managedblockchain/commands/DeleteNodeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNodeCommandInput = DeleteNodeInput; @@ -64,14 +64,14 @@ export class DeleteNodeCommand extends $Command< private serialize( input: DeleteNodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteNodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteNodeCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/GetMemberCommand.ts b/clients/client-managedblockchain/commands/GetMemberCommand.ts index 0383829498cd..3b35a7581f2a 100644 --- a/clients/client-managedblockchain/commands/GetMemberCommand.ts +++ b/clients/client-managedblockchain/commands/GetMemberCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMemberCommandInput = GetMemberInput; @@ -64,14 +64,14 @@ export class GetMemberCommand extends $Command< private serialize( input: GetMemberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMemberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMemberCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/GetNetworkCommand.ts b/clients/client-managedblockchain/commands/GetNetworkCommand.ts index e15ce851702e..ba5e27409f0b 100644 --- a/clients/client-managedblockchain/commands/GetNetworkCommand.ts +++ b/clients/client-managedblockchain/commands/GetNetworkCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetNetworkCommandInput = GetNetworkInput; @@ -64,14 +64,14 @@ export class GetNetworkCommand extends $Command< private serialize( input: GetNetworkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetNetworkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetNetworkCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/GetNodeCommand.ts b/clients/client-managedblockchain/commands/GetNodeCommand.ts index 15f9ea16612a..5995c01580be 100644 --- a/clients/client-managedblockchain/commands/GetNodeCommand.ts +++ b/clients/client-managedblockchain/commands/GetNodeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetNodeCommandInput = GetNodeInput; @@ -64,14 +64,14 @@ export class GetNodeCommand extends $Command< private serialize( input: GetNodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetNodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetNodeCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/GetProposalCommand.ts b/clients/client-managedblockchain/commands/GetProposalCommand.ts index 5febaec9224c..f25bda0b3dec 100644 --- a/clients/client-managedblockchain/commands/GetProposalCommand.ts +++ b/clients/client-managedblockchain/commands/GetProposalCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetProposalCommandInput = GetProposalInput; @@ -64,14 +64,14 @@ export class GetProposalCommand extends $Command< private serialize( input: GetProposalCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetProposalCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetProposalCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/ListInvitationsCommand.ts b/clients/client-managedblockchain/commands/ListInvitationsCommand.ts index 9f523a0ee5f5..192a1e3b1807 100644 --- a/clients/client-managedblockchain/commands/ListInvitationsCommand.ts +++ b/clients/client-managedblockchain/commands/ListInvitationsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInvitationsCommandInput = ListInvitationsInput; @@ -64,14 +64,14 @@ export class ListInvitationsCommand extends $Command< private serialize( input: ListInvitationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListInvitationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListInvitationsCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/ListMembersCommand.ts b/clients/client-managedblockchain/commands/ListMembersCommand.ts index d921ee65cefb..f1b872dfc832 100644 --- a/clients/client-managedblockchain/commands/ListMembersCommand.ts +++ b/clients/client-managedblockchain/commands/ListMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMembersCommandInput = ListMembersInput; @@ -64,14 +64,14 @@ export class ListMembersCommand extends $Command< private serialize( input: ListMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListMembersCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/ListNetworksCommand.ts b/clients/client-managedblockchain/commands/ListNetworksCommand.ts index 7285a9a41467..48c486cedab6 100644 --- a/clients/client-managedblockchain/commands/ListNetworksCommand.ts +++ b/clients/client-managedblockchain/commands/ListNetworksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListNetworksCommandInput = ListNetworksInput; @@ -64,14 +64,14 @@ export class ListNetworksCommand extends $Command< private serialize( input: ListNetworksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListNetworksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListNetworksCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/ListNodesCommand.ts b/clients/client-managedblockchain/commands/ListNodesCommand.ts index cc3dab7511b7..73eddfbf694b 100644 --- a/clients/client-managedblockchain/commands/ListNodesCommand.ts +++ b/clients/client-managedblockchain/commands/ListNodesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListNodesCommandInput = ListNodesInput; @@ -64,14 +64,14 @@ export class ListNodesCommand extends $Command< private serialize( input: ListNodesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListNodesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListNodesCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/ListProposalVotesCommand.ts b/clients/client-managedblockchain/commands/ListProposalVotesCommand.ts index 7cdff351d03f..2e9c91562bca 100644 --- a/clients/client-managedblockchain/commands/ListProposalVotesCommand.ts +++ b/clients/client-managedblockchain/commands/ListProposalVotesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProposalVotesCommandInput = ListProposalVotesInput; @@ -67,14 +67,14 @@ export class ListProposalVotesCommand extends $Command< private serialize( input: ListProposalVotesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListProposalVotesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListProposalVotesCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/ListProposalsCommand.ts b/clients/client-managedblockchain/commands/ListProposalsCommand.ts index 4ee234ac7ad5..92a36367eb7a 100644 --- a/clients/client-managedblockchain/commands/ListProposalsCommand.ts +++ b/clients/client-managedblockchain/commands/ListProposalsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProposalsCommandInput = ListProposalsInput; @@ -64,14 +64,14 @@ export class ListProposalsCommand extends $Command< private serialize( input: ListProposalsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListProposalsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListProposalsCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/RejectInvitationCommand.ts b/clients/client-managedblockchain/commands/RejectInvitationCommand.ts index bb80ff7b4c1a..17f03c2f14ae 100644 --- a/clients/client-managedblockchain/commands/RejectInvitationCommand.ts +++ b/clients/client-managedblockchain/commands/RejectInvitationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectInvitationCommandInput = RejectInvitationInput; @@ -64,14 +64,14 @@ export class RejectInvitationCommand extends $Command< private serialize( input: RejectInvitationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RejectInvitationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RejectInvitationCommand(output, context); } diff --git a/clients/client-managedblockchain/commands/VoteOnProposalCommand.ts b/clients/client-managedblockchain/commands/VoteOnProposalCommand.ts index 2dcc4a76637a..721bd816cb19 100644 --- a/clients/client-managedblockchain/commands/VoteOnProposalCommand.ts +++ b/clients/client-managedblockchain/commands/VoteOnProposalCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type VoteOnProposalCommandInput = VoteOnProposalInput; @@ -64,14 +64,14 @@ export class VoteOnProposalCommand extends $Command< private serialize( input: VoteOnProposalCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1VoteOnProposalCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1VoteOnProposalCommand(output, context); } diff --git a/clients/client-managedblockchain/protocols/Aws_restJson1_1.ts b/clients/client-managedblockchain/protocols/Aws_restJson1_1.ts index a356ec54f44a..14e4ed4f0b99 100644 --- a/clients/client-managedblockchain/protocols/Aws_restJson1_1.ts +++ b/clients/client-managedblockchain/protocols/Aws_restJson1_1.ts @@ -3572,6 +3572,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-marketplace-catalog/commands/CancelChangeSetCommand.ts b/clients/client-marketplace-catalog/commands/CancelChangeSetCommand.ts index 775d65843db9..be36dc0b71b6 100644 --- a/clients/client-marketplace-catalog/commands/CancelChangeSetCommand.ts +++ b/clients/client-marketplace-catalog/commands/CancelChangeSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelChangeSetCommandInput = CancelChangeSetRequest; @@ -67,14 +67,14 @@ export class CancelChangeSetCommand extends $Command< private serialize( input: CancelChangeSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelChangeSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelChangeSetCommand(output, context); } diff --git a/clients/client-marketplace-catalog/commands/DescribeChangeSetCommand.ts b/clients/client-marketplace-catalog/commands/DescribeChangeSetCommand.ts index 3d8ea1a3a833..d0abddf3b0ab 100644 --- a/clients/client-marketplace-catalog/commands/DescribeChangeSetCommand.ts +++ b/clients/client-marketplace-catalog/commands/DescribeChangeSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeChangeSetCommandInput = DescribeChangeSetRequest; @@ -67,14 +67,14 @@ export class DescribeChangeSetCommand extends $Command< private serialize( input: DescribeChangeSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeChangeSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeChangeSetCommand(output, context); } diff --git a/clients/client-marketplace-catalog/commands/DescribeEntityCommand.ts b/clients/client-marketplace-catalog/commands/DescribeEntityCommand.ts index c432cac0f82f..136e8eee69df 100644 --- a/clients/client-marketplace-catalog/commands/DescribeEntityCommand.ts +++ b/clients/client-marketplace-catalog/commands/DescribeEntityCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEntityCommandInput = DescribeEntityRequest; @@ -64,14 +64,14 @@ export class DescribeEntityCommand extends $Command< private serialize( input: DescribeEntityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeEntityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeEntityCommand(output, context); } diff --git a/clients/client-marketplace-catalog/commands/ListChangeSetsCommand.ts b/clients/client-marketplace-catalog/commands/ListChangeSetsCommand.ts index 8b938430540d..4cd0ccb9e813 100644 --- a/clients/client-marketplace-catalog/commands/ListChangeSetsCommand.ts +++ b/clients/client-marketplace-catalog/commands/ListChangeSetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListChangeSetsCommandInput = ListChangeSetsRequest; @@ -64,14 +64,14 @@ export class ListChangeSetsCommand extends $Command< private serialize( input: ListChangeSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListChangeSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListChangeSetsCommand(output, context); } diff --git a/clients/client-marketplace-catalog/commands/ListEntitiesCommand.ts b/clients/client-marketplace-catalog/commands/ListEntitiesCommand.ts index c8e12c522038..0dbac165ae77 100644 --- a/clients/client-marketplace-catalog/commands/ListEntitiesCommand.ts +++ b/clients/client-marketplace-catalog/commands/ListEntitiesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEntitiesCommandInput = ListEntitiesRequest; @@ -64,14 +64,14 @@ export class ListEntitiesCommand extends $Command< private serialize( input: ListEntitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListEntitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListEntitiesCommand(output, context); } diff --git a/clients/client-marketplace-catalog/commands/StartChangeSetCommand.ts b/clients/client-marketplace-catalog/commands/StartChangeSetCommand.ts index d4e30f7b0b7f..3ef5f52256b5 100644 --- a/clients/client-marketplace-catalog/commands/StartChangeSetCommand.ts +++ b/clients/client-marketplace-catalog/commands/StartChangeSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartChangeSetCommandInput = StartChangeSetRequest; @@ -64,14 +64,14 @@ export class StartChangeSetCommand extends $Command< private serialize( input: StartChangeSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartChangeSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartChangeSetCommand(output, context); } diff --git a/clients/client-marketplace-catalog/protocols/Aws_restJson1_1.ts b/clients/client-marketplace-catalog/protocols/Aws_restJson1_1.ts index 5359671a9c56..d653d17c3dad 100644 --- a/clients/client-marketplace-catalog/protocols/Aws_restJson1_1.ts +++ b/clients/client-marketplace-catalog/protocols/Aws_restJson1_1.ts @@ -1269,6 +1269,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-marketplace-commerce-analytics/commands/GenerateDataSetCommand.ts b/clients/client-marketplace-commerce-analytics/commands/GenerateDataSetCommand.ts index bdbc2d6640ce..25e79a08a150 100644 --- a/clients/client-marketplace-commerce-analytics/commands/GenerateDataSetCommand.ts +++ b/clients/client-marketplace-commerce-analytics/commands/GenerateDataSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateDataSetCommandInput = GenerateDataSetRequest; @@ -64,14 +64,14 @@ export class GenerateDataSetCommand extends $Command< private serialize( input: GenerateDataSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GenerateDataSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GenerateDataSetCommand(output, context); } diff --git a/clients/client-marketplace-commerce-analytics/commands/StartSupportDataExportCommand.ts b/clients/client-marketplace-commerce-analytics/commands/StartSupportDataExportCommand.ts index 1bd1bebb8ea7..4b3c7ca46501 100644 --- a/clients/client-marketplace-commerce-analytics/commands/StartSupportDataExportCommand.ts +++ b/clients/client-marketplace-commerce-analytics/commands/StartSupportDataExportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartSupportDataExportCommandInput = StartSupportDataExportRequest; @@ -70,14 +70,14 @@ export class StartSupportDataExportCommand extends $Command< private serialize( input: StartSupportDataExportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartSupportDataExportCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartSupportDataExportCommand(output, context); } diff --git a/clients/client-marketplace-commerce-analytics/protocols/Aws_json1_1.ts b/clients/client-marketplace-commerce-analytics/protocols/Aws_json1_1.ts index 705964761763..8a824390de5d 100644 --- a/clients/client-marketplace-commerce-analytics/protocols/Aws_json1_1.ts +++ b/clients/client-marketplace-commerce-analytics/protocols/Aws_json1_1.ts @@ -329,6 +329,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-marketplace-entitlement-service/commands/GetEntitlementsCommand.ts b/clients/client-marketplace-entitlement-service/commands/GetEntitlementsCommand.ts index 32adc84918fd..7ed76f948843 100644 --- a/clients/client-marketplace-entitlement-service/commands/GetEntitlementsCommand.ts +++ b/clients/client-marketplace-entitlement-service/commands/GetEntitlementsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEntitlementsCommandInput = GetEntitlementsRequest; @@ -64,14 +64,14 @@ export class GetEntitlementsCommand extends $Command< private serialize( input: GetEntitlementsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetEntitlementsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetEntitlementsCommand(output, context); } diff --git a/clients/client-marketplace-entitlement-service/protocols/Aws_json1_1.ts b/clients/client-marketplace-entitlement-service/protocols/Aws_json1_1.ts index 74e06853bd0f..bb8ae05058d3 100644 --- a/clients/client-marketplace-entitlement-service/protocols/Aws_json1_1.ts +++ b/clients/client-marketplace-entitlement-service/protocols/Aws_json1_1.ts @@ -350,6 +350,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-marketplace-metering/commands/BatchMeterUsageCommand.ts b/clients/client-marketplace-metering/commands/BatchMeterUsageCommand.ts index c41d9019b436..c27519dcf75d 100644 --- a/clients/client-marketplace-metering/commands/BatchMeterUsageCommand.ts +++ b/clients/client-marketplace-metering/commands/BatchMeterUsageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchMeterUsageCommandInput = BatchMeterUsageRequest; @@ -64,14 +64,14 @@ export class BatchMeterUsageCommand extends $Command< private serialize( input: BatchMeterUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchMeterUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchMeterUsageCommand(output, context); } diff --git a/clients/client-marketplace-metering/commands/MeterUsageCommand.ts b/clients/client-marketplace-metering/commands/MeterUsageCommand.ts index b4482be3ed50..bdbc51da5ba8 100644 --- a/clients/client-marketplace-metering/commands/MeterUsageCommand.ts +++ b/clients/client-marketplace-metering/commands/MeterUsageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MeterUsageCommandInput = MeterUsageRequest; @@ -64,14 +64,14 @@ export class MeterUsageCommand extends $Command< private serialize( input: MeterUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1MeterUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1MeterUsageCommand(output, context); } diff --git a/clients/client-marketplace-metering/commands/RegisterUsageCommand.ts b/clients/client-marketplace-metering/commands/RegisterUsageCommand.ts index f689d58df4cf..c80a40410a1b 100644 --- a/clients/client-marketplace-metering/commands/RegisterUsageCommand.ts +++ b/clients/client-marketplace-metering/commands/RegisterUsageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterUsageCommandInput = RegisterUsageRequest; @@ -64,14 +64,14 @@ export class RegisterUsageCommand extends $Command< private serialize( input: RegisterUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterUsageCommand(output, context); } diff --git a/clients/client-marketplace-metering/commands/ResolveCustomerCommand.ts b/clients/client-marketplace-metering/commands/ResolveCustomerCommand.ts index 84a7da76e34a..1d6eed3845f3 100644 --- a/clients/client-marketplace-metering/commands/ResolveCustomerCommand.ts +++ b/clients/client-marketplace-metering/commands/ResolveCustomerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResolveCustomerCommandInput = ResolveCustomerRequest; @@ -64,14 +64,14 @@ export class ResolveCustomerCommand extends $Command< private serialize( input: ResolveCustomerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResolveCustomerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResolveCustomerCommand(output, context); } diff --git a/clients/client-marketplace-metering/protocols/Aws_json1_1.ts b/clients/client-marketplace-metering/protocols/Aws_json1_1.ts index a36c1abf044d..f3d89d495bc5 100644 --- a/clients/client-marketplace-metering/protocols/Aws_json1_1.ts +++ b/clients/client-marketplace-metering/protocols/Aws_json1_1.ts @@ -1251,6 +1251,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-mediaconnect/commands/AddFlowOutputsCommand.ts b/clients/client-mediaconnect/commands/AddFlowOutputsCommand.ts index 42907f874897..d6bddd9f61e8 100644 --- a/clients/client-mediaconnect/commands/AddFlowOutputsCommand.ts +++ b/clients/client-mediaconnect/commands/AddFlowOutputsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddFlowOutputsCommandInput = AddFlowOutputsRequest; @@ -64,14 +64,14 @@ export class AddFlowOutputsCommand extends $Command< private serialize( input: AddFlowOutputsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AddFlowOutputsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AddFlowOutputsCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/CreateFlowCommand.ts b/clients/client-mediaconnect/commands/CreateFlowCommand.ts index 850ab902d4ef..77c50ae3bffe 100644 --- a/clients/client-mediaconnect/commands/CreateFlowCommand.ts +++ b/clients/client-mediaconnect/commands/CreateFlowCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFlowCommandInput = CreateFlowRequest; @@ -64,14 +64,14 @@ export class CreateFlowCommand extends $Command< private serialize( input: CreateFlowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFlowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFlowCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/DeleteFlowCommand.ts b/clients/client-mediaconnect/commands/DeleteFlowCommand.ts index f7de259fce1e..735cc6f8dc73 100644 --- a/clients/client-mediaconnect/commands/DeleteFlowCommand.ts +++ b/clients/client-mediaconnect/commands/DeleteFlowCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFlowCommandInput = DeleteFlowRequest; @@ -64,14 +64,14 @@ export class DeleteFlowCommand extends $Command< private serialize( input: DeleteFlowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFlowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFlowCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/DescribeFlowCommand.ts b/clients/client-mediaconnect/commands/DescribeFlowCommand.ts index 8a8d43c266ce..653d08885538 100644 --- a/clients/client-mediaconnect/commands/DescribeFlowCommand.ts +++ b/clients/client-mediaconnect/commands/DescribeFlowCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFlowCommandInput = DescribeFlowRequest; @@ -64,14 +64,14 @@ export class DescribeFlowCommand extends $Command< private serialize( input: DescribeFlowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeFlowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeFlowCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/GrantFlowEntitlementsCommand.ts b/clients/client-mediaconnect/commands/GrantFlowEntitlementsCommand.ts index 6bccea89824c..c8203e1f1bc6 100644 --- a/clients/client-mediaconnect/commands/GrantFlowEntitlementsCommand.ts +++ b/clients/client-mediaconnect/commands/GrantFlowEntitlementsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GrantFlowEntitlementsCommandInput = GrantFlowEntitlementsRequest; @@ -70,14 +70,14 @@ export class GrantFlowEntitlementsCommand extends $Command< private serialize( input: GrantFlowEntitlementsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GrantFlowEntitlementsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GrantFlowEntitlementsCommand( output, diff --git a/clients/client-mediaconnect/commands/ListEntitlementsCommand.ts b/clients/client-mediaconnect/commands/ListEntitlementsCommand.ts index 73ef276d3350..4203afdea18a 100644 --- a/clients/client-mediaconnect/commands/ListEntitlementsCommand.ts +++ b/clients/client-mediaconnect/commands/ListEntitlementsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEntitlementsCommandInput = ListEntitlementsRequest; @@ -67,14 +67,14 @@ export class ListEntitlementsCommand extends $Command< private serialize( input: ListEntitlementsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListEntitlementsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListEntitlementsCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/ListFlowsCommand.ts b/clients/client-mediaconnect/commands/ListFlowsCommand.ts index 0ad8d08c3e34..897b2fff1fb2 100644 --- a/clients/client-mediaconnect/commands/ListFlowsCommand.ts +++ b/clients/client-mediaconnect/commands/ListFlowsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFlowsCommandInput = ListFlowsRequest; @@ -64,14 +64,14 @@ export class ListFlowsCommand extends $Command< private serialize( input: ListFlowsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFlowsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFlowsCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/ListTagsForResourceCommand.ts b/clients/client-mediaconnect/commands/ListTagsForResourceCommand.ts index 74467a773b39..ec21311ff17b 100644 --- a/clients/client-mediaconnect/commands/ListTagsForResourceCommand.ts +++ b/clients/client-mediaconnect/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-mediaconnect/commands/RemoveFlowOutputCommand.ts b/clients/client-mediaconnect/commands/RemoveFlowOutputCommand.ts index 8168d02a18d2..e182e257cff8 100644 --- a/clients/client-mediaconnect/commands/RemoveFlowOutputCommand.ts +++ b/clients/client-mediaconnect/commands/RemoveFlowOutputCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveFlowOutputCommandInput = RemoveFlowOutputRequest; @@ -67,14 +67,14 @@ export class RemoveFlowOutputCommand extends $Command< private serialize( input: RemoveFlowOutputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RemoveFlowOutputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RemoveFlowOutputCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/RevokeFlowEntitlementCommand.ts b/clients/client-mediaconnect/commands/RevokeFlowEntitlementCommand.ts index d93284650797..fdd662d81a01 100644 --- a/clients/client-mediaconnect/commands/RevokeFlowEntitlementCommand.ts +++ b/clients/client-mediaconnect/commands/RevokeFlowEntitlementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeFlowEntitlementCommandInput = RevokeFlowEntitlementRequest; @@ -70,14 +70,14 @@ export class RevokeFlowEntitlementCommand extends $Command< private serialize( input: RevokeFlowEntitlementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RevokeFlowEntitlementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RevokeFlowEntitlementCommand( output, diff --git a/clients/client-mediaconnect/commands/StartFlowCommand.ts b/clients/client-mediaconnect/commands/StartFlowCommand.ts index 3d869893cbb8..d31b57f49ca8 100644 --- a/clients/client-mediaconnect/commands/StartFlowCommand.ts +++ b/clients/client-mediaconnect/commands/StartFlowCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartFlowCommandInput = StartFlowRequest; @@ -64,14 +64,14 @@ export class StartFlowCommand extends $Command< private serialize( input: StartFlowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartFlowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartFlowCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/StopFlowCommand.ts b/clients/client-mediaconnect/commands/StopFlowCommand.ts index 031b839ba120..931671929e24 100644 --- a/clients/client-mediaconnect/commands/StopFlowCommand.ts +++ b/clients/client-mediaconnect/commands/StopFlowCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopFlowCommandInput = StopFlowRequest; @@ -64,14 +64,14 @@ export class StopFlowCommand extends $Command< private serialize( input: StopFlowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopFlowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopFlowCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/TagResourceCommand.ts b/clients/client-mediaconnect/commands/TagResourceCommand.ts index 42808ed917cd..ef8842f349f9 100644 --- a/clients/client-mediaconnect/commands/TagResourceCommand.ts +++ b/clients/client-mediaconnect/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/UntagResourceCommand.ts b/clients/client-mediaconnect/commands/UntagResourceCommand.ts index 5c69dce196c2..7484b99d926c 100644 --- a/clients/client-mediaconnect/commands/UntagResourceCommand.ts +++ b/clients/client-mediaconnect/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/UpdateFlowEntitlementCommand.ts b/clients/client-mediaconnect/commands/UpdateFlowEntitlementCommand.ts index f1257f5db46d..d01c45670a9a 100644 --- a/clients/client-mediaconnect/commands/UpdateFlowEntitlementCommand.ts +++ b/clients/client-mediaconnect/commands/UpdateFlowEntitlementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFlowEntitlementCommandInput = UpdateFlowEntitlementRequest; @@ -70,14 +70,14 @@ export class UpdateFlowEntitlementCommand extends $Command< private serialize( input: UpdateFlowEntitlementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFlowEntitlementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFlowEntitlementCommand( output, diff --git a/clients/client-mediaconnect/commands/UpdateFlowOutputCommand.ts b/clients/client-mediaconnect/commands/UpdateFlowOutputCommand.ts index 4aa9f823f606..c04024c20dea 100644 --- a/clients/client-mediaconnect/commands/UpdateFlowOutputCommand.ts +++ b/clients/client-mediaconnect/commands/UpdateFlowOutputCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFlowOutputCommandInput = UpdateFlowOutputRequest; @@ -67,14 +67,14 @@ export class UpdateFlowOutputCommand extends $Command< private serialize( input: UpdateFlowOutputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFlowOutputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFlowOutputCommand(output, context); } diff --git a/clients/client-mediaconnect/commands/UpdateFlowSourceCommand.ts b/clients/client-mediaconnect/commands/UpdateFlowSourceCommand.ts index 796fb87d1429..c1da3b5d6f3d 100644 --- a/clients/client-mediaconnect/commands/UpdateFlowSourceCommand.ts +++ b/clients/client-mediaconnect/commands/UpdateFlowSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFlowSourceCommandInput = UpdateFlowSourceRequest; @@ -67,14 +67,14 @@ export class UpdateFlowSourceCommand extends $Command< private serialize( input: UpdateFlowSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFlowSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFlowSourceCommand(output, context); } diff --git a/clients/client-mediaconnect/protocols/Aws_restJson1_1.ts b/clients/client-mediaconnect/protocols/Aws_restJson1_1.ts index 61e136512603..e049805d10c2 100644 --- a/clients/client-mediaconnect/protocols/Aws_restJson1_1.ts +++ b/clients/client-mediaconnect/protocols/Aws_restJson1_1.ts @@ -3149,6 +3149,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-mediaconvert/commands/AssociateCertificateCommand.ts b/clients/client-mediaconvert/commands/AssociateCertificateCommand.ts index afedcfd1498b..e8bed5a1f341 100644 --- a/clients/client-mediaconvert/commands/AssociateCertificateCommand.ts +++ b/clients/client-mediaconvert/commands/AssociateCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateCertificateCommandInput = AssociateCertificateRequest; @@ -70,14 +70,14 @@ export class AssociateCertificateCommand extends $Command< private serialize( input: AssociateCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateCertificateCommand( output, diff --git a/clients/client-mediaconvert/commands/CancelJobCommand.ts b/clients/client-mediaconvert/commands/CancelJobCommand.ts index cc07bf500af8..ded47fe446ab 100644 --- a/clients/client-mediaconvert/commands/CancelJobCommand.ts +++ b/clients/client-mediaconvert/commands/CancelJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelJobCommandInput = CancelJobRequest; @@ -64,14 +64,14 @@ export class CancelJobCommand extends $Command< private serialize( input: CancelJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelJobCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/CreateJobCommand.ts b/clients/client-mediaconvert/commands/CreateJobCommand.ts index 9a3b71b0d6ce..2e4a7ad82a09 100644 --- a/clients/client-mediaconvert/commands/CreateJobCommand.ts +++ b/clients/client-mediaconvert/commands/CreateJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateJobCommandInput = CreateJobRequest; @@ -64,14 +64,14 @@ export class CreateJobCommand extends $Command< private serialize( input: CreateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateJobCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/CreateJobTemplateCommand.ts b/clients/client-mediaconvert/commands/CreateJobTemplateCommand.ts index ef7b02352a69..96272a129b35 100644 --- a/clients/client-mediaconvert/commands/CreateJobTemplateCommand.ts +++ b/clients/client-mediaconvert/commands/CreateJobTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateJobTemplateCommandInput = CreateJobTemplateRequest; @@ -67,14 +67,14 @@ export class CreateJobTemplateCommand extends $Command< private serialize( input: CreateJobTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateJobTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateJobTemplateCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/CreatePresetCommand.ts b/clients/client-mediaconvert/commands/CreatePresetCommand.ts index ce3e60d8f704..0dca08530fc1 100644 --- a/clients/client-mediaconvert/commands/CreatePresetCommand.ts +++ b/clients/client-mediaconvert/commands/CreatePresetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePresetCommandInput = CreatePresetRequest; @@ -64,14 +64,14 @@ export class CreatePresetCommand extends $Command< private serialize( input: CreatePresetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePresetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePresetCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/CreateQueueCommand.ts b/clients/client-mediaconvert/commands/CreateQueueCommand.ts index a08df3fefde9..70e057578545 100644 --- a/clients/client-mediaconvert/commands/CreateQueueCommand.ts +++ b/clients/client-mediaconvert/commands/CreateQueueCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateQueueCommandInput = CreateQueueRequest; @@ -64,14 +64,14 @@ export class CreateQueueCommand extends $Command< private serialize( input: CreateQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateQueueCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/DeleteJobTemplateCommand.ts b/clients/client-mediaconvert/commands/DeleteJobTemplateCommand.ts index e93fa120a70d..e6bb140b8ee2 100644 --- a/clients/client-mediaconvert/commands/DeleteJobTemplateCommand.ts +++ b/clients/client-mediaconvert/commands/DeleteJobTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteJobTemplateCommandInput = DeleteJobTemplateRequest; @@ -67,14 +67,14 @@ export class DeleteJobTemplateCommand extends $Command< private serialize( input: DeleteJobTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteJobTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteJobTemplateCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/DeletePresetCommand.ts b/clients/client-mediaconvert/commands/DeletePresetCommand.ts index 5a5a5aba3aa9..e57570725a4f 100644 --- a/clients/client-mediaconvert/commands/DeletePresetCommand.ts +++ b/clients/client-mediaconvert/commands/DeletePresetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePresetCommandInput = DeletePresetRequest; @@ -64,14 +64,14 @@ export class DeletePresetCommand extends $Command< private serialize( input: DeletePresetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePresetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePresetCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/DeleteQueueCommand.ts b/clients/client-mediaconvert/commands/DeleteQueueCommand.ts index d0e0badc9edf..d48fcd4d69a6 100644 --- a/clients/client-mediaconvert/commands/DeleteQueueCommand.ts +++ b/clients/client-mediaconvert/commands/DeleteQueueCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteQueueCommandInput = DeleteQueueRequest; @@ -64,14 +64,14 @@ export class DeleteQueueCommand extends $Command< private serialize( input: DeleteQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteQueueCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/DescribeEndpointsCommand.ts b/clients/client-mediaconvert/commands/DescribeEndpointsCommand.ts index e7747a1fc1b9..fd4bac507d96 100644 --- a/clients/client-mediaconvert/commands/DescribeEndpointsCommand.ts +++ b/clients/client-mediaconvert/commands/DescribeEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEndpointsCommandInput = DescribeEndpointsRequest; @@ -67,14 +67,14 @@ export class DescribeEndpointsCommand extends $Command< private serialize( input: DescribeEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeEndpointsCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/DisassociateCertificateCommand.ts b/clients/client-mediaconvert/commands/DisassociateCertificateCommand.ts index 4bf5fb48257a..5dc7a58d13e1 100644 --- a/clients/client-mediaconvert/commands/DisassociateCertificateCommand.ts +++ b/clients/client-mediaconvert/commands/DisassociateCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateCertificateCommandInput = DisassociateCertificateRequest; @@ -70,7 +70,7 @@ export class DisassociateCertificateCommand extends $Command< private serialize( input: DisassociateCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateCertificateCommand( input, @@ -80,7 +80,7 @@ export class DisassociateCertificateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateCertificateCommand( output, diff --git a/clients/client-mediaconvert/commands/GetJobCommand.ts b/clients/client-mediaconvert/commands/GetJobCommand.ts index a510a6153bc0..22a149926d1e 100644 --- a/clients/client-mediaconvert/commands/GetJobCommand.ts +++ b/clients/client-mediaconvert/commands/GetJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobCommandInput = GetJobRequest; @@ -64,14 +64,14 @@ export class GetJobCommand extends $Command< private serialize( input: GetJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetJobCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/GetJobTemplateCommand.ts b/clients/client-mediaconvert/commands/GetJobTemplateCommand.ts index 5d8a4e8d381c..4ce8e0e35aae 100644 --- a/clients/client-mediaconvert/commands/GetJobTemplateCommand.ts +++ b/clients/client-mediaconvert/commands/GetJobTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobTemplateCommandInput = GetJobTemplateRequest; @@ -64,14 +64,14 @@ export class GetJobTemplateCommand extends $Command< private serialize( input: GetJobTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetJobTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetJobTemplateCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/GetPresetCommand.ts b/clients/client-mediaconvert/commands/GetPresetCommand.ts index 0383319dcc21..e7fa73a1c59d 100644 --- a/clients/client-mediaconvert/commands/GetPresetCommand.ts +++ b/clients/client-mediaconvert/commands/GetPresetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPresetCommandInput = GetPresetRequest; @@ -64,14 +64,14 @@ export class GetPresetCommand extends $Command< private serialize( input: GetPresetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPresetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPresetCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/GetQueueCommand.ts b/clients/client-mediaconvert/commands/GetQueueCommand.ts index 32a04e4c7f6d..9ea931a7fe99 100644 --- a/clients/client-mediaconvert/commands/GetQueueCommand.ts +++ b/clients/client-mediaconvert/commands/GetQueueCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetQueueCommandInput = GetQueueRequest; @@ -64,14 +64,14 @@ export class GetQueueCommand extends $Command< private serialize( input: GetQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetQueueCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/ListJobTemplatesCommand.ts b/clients/client-mediaconvert/commands/ListJobTemplatesCommand.ts index f59d1b847e3a..92f1f28e9eb4 100644 --- a/clients/client-mediaconvert/commands/ListJobTemplatesCommand.ts +++ b/clients/client-mediaconvert/commands/ListJobTemplatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobTemplatesCommandInput = ListJobTemplatesRequest; @@ -67,14 +67,14 @@ export class ListJobTemplatesCommand extends $Command< private serialize( input: ListJobTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJobTemplatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJobTemplatesCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/ListJobsCommand.ts b/clients/client-mediaconvert/commands/ListJobsCommand.ts index 5101e69a9613..959f44f9cfd7 100644 --- a/clients/client-mediaconvert/commands/ListJobsCommand.ts +++ b/clients/client-mediaconvert/commands/ListJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsCommandInput = ListJobsRequest; @@ -64,14 +64,14 @@ export class ListJobsCommand extends $Command< private serialize( input: ListJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJobsCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/ListPresetsCommand.ts b/clients/client-mediaconvert/commands/ListPresetsCommand.ts index 36335cd63ed1..5d86798ccaab 100644 --- a/clients/client-mediaconvert/commands/ListPresetsCommand.ts +++ b/clients/client-mediaconvert/commands/ListPresetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPresetsCommandInput = ListPresetsRequest; @@ -64,14 +64,14 @@ export class ListPresetsCommand extends $Command< private serialize( input: ListPresetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPresetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPresetsCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/ListQueuesCommand.ts b/clients/client-mediaconvert/commands/ListQueuesCommand.ts index df7e2cacc4d9..d6e64f3efbd4 100644 --- a/clients/client-mediaconvert/commands/ListQueuesCommand.ts +++ b/clients/client-mediaconvert/commands/ListQueuesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListQueuesCommandInput = ListQueuesRequest; @@ -64,14 +64,14 @@ export class ListQueuesCommand extends $Command< private serialize( input: ListQueuesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListQueuesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListQueuesCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/ListTagsForResourceCommand.ts b/clients/client-mediaconvert/commands/ListTagsForResourceCommand.ts index 0efb0fd910c4..eed4d78d5805 100644 --- a/clients/client-mediaconvert/commands/ListTagsForResourceCommand.ts +++ b/clients/client-mediaconvert/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-mediaconvert/commands/TagResourceCommand.ts b/clients/client-mediaconvert/commands/TagResourceCommand.ts index 341e0e800988..c23d92821234 100644 --- a/clients/client-mediaconvert/commands/TagResourceCommand.ts +++ b/clients/client-mediaconvert/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/UntagResourceCommand.ts b/clients/client-mediaconvert/commands/UntagResourceCommand.ts index f05f52ea64c6..593a10f4cefe 100644 --- a/clients/client-mediaconvert/commands/UntagResourceCommand.ts +++ b/clients/client-mediaconvert/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/UpdateJobTemplateCommand.ts b/clients/client-mediaconvert/commands/UpdateJobTemplateCommand.ts index 27e90a892776..3869d66bfde1 100644 --- a/clients/client-mediaconvert/commands/UpdateJobTemplateCommand.ts +++ b/clients/client-mediaconvert/commands/UpdateJobTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateJobTemplateCommandInput = UpdateJobTemplateRequest; @@ -67,14 +67,14 @@ export class UpdateJobTemplateCommand extends $Command< private serialize( input: UpdateJobTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateJobTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateJobTemplateCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/UpdatePresetCommand.ts b/clients/client-mediaconvert/commands/UpdatePresetCommand.ts index d3865bb69266..b4d945bd3e0c 100644 --- a/clients/client-mediaconvert/commands/UpdatePresetCommand.ts +++ b/clients/client-mediaconvert/commands/UpdatePresetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePresetCommandInput = UpdatePresetRequest; @@ -64,14 +64,14 @@ export class UpdatePresetCommand extends $Command< private serialize( input: UpdatePresetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdatePresetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdatePresetCommand(output, context); } diff --git a/clients/client-mediaconvert/commands/UpdateQueueCommand.ts b/clients/client-mediaconvert/commands/UpdateQueueCommand.ts index 1167a05e2d62..137b91861054 100644 --- a/clients/client-mediaconvert/commands/UpdateQueueCommand.ts +++ b/clients/client-mediaconvert/commands/UpdateQueueCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateQueueCommandInput = UpdateQueueRequest; @@ -64,14 +64,14 @@ export class UpdateQueueCommand extends $Command< private serialize( input: UpdateQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateQueueCommand(output, context); } diff --git a/clients/client-mediaconvert/protocols/Aws_restJson1_1.ts b/clients/client-mediaconvert/protocols/Aws_restJson1_1.ts index b6043fd9f38e..21d82092cb6e 100644 --- a/clients/client-mediaconvert/protocols/Aws_restJson1_1.ts +++ b/clients/client-mediaconvert/protocols/Aws_restJson1_1.ts @@ -13613,6 +13613,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-medialive/commands/BatchUpdateScheduleCommand.ts b/clients/client-medialive/commands/BatchUpdateScheduleCommand.ts index b3f275fcd679..062120f3851c 100644 --- a/clients/client-medialive/commands/BatchUpdateScheduleCommand.ts +++ b/clients/client-medialive/commands/BatchUpdateScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchUpdateScheduleCommandInput = BatchUpdateScheduleRequest; @@ -70,14 +70,14 @@ export class BatchUpdateScheduleCommand extends $Command< private serialize( input: BatchUpdateScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchUpdateScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchUpdateScheduleCommand( output, diff --git a/clients/client-medialive/commands/CreateChannelCommand.ts b/clients/client-medialive/commands/CreateChannelCommand.ts index 2b58c8bcf3da..baa9290f0e0e 100644 --- a/clients/client-medialive/commands/CreateChannelCommand.ts +++ b/clients/client-medialive/commands/CreateChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateChannelCommandInput = CreateChannelRequest; @@ -64,14 +64,14 @@ export class CreateChannelCommand extends $Command< private serialize( input: CreateChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateChannelCommand(output, context); } diff --git a/clients/client-medialive/commands/CreateInputCommand.ts b/clients/client-medialive/commands/CreateInputCommand.ts index df3a74a16cee..02e53e7013bb 100644 --- a/clients/client-medialive/commands/CreateInputCommand.ts +++ b/clients/client-medialive/commands/CreateInputCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInputCommandInput = CreateInputRequest; @@ -64,14 +64,14 @@ export class CreateInputCommand extends $Command< private serialize( input: CreateInputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateInputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateInputCommand(output, context); } diff --git a/clients/client-medialive/commands/CreateInputSecurityGroupCommand.ts b/clients/client-medialive/commands/CreateInputSecurityGroupCommand.ts index 31a043093826..139fdf447d14 100644 --- a/clients/client-medialive/commands/CreateInputSecurityGroupCommand.ts +++ b/clients/client-medialive/commands/CreateInputSecurityGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInputSecurityGroupCommandInput = CreateInputSecurityGroupRequest; @@ -70,7 +70,7 @@ export class CreateInputSecurityGroupCommand extends $Command< private serialize( input: CreateInputSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateInputSecurityGroupCommand( input, @@ -80,7 +80,7 @@ export class CreateInputSecurityGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateInputSecurityGroupCommand( output, diff --git a/clients/client-medialive/commands/CreateMultiplexCommand.ts b/clients/client-medialive/commands/CreateMultiplexCommand.ts index 47b10dbaacc5..e088a2ee48c5 100644 --- a/clients/client-medialive/commands/CreateMultiplexCommand.ts +++ b/clients/client-medialive/commands/CreateMultiplexCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMultiplexCommandInput = CreateMultiplexRequest; @@ -67,14 +67,14 @@ export class CreateMultiplexCommand extends $Command< private serialize( input: CreateMultiplexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateMultiplexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateMultiplexCommand(output, context); } diff --git a/clients/client-medialive/commands/CreateMultiplexProgramCommand.ts b/clients/client-medialive/commands/CreateMultiplexProgramCommand.ts index 13c6774d2027..72fbb5ec64c7 100644 --- a/clients/client-medialive/commands/CreateMultiplexProgramCommand.ts +++ b/clients/client-medialive/commands/CreateMultiplexProgramCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMultiplexProgramCommandInput = CreateMultiplexProgramRequest; @@ -70,7 +70,7 @@ export class CreateMultiplexProgramCommand extends $Command< private serialize( input: CreateMultiplexProgramCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateMultiplexProgramCommand( input, @@ -80,7 +80,7 @@ export class CreateMultiplexProgramCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateMultiplexProgramCommand( output, diff --git a/clients/client-medialive/commands/CreateTagsCommand.ts b/clients/client-medialive/commands/CreateTagsCommand.ts index 18373c8957c9..e90c314ac2a3 100644 --- a/clients/client-medialive/commands/CreateTagsCommand.ts +++ b/clients/client-medialive/commands/CreateTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTagsCommandInput = CreateTagsRequest; @@ -65,14 +65,14 @@ export class CreateTagsCommand extends $Command< private serialize( input: CreateTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateTagsCommand(output, context); } diff --git a/clients/client-medialive/commands/DeleteChannelCommand.ts b/clients/client-medialive/commands/DeleteChannelCommand.ts index eef3acb9b152..b502ca593c77 100644 --- a/clients/client-medialive/commands/DeleteChannelCommand.ts +++ b/clients/client-medialive/commands/DeleteChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteChannelCommandInput = DeleteChannelRequest; @@ -64,14 +64,14 @@ export class DeleteChannelCommand extends $Command< private serialize( input: DeleteChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteChannelCommand(output, context); } diff --git a/clients/client-medialive/commands/DeleteInputCommand.ts b/clients/client-medialive/commands/DeleteInputCommand.ts index e211aec487ac..3197fafccb1b 100644 --- a/clients/client-medialive/commands/DeleteInputCommand.ts +++ b/clients/client-medialive/commands/DeleteInputCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInputCommandInput = DeleteInputRequest; @@ -64,14 +64,14 @@ export class DeleteInputCommand extends $Command< private serialize( input: DeleteInputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteInputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteInputCommand(output, context); } diff --git a/clients/client-medialive/commands/DeleteInputSecurityGroupCommand.ts b/clients/client-medialive/commands/DeleteInputSecurityGroupCommand.ts index 89c46931323a..3fad7b5a3483 100644 --- a/clients/client-medialive/commands/DeleteInputSecurityGroupCommand.ts +++ b/clients/client-medialive/commands/DeleteInputSecurityGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInputSecurityGroupCommandInput = DeleteInputSecurityGroupRequest; @@ -70,7 +70,7 @@ export class DeleteInputSecurityGroupCommand extends $Command< private serialize( input: DeleteInputSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteInputSecurityGroupCommand( input, @@ -80,7 +80,7 @@ export class DeleteInputSecurityGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteInputSecurityGroupCommand( output, diff --git a/clients/client-medialive/commands/DeleteMultiplexCommand.ts b/clients/client-medialive/commands/DeleteMultiplexCommand.ts index 88f4bd8e4e41..49f48fd91e29 100644 --- a/clients/client-medialive/commands/DeleteMultiplexCommand.ts +++ b/clients/client-medialive/commands/DeleteMultiplexCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMultiplexCommandInput = DeleteMultiplexRequest; @@ -67,14 +67,14 @@ export class DeleteMultiplexCommand extends $Command< private serialize( input: DeleteMultiplexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMultiplexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMultiplexCommand(output, context); } diff --git a/clients/client-medialive/commands/DeleteMultiplexProgramCommand.ts b/clients/client-medialive/commands/DeleteMultiplexProgramCommand.ts index 2c44b5e8f6b3..34760c71e0b8 100644 --- a/clients/client-medialive/commands/DeleteMultiplexProgramCommand.ts +++ b/clients/client-medialive/commands/DeleteMultiplexProgramCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMultiplexProgramCommandInput = DeleteMultiplexProgramRequest; @@ -70,7 +70,7 @@ export class DeleteMultiplexProgramCommand extends $Command< private serialize( input: DeleteMultiplexProgramCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMultiplexProgramCommand( input, @@ -80,7 +80,7 @@ export class DeleteMultiplexProgramCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMultiplexProgramCommand( output, diff --git a/clients/client-medialive/commands/DeleteReservationCommand.ts b/clients/client-medialive/commands/DeleteReservationCommand.ts index f5df33f2b562..d54aea108b0f 100644 --- a/clients/client-medialive/commands/DeleteReservationCommand.ts +++ b/clients/client-medialive/commands/DeleteReservationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReservationCommandInput = DeleteReservationRequest; @@ -67,14 +67,14 @@ export class DeleteReservationCommand extends $Command< private serialize( input: DeleteReservationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteReservationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteReservationCommand(output, context); } diff --git a/clients/client-medialive/commands/DeleteScheduleCommand.ts b/clients/client-medialive/commands/DeleteScheduleCommand.ts index 884985b934f2..e6df1733b632 100644 --- a/clients/client-medialive/commands/DeleteScheduleCommand.ts +++ b/clients/client-medialive/commands/DeleteScheduleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteScheduleCommandInput = DeleteScheduleRequest; @@ -64,14 +64,14 @@ export class DeleteScheduleCommand extends $Command< private serialize( input: DeleteScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteScheduleCommand(output, context); } diff --git a/clients/client-medialive/commands/DeleteTagsCommand.ts b/clients/client-medialive/commands/DeleteTagsCommand.ts index 7dcd0f552626..bbf99ac1e199 100644 --- a/clients/client-medialive/commands/DeleteTagsCommand.ts +++ b/clients/client-medialive/commands/DeleteTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagsCommandInput = DeleteTagsRequest; @@ -65,14 +65,14 @@ export class DeleteTagsCommand extends $Command< private serialize( input: DeleteTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteTagsCommand(output, context); } diff --git a/clients/client-medialive/commands/DescribeChannelCommand.ts b/clients/client-medialive/commands/DescribeChannelCommand.ts index d36a542f7415..3c8f9e295034 100644 --- a/clients/client-medialive/commands/DescribeChannelCommand.ts +++ b/clients/client-medialive/commands/DescribeChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeChannelCommandInput = DescribeChannelRequest; @@ -67,14 +67,14 @@ export class DescribeChannelCommand extends $Command< private serialize( input: DescribeChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeChannelCommand(output, context); } diff --git a/clients/client-medialive/commands/DescribeInputCommand.ts b/clients/client-medialive/commands/DescribeInputCommand.ts index 17f9a24d0d70..6c36e7af1af5 100644 --- a/clients/client-medialive/commands/DescribeInputCommand.ts +++ b/clients/client-medialive/commands/DescribeInputCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInputCommandInput = DescribeInputRequest; @@ -64,14 +64,14 @@ export class DescribeInputCommand extends $Command< private serialize( input: DescribeInputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeInputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeInputCommand(output, context); } diff --git a/clients/client-medialive/commands/DescribeInputSecurityGroupCommand.ts b/clients/client-medialive/commands/DescribeInputSecurityGroupCommand.ts index f863a28c8485..321259f5222f 100644 --- a/clients/client-medialive/commands/DescribeInputSecurityGroupCommand.ts +++ b/clients/client-medialive/commands/DescribeInputSecurityGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInputSecurityGroupCommandInput = DescribeInputSecurityGroupRequest; @@ -70,7 +70,7 @@ export class DescribeInputSecurityGroupCommand extends $Command< private serialize( input: DescribeInputSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeInputSecurityGroupCommand( input, @@ -80,7 +80,7 @@ export class DescribeInputSecurityGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeInputSecurityGroupCommand( output, diff --git a/clients/client-medialive/commands/DescribeMultiplexCommand.ts b/clients/client-medialive/commands/DescribeMultiplexCommand.ts index 532a00506740..e655bbc80eae 100644 --- a/clients/client-medialive/commands/DescribeMultiplexCommand.ts +++ b/clients/client-medialive/commands/DescribeMultiplexCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMultiplexCommandInput = DescribeMultiplexRequest; @@ -67,14 +67,14 @@ export class DescribeMultiplexCommand extends $Command< private serialize( input: DescribeMultiplexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeMultiplexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeMultiplexCommand(output, context); } diff --git a/clients/client-medialive/commands/DescribeMultiplexProgramCommand.ts b/clients/client-medialive/commands/DescribeMultiplexProgramCommand.ts index 8283c9a6fcfe..591c80b588b1 100644 --- a/clients/client-medialive/commands/DescribeMultiplexProgramCommand.ts +++ b/clients/client-medialive/commands/DescribeMultiplexProgramCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMultiplexProgramCommandInput = DescribeMultiplexProgramRequest; @@ -70,7 +70,7 @@ export class DescribeMultiplexProgramCommand extends $Command< private serialize( input: DescribeMultiplexProgramCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeMultiplexProgramCommand( input, @@ -80,7 +80,7 @@ export class DescribeMultiplexProgramCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeMultiplexProgramCommand( output, diff --git a/clients/client-medialive/commands/DescribeOfferingCommand.ts b/clients/client-medialive/commands/DescribeOfferingCommand.ts index 6105c1693405..58fe2f457955 100644 --- a/clients/client-medialive/commands/DescribeOfferingCommand.ts +++ b/clients/client-medialive/commands/DescribeOfferingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOfferingCommandInput = DescribeOfferingRequest; @@ -67,14 +67,14 @@ export class DescribeOfferingCommand extends $Command< private serialize( input: DescribeOfferingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeOfferingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeOfferingCommand(output, context); } diff --git a/clients/client-medialive/commands/DescribeReservationCommand.ts b/clients/client-medialive/commands/DescribeReservationCommand.ts index 286d22958486..7d97c2f54d60 100644 --- a/clients/client-medialive/commands/DescribeReservationCommand.ts +++ b/clients/client-medialive/commands/DescribeReservationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservationCommandInput = DescribeReservationRequest; @@ -70,14 +70,14 @@ export class DescribeReservationCommand extends $Command< private serialize( input: DescribeReservationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeReservationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeReservationCommand( output, diff --git a/clients/client-medialive/commands/DescribeScheduleCommand.ts b/clients/client-medialive/commands/DescribeScheduleCommand.ts index 3fe8c9765ec0..2063d35d38c8 100644 --- a/clients/client-medialive/commands/DescribeScheduleCommand.ts +++ b/clients/client-medialive/commands/DescribeScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScheduleCommandInput = DescribeScheduleRequest; @@ -67,14 +67,14 @@ export class DescribeScheduleCommand extends $Command< private serialize( input: DescribeScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeScheduleCommand(output, context); } diff --git a/clients/client-medialive/commands/ListChannelsCommand.ts b/clients/client-medialive/commands/ListChannelsCommand.ts index 80da24441bec..e9f6d4f95730 100644 --- a/clients/client-medialive/commands/ListChannelsCommand.ts +++ b/clients/client-medialive/commands/ListChannelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListChannelsCommandInput = ListChannelsRequest; @@ -64,14 +64,14 @@ export class ListChannelsCommand extends $Command< private serialize( input: ListChannelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListChannelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListChannelsCommand(output, context); } diff --git a/clients/client-medialive/commands/ListInputSecurityGroupsCommand.ts b/clients/client-medialive/commands/ListInputSecurityGroupsCommand.ts index 9b1a57567fad..34869ce02c1f 100644 --- a/clients/client-medialive/commands/ListInputSecurityGroupsCommand.ts +++ b/clients/client-medialive/commands/ListInputSecurityGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInputSecurityGroupsCommandInput = ListInputSecurityGroupsRequest; @@ -70,7 +70,7 @@ export class ListInputSecurityGroupsCommand extends $Command< private serialize( input: ListInputSecurityGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListInputSecurityGroupsCommand( input, @@ -80,7 +80,7 @@ export class ListInputSecurityGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListInputSecurityGroupsCommand( output, diff --git a/clients/client-medialive/commands/ListInputsCommand.ts b/clients/client-medialive/commands/ListInputsCommand.ts index 648cefeef702..f252f4d94d5d 100644 --- a/clients/client-medialive/commands/ListInputsCommand.ts +++ b/clients/client-medialive/commands/ListInputsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInputsCommandInput = ListInputsRequest; @@ -64,14 +64,14 @@ export class ListInputsCommand extends $Command< private serialize( input: ListInputsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListInputsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListInputsCommand(output, context); } diff --git a/clients/client-medialive/commands/ListMultiplexProgramsCommand.ts b/clients/client-medialive/commands/ListMultiplexProgramsCommand.ts index b25f3a7df6cb..9b188cd41251 100644 --- a/clients/client-medialive/commands/ListMultiplexProgramsCommand.ts +++ b/clients/client-medialive/commands/ListMultiplexProgramsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMultiplexProgramsCommandInput = ListMultiplexProgramsRequest; @@ -70,14 +70,14 @@ export class ListMultiplexProgramsCommand extends $Command< private serialize( input: ListMultiplexProgramsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListMultiplexProgramsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListMultiplexProgramsCommand( output, diff --git a/clients/client-medialive/commands/ListMultiplexesCommand.ts b/clients/client-medialive/commands/ListMultiplexesCommand.ts index 7269d26e12c3..0ae7dd0ddc77 100644 --- a/clients/client-medialive/commands/ListMultiplexesCommand.ts +++ b/clients/client-medialive/commands/ListMultiplexesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMultiplexesCommandInput = ListMultiplexesRequest; @@ -67,14 +67,14 @@ export class ListMultiplexesCommand extends $Command< private serialize( input: ListMultiplexesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListMultiplexesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListMultiplexesCommand(output, context); } diff --git a/clients/client-medialive/commands/ListOfferingsCommand.ts b/clients/client-medialive/commands/ListOfferingsCommand.ts index 1143e6e4b2a2..afeb127bcd90 100644 --- a/clients/client-medialive/commands/ListOfferingsCommand.ts +++ b/clients/client-medialive/commands/ListOfferingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOfferingsCommandInput = ListOfferingsRequest; @@ -64,14 +64,14 @@ export class ListOfferingsCommand extends $Command< private serialize( input: ListOfferingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListOfferingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListOfferingsCommand(output, context); } diff --git a/clients/client-medialive/commands/ListReservationsCommand.ts b/clients/client-medialive/commands/ListReservationsCommand.ts index 396f017b5a3a..813448f48177 100644 --- a/clients/client-medialive/commands/ListReservationsCommand.ts +++ b/clients/client-medialive/commands/ListReservationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListReservationsCommandInput = ListReservationsRequest; @@ -67,14 +67,14 @@ export class ListReservationsCommand extends $Command< private serialize( input: ListReservationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListReservationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListReservationsCommand(output, context); } diff --git a/clients/client-medialive/commands/ListTagsForResourceCommand.ts b/clients/client-medialive/commands/ListTagsForResourceCommand.ts index 7fc806e5516a..43f37fcbc2d2 100644 --- a/clients/client-medialive/commands/ListTagsForResourceCommand.ts +++ b/clients/client-medialive/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-medialive/commands/PurchaseOfferingCommand.ts b/clients/client-medialive/commands/PurchaseOfferingCommand.ts index d1c7e443e824..59f0cd4426f8 100644 --- a/clients/client-medialive/commands/PurchaseOfferingCommand.ts +++ b/clients/client-medialive/commands/PurchaseOfferingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PurchaseOfferingCommandInput = PurchaseOfferingRequest; @@ -67,14 +67,14 @@ export class PurchaseOfferingCommand extends $Command< private serialize( input: PurchaseOfferingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PurchaseOfferingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PurchaseOfferingCommand(output, context); } diff --git a/clients/client-medialive/commands/StartChannelCommand.ts b/clients/client-medialive/commands/StartChannelCommand.ts index 0e9c2a27ffcb..b650ca324f8e 100644 --- a/clients/client-medialive/commands/StartChannelCommand.ts +++ b/clients/client-medialive/commands/StartChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartChannelCommandInput = StartChannelRequest; @@ -64,14 +64,14 @@ export class StartChannelCommand extends $Command< private serialize( input: StartChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartChannelCommand(output, context); } diff --git a/clients/client-medialive/commands/StartMultiplexCommand.ts b/clients/client-medialive/commands/StartMultiplexCommand.ts index 35382f3a9191..ffb69977a4b2 100644 --- a/clients/client-medialive/commands/StartMultiplexCommand.ts +++ b/clients/client-medialive/commands/StartMultiplexCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartMultiplexCommandInput = StartMultiplexRequest; @@ -64,14 +64,14 @@ export class StartMultiplexCommand extends $Command< private serialize( input: StartMultiplexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartMultiplexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartMultiplexCommand(output, context); } diff --git a/clients/client-medialive/commands/StopChannelCommand.ts b/clients/client-medialive/commands/StopChannelCommand.ts index b2a277003ba7..b906dffc0d77 100644 --- a/clients/client-medialive/commands/StopChannelCommand.ts +++ b/clients/client-medialive/commands/StopChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopChannelCommandInput = StopChannelRequest; @@ -64,14 +64,14 @@ export class StopChannelCommand extends $Command< private serialize( input: StopChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopChannelCommand(output, context); } diff --git a/clients/client-medialive/commands/StopMultiplexCommand.ts b/clients/client-medialive/commands/StopMultiplexCommand.ts index 45b45e130b1d..ce35bb5915cc 100644 --- a/clients/client-medialive/commands/StopMultiplexCommand.ts +++ b/clients/client-medialive/commands/StopMultiplexCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopMultiplexCommandInput = StopMultiplexRequest; @@ -64,14 +64,14 @@ export class StopMultiplexCommand extends $Command< private serialize( input: StopMultiplexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopMultiplexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopMultiplexCommand(output, context); } diff --git a/clients/client-medialive/commands/UpdateChannelClassCommand.ts b/clients/client-medialive/commands/UpdateChannelClassCommand.ts index 80f86de22b32..e53990d22cdb 100644 --- a/clients/client-medialive/commands/UpdateChannelClassCommand.ts +++ b/clients/client-medialive/commands/UpdateChannelClassCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateChannelClassCommandInput = UpdateChannelClassRequest; @@ -67,14 +67,14 @@ export class UpdateChannelClassCommand extends $Command< private serialize( input: UpdateChannelClassCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateChannelClassCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateChannelClassCommand(output, context); } diff --git a/clients/client-medialive/commands/UpdateChannelCommand.ts b/clients/client-medialive/commands/UpdateChannelCommand.ts index f0254f69eccd..32f13975f00b 100644 --- a/clients/client-medialive/commands/UpdateChannelCommand.ts +++ b/clients/client-medialive/commands/UpdateChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateChannelCommandInput = UpdateChannelRequest; @@ -64,14 +64,14 @@ export class UpdateChannelCommand extends $Command< private serialize( input: UpdateChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateChannelCommand(output, context); } diff --git a/clients/client-medialive/commands/UpdateInputCommand.ts b/clients/client-medialive/commands/UpdateInputCommand.ts index 02aefbbbc8e9..751744c3a977 100644 --- a/clients/client-medialive/commands/UpdateInputCommand.ts +++ b/clients/client-medialive/commands/UpdateInputCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateInputCommandInput = UpdateInputRequest; @@ -64,14 +64,14 @@ export class UpdateInputCommand extends $Command< private serialize( input: UpdateInputCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateInputCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateInputCommand(output, context); } diff --git a/clients/client-medialive/commands/UpdateInputSecurityGroupCommand.ts b/clients/client-medialive/commands/UpdateInputSecurityGroupCommand.ts index 124b5eba735c..c606f1752e4c 100644 --- a/clients/client-medialive/commands/UpdateInputSecurityGroupCommand.ts +++ b/clients/client-medialive/commands/UpdateInputSecurityGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateInputSecurityGroupCommandInput = UpdateInputSecurityGroupRequest; @@ -70,7 +70,7 @@ export class UpdateInputSecurityGroupCommand extends $Command< private serialize( input: UpdateInputSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateInputSecurityGroupCommand( input, @@ -80,7 +80,7 @@ export class UpdateInputSecurityGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateInputSecurityGroupCommand( output, diff --git a/clients/client-medialive/commands/UpdateMultiplexCommand.ts b/clients/client-medialive/commands/UpdateMultiplexCommand.ts index ce8aa56b6d8a..aa369fa554c1 100644 --- a/clients/client-medialive/commands/UpdateMultiplexCommand.ts +++ b/clients/client-medialive/commands/UpdateMultiplexCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMultiplexCommandInput = UpdateMultiplexRequest; @@ -67,14 +67,14 @@ export class UpdateMultiplexCommand extends $Command< private serialize( input: UpdateMultiplexCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateMultiplexCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateMultiplexCommand(output, context); } diff --git a/clients/client-medialive/commands/UpdateMultiplexProgramCommand.ts b/clients/client-medialive/commands/UpdateMultiplexProgramCommand.ts index cca8c02bf38d..d49853d32039 100644 --- a/clients/client-medialive/commands/UpdateMultiplexProgramCommand.ts +++ b/clients/client-medialive/commands/UpdateMultiplexProgramCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMultiplexProgramCommandInput = UpdateMultiplexProgramRequest; @@ -70,7 +70,7 @@ export class UpdateMultiplexProgramCommand extends $Command< private serialize( input: UpdateMultiplexProgramCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateMultiplexProgramCommand( input, @@ -80,7 +80,7 @@ export class UpdateMultiplexProgramCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateMultiplexProgramCommand( output, diff --git a/clients/client-medialive/commands/UpdateReservationCommand.ts b/clients/client-medialive/commands/UpdateReservationCommand.ts index d497142cf30d..7fdec93fcd97 100644 --- a/clients/client-medialive/commands/UpdateReservationCommand.ts +++ b/clients/client-medialive/commands/UpdateReservationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateReservationCommandInput = UpdateReservationRequest; @@ -67,14 +67,14 @@ export class UpdateReservationCommand extends $Command< private serialize( input: UpdateReservationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateReservationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateReservationCommand(output, context); } diff --git a/clients/client-medialive/protocols/Aws_restJson1_1.ts b/clients/client-medialive/protocols/Aws_restJson1_1.ts index 986ed10b1f0b..76f378ec8eb0 100644 --- a/clients/client-medialive/protocols/Aws_restJson1_1.ts +++ b/clients/client-medialive/protocols/Aws_restJson1_1.ts @@ -17841,6 +17841,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-mediapackage-vod/commands/CreateAssetCommand.ts b/clients/client-mediapackage-vod/commands/CreateAssetCommand.ts index 223d49c19203..43ed8f7a2dec 100644 --- a/clients/client-mediapackage-vod/commands/CreateAssetCommand.ts +++ b/clients/client-mediapackage-vod/commands/CreateAssetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAssetCommandInput = CreateAssetRequest; @@ -64,14 +64,14 @@ export class CreateAssetCommand extends $Command< private serialize( input: CreateAssetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateAssetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateAssetCommand(output, context); } diff --git a/clients/client-mediapackage-vod/commands/CreatePackagingConfigurationCommand.ts b/clients/client-mediapackage-vod/commands/CreatePackagingConfigurationCommand.ts index 9a1c6a2a9563..c83a8d34f74e 100644 --- a/clients/client-mediapackage-vod/commands/CreatePackagingConfigurationCommand.ts +++ b/clients/client-mediapackage-vod/commands/CreatePackagingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePackagingConfigurationCommandInput = CreatePackagingConfigurationRequest; @@ -70,7 +70,7 @@ export class CreatePackagingConfigurationCommand extends $Command< private serialize( input: CreatePackagingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePackagingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class CreatePackagingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePackagingConfigurationCommand( output, diff --git a/clients/client-mediapackage-vod/commands/CreatePackagingGroupCommand.ts b/clients/client-mediapackage-vod/commands/CreatePackagingGroupCommand.ts index 3c51dc0873ef..c0a1129a8007 100644 --- a/clients/client-mediapackage-vod/commands/CreatePackagingGroupCommand.ts +++ b/clients/client-mediapackage-vod/commands/CreatePackagingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePackagingGroupCommandInput = CreatePackagingGroupRequest; @@ -70,14 +70,14 @@ export class CreatePackagingGroupCommand extends $Command< private serialize( input: CreatePackagingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePackagingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePackagingGroupCommand( output, diff --git a/clients/client-mediapackage-vod/commands/DeleteAssetCommand.ts b/clients/client-mediapackage-vod/commands/DeleteAssetCommand.ts index 47fb816f0a2c..31e9371dac4a 100644 --- a/clients/client-mediapackage-vod/commands/DeleteAssetCommand.ts +++ b/clients/client-mediapackage-vod/commands/DeleteAssetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAssetCommandInput = DeleteAssetRequest; @@ -64,14 +64,14 @@ export class DeleteAssetCommand extends $Command< private serialize( input: DeleteAssetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAssetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAssetCommand(output, context); } diff --git a/clients/client-mediapackage-vod/commands/DeletePackagingConfigurationCommand.ts b/clients/client-mediapackage-vod/commands/DeletePackagingConfigurationCommand.ts index 1e8f25aa11ff..43b2e7de358f 100644 --- a/clients/client-mediapackage-vod/commands/DeletePackagingConfigurationCommand.ts +++ b/clients/client-mediapackage-vod/commands/DeletePackagingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePackagingConfigurationCommandInput = DeletePackagingConfigurationRequest; @@ -70,7 +70,7 @@ export class DeletePackagingConfigurationCommand extends $Command< private serialize( input: DeletePackagingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePackagingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeletePackagingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePackagingConfigurationCommand( output, diff --git a/clients/client-mediapackage-vod/commands/DeletePackagingGroupCommand.ts b/clients/client-mediapackage-vod/commands/DeletePackagingGroupCommand.ts index 041f42b45cf5..3e5c003a60a3 100644 --- a/clients/client-mediapackage-vod/commands/DeletePackagingGroupCommand.ts +++ b/clients/client-mediapackage-vod/commands/DeletePackagingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePackagingGroupCommandInput = DeletePackagingGroupRequest; @@ -70,14 +70,14 @@ export class DeletePackagingGroupCommand extends $Command< private serialize( input: DeletePackagingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePackagingGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePackagingGroupCommand( output, diff --git a/clients/client-mediapackage-vod/commands/DescribeAssetCommand.ts b/clients/client-mediapackage-vod/commands/DescribeAssetCommand.ts index 193f7fdf7179..6304ec666560 100644 --- a/clients/client-mediapackage-vod/commands/DescribeAssetCommand.ts +++ b/clients/client-mediapackage-vod/commands/DescribeAssetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAssetCommandInput = DescribeAssetRequest; @@ -64,14 +64,14 @@ export class DescribeAssetCommand extends $Command< private serialize( input: DescribeAssetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeAssetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeAssetCommand(output, context); } diff --git a/clients/client-mediapackage-vod/commands/DescribePackagingConfigurationCommand.ts b/clients/client-mediapackage-vod/commands/DescribePackagingConfigurationCommand.ts index 6c9322fa237f..e6c192659df2 100644 --- a/clients/client-mediapackage-vod/commands/DescribePackagingConfigurationCommand.ts +++ b/clients/client-mediapackage-vod/commands/DescribePackagingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePackagingConfigurationCommandInput = DescribePackagingConfigurationRequest; @@ -70,7 +70,7 @@ export class DescribePackagingConfigurationCommand extends $Command< private serialize( input: DescribePackagingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribePackagingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DescribePackagingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribePackagingConfigurationCommand( output, diff --git a/clients/client-mediapackage-vod/commands/DescribePackagingGroupCommand.ts b/clients/client-mediapackage-vod/commands/DescribePackagingGroupCommand.ts index 1db94cf1a988..dcb10be73c74 100644 --- a/clients/client-mediapackage-vod/commands/DescribePackagingGroupCommand.ts +++ b/clients/client-mediapackage-vod/commands/DescribePackagingGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePackagingGroupCommandInput = DescribePackagingGroupRequest; @@ -70,7 +70,7 @@ export class DescribePackagingGroupCommand extends $Command< private serialize( input: DescribePackagingGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribePackagingGroupCommand( input, @@ -80,7 +80,7 @@ export class DescribePackagingGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribePackagingGroupCommand( output, diff --git a/clients/client-mediapackage-vod/commands/ListAssetsCommand.ts b/clients/client-mediapackage-vod/commands/ListAssetsCommand.ts index ea04d80de9ea..028af173d0e4 100644 --- a/clients/client-mediapackage-vod/commands/ListAssetsCommand.ts +++ b/clients/client-mediapackage-vod/commands/ListAssetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssetsCommandInput = ListAssetsRequest; @@ -64,14 +64,14 @@ export class ListAssetsCommand extends $Command< private serialize( input: ListAssetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAssetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAssetsCommand(output, context); } diff --git a/clients/client-mediapackage-vod/commands/ListPackagingConfigurationsCommand.ts b/clients/client-mediapackage-vod/commands/ListPackagingConfigurationsCommand.ts index f35c778ba08f..c433ced04a0c 100644 --- a/clients/client-mediapackage-vod/commands/ListPackagingConfigurationsCommand.ts +++ b/clients/client-mediapackage-vod/commands/ListPackagingConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPackagingConfigurationsCommandInput = ListPackagingConfigurationsRequest; @@ -70,7 +70,7 @@ export class ListPackagingConfigurationsCommand extends $Command< private serialize( input: ListPackagingConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPackagingConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class ListPackagingConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPackagingConfigurationsCommand( output, diff --git a/clients/client-mediapackage-vod/commands/ListPackagingGroupsCommand.ts b/clients/client-mediapackage-vod/commands/ListPackagingGroupsCommand.ts index b6cebaf260bf..1e279a844610 100644 --- a/clients/client-mediapackage-vod/commands/ListPackagingGroupsCommand.ts +++ b/clients/client-mediapackage-vod/commands/ListPackagingGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPackagingGroupsCommandInput = ListPackagingGroupsRequest; @@ -70,14 +70,14 @@ export class ListPackagingGroupsCommand extends $Command< private serialize( input: ListPackagingGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPackagingGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPackagingGroupsCommand( output, diff --git a/clients/client-mediapackage-vod/protocols/Aws_restJson1_1.ts b/clients/client-mediapackage-vod/protocols/Aws_restJson1_1.ts index 189b8367c215..ec08d05cb8c8 100644 --- a/clients/client-mediapackage-vod/protocols/Aws_restJson1_1.ts +++ b/clients/client-mediapackage-vod/protocols/Aws_restJson1_1.ts @@ -2692,6 +2692,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-mediapackage/commands/CreateChannelCommand.ts b/clients/client-mediapackage/commands/CreateChannelCommand.ts index bede6e7b6c3f..88fe65e72d91 100644 --- a/clients/client-mediapackage/commands/CreateChannelCommand.ts +++ b/clients/client-mediapackage/commands/CreateChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateChannelCommandInput = CreateChannelRequest; @@ -64,14 +64,14 @@ export class CreateChannelCommand extends $Command< private serialize( input: CreateChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateChannelCommand(output, context); } diff --git a/clients/client-mediapackage/commands/CreateHarvestJobCommand.ts b/clients/client-mediapackage/commands/CreateHarvestJobCommand.ts index b4572b64db87..c21402b417a0 100644 --- a/clients/client-mediapackage/commands/CreateHarvestJobCommand.ts +++ b/clients/client-mediapackage/commands/CreateHarvestJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHarvestJobCommandInput = CreateHarvestJobRequest; @@ -67,14 +67,14 @@ export class CreateHarvestJobCommand extends $Command< private serialize( input: CreateHarvestJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateHarvestJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateHarvestJobCommand(output, context); } diff --git a/clients/client-mediapackage/commands/CreateOriginEndpointCommand.ts b/clients/client-mediapackage/commands/CreateOriginEndpointCommand.ts index 41a83083afc8..7a112255b92f 100644 --- a/clients/client-mediapackage/commands/CreateOriginEndpointCommand.ts +++ b/clients/client-mediapackage/commands/CreateOriginEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateOriginEndpointCommandInput = CreateOriginEndpointRequest; @@ -70,14 +70,14 @@ export class CreateOriginEndpointCommand extends $Command< private serialize( input: CreateOriginEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateOriginEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateOriginEndpointCommand( output, diff --git a/clients/client-mediapackage/commands/DeleteChannelCommand.ts b/clients/client-mediapackage/commands/DeleteChannelCommand.ts index 847d975983c1..e419c9507b30 100644 --- a/clients/client-mediapackage/commands/DeleteChannelCommand.ts +++ b/clients/client-mediapackage/commands/DeleteChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteChannelCommandInput = DeleteChannelRequest; @@ -64,14 +64,14 @@ export class DeleteChannelCommand extends $Command< private serialize( input: DeleteChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteChannelCommand(output, context); } diff --git a/clients/client-mediapackage/commands/DeleteOriginEndpointCommand.ts b/clients/client-mediapackage/commands/DeleteOriginEndpointCommand.ts index 17cd11997a03..4c6ccab699e7 100644 --- a/clients/client-mediapackage/commands/DeleteOriginEndpointCommand.ts +++ b/clients/client-mediapackage/commands/DeleteOriginEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteOriginEndpointCommandInput = DeleteOriginEndpointRequest; @@ -70,14 +70,14 @@ export class DeleteOriginEndpointCommand extends $Command< private serialize( input: DeleteOriginEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteOriginEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteOriginEndpointCommand( output, diff --git a/clients/client-mediapackage/commands/DescribeChannelCommand.ts b/clients/client-mediapackage/commands/DescribeChannelCommand.ts index 1ceef2dafa31..23634578199e 100644 --- a/clients/client-mediapackage/commands/DescribeChannelCommand.ts +++ b/clients/client-mediapackage/commands/DescribeChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeChannelCommandInput = DescribeChannelRequest; @@ -67,14 +67,14 @@ export class DescribeChannelCommand extends $Command< private serialize( input: DescribeChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeChannelCommand(output, context); } diff --git a/clients/client-mediapackage/commands/DescribeHarvestJobCommand.ts b/clients/client-mediapackage/commands/DescribeHarvestJobCommand.ts index f62b0554ad15..20523ddf51b7 100644 --- a/clients/client-mediapackage/commands/DescribeHarvestJobCommand.ts +++ b/clients/client-mediapackage/commands/DescribeHarvestJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHarvestJobCommandInput = DescribeHarvestJobRequest; @@ -67,14 +67,14 @@ export class DescribeHarvestJobCommand extends $Command< private serialize( input: DescribeHarvestJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeHarvestJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeHarvestJobCommand(output, context); } diff --git a/clients/client-mediapackage/commands/DescribeOriginEndpointCommand.ts b/clients/client-mediapackage/commands/DescribeOriginEndpointCommand.ts index c7bb0c7d3f51..bdf8801c1279 100644 --- a/clients/client-mediapackage/commands/DescribeOriginEndpointCommand.ts +++ b/clients/client-mediapackage/commands/DescribeOriginEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOriginEndpointCommandInput = DescribeOriginEndpointRequest; @@ -70,7 +70,7 @@ export class DescribeOriginEndpointCommand extends $Command< private serialize( input: DescribeOriginEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeOriginEndpointCommand( input, @@ -80,7 +80,7 @@ export class DescribeOriginEndpointCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeOriginEndpointCommand( output, diff --git a/clients/client-mediapackage/commands/ListChannelsCommand.ts b/clients/client-mediapackage/commands/ListChannelsCommand.ts index 8c8f2d0ac7ca..23fd1d0ff2a7 100644 --- a/clients/client-mediapackage/commands/ListChannelsCommand.ts +++ b/clients/client-mediapackage/commands/ListChannelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListChannelsCommandInput = ListChannelsRequest; @@ -64,14 +64,14 @@ export class ListChannelsCommand extends $Command< private serialize( input: ListChannelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListChannelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListChannelsCommand(output, context); } diff --git a/clients/client-mediapackage/commands/ListHarvestJobsCommand.ts b/clients/client-mediapackage/commands/ListHarvestJobsCommand.ts index 3709da961748..92584e74375c 100644 --- a/clients/client-mediapackage/commands/ListHarvestJobsCommand.ts +++ b/clients/client-mediapackage/commands/ListHarvestJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHarvestJobsCommandInput = ListHarvestJobsRequest; @@ -67,14 +67,14 @@ export class ListHarvestJobsCommand extends $Command< private serialize( input: ListHarvestJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListHarvestJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListHarvestJobsCommand(output, context); } diff --git a/clients/client-mediapackage/commands/ListOriginEndpointsCommand.ts b/clients/client-mediapackage/commands/ListOriginEndpointsCommand.ts index a17e4d40c914..7efef59ee404 100644 --- a/clients/client-mediapackage/commands/ListOriginEndpointsCommand.ts +++ b/clients/client-mediapackage/commands/ListOriginEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOriginEndpointsCommandInput = ListOriginEndpointsRequest; @@ -70,14 +70,14 @@ export class ListOriginEndpointsCommand extends $Command< private serialize( input: ListOriginEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListOriginEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListOriginEndpointsCommand( output, diff --git a/clients/client-mediapackage/commands/ListTagsForResourceCommand.ts b/clients/client-mediapackage/commands/ListTagsForResourceCommand.ts index 0fe9ddc76a7f..e892596d29fe 100644 --- a/clients/client-mediapackage/commands/ListTagsForResourceCommand.ts +++ b/clients/client-mediapackage/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-mediapackage/commands/RotateChannelCredentialsCommand.ts b/clients/client-mediapackage/commands/RotateChannelCredentialsCommand.ts index 735d2819fbe2..9596b36d59d7 100644 --- a/clients/client-mediapackage/commands/RotateChannelCredentialsCommand.ts +++ b/clients/client-mediapackage/commands/RotateChannelCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RotateChannelCredentialsCommandInput = RotateChannelCredentialsRequest; @@ -70,7 +70,7 @@ export class RotateChannelCredentialsCommand extends $Command< private serialize( input: RotateChannelCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RotateChannelCredentialsCommand( input, @@ -80,7 +80,7 @@ export class RotateChannelCredentialsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RotateChannelCredentialsCommand( output, diff --git a/clients/client-mediapackage/commands/RotateIngestEndpointCredentialsCommand.ts b/clients/client-mediapackage/commands/RotateIngestEndpointCredentialsCommand.ts index ebec46e1446a..671771b42746 100644 --- a/clients/client-mediapackage/commands/RotateIngestEndpointCredentialsCommand.ts +++ b/clients/client-mediapackage/commands/RotateIngestEndpointCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RotateIngestEndpointCredentialsCommandInput = RotateIngestEndpointCredentialsRequest; @@ -70,7 +70,7 @@ export class RotateIngestEndpointCredentialsCommand extends $Command< private serialize( input: RotateIngestEndpointCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RotateIngestEndpointCredentialsCommand( input, @@ -80,7 +80,7 @@ export class RotateIngestEndpointCredentialsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RotateIngestEndpointCredentialsCommand( output, diff --git a/clients/client-mediapackage/commands/TagResourceCommand.ts b/clients/client-mediapackage/commands/TagResourceCommand.ts index 0fb4105d6f2f..2c8a1ed7002e 100644 --- a/clients/client-mediapackage/commands/TagResourceCommand.ts +++ b/clients/client-mediapackage/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-mediapackage/commands/UntagResourceCommand.ts b/clients/client-mediapackage/commands/UntagResourceCommand.ts index 8b77502a70ef..1192c8d69cf1 100644 --- a/clients/client-mediapackage/commands/UntagResourceCommand.ts +++ b/clients/client-mediapackage/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-mediapackage/commands/UpdateChannelCommand.ts b/clients/client-mediapackage/commands/UpdateChannelCommand.ts index 59ba3c713dd4..7457fc2c8dcd 100644 --- a/clients/client-mediapackage/commands/UpdateChannelCommand.ts +++ b/clients/client-mediapackage/commands/UpdateChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateChannelCommandInput = UpdateChannelRequest; @@ -64,14 +64,14 @@ export class UpdateChannelCommand extends $Command< private serialize( input: UpdateChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateChannelCommand(output, context); } diff --git a/clients/client-mediapackage/commands/UpdateOriginEndpointCommand.ts b/clients/client-mediapackage/commands/UpdateOriginEndpointCommand.ts index 7403bba710cb..93c8eb77c1b5 100644 --- a/clients/client-mediapackage/commands/UpdateOriginEndpointCommand.ts +++ b/clients/client-mediapackage/commands/UpdateOriginEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateOriginEndpointCommandInput = UpdateOriginEndpointRequest; @@ -70,14 +70,14 @@ export class UpdateOriginEndpointCommand extends $Command< private serialize( input: UpdateOriginEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateOriginEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateOriginEndpointCommand( output, diff --git a/clients/client-mediapackage/protocols/Aws_restJson1_1.ts b/clients/client-mediapackage/protocols/Aws_restJson1_1.ts index ad15b873f6be..00696796526b 100644 --- a/clients/client-mediapackage/protocols/Aws_restJson1_1.ts +++ b/clients/client-mediapackage/protocols/Aws_restJson1_1.ts @@ -4084,6 +4084,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-mediastore-data/commands/DeleteObjectCommand.ts b/clients/client-mediastore-data/commands/DeleteObjectCommand.ts index 59491ab9212b..87e5756cf263 100644 --- a/clients/client-mediastore-data/commands/DeleteObjectCommand.ts +++ b/clients/client-mediastore-data/commands/DeleteObjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteObjectCommandInput = DeleteObjectRequest; @@ -64,14 +64,14 @@ export class DeleteObjectCommand extends $Command< private serialize( input: DeleteObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteObjectCommand(output, context); } diff --git a/clients/client-mediastore-data/commands/DescribeObjectCommand.ts b/clients/client-mediastore-data/commands/DescribeObjectCommand.ts index 599293cfd53c..def39fe0b62c 100644 --- a/clients/client-mediastore-data/commands/DescribeObjectCommand.ts +++ b/clients/client-mediastore-data/commands/DescribeObjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeObjectCommandInput = DescribeObjectRequest; @@ -64,14 +64,14 @@ export class DescribeObjectCommand extends $Command< private serialize( input: DescribeObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeObjectCommand(output, context); } diff --git a/clients/client-mediastore-data/commands/GetObjectCommand.ts b/clients/client-mediastore-data/commands/GetObjectCommand.ts index 311008a298a4..224ba05174e8 100644 --- a/clients/client-mediastore-data/commands/GetObjectCommand.ts +++ b/clients/client-mediastore-data/commands/GetObjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetObjectCommandInput = GetObjectRequest; @@ -64,14 +64,14 @@ export class GetObjectCommand extends $Command< private serialize( input: GetObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetObjectCommand(output, context); } diff --git a/clients/client-mediastore-data/commands/ListItemsCommand.ts b/clients/client-mediastore-data/commands/ListItemsCommand.ts index b44cf70d3c6c..4af2cc3846da 100644 --- a/clients/client-mediastore-data/commands/ListItemsCommand.ts +++ b/clients/client-mediastore-data/commands/ListItemsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListItemsCommandInput = ListItemsRequest; @@ -64,14 +64,14 @@ export class ListItemsCommand extends $Command< private serialize( input: ListItemsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListItemsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListItemsCommand(output, context); } diff --git a/clients/client-mediastore-data/commands/PutObjectCommand.ts b/clients/client-mediastore-data/commands/PutObjectCommand.ts index 85d2d6ca0a5b..37c3fbe8e715 100644 --- a/clients/client-mediastore-data/commands/PutObjectCommand.ts +++ b/clients/client-mediastore-data/commands/PutObjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutObjectCommandInput = PutObjectRequest; @@ -64,14 +64,14 @@ export class PutObjectCommand extends $Command< private serialize( input: PutObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutObjectCommand(output, context); } diff --git a/clients/client-mediastore-data/protocols/Aws_restJson1_1.ts b/clients/client-mediastore-data/protocols/Aws_restJson1_1.ts index 45040af3e252..9ba659c14af6 100644 --- a/clients/client-mediastore-data/protocols/Aws_restJson1_1.ts +++ b/clients/client-mediastore-data/protocols/Aws_restJson1_1.ts @@ -714,6 +714,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-mediastore/commands/CreateContainerCommand.ts b/clients/client-mediastore/commands/CreateContainerCommand.ts index 4017ac4edf7f..1282cf7ebab4 100644 --- a/clients/client-mediastore/commands/CreateContainerCommand.ts +++ b/clients/client-mediastore/commands/CreateContainerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateContainerCommandInput = CreateContainerInput; @@ -64,14 +64,14 @@ export class CreateContainerCommand extends $Command< private serialize( input: CreateContainerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateContainerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateContainerCommand(output, context); } diff --git a/clients/client-mediastore/commands/DeleteContainerCommand.ts b/clients/client-mediastore/commands/DeleteContainerCommand.ts index 0d25f45b9f1c..1cd2940fb023 100644 --- a/clients/client-mediastore/commands/DeleteContainerCommand.ts +++ b/clients/client-mediastore/commands/DeleteContainerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteContainerCommandInput = DeleteContainerInput; @@ -64,14 +64,14 @@ export class DeleteContainerCommand extends $Command< private serialize( input: DeleteContainerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteContainerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteContainerCommand(output, context); } diff --git a/clients/client-mediastore/commands/DeleteContainerPolicyCommand.ts b/clients/client-mediastore/commands/DeleteContainerPolicyCommand.ts index d36ad928fe32..d10a0310e33f 100644 --- a/clients/client-mediastore/commands/DeleteContainerPolicyCommand.ts +++ b/clients/client-mediastore/commands/DeleteContainerPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteContainerPolicyCommandInput = DeleteContainerPolicyInput; @@ -70,14 +70,14 @@ export class DeleteContainerPolicyCommand extends $Command< private serialize( input: DeleteContainerPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteContainerPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteContainerPolicyCommand(output, context); } diff --git a/clients/client-mediastore/commands/DeleteCorsPolicyCommand.ts b/clients/client-mediastore/commands/DeleteCorsPolicyCommand.ts index 848f7987a8cf..a909ebeadfeb 100644 --- a/clients/client-mediastore/commands/DeleteCorsPolicyCommand.ts +++ b/clients/client-mediastore/commands/DeleteCorsPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCorsPolicyCommandInput = DeleteCorsPolicyInput; @@ -64,14 +64,14 @@ export class DeleteCorsPolicyCommand extends $Command< private serialize( input: DeleteCorsPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCorsPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCorsPolicyCommand(output, context); } diff --git a/clients/client-mediastore/commands/DeleteLifecyclePolicyCommand.ts b/clients/client-mediastore/commands/DeleteLifecyclePolicyCommand.ts index f6e3c696747f..0bc0d7fdfb9a 100644 --- a/clients/client-mediastore/commands/DeleteLifecyclePolicyCommand.ts +++ b/clients/client-mediastore/commands/DeleteLifecyclePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLifecyclePolicyCommandInput = DeleteLifecyclePolicyInput; @@ -70,14 +70,14 @@ export class DeleteLifecyclePolicyCommand extends $Command< private serialize( input: DeleteLifecyclePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLifecyclePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLifecyclePolicyCommand(output, context); } diff --git a/clients/client-mediastore/commands/DescribeContainerCommand.ts b/clients/client-mediastore/commands/DescribeContainerCommand.ts index db2414550a8a..8a1b705f172f 100644 --- a/clients/client-mediastore/commands/DescribeContainerCommand.ts +++ b/clients/client-mediastore/commands/DescribeContainerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeContainerCommandInput = DescribeContainerInput; @@ -67,14 +67,14 @@ export class DescribeContainerCommand extends $Command< private serialize( input: DescribeContainerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeContainerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeContainerCommand(output, context); } diff --git a/clients/client-mediastore/commands/GetContainerPolicyCommand.ts b/clients/client-mediastore/commands/GetContainerPolicyCommand.ts index d5a1aefc2621..345c37fd4e76 100644 --- a/clients/client-mediastore/commands/GetContainerPolicyCommand.ts +++ b/clients/client-mediastore/commands/GetContainerPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetContainerPolicyCommandInput = GetContainerPolicyInput; @@ -67,14 +67,14 @@ export class GetContainerPolicyCommand extends $Command< private serialize( input: GetContainerPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetContainerPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetContainerPolicyCommand(output, context); } diff --git a/clients/client-mediastore/commands/GetCorsPolicyCommand.ts b/clients/client-mediastore/commands/GetCorsPolicyCommand.ts index 7f00b59f64c8..649df9bdb9e3 100644 --- a/clients/client-mediastore/commands/GetCorsPolicyCommand.ts +++ b/clients/client-mediastore/commands/GetCorsPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCorsPolicyCommandInput = GetCorsPolicyInput; @@ -64,14 +64,14 @@ export class GetCorsPolicyCommand extends $Command< private serialize( input: GetCorsPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCorsPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCorsPolicyCommand(output, context); } diff --git a/clients/client-mediastore/commands/GetLifecyclePolicyCommand.ts b/clients/client-mediastore/commands/GetLifecyclePolicyCommand.ts index ff28f09088bb..6aa074331b39 100644 --- a/clients/client-mediastore/commands/GetLifecyclePolicyCommand.ts +++ b/clients/client-mediastore/commands/GetLifecyclePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLifecyclePolicyCommandInput = GetLifecyclePolicyInput; @@ -67,14 +67,14 @@ export class GetLifecyclePolicyCommand extends $Command< private serialize( input: GetLifecyclePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLifecyclePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLifecyclePolicyCommand(output, context); } diff --git a/clients/client-mediastore/commands/ListContainersCommand.ts b/clients/client-mediastore/commands/ListContainersCommand.ts index d4e338843f80..0eb6b2242128 100644 --- a/clients/client-mediastore/commands/ListContainersCommand.ts +++ b/clients/client-mediastore/commands/ListContainersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListContainersCommandInput = ListContainersInput; @@ -64,14 +64,14 @@ export class ListContainersCommand extends $Command< private serialize( input: ListContainersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListContainersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListContainersCommand(output, context); } diff --git a/clients/client-mediastore/commands/ListTagsForResourceCommand.ts b/clients/client-mediastore/commands/ListTagsForResourceCommand.ts index 04284148c599..007f2eaa765b 100644 --- a/clients/client-mediastore/commands/ListTagsForResourceCommand.ts +++ b/clients/client-mediastore/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-mediastore/commands/PutContainerPolicyCommand.ts b/clients/client-mediastore/commands/PutContainerPolicyCommand.ts index 7275cd7d5061..88f81f902c8a 100644 --- a/clients/client-mediastore/commands/PutContainerPolicyCommand.ts +++ b/clients/client-mediastore/commands/PutContainerPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutContainerPolicyCommandInput = PutContainerPolicyInput; @@ -67,14 +67,14 @@ export class PutContainerPolicyCommand extends $Command< private serialize( input: PutContainerPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutContainerPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutContainerPolicyCommand(output, context); } diff --git a/clients/client-mediastore/commands/PutCorsPolicyCommand.ts b/clients/client-mediastore/commands/PutCorsPolicyCommand.ts index df8b14cdcb53..d0ae33f7966a 100644 --- a/clients/client-mediastore/commands/PutCorsPolicyCommand.ts +++ b/clients/client-mediastore/commands/PutCorsPolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutCorsPolicyCommandInput = PutCorsPolicyInput; @@ -64,14 +64,14 @@ export class PutCorsPolicyCommand extends $Command< private serialize( input: PutCorsPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutCorsPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutCorsPolicyCommand(output, context); } diff --git a/clients/client-mediastore/commands/PutLifecyclePolicyCommand.ts b/clients/client-mediastore/commands/PutLifecyclePolicyCommand.ts index 7704572cd7df..c7fd66e48fc3 100644 --- a/clients/client-mediastore/commands/PutLifecyclePolicyCommand.ts +++ b/clients/client-mediastore/commands/PutLifecyclePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLifecyclePolicyCommandInput = PutLifecyclePolicyInput; @@ -67,14 +67,14 @@ export class PutLifecyclePolicyCommand extends $Command< private serialize( input: PutLifecyclePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutLifecyclePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutLifecyclePolicyCommand(output, context); } diff --git a/clients/client-mediastore/commands/StartAccessLoggingCommand.ts b/clients/client-mediastore/commands/StartAccessLoggingCommand.ts index cf01408bf685..f2d932580d63 100644 --- a/clients/client-mediastore/commands/StartAccessLoggingCommand.ts +++ b/clients/client-mediastore/commands/StartAccessLoggingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartAccessLoggingCommandInput = StartAccessLoggingInput; @@ -67,14 +67,14 @@ export class StartAccessLoggingCommand extends $Command< private serialize( input: StartAccessLoggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartAccessLoggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartAccessLoggingCommand(output, context); } diff --git a/clients/client-mediastore/commands/StopAccessLoggingCommand.ts b/clients/client-mediastore/commands/StopAccessLoggingCommand.ts index afb315e829f4..89f9bff62e5b 100644 --- a/clients/client-mediastore/commands/StopAccessLoggingCommand.ts +++ b/clients/client-mediastore/commands/StopAccessLoggingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopAccessLoggingCommandInput = StopAccessLoggingInput; @@ -67,14 +67,14 @@ export class StopAccessLoggingCommand extends $Command< private serialize( input: StopAccessLoggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopAccessLoggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopAccessLoggingCommand(output, context); } diff --git a/clients/client-mediastore/commands/TagResourceCommand.ts b/clients/client-mediastore/commands/TagResourceCommand.ts index c8ad92980a84..cc3625a55b0f 100644 --- a/clients/client-mediastore/commands/TagResourceCommand.ts +++ b/clients/client-mediastore/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-mediastore/commands/UntagResourceCommand.ts b/clients/client-mediastore/commands/UntagResourceCommand.ts index ba519dd701e3..f68f10e089fb 100644 --- a/clients/client-mediastore/commands/UntagResourceCommand.ts +++ b/clients/client-mediastore/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-mediastore/protocols/Aws_json1_1.ts b/clients/client-mediastore/protocols/Aws_json1_1.ts index f99b79a20c2a..08e1dfadd58f 100644 --- a/clients/client-mediastore/protocols/Aws_json1_1.ts +++ b/clients/client-mediastore/protocols/Aws_json1_1.ts @@ -2581,6 +2581,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-mediatailor/commands/DeletePlaybackConfigurationCommand.ts b/clients/client-mediatailor/commands/DeletePlaybackConfigurationCommand.ts index b5f38ff58c53..bbd3500fd2e9 100644 --- a/clients/client-mediatailor/commands/DeletePlaybackConfigurationCommand.ts +++ b/clients/client-mediatailor/commands/DeletePlaybackConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePlaybackConfigurationCommandInput = DeletePlaybackConfigurationRequest; @@ -70,7 +70,7 @@ export class DeletePlaybackConfigurationCommand extends $Command< private serialize( input: DeletePlaybackConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePlaybackConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeletePlaybackConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePlaybackConfigurationCommand( output, diff --git a/clients/client-mediatailor/commands/GetPlaybackConfigurationCommand.ts b/clients/client-mediatailor/commands/GetPlaybackConfigurationCommand.ts index 5488ae563701..e873a03e5f12 100644 --- a/clients/client-mediatailor/commands/GetPlaybackConfigurationCommand.ts +++ b/clients/client-mediatailor/commands/GetPlaybackConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPlaybackConfigurationCommandInput = GetPlaybackConfigurationRequest; @@ -70,7 +70,7 @@ export class GetPlaybackConfigurationCommand extends $Command< private serialize( input: GetPlaybackConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPlaybackConfigurationCommand( input, @@ -80,7 +80,7 @@ export class GetPlaybackConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPlaybackConfigurationCommand( output, diff --git a/clients/client-mediatailor/commands/ListPlaybackConfigurationsCommand.ts b/clients/client-mediatailor/commands/ListPlaybackConfigurationsCommand.ts index 0d3f27c7f879..1a3f61a265c8 100644 --- a/clients/client-mediatailor/commands/ListPlaybackConfigurationsCommand.ts +++ b/clients/client-mediatailor/commands/ListPlaybackConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPlaybackConfigurationsCommandInput = ListPlaybackConfigurationsRequest; @@ -70,7 +70,7 @@ export class ListPlaybackConfigurationsCommand extends $Command< private serialize( input: ListPlaybackConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPlaybackConfigurationsCommand( input, @@ -80,7 +80,7 @@ export class ListPlaybackConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPlaybackConfigurationsCommand( output, diff --git a/clients/client-mediatailor/commands/ListTagsForResourceCommand.ts b/clients/client-mediatailor/commands/ListTagsForResourceCommand.ts index cebfc04ac8bc..109e0d37c1e6 100644 --- a/clients/client-mediatailor/commands/ListTagsForResourceCommand.ts +++ b/clients/client-mediatailor/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-mediatailor/commands/PutPlaybackConfigurationCommand.ts b/clients/client-mediatailor/commands/PutPlaybackConfigurationCommand.ts index 0ac6bd2d6516..0304b35b8890 100644 --- a/clients/client-mediatailor/commands/PutPlaybackConfigurationCommand.ts +++ b/clients/client-mediatailor/commands/PutPlaybackConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutPlaybackConfigurationCommandInput = PutPlaybackConfigurationRequest; @@ -70,7 +70,7 @@ export class PutPlaybackConfigurationCommand extends $Command< private serialize( input: PutPlaybackConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutPlaybackConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutPlaybackConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutPlaybackConfigurationCommand( output, diff --git a/clients/client-mediatailor/commands/TagResourceCommand.ts b/clients/client-mediatailor/commands/TagResourceCommand.ts index 8a31797d8832..7b8c48f92fcd 100644 --- a/clients/client-mediatailor/commands/TagResourceCommand.ts +++ b/clients/client-mediatailor/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-mediatailor/commands/UntagResourceCommand.ts b/clients/client-mediatailor/commands/UntagResourceCommand.ts index 09aa680d8ebc..eb05bf6edb38 100644 --- a/clients/client-mediatailor/commands/UntagResourceCommand.ts +++ b/clients/client-mediatailor/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-mediatailor/protocols/Aws_restJson1_1.ts b/clients/client-mediatailor/protocols/Aws_restJson1_1.ts index a5ea7c40ba64..ab10e0088fdf 100644 --- a/clients/client-mediatailor/protocols/Aws_restJson1_1.ts +++ b/clients/client-mediatailor/protocols/Aws_restJson1_1.ts @@ -1120,6 +1120,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-migration-hub/commands/AssociateCreatedArtifactCommand.ts b/clients/client-migration-hub/commands/AssociateCreatedArtifactCommand.ts index d3b0ff932046..c0a1e508ac79 100644 --- a/clients/client-migration-hub/commands/AssociateCreatedArtifactCommand.ts +++ b/clients/client-migration-hub/commands/AssociateCreatedArtifactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateCreatedArtifactCommandInput = AssociateCreatedArtifactRequest; @@ -70,14 +70,14 @@ export class AssociateCreatedArtifactCommand extends $Command< private serialize( input: AssociateCreatedArtifactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateCreatedArtifactCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateCreatedArtifactCommand( output, diff --git a/clients/client-migration-hub/commands/AssociateDiscoveredResourceCommand.ts b/clients/client-migration-hub/commands/AssociateDiscoveredResourceCommand.ts index d04491bbb379..0b339e841ad3 100644 --- a/clients/client-migration-hub/commands/AssociateDiscoveredResourceCommand.ts +++ b/clients/client-migration-hub/commands/AssociateDiscoveredResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateDiscoveredResourceCommandInput = AssociateDiscoveredResourceRequest; @@ -70,7 +70,7 @@ export class AssociateDiscoveredResourceCommand extends $Command< private serialize( input: AssociateDiscoveredResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateDiscoveredResourceCommand( input, @@ -80,7 +80,7 @@ export class AssociateDiscoveredResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateDiscoveredResourceCommand( output, diff --git a/clients/client-migration-hub/commands/CreateProgressUpdateStreamCommand.ts b/clients/client-migration-hub/commands/CreateProgressUpdateStreamCommand.ts index 281c9928c9c2..e1a18f25f045 100644 --- a/clients/client-migration-hub/commands/CreateProgressUpdateStreamCommand.ts +++ b/clients/client-migration-hub/commands/CreateProgressUpdateStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProgressUpdateStreamCommandInput = CreateProgressUpdateStreamRequest; @@ -70,7 +70,7 @@ export class CreateProgressUpdateStreamCommand extends $Command< private serialize( input: CreateProgressUpdateStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProgressUpdateStreamCommand( input, @@ -80,7 +80,7 @@ export class CreateProgressUpdateStreamCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProgressUpdateStreamCommand( output, diff --git a/clients/client-migration-hub/commands/DeleteProgressUpdateStreamCommand.ts b/clients/client-migration-hub/commands/DeleteProgressUpdateStreamCommand.ts index dad6d3c10ef7..f7c075236d50 100644 --- a/clients/client-migration-hub/commands/DeleteProgressUpdateStreamCommand.ts +++ b/clients/client-migration-hub/commands/DeleteProgressUpdateStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProgressUpdateStreamCommandInput = DeleteProgressUpdateStreamRequest; @@ -70,7 +70,7 @@ export class DeleteProgressUpdateStreamCommand extends $Command< private serialize( input: DeleteProgressUpdateStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteProgressUpdateStreamCommand( input, @@ -80,7 +80,7 @@ export class DeleteProgressUpdateStreamCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteProgressUpdateStreamCommand( output, diff --git a/clients/client-migration-hub/commands/DescribeApplicationStateCommand.ts b/clients/client-migration-hub/commands/DescribeApplicationStateCommand.ts index 6ff2f21dad38..e9934e30b95a 100644 --- a/clients/client-migration-hub/commands/DescribeApplicationStateCommand.ts +++ b/clients/client-migration-hub/commands/DescribeApplicationStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeApplicationStateCommandInput = DescribeApplicationStateRequest; @@ -70,14 +70,14 @@ export class DescribeApplicationStateCommand extends $Command< private serialize( input: DescribeApplicationStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeApplicationStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeApplicationStateCommand( output, diff --git a/clients/client-migration-hub/commands/DescribeMigrationTaskCommand.ts b/clients/client-migration-hub/commands/DescribeMigrationTaskCommand.ts index 39fda99cca3d..57c4cda5cc73 100644 --- a/clients/client-migration-hub/commands/DescribeMigrationTaskCommand.ts +++ b/clients/client-migration-hub/commands/DescribeMigrationTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMigrationTaskCommandInput = DescribeMigrationTaskRequest; @@ -70,14 +70,14 @@ export class DescribeMigrationTaskCommand extends $Command< private serialize( input: DescribeMigrationTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMigrationTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMigrationTaskCommand(output, context); } diff --git a/clients/client-migration-hub/commands/DisassociateCreatedArtifactCommand.ts b/clients/client-migration-hub/commands/DisassociateCreatedArtifactCommand.ts index 398fabc0ffd0..7cab95b423a4 100644 --- a/clients/client-migration-hub/commands/DisassociateCreatedArtifactCommand.ts +++ b/clients/client-migration-hub/commands/DisassociateCreatedArtifactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateCreatedArtifactCommandInput = DisassociateCreatedArtifactRequest; @@ -70,7 +70,7 @@ export class DisassociateCreatedArtifactCommand extends $Command< private serialize( input: DisassociateCreatedArtifactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateCreatedArtifactCommand( input, @@ -80,7 +80,7 @@ export class DisassociateCreatedArtifactCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateCreatedArtifactCommand( output, diff --git a/clients/client-migration-hub/commands/DisassociateDiscoveredResourceCommand.ts b/clients/client-migration-hub/commands/DisassociateDiscoveredResourceCommand.ts index f90dfe756836..391a332b8705 100644 --- a/clients/client-migration-hub/commands/DisassociateDiscoveredResourceCommand.ts +++ b/clients/client-migration-hub/commands/DisassociateDiscoveredResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateDiscoveredResourceCommandInput = DisassociateDiscoveredResourceRequest; @@ -70,7 +70,7 @@ export class DisassociateDiscoveredResourceCommand extends $Command< private serialize( input: DisassociateDiscoveredResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateDiscoveredResourceCommand( input, @@ -80,7 +80,7 @@ export class DisassociateDiscoveredResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateDiscoveredResourceCommand( output, diff --git a/clients/client-migration-hub/commands/ImportMigrationTaskCommand.ts b/clients/client-migration-hub/commands/ImportMigrationTaskCommand.ts index a2a6746d4520..03d49a7031e8 100644 --- a/clients/client-migration-hub/commands/ImportMigrationTaskCommand.ts +++ b/clients/client-migration-hub/commands/ImportMigrationTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportMigrationTaskCommandInput = ImportMigrationTaskRequest; @@ -70,14 +70,14 @@ export class ImportMigrationTaskCommand extends $Command< private serialize( input: ImportMigrationTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportMigrationTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportMigrationTaskCommand(output, context); } diff --git a/clients/client-migration-hub/commands/ListApplicationStatesCommand.ts b/clients/client-migration-hub/commands/ListApplicationStatesCommand.ts index 61db875d73c6..ecd856b1e9bc 100644 --- a/clients/client-migration-hub/commands/ListApplicationStatesCommand.ts +++ b/clients/client-migration-hub/commands/ListApplicationStatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApplicationStatesCommandInput = ListApplicationStatesRequest; @@ -70,14 +70,14 @@ export class ListApplicationStatesCommand extends $Command< private serialize( input: ListApplicationStatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListApplicationStatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListApplicationStatesCommand(output, context); } diff --git a/clients/client-migration-hub/commands/ListCreatedArtifactsCommand.ts b/clients/client-migration-hub/commands/ListCreatedArtifactsCommand.ts index 6e964f4c75cf..c3d97473af9b 100644 --- a/clients/client-migration-hub/commands/ListCreatedArtifactsCommand.ts +++ b/clients/client-migration-hub/commands/ListCreatedArtifactsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCreatedArtifactsCommandInput = ListCreatedArtifactsRequest; @@ -70,14 +70,14 @@ export class ListCreatedArtifactsCommand extends $Command< private serialize( input: ListCreatedArtifactsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCreatedArtifactsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCreatedArtifactsCommand(output, context); } diff --git a/clients/client-migration-hub/commands/ListDiscoveredResourcesCommand.ts b/clients/client-migration-hub/commands/ListDiscoveredResourcesCommand.ts index 5fde03fb5283..ddf9ec6212ff 100644 --- a/clients/client-migration-hub/commands/ListDiscoveredResourcesCommand.ts +++ b/clients/client-migration-hub/commands/ListDiscoveredResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDiscoveredResourcesCommandInput = ListDiscoveredResourcesRequest; @@ -70,14 +70,14 @@ export class ListDiscoveredResourcesCommand extends $Command< private serialize( input: ListDiscoveredResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDiscoveredResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDiscoveredResourcesCommand( output, diff --git a/clients/client-migration-hub/commands/ListMigrationTasksCommand.ts b/clients/client-migration-hub/commands/ListMigrationTasksCommand.ts index 78b2afb53035..7f5967f99895 100644 --- a/clients/client-migration-hub/commands/ListMigrationTasksCommand.ts +++ b/clients/client-migration-hub/commands/ListMigrationTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMigrationTasksCommandInput = ListMigrationTasksRequest; @@ -67,14 +67,14 @@ export class ListMigrationTasksCommand extends $Command< private serialize( input: ListMigrationTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListMigrationTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListMigrationTasksCommand(output, context); } diff --git a/clients/client-migration-hub/commands/ListProgressUpdateStreamsCommand.ts b/clients/client-migration-hub/commands/ListProgressUpdateStreamsCommand.ts index d5bda981da12..b37c4c9421d1 100644 --- a/clients/client-migration-hub/commands/ListProgressUpdateStreamsCommand.ts +++ b/clients/client-migration-hub/commands/ListProgressUpdateStreamsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProgressUpdateStreamsCommandInput = ListProgressUpdateStreamsRequest; @@ -70,14 +70,14 @@ export class ListProgressUpdateStreamsCommand extends $Command< private serialize( input: ListProgressUpdateStreamsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListProgressUpdateStreamsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListProgressUpdateStreamsCommand( output, diff --git a/clients/client-migration-hub/commands/NotifyApplicationStateCommand.ts b/clients/client-migration-hub/commands/NotifyApplicationStateCommand.ts index 87e3fe09ab6a..fa4a48952e31 100644 --- a/clients/client-migration-hub/commands/NotifyApplicationStateCommand.ts +++ b/clients/client-migration-hub/commands/NotifyApplicationStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type NotifyApplicationStateCommandInput = NotifyApplicationStateRequest; @@ -70,14 +70,14 @@ export class NotifyApplicationStateCommand extends $Command< private serialize( input: NotifyApplicationStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1NotifyApplicationStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1NotifyApplicationStateCommand(output, context); } diff --git a/clients/client-migration-hub/commands/NotifyMigrationTaskStateCommand.ts b/clients/client-migration-hub/commands/NotifyMigrationTaskStateCommand.ts index 00c418cec652..e1e1a37ea4bf 100644 --- a/clients/client-migration-hub/commands/NotifyMigrationTaskStateCommand.ts +++ b/clients/client-migration-hub/commands/NotifyMigrationTaskStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type NotifyMigrationTaskStateCommandInput = NotifyMigrationTaskStateRequest; @@ -70,14 +70,14 @@ export class NotifyMigrationTaskStateCommand extends $Command< private serialize( input: NotifyMigrationTaskStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1NotifyMigrationTaskStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1NotifyMigrationTaskStateCommand( output, diff --git a/clients/client-migration-hub/commands/PutResourceAttributesCommand.ts b/clients/client-migration-hub/commands/PutResourceAttributesCommand.ts index 38b6919f2efd..f42c7f268d2e 100644 --- a/clients/client-migration-hub/commands/PutResourceAttributesCommand.ts +++ b/clients/client-migration-hub/commands/PutResourceAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutResourceAttributesCommandInput = PutResourceAttributesRequest; @@ -70,14 +70,14 @@ export class PutResourceAttributesCommand extends $Command< private serialize( input: PutResourceAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutResourceAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutResourceAttributesCommand(output, context); } diff --git a/clients/client-migration-hub/protocols/Aws_json1_1.ts b/clients/client-migration-hub/protocols/Aws_json1_1.ts index e50d5bd0f1f3..d234404b5f40 100644 --- a/clients/client-migration-hub/protocols/Aws_json1_1.ts +++ b/clients/client-migration-hub/protocols/Aws_json1_1.ts @@ -3358,6 +3358,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-migrationhub-config/commands/CreateHomeRegionControlCommand.ts b/clients/client-migrationhub-config/commands/CreateHomeRegionControlCommand.ts index d047bccd655c..4dc3e2c8a169 100644 --- a/clients/client-migrationhub-config/commands/CreateHomeRegionControlCommand.ts +++ b/clients/client-migrationhub-config/commands/CreateHomeRegionControlCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHomeRegionControlCommandInput = CreateHomeRegionControlRequest; @@ -70,14 +70,14 @@ export class CreateHomeRegionControlCommand extends $Command< private serialize( input: CreateHomeRegionControlCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateHomeRegionControlCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateHomeRegionControlCommand( output, diff --git a/clients/client-migrationhub-config/commands/DescribeHomeRegionControlsCommand.ts b/clients/client-migrationhub-config/commands/DescribeHomeRegionControlsCommand.ts index f42ed60b6a32..697bda739552 100644 --- a/clients/client-migrationhub-config/commands/DescribeHomeRegionControlsCommand.ts +++ b/clients/client-migrationhub-config/commands/DescribeHomeRegionControlsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHomeRegionControlsCommandInput = DescribeHomeRegionControlsRequest; @@ -70,7 +70,7 @@ export class DescribeHomeRegionControlsCommand extends $Command< private serialize( input: DescribeHomeRegionControlsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeHomeRegionControlsCommand( input, @@ -80,7 +80,7 @@ export class DescribeHomeRegionControlsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeHomeRegionControlsCommand( output, diff --git a/clients/client-migrationhub-config/commands/GetHomeRegionCommand.ts b/clients/client-migrationhub-config/commands/GetHomeRegionCommand.ts index f28daa26dc29..d9d62ed5ae0d 100644 --- a/clients/client-migrationhub-config/commands/GetHomeRegionCommand.ts +++ b/clients/client-migrationhub-config/commands/GetHomeRegionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHomeRegionCommandInput = GetHomeRegionRequest; @@ -64,14 +64,14 @@ export class GetHomeRegionCommand extends $Command< private serialize( input: GetHomeRegionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetHomeRegionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetHomeRegionCommand(output, context); } diff --git a/clients/client-migrationhub-config/protocols/Aws_json1_1.ts b/clients/client-migrationhub-config/protocols/Aws_json1_1.ts index 118829130721..0cb04007543d 100644 --- a/clients/client-migrationhub-config/protocols/Aws_json1_1.ts +++ b/clients/client-migrationhub-config/protocols/Aws_json1_1.ts @@ -673,6 +673,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-mobile/commands/CreateProjectCommand.ts b/clients/client-mobile/commands/CreateProjectCommand.ts index 786f78345d9a..0591ab190e1f 100644 --- a/clients/client-mobile/commands/CreateProjectCommand.ts +++ b/clients/client-mobile/commands/CreateProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProjectCommandInput = CreateProjectRequest; @@ -64,14 +64,14 @@ export class CreateProjectCommand extends $Command< private serialize( input: CreateProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateProjectCommand(output, context); } diff --git a/clients/client-mobile/commands/DeleteProjectCommand.ts b/clients/client-mobile/commands/DeleteProjectCommand.ts index f6193be44b9b..834006a535ec 100644 --- a/clients/client-mobile/commands/DeleteProjectCommand.ts +++ b/clients/client-mobile/commands/DeleteProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProjectCommandInput = DeleteProjectRequest; @@ -64,14 +64,14 @@ export class DeleteProjectCommand extends $Command< private serialize( input: DeleteProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteProjectCommand(output, context); } diff --git a/clients/client-mobile/commands/DescribeBundleCommand.ts b/clients/client-mobile/commands/DescribeBundleCommand.ts index 67313c06c5ad..ab69b7fb94dd 100644 --- a/clients/client-mobile/commands/DescribeBundleCommand.ts +++ b/clients/client-mobile/commands/DescribeBundleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBundleCommandInput = DescribeBundleRequest; @@ -64,14 +64,14 @@ export class DescribeBundleCommand extends $Command< private serialize( input: DescribeBundleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeBundleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeBundleCommand(output, context); } diff --git a/clients/client-mobile/commands/DescribeProjectCommand.ts b/clients/client-mobile/commands/DescribeProjectCommand.ts index 8c6238283393..3ca8a20a698d 100644 --- a/clients/client-mobile/commands/DescribeProjectCommand.ts +++ b/clients/client-mobile/commands/DescribeProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProjectCommandInput = DescribeProjectRequest; @@ -64,14 +64,14 @@ export class DescribeProjectCommand extends $Command< private serialize( input: DescribeProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeProjectCommand(output, context); } diff --git a/clients/client-mobile/commands/ExportBundleCommand.ts b/clients/client-mobile/commands/ExportBundleCommand.ts index 144ad61c21c3..0440405eca3f 100644 --- a/clients/client-mobile/commands/ExportBundleCommand.ts +++ b/clients/client-mobile/commands/ExportBundleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportBundleCommandInput = ExportBundleRequest; @@ -64,14 +64,14 @@ export class ExportBundleCommand extends $Command< private serialize( input: ExportBundleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ExportBundleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ExportBundleCommand(output, context); } diff --git a/clients/client-mobile/commands/ExportProjectCommand.ts b/clients/client-mobile/commands/ExportProjectCommand.ts index 7617d0ff3785..5c80a7afa37e 100644 --- a/clients/client-mobile/commands/ExportProjectCommand.ts +++ b/clients/client-mobile/commands/ExportProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportProjectCommandInput = ExportProjectRequest; @@ -64,14 +64,14 @@ export class ExportProjectCommand extends $Command< private serialize( input: ExportProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ExportProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ExportProjectCommand(output, context); } diff --git a/clients/client-mobile/commands/ListBundlesCommand.ts b/clients/client-mobile/commands/ListBundlesCommand.ts index affc3cbe6a31..af21992d8e01 100644 --- a/clients/client-mobile/commands/ListBundlesCommand.ts +++ b/clients/client-mobile/commands/ListBundlesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBundlesCommandInput = ListBundlesRequest; @@ -64,14 +64,14 @@ export class ListBundlesCommand extends $Command< private serialize( input: ListBundlesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBundlesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBundlesCommand(output, context); } diff --git a/clients/client-mobile/commands/ListProjectsCommand.ts b/clients/client-mobile/commands/ListProjectsCommand.ts index 5301c78d5a10..e3a5f45fd022 100644 --- a/clients/client-mobile/commands/ListProjectsCommand.ts +++ b/clients/client-mobile/commands/ListProjectsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProjectsCommandInput = ListProjectsRequest; @@ -64,14 +64,14 @@ export class ListProjectsCommand extends $Command< private serialize( input: ListProjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListProjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListProjectsCommand(output, context); } diff --git a/clients/client-mobile/commands/UpdateProjectCommand.ts b/clients/client-mobile/commands/UpdateProjectCommand.ts index a714773c62a2..12de1a48fbb7 100644 --- a/clients/client-mobile/commands/UpdateProjectCommand.ts +++ b/clients/client-mobile/commands/UpdateProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProjectCommandInput = UpdateProjectRequest; @@ -64,14 +64,14 @@ export class UpdateProjectCommand extends $Command< private serialize( input: UpdateProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateProjectCommand(output, context); } diff --git a/clients/client-mobile/protocols/Aws_restJson1_1.ts b/clients/client-mobile/protocols/Aws_restJson1_1.ts index fdef22f5eb4e..5611c2d85077 100644 --- a/clients/client-mobile/protocols/Aws_restJson1_1.ts +++ b/clients/client-mobile/protocols/Aws_restJson1_1.ts @@ -1522,6 +1522,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-mq/commands/CreateBrokerCommand.ts b/clients/client-mq/commands/CreateBrokerCommand.ts index a95a56e7e3d2..d841e42fc59a 100644 --- a/clients/client-mq/commands/CreateBrokerCommand.ts +++ b/clients/client-mq/commands/CreateBrokerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBrokerCommandInput = CreateBrokerRequest; @@ -64,14 +64,14 @@ export class CreateBrokerCommand extends $Command< private serialize( input: CreateBrokerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateBrokerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateBrokerCommand(output, context); } diff --git a/clients/client-mq/commands/CreateConfigurationCommand.ts b/clients/client-mq/commands/CreateConfigurationCommand.ts index 34d4d20f3f93..d8bbd018d633 100644 --- a/clients/client-mq/commands/CreateConfigurationCommand.ts +++ b/clients/client-mq/commands/CreateConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationCommandInput = CreateConfigurationRequest; @@ -70,14 +70,14 @@ export class CreateConfigurationCommand extends $Command< private serialize( input: CreateConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConfigurationCommand( output, diff --git a/clients/client-mq/commands/CreateTagsCommand.ts b/clients/client-mq/commands/CreateTagsCommand.ts index ea256f97e97f..c13066f6a142 100644 --- a/clients/client-mq/commands/CreateTagsCommand.ts +++ b/clients/client-mq/commands/CreateTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTagsCommandInput = CreateTagsRequest; @@ -65,14 +65,14 @@ export class CreateTagsCommand extends $Command< private serialize( input: CreateTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateTagsCommand(output, context); } diff --git a/clients/client-mq/commands/CreateUserCommand.ts b/clients/client-mq/commands/CreateUserCommand.ts index c5a225d5f377..fa195ce0b3c8 100644 --- a/clients/client-mq/commands/CreateUserCommand.ts +++ b/clients/client-mq/commands/CreateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserCommandInput = CreateUserRequest; @@ -64,14 +64,14 @@ export class CreateUserCommand extends $Command< private serialize( input: CreateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateUserCommand(output, context); } diff --git a/clients/client-mq/commands/DeleteBrokerCommand.ts b/clients/client-mq/commands/DeleteBrokerCommand.ts index 5130842bfca9..d986e436dbca 100644 --- a/clients/client-mq/commands/DeleteBrokerCommand.ts +++ b/clients/client-mq/commands/DeleteBrokerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBrokerCommandInput = DeleteBrokerRequest; @@ -64,14 +64,14 @@ export class DeleteBrokerCommand extends $Command< private serialize( input: DeleteBrokerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBrokerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBrokerCommand(output, context); } diff --git a/clients/client-mq/commands/DeleteTagsCommand.ts b/clients/client-mq/commands/DeleteTagsCommand.ts index b0415f77b5df..d5749afd688c 100644 --- a/clients/client-mq/commands/DeleteTagsCommand.ts +++ b/clients/client-mq/commands/DeleteTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagsCommandInput = DeleteTagsRequest; @@ -65,14 +65,14 @@ export class DeleteTagsCommand extends $Command< private serialize( input: DeleteTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteTagsCommand(output, context); } diff --git a/clients/client-mq/commands/DeleteUserCommand.ts b/clients/client-mq/commands/DeleteUserCommand.ts index 9ea6d413454b..2378ebc998e3 100644 --- a/clients/client-mq/commands/DeleteUserCommand.ts +++ b/clients/client-mq/commands/DeleteUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserCommandInput = DeleteUserRequest; @@ -64,14 +64,14 @@ export class DeleteUserCommand extends $Command< private serialize( input: DeleteUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteUserCommand(output, context); } diff --git a/clients/client-mq/commands/DescribeBrokerCommand.ts b/clients/client-mq/commands/DescribeBrokerCommand.ts index 13e8b8ba1a45..1716236ffc40 100644 --- a/clients/client-mq/commands/DescribeBrokerCommand.ts +++ b/clients/client-mq/commands/DescribeBrokerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBrokerCommandInput = DescribeBrokerRequest; @@ -64,14 +64,14 @@ export class DescribeBrokerCommand extends $Command< private serialize( input: DescribeBrokerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeBrokerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeBrokerCommand(output, context); } diff --git a/clients/client-mq/commands/DescribeBrokerEngineTypesCommand.ts b/clients/client-mq/commands/DescribeBrokerEngineTypesCommand.ts index 3a65ba6f29cc..588adf71250d 100644 --- a/clients/client-mq/commands/DescribeBrokerEngineTypesCommand.ts +++ b/clients/client-mq/commands/DescribeBrokerEngineTypesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBrokerEngineTypesCommandInput = DescribeBrokerEngineTypesRequest; @@ -70,7 +70,7 @@ export class DescribeBrokerEngineTypesCommand extends $Command< private serialize( input: DescribeBrokerEngineTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeBrokerEngineTypesCommand( input, @@ -80,7 +80,7 @@ export class DescribeBrokerEngineTypesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeBrokerEngineTypesCommand( output, diff --git a/clients/client-mq/commands/DescribeBrokerInstanceOptionsCommand.ts b/clients/client-mq/commands/DescribeBrokerInstanceOptionsCommand.ts index cdfd64a1de71..c7993e238c22 100644 --- a/clients/client-mq/commands/DescribeBrokerInstanceOptionsCommand.ts +++ b/clients/client-mq/commands/DescribeBrokerInstanceOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBrokerInstanceOptionsCommandInput = DescribeBrokerInstanceOptionsRequest; @@ -70,7 +70,7 @@ export class DescribeBrokerInstanceOptionsCommand extends $Command< private serialize( input: DescribeBrokerInstanceOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeBrokerInstanceOptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeBrokerInstanceOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeBrokerInstanceOptionsCommand( output, diff --git a/clients/client-mq/commands/DescribeConfigurationCommand.ts b/clients/client-mq/commands/DescribeConfigurationCommand.ts index 3f86e1689fbd..2d211d4f6d67 100644 --- a/clients/client-mq/commands/DescribeConfigurationCommand.ts +++ b/clients/client-mq/commands/DescribeConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationCommandInput = DescribeConfigurationRequest; @@ -70,14 +70,14 @@ export class DescribeConfigurationCommand extends $Command< private serialize( input: DescribeConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeConfigurationCommand( output, diff --git a/clients/client-mq/commands/DescribeConfigurationRevisionCommand.ts b/clients/client-mq/commands/DescribeConfigurationRevisionCommand.ts index 296248d81617..26d88c1a9374 100644 --- a/clients/client-mq/commands/DescribeConfigurationRevisionCommand.ts +++ b/clients/client-mq/commands/DescribeConfigurationRevisionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationRevisionCommandInput = DescribeConfigurationRevisionRequest; @@ -70,7 +70,7 @@ export class DescribeConfigurationRevisionCommand extends $Command< private serialize( input: DescribeConfigurationRevisionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeConfigurationRevisionCommand( input, @@ -80,7 +80,7 @@ export class DescribeConfigurationRevisionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeConfigurationRevisionCommand( output, diff --git a/clients/client-mq/commands/DescribeUserCommand.ts b/clients/client-mq/commands/DescribeUserCommand.ts index 9d7264832761..983a7474f923 100644 --- a/clients/client-mq/commands/DescribeUserCommand.ts +++ b/clients/client-mq/commands/DescribeUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserCommandInput = DescribeUserRequest; @@ -64,14 +64,14 @@ export class DescribeUserCommand extends $Command< private serialize( input: DescribeUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeUserCommand(output, context); } diff --git a/clients/client-mq/commands/ListBrokersCommand.ts b/clients/client-mq/commands/ListBrokersCommand.ts index 7da709416dca..5c615a57ed07 100644 --- a/clients/client-mq/commands/ListBrokersCommand.ts +++ b/clients/client-mq/commands/ListBrokersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBrokersCommandInput = ListBrokersRequest; @@ -64,14 +64,14 @@ export class ListBrokersCommand extends $Command< private serialize( input: ListBrokersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListBrokersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListBrokersCommand(output, context); } diff --git a/clients/client-mq/commands/ListConfigurationRevisionsCommand.ts b/clients/client-mq/commands/ListConfigurationRevisionsCommand.ts index 6eeeab548389..5d7d593f783d 100644 --- a/clients/client-mq/commands/ListConfigurationRevisionsCommand.ts +++ b/clients/client-mq/commands/ListConfigurationRevisionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigurationRevisionsCommandInput = ListConfigurationRevisionsRequest; @@ -70,7 +70,7 @@ export class ListConfigurationRevisionsCommand extends $Command< private serialize( input: ListConfigurationRevisionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListConfigurationRevisionsCommand( input, @@ -80,7 +80,7 @@ export class ListConfigurationRevisionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListConfigurationRevisionsCommand( output, diff --git a/clients/client-mq/commands/ListConfigurationsCommand.ts b/clients/client-mq/commands/ListConfigurationsCommand.ts index 0f7474cc0481..228ddc6e4aa4 100644 --- a/clients/client-mq/commands/ListConfigurationsCommand.ts +++ b/clients/client-mq/commands/ListConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigurationsCommandInput = ListConfigurationsRequest; @@ -67,14 +67,14 @@ export class ListConfigurationsCommand extends $Command< private serialize( input: ListConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListConfigurationsCommand(output, context); } diff --git a/clients/client-mq/commands/ListTagsCommand.ts b/clients/client-mq/commands/ListTagsCommand.ts index a4b2af917fa3..01321918767f 100644 --- a/clients/client-mq/commands/ListTagsCommand.ts +++ b/clients/client-mq/commands/ListTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsCommandInput = ListTagsRequest; @@ -64,14 +64,14 @@ export class ListTagsCommand extends $Command< private serialize( input: ListTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsCommand(output, context); } diff --git a/clients/client-mq/commands/ListUsersCommand.ts b/clients/client-mq/commands/ListUsersCommand.ts index 3d1a5687ee5d..49b65202f7c1 100644 --- a/clients/client-mq/commands/ListUsersCommand.ts +++ b/clients/client-mq/commands/ListUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUsersCommandInput = ListUsersRequest; @@ -64,14 +64,14 @@ export class ListUsersCommand extends $Command< private serialize( input: ListUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListUsersCommand(output, context); } diff --git a/clients/client-mq/commands/RebootBrokerCommand.ts b/clients/client-mq/commands/RebootBrokerCommand.ts index 955b1b223a53..4f6573966a15 100644 --- a/clients/client-mq/commands/RebootBrokerCommand.ts +++ b/clients/client-mq/commands/RebootBrokerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootBrokerCommandInput = RebootBrokerRequest; @@ -64,14 +64,14 @@ export class RebootBrokerCommand extends $Command< private serialize( input: RebootBrokerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RebootBrokerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RebootBrokerCommand(output, context); } diff --git a/clients/client-mq/commands/UpdateBrokerCommand.ts b/clients/client-mq/commands/UpdateBrokerCommand.ts index 103a8945166a..6c5ab20ed224 100644 --- a/clients/client-mq/commands/UpdateBrokerCommand.ts +++ b/clients/client-mq/commands/UpdateBrokerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBrokerCommandInput = UpdateBrokerRequest; @@ -64,14 +64,14 @@ export class UpdateBrokerCommand extends $Command< private serialize( input: UpdateBrokerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateBrokerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateBrokerCommand(output, context); } diff --git a/clients/client-mq/commands/UpdateConfigurationCommand.ts b/clients/client-mq/commands/UpdateConfigurationCommand.ts index 781ceb0991d1..b15ef39e2713 100644 --- a/clients/client-mq/commands/UpdateConfigurationCommand.ts +++ b/clients/client-mq/commands/UpdateConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConfigurationCommandInput = UpdateConfigurationRequest; @@ -70,14 +70,14 @@ export class UpdateConfigurationCommand extends $Command< private serialize( input: UpdateConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateConfigurationCommand( output, diff --git a/clients/client-mq/commands/UpdateUserCommand.ts b/clients/client-mq/commands/UpdateUserCommand.ts index 016a43866c32..79ec412fddac 100644 --- a/clients/client-mq/commands/UpdateUserCommand.ts +++ b/clients/client-mq/commands/UpdateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserCommandInput = UpdateUserRequest; @@ -64,14 +64,14 @@ export class UpdateUserCommand extends $Command< private serialize( input: UpdateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUserCommand(output, context); } diff --git a/clients/client-mq/protocols/Aws_restJson1_1.ts b/clients/client-mq/protocols/Aws_restJson1_1.ts index 2816741dfb25..510bc4028131 100644 --- a/clients/client-mq/protocols/Aws_restJson1_1.ts +++ b/clients/client-mq/protocols/Aws_restJson1_1.ts @@ -3872,6 +3872,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-mturk/commands/AcceptQualificationRequestCommand.ts b/clients/client-mturk/commands/AcceptQualificationRequestCommand.ts index 9daa2c66c350..74b1a4eec4b3 100644 --- a/clients/client-mturk/commands/AcceptQualificationRequestCommand.ts +++ b/clients/client-mturk/commands/AcceptQualificationRequestCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptQualificationRequestCommandInput = AcceptQualificationRequestRequest; @@ -70,7 +70,7 @@ export class AcceptQualificationRequestCommand extends $Command< private serialize( input: AcceptQualificationRequestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AcceptQualificationRequestCommand( input, @@ -80,7 +80,7 @@ export class AcceptQualificationRequestCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AcceptQualificationRequestCommand( output, diff --git a/clients/client-mturk/commands/ApproveAssignmentCommand.ts b/clients/client-mturk/commands/ApproveAssignmentCommand.ts index 5b2adce3545d..d1c698f32f55 100644 --- a/clients/client-mturk/commands/ApproveAssignmentCommand.ts +++ b/clients/client-mturk/commands/ApproveAssignmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ApproveAssignmentCommandInput = ApproveAssignmentRequest; @@ -67,14 +67,14 @@ export class ApproveAssignmentCommand extends $Command< private serialize( input: ApproveAssignmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ApproveAssignmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ApproveAssignmentCommand(output, context); } diff --git a/clients/client-mturk/commands/AssociateQualificationWithWorkerCommand.ts b/clients/client-mturk/commands/AssociateQualificationWithWorkerCommand.ts index 3ab9ed4a970d..b67a3a72dfaa 100644 --- a/clients/client-mturk/commands/AssociateQualificationWithWorkerCommand.ts +++ b/clients/client-mturk/commands/AssociateQualificationWithWorkerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateQualificationWithWorkerCommandInput = AssociateQualificationWithWorkerRequest; @@ -70,7 +70,7 @@ export class AssociateQualificationWithWorkerCommand extends $Command< private serialize( input: AssociateQualificationWithWorkerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateQualificationWithWorkerCommand( input, @@ -80,7 +80,7 @@ export class AssociateQualificationWithWorkerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateQualificationWithWorkerCommand( output, diff --git a/clients/client-mturk/commands/CreateAdditionalAssignmentsForHITCommand.ts b/clients/client-mturk/commands/CreateAdditionalAssignmentsForHITCommand.ts index 7cf75410ca5f..60801a146464 100644 --- a/clients/client-mturk/commands/CreateAdditionalAssignmentsForHITCommand.ts +++ b/clients/client-mturk/commands/CreateAdditionalAssignmentsForHITCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAdditionalAssignmentsForHITCommandInput = CreateAdditionalAssignmentsForHITRequest; @@ -70,7 +70,7 @@ export class CreateAdditionalAssignmentsForHITCommand extends $Command< private serialize( input: CreateAdditionalAssignmentsForHITCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAdditionalAssignmentsForHITCommand( input, @@ -80,7 +80,7 @@ export class CreateAdditionalAssignmentsForHITCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAdditionalAssignmentsForHITCommand( output, diff --git a/clients/client-mturk/commands/CreateHITCommand.ts b/clients/client-mturk/commands/CreateHITCommand.ts index 8d07a38672a4..f4c77ccc4353 100644 --- a/clients/client-mturk/commands/CreateHITCommand.ts +++ b/clients/client-mturk/commands/CreateHITCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHITCommandInput = CreateHITRequest; @@ -64,14 +64,14 @@ export class CreateHITCommand extends $Command< private serialize( input: CreateHITCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateHITCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateHITCommand(output, context); } diff --git a/clients/client-mturk/commands/CreateHITTypeCommand.ts b/clients/client-mturk/commands/CreateHITTypeCommand.ts index 470dd90caf00..5cc9c20a4a6d 100644 --- a/clients/client-mturk/commands/CreateHITTypeCommand.ts +++ b/clients/client-mturk/commands/CreateHITTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHITTypeCommandInput = CreateHITTypeRequest; @@ -64,14 +64,14 @@ export class CreateHITTypeCommand extends $Command< private serialize( input: CreateHITTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateHITTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateHITTypeCommand(output, context); } diff --git a/clients/client-mturk/commands/CreateHITWithHITTypeCommand.ts b/clients/client-mturk/commands/CreateHITWithHITTypeCommand.ts index a650280adca1..d7547c5a8801 100644 --- a/clients/client-mturk/commands/CreateHITWithHITTypeCommand.ts +++ b/clients/client-mturk/commands/CreateHITWithHITTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHITWithHITTypeCommandInput = CreateHITWithHITTypeRequest; @@ -70,14 +70,14 @@ export class CreateHITWithHITTypeCommand extends $Command< private serialize( input: CreateHITWithHITTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateHITWithHITTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateHITWithHITTypeCommand(output, context); } diff --git a/clients/client-mturk/commands/CreateQualificationTypeCommand.ts b/clients/client-mturk/commands/CreateQualificationTypeCommand.ts index 19f03f83f2de..198571707661 100644 --- a/clients/client-mturk/commands/CreateQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/CreateQualificationTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateQualificationTypeCommandInput = CreateQualificationTypeRequest; @@ -70,14 +70,14 @@ export class CreateQualificationTypeCommand extends $Command< private serialize( input: CreateQualificationTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateQualificationTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateQualificationTypeCommand( output, diff --git a/clients/client-mturk/commands/CreateWorkerBlockCommand.ts b/clients/client-mturk/commands/CreateWorkerBlockCommand.ts index 54abef512f2b..34ca2a9f9f92 100644 --- a/clients/client-mturk/commands/CreateWorkerBlockCommand.ts +++ b/clients/client-mturk/commands/CreateWorkerBlockCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateWorkerBlockCommandInput = CreateWorkerBlockRequest; @@ -67,14 +67,14 @@ export class CreateWorkerBlockCommand extends $Command< private serialize( input: CreateWorkerBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateWorkerBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateWorkerBlockCommand(output, context); } diff --git a/clients/client-mturk/commands/DeleteHITCommand.ts b/clients/client-mturk/commands/DeleteHITCommand.ts index e8710e8c0751..3813ca88e699 100644 --- a/clients/client-mturk/commands/DeleteHITCommand.ts +++ b/clients/client-mturk/commands/DeleteHITCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteHITCommandInput = DeleteHITRequest; @@ -64,14 +64,14 @@ export class DeleteHITCommand extends $Command< private serialize( input: DeleteHITCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteHITCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteHITCommand(output, context); } diff --git a/clients/client-mturk/commands/DeleteQualificationTypeCommand.ts b/clients/client-mturk/commands/DeleteQualificationTypeCommand.ts index 60e4844f2c66..6d6cdfa2c6b6 100644 --- a/clients/client-mturk/commands/DeleteQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/DeleteQualificationTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteQualificationTypeCommandInput = DeleteQualificationTypeRequest; @@ -70,14 +70,14 @@ export class DeleteQualificationTypeCommand extends $Command< private serialize( input: DeleteQualificationTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteQualificationTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteQualificationTypeCommand( output, diff --git a/clients/client-mturk/commands/DeleteWorkerBlockCommand.ts b/clients/client-mturk/commands/DeleteWorkerBlockCommand.ts index 3474c7a6766d..1feb4515a013 100644 --- a/clients/client-mturk/commands/DeleteWorkerBlockCommand.ts +++ b/clients/client-mturk/commands/DeleteWorkerBlockCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteWorkerBlockCommandInput = DeleteWorkerBlockRequest; @@ -67,14 +67,14 @@ export class DeleteWorkerBlockCommand extends $Command< private serialize( input: DeleteWorkerBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteWorkerBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteWorkerBlockCommand(output, context); } diff --git a/clients/client-mturk/commands/DisassociateQualificationFromWorkerCommand.ts b/clients/client-mturk/commands/DisassociateQualificationFromWorkerCommand.ts index f8db7942d2ab..3b4a3866cad3 100644 --- a/clients/client-mturk/commands/DisassociateQualificationFromWorkerCommand.ts +++ b/clients/client-mturk/commands/DisassociateQualificationFromWorkerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateQualificationFromWorkerCommandInput = DisassociateQualificationFromWorkerRequest; @@ -70,7 +70,7 @@ export class DisassociateQualificationFromWorkerCommand extends $Command< private serialize( input: DisassociateQualificationFromWorkerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateQualificationFromWorkerCommand( input, @@ -80,7 +80,7 @@ export class DisassociateQualificationFromWorkerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateQualificationFromWorkerCommand( output, diff --git a/clients/client-mturk/commands/GetAccountBalanceCommand.ts b/clients/client-mturk/commands/GetAccountBalanceCommand.ts index 8e7962c35cb9..ca321444e006 100644 --- a/clients/client-mturk/commands/GetAccountBalanceCommand.ts +++ b/clients/client-mturk/commands/GetAccountBalanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountBalanceCommandInput = GetAccountBalanceRequest; @@ -67,14 +67,14 @@ export class GetAccountBalanceCommand extends $Command< private serialize( input: GetAccountBalanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAccountBalanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAccountBalanceCommand(output, context); } diff --git a/clients/client-mturk/commands/GetAssignmentCommand.ts b/clients/client-mturk/commands/GetAssignmentCommand.ts index 47865ec085b2..f8f3cd74883b 100644 --- a/clients/client-mturk/commands/GetAssignmentCommand.ts +++ b/clients/client-mturk/commands/GetAssignmentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAssignmentCommandInput = GetAssignmentRequest; @@ -64,14 +64,14 @@ export class GetAssignmentCommand extends $Command< private serialize( input: GetAssignmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAssignmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAssignmentCommand(output, context); } diff --git a/clients/client-mturk/commands/GetFileUploadURLCommand.ts b/clients/client-mturk/commands/GetFileUploadURLCommand.ts index 715ddf008d38..582caee7fb8f 100644 --- a/clients/client-mturk/commands/GetFileUploadURLCommand.ts +++ b/clients/client-mturk/commands/GetFileUploadURLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFileUploadURLCommandInput = GetFileUploadURLRequest; @@ -67,14 +67,14 @@ export class GetFileUploadURLCommand extends $Command< private serialize( input: GetFileUploadURLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetFileUploadURLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetFileUploadURLCommand(output, context); } diff --git a/clients/client-mturk/commands/GetHITCommand.ts b/clients/client-mturk/commands/GetHITCommand.ts index 74a44126c806..d82329fecb2d 100644 --- a/clients/client-mturk/commands/GetHITCommand.ts +++ b/clients/client-mturk/commands/GetHITCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHITCommandInput = GetHITRequest; @@ -64,14 +64,14 @@ export class GetHITCommand extends $Command< private serialize( input: GetHITCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetHITCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetHITCommand(output, context); } diff --git a/clients/client-mturk/commands/GetQualificationScoreCommand.ts b/clients/client-mturk/commands/GetQualificationScoreCommand.ts index 868b11e1daa5..8fe3d912dc4f 100644 --- a/clients/client-mturk/commands/GetQualificationScoreCommand.ts +++ b/clients/client-mturk/commands/GetQualificationScoreCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetQualificationScoreCommandInput = GetQualificationScoreRequest; @@ -70,14 +70,14 @@ export class GetQualificationScoreCommand extends $Command< private serialize( input: GetQualificationScoreCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetQualificationScoreCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetQualificationScoreCommand(output, context); } diff --git a/clients/client-mturk/commands/GetQualificationTypeCommand.ts b/clients/client-mturk/commands/GetQualificationTypeCommand.ts index 8da9015d6c26..ac456b314d28 100644 --- a/clients/client-mturk/commands/GetQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/GetQualificationTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetQualificationTypeCommandInput = GetQualificationTypeRequest; @@ -70,14 +70,14 @@ export class GetQualificationTypeCommand extends $Command< private serialize( input: GetQualificationTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetQualificationTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetQualificationTypeCommand(output, context); } diff --git a/clients/client-mturk/commands/ListAssignmentsForHITCommand.ts b/clients/client-mturk/commands/ListAssignmentsForHITCommand.ts index 45aac3a74fd3..d9876d251bbf 100644 --- a/clients/client-mturk/commands/ListAssignmentsForHITCommand.ts +++ b/clients/client-mturk/commands/ListAssignmentsForHITCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssignmentsForHITCommandInput = ListAssignmentsForHITRequest; @@ -70,14 +70,14 @@ export class ListAssignmentsForHITCommand extends $Command< private serialize( input: ListAssignmentsForHITCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAssignmentsForHITCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAssignmentsForHITCommand(output, context); } diff --git a/clients/client-mturk/commands/ListBonusPaymentsCommand.ts b/clients/client-mturk/commands/ListBonusPaymentsCommand.ts index a82ff83cab20..d138c9c7313c 100644 --- a/clients/client-mturk/commands/ListBonusPaymentsCommand.ts +++ b/clients/client-mturk/commands/ListBonusPaymentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBonusPaymentsCommandInput = ListBonusPaymentsRequest; @@ -67,14 +67,14 @@ export class ListBonusPaymentsCommand extends $Command< private serialize( input: ListBonusPaymentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListBonusPaymentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListBonusPaymentsCommand(output, context); } diff --git a/clients/client-mturk/commands/ListHITsCommand.ts b/clients/client-mturk/commands/ListHITsCommand.ts index 69b8f2a66591..a33cad163d23 100644 --- a/clients/client-mturk/commands/ListHITsCommand.ts +++ b/clients/client-mturk/commands/ListHITsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHITsCommandInput = ListHITsRequest; @@ -64,14 +64,14 @@ export class ListHITsCommand extends $Command< private serialize( input: ListHITsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListHITsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListHITsCommand(output, context); } diff --git a/clients/client-mturk/commands/ListHITsForQualificationTypeCommand.ts b/clients/client-mturk/commands/ListHITsForQualificationTypeCommand.ts index dcc78f6605bf..2f5131cbf3bc 100644 --- a/clients/client-mturk/commands/ListHITsForQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/ListHITsForQualificationTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHITsForQualificationTypeCommandInput = ListHITsForQualificationTypeRequest; @@ -70,7 +70,7 @@ export class ListHITsForQualificationTypeCommand extends $Command< private serialize( input: ListHITsForQualificationTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListHITsForQualificationTypeCommand( input, @@ -80,7 +80,7 @@ export class ListHITsForQualificationTypeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListHITsForQualificationTypeCommand( output, diff --git a/clients/client-mturk/commands/ListQualificationRequestsCommand.ts b/clients/client-mturk/commands/ListQualificationRequestsCommand.ts index 9a9ae103a601..337d4fcdb2a8 100644 --- a/clients/client-mturk/commands/ListQualificationRequestsCommand.ts +++ b/clients/client-mturk/commands/ListQualificationRequestsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListQualificationRequestsCommandInput = ListQualificationRequestsRequest; @@ -70,14 +70,14 @@ export class ListQualificationRequestsCommand extends $Command< private serialize( input: ListQualificationRequestsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListQualificationRequestsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListQualificationRequestsCommand( output, diff --git a/clients/client-mturk/commands/ListQualificationTypesCommand.ts b/clients/client-mturk/commands/ListQualificationTypesCommand.ts index 0b6eb3c571cd..8b6944ceda4b 100644 --- a/clients/client-mturk/commands/ListQualificationTypesCommand.ts +++ b/clients/client-mturk/commands/ListQualificationTypesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListQualificationTypesCommandInput = ListQualificationTypesRequest; @@ -70,14 +70,14 @@ export class ListQualificationTypesCommand extends $Command< private serialize( input: ListQualificationTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListQualificationTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListQualificationTypesCommand(output, context); } diff --git a/clients/client-mturk/commands/ListReviewPolicyResultsForHITCommand.ts b/clients/client-mturk/commands/ListReviewPolicyResultsForHITCommand.ts index b108a54d3fb8..9dfbf54ca354 100644 --- a/clients/client-mturk/commands/ListReviewPolicyResultsForHITCommand.ts +++ b/clients/client-mturk/commands/ListReviewPolicyResultsForHITCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListReviewPolicyResultsForHITCommandInput = ListReviewPolicyResultsForHITRequest; @@ -70,7 +70,7 @@ export class ListReviewPolicyResultsForHITCommand extends $Command< private serialize( input: ListReviewPolicyResultsForHITCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListReviewPolicyResultsForHITCommand( input, @@ -80,7 +80,7 @@ export class ListReviewPolicyResultsForHITCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListReviewPolicyResultsForHITCommand( output, diff --git a/clients/client-mturk/commands/ListReviewableHITsCommand.ts b/clients/client-mturk/commands/ListReviewableHITsCommand.ts index 0ed12e071a89..0d9a7b6cd1c1 100644 --- a/clients/client-mturk/commands/ListReviewableHITsCommand.ts +++ b/clients/client-mturk/commands/ListReviewableHITsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListReviewableHITsCommandInput = ListReviewableHITsRequest; @@ -67,14 +67,14 @@ export class ListReviewableHITsCommand extends $Command< private serialize( input: ListReviewableHITsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListReviewableHITsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListReviewableHITsCommand(output, context); } diff --git a/clients/client-mturk/commands/ListWorkerBlocksCommand.ts b/clients/client-mturk/commands/ListWorkerBlocksCommand.ts index 4a0113d17c75..23da81ef5805 100644 --- a/clients/client-mturk/commands/ListWorkerBlocksCommand.ts +++ b/clients/client-mturk/commands/ListWorkerBlocksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWorkerBlocksCommandInput = ListWorkerBlocksRequest; @@ -67,14 +67,14 @@ export class ListWorkerBlocksCommand extends $Command< private serialize( input: ListWorkerBlocksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListWorkerBlocksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListWorkerBlocksCommand(output, context); } diff --git a/clients/client-mturk/commands/ListWorkersWithQualificationTypeCommand.ts b/clients/client-mturk/commands/ListWorkersWithQualificationTypeCommand.ts index 2e07683a164c..a86d87686fa3 100644 --- a/clients/client-mturk/commands/ListWorkersWithQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/ListWorkersWithQualificationTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWorkersWithQualificationTypeCommandInput = ListWorkersWithQualificationTypeRequest; @@ -70,7 +70,7 @@ export class ListWorkersWithQualificationTypeCommand extends $Command< private serialize( input: ListWorkersWithQualificationTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListWorkersWithQualificationTypeCommand( input, @@ -80,7 +80,7 @@ export class ListWorkersWithQualificationTypeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListWorkersWithQualificationTypeCommand( output, diff --git a/clients/client-mturk/commands/NotifyWorkersCommand.ts b/clients/client-mturk/commands/NotifyWorkersCommand.ts index 5477327a61e7..9813d6699e7d 100644 --- a/clients/client-mturk/commands/NotifyWorkersCommand.ts +++ b/clients/client-mturk/commands/NotifyWorkersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type NotifyWorkersCommandInput = NotifyWorkersRequest; @@ -64,14 +64,14 @@ export class NotifyWorkersCommand extends $Command< private serialize( input: NotifyWorkersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1NotifyWorkersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1NotifyWorkersCommand(output, context); } diff --git a/clients/client-mturk/commands/RejectAssignmentCommand.ts b/clients/client-mturk/commands/RejectAssignmentCommand.ts index 9aae7bba7af0..9c5f81d59b33 100644 --- a/clients/client-mturk/commands/RejectAssignmentCommand.ts +++ b/clients/client-mturk/commands/RejectAssignmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectAssignmentCommandInput = RejectAssignmentRequest; @@ -67,14 +67,14 @@ export class RejectAssignmentCommand extends $Command< private serialize( input: RejectAssignmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RejectAssignmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RejectAssignmentCommand(output, context); } diff --git a/clients/client-mturk/commands/RejectQualificationRequestCommand.ts b/clients/client-mturk/commands/RejectQualificationRequestCommand.ts index 4bf54f2bf418..10666a58d0f5 100644 --- a/clients/client-mturk/commands/RejectQualificationRequestCommand.ts +++ b/clients/client-mturk/commands/RejectQualificationRequestCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectQualificationRequestCommandInput = RejectQualificationRequestRequest; @@ -70,7 +70,7 @@ export class RejectQualificationRequestCommand extends $Command< private serialize( input: RejectQualificationRequestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RejectQualificationRequestCommand( input, @@ -80,7 +80,7 @@ export class RejectQualificationRequestCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RejectQualificationRequestCommand( output, diff --git a/clients/client-mturk/commands/SendBonusCommand.ts b/clients/client-mturk/commands/SendBonusCommand.ts index 32cdf33cc64a..1b8b6d629f6c 100644 --- a/clients/client-mturk/commands/SendBonusCommand.ts +++ b/clients/client-mturk/commands/SendBonusCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendBonusCommandInput = SendBonusRequest; @@ -64,14 +64,14 @@ export class SendBonusCommand extends $Command< private serialize( input: SendBonusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SendBonusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SendBonusCommand(output, context); } diff --git a/clients/client-mturk/commands/SendTestEventNotificationCommand.ts b/clients/client-mturk/commands/SendTestEventNotificationCommand.ts index 42a634c3705a..f882acb8aaa6 100644 --- a/clients/client-mturk/commands/SendTestEventNotificationCommand.ts +++ b/clients/client-mturk/commands/SendTestEventNotificationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendTestEventNotificationCommandInput = SendTestEventNotificationRequest; @@ -70,14 +70,14 @@ export class SendTestEventNotificationCommand extends $Command< private serialize( input: SendTestEventNotificationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SendTestEventNotificationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SendTestEventNotificationCommand( output, diff --git a/clients/client-mturk/commands/UpdateExpirationForHITCommand.ts b/clients/client-mturk/commands/UpdateExpirationForHITCommand.ts index 6a1359ae3926..d44b8f88521e 100644 --- a/clients/client-mturk/commands/UpdateExpirationForHITCommand.ts +++ b/clients/client-mturk/commands/UpdateExpirationForHITCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateExpirationForHITCommandInput = UpdateExpirationForHITRequest; @@ -70,14 +70,14 @@ export class UpdateExpirationForHITCommand extends $Command< private serialize( input: UpdateExpirationForHITCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateExpirationForHITCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateExpirationForHITCommand(output, context); } diff --git a/clients/client-mturk/commands/UpdateHITReviewStatusCommand.ts b/clients/client-mturk/commands/UpdateHITReviewStatusCommand.ts index c25e4c86b136..42519246dcf6 100644 --- a/clients/client-mturk/commands/UpdateHITReviewStatusCommand.ts +++ b/clients/client-mturk/commands/UpdateHITReviewStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateHITReviewStatusCommandInput = UpdateHITReviewStatusRequest; @@ -70,14 +70,14 @@ export class UpdateHITReviewStatusCommand extends $Command< private serialize( input: UpdateHITReviewStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateHITReviewStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateHITReviewStatusCommand(output, context); } diff --git a/clients/client-mturk/commands/UpdateHITTypeOfHITCommand.ts b/clients/client-mturk/commands/UpdateHITTypeOfHITCommand.ts index 89f6ce337d34..23f5660ef592 100644 --- a/clients/client-mturk/commands/UpdateHITTypeOfHITCommand.ts +++ b/clients/client-mturk/commands/UpdateHITTypeOfHITCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateHITTypeOfHITCommandInput = UpdateHITTypeOfHITRequest; @@ -67,14 +67,14 @@ export class UpdateHITTypeOfHITCommand extends $Command< private serialize( input: UpdateHITTypeOfHITCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateHITTypeOfHITCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateHITTypeOfHITCommand(output, context); } diff --git a/clients/client-mturk/commands/UpdateNotificationSettingsCommand.ts b/clients/client-mturk/commands/UpdateNotificationSettingsCommand.ts index 8d048eb2ea32..ccfa6ab56105 100644 --- a/clients/client-mturk/commands/UpdateNotificationSettingsCommand.ts +++ b/clients/client-mturk/commands/UpdateNotificationSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateNotificationSettingsCommandInput = UpdateNotificationSettingsRequest; @@ -70,7 +70,7 @@ export class UpdateNotificationSettingsCommand extends $Command< private serialize( input: UpdateNotificationSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateNotificationSettingsCommand( input, @@ -80,7 +80,7 @@ export class UpdateNotificationSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateNotificationSettingsCommand( output, diff --git a/clients/client-mturk/commands/UpdateQualificationTypeCommand.ts b/clients/client-mturk/commands/UpdateQualificationTypeCommand.ts index b7e7ff04476f..ec48cba6117e 100644 --- a/clients/client-mturk/commands/UpdateQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/UpdateQualificationTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateQualificationTypeCommandInput = UpdateQualificationTypeRequest; @@ -70,14 +70,14 @@ export class UpdateQualificationTypeCommand extends $Command< private serialize( input: UpdateQualificationTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateQualificationTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateQualificationTypeCommand( output, diff --git a/clients/client-mturk/protocols/Aws_json1_1.ts b/clients/client-mturk/protocols/Aws_json1_1.ts index 33a3cbdd252d..d59e0153e35c 100644 --- a/clients/client-mturk/protocols/Aws_json1_1.ts +++ b/clients/client-mturk/protocols/Aws_json1_1.ts @@ -5929,6 +5929,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-neptune/commands/AddRoleToDBClusterCommand.ts b/clients/client-neptune/commands/AddRoleToDBClusterCommand.ts index 3dd212b5c7fd..aaa6c2450346 100644 --- a/clients/client-neptune/commands/AddRoleToDBClusterCommand.ts +++ b/clients/client-neptune/commands/AddRoleToDBClusterCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddRoleToDBClusterCommandInput = AddRoleToDBClusterMessage; @@ -65,14 +65,14 @@ export class AddRoleToDBClusterCommand extends $Command< private serialize( input: AddRoleToDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddRoleToDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddRoleToDBClusterCommand(output, context); } diff --git a/clients/client-neptune/commands/AddSourceIdentifierToSubscriptionCommand.ts b/clients/client-neptune/commands/AddSourceIdentifierToSubscriptionCommand.ts index 2c0308cd3b12..43e99a26b009 100644 --- a/clients/client-neptune/commands/AddSourceIdentifierToSubscriptionCommand.ts +++ b/clients/client-neptune/commands/AddSourceIdentifierToSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddSourceIdentifierToSubscriptionCommandInput = AddSourceIdentifierToSubscriptionMessage; @@ -70,7 +70,7 @@ export class AddSourceIdentifierToSubscriptionCommand extends $Command< private serialize( input: AddSourceIdentifierToSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddSourceIdentifierToSubscriptionCommand( input, @@ -80,7 +80,7 @@ export class AddSourceIdentifierToSubscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddSourceIdentifierToSubscriptionCommand( output, diff --git a/clients/client-neptune/commands/AddTagsToResourceCommand.ts b/clients/client-neptune/commands/AddTagsToResourceCommand.ts index 7f6e2589138d..997f47fbec79 100644 --- a/clients/client-neptune/commands/AddTagsToResourceCommand.ts +++ b/clients/client-neptune/commands/AddTagsToResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToResourceCommandInput = AddTagsToResourceMessage; @@ -65,14 +65,14 @@ export class AddTagsToResourceCommand extends $Command< private serialize( input: AddTagsToResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddTagsToResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddTagsToResourceCommand(output, context); } diff --git a/clients/client-neptune/commands/ApplyPendingMaintenanceActionCommand.ts b/clients/client-neptune/commands/ApplyPendingMaintenanceActionCommand.ts index 591fac487e0f..70b047c1ffa0 100644 --- a/clients/client-neptune/commands/ApplyPendingMaintenanceActionCommand.ts +++ b/clients/client-neptune/commands/ApplyPendingMaintenanceActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ApplyPendingMaintenanceActionCommandInput = ApplyPendingMaintenanceActionMessage; @@ -70,7 +70,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< private serialize( input: ApplyPendingMaintenanceActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryApplyPendingMaintenanceActionCommand( input, @@ -80,7 +80,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryApplyPendingMaintenanceActionCommand( output, diff --git a/clients/client-neptune/commands/CopyDBClusterParameterGroupCommand.ts b/clients/client-neptune/commands/CopyDBClusterParameterGroupCommand.ts index 7c2a5fda86f5..d765664901af 100644 --- a/clients/client-neptune/commands/CopyDBClusterParameterGroupCommand.ts +++ b/clients/client-neptune/commands/CopyDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyDBClusterParameterGroupCommandInput = CopyDBClusterParameterGroupMessage; @@ -70,14 +70,14 @@ export class CopyDBClusterParameterGroupCommand extends $Command< private serialize( input: CopyDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopyDBClusterParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopyDBClusterParameterGroupCommand( output, diff --git a/clients/client-neptune/commands/CopyDBClusterSnapshotCommand.ts b/clients/client-neptune/commands/CopyDBClusterSnapshotCommand.ts index c77a2a39eafa..9550fce447c0 100644 --- a/clients/client-neptune/commands/CopyDBClusterSnapshotCommand.ts +++ b/clients/client-neptune/commands/CopyDBClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyDBClusterSnapshotCommandInput = CopyDBClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class CopyDBClusterSnapshotCommand extends $Command< private serialize( input: CopyDBClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopyDBClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopyDBClusterSnapshotCommand(output, context); } diff --git a/clients/client-neptune/commands/CopyDBParameterGroupCommand.ts b/clients/client-neptune/commands/CopyDBParameterGroupCommand.ts index bc562689072e..a211e8d66a49 100644 --- a/clients/client-neptune/commands/CopyDBParameterGroupCommand.ts +++ b/clients/client-neptune/commands/CopyDBParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyDBParameterGroupCommandInput = CopyDBParameterGroupMessage; @@ -70,14 +70,14 @@ export class CopyDBParameterGroupCommand extends $Command< private serialize( input: CopyDBParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopyDBParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopyDBParameterGroupCommand(output, context); } diff --git a/clients/client-neptune/commands/CreateDBClusterCommand.ts b/clients/client-neptune/commands/CreateDBClusterCommand.ts index 3c21bc1cfc0f..1b616fc701fc 100644 --- a/clients/client-neptune/commands/CreateDBClusterCommand.ts +++ b/clients/client-neptune/commands/CreateDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBClusterCommandInput = CreateDBClusterMessage; @@ -64,14 +64,14 @@ export class CreateDBClusterCommand extends $Command< private serialize( input: CreateDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBClusterCommand(output, context); } diff --git a/clients/client-neptune/commands/CreateDBClusterParameterGroupCommand.ts b/clients/client-neptune/commands/CreateDBClusterParameterGroupCommand.ts index be63a752ba39..24466ce9b0c8 100644 --- a/clients/client-neptune/commands/CreateDBClusterParameterGroupCommand.ts +++ b/clients/client-neptune/commands/CreateDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBClusterParameterGroupCommandInput = CreateDBClusterParameterGroupMessage; @@ -70,7 +70,7 @@ export class CreateDBClusterParameterGroupCommand extends $Command< private serialize( input: CreateDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBClusterParameterGroupCommand( input, @@ -80,7 +80,7 @@ export class CreateDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBClusterParameterGroupCommand( output, diff --git a/clients/client-neptune/commands/CreateDBClusterSnapshotCommand.ts b/clients/client-neptune/commands/CreateDBClusterSnapshotCommand.ts index 7ced8ca067ec..704f30bff20e 100644 --- a/clients/client-neptune/commands/CreateDBClusterSnapshotCommand.ts +++ b/clients/client-neptune/commands/CreateDBClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBClusterSnapshotCommandInput = CreateDBClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class CreateDBClusterSnapshotCommand extends $Command< private serialize( input: CreateDBClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBClusterSnapshotCommand(output, context); } diff --git a/clients/client-neptune/commands/CreateDBInstanceCommand.ts b/clients/client-neptune/commands/CreateDBInstanceCommand.ts index f9feaab056b3..27714eafb41c 100644 --- a/clients/client-neptune/commands/CreateDBInstanceCommand.ts +++ b/clients/client-neptune/commands/CreateDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBInstanceCommandInput = CreateDBInstanceMessage; @@ -67,14 +67,14 @@ export class CreateDBInstanceCommand extends $Command< private serialize( input: CreateDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBInstanceCommand(output, context); } diff --git a/clients/client-neptune/commands/CreateDBParameterGroupCommand.ts b/clients/client-neptune/commands/CreateDBParameterGroupCommand.ts index c6716e5a077c..961b7a3ae9ed 100644 --- a/clients/client-neptune/commands/CreateDBParameterGroupCommand.ts +++ b/clients/client-neptune/commands/CreateDBParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBParameterGroupCommandInput = CreateDBParameterGroupMessage; @@ -70,14 +70,14 @@ export class CreateDBParameterGroupCommand extends $Command< private serialize( input: CreateDBParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBParameterGroupCommand(output, context); } diff --git a/clients/client-neptune/commands/CreateDBSubnetGroupCommand.ts b/clients/client-neptune/commands/CreateDBSubnetGroupCommand.ts index ce5a596a4721..0a7348755995 100644 --- a/clients/client-neptune/commands/CreateDBSubnetGroupCommand.ts +++ b/clients/client-neptune/commands/CreateDBSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBSubnetGroupCommandInput = CreateDBSubnetGroupMessage; @@ -70,14 +70,14 @@ export class CreateDBSubnetGroupCommand extends $Command< private serialize( input: CreateDBSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBSubnetGroupCommand(output, context); } diff --git a/clients/client-neptune/commands/CreateEventSubscriptionCommand.ts b/clients/client-neptune/commands/CreateEventSubscriptionCommand.ts index 71f102b30389..8ba044231e5f 100644 --- a/clients/client-neptune/commands/CreateEventSubscriptionCommand.ts +++ b/clients/client-neptune/commands/CreateEventSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEventSubscriptionCommandInput = CreateEventSubscriptionMessage; @@ -70,14 +70,14 @@ export class CreateEventSubscriptionCommand extends $Command< private serialize( input: CreateEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateEventSubscriptionCommand(output, context); } diff --git a/clients/client-neptune/commands/DeleteDBClusterCommand.ts b/clients/client-neptune/commands/DeleteDBClusterCommand.ts index f2342808255d..83bb9a6727b1 100644 --- a/clients/client-neptune/commands/DeleteDBClusterCommand.ts +++ b/clients/client-neptune/commands/DeleteDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBClusterCommandInput = DeleteDBClusterMessage; @@ -64,14 +64,14 @@ export class DeleteDBClusterCommand extends $Command< private serialize( input: DeleteDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBClusterCommand(output, context); } diff --git a/clients/client-neptune/commands/DeleteDBClusterParameterGroupCommand.ts b/clients/client-neptune/commands/DeleteDBClusterParameterGroupCommand.ts index 0681f35d2f37..e922efc2c9b7 100644 --- a/clients/client-neptune/commands/DeleteDBClusterParameterGroupCommand.ts +++ b/clients/client-neptune/commands/DeleteDBClusterParameterGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBClusterParameterGroupCommandInput = DeleteDBClusterParameterGroupMessage; @@ -68,7 +68,7 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< private serialize( input: DeleteDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBClusterParameterGroupCommand( input, @@ -78,7 +78,7 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBClusterParameterGroupCommand( output, diff --git a/clients/client-neptune/commands/DeleteDBClusterSnapshotCommand.ts b/clients/client-neptune/commands/DeleteDBClusterSnapshotCommand.ts index 1871dfc5f528..0e31f9508585 100644 --- a/clients/client-neptune/commands/DeleteDBClusterSnapshotCommand.ts +++ b/clients/client-neptune/commands/DeleteDBClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBClusterSnapshotCommandInput = DeleteDBClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class DeleteDBClusterSnapshotCommand extends $Command< private serialize( input: DeleteDBClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBClusterSnapshotCommand(output, context); } diff --git a/clients/client-neptune/commands/DeleteDBInstanceCommand.ts b/clients/client-neptune/commands/DeleteDBInstanceCommand.ts index 6b51d6214847..10df6bea0be7 100644 --- a/clients/client-neptune/commands/DeleteDBInstanceCommand.ts +++ b/clients/client-neptune/commands/DeleteDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBInstanceCommandInput = DeleteDBInstanceMessage; @@ -67,14 +67,14 @@ export class DeleteDBInstanceCommand extends $Command< private serialize( input: DeleteDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBInstanceCommand(output, context); } diff --git a/clients/client-neptune/commands/DeleteDBParameterGroupCommand.ts b/clients/client-neptune/commands/DeleteDBParameterGroupCommand.ts index 878d24e2db64..65038c5bf606 100644 --- a/clients/client-neptune/commands/DeleteDBParameterGroupCommand.ts +++ b/clients/client-neptune/commands/DeleteDBParameterGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBParameterGroupCommandInput = DeleteDBParameterGroupMessage; @@ -68,14 +68,14 @@ export class DeleteDBParameterGroupCommand extends $Command< private serialize( input: DeleteDBParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBParameterGroupCommand(output, context); } diff --git a/clients/client-neptune/commands/DeleteDBSubnetGroupCommand.ts b/clients/client-neptune/commands/DeleteDBSubnetGroupCommand.ts index 9d55c97965e5..9be52bbab7f5 100644 --- a/clients/client-neptune/commands/DeleteDBSubnetGroupCommand.ts +++ b/clients/client-neptune/commands/DeleteDBSubnetGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBSubnetGroupCommandInput = DeleteDBSubnetGroupMessage; @@ -68,14 +68,14 @@ export class DeleteDBSubnetGroupCommand extends $Command< private serialize( input: DeleteDBSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBSubnetGroupCommand(output, context); } diff --git a/clients/client-neptune/commands/DeleteEventSubscriptionCommand.ts b/clients/client-neptune/commands/DeleteEventSubscriptionCommand.ts index f75f7eb19c13..ef9cd32b47db 100644 --- a/clients/client-neptune/commands/DeleteEventSubscriptionCommand.ts +++ b/clients/client-neptune/commands/DeleteEventSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEventSubscriptionCommandInput = DeleteEventSubscriptionMessage; @@ -70,14 +70,14 @@ export class DeleteEventSubscriptionCommand extends $Command< private serialize( input: DeleteEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteEventSubscriptionCommand(output, context); } diff --git a/clients/client-neptune/commands/DescribeDBClusterParameterGroupsCommand.ts b/clients/client-neptune/commands/DescribeDBClusterParameterGroupsCommand.ts index 3f1e0ebc974b..6be7ef4e8c2e 100644 --- a/clients/client-neptune/commands/DescribeDBClusterParameterGroupsCommand.ts +++ b/clients/client-neptune/commands/DescribeDBClusterParameterGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterParameterGroupsCommandInput = DescribeDBClusterParameterGroupsMessage; @@ -70,7 +70,7 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< private serialize( input: DescribeDBClusterParameterGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterParameterGroupsCommand( input, @@ -80,7 +80,7 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterParameterGroupsCommand( output, diff --git a/clients/client-neptune/commands/DescribeDBClusterParametersCommand.ts b/clients/client-neptune/commands/DescribeDBClusterParametersCommand.ts index 41169553948f..924de2302efc 100644 --- a/clients/client-neptune/commands/DescribeDBClusterParametersCommand.ts +++ b/clients/client-neptune/commands/DescribeDBClusterParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterParametersCommandInput = DescribeDBClusterParametersMessage; @@ -70,14 +70,14 @@ export class DescribeDBClusterParametersCommand extends $Command< private serialize( input: DescribeDBClusterParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterParametersCommand( output, diff --git a/clients/client-neptune/commands/DescribeDBClusterSnapshotAttributesCommand.ts b/clients/client-neptune/commands/DescribeDBClusterSnapshotAttributesCommand.ts index 47e0f1eebbde..0558544fe19f 100644 --- a/clients/client-neptune/commands/DescribeDBClusterSnapshotAttributesCommand.ts +++ b/clients/client-neptune/commands/DescribeDBClusterSnapshotAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterSnapshotAttributesCommandInput = DescribeDBClusterSnapshotAttributesMessage; @@ -70,7 +70,7 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< private serialize( input: DescribeDBClusterSnapshotAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterSnapshotAttributesCommand( input, @@ -80,7 +80,7 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterSnapshotAttributesCommand( output, diff --git a/clients/client-neptune/commands/DescribeDBClusterSnapshotsCommand.ts b/clients/client-neptune/commands/DescribeDBClusterSnapshotsCommand.ts index 566e0b46f1a3..6a1ca9864dc9 100644 --- a/clients/client-neptune/commands/DescribeDBClusterSnapshotsCommand.ts +++ b/clients/client-neptune/commands/DescribeDBClusterSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterSnapshotsCommandInput = DescribeDBClusterSnapshotsMessage; @@ -70,14 +70,14 @@ export class DescribeDBClusterSnapshotsCommand extends $Command< private serialize( input: DescribeDBClusterSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterSnapshotsCommand( output, diff --git a/clients/client-neptune/commands/DescribeDBClustersCommand.ts b/clients/client-neptune/commands/DescribeDBClustersCommand.ts index a4b391cd2fb5..9d43c846695a 100644 --- a/clients/client-neptune/commands/DescribeDBClustersCommand.ts +++ b/clients/client-neptune/commands/DescribeDBClustersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClustersCommandInput = DescribeDBClustersMessage; @@ -64,14 +64,14 @@ export class DescribeDBClustersCommand extends $Command< private serialize( input: DescribeDBClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClustersCommand(output, context); } diff --git a/clients/client-neptune/commands/DescribeDBEngineVersionsCommand.ts b/clients/client-neptune/commands/DescribeDBEngineVersionsCommand.ts index f936e36aa71d..511e8c899f05 100644 --- a/clients/client-neptune/commands/DescribeDBEngineVersionsCommand.ts +++ b/clients/client-neptune/commands/DescribeDBEngineVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBEngineVersionsCommandInput = DescribeDBEngineVersionsMessage; @@ -70,14 +70,14 @@ export class DescribeDBEngineVersionsCommand extends $Command< private serialize( input: DescribeDBEngineVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBEngineVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBEngineVersionsCommand(output, context); } diff --git a/clients/client-neptune/commands/DescribeDBInstancesCommand.ts b/clients/client-neptune/commands/DescribeDBInstancesCommand.ts index 0240f27063f7..79926c416025 100644 --- a/clients/client-neptune/commands/DescribeDBInstancesCommand.ts +++ b/clients/client-neptune/commands/DescribeDBInstancesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBInstancesCommandInput = DescribeDBInstancesMessage; @@ -67,14 +67,14 @@ export class DescribeDBInstancesCommand extends $Command< private serialize( input: DescribeDBInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBInstancesCommand(output, context); } diff --git a/clients/client-neptune/commands/DescribeDBParameterGroupsCommand.ts b/clients/client-neptune/commands/DescribeDBParameterGroupsCommand.ts index db39d2a4921a..926e88fed591 100644 --- a/clients/client-neptune/commands/DescribeDBParameterGroupsCommand.ts +++ b/clients/client-neptune/commands/DescribeDBParameterGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBParameterGroupsCommandInput = DescribeDBParameterGroupsMessage; @@ -70,14 +70,14 @@ export class DescribeDBParameterGroupsCommand extends $Command< private serialize( input: DescribeDBParameterGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBParameterGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBParameterGroupsCommand( output, diff --git a/clients/client-neptune/commands/DescribeDBParametersCommand.ts b/clients/client-neptune/commands/DescribeDBParametersCommand.ts index 164758988a63..fdf2d0f29364 100644 --- a/clients/client-neptune/commands/DescribeDBParametersCommand.ts +++ b/clients/client-neptune/commands/DescribeDBParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBParametersCommandInput = DescribeDBParametersMessage; @@ -70,14 +70,14 @@ export class DescribeDBParametersCommand extends $Command< private serialize( input: DescribeDBParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBParametersCommand(output, context); } diff --git a/clients/client-neptune/commands/DescribeDBSubnetGroupsCommand.ts b/clients/client-neptune/commands/DescribeDBSubnetGroupsCommand.ts index 4e6e72665e38..d6c059393074 100644 --- a/clients/client-neptune/commands/DescribeDBSubnetGroupsCommand.ts +++ b/clients/client-neptune/commands/DescribeDBSubnetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBSubnetGroupsCommandInput = DescribeDBSubnetGroupsMessage; @@ -70,14 +70,14 @@ export class DescribeDBSubnetGroupsCommand extends $Command< private serialize( input: DescribeDBSubnetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBSubnetGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBSubnetGroupsCommand(output, context); } diff --git a/clients/client-neptune/commands/DescribeEngineDefaultClusterParametersCommand.ts b/clients/client-neptune/commands/DescribeEngineDefaultClusterParametersCommand.ts index 00c64f146e9f..f7da6729993b 100644 --- a/clients/client-neptune/commands/DescribeEngineDefaultClusterParametersCommand.ts +++ b/clients/client-neptune/commands/DescribeEngineDefaultClusterParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEngineDefaultClusterParametersCommandInput = DescribeEngineDefaultClusterParametersMessage; @@ -72,7 +72,7 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< private serialize( input: DescribeEngineDefaultClusterParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEngineDefaultClusterParametersCommand( input, @@ -82,7 +82,7 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEngineDefaultClusterParametersCommand( output, diff --git a/clients/client-neptune/commands/DescribeEngineDefaultParametersCommand.ts b/clients/client-neptune/commands/DescribeEngineDefaultParametersCommand.ts index ae67c04a0d5c..b85e39fd7026 100644 --- a/clients/client-neptune/commands/DescribeEngineDefaultParametersCommand.ts +++ b/clients/client-neptune/commands/DescribeEngineDefaultParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEngineDefaultParametersCommandInput = DescribeEngineDefaultParametersMessage; @@ -70,7 +70,7 @@ export class DescribeEngineDefaultParametersCommand extends $Command< private serialize( input: DescribeEngineDefaultParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEngineDefaultParametersCommand( input, @@ -80,7 +80,7 @@ export class DescribeEngineDefaultParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEngineDefaultParametersCommand( output, diff --git a/clients/client-neptune/commands/DescribeEventCategoriesCommand.ts b/clients/client-neptune/commands/DescribeEventCategoriesCommand.ts index 844840a6e5ce..86825cfa8208 100644 --- a/clients/client-neptune/commands/DescribeEventCategoriesCommand.ts +++ b/clients/client-neptune/commands/DescribeEventCategoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventCategoriesCommandInput = DescribeEventCategoriesMessage; @@ -70,14 +70,14 @@ export class DescribeEventCategoriesCommand extends $Command< private serialize( input: DescribeEventCategoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventCategoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventCategoriesCommand(output, context); } diff --git a/clients/client-neptune/commands/DescribeEventSubscriptionsCommand.ts b/clients/client-neptune/commands/DescribeEventSubscriptionsCommand.ts index de4b59dc15ae..cdce9a162858 100644 --- a/clients/client-neptune/commands/DescribeEventSubscriptionsCommand.ts +++ b/clients/client-neptune/commands/DescribeEventSubscriptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventSubscriptionsCommandInput = DescribeEventSubscriptionsMessage; @@ -70,14 +70,14 @@ export class DescribeEventSubscriptionsCommand extends $Command< private serialize( input: DescribeEventSubscriptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventSubscriptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventSubscriptionsCommand( output, diff --git a/clients/client-neptune/commands/DescribeEventsCommand.ts b/clients/client-neptune/commands/DescribeEventsCommand.ts index c69663cf7f9a..1e702194bf69 100644 --- a/clients/client-neptune/commands/DescribeEventsCommand.ts +++ b/clients/client-neptune/commands/DescribeEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventsCommandInput = DescribeEventsMessage; @@ -64,14 +64,14 @@ export class DescribeEventsCommand extends $Command< private serialize( input: DescribeEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventsCommand(output, context); } diff --git a/clients/client-neptune/commands/DescribeOrderableDBInstanceOptionsCommand.ts b/clients/client-neptune/commands/DescribeOrderableDBInstanceOptionsCommand.ts index eed9723faf24..c810759642dd 100644 --- a/clients/client-neptune/commands/DescribeOrderableDBInstanceOptionsCommand.ts +++ b/clients/client-neptune/commands/DescribeOrderableDBInstanceOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrderableDBInstanceOptionsCommandInput = DescribeOrderableDBInstanceOptionsMessage; @@ -70,7 +70,7 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< private serialize( input: DescribeOrderableDBInstanceOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeOrderableDBInstanceOptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeOrderableDBInstanceOptionsCommand( output, diff --git a/clients/client-neptune/commands/DescribePendingMaintenanceActionsCommand.ts b/clients/client-neptune/commands/DescribePendingMaintenanceActionsCommand.ts index 627a58ae6dcc..fd5d3e7e6a1f 100644 --- a/clients/client-neptune/commands/DescribePendingMaintenanceActionsCommand.ts +++ b/clients/client-neptune/commands/DescribePendingMaintenanceActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePendingMaintenanceActionsCommandInput = DescribePendingMaintenanceActionsMessage; @@ -70,7 +70,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< private serialize( input: DescribePendingMaintenanceActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribePendingMaintenanceActionsCommand( input, @@ -80,7 +80,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribePendingMaintenanceActionsCommand( output, diff --git a/clients/client-neptune/commands/DescribeValidDBInstanceModificationsCommand.ts b/clients/client-neptune/commands/DescribeValidDBInstanceModificationsCommand.ts index e8f65b4f6e1c..ce46df57b3ad 100644 --- a/clients/client-neptune/commands/DescribeValidDBInstanceModificationsCommand.ts +++ b/clients/client-neptune/commands/DescribeValidDBInstanceModificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeValidDBInstanceModificationsCommandInput = DescribeValidDBInstanceModificationsMessage; @@ -72,7 +72,7 @@ export class DescribeValidDBInstanceModificationsCommand extends $Command< private serialize( input: DescribeValidDBInstanceModificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeValidDBInstanceModificationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeValidDBInstanceModificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeValidDBInstanceModificationsCommand( output, diff --git a/clients/client-neptune/commands/FailoverDBClusterCommand.ts b/clients/client-neptune/commands/FailoverDBClusterCommand.ts index 298ce7de1793..d66d98fad353 100644 --- a/clients/client-neptune/commands/FailoverDBClusterCommand.ts +++ b/clients/client-neptune/commands/FailoverDBClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type FailoverDBClusterCommandInput = FailoverDBClusterMessage; @@ -67,14 +67,14 @@ export class FailoverDBClusterCommand extends $Command< private serialize( input: FailoverDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryFailoverDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryFailoverDBClusterCommand(output, context); } diff --git a/clients/client-neptune/commands/ListTagsForResourceCommand.ts b/clients/client-neptune/commands/ListTagsForResourceCommand.ts index c7af572b7a92..e13a7cd9d8a3 100644 --- a/clients/client-neptune/commands/ListTagsForResourceCommand.ts +++ b/clients/client-neptune/commands/ListTagsForResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceMessage; @@ -67,14 +67,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTagsForResourceCommand(output, context); } diff --git a/clients/client-neptune/commands/ModifyDBClusterCommand.ts b/clients/client-neptune/commands/ModifyDBClusterCommand.ts index d68715c708a7..cda69cacdb44 100644 --- a/clients/client-neptune/commands/ModifyDBClusterCommand.ts +++ b/clients/client-neptune/commands/ModifyDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBClusterCommandInput = ModifyDBClusterMessage; @@ -64,14 +64,14 @@ export class ModifyDBClusterCommand extends $Command< private serialize( input: ModifyDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBClusterCommand(output, context); } diff --git a/clients/client-neptune/commands/ModifyDBClusterParameterGroupCommand.ts b/clients/client-neptune/commands/ModifyDBClusterParameterGroupCommand.ts index e4a3bab0aa4c..1114844f7b99 100644 --- a/clients/client-neptune/commands/ModifyDBClusterParameterGroupCommand.ts +++ b/clients/client-neptune/commands/ModifyDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBClusterParameterGroupCommandInput = ModifyDBClusterParameterGroupMessage; @@ -70,7 +70,7 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< private serialize( input: ModifyDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBClusterParameterGroupCommand( input, @@ -80,7 +80,7 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBClusterParameterGroupCommand( output, diff --git a/clients/client-neptune/commands/ModifyDBClusterSnapshotAttributeCommand.ts b/clients/client-neptune/commands/ModifyDBClusterSnapshotAttributeCommand.ts index 08b61bdf06e2..4f3fddc7d21c 100644 --- a/clients/client-neptune/commands/ModifyDBClusterSnapshotAttributeCommand.ts +++ b/clients/client-neptune/commands/ModifyDBClusterSnapshotAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBClusterSnapshotAttributeCommandInput = ModifyDBClusterSnapshotAttributeMessage; @@ -70,7 +70,7 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< private serialize( input: ModifyDBClusterSnapshotAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBClusterSnapshotAttributeCommand( input, @@ -80,7 +80,7 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBClusterSnapshotAttributeCommand( output, diff --git a/clients/client-neptune/commands/ModifyDBInstanceCommand.ts b/clients/client-neptune/commands/ModifyDBInstanceCommand.ts index 750f7c9cff7e..703827d4b4b3 100644 --- a/clients/client-neptune/commands/ModifyDBInstanceCommand.ts +++ b/clients/client-neptune/commands/ModifyDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBInstanceCommandInput = ModifyDBInstanceMessage; @@ -67,14 +67,14 @@ export class ModifyDBInstanceCommand extends $Command< private serialize( input: ModifyDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBInstanceCommand(output, context); } diff --git a/clients/client-neptune/commands/ModifyDBParameterGroupCommand.ts b/clients/client-neptune/commands/ModifyDBParameterGroupCommand.ts index 77c843c28673..c5ccc2022b3b 100644 --- a/clients/client-neptune/commands/ModifyDBParameterGroupCommand.ts +++ b/clients/client-neptune/commands/ModifyDBParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBParameterGroupCommandInput = ModifyDBParameterGroupMessage; @@ -70,14 +70,14 @@ export class ModifyDBParameterGroupCommand extends $Command< private serialize( input: ModifyDBParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBParameterGroupCommand(output, context); } diff --git a/clients/client-neptune/commands/ModifyDBSubnetGroupCommand.ts b/clients/client-neptune/commands/ModifyDBSubnetGroupCommand.ts index 0dba95c4ddfc..6a44be63d082 100644 --- a/clients/client-neptune/commands/ModifyDBSubnetGroupCommand.ts +++ b/clients/client-neptune/commands/ModifyDBSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBSubnetGroupCommandInput = ModifyDBSubnetGroupMessage; @@ -70,14 +70,14 @@ export class ModifyDBSubnetGroupCommand extends $Command< private serialize( input: ModifyDBSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBSubnetGroupCommand(output, context); } diff --git a/clients/client-neptune/commands/ModifyEventSubscriptionCommand.ts b/clients/client-neptune/commands/ModifyEventSubscriptionCommand.ts index 355b78a599a2..a7e90619ba3f 100644 --- a/clients/client-neptune/commands/ModifyEventSubscriptionCommand.ts +++ b/clients/client-neptune/commands/ModifyEventSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyEventSubscriptionCommandInput = ModifyEventSubscriptionMessage; @@ -70,14 +70,14 @@ export class ModifyEventSubscriptionCommand extends $Command< private serialize( input: ModifyEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyEventSubscriptionCommand(output, context); } diff --git a/clients/client-neptune/commands/PromoteReadReplicaDBClusterCommand.ts b/clients/client-neptune/commands/PromoteReadReplicaDBClusterCommand.ts index 2de61eee1198..04db88fa724b 100644 --- a/clients/client-neptune/commands/PromoteReadReplicaDBClusterCommand.ts +++ b/clients/client-neptune/commands/PromoteReadReplicaDBClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PromoteReadReplicaDBClusterCommandInput = PromoteReadReplicaDBClusterMessage; @@ -70,14 +70,14 @@ export class PromoteReadReplicaDBClusterCommand extends $Command< private serialize( input: PromoteReadReplicaDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPromoteReadReplicaDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPromoteReadReplicaDBClusterCommand( output, diff --git a/clients/client-neptune/commands/RebootDBInstanceCommand.ts b/clients/client-neptune/commands/RebootDBInstanceCommand.ts index 54489004801a..ad36be90b65c 100644 --- a/clients/client-neptune/commands/RebootDBInstanceCommand.ts +++ b/clients/client-neptune/commands/RebootDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootDBInstanceCommandInput = RebootDBInstanceMessage; @@ -67,14 +67,14 @@ export class RebootDBInstanceCommand extends $Command< private serialize( input: RebootDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRebootDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRebootDBInstanceCommand(output, context); } diff --git a/clients/client-neptune/commands/RemoveRoleFromDBClusterCommand.ts b/clients/client-neptune/commands/RemoveRoleFromDBClusterCommand.ts index d6ed9ab3ae1e..1d1c8e4b8c5e 100644 --- a/clients/client-neptune/commands/RemoveRoleFromDBClusterCommand.ts +++ b/clients/client-neptune/commands/RemoveRoleFromDBClusterCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveRoleFromDBClusterCommandInput = RemoveRoleFromDBClusterMessage; @@ -68,14 +68,14 @@ export class RemoveRoleFromDBClusterCommand extends $Command< private serialize( input: RemoveRoleFromDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveRoleFromDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveRoleFromDBClusterCommand(output, context); } diff --git a/clients/client-neptune/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts b/clients/client-neptune/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts index c8004532ce86..986ff9249a56 100644 --- a/clients/client-neptune/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts +++ b/clients/client-neptune/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveSourceIdentifierFromSubscriptionCommandInput = RemoveSourceIdentifierFromSubscriptionMessage; @@ -72,7 +72,7 @@ export class RemoveSourceIdentifierFromSubscriptionCommand extends $Command< private serialize( input: RemoveSourceIdentifierFromSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand( input, @@ -82,7 +82,7 @@ export class RemoveSourceIdentifierFromSubscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand( output, diff --git a/clients/client-neptune/commands/RemoveTagsFromResourceCommand.ts b/clients/client-neptune/commands/RemoveTagsFromResourceCommand.ts index 6988019ef9e7..f7374cdbbcd1 100644 --- a/clients/client-neptune/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-neptune/commands/RemoveTagsFromResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromResourceCommandInput = RemoveTagsFromResourceMessage; @@ -68,14 +68,14 @@ export class RemoveTagsFromResourceCommand extends $Command< private serialize( input: RemoveTagsFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveTagsFromResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveTagsFromResourceCommand(output, context); } diff --git a/clients/client-neptune/commands/ResetDBClusterParameterGroupCommand.ts b/clients/client-neptune/commands/ResetDBClusterParameterGroupCommand.ts index f53cda4a86ed..89391e437500 100644 --- a/clients/client-neptune/commands/ResetDBClusterParameterGroupCommand.ts +++ b/clients/client-neptune/commands/ResetDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetDBClusterParameterGroupCommandInput = ResetDBClusterParameterGroupMessage; @@ -70,7 +70,7 @@ export class ResetDBClusterParameterGroupCommand extends $Command< private serialize( input: ResetDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryResetDBClusterParameterGroupCommand( input, @@ -80,7 +80,7 @@ export class ResetDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryResetDBClusterParameterGroupCommand( output, diff --git a/clients/client-neptune/commands/ResetDBParameterGroupCommand.ts b/clients/client-neptune/commands/ResetDBParameterGroupCommand.ts index c7a177de8ffc..26c25ca98e7e 100644 --- a/clients/client-neptune/commands/ResetDBParameterGroupCommand.ts +++ b/clients/client-neptune/commands/ResetDBParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetDBParameterGroupCommandInput = ResetDBParameterGroupMessage; @@ -70,14 +70,14 @@ export class ResetDBParameterGroupCommand extends $Command< private serialize( input: ResetDBParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryResetDBParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryResetDBParameterGroupCommand(output, context); } diff --git a/clients/client-neptune/commands/RestoreDBClusterFromSnapshotCommand.ts b/clients/client-neptune/commands/RestoreDBClusterFromSnapshotCommand.ts index 98761b6c62e1..fb15813de7bb 100644 --- a/clients/client-neptune/commands/RestoreDBClusterFromSnapshotCommand.ts +++ b/clients/client-neptune/commands/RestoreDBClusterFromSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreDBClusterFromSnapshotCommandInput = RestoreDBClusterFromSnapshotMessage; @@ -70,7 +70,7 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< private serialize( input: RestoreDBClusterFromSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreDBClusterFromSnapshotCommand( input, @@ -80,7 +80,7 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreDBClusterFromSnapshotCommand( output, diff --git a/clients/client-neptune/commands/RestoreDBClusterToPointInTimeCommand.ts b/clients/client-neptune/commands/RestoreDBClusterToPointInTimeCommand.ts index 5a6388b1a1cb..2e8e328080f8 100644 --- a/clients/client-neptune/commands/RestoreDBClusterToPointInTimeCommand.ts +++ b/clients/client-neptune/commands/RestoreDBClusterToPointInTimeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreDBClusterToPointInTimeCommandInput = RestoreDBClusterToPointInTimeMessage; @@ -70,7 +70,7 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< private serialize( input: RestoreDBClusterToPointInTimeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreDBClusterToPointInTimeCommand( input, @@ -80,7 +80,7 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreDBClusterToPointInTimeCommand( output, diff --git a/clients/client-neptune/protocols/Aws_query.ts b/clients/client-neptune/protocols/Aws_query.ts index 6c6f212521fa..a8c0175dc2cb 100644 --- a/clients/client-neptune/protocols/Aws_query.ts +++ b/clients/client-neptune/protocols/Aws_query.ts @@ -13286,6 +13286,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-networkmanager/commands/AssociateCustomerGatewayCommand.ts b/clients/client-networkmanager/commands/AssociateCustomerGatewayCommand.ts index 2d1176dceb1c..8fde3825d27f 100644 --- a/clients/client-networkmanager/commands/AssociateCustomerGatewayCommand.ts +++ b/clients/client-networkmanager/commands/AssociateCustomerGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateCustomerGatewayCommandInput = AssociateCustomerGatewayRequest; @@ -70,7 +70,7 @@ export class AssociateCustomerGatewayCommand extends $Command< private serialize( input: AssociateCustomerGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateCustomerGatewayCommand( input, @@ -80,7 +80,7 @@ export class AssociateCustomerGatewayCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateCustomerGatewayCommand( output, diff --git a/clients/client-networkmanager/commands/AssociateLinkCommand.ts b/clients/client-networkmanager/commands/AssociateLinkCommand.ts index d6ef96979bd1..00748d8aff35 100644 --- a/clients/client-networkmanager/commands/AssociateLinkCommand.ts +++ b/clients/client-networkmanager/commands/AssociateLinkCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateLinkCommandInput = AssociateLinkRequest; @@ -64,14 +64,14 @@ export class AssociateLinkCommand extends $Command< private serialize( input: AssociateLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateLinkCommand(output, context); } diff --git a/clients/client-networkmanager/commands/CreateDeviceCommand.ts b/clients/client-networkmanager/commands/CreateDeviceCommand.ts index e797581ebe20..2f0a2c90851e 100644 --- a/clients/client-networkmanager/commands/CreateDeviceCommand.ts +++ b/clients/client-networkmanager/commands/CreateDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeviceCommandInput = CreateDeviceRequest; @@ -64,14 +64,14 @@ export class CreateDeviceCommand extends $Command< private serialize( input: CreateDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDeviceCommand(output, context); } diff --git a/clients/client-networkmanager/commands/CreateGlobalNetworkCommand.ts b/clients/client-networkmanager/commands/CreateGlobalNetworkCommand.ts index 676cf0032a62..9bf01bc82348 100644 --- a/clients/client-networkmanager/commands/CreateGlobalNetworkCommand.ts +++ b/clients/client-networkmanager/commands/CreateGlobalNetworkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGlobalNetworkCommandInput = CreateGlobalNetworkRequest; @@ -70,14 +70,14 @@ export class CreateGlobalNetworkCommand extends $Command< private serialize( input: CreateGlobalNetworkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateGlobalNetworkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateGlobalNetworkCommand( output, diff --git a/clients/client-networkmanager/commands/CreateLinkCommand.ts b/clients/client-networkmanager/commands/CreateLinkCommand.ts index a1d490a3a7d6..6e96bf511deb 100644 --- a/clients/client-networkmanager/commands/CreateLinkCommand.ts +++ b/clients/client-networkmanager/commands/CreateLinkCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLinkCommandInput = CreateLinkRequest; @@ -64,14 +64,14 @@ export class CreateLinkCommand extends $Command< private serialize( input: CreateLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateLinkCommand(output, context); } diff --git a/clients/client-networkmanager/commands/CreateSiteCommand.ts b/clients/client-networkmanager/commands/CreateSiteCommand.ts index 8da8d7f4531d..f8f2282f4741 100644 --- a/clients/client-networkmanager/commands/CreateSiteCommand.ts +++ b/clients/client-networkmanager/commands/CreateSiteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSiteCommandInput = CreateSiteRequest; @@ -64,14 +64,14 @@ export class CreateSiteCommand extends $Command< private serialize( input: CreateSiteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSiteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSiteCommand(output, context); } diff --git a/clients/client-networkmanager/commands/DeleteDeviceCommand.ts b/clients/client-networkmanager/commands/DeleteDeviceCommand.ts index 7a6a9044ea2b..90e1bdb2b375 100644 --- a/clients/client-networkmanager/commands/DeleteDeviceCommand.ts +++ b/clients/client-networkmanager/commands/DeleteDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDeviceCommandInput = DeleteDeviceRequest; @@ -64,14 +64,14 @@ export class DeleteDeviceCommand extends $Command< private serialize( input: DeleteDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDeviceCommand(output, context); } diff --git a/clients/client-networkmanager/commands/DeleteGlobalNetworkCommand.ts b/clients/client-networkmanager/commands/DeleteGlobalNetworkCommand.ts index 228517539af4..2bf2f65d2cfb 100644 --- a/clients/client-networkmanager/commands/DeleteGlobalNetworkCommand.ts +++ b/clients/client-networkmanager/commands/DeleteGlobalNetworkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGlobalNetworkCommandInput = DeleteGlobalNetworkRequest; @@ -70,14 +70,14 @@ export class DeleteGlobalNetworkCommand extends $Command< private serialize( input: DeleteGlobalNetworkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteGlobalNetworkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteGlobalNetworkCommand( output, diff --git a/clients/client-networkmanager/commands/DeleteLinkCommand.ts b/clients/client-networkmanager/commands/DeleteLinkCommand.ts index 6db06035589e..86da42de206e 100644 --- a/clients/client-networkmanager/commands/DeleteLinkCommand.ts +++ b/clients/client-networkmanager/commands/DeleteLinkCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLinkCommandInput = DeleteLinkRequest; @@ -64,14 +64,14 @@ export class DeleteLinkCommand extends $Command< private serialize( input: DeleteLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteLinkCommand(output, context); } diff --git a/clients/client-networkmanager/commands/DeleteSiteCommand.ts b/clients/client-networkmanager/commands/DeleteSiteCommand.ts index 5742a356d273..837d4d1cdb8b 100644 --- a/clients/client-networkmanager/commands/DeleteSiteCommand.ts +++ b/clients/client-networkmanager/commands/DeleteSiteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSiteCommandInput = DeleteSiteRequest; @@ -64,14 +64,14 @@ export class DeleteSiteCommand extends $Command< private serialize( input: DeleteSiteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSiteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSiteCommand(output, context); } diff --git a/clients/client-networkmanager/commands/DeregisterTransitGatewayCommand.ts b/clients/client-networkmanager/commands/DeregisterTransitGatewayCommand.ts index 6b53c642d132..00752c645bf3 100644 --- a/clients/client-networkmanager/commands/DeregisterTransitGatewayCommand.ts +++ b/clients/client-networkmanager/commands/DeregisterTransitGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterTransitGatewayCommandInput = DeregisterTransitGatewayRequest; @@ -70,7 +70,7 @@ export class DeregisterTransitGatewayCommand extends $Command< private serialize( input: DeregisterTransitGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeregisterTransitGatewayCommand( input, @@ -80,7 +80,7 @@ export class DeregisterTransitGatewayCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeregisterTransitGatewayCommand( output, diff --git a/clients/client-networkmanager/commands/DescribeGlobalNetworksCommand.ts b/clients/client-networkmanager/commands/DescribeGlobalNetworksCommand.ts index 3d6c039a7f95..ea3f37abdc8a 100644 --- a/clients/client-networkmanager/commands/DescribeGlobalNetworksCommand.ts +++ b/clients/client-networkmanager/commands/DescribeGlobalNetworksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGlobalNetworksCommandInput = DescribeGlobalNetworksRequest; @@ -70,7 +70,7 @@ export class DescribeGlobalNetworksCommand extends $Command< private serialize( input: DescribeGlobalNetworksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeGlobalNetworksCommand( input, @@ -80,7 +80,7 @@ export class DescribeGlobalNetworksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeGlobalNetworksCommand( output, diff --git a/clients/client-networkmanager/commands/DisassociateCustomerGatewayCommand.ts b/clients/client-networkmanager/commands/DisassociateCustomerGatewayCommand.ts index dd5ce4ffb55d..1a641c3ac80d 100644 --- a/clients/client-networkmanager/commands/DisassociateCustomerGatewayCommand.ts +++ b/clients/client-networkmanager/commands/DisassociateCustomerGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateCustomerGatewayCommandInput = DisassociateCustomerGatewayRequest; @@ -70,7 +70,7 @@ export class DisassociateCustomerGatewayCommand extends $Command< private serialize( input: DisassociateCustomerGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateCustomerGatewayCommand( input, @@ -80,7 +80,7 @@ export class DisassociateCustomerGatewayCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateCustomerGatewayCommand( output, diff --git a/clients/client-networkmanager/commands/DisassociateLinkCommand.ts b/clients/client-networkmanager/commands/DisassociateLinkCommand.ts index 9bb6704124c3..820d7734b341 100644 --- a/clients/client-networkmanager/commands/DisassociateLinkCommand.ts +++ b/clients/client-networkmanager/commands/DisassociateLinkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateLinkCommandInput = DisassociateLinkRequest; @@ -67,14 +67,14 @@ export class DisassociateLinkCommand extends $Command< private serialize( input: DisassociateLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateLinkCommand(output, context); } diff --git a/clients/client-networkmanager/commands/GetCustomerGatewayAssociationsCommand.ts b/clients/client-networkmanager/commands/GetCustomerGatewayAssociationsCommand.ts index 503457b31396..33bde1db1376 100644 --- a/clients/client-networkmanager/commands/GetCustomerGatewayAssociationsCommand.ts +++ b/clients/client-networkmanager/commands/GetCustomerGatewayAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCustomerGatewayAssociationsCommandInput = GetCustomerGatewayAssociationsRequest; @@ -70,7 +70,7 @@ export class GetCustomerGatewayAssociationsCommand extends $Command< private serialize( input: GetCustomerGatewayAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCustomerGatewayAssociationsCommand( input, @@ -80,7 +80,7 @@ export class GetCustomerGatewayAssociationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCustomerGatewayAssociationsCommand( output, diff --git a/clients/client-networkmanager/commands/GetDevicesCommand.ts b/clients/client-networkmanager/commands/GetDevicesCommand.ts index 0f7ca810501f..362caf22d468 100644 --- a/clients/client-networkmanager/commands/GetDevicesCommand.ts +++ b/clients/client-networkmanager/commands/GetDevicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDevicesCommandInput = GetDevicesRequest; @@ -64,14 +64,14 @@ export class GetDevicesCommand extends $Command< private serialize( input: GetDevicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDevicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDevicesCommand(output, context); } diff --git a/clients/client-networkmanager/commands/GetLinkAssociationsCommand.ts b/clients/client-networkmanager/commands/GetLinkAssociationsCommand.ts index 491c1e6da825..eee9880e280f 100644 --- a/clients/client-networkmanager/commands/GetLinkAssociationsCommand.ts +++ b/clients/client-networkmanager/commands/GetLinkAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLinkAssociationsCommandInput = GetLinkAssociationsRequest; @@ -70,14 +70,14 @@ export class GetLinkAssociationsCommand extends $Command< private serialize( input: GetLinkAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLinkAssociationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLinkAssociationsCommand( output, diff --git a/clients/client-networkmanager/commands/GetLinksCommand.ts b/clients/client-networkmanager/commands/GetLinksCommand.ts index b098be4e8303..814f10244656 100644 --- a/clients/client-networkmanager/commands/GetLinksCommand.ts +++ b/clients/client-networkmanager/commands/GetLinksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLinksCommandInput = GetLinksRequest; @@ -64,14 +64,14 @@ export class GetLinksCommand extends $Command< private serialize( input: GetLinksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLinksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLinksCommand(output, context); } diff --git a/clients/client-networkmanager/commands/GetSitesCommand.ts b/clients/client-networkmanager/commands/GetSitesCommand.ts index 894d42c6de2b..5fe1f9e9d62f 100644 --- a/clients/client-networkmanager/commands/GetSitesCommand.ts +++ b/clients/client-networkmanager/commands/GetSitesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSitesCommandInput = GetSitesRequest; @@ -64,14 +64,14 @@ export class GetSitesCommand extends $Command< private serialize( input: GetSitesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSitesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSitesCommand(output, context); } diff --git a/clients/client-networkmanager/commands/GetTransitGatewayRegistrationsCommand.ts b/clients/client-networkmanager/commands/GetTransitGatewayRegistrationsCommand.ts index 9ec3ea3d376a..b34ab9584b7f 100644 --- a/clients/client-networkmanager/commands/GetTransitGatewayRegistrationsCommand.ts +++ b/clients/client-networkmanager/commands/GetTransitGatewayRegistrationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTransitGatewayRegistrationsCommandInput = GetTransitGatewayRegistrationsRequest; @@ -70,7 +70,7 @@ export class GetTransitGatewayRegistrationsCommand extends $Command< private serialize( input: GetTransitGatewayRegistrationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTransitGatewayRegistrationsCommand( input, @@ -80,7 +80,7 @@ export class GetTransitGatewayRegistrationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTransitGatewayRegistrationsCommand( output, diff --git a/clients/client-networkmanager/commands/ListTagsForResourceCommand.ts b/clients/client-networkmanager/commands/ListTagsForResourceCommand.ts index 7cc61fa85e61..cb7fffc2e082 100644 --- a/clients/client-networkmanager/commands/ListTagsForResourceCommand.ts +++ b/clients/client-networkmanager/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-networkmanager/commands/RegisterTransitGatewayCommand.ts b/clients/client-networkmanager/commands/RegisterTransitGatewayCommand.ts index 99f17b538fab..9c047c2273e5 100644 --- a/clients/client-networkmanager/commands/RegisterTransitGatewayCommand.ts +++ b/clients/client-networkmanager/commands/RegisterTransitGatewayCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterTransitGatewayCommandInput = RegisterTransitGatewayRequest; @@ -70,7 +70,7 @@ export class RegisterTransitGatewayCommand extends $Command< private serialize( input: RegisterTransitGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RegisterTransitGatewayCommand( input, @@ -80,7 +80,7 @@ export class RegisterTransitGatewayCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RegisterTransitGatewayCommand( output, diff --git a/clients/client-networkmanager/commands/TagResourceCommand.ts b/clients/client-networkmanager/commands/TagResourceCommand.ts index 61c3f296481c..6eb08a9fe74d 100644 --- a/clients/client-networkmanager/commands/TagResourceCommand.ts +++ b/clients/client-networkmanager/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-networkmanager/commands/UntagResourceCommand.ts b/clients/client-networkmanager/commands/UntagResourceCommand.ts index d6736269993c..4ed4afe2659f 100644 --- a/clients/client-networkmanager/commands/UntagResourceCommand.ts +++ b/clients/client-networkmanager/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-networkmanager/commands/UpdateDeviceCommand.ts b/clients/client-networkmanager/commands/UpdateDeviceCommand.ts index 387e52efebd3..6476828fa260 100644 --- a/clients/client-networkmanager/commands/UpdateDeviceCommand.ts +++ b/clients/client-networkmanager/commands/UpdateDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDeviceCommandInput = UpdateDeviceRequest; @@ -64,14 +64,14 @@ export class UpdateDeviceCommand extends $Command< private serialize( input: UpdateDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDeviceCommand(output, context); } diff --git a/clients/client-networkmanager/commands/UpdateGlobalNetworkCommand.ts b/clients/client-networkmanager/commands/UpdateGlobalNetworkCommand.ts index 6acb51f2c902..8e7f3378ad41 100644 --- a/clients/client-networkmanager/commands/UpdateGlobalNetworkCommand.ts +++ b/clients/client-networkmanager/commands/UpdateGlobalNetworkCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGlobalNetworkCommandInput = UpdateGlobalNetworkRequest; @@ -70,14 +70,14 @@ export class UpdateGlobalNetworkCommand extends $Command< private serialize( input: UpdateGlobalNetworkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateGlobalNetworkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateGlobalNetworkCommand( output, diff --git a/clients/client-networkmanager/commands/UpdateLinkCommand.ts b/clients/client-networkmanager/commands/UpdateLinkCommand.ts index 7bb7844641d4..6803810ffe7b 100644 --- a/clients/client-networkmanager/commands/UpdateLinkCommand.ts +++ b/clients/client-networkmanager/commands/UpdateLinkCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLinkCommandInput = UpdateLinkRequest; @@ -64,14 +64,14 @@ export class UpdateLinkCommand extends $Command< private serialize( input: UpdateLinkCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateLinkCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateLinkCommand(output, context); } diff --git a/clients/client-networkmanager/commands/UpdateSiteCommand.ts b/clients/client-networkmanager/commands/UpdateSiteCommand.ts index 10f9f18fa4ac..950d6429f527 100644 --- a/clients/client-networkmanager/commands/UpdateSiteCommand.ts +++ b/clients/client-networkmanager/commands/UpdateSiteCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSiteCommandInput = UpdateSiteRequest; @@ -64,14 +64,14 @@ export class UpdateSiteCommand extends $Command< private serialize( input: UpdateSiteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateSiteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateSiteCommand(output, context); } diff --git a/clients/client-networkmanager/protocols/Aws_restJson1_1.ts b/clients/client-networkmanager/protocols/Aws_restJson1_1.ts index f0409e048354..6f027e5808fc 100644 --- a/clients/client-networkmanager/protocols/Aws_restJson1_1.ts +++ b/clients/client-networkmanager/protocols/Aws_restJson1_1.ts @@ -4710,6 +4710,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-opsworks/commands/AssignInstanceCommand.ts b/clients/client-opsworks/commands/AssignInstanceCommand.ts index bf4fbb09cf28..ae52c583519d 100644 --- a/clients/client-opsworks/commands/AssignInstanceCommand.ts +++ b/clients/client-opsworks/commands/AssignInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssignInstanceCommandInput = AssignInstanceRequest; @@ -65,14 +65,14 @@ export class AssignInstanceCommand extends $Command< private serialize( input: AssignInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssignInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssignInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/AssignVolumeCommand.ts b/clients/client-opsworks/commands/AssignVolumeCommand.ts index 8ab8f4329ceb..7417de8b4a07 100644 --- a/clients/client-opsworks/commands/AssignVolumeCommand.ts +++ b/clients/client-opsworks/commands/AssignVolumeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssignVolumeCommandInput = AssignVolumeRequest; @@ -65,14 +65,14 @@ export class AssignVolumeCommand extends $Command< private serialize( input: AssignVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssignVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssignVolumeCommand(output, context); } diff --git a/clients/client-opsworks/commands/AssociateElasticIpCommand.ts b/clients/client-opsworks/commands/AssociateElasticIpCommand.ts index c46fe7e100ff..5d67d7191d48 100644 --- a/clients/client-opsworks/commands/AssociateElasticIpCommand.ts +++ b/clients/client-opsworks/commands/AssociateElasticIpCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateElasticIpCommandInput = AssociateElasticIpRequest; @@ -65,14 +65,14 @@ export class AssociateElasticIpCommand extends $Command< private serialize( input: AssociateElasticIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateElasticIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateElasticIpCommand(output, context); } diff --git a/clients/client-opsworks/commands/AttachElasticLoadBalancerCommand.ts b/clients/client-opsworks/commands/AttachElasticLoadBalancerCommand.ts index 9268ea59cc70..c08fa1ccbe52 100644 --- a/clients/client-opsworks/commands/AttachElasticLoadBalancerCommand.ts +++ b/clients/client-opsworks/commands/AttachElasticLoadBalancerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachElasticLoadBalancerCommandInput = AttachElasticLoadBalancerRequest; @@ -68,14 +68,14 @@ export class AttachElasticLoadBalancerCommand extends $Command< private serialize( input: AttachElasticLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AttachElasticLoadBalancerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AttachElasticLoadBalancerCommand( output, diff --git a/clients/client-opsworks/commands/CloneStackCommand.ts b/clients/client-opsworks/commands/CloneStackCommand.ts index 2eb9556efdc6..8d8a7587a7b3 100644 --- a/clients/client-opsworks/commands/CloneStackCommand.ts +++ b/clients/client-opsworks/commands/CloneStackCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CloneStackCommandInput = CloneStackRequest; @@ -64,14 +64,14 @@ export class CloneStackCommand extends $Command< private serialize( input: CloneStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CloneStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CloneStackCommand(output, context); } diff --git a/clients/client-opsworks/commands/CreateAppCommand.ts b/clients/client-opsworks/commands/CreateAppCommand.ts index 04531f086cb2..c38d100e9efa 100644 --- a/clients/client-opsworks/commands/CreateAppCommand.ts +++ b/clients/client-opsworks/commands/CreateAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAppCommandInput = CreateAppRequest; @@ -64,14 +64,14 @@ export class CreateAppCommand extends $Command< private serialize( input: CreateAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAppCommand(output, context); } diff --git a/clients/client-opsworks/commands/CreateDeploymentCommand.ts b/clients/client-opsworks/commands/CreateDeploymentCommand.ts index fd8b44a81ae1..bfb599894164 100644 --- a/clients/client-opsworks/commands/CreateDeploymentCommand.ts +++ b/clients/client-opsworks/commands/CreateDeploymentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeploymentCommandInput = CreateDeploymentRequest; @@ -67,14 +67,14 @@ export class CreateDeploymentCommand extends $Command< private serialize( input: CreateDeploymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDeploymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDeploymentCommand(output, context); } diff --git a/clients/client-opsworks/commands/CreateInstanceCommand.ts b/clients/client-opsworks/commands/CreateInstanceCommand.ts index 258ca3e204b8..c8683bce7056 100644 --- a/clients/client-opsworks/commands/CreateInstanceCommand.ts +++ b/clients/client-opsworks/commands/CreateInstanceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInstanceCommandInput = CreateInstanceRequest; @@ -64,14 +64,14 @@ export class CreateInstanceCommand extends $Command< private serialize( input: CreateInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/CreateLayerCommand.ts b/clients/client-opsworks/commands/CreateLayerCommand.ts index a023b9dafe2e..b947d38513a1 100644 --- a/clients/client-opsworks/commands/CreateLayerCommand.ts +++ b/clients/client-opsworks/commands/CreateLayerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLayerCommandInput = CreateLayerRequest; @@ -64,14 +64,14 @@ export class CreateLayerCommand extends $Command< private serialize( input: CreateLayerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLayerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLayerCommand(output, context); } diff --git a/clients/client-opsworks/commands/CreateStackCommand.ts b/clients/client-opsworks/commands/CreateStackCommand.ts index 1eafa92b273f..f28ac47b98e6 100644 --- a/clients/client-opsworks/commands/CreateStackCommand.ts +++ b/clients/client-opsworks/commands/CreateStackCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStackCommandInput = CreateStackRequest; @@ -64,14 +64,14 @@ export class CreateStackCommand extends $Command< private serialize( input: CreateStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateStackCommand(output, context); } diff --git a/clients/client-opsworks/commands/CreateUserProfileCommand.ts b/clients/client-opsworks/commands/CreateUserProfileCommand.ts index b024d91aa5de..5d06e7aabc20 100644 --- a/clients/client-opsworks/commands/CreateUserProfileCommand.ts +++ b/clients/client-opsworks/commands/CreateUserProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserProfileCommandInput = CreateUserProfileRequest; @@ -67,14 +67,14 @@ export class CreateUserProfileCommand extends $Command< private serialize( input: CreateUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserProfileCommand(output, context); } diff --git a/clients/client-opsworks/commands/DeleteAppCommand.ts b/clients/client-opsworks/commands/DeleteAppCommand.ts index d8fca286c09a..98f6232eb44f 100644 --- a/clients/client-opsworks/commands/DeleteAppCommand.ts +++ b/clients/client-opsworks/commands/DeleteAppCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAppCommandInput = DeleteAppRequest; @@ -65,14 +65,14 @@ export class DeleteAppCommand extends $Command< private serialize( input: DeleteAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAppCommand(output, context); } diff --git a/clients/client-opsworks/commands/DeleteInstanceCommand.ts b/clients/client-opsworks/commands/DeleteInstanceCommand.ts index 22d4ac578aa2..9316f3c8aa40 100644 --- a/clients/client-opsworks/commands/DeleteInstanceCommand.ts +++ b/clients/client-opsworks/commands/DeleteInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInstanceCommandInput = DeleteInstanceRequest; @@ -65,14 +65,14 @@ export class DeleteInstanceCommand extends $Command< private serialize( input: DeleteInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/DeleteLayerCommand.ts b/clients/client-opsworks/commands/DeleteLayerCommand.ts index fe00c26b6f6f..e796208230bd 100644 --- a/clients/client-opsworks/commands/DeleteLayerCommand.ts +++ b/clients/client-opsworks/commands/DeleteLayerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLayerCommandInput = DeleteLayerRequest; @@ -65,14 +65,14 @@ export class DeleteLayerCommand extends $Command< private serialize( input: DeleteLayerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLayerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLayerCommand(output, context); } diff --git a/clients/client-opsworks/commands/DeleteStackCommand.ts b/clients/client-opsworks/commands/DeleteStackCommand.ts index fbf79159811d..6ca2971034c1 100644 --- a/clients/client-opsworks/commands/DeleteStackCommand.ts +++ b/clients/client-opsworks/commands/DeleteStackCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStackCommandInput = DeleteStackRequest; @@ -65,14 +65,14 @@ export class DeleteStackCommand extends $Command< private serialize( input: DeleteStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteStackCommand(output, context); } diff --git a/clients/client-opsworks/commands/DeleteUserProfileCommand.ts b/clients/client-opsworks/commands/DeleteUserProfileCommand.ts index 0762cb2be33e..1225dcb258b4 100644 --- a/clients/client-opsworks/commands/DeleteUserProfileCommand.ts +++ b/clients/client-opsworks/commands/DeleteUserProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserProfileCommandInput = DeleteUserProfileRequest; @@ -65,14 +65,14 @@ export class DeleteUserProfileCommand extends $Command< private serialize( input: DeleteUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserProfileCommand(output, context); } diff --git a/clients/client-opsworks/commands/DeregisterEcsClusterCommand.ts b/clients/client-opsworks/commands/DeregisterEcsClusterCommand.ts index fbc830f979ed..c14af411407d 100644 --- a/clients/client-opsworks/commands/DeregisterEcsClusterCommand.ts +++ b/clients/client-opsworks/commands/DeregisterEcsClusterCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterEcsClusterCommandInput = DeregisterEcsClusterRequest; @@ -68,14 +68,14 @@ export class DeregisterEcsClusterCommand extends $Command< private serialize( input: DeregisterEcsClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterEcsClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterEcsClusterCommand(output, context); } diff --git a/clients/client-opsworks/commands/DeregisterElasticIpCommand.ts b/clients/client-opsworks/commands/DeregisterElasticIpCommand.ts index f0e7fe2885b6..feeb3430c336 100644 --- a/clients/client-opsworks/commands/DeregisterElasticIpCommand.ts +++ b/clients/client-opsworks/commands/DeregisterElasticIpCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterElasticIpCommandInput = DeregisterElasticIpRequest; @@ -68,14 +68,14 @@ export class DeregisterElasticIpCommand extends $Command< private serialize( input: DeregisterElasticIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterElasticIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterElasticIpCommand(output, context); } diff --git a/clients/client-opsworks/commands/DeregisterInstanceCommand.ts b/clients/client-opsworks/commands/DeregisterInstanceCommand.ts index a9b42fdf7372..d6e7b76685e8 100644 --- a/clients/client-opsworks/commands/DeregisterInstanceCommand.ts +++ b/clients/client-opsworks/commands/DeregisterInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterInstanceCommandInput = DeregisterInstanceRequest; @@ -65,14 +65,14 @@ export class DeregisterInstanceCommand extends $Command< private serialize( input: DeregisterInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/DeregisterRdsDbInstanceCommand.ts b/clients/client-opsworks/commands/DeregisterRdsDbInstanceCommand.ts index 1fe6a8f34714..33a0c42bf92f 100644 --- a/clients/client-opsworks/commands/DeregisterRdsDbInstanceCommand.ts +++ b/clients/client-opsworks/commands/DeregisterRdsDbInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterRdsDbInstanceCommandInput = DeregisterRdsDbInstanceRequest; @@ -68,14 +68,14 @@ export class DeregisterRdsDbInstanceCommand extends $Command< private serialize( input: DeregisterRdsDbInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterRdsDbInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterRdsDbInstanceCommand( output, diff --git a/clients/client-opsworks/commands/DeregisterVolumeCommand.ts b/clients/client-opsworks/commands/DeregisterVolumeCommand.ts index a0e8c42b3646..528cccda4bdc 100644 --- a/clients/client-opsworks/commands/DeregisterVolumeCommand.ts +++ b/clients/client-opsworks/commands/DeregisterVolumeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterVolumeCommandInput = DeregisterVolumeRequest; @@ -65,14 +65,14 @@ export class DeregisterVolumeCommand extends $Command< private serialize( input: DeregisterVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterVolumeCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeAgentVersionsCommand.ts b/clients/client-opsworks/commands/DescribeAgentVersionsCommand.ts index 74a8c7049013..4dde8a59f232 100644 --- a/clients/client-opsworks/commands/DescribeAgentVersionsCommand.ts +++ b/clients/client-opsworks/commands/DescribeAgentVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAgentVersionsCommandInput = DescribeAgentVersionsRequest; @@ -70,14 +70,14 @@ export class DescribeAgentVersionsCommand extends $Command< private serialize( input: DescribeAgentVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAgentVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAgentVersionsCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeAppsCommand.ts b/clients/client-opsworks/commands/DescribeAppsCommand.ts index 44977706192c..802207cee42f 100644 --- a/clients/client-opsworks/commands/DescribeAppsCommand.ts +++ b/clients/client-opsworks/commands/DescribeAppsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAppsCommandInput = DescribeAppsRequest; @@ -64,14 +64,14 @@ export class DescribeAppsCommand extends $Command< private serialize( input: DescribeAppsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAppsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAppsCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeCommandsCommand.ts b/clients/client-opsworks/commands/DescribeCommandsCommand.ts index 306c1f3eb1bf..eaf0ae4efa67 100644 --- a/clients/client-opsworks/commands/DescribeCommandsCommand.ts +++ b/clients/client-opsworks/commands/DescribeCommandsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCommandsCommandInput = DescribeCommandsRequest; @@ -67,14 +67,14 @@ export class DescribeCommandsCommand extends $Command< private serialize( input: DescribeCommandsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCommandsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCommandsCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeDeploymentsCommand.ts b/clients/client-opsworks/commands/DescribeDeploymentsCommand.ts index 0188ada6b487..85f2464123a6 100644 --- a/clients/client-opsworks/commands/DescribeDeploymentsCommand.ts +++ b/clients/client-opsworks/commands/DescribeDeploymentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDeploymentsCommandInput = DescribeDeploymentsRequest; @@ -70,14 +70,14 @@ export class DescribeDeploymentsCommand extends $Command< private serialize( input: DescribeDeploymentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDeploymentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDeploymentsCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeEcsClustersCommand.ts b/clients/client-opsworks/commands/DescribeEcsClustersCommand.ts index dfcd905a9958..bbe31793521b 100644 --- a/clients/client-opsworks/commands/DescribeEcsClustersCommand.ts +++ b/clients/client-opsworks/commands/DescribeEcsClustersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEcsClustersCommandInput = DescribeEcsClustersRequest; @@ -70,14 +70,14 @@ export class DescribeEcsClustersCommand extends $Command< private serialize( input: DescribeEcsClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEcsClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEcsClustersCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeElasticIpsCommand.ts b/clients/client-opsworks/commands/DescribeElasticIpsCommand.ts index db4d9fc22f19..4a4b2a169c64 100644 --- a/clients/client-opsworks/commands/DescribeElasticIpsCommand.ts +++ b/clients/client-opsworks/commands/DescribeElasticIpsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeElasticIpsCommandInput = DescribeElasticIpsRequest; @@ -67,14 +67,14 @@ export class DescribeElasticIpsCommand extends $Command< private serialize( input: DescribeElasticIpsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeElasticIpsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeElasticIpsCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeElasticLoadBalancersCommand.ts b/clients/client-opsworks/commands/DescribeElasticLoadBalancersCommand.ts index dc0abc173947..984d21d59a89 100644 --- a/clients/client-opsworks/commands/DescribeElasticLoadBalancersCommand.ts +++ b/clients/client-opsworks/commands/DescribeElasticLoadBalancersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeElasticLoadBalancersCommandInput = DescribeElasticLoadBalancersRequest; @@ -70,7 +70,7 @@ export class DescribeElasticLoadBalancersCommand extends $Command< private serialize( input: DescribeElasticLoadBalancersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeElasticLoadBalancersCommand( input, @@ -80,7 +80,7 @@ export class DescribeElasticLoadBalancersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeElasticLoadBalancersCommand( output, diff --git a/clients/client-opsworks/commands/DescribeInstancesCommand.ts b/clients/client-opsworks/commands/DescribeInstancesCommand.ts index 2e28ca9431e2..2f2010f37f39 100644 --- a/clients/client-opsworks/commands/DescribeInstancesCommand.ts +++ b/clients/client-opsworks/commands/DescribeInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstancesCommandInput = DescribeInstancesRequest; @@ -67,14 +67,14 @@ export class DescribeInstancesCommand extends $Command< private serialize( input: DescribeInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeInstancesCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeLayersCommand.ts b/clients/client-opsworks/commands/DescribeLayersCommand.ts index ff7fd278d112..33fee5646c7a 100644 --- a/clients/client-opsworks/commands/DescribeLayersCommand.ts +++ b/clients/client-opsworks/commands/DescribeLayersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLayersCommandInput = DescribeLayersRequest; @@ -64,14 +64,14 @@ export class DescribeLayersCommand extends $Command< private serialize( input: DescribeLayersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLayersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLayersCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeLoadBasedAutoScalingCommand.ts b/clients/client-opsworks/commands/DescribeLoadBasedAutoScalingCommand.ts index 3d6555f1c1a6..ae4bed592641 100644 --- a/clients/client-opsworks/commands/DescribeLoadBasedAutoScalingCommand.ts +++ b/clients/client-opsworks/commands/DescribeLoadBasedAutoScalingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoadBasedAutoScalingCommandInput = DescribeLoadBasedAutoScalingRequest; @@ -70,7 +70,7 @@ export class DescribeLoadBasedAutoScalingCommand extends $Command< private serialize( input: DescribeLoadBasedAutoScalingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLoadBasedAutoScalingCommand( input, @@ -80,7 +80,7 @@ export class DescribeLoadBasedAutoScalingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLoadBasedAutoScalingCommand( output, diff --git a/clients/client-opsworks/commands/DescribeMyUserProfileCommand.ts b/clients/client-opsworks/commands/DescribeMyUserProfileCommand.ts index 0d474a9972d3..ced3e7c36a0f 100644 --- a/clients/client-opsworks/commands/DescribeMyUserProfileCommand.ts +++ b/clients/client-opsworks/commands/DescribeMyUserProfileCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMyUserProfileCommandInput = {}; @@ -67,14 +67,14 @@ export class DescribeMyUserProfileCommand extends $Command< private serialize( input: DescribeMyUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMyUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMyUserProfileCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeOperatingSystemsCommand.ts b/clients/client-opsworks/commands/DescribeOperatingSystemsCommand.ts index 49898b09cd2f..315049e81b22 100644 --- a/clients/client-opsworks/commands/DescribeOperatingSystemsCommand.ts +++ b/clients/client-opsworks/commands/DescribeOperatingSystemsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOperatingSystemsCommandInput = {}; @@ -67,14 +67,14 @@ export class DescribeOperatingSystemsCommand extends $Command< private serialize( input: DescribeOperatingSystemsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeOperatingSystemsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeOperatingSystemsCommand( output, diff --git a/clients/client-opsworks/commands/DescribePermissionsCommand.ts b/clients/client-opsworks/commands/DescribePermissionsCommand.ts index 8c80d7f95a47..ab39199c655d 100644 --- a/clients/client-opsworks/commands/DescribePermissionsCommand.ts +++ b/clients/client-opsworks/commands/DescribePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePermissionsCommandInput = DescribePermissionsRequest; @@ -70,14 +70,14 @@ export class DescribePermissionsCommand extends $Command< private serialize( input: DescribePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePermissionsCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeRaidArraysCommand.ts b/clients/client-opsworks/commands/DescribeRaidArraysCommand.ts index a870372fb45c..f58585c9aa1c 100644 --- a/clients/client-opsworks/commands/DescribeRaidArraysCommand.ts +++ b/clients/client-opsworks/commands/DescribeRaidArraysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRaidArraysCommandInput = DescribeRaidArraysRequest; @@ -67,14 +67,14 @@ export class DescribeRaidArraysCommand extends $Command< private serialize( input: DescribeRaidArraysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRaidArraysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRaidArraysCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeRdsDbInstancesCommand.ts b/clients/client-opsworks/commands/DescribeRdsDbInstancesCommand.ts index 4b9d7bdcfbfb..88abd8d08f38 100644 --- a/clients/client-opsworks/commands/DescribeRdsDbInstancesCommand.ts +++ b/clients/client-opsworks/commands/DescribeRdsDbInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRdsDbInstancesCommandInput = DescribeRdsDbInstancesRequest; @@ -70,14 +70,14 @@ export class DescribeRdsDbInstancesCommand extends $Command< private serialize( input: DescribeRdsDbInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRdsDbInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRdsDbInstancesCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeServiceErrorsCommand.ts b/clients/client-opsworks/commands/DescribeServiceErrorsCommand.ts index 8f4e46661c58..8057795ad53f 100644 --- a/clients/client-opsworks/commands/DescribeServiceErrorsCommand.ts +++ b/clients/client-opsworks/commands/DescribeServiceErrorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeServiceErrorsCommandInput = DescribeServiceErrorsRequest; @@ -70,14 +70,14 @@ export class DescribeServiceErrorsCommand extends $Command< private serialize( input: DescribeServiceErrorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeServiceErrorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeServiceErrorsCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeStackProvisioningParametersCommand.ts b/clients/client-opsworks/commands/DescribeStackProvisioningParametersCommand.ts index 4b8b9580025e..257ac098be04 100644 --- a/clients/client-opsworks/commands/DescribeStackProvisioningParametersCommand.ts +++ b/clients/client-opsworks/commands/DescribeStackProvisioningParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStackProvisioningParametersCommandInput = DescribeStackProvisioningParametersRequest; @@ -70,7 +70,7 @@ export class DescribeStackProvisioningParametersCommand extends $Command< private serialize( input: DescribeStackProvisioningParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeStackProvisioningParametersCommand( input, @@ -80,7 +80,7 @@ export class DescribeStackProvisioningParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeStackProvisioningParametersCommand( output, diff --git a/clients/client-opsworks/commands/DescribeStackSummaryCommand.ts b/clients/client-opsworks/commands/DescribeStackSummaryCommand.ts index 1b9bfca6003d..4e4964265742 100644 --- a/clients/client-opsworks/commands/DescribeStackSummaryCommand.ts +++ b/clients/client-opsworks/commands/DescribeStackSummaryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStackSummaryCommandInput = DescribeStackSummaryRequest; @@ -70,14 +70,14 @@ export class DescribeStackSummaryCommand extends $Command< private serialize( input: DescribeStackSummaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeStackSummaryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeStackSummaryCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeStacksCommand.ts b/clients/client-opsworks/commands/DescribeStacksCommand.ts index 75c6788a1491..8aa247d03902 100644 --- a/clients/client-opsworks/commands/DescribeStacksCommand.ts +++ b/clients/client-opsworks/commands/DescribeStacksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStacksCommandInput = DescribeStacksRequest; @@ -64,14 +64,14 @@ export class DescribeStacksCommand extends $Command< private serialize( input: DescribeStacksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeStacksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeStacksCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeTimeBasedAutoScalingCommand.ts b/clients/client-opsworks/commands/DescribeTimeBasedAutoScalingCommand.ts index 9bacb93720c1..a3f36720e4cb 100644 --- a/clients/client-opsworks/commands/DescribeTimeBasedAutoScalingCommand.ts +++ b/clients/client-opsworks/commands/DescribeTimeBasedAutoScalingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTimeBasedAutoScalingCommandInput = DescribeTimeBasedAutoScalingRequest; @@ -70,7 +70,7 @@ export class DescribeTimeBasedAutoScalingCommand extends $Command< private serialize( input: DescribeTimeBasedAutoScalingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTimeBasedAutoScalingCommand( input, @@ -80,7 +80,7 @@ export class DescribeTimeBasedAutoScalingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTimeBasedAutoScalingCommand( output, diff --git a/clients/client-opsworks/commands/DescribeUserProfilesCommand.ts b/clients/client-opsworks/commands/DescribeUserProfilesCommand.ts index a964699f8e14..7c3c76b32700 100644 --- a/clients/client-opsworks/commands/DescribeUserProfilesCommand.ts +++ b/clients/client-opsworks/commands/DescribeUserProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserProfilesCommandInput = DescribeUserProfilesRequest; @@ -70,14 +70,14 @@ export class DescribeUserProfilesCommand extends $Command< private serialize( input: DescribeUserProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUserProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUserProfilesCommand(output, context); } diff --git a/clients/client-opsworks/commands/DescribeVolumesCommand.ts b/clients/client-opsworks/commands/DescribeVolumesCommand.ts index 96c5ee11b9ea..da22ec09b48b 100644 --- a/clients/client-opsworks/commands/DescribeVolumesCommand.ts +++ b/clients/client-opsworks/commands/DescribeVolumesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVolumesCommandInput = DescribeVolumesRequest; @@ -64,14 +64,14 @@ export class DescribeVolumesCommand extends $Command< private serialize( input: DescribeVolumesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeVolumesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeVolumesCommand(output, context); } diff --git a/clients/client-opsworks/commands/DetachElasticLoadBalancerCommand.ts b/clients/client-opsworks/commands/DetachElasticLoadBalancerCommand.ts index aea9aff61414..63a3d7ecf15b 100644 --- a/clients/client-opsworks/commands/DetachElasticLoadBalancerCommand.ts +++ b/clients/client-opsworks/commands/DetachElasticLoadBalancerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachElasticLoadBalancerCommandInput = DetachElasticLoadBalancerRequest; @@ -68,14 +68,14 @@ export class DetachElasticLoadBalancerCommand extends $Command< private serialize( input: DetachElasticLoadBalancerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetachElasticLoadBalancerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetachElasticLoadBalancerCommand( output, diff --git a/clients/client-opsworks/commands/DisassociateElasticIpCommand.ts b/clients/client-opsworks/commands/DisassociateElasticIpCommand.ts index 47f734398f17..6bd8b0c974ed 100644 --- a/clients/client-opsworks/commands/DisassociateElasticIpCommand.ts +++ b/clients/client-opsworks/commands/DisassociateElasticIpCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateElasticIpCommandInput = DisassociateElasticIpRequest; @@ -68,14 +68,14 @@ export class DisassociateElasticIpCommand extends $Command< private serialize( input: DisassociateElasticIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateElasticIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateElasticIpCommand(output, context); } diff --git a/clients/client-opsworks/commands/GetHostnameSuggestionCommand.ts b/clients/client-opsworks/commands/GetHostnameSuggestionCommand.ts index ce13ee975400..2fd27e9779bb 100644 --- a/clients/client-opsworks/commands/GetHostnameSuggestionCommand.ts +++ b/clients/client-opsworks/commands/GetHostnameSuggestionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHostnameSuggestionCommandInput = GetHostnameSuggestionRequest; @@ -70,14 +70,14 @@ export class GetHostnameSuggestionCommand extends $Command< private serialize( input: GetHostnameSuggestionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetHostnameSuggestionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetHostnameSuggestionCommand(output, context); } diff --git a/clients/client-opsworks/commands/GrantAccessCommand.ts b/clients/client-opsworks/commands/GrantAccessCommand.ts index e35d6f8074ff..16c8a24f447d 100644 --- a/clients/client-opsworks/commands/GrantAccessCommand.ts +++ b/clients/client-opsworks/commands/GrantAccessCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GrantAccessCommandInput = GrantAccessRequest; @@ -64,14 +64,14 @@ export class GrantAccessCommand extends $Command< private serialize( input: GrantAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GrantAccessCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GrantAccessCommand(output, context); } diff --git a/clients/client-opsworks/commands/ListTagsCommand.ts b/clients/client-opsworks/commands/ListTagsCommand.ts index aca2a28d1b58..467e824dddc3 100644 --- a/clients/client-opsworks/commands/ListTagsCommand.ts +++ b/clients/client-opsworks/commands/ListTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsCommandInput = ListTagsRequest; @@ -64,14 +64,14 @@ export class ListTagsCommand extends $Command< private serialize( input: ListTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsCommand(output, context); } diff --git a/clients/client-opsworks/commands/RebootInstanceCommand.ts b/clients/client-opsworks/commands/RebootInstanceCommand.ts index fcdb1c565c53..c299152070b6 100644 --- a/clients/client-opsworks/commands/RebootInstanceCommand.ts +++ b/clients/client-opsworks/commands/RebootInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootInstanceCommandInput = RebootInstanceRequest; @@ -65,14 +65,14 @@ export class RebootInstanceCommand extends $Command< private serialize( input: RebootInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RebootInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RebootInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/RegisterEcsClusterCommand.ts b/clients/client-opsworks/commands/RegisterEcsClusterCommand.ts index 396271cc693b..b9dfcafdfeef 100644 --- a/clients/client-opsworks/commands/RegisterEcsClusterCommand.ts +++ b/clients/client-opsworks/commands/RegisterEcsClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterEcsClusterCommandInput = RegisterEcsClusterRequest; @@ -67,14 +67,14 @@ export class RegisterEcsClusterCommand extends $Command< private serialize( input: RegisterEcsClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterEcsClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterEcsClusterCommand(output, context); } diff --git a/clients/client-opsworks/commands/RegisterElasticIpCommand.ts b/clients/client-opsworks/commands/RegisterElasticIpCommand.ts index cba367a469ae..68930c5a7c11 100644 --- a/clients/client-opsworks/commands/RegisterElasticIpCommand.ts +++ b/clients/client-opsworks/commands/RegisterElasticIpCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterElasticIpCommandInput = RegisterElasticIpRequest; @@ -67,14 +67,14 @@ export class RegisterElasticIpCommand extends $Command< private serialize( input: RegisterElasticIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterElasticIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterElasticIpCommand(output, context); } diff --git a/clients/client-opsworks/commands/RegisterInstanceCommand.ts b/clients/client-opsworks/commands/RegisterInstanceCommand.ts index 76952f4513e4..8519d74763a6 100644 --- a/clients/client-opsworks/commands/RegisterInstanceCommand.ts +++ b/clients/client-opsworks/commands/RegisterInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterInstanceCommandInput = RegisterInstanceRequest; @@ -67,14 +67,14 @@ export class RegisterInstanceCommand extends $Command< private serialize( input: RegisterInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/RegisterRdsDbInstanceCommand.ts b/clients/client-opsworks/commands/RegisterRdsDbInstanceCommand.ts index e9ecc1e8f589..58b81e78e107 100644 --- a/clients/client-opsworks/commands/RegisterRdsDbInstanceCommand.ts +++ b/clients/client-opsworks/commands/RegisterRdsDbInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterRdsDbInstanceCommandInput = RegisterRdsDbInstanceRequest; @@ -68,14 +68,14 @@ export class RegisterRdsDbInstanceCommand extends $Command< private serialize( input: RegisterRdsDbInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterRdsDbInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterRdsDbInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/RegisterVolumeCommand.ts b/clients/client-opsworks/commands/RegisterVolumeCommand.ts index 9da6eec89c73..afcd38f1d025 100644 --- a/clients/client-opsworks/commands/RegisterVolumeCommand.ts +++ b/clients/client-opsworks/commands/RegisterVolumeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterVolumeCommandInput = RegisterVolumeRequest; @@ -64,14 +64,14 @@ export class RegisterVolumeCommand extends $Command< private serialize( input: RegisterVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterVolumeCommand(output, context); } diff --git a/clients/client-opsworks/commands/SetLoadBasedAutoScalingCommand.ts b/clients/client-opsworks/commands/SetLoadBasedAutoScalingCommand.ts index f547fac8b0a5..5d16f49731a1 100644 --- a/clients/client-opsworks/commands/SetLoadBasedAutoScalingCommand.ts +++ b/clients/client-opsworks/commands/SetLoadBasedAutoScalingCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetLoadBasedAutoScalingCommandInput = SetLoadBasedAutoScalingRequest; @@ -68,14 +68,14 @@ export class SetLoadBasedAutoScalingCommand extends $Command< private serialize( input: SetLoadBasedAutoScalingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetLoadBasedAutoScalingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetLoadBasedAutoScalingCommand( output, diff --git a/clients/client-opsworks/commands/SetPermissionCommand.ts b/clients/client-opsworks/commands/SetPermissionCommand.ts index 83b10bc2657c..fd7d8f7ece53 100644 --- a/clients/client-opsworks/commands/SetPermissionCommand.ts +++ b/clients/client-opsworks/commands/SetPermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetPermissionCommandInput = SetPermissionRequest; @@ -65,14 +65,14 @@ export class SetPermissionCommand extends $Command< private serialize( input: SetPermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetPermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetPermissionCommand(output, context); } diff --git a/clients/client-opsworks/commands/SetTimeBasedAutoScalingCommand.ts b/clients/client-opsworks/commands/SetTimeBasedAutoScalingCommand.ts index 4a0e01159b97..a3801bb80b18 100644 --- a/clients/client-opsworks/commands/SetTimeBasedAutoScalingCommand.ts +++ b/clients/client-opsworks/commands/SetTimeBasedAutoScalingCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetTimeBasedAutoScalingCommandInput = SetTimeBasedAutoScalingRequest; @@ -68,14 +68,14 @@ export class SetTimeBasedAutoScalingCommand extends $Command< private serialize( input: SetTimeBasedAutoScalingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetTimeBasedAutoScalingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetTimeBasedAutoScalingCommand( output, diff --git a/clients/client-opsworks/commands/StartInstanceCommand.ts b/clients/client-opsworks/commands/StartInstanceCommand.ts index 445d2d10b368..94a801fbd496 100644 --- a/clients/client-opsworks/commands/StartInstanceCommand.ts +++ b/clients/client-opsworks/commands/StartInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartInstanceCommandInput = StartInstanceRequest; @@ -65,14 +65,14 @@ export class StartInstanceCommand extends $Command< private serialize( input: StartInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/StartStackCommand.ts b/clients/client-opsworks/commands/StartStackCommand.ts index dc37f87893df..bd4bce8bdc48 100644 --- a/clients/client-opsworks/commands/StartStackCommand.ts +++ b/clients/client-opsworks/commands/StartStackCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartStackCommandInput = StartStackRequest; @@ -65,14 +65,14 @@ export class StartStackCommand extends $Command< private serialize( input: StartStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartStackCommand(output, context); } diff --git a/clients/client-opsworks/commands/StopInstanceCommand.ts b/clients/client-opsworks/commands/StopInstanceCommand.ts index afaeca90b30d..c8e392a79d2e 100644 --- a/clients/client-opsworks/commands/StopInstanceCommand.ts +++ b/clients/client-opsworks/commands/StopInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopInstanceCommandInput = StopInstanceRequest; @@ -65,14 +65,14 @@ export class StopInstanceCommand extends $Command< private serialize( input: StopInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/StopStackCommand.ts b/clients/client-opsworks/commands/StopStackCommand.ts index 4badabe31587..178d60b69d4f 100644 --- a/clients/client-opsworks/commands/StopStackCommand.ts +++ b/clients/client-opsworks/commands/StopStackCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopStackCommandInput = StopStackRequest; @@ -65,14 +65,14 @@ export class StopStackCommand extends $Command< private serialize( input: StopStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopStackCommand(output, context); } diff --git a/clients/client-opsworks/commands/TagResourceCommand.ts b/clients/client-opsworks/commands/TagResourceCommand.ts index 2452267e6332..718956e1b273 100644 --- a/clients/client-opsworks/commands/TagResourceCommand.ts +++ b/clients/client-opsworks/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-opsworks/commands/UnassignInstanceCommand.ts b/clients/client-opsworks/commands/UnassignInstanceCommand.ts index 50f67e2362bc..d67f28e7ffb5 100644 --- a/clients/client-opsworks/commands/UnassignInstanceCommand.ts +++ b/clients/client-opsworks/commands/UnassignInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnassignInstanceCommandInput = UnassignInstanceRequest; @@ -65,14 +65,14 @@ export class UnassignInstanceCommand extends $Command< private serialize( input: UnassignInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UnassignInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UnassignInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/UnassignVolumeCommand.ts b/clients/client-opsworks/commands/UnassignVolumeCommand.ts index a4abe2b0203a..6de9f2eb04a3 100644 --- a/clients/client-opsworks/commands/UnassignVolumeCommand.ts +++ b/clients/client-opsworks/commands/UnassignVolumeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnassignVolumeCommandInput = UnassignVolumeRequest; @@ -65,14 +65,14 @@ export class UnassignVolumeCommand extends $Command< private serialize( input: UnassignVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UnassignVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UnassignVolumeCommand(output, context); } diff --git a/clients/client-opsworks/commands/UntagResourceCommand.ts b/clients/client-opsworks/commands/UntagResourceCommand.ts index da512701602b..b8cf7c92d6ab 100644 --- a/clients/client-opsworks/commands/UntagResourceCommand.ts +++ b/clients/client-opsworks/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-opsworks/commands/UpdateAppCommand.ts b/clients/client-opsworks/commands/UpdateAppCommand.ts index 1ef2a82239ca..c89a3ce8628f 100644 --- a/clients/client-opsworks/commands/UpdateAppCommand.ts +++ b/clients/client-opsworks/commands/UpdateAppCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAppCommandInput = UpdateAppRequest; @@ -65,14 +65,14 @@ export class UpdateAppCommand extends $Command< private serialize( input: UpdateAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAppCommand(output, context); } diff --git a/clients/client-opsworks/commands/UpdateElasticIpCommand.ts b/clients/client-opsworks/commands/UpdateElasticIpCommand.ts index b566ac370056..5cdf0d4b37ed 100644 --- a/clients/client-opsworks/commands/UpdateElasticIpCommand.ts +++ b/clients/client-opsworks/commands/UpdateElasticIpCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateElasticIpCommandInput = UpdateElasticIpRequest; @@ -65,14 +65,14 @@ export class UpdateElasticIpCommand extends $Command< private serialize( input: UpdateElasticIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateElasticIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateElasticIpCommand(output, context); } diff --git a/clients/client-opsworks/commands/UpdateInstanceCommand.ts b/clients/client-opsworks/commands/UpdateInstanceCommand.ts index 58a6e74611cb..f5face1491e3 100644 --- a/clients/client-opsworks/commands/UpdateInstanceCommand.ts +++ b/clients/client-opsworks/commands/UpdateInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateInstanceCommandInput = UpdateInstanceRequest; @@ -65,14 +65,14 @@ export class UpdateInstanceCommand extends $Command< private serialize( input: UpdateInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/UpdateLayerCommand.ts b/clients/client-opsworks/commands/UpdateLayerCommand.ts index ba3b42c331e4..dda73df02c77 100644 --- a/clients/client-opsworks/commands/UpdateLayerCommand.ts +++ b/clients/client-opsworks/commands/UpdateLayerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLayerCommandInput = UpdateLayerRequest; @@ -65,14 +65,14 @@ export class UpdateLayerCommand extends $Command< private serialize( input: UpdateLayerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateLayerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateLayerCommand(output, context); } diff --git a/clients/client-opsworks/commands/UpdateMyUserProfileCommand.ts b/clients/client-opsworks/commands/UpdateMyUserProfileCommand.ts index 1e84ce0befd0..4e2ca29ff35c 100644 --- a/clients/client-opsworks/commands/UpdateMyUserProfileCommand.ts +++ b/clients/client-opsworks/commands/UpdateMyUserProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMyUserProfileCommandInput = UpdateMyUserProfileRequest; @@ -68,14 +68,14 @@ export class UpdateMyUserProfileCommand extends $Command< private serialize( input: UpdateMyUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateMyUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateMyUserProfileCommand(output, context); } diff --git a/clients/client-opsworks/commands/UpdateRdsDbInstanceCommand.ts b/clients/client-opsworks/commands/UpdateRdsDbInstanceCommand.ts index bacd5413c51d..3b7b9034ffee 100644 --- a/clients/client-opsworks/commands/UpdateRdsDbInstanceCommand.ts +++ b/clients/client-opsworks/commands/UpdateRdsDbInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRdsDbInstanceCommandInput = UpdateRdsDbInstanceRequest; @@ -68,14 +68,14 @@ export class UpdateRdsDbInstanceCommand extends $Command< private serialize( input: UpdateRdsDbInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRdsDbInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRdsDbInstanceCommand(output, context); } diff --git a/clients/client-opsworks/commands/UpdateStackCommand.ts b/clients/client-opsworks/commands/UpdateStackCommand.ts index 2fd04a2a2030..497f7bac8ba6 100644 --- a/clients/client-opsworks/commands/UpdateStackCommand.ts +++ b/clients/client-opsworks/commands/UpdateStackCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStackCommandInput = UpdateStackRequest; @@ -65,14 +65,14 @@ export class UpdateStackCommand extends $Command< private serialize( input: UpdateStackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateStackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateStackCommand(output, context); } diff --git a/clients/client-opsworks/commands/UpdateUserProfileCommand.ts b/clients/client-opsworks/commands/UpdateUserProfileCommand.ts index 47639610cee1..88d4635b01a8 100644 --- a/clients/client-opsworks/commands/UpdateUserProfileCommand.ts +++ b/clients/client-opsworks/commands/UpdateUserProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserProfileCommandInput = UpdateUserProfileRequest; @@ -65,14 +65,14 @@ export class UpdateUserProfileCommand extends $Command< private serialize( input: UpdateUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateUserProfileCommand(output, context); } diff --git a/clients/client-opsworks/commands/UpdateVolumeCommand.ts b/clients/client-opsworks/commands/UpdateVolumeCommand.ts index 9d69c4f913c5..8d76b22b0005 100644 --- a/clients/client-opsworks/commands/UpdateVolumeCommand.ts +++ b/clients/client-opsworks/commands/UpdateVolumeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVolumeCommandInput = UpdateVolumeRequest; @@ -65,14 +65,14 @@ export class UpdateVolumeCommand extends $Command< private serialize( input: UpdateVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateVolumeCommand(output, context); } diff --git a/clients/client-opsworks/protocols/Aws_json1_1.ts b/clients/client-opsworks/protocols/Aws_json1_1.ts index ead77edcf859..5f6bd5b1d70d 100644 --- a/clients/client-opsworks/protocols/Aws_json1_1.ts +++ b/clients/client-opsworks/protocols/Aws_json1_1.ts @@ -11153,6 +11153,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-opsworkscm/commands/AssociateNodeCommand.ts b/clients/client-opsworkscm/commands/AssociateNodeCommand.ts index f098cd6e8e4d..327aa84816d2 100644 --- a/clients/client-opsworkscm/commands/AssociateNodeCommand.ts +++ b/clients/client-opsworkscm/commands/AssociateNodeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateNodeCommandInput = AssociateNodeRequest; @@ -64,14 +64,14 @@ export class AssociateNodeCommand extends $Command< private serialize( input: AssociateNodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateNodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateNodeCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/CreateBackupCommand.ts b/clients/client-opsworkscm/commands/CreateBackupCommand.ts index cf179adc4485..c14a1f2b1abd 100644 --- a/clients/client-opsworkscm/commands/CreateBackupCommand.ts +++ b/clients/client-opsworkscm/commands/CreateBackupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBackupCommandInput = CreateBackupRequest; @@ -64,14 +64,14 @@ export class CreateBackupCommand extends $Command< private serialize( input: CreateBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateBackupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateBackupCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/CreateServerCommand.ts b/clients/client-opsworkscm/commands/CreateServerCommand.ts index 1ed1f97608df..2ba62e4f81d2 100644 --- a/clients/client-opsworkscm/commands/CreateServerCommand.ts +++ b/clients/client-opsworkscm/commands/CreateServerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateServerCommandInput = CreateServerRequest; @@ -64,14 +64,14 @@ export class CreateServerCommand extends $Command< private serialize( input: CreateServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateServerCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/DeleteBackupCommand.ts b/clients/client-opsworkscm/commands/DeleteBackupCommand.ts index 503fc087b13a..e779d528355d 100644 --- a/clients/client-opsworkscm/commands/DeleteBackupCommand.ts +++ b/clients/client-opsworkscm/commands/DeleteBackupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBackupCommandInput = DeleteBackupRequest; @@ -64,14 +64,14 @@ export class DeleteBackupCommand extends $Command< private serialize( input: DeleteBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteBackupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteBackupCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/DeleteServerCommand.ts b/clients/client-opsworkscm/commands/DeleteServerCommand.ts index 45b222b40d62..9f4618898bb4 100644 --- a/clients/client-opsworkscm/commands/DeleteServerCommand.ts +++ b/clients/client-opsworkscm/commands/DeleteServerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteServerCommandInput = DeleteServerRequest; @@ -64,14 +64,14 @@ export class DeleteServerCommand extends $Command< private serialize( input: DeleteServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteServerCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/DescribeAccountAttributesCommand.ts b/clients/client-opsworkscm/commands/DescribeAccountAttributesCommand.ts index de8d6972042f..3fc6ff93d155 100644 --- a/clients/client-opsworkscm/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-opsworkscm/commands/DescribeAccountAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountAttributesCommandInput = DescribeAccountAttributesRequest; @@ -70,14 +70,14 @@ export class DescribeAccountAttributesCommand extends $Command< private serialize( input: DescribeAccountAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAccountAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAccountAttributesCommand( output, diff --git a/clients/client-opsworkscm/commands/DescribeBackupsCommand.ts b/clients/client-opsworkscm/commands/DescribeBackupsCommand.ts index 07dff4cfea2b..d714d219c21d 100644 --- a/clients/client-opsworkscm/commands/DescribeBackupsCommand.ts +++ b/clients/client-opsworkscm/commands/DescribeBackupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBackupsCommandInput = DescribeBackupsRequest; @@ -67,14 +67,14 @@ export class DescribeBackupsCommand extends $Command< private serialize( input: DescribeBackupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeBackupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeBackupsCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/DescribeEventsCommand.ts b/clients/client-opsworkscm/commands/DescribeEventsCommand.ts index 2de772a47a12..e51ef29ab550 100644 --- a/clients/client-opsworkscm/commands/DescribeEventsCommand.ts +++ b/clients/client-opsworkscm/commands/DescribeEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventsCommandInput = DescribeEventsRequest; @@ -64,14 +64,14 @@ export class DescribeEventsCommand extends $Command< private serialize( input: DescribeEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventsCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/DescribeNodeAssociationStatusCommand.ts b/clients/client-opsworkscm/commands/DescribeNodeAssociationStatusCommand.ts index 61128f482914..c78864ba942d 100644 --- a/clients/client-opsworkscm/commands/DescribeNodeAssociationStatusCommand.ts +++ b/clients/client-opsworkscm/commands/DescribeNodeAssociationStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNodeAssociationStatusCommandInput = DescribeNodeAssociationStatusRequest; @@ -70,7 +70,7 @@ export class DescribeNodeAssociationStatusCommand extends $Command< private serialize( input: DescribeNodeAssociationStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeNodeAssociationStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribeNodeAssociationStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeNodeAssociationStatusCommand( output, diff --git a/clients/client-opsworkscm/commands/DescribeServersCommand.ts b/clients/client-opsworkscm/commands/DescribeServersCommand.ts index 3cb83886f4d2..53c83c23083e 100644 --- a/clients/client-opsworkscm/commands/DescribeServersCommand.ts +++ b/clients/client-opsworkscm/commands/DescribeServersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeServersCommandInput = DescribeServersRequest; @@ -67,14 +67,14 @@ export class DescribeServersCommand extends $Command< private serialize( input: DescribeServersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeServersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeServersCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/DisassociateNodeCommand.ts b/clients/client-opsworkscm/commands/DisassociateNodeCommand.ts index 031f50e04adb..aa7842d4b81d 100644 --- a/clients/client-opsworkscm/commands/DisassociateNodeCommand.ts +++ b/clients/client-opsworkscm/commands/DisassociateNodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateNodeCommandInput = DisassociateNodeRequest; @@ -67,14 +67,14 @@ export class DisassociateNodeCommand extends $Command< private serialize( input: DisassociateNodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateNodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateNodeCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/ExportServerEngineAttributeCommand.ts b/clients/client-opsworkscm/commands/ExportServerEngineAttributeCommand.ts index a7a52583a8c3..b8b399f7c394 100644 --- a/clients/client-opsworkscm/commands/ExportServerEngineAttributeCommand.ts +++ b/clients/client-opsworkscm/commands/ExportServerEngineAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportServerEngineAttributeCommandInput = ExportServerEngineAttributeRequest; @@ -70,7 +70,7 @@ export class ExportServerEngineAttributeCommand extends $Command< private serialize( input: ExportServerEngineAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ExportServerEngineAttributeCommand( input, @@ -80,7 +80,7 @@ export class ExportServerEngineAttributeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ExportServerEngineAttributeCommand( output, diff --git a/clients/client-opsworkscm/commands/ListTagsForResourceCommand.ts b/clients/client-opsworkscm/commands/ListTagsForResourceCommand.ts index d0fcfd78b139..97a1bd54870f 100644 --- a/clients/client-opsworkscm/commands/ListTagsForResourceCommand.ts +++ b/clients/client-opsworkscm/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/RestoreServerCommand.ts b/clients/client-opsworkscm/commands/RestoreServerCommand.ts index 389381f4e666..d3a9f55787ca 100644 --- a/clients/client-opsworkscm/commands/RestoreServerCommand.ts +++ b/clients/client-opsworkscm/commands/RestoreServerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreServerCommandInput = RestoreServerRequest; @@ -64,14 +64,14 @@ export class RestoreServerCommand extends $Command< private serialize( input: RestoreServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RestoreServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RestoreServerCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/StartMaintenanceCommand.ts b/clients/client-opsworkscm/commands/StartMaintenanceCommand.ts index 272dc4486fb7..743de32eefb1 100644 --- a/clients/client-opsworkscm/commands/StartMaintenanceCommand.ts +++ b/clients/client-opsworkscm/commands/StartMaintenanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartMaintenanceCommandInput = StartMaintenanceRequest; @@ -67,14 +67,14 @@ export class StartMaintenanceCommand extends $Command< private serialize( input: StartMaintenanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartMaintenanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartMaintenanceCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/TagResourceCommand.ts b/clients/client-opsworkscm/commands/TagResourceCommand.ts index 3e6a427ec892..4361f1b42658 100644 --- a/clients/client-opsworkscm/commands/TagResourceCommand.ts +++ b/clients/client-opsworkscm/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/UntagResourceCommand.ts b/clients/client-opsworkscm/commands/UntagResourceCommand.ts index 78ed3069d055..cb365b6edaaf 100644 --- a/clients/client-opsworkscm/commands/UntagResourceCommand.ts +++ b/clients/client-opsworkscm/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/UpdateServerCommand.ts b/clients/client-opsworkscm/commands/UpdateServerCommand.ts index 78547c08d185..11a412effa32 100644 --- a/clients/client-opsworkscm/commands/UpdateServerCommand.ts +++ b/clients/client-opsworkscm/commands/UpdateServerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServerCommandInput = UpdateServerRequest; @@ -64,14 +64,14 @@ export class UpdateServerCommand extends $Command< private serialize( input: UpdateServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateServerCommand(output, context); } diff --git a/clients/client-opsworkscm/commands/UpdateServerEngineAttributesCommand.ts b/clients/client-opsworkscm/commands/UpdateServerEngineAttributesCommand.ts index ded5b492d5bf..52848adea343 100644 --- a/clients/client-opsworkscm/commands/UpdateServerEngineAttributesCommand.ts +++ b/clients/client-opsworkscm/commands/UpdateServerEngineAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServerEngineAttributesCommandInput = UpdateServerEngineAttributesRequest; @@ -70,7 +70,7 @@ export class UpdateServerEngineAttributesCommand extends $Command< private serialize( input: UpdateServerEngineAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateServerEngineAttributesCommand( input, @@ -80,7 +80,7 @@ export class UpdateServerEngineAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateServerEngineAttributesCommand( output, diff --git a/clients/client-opsworkscm/protocols/Aws_json1_1.ts b/clients/client-opsworkscm/protocols/Aws_json1_1.ts index 418c7c7339b1..f628b878f859 100644 --- a/clients/client-opsworkscm/protocols/Aws_json1_1.ts +++ b/clients/client-opsworkscm/protocols/Aws_json1_1.ts @@ -3091,6 +3091,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-organizations/commands/AcceptHandshakeCommand.ts b/clients/client-organizations/commands/AcceptHandshakeCommand.ts index 3063855d556a..e691c8999d4d 100644 --- a/clients/client-organizations/commands/AcceptHandshakeCommand.ts +++ b/clients/client-organizations/commands/AcceptHandshakeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptHandshakeCommandInput = AcceptHandshakeRequest; @@ -67,14 +67,14 @@ export class AcceptHandshakeCommand extends $Command< private serialize( input: AcceptHandshakeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AcceptHandshakeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AcceptHandshakeCommand(output, context); } diff --git a/clients/client-organizations/commands/AttachPolicyCommand.ts b/clients/client-organizations/commands/AttachPolicyCommand.ts index e4f61d9665b4..c411c7541b32 100644 --- a/clients/client-organizations/commands/AttachPolicyCommand.ts +++ b/clients/client-organizations/commands/AttachPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachPolicyCommandInput = AttachPolicyRequest; @@ -65,14 +65,14 @@ export class AttachPolicyCommand extends $Command< private serialize( input: AttachPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AttachPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AttachPolicyCommand(output, context); } diff --git a/clients/client-organizations/commands/CancelHandshakeCommand.ts b/clients/client-organizations/commands/CancelHandshakeCommand.ts index 25f93aab22ad..046b38caae05 100644 --- a/clients/client-organizations/commands/CancelHandshakeCommand.ts +++ b/clients/client-organizations/commands/CancelHandshakeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelHandshakeCommandInput = CancelHandshakeRequest; @@ -67,14 +67,14 @@ export class CancelHandshakeCommand extends $Command< private serialize( input: CancelHandshakeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelHandshakeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelHandshakeCommand(output, context); } diff --git a/clients/client-organizations/commands/CreateAccountCommand.ts b/clients/client-organizations/commands/CreateAccountCommand.ts index 1c0d202551aa..e4dab04fd14d 100644 --- a/clients/client-organizations/commands/CreateAccountCommand.ts +++ b/clients/client-organizations/commands/CreateAccountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAccountCommandInput = CreateAccountRequest; @@ -64,14 +64,14 @@ export class CreateAccountCommand extends $Command< private serialize( input: CreateAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAccountCommand(output, context); } diff --git a/clients/client-organizations/commands/CreateGovCloudAccountCommand.ts b/clients/client-organizations/commands/CreateGovCloudAccountCommand.ts index 66806a0e5124..3418dc1a3fa8 100644 --- a/clients/client-organizations/commands/CreateGovCloudAccountCommand.ts +++ b/clients/client-organizations/commands/CreateGovCloudAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGovCloudAccountCommandInput = CreateGovCloudAccountRequest; @@ -70,14 +70,14 @@ export class CreateGovCloudAccountCommand extends $Command< private serialize( input: CreateGovCloudAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateGovCloudAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateGovCloudAccountCommand(output, context); } diff --git a/clients/client-organizations/commands/CreateOrganizationCommand.ts b/clients/client-organizations/commands/CreateOrganizationCommand.ts index 208c763006cb..7f35d4eb5206 100644 --- a/clients/client-organizations/commands/CreateOrganizationCommand.ts +++ b/clients/client-organizations/commands/CreateOrganizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateOrganizationCommandInput = CreateOrganizationRequest; @@ -67,14 +67,14 @@ export class CreateOrganizationCommand extends $Command< private serialize( input: CreateOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateOrganizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateOrganizationCommand(output, context); } diff --git a/clients/client-organizations/commands/CreateOrganizationalUnitCommand.ts b/clients/client-organizations/commands/CreateOrganizationalUnitCommand.ts index f6595c192eea..8ea44930ab52 100644 --- a/clients/client-organizations/commands/CreateOrganizationalUnitCommand.ts +++ b/clients/client-organizations/commands/CreateOrganizationalUnitCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateOrganizationalUnitCommandInput = CreateOrganizationalUnitRequest; @@ -70,14 +70,14 @@ export class CreateOrganizationalUnitCommand extends $Command< private serialize( input: CreateOrganizationalUnitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateOrganizationalUnitCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateOrganizationalUnitCommand( output, diff --git a/clients/client-organizations/commands/CreatePolicyCommand.ts b/clients/client-organizations/commands/CreatePolicyCommand.ts index 8990b98d34af..d6b92c5aa483 100644 --- a/clients/client-organizations/commands/CreatePolicyCommand.ts +++ b/clients/client-organizations/commands/CreatePolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePolicyCommandInput = CreatePolicyRequest; @@ -64,14 +64,14 @@ export class CreatePolicyCommand extends $Command< private serialize( input: CreatePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePolicyCommand(output, context); } diff --git a/clients/client-organizations/commands/DeclineHandshakeCommand.ts b/clients/client-organizations/commands/DeclineHandshakeCommand.ts index 7562ddb505e9..2c3acdeab45c 100644 --- a/clients/client-organizations/commands/DeclineHandshakeCommand.ts +++ b/clients/client-organizations/commands/DeclineHandshakeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeclineHandshakeCommandInput = DeclineHandshakeRequest; @@ -67,14 +67,14 @@ export class DeclineHandshakeCommand extends $Command< private serialize( input: DeclineHandshakeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeclineHandshakeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeclineHandshakeCommand(output, context); } diff --git a/clients/client-organizations/commands/DeleteOrganizationCommand.ts b/clients/client-organizations/commands/DeleteOrganizationCommand.ts index e4632005ff17..23ca9d5c6801 100644 --- a/clients/client-organizations/commands/DeleteOrganizationCommand.ts +++ b/clients/client-organizations/commands/DeleteOrganizationCommand.ts @@ -18,9 +18,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteOrganizationCommandInput = {}; @@ -64,14 +64,14 @@ export class DeleteOrganizationCommand extends $Command< private serialize( input: DeleteOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteOrganizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteOrganizationCommand(output, context); } diff --git a/clients/client-organizations/commands/DeleteOrganizationalUnitCommand.ts b/clients/client-organizations/commands/DeleteOrganizationalUnitCommand.ts index fd69890008f1..71f9cc3adb30 100644 --- a/clients/client-organizations/commands/DeleteOrganizationalUnitCommand.ts +++ b/clients/client-organizations/commands/DeleteOrganizationalUnitCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteOrganizationalUnitCommandInput = DeleteOrganizationalUnitRequest; @@ -68,14 +68,14 @@ export class DeleteOrganizationalUnitCommand extends $Command< private serialize( input: DeleteOrganizationalUnitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteOrganizationalUnitCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteOrganizationalUnitCommand( output, diff --git a/clients/client-organizations/commands/DeletePolicyCommand.ts b/clients/client-organizations/commands/DeletePolicyCommand.ts index 3a091f726eb9..15deeed9a37a 100644 --- a/clients/client-organizations/commands/DeletePolicyCommand.ts +++ b/clients/client-organizations/commands/DeletePolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePolicyCommandInput = DeletePolicyRequest; @@ -65,14 +65,14 @@ export class DeletePolicyCommand extends $Command< private serialize( input: DeletePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePolicyCommand(output, context); } diff --git a/clients/client-organizations/commands/DescribeAccountCommand.ts b/clients/client-organizations/commands/DescribeAccountCommand.ts index ca1fd544058b..58b7d056cf1c 100644 --- a/clients/client-organizations/commands/DescribeAccountCommand.ts +++ b/clients/client-organizations/commands/DescribeAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountCommandInput = DescribeAccountRequest; @@ -67,14 +67,14 @@ export class DescribeAccountCommand extends $Command< private serialize( input: DescribeAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAccountCommand(output, context); } diff --git a/clients/client-organizations/commands/DescribeCreateAccountStatusCommand.ts b/clients/client-organizations/commands/DescribeCreateAccountStatusCommand.ts index 96bd2eb40c73..a923d3cdd069 100644 --- a/clients/client-organizations/commands/DescribeCreateAccountStatusCommand.ts +++ b/clients/client-organizations/commands/DescribeCreateAccountStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCreateAccountStatusCommandInput = DescribeCreateAccountStatusRequest; @@ -70,7 +70,7 @@ export class DescribeCreateAccountStatusCommand extends $Command< private serialize( input: DescribeCreateAccountStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCreateAccountStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribeCreateAccountStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCreateAccountStatusCommand( output, diff --git a/clients/client-organizations/commands/DescribeEffectivePolicyCommand.ts b/clients/client-organizations/commands/DescribeEffectivePolicyCommand.ts index 434d48e0fccd..7343035a4a44 100644 --- a/clients/client-organizations/commands/DescribeEffectivePolicyCommand.ts +++ b/clients/client-organizations/commands/DescribeEffectivePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEffectivePolicyCommandInput = DescribeEffectivePolicyRequest; @@ -70,14 +70,14 @@ export class DescribeEffectivePolicyCommand extends $Command< private serialize( input: DescribeEffectivePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEffectivePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEffectivePolicyCommand( output, diff --git a/clients/client-organizations/commands/DescribeHandshakeCommand.ts b/clients/client-organizations/commands/DescribeHandshakeCommand.ts index 03f20353a6e3..377256b99dea 100644 --- a/clients/client-organizations/commands/DescribeHandshakeCommand.ts +++ b/clients/client-organizations/commands/DescribeHandshakeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHandshakeCommandInput = DescribeHandshakeRequest; @@ -67,14 +67,14 @@ export class DescribeHandshakeCommand extends $Command< private serialize( input: DescribeHandshakeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeHandshakeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeHandshakeCommand(output, context); } diff --git a/clients/client-organizations/commands/DescribeOrganizationCommand.ts b/clients/client-organizations/commands/DescribeOrganizationCommand.ts index f23b68179c46..9b99541d9a16 100644 --- a/clients/client-organizations/commands/DescribeOrganizationCommand.ts +++ b/clients/client-organizations/commands/DescribeOrganizationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrganizationCommandInput = {}; @@ -67,14 +67,14 @@ export class DescribeOrganizationCommand extends $Command< private serialize( input: DescribeOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeOrganizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeOrganizationCommand(output, context); } diff --git a/clients/client-organizations/commands/DescribeOrganizationalUnitCommand.ts b/clients/client-organizations/commands/DescribeOrganizationalUnitCommand.ts index cfd0f501d7d1..976da1027bd0 100644 --- a/clients/client-organizations/commands/DescribeOrganizationalUnitCommand.ts +++ b/clients/client-organizations/commands/DescribeOrganizationalUnitCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrganizationalUnitCommandInput = DescribeOrganizationalUnitRequest; @@ -70,7 +70,7 @@ export class DescribeOrganizationalUnitCommand extends $Command< private serialize( input: DescribeOrganizationalUnitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeOrganizationalUnitCommand( input, @@ -80,7 +80,7 @@ export class DescribeOrganizationalUnitCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeOrganizationalUnitCommand( output, diff --git a/clients/client-organizations/commands/DescribePolicyCommand.ts b/clients/client-organizations/commands/DescribePolicyCommand.ts index f66516fcd998..42a923c35ab8 100644 --- a/clients/client-organizations/commands/DescribePolicyCommand.ts +++ b/clients/client-organizations/commands/DescribePolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePolicyCommandInput = DescribePolicyRequest; @@ -64,14 +64,14 @@ export class DescribePolicyCommand extends $Command< private serialize( input: DescribePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePolicyCommand(output, context); } diff --git a/clients/client-organizations/commands/DetachPolicyCommand.ts b/clients/client-organizations/commands/DetachPolicyCommand.ts index 9bed13e7aa3b..503fbb706102 100644 --- a/clients/client-organizations/commands/DetachPolicyCommand.ts +++ b/clients/client-organizations/commands/DetachPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachPolicyCommandInput = DetachPolicyRequest; @@ -65,14 +65,14 @@ export class DetachPolicyCommand extends $Command< private serialize( input: DetachPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetachPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetachPolicyCommand(output, context); } diff --git a/clients/client-organizations/commands/DisableAWSServiceAccessCommand.ts b/clients/client-organizations/commands/DisableAWSServiceAccessCommand.ts index 6d93bc2a88b7..90ac50119420 100644 --- a/clients/client-organizations/commands/DisableAWSServiceAccessCommand.ts +++ b/clients/client-organizations/commands/DisableAWSServiceAccessCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableAWSServiceAccessCommandInput = DisableAWSServiceAccessRequest; @@ -68,14 +68,14 @@ export class DisableAWSServiceAccessCommand extends $Command< private serialize( input: DisableAWSServiceAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableAWSServiceAccessCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableAWSServiceAccessCommand( output, diff --git a/clients/client-organizations/commands/DisablePolicyTypeCommand.ts b/clients/client-organizations/commands/DisablePolicyTypeCommand.ts index 78a48a7598d9..765b847fe62e 100644 --- a/clients/client-organizations/commands/DisablePolicyTypeCommand.ts +++ b/clients/client-organizations/commands/DisablePolicyTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisablePolicyTypeCommandInput = DisablePolicyTypeRequest; @@ -67,14 +67,14 @@ export class DisablePolicyTypeCommand extends $Command< private serialize( input: DisablePolicyTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisablePolicyTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisablePolicyTypeCommand(output, context); } diff --git a/clients/client-organizations/commands/EnableAWSServiceAccessCommand.ts b/clients/client-organizations/commands/EnableAWSServiceAccessCommand.ts index 438571944be6..57919700debd 100644 --- a/clients/client-organizations/commands/EnableAWSServiceAccessCommand.ts +++ b/clients/client-organizations/commands/EnableAWSServiceAccessCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableAWSServiceAccessCommandInput = EnableAWSServiceAccessRequest; @@ -68,14 +68,14 @@ export class EnableAWSServiceAccessCommand extends $Command< private serialize( input: EnableAWSServiceAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableAWSServiceAccessCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableAWSServiceAccessCommand(output, context); } diff --git a/clients/client-organizations/commands/EnableAllFeaturesCommand.ts b/clients/client-organizations/commands/EnableAllFeaturesCommand.ts index 3fc11adc8adb..10e26283a7b8 100644 --- a/clients/client-organizations/commands/EnableAllFeaturesCommand.ts +++ b/clients/client-organizations/commands/EnableAllFeaturesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableAllFeaturesCommandInput = EnableAllFeaturesRequest; @@ -67,14 +67,14 @@ export class EnableAllFeaturesCommand extends $Command< private serialize( input: EnableAllFeaturesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableAllFeaturesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableAllFeaturesCommand(output, context); } diff --git a/clients/client-organizations/commands/EnablePolicyTypeCommand.ts b/clients/client-organizations/commands/EnablePolicyTypeCommand.ts index 39fa92b1688f..ff2b57179acf 100644 --- a/clients/client-organizations/commands/EnablePolicyTypeCommand.ts +++ b/clients/client-organizations/commands/EnablePolicyTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnablePolicyTypeCommandInput = EnablePolicyTypeRequest; @@ -67,14 +67,14 @@ export class EnablePolicyTypeCommand extends $Command< private serialize( input: EnablePolicyTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnablePolicyTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnablePolicyTypeCommand(output, context); } diff --git a/clients/client-organizations/commands/InviteAccountToOrganizationCommand.ts b/clients/client-organizations/commands/InviteAccountToOrganizationCommand.ts index 205ff543a931..8791ac013ab7 100644 --- a/clients/client-organizations/commands/InviteAccountToOrganizationCommand.ts +++ b/clients/client-organizations/commands/InviteAccountToOrganizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InviteAccountToOrganizationCommandInput = InviteAccountToOrganizationRequest; @@ -70,7 +70,7 @@ export class InviteAccountToOrganizationCommand extends $Command< private serialize( input: InviteAccountToOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1InviteAccountToOrganizationCommand( input, @@ -80,7 +80,7 @@ export class InviteAccountToOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1InviteAccountToOrganizationCommand( output, diff --git a/clients/client-organizations/commands/LeaveOrganizationCommand.ts b/clients/client-organizations/commands/LeaveOrganizationCommand.ts index 4b557a166b6b..f06bd882280d 100644 --- a/clients/client-organizations/commands/LeaveOrganizationCommand.ts +++ b/clients/client-organizations/commands/LeaveOrganizationCommand.ts @@ -18,9 +18,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type LeaveOrganizationCommandInput = {}; @@ -64,14 +64,14 @@ export class LeaveOrganizationCommand extends $Command< private serialize( input: LeaveOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1LeaveOrganizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1LeaveOrganizationCommand(output, context); } diff --git a/clients/client-organizations/commands/ListAWSServiceAccessForOrganizationCommand.ts b/clients/client-organizations/commands/ListAWSServiceAccessForOrganizationCommand.ts index 6fb366fa5799..c2bc75569170 100644 --- a/clients/client-organizations/commands/ListAWSServiceAccessForOrganizationCommand.ts +++ b/clients/client-organizations/commands/ListAWSServiceAccessForOrganizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAWSServiceAccessForOrganizationCommandInput = ListAWSServiceAccessForOrganizationRequest; @@ -70,7 +70,7 @@ export class ListAWSServiceAccessForOrganizationCommand extends $Command< private serialize( input: ListAWSServiceAccessForOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAWSServiceAccessForOrganizationCommand( input, @@ -80,7 +80,7 @@ export class ListAWSServiceAccessForOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAWSServiceAccessForOrganizationCommand( output, diff --git a/clients/client-organizations/commands/ListAccountsCommand.ts b/clients/client-organizations/commands/ListAccountsCommand.ts index adac6b30130f..a7e3c114b6d9 100644 --- a/clients/client-organizations/commands/ListAccountsCommand.ts +++ b/clients/client-organizations/commands/ListAccountsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAccountsCommandInput = ListAccountsRequest; @@ -64,14 +64,14 @@ export class ListAccountsCommand extends $Command< private serialize( input: ListAccountsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAccountsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAccountsCommand(output, context); } diff --git a/clients/client-organizations/commands/ListAccountsForParentCommand.ts b/clients/client-organizations/commands/ListAccountsForParentCommand.ts index 6b4ac7ceb0e3..b8aec49c0a41 100644 --- a/clients/client-organizations/commands/ListAccountsForParentCommand.ts +++ b/clients/client-organizations/commands/ListAccountsForParentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAccountsForParentCommandInput = ListAccountsForParentRequest; @@ -70,14 +70,14 @@ export class ListAccountsForParentCommand extends $Command< private serialize( input: ListAccountsForParentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAccountsForParentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAccountsForParentCommand(output, context); } diff --git a/clients/client-organizations/commands/ListChildrenCommand.ts b/clients/client-organizations/commands/ListChildrenCommand.ts index fe74a994e828..4c8268ed54b5 100644 --- a/clients/client-organizations/commands/ListChildrenCommand.ts +++ b/clients/client-organizations/commands/ListChildrenCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListChildrenCommandInput = ListChildrenRequest; @@ -64,14 +64,14 @@ export class ListChildrenCommand extends $Command< private serialize( input: ListChildrenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListChildrenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListChildrenCommand(output, context); } diff --git a/clients/client-organizations/commands/ListCreateAccountStatusCommand.ts b/clients/client-organizations/commands/ListCreateAccountStatusCommand.ts index 133a8841db9b..71cba590f7ce 100644 --- a/clients/client-organizations/commands/ListCreateAccountStatusCommand.ts +++ b/clients/client-organizations/commands/ListCreateAccountStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCreateAccountStatusCommandInput = ListCreateAccountStatusRequest; @@ -70,14 +70,14 @@ export class ListCreateAccountStatusCommand extends $Command< private serialize( input: ListCreateAccountStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCreateAccountStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCreateAccountStatusCommand( output, diff --git a/clients/client-organizations/commands/ListHandshakesForAccountCommand.ts b/clients/client-organizations/commands/ListHandshakesForAccountCommand.ts index 7d6fceeb8a44..2bc6c7ab898f 100644 --- a/clients/client-organizations/commands/ListHandshakesForAccountCommand.ts +++ b/clients/client-organizations/commands/ListHandshakesForAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHandshakesForAccountCommandInput = ListHandshakesForAccountRequest; @@ -70,14 +70,14 @@ export class ListHandshakesForAccountCommand extends $Command< private serialize( input: ListHandshakesForAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListHandshakesForAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListHandshakesForAccountCommand( output, diff --git a/clients/client-organizations/commands/ListHandshakesForOrganizationCommand.ts b/clients/client-organizations/commands/ListHandshakesForOrganizationCommand.ts index 453ff74c8f00..5a3f972f0c44 100644 --- a/clients/client-organizations/commands/ListHandshakesForOrganizationCommand.ts +++ b/clients/client-organizations/commands/ListHandshakesForOrganizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHandshakesForOrganizationCommandInput = ListHandshakesForOrganizationRequest; @@ -70,7 +70,7 @@ export class ListHandshakesForOrganizationCommand extends $Command< private serialize( input: ListHandshakesForOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListHandshakesForOrganizationCommand( input, @@ -80,7 +80,7 @@ export class ListHandshakesForOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListHandshakesForOrganizationCommand( output, diff --git a/clients/client-organizations/commands/ListOrganizationalUnitsForParentCommand.ts b/clients/client-organizations/commands/ListOrganizationalUnitsForParentCommand.ts index 6f86589863be..cf3609234bfa 100644 --- a/clients/client-organizations/commands/ListOrganizationalUnitsForParentCommand.ts +++ b/clients/client-organizations/commands/ListOrganizationalUnitsForParentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOrganizationalUnitsForParentCommandInput = ListOrganizationalUnitsForParentRequest; @@ -70,7 +70,7 @@ export class ListOrganizationalUnitsForParentCommand extends $Command< private serialize( input: ListOrganizationalUnitsForParentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListOrganizationalUnitsForParentCommand( input, @@ -80,7 +80,7 @@ export class ListOrganizationalUnitsForParentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListOrganizationalUnitsForParentCommand( output, diff --git a/clients/client-organizations/commands/ListParentsCommand.ts b/clients/client-organizations/commands/ListParentsCommand.ts index 38a86a4b28c7..33a461ba7561 100644 --- a/clients/client-organizations/commands/ListParentsCommand.ts +++ b/clients/client-organizations/commands/ListParentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListParentsCommandInput = ListParentsRequest; @@ -64,14 +64,14 @@ export class ListParentsCommand extends $Command< private serialize( input: ListParentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListParentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListParentsCommand(output, context); } diff --git a/clients/client-organizations/commands/ListPoliciesCommand.ts b/clients/client-organizations/commands/ListPoliciesCommand.ts index 8312c6780200..1366a988c274 100644 --- a/clients/client-organizations/commands/ListPoliciesCommand.ts +++ b/clients/client-organizations/commands/ListPoliciesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPoliciesCommandInput = ListPoliciesRequest; @@ -64,14 +64,14 @@ export class ListPoliciesCommand extends $Command< private serialize( input: ListPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPoliciesCommand(output, context); } diff --git a/clients/client-organizations/commands/ListPoliciesForTargetCommand.ts b/clients/client-organizations/commands/ListPoliciesForTargetCommand.ts index 8a11a9147e73..14f1ffa75b1b 100644 --- a/clients/client-organizations/commands/ListPoliciesForTargetCommand.ts +++ b/clients/client-organizations/commands/ListPoliciesForTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPoliciesForTargetCommandInput = ListPoliciesForTargetRequest; @@ -70,14 +70,14 @@ export class ListPoliciesForTargetCommand extends $Command< private serialize( input: ListPoliciesForTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPoliciesForTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPoliciesForTargetCommand(output, context); } diff --git a/clients/client-organizations/commands/ListRootsCommand.ts b/clients/client-organizations/commands/ListRootsCommand.ts index cd13237a6e48..91404d39989b 100644 --- a/clients/client-organizations/commands/ListRootsCommand.ts +++ b/clients/client-organizations/commands/ListRootsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRootsCommandInput = ListRootsRequest; @@ -64,14 +64,14 @@ export class ListRootsCommand extends $Command< private serialize( input: ListRootsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRootsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRootsCommand(output, context); } diff --git a/clients/client-organizations/commands/ListTagsForResourceCommand.ts b/clients/client-organizations/commands/ListTagsForResourceCommand.ts index 4905c3c39015..51b413dd7d78 100644 --- a/clients/client-organizations/commands/ListTagsForResourceCommand.ts +++ b/clients/client-organizations/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-organizations/commands/ListTargetsForPolicyCommand.ts b/clients/client-organizations/commands/ListTargetsForPolicyCommand.ts index ab8d94df22df..6660d426c97d 100644 --- a/clients/client-organizations/commands/ListTargetsForPolicyCommand.ts +++ b/clients/client-organizations/commands/ListTargetsForPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTargetsForPolicyCommandInput = ListTargetsForPolicyRequest; @@ -70,14 +70,14 @@ export class ListTargetsForPolicyCommand extends $Command< private serialize( input: ListTargetsForPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTargetsForPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTargetsForPolicyCommand(output, context); } diff --git a/clients/client-organizations/commands/MoveAccountCommand.ts b/clients/client-organizations/commands/MoveAccountCommand.ts index 880d624c4257..7ed587691558 100644 --- a/clients/client-organizations/commands/MoveAccountCommand.ts +++ b/clients/client-organizations/commands/MoveAccountCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MoveAccountCommandInput = MoveAccountRequest; @@ -65,14 +65,14 @@ export class MoveAccountCommand extends $Command< private serialize( input: MoveAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1MoveAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1MoveAccountCommand(output, context); } diff --git a/clients/client-organizations/commands/RemoveAccountFromOrganizationCommand.ts b/clients/client-organizations/commands/RemoveAccountFromOrganizationCommand.ts index 0677bc40b58a..830fec25f5de 100644 --- a/clients/client-organizations/commands/RemoveAccountFromOrganizationCommand.ts +++ b/clients/client-organizations/commands/RemoveAccountFromOrganizationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveAccountFromOrganizationCommandInput = RemoveAccountFromOrganizationRequest; @@ -68,7 +68,7 @@ export class RemoveAccountFromOrganizationCommand extends $Command< private serialize( input: RemoveAccountFromOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveAccountFromOrganizationCommand( input, @@ -78,7 +78,7 @@ export class RemoveAccountFromOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveAccountFromOrganizationCommand( output, diff --git a/clients/client-organizations/commands/TagResourceCommand.ts b/clients/client-organizations/commands/TagResourceCommand.ts index 4fe4b23145fa..3ae250be44ab 100644 --- a/clients/client-organizations/commands/TagResourceCommand.ts +++ b/clients/client-organizations/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-organizations/commands/UntagResourceCommand.ts b/clients/client-organizations/commands/UntagResourceCommand.ts index 99097ce7d5c9..4406210bf1d7 100644 --- a/clients/client-organizations/commands/UntagResourceCommand.ts +++ b/clients/client-organizations/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-organizations/commands/UpdateOrganizationalUnitCommand.ts b/clients/client-organizations/commands/UpdateOrganizationalUnitCommand.ts index 154117b5975e..bc068d5a6f45 100644 --- a/clients/client-organizations/commands/UpdateOrganizationalUnitCommand.ts +++ b/clients/client-organizations/commands/UpdateOrganizationalUnitCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateOrganizationalUnitCommandInput = UpdateOrganizationalUnitRequest; @@ -70,14 +70,14 @@ export class UpdateOrganizationalUnitCommand extends $Command< private serialize( input: UpdateOrganizationalUnitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateOrganizationalUnitCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateOrganizationalUnitCommand( output, diff --git a/clients/client-organizations/commands/UpdatePolicyCommand.ts b/clients/client-organizations/commands/UpdatePolicyCommand.ts index 287a142580aa..3d7f5309f4c3 100644 --- a/clients/client-organizations/commands/UpdatePolicyCommand.ts +++ b/clients/client-organizations/commands/UpdatePolicyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePolicyCommandInput = UpdatePolicyRequest; @@ -64,14 +64,14 @@ export class UpdatePolicyCommand extends $Command< private serialize( input: UpdatePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdatePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdatePolicyCommand(output, context); } diff --git a/clients/client-organizations/protocols/Aws_json1_1.ts b/clients/client-organizations/protocols/Aws_json1_1.ts index 66e0cbb3c427..ad3c256c6ebe 100644 --- a/clients/client-organizations/protocols/Aws_json1_1.ts +++ b/clients/client-organizations/protocols/Aws_json1_1.ts @@ -9290,6 +9290,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-outposts/commands/CreateOutpostCommand.ts b/clients/client-outposts/commands/CreateOutpostCommand.ts index adfa13efb644..9eba185107ba 100644 --- a/clients/client-outposts/commands/CreateOutpostCommand.ts +++ b/clients/client-outposts/commands/CreateOutpostCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateOutpostCommandInput = CreateOutpostInput; @@ -64,14 +64,14 @@ export class CreateOutpostCommand extends $Command< private serialize( input: CreateOutpostCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateOutpostCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateOutpostCommand(output, context); } diff --git a/clients/client-outposts/commands/GetOutpostCommand.ts b/clients/client-outposts/commands/GetOutpostCommand.ts index 0f43eee61cef..b959e66f338f 100644 --- a/clients/client-outposts/commands/GetOutpostCommand.ts +++ b/clients/client-outposts/commands/GetOutpostCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOutpostCommandInput = GetOutpostInput; @@ -64,14 +64,14 @@ export class GetOutpostCommand extends $Command< private serialize( input: GetOutpostCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetOutpostCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetOutpostCommand(output, context); } diff --git a/clients/client-outposts/commands/GetOutpostInstanceTypesCommand.ts b/clients/client-outposts/commands/GetOutpostInstanceTypesCommand.ts index 580dda6f6830..bfb0ab2c561d 100644 --- a/clients/client-outposts/commands/GetOutpostInstanceTypesCommand.ts +++ b/clients/client-outposts/commands/GetOutpostInstanceTypesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOutpostInstanceTypesCommandInput = GetOutpostInstanceTypesInput; @@ -70,7 +70,7 @@ export class GetOutpostInstanceTypesCommand extends $Command< private serialize( input: GetOutpostInstanceTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetOutpostInstanceTypesCommand( input, @@ -80,7 +80,7 @@ export class GetOutpostInstanceTypesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetOutpostInstanceTypesCommand( output, diff --git a/clients/client-outposts/commands/ListOutpostsCommand.ts b/clients/client-outposts/commands/ListOutpostsCommand.ts index 976d4dc93968..fd85a71be1b0 100644 --- a/clients/client-outposts/commands/ListOutpostsCommand.ts +++ b/clients/client-outposts/commands/ListOutpostsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOutpostsCommandInput = ListOutpostsInput; @@ -64,14 +64,14 @@ export class ListOutpostsCommand extends $Command< private serialize( input: ListOutpostsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListOutpostsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListOutpostsCommand(output, context); } diff --git a/clients/client-outposts/commands/ListSitesCommand.ts b/clients/client-outposts/commands/ListSitesCommand.ts index 123a32feffff..b674e8f7ce13 100644 --- a/clients/client-outposts/commands/ListSitesCommand.ts +++ b/clients/client-outposts/commands/ListSitesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSitesCommandInput = ListSitesInput; @@ -64,14 +64,14 @@ export class ListSitesCommand extends $Command< private serialize( input: ListSitesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSitesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSitesCommand(output, context); } diff --git a/clients/client-outposts/protocols/Aws_restJson1_1.ts b/clients/client-outposts/protocols/Aws_restJson1_1.ts index 9e1753c57c5f..a81ebb817965 100644 --- a/clients/client-outposts/protocols/Aws_restJson1_1.ts +++ b/clients/client-outposts/protocols/Aws_restJson1_1.ts @@ -812,6 +812,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-personalize-events/commands/PutEventsCommand.ts b/clients/client-personalize-events/commands/PutEventsCommand.ts index 2bc3b95dd1b4..32018f8a7ea3 100644 --- a/clients/client-personalize-events/commands/PutEventsCommand.ts +++ b/clients/client-personalize-events/commands/PutEventsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEventsCommandInput = PutEventsRequest; @@ -65,14 +65,14 @@ export class PutEventsCommand extends $Command< private serialize( input: PutEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEventsCommand(output, context); } diff --git a/clients/client-personalize-events/protocols/Aws_restJson1_1.ts b/clients/client-personalize-events/protocols/Aws_restJson1_1.ts index 33c77d9cfefb..beccd19f1753 100644 --- a/clients/client-personalize-events/protocols/Aws_restJson1_1.ts +++ b/clients/client-personalize-events/protocols/Aws_restJson1_1.ts @@ -158,6 +158,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-personalize-runtime/commands/GetPersonalizedRankingCommand.ts b/clients/client-personalize-runtime/commands/GetPersonalizedRankingCommand.ts index 48a0b232a7ea..a34979225620 100644 --- a/clients/client-personalize-runtime/commands/GetPersonalizedRankingCommand.ts +++ b/clients/client-personalize-runtime/commands/GetPersonalizedRankingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPersonalizedRankingCommandInput = GetPersonalizedRankingRequest; @@ -70,7 +70,7 @@ export class GetPersonalizedRankingCommand extends $Command< private serialize( input: GetPersonalizedRankingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPersonalizedRankingCommand( input, @@ -80,7 +80,7 @@ export class GetPersonalizedRankingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPersonalizedRankingCommand( output, diff --git a/clients/client-personalize-runtime/commands/GetRecommendationsCommand.ts b/clients/client-personalize-runtime/commands/GetRecommendationsCommand.ts index b64cd8428986..d185c4294be5 100644 --- a/clients/client-personalize-runtime/commands/GetRecommendationsCommand.ts +++ b/clients/client-personalize-runtime/commands/GetRecommendationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRecommendationsCommandInput = GetRecommendationsRequest; @@ -67,14 +67,14 @@ export class GetRecommendationsCommand extends $Command< private serialize( input: GetRecommendationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRecommendationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRecommendationsCommand(output, context); } diff --git a/clients/client-personalize-runtime/protocols/Aws_restJson1_1.ts b/clients/client-personalize-runtime/protocols/Aws_restJson1_1.ts index bc2a49285532..fb92b3b0da82 100644 --- a/clients/client-personalize-runtime/protocols/Aws_restJson1_1.ts +++ b/clients/client-personalize-runtime/protocols/Aws_restJson1_1.ts @@ -320,6 +320,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-personalize/commands/CreateBatchInferenceJobCommand.ts b/clients/client-personalize/commands/CreateBatchInferenceJobCommand.ts index 00ecef99ba9c..25eace8c0042 100644 --- a/clients/client-personalize/commands/CreateBatchInferenceJobCommand.ts +++ b/clients/client-personalize/commands/CreateBatchInferenceJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBatchInferenceJobCommandInput = CreateBatchInferenceJobRequest; @@ -70,14 +70,14 @@ export class CreateBatchInferenceJobCommand extends $Command< private serialize( input: CreateBatchInferenceJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateBatchInferenceJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateBatchInferenceJobCommand( output, diff --git a/clients/client-personalize/commands/CreateCampaignCommand.ts b/clients/client-personalize/commands/CreateCampaignCommand.ts index 40cfac8e8bc6..45e6189852ab 100644 --- a/clients/client-personalize/commands/CreateCampaignCommand.ts +++ b/clients/client-personalize/commands/CreateCampaignCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCampaignCommandInput = CreateCampaignRequest; @@ -64,14 +64,14 @@ export class CreateCampaignCommand extends $Command< private serialize( input: CreateCampaignCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCampaignCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCampaignCommand(output, context); } diff --git a/clients/client-personalize/commands/CreateDatasetCommand.ts b/clients/client-personalize/commands/CreateDatasetCommand.ts index f5481a81f6a6..58ab95cc618d 100644 --- a/clients/client-personalize/commands/CreateDatasetCommand.ts +++ b/clients/client-personalize/commands/CreateDatasetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDatasetCommandInput = CreateDatasetRequest; @@ -64,14 +64,14 @@ export class CreateDatasetCommand extends $Command< private serialize( input: CreateDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDatasetCommand(output, context); } diff --git a/clients/client-personalize/commands/CreateDatasetGroupCommand.ts b/clients/client-personalize/commands/CreateDatasetGroupCommand.ts index cd96869e53b9..3fcbacf4d027 100644 --- a/clients/client-personalize/commands/CreateDatasetGroupCommand.ts +++ b/clients/client-personalize/commands/CreateDatasetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDatasetGroupCommandInput = CreateDatasetGroupRequest; @@ -67,14 +67,14 @@ export class CreateDatasetGroupCommand extends $Command< private serialize( input: CreateDatasetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDatasetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDatasetGroupCommand(output, context); } diff --git a/clients/client-personalize/commands/CreateDatasetImportJobCommand.ts b/clients/client-personalize/commands/CreateDatasetImportJobCommand.ts index 6d0a75c7f2f4..a98d2fa3b188 100644 --- a/clients/client-personalize/commands/CreateDatasetImportJobCommand.ts +++ b/clients/client-personalize/commands/CreateDatasetImportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDatasetImportJobCommandInput = CreateDatasetImportJobRequest; @@ -70,14 +70,14 @@ export class CreateDatasetImportJobCommand extends $Command< private serialize( input: CreateDatasetImportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDatasetImportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDatasetImportJobCommand(output, context); } diff --git a/clients/client-personalize/commands/CreateEventTrackerCommand.ts b/clients/client-personalize/commands/CreateEventTrackerCommand.ts index 9e5e04780e33..3b6e16afab27 100644 --- a/clients/client-personalize/commands/CreateEventTrackerCommand.ts +++ b/clients/client-personalize/commands/CreateEventTrackerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEventTrackerCommandInput = CreateEventTrackerRequest; @@ -67,14 +67,14 @@ export class CreateEventTrackerCommand extends $Command< private serialize( input: CreateEventTrackerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEventTrackerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEventTrackerCommand(output, context); } diff --git a/clients/client-personalize/commands/CreateSchemaCommand.ts b/clients/client-personalize/commands/CreateSchemaCommand.ts index 3305255964d3..e2902a8fb716 100644 --- a/clients/client-personalize/commands/CreateSchemaCommand.ts +++ b/clients/client-personalize/commands/CreateSchemaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSchemaCommandInput = CreateSchemaRequest; @@ -64,14 +64,14 @@ export class CreateSchemaCommand extends $Command< private serialize( input: CreateSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSchemaCommand(output, context); } diff --git a/clients/client-personalize/commands/CreateSolutionCommand.ts b/clients/client-personalize/commands/CreateSolutionCommand.ts index 1e85eee57546..4b6d5e6f15a5 100644 --- a/clients/client-personalize/commands/CreateSolutionCommand.ts +++ b/clients/client-personalize/commands/CreateSolutionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSolutionCommandInput = CreateSolutionRequest; @@ -64,14 +64,14 @@ export class CreateSolutionCommand extends $Command< private serialize( input: CreateSolutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSolutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSolutionCommand(output, context); } diff --git a/clients/client-personalize/commands/CreateSolutionVersionCommand.ts b/clients/client-personalize/commands/CreateSolutionVersionCommand.ts index a1c9789a1cb6..74f48ae07242 100644 --- a/clients/client-personalize/commands/CreateSolutionVersionCommand.ts +++ b/clients/client-personalize/commands/CreateSolutionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSolutionVersionCommandInput = CreateSolutionVersionRequest; @@ -70,14 +70,14 @@ export class CreateSolutionVersionCommand extends $Command< private serialize( input: CreateSolutionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSolutionVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSolutionVersionCommand(output, context); } diff --git a/clients/client-personalize/commands/DeleteCampaignCommand.ts b/clients/client-personalize/commands/DeleteCampaignCommand.ts index 6b3667202562..9e5e9f0c06ea 100644 --- a/clients/client-personalize/commands/DeleteCampaignCommand.ts +++ b/clients/client-personalize/commands/DeleteCampaignCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCampaignCommandInput = DeleteCampaignRequest; @@ -65,14 +65,14 @@ export class DeleteCampaignCommand extends $Command< private serialize( input: DeleteCampaignCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCampaignCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCampaignCommand(output, context); } diff --git a/clients/client-personalize/commands/DeleteDatasetCommand.ts b/clients/client-personalize/commands/DeleteDatasetCommand.ts index 3f6666445d68..26952ae09e2a 100644 --- a/clients/client-personalize/commands/DeleteDatasetCommand.ts +++ b/clients/client-personalize/commands/DeleteDatasetCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDatasetCommandInput = DeleteDatasetRequest; @@ -65,14 +65,14 @@ export class DeleteDatasetCommand extends $Command< private serialize( input: DeleteDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDatasetCommand(output, context); } diff --git a/clients/client-personalize/commands/DeleteDatasetGroupCommand.ts b/clients/client-personalize/commands/DeleteDatasetGroupCommand.ts index ccafe41fe1e1..6152c773689f 100644 --- a/clients/client-personalize/commands/DeleteDatasetGroupCommand.ts +++ b/clients/client-personalize/commands/DeleteDatasetGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDatasetGroupCommandInput = DeleteDatasetGroupRequest; @@ -65,14 +65,14 @@ export class DeleteDatasetGroupCommand extends $Command< private serialize( input: DeleteDatasetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDatasetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDatasetGroupCommand(output, context); } diff --git a/clients/client-personalize/commands/DeleteEventTrackerCommand.ts b/clients/client-personalize/commands/DeleteEventTrackerCommand.ts index 93780f03fb13..0ea9f2fdb728 100644 --- a/clients/client-personalize/commands/DeleteEventTrackerCommand.ts +++ b/clients/client-personalize/commands/DeleteEventTrackerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEventTrackerCommandInput = DeleteEventTrackerRequest; @@ -65,14 +65,14 @@ export class DeleteEventTrackerCommand extends $Command< private serialize( input: DeleteEventTrackerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEventTrackerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEventTrackerCommand(output, context); } diff --git a/clients/client-personalize/commands/DeleteSchemaCommand.ts b/clients/client-personalize/commands/DeleteSchemaCommand.ts index cddb375ba584..2ce5270633e6 100644 --- a/clients/client-personalize/commands/DeleteSchemaCommand.ts +++ b/clients/client-personalize/commands/DeleteSchemaCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSchemaCommandInput = DeleteSchemaRequest; @@ -65,14 +65,14 @@ export class DeleteSchemaCommand extends $Command< private serialize( input: DeleteSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSchemaCommand(output, context); } diff --git a/clients/client-personalize/commands/DeleteSolutionCommand.ts b/clients/client-personalize/commands/DeleteSolutionCommand.ts index eae43128ec81..f9507730b657 100644 --- a/clients/client-personalize/commands/DeleteSolutionCommand.ts +++ b/clients/client-personalize/commands/DeleteSolutionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSolutionCommandInput = DeleteSolutionRequest; @@ -65,14 +65,14 @@ export class DeleteSolutionCommand extends $Command< private serialize( input: DeleteSolutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSolutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSolutionCommand(output, context); } diff --git a/clients/client-personalize/commands/DescribeAlgorithmCommand.ts b/clients/client-personalize/commands/DescribeAlgorithmCommand.ts index 8175c7529c18..54a8f5ae26a3 100644 --- a/clients/client-personalize/commands/DescribeAlgorithmCommand.ts +++ b/clients/client-personalize/commands/DescribeAlgorithmCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAlgorithmCommandInput = DescribeAlgorithmRequest; @@ -67,14 +67,14 @@ export class DescribeAlgorithmCommand extends $Command< private serialize( input: DescribeAlgorithmCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAlgorithmCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAlgorithmCommand(output, context); } diff --git a/clients/client-personalize/commands/DescribeBatchInferenceJobCommand.ts b/clients/client-personalize/commands/DescribeBatchInferenceJobCommand.ts index 2e9e9a4f6fa9..cee5eee283ec 100644 --- a/clients/client-personalize/commands/DescribeBatchInferenceJobCommand.ts +++ b/clients/client-personalize/commands/DescribeBatchInferenceJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBatchInferenceJobCommandInput = DescribeBatchInferenceJobRequest; @@ -70,14 +70,14 @@ export class DescribeBatchInferenceJobCommand extends $Command< private serialize( input: DescribeBatchInferenceJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeBatchInferenceJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeBatchInferenceJobCommand( output, diff --git a/clients/client-personalize/commands/DescribeCampaignCommand.ts b/clients/client-personalize/commands/DescribeCampaignCommand.ts index 1ee815fcb523..17b7abbd7259 100644 --- a/clients/client-personalize/commands/DescribeCampaignCommand.ts +++ b/clients/client-personalize/commands/DescribeCampaignCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCampaignCommandInput = DescribeCampaignRequest; @@ -67,14 +67,14 @@ export class DescribeCampaignCommand extends $Command< private serialize( input: DescribeCampaignCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCampaignCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCampaignCommand(output, context); } diff --git a/clients/client-personalize/commands/DescribeDatasetCommand.ts b/clients/client-personalize/commands/DescribeDatasetCommand.ts index d89688c302a1..9f3a357b0d0e 100644 --- a/clients/client-personalize/commands/DescribeDatasetCommand.ts +++ b/clients/client-personalize/commands/DescribeDatasetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDatasetCommandInput = DescribeDatasetRequest; @@ -67,14 +67,14 @@ export class DescribeDatasetCommand extends $Command< private serialize( input: DescribeDatasetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDatasetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDatasetCommand(output, context); } diff --git a/clients/client-personalize/commands/DescribeDatasetGroupCommand.ts b/clients/client-personalize/commands/DescribeDatasetGroupCommand.ts index d22fea68ceeb..cf733bd012bb 100644 --- a/clients/client-personalize/commands/DescribeDatasetGroupCommand.ts +++ b/clients/client-personalize/commands/DescribeDatasetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDatasetGroupCommandInput = DescribeDatasetGroupRequest; @@ -70,14 +70,14 @@ export class DescribeDatasetGroupCommand extends $Command< private serialize( input: DescribeDatasetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDatasetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDatasetGroupCommand(output, context); } diff --git a/clients/client-personalize/commands/DescribeDatasetImportJobCommand.ts b/clients/client-personalize/commands/DescribeDatasetImportJobCommand.ts index a99e42ec71c8..640c1dfbba4a 100644 --- a/clients/client-personalize/commands/DescribeDatasetImportJobCommand.ts +++ b/clients/client-personalize/commands/DescribeDatasetImportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDatasetImportJobCommandInput = DescribeDatasetImportJobRequest; @@ -70,14 +70,14 @@ export class DescribeDatasetImportJobCommand extends $Command< private serialize( input: DescribeDatasetImportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDatasetImportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDatasetImportJobCommand( output, diff --git a/clients/client-personalize/commands/DescribeEventTrackerCommand.ts b/clients/client-personalize/commands/DescribeEventTrackerCommand.ts index 9976ff60d3af..bbb67cb87542 100644 --- a/clients/client-personalize/commands/DescribeEventTrackerCommand.ts +++ b/clients/client-personalize/commands/DescribeEventTrackerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventTrackerCommandInput = DescribeEventTrackerRequest; @@ -70,14 +70,14 @@ export class DescribeEventTrackerCommand extends $Command< private serialize( input: DescribeEventTrackerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEventTrackerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEventTrackerCommand(output, context); } diff --git a/clients/client-personalize/commands/DescribeFeatureTransformationCommand.ts b/clients/client-personalize/commands/DescribeFeatureTransformationCommand.ts index ade3ca0c959f..73c194c205e3 100644 --- a/clients/client-personalize/commands/DescribeFeatureTransformationCommand.ts +++ b/clients/client-personalize/commands/DescribeFeatureTransformationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFeatureTransformationCommandInput = DescribeFeatureTransformationRequest; @@ -70,7 +70,7 @@ export class DescribeFeatureTransformationCommand extends $Command< private serialize( input: DescribeFeatureTransformationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeFeatureTransformationCommand( input, @@ -80,7 +80,7 @@ export class DescribeFeatureTransformationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeFeatureTransformationCommand( output, diff --git a/clients/client-personalize/commands/DescribeRecipeCommand.ts b/clients/client-personalize/commands/DescribeRecipeCommand.ts index 1382a7847b7b..1b604ff2e1c3 100644 --- a/clients/client-personalize/commands/DescribeRecipeCommand.ts +++ b/clients/client-personalize/commands/DescribeRecipeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRecipeCommandInput = DescribeRecipeRequest; @@ -64,14 +64,14 @@ export class DescribeRecipeCommand extends $Command< private serialize( input: DescribeRecipeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRecipeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRecipeCommand(output, context); } diff --git a/clients/client-personalize/commands/DescribeSchemaCommand.ts b/clients/client-personalize/commands/DescribeSchemaCommand.ts index 34bd4ffcea20..07ea8969cc1e 100644 --- a/clients/client-personalize/commands/DescribeSchemaCommand.ts +++ b/clients/client-personalize/commands/DescribeSchemaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSchemaCommandInput = DescribeSchemaRequest; @@ -64,14 +64,14 @@ export class DescribeSchemaCommand extends $Command< private serialize( input: DescribeSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSchemaCommand(output, context); } diff --git a/clients/client-personalize/commands/DescribeSolutionCommand.ts b/clients/client-personalize/commands/DescribeSolutionCommand.ts index 77c5c8b6a8bc..0e33ed93f93b 100644 --- a/clients/client-personalize/commands/DescribeSolutionCommand.ts +++ b/clients/client-personalize/commands/DescribeSolutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSolutionCommandInput = DescribeSolutionRequest; @@ -67,14 +67,14 @@ export class DescribeSolutionCommand extends $Command< private serialize( input: DescribeSolutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSolutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSolutionCommand(output, context); } diff --git a/clients/client-personalize/commands/DescribeSolutionVersionCommand.ts b/clients/client-personalize/commands/DescribeSolutionVersionCommand.ts index 297fb6f44496..5bbc94edc160 100644 --- a/clients/client-personalize/commands/DescribeSolutionVersionCommand.ts +++ b/clients/client-personalize/commands/DescribeSolutionVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSolutionVersionCommandInput = DescribeSolutionVersionRequest; @@ -70,14 +70,14 @@ export class DescribeSolutionVersionCommand extends $Command< private serialize( input: DescribeSolutionVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSolutionVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSolutionVersionCommand( output, diff --git a/clients/client-personalize/commands/GetSolutionMetricsCommand.ts b/clients/client-personalize/commands/GetSolutionMetricsCommand.ts index 023e4b38619e..ee53999ffe3b 100644 --- a/clients/client-personalize/commands/GetSolutionMetricsCommand.ts +++ b/clients/client-personalize/commands/GetSolutionMetricsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSolutionMetricsCommandInput = GetSolutionMetricsRequest; @@ -67,14 +67,14 @@ export class GetSolutionMetricsCommand extends $Command< private serialize( input: GetSolutionMetricsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSolutionMetricsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSolutionMetricsCommand(output, context); } diff --git a/clients/client-personalize/commands/ListBatchInferenceJobsCommand.ts b/clients/client-personalize/commands/ListBatchInferenceJobsCommand.ts index 6c0e3baf4372..a1fd1cb5442c 100644 --- a/clients/client-personalize/commands/ListBatchInferenceJobsCommand.ts +++ b/clients/client-personalize/commands/ListBatchInferenceJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBatchInferenceJobsCommandInput = ListBatchInferenceJobsRequest; @@ -70,14 +70,14 @@ export class ListBatchInferenceJobsCommand extends $Command< private serialize( input: ListBatchInferenceJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListBatchInferenceJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListBatchInferenceJobsCommand(output, context); } diff --git a/clients/client-personalize/commands/ListCampaignsCommand.ts b/clients/client-personalize/commands/ListCampaignsCommand.ts index ccff681ba6ec..3dbe93171ad4 100644 --- a/clients/client-personalize/commands/ListCampaignsCommand.ts +++ b/clients/client-personalize/commands/ListCampaignsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCampaignsCommandInput = ListCampaignsRequest; @@ -64,14 +64,14 @@ export class ListCampaignsCommand extends $Command< private serialize( input: ListCampaignsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCampaignsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCampaignsCommand(output, context); } diff --git a/clients/client-personalize/commands/ListDatasetGroupsCommand.ts b/clients/client-personalize/commands/ListDatasetGroupsCommand.ts index 59ca81510875..b5aa2337bb70 100644 --- a/clients/client-personalize/commands/ListDatasetGroupsCommand.ts +++ b/clients/client-personalize/commands/ListDatasetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDatasetGroupsCommandInput = ListDatasetGroupsRequest; @@ -67,14 +67,14 @@ export class ListDatasetGroupsCommand extends $Command< private serialize( input: ListDatasetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDatasetGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDatasetGroupsCommand(output, context); } diff --git a/clients/client-personalize/commands/ListDatasetImportJobsCommand.ts b/clients/client-personalize/commands/ListDatasetImportJobsCommand.ts index 2b75cbd27ea0..65681ad95310 100644 --- a/clients/client-personalize/commands/ListDatasetImportJobsCommand.ts +++ b/clients/client-personalize/commands/ListDatasetImportJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDatasetImportJobsCommandInput = ListDatasetImportJobsRequest; @@ -70,14 +70,14 @@ export class ListDatasetImportJobsCommand extends $Command< private serialize( input: ListDatasetImportJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDatasetImportJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDatasetImportJobsCommand(output, context); } diff --git a/clients/client-personalize/commands/ListDatasetsCommand.ts b/clients/client-personalize/commands/ListDatasetsCommand.ts index 9c24294becba..6fc957350aa3 100644 --- a/clients/client-personalize/commands/ListDatasetsCommand.ts +++ b/clients/client-personalize/commands/ListDatasetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDatasetsCommandInput = ListDatasetsRequest; @@ -64,14 +64,14 @@ export class ListDatasetsCommand extends $Command< private serialize( input: ListDatasetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDatasetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDatasetsCommand(output, context); } diff --git a/clients/client-personalize/commands/ListEventTrackersCommand.ts b/clients/client-personalize/commands/ListEventTrackersCommand.ts index 253ed9ce491d..d534d8679fc1 100644 --- a/clients/client-personalize/commands/ListEventTrackersCommand.ts +++ b/clients/client-personalize/commands/ListEventTrackersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEventTrackersCommandInput = ListEventTrackersRequest; @@ -67,14 +67,14 @@ export class ListEventTrackersCommand extends $Command< private serialize( input: ListEventTrackersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEventTrackersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEventTrackersCommand(output, context); } diff --git a/clients/client-personalize/commands/ListRecipesCommand.ts b/clients/client-personalize/commands/ListRecipesCommand.ts index 164a947cd614..0d78aa9bf092 100644 --- a/clients/client-personalize/commands/ListRecipesCommand.ts +++ b/clients/client-personalize/commands/ListRecipesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRecipesCommandInput = ListRecipesRequest; @@ -64,14 +64,14 @@ export class ListRecipesCommand extends $Command< private serialize( input: ListRecipesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRecipesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRecipesCommand(output, context); } diff --git a/clients/client-personalize/commands/ListSchemasCommand.ts b/clients/client-personalize/commands/ListSchemasCommand.ts index 181cb237b7d9..f5b8e11870c9 100644 --- a/clients/client-personalize/commands/ListSchemasCommand.ts +++ b/clients/client-personalize/commands/ListSchemasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSchemasCommandInput = ListSchemasRequest; @@ -64,14 +64,14 @@ export class ListSchemasCommand extends $Command< private serialize( input: ListSchemasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSchemasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSchemasCommand(output, context); } diff --git a/clients/client-personalize/commands/ListSolutionVersionsCommand.ts b/clients/client-personalize/commands/ListSolutionVersionsCommand.ts index c3a7e0b58597..7d3b62959545 100644 --- a/clients/client-personalize/commands/ListSolutionVersionsCommand.ts +++ b/clients/client-personalize/commands/ListSolutionVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSolutionVersionsCommandInput = ListSolutionVersionsRequest; @@ -70,14 +70,14 @@ export class ListSolutionVersionsCommand extends $Command< private serialize( input: ListSolutionVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSolutionVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSolutionVersionsCommand(output, context); } diff --git a/clients/client-personalize/commands/ListSolutionsCommand.ts b/clients/client-personalize/commands/ListSolutionsCommand.ts index 313206558c20..a46cdb656ddd 100644 --- a/clients/client-personalize/commands/ListSolutionsCommand.ts +++ b/clients/client-personalize/commands/ListSolutionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSolutionsCommandInput = ListSolutionsRequest; @@ -64,14 +64,14 @@ export class ListSolutionsCommand extends $Command< private serialize( input: ListSolutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSolutionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSolutionsCommand(output, context); } diff --git a/clients/client-personalize/commands/UpdateCampaignCommand.ts b/clients/client-personalize/commands/UpdateCampaignCommand.ts index 8b31a9acb30a..596cb6b41f9f 100644 --- a/clients/client-personalize/commands/UpdateCampaignCommand.ts +++ b/clients/client-personalize/commands/UpdateCampaignCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCampaignCommandInput = UpdateCampaignRequest; @@ -64,14 +64,14 @@ export class UpdateCampaignCommand extends $Command< private serialize( input: UpdateCampaignCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateCampaignCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateCampaignCommand(output, context); } diff --git a/clients/client-personalize/protocols/Aws_json1_1.ts b/clients/client-personalize/protocols/Aws_json1_1.ts index 6602abc4f049..7ba466974395 100644 --- a/clients/client-personalize/protocols/Aws_json1_1.ts +++ b/clients/client-personalize/protocols/Aws_json1_1.ts @@ -7139,6 +7139,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-pi/commands/DescribeDimensionKeysCommand.ts b/clients/client-pi/commands/DescribeDimensionKeysCommand.ts index 79ea1e84d9b4..65de35338f73 100644 --- a/clients/client-pi/commands/DescribeDimensionKeysCommand.ts +++ b/clients/client-pi/commands/DescribeDimensionKeysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDimensionKeysCommandInput = DescribeDimensionKeysRequest; @@ -70,14 +70,14 @@ export class DescribeDimensionKeysCommand extends $Command< private serialize( input: DescribeDimensionKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDimensionKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDimensionKeysCommand(output, context); } diff --git a/clients/client-pi/commands/GetResourceMetricsCommand.ts b/clients/client-pi/commands/GetResourceMetricsCommand.ts index 384c74f97a4c..48e5367ae1fb 100644 --- a/clients/client-pi/commands/GetResourceMetricsCommand.ts +++ b/clients/client-pi/commands/GetResourceMetricsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourceMetricsCommandInput = GetResourceMetricsRequest; @@ -67,14 +67,14 @@ export class GetResourceMetricsCommand extends $Command< private serialize( input: GetResourceMetricsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetResourceMetricsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetResourceMetricsCommand(output, context); } diff --git a/clients/client-pi/protocols/Aws_json1_1.ts b/clients/client-pi/protocols/Aws_json1_1.ts index 746b2a6d9235..ef7cb75b3658 100644 --- a/clients/client-pi/protocols/Aws_json1_1.ts +++ b/clients/client-pi/protocols/Aws_json1_1.ts @@ -717,6 +717,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts b/clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts index 8b260a1aeb43..04144c7678db 100644 --- a/clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts +++ b/clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationSetCommandInput = CreateConfigurationSetRequest; @@ -70,7 +70,7 @@ export class CreateConfigurationSetCommand extends $Command< private serialize( input: CreateConfigurationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConfigurationSetCommand( input, @@ -80,7 +80,7 @@ export class CreateConfigurationSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConfigurationSetCommand( output, diff --git a/clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts index 9bed63a36fae..043da0e30123 100644 --- a/clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationSetEventDestinationCommandInput = CreateConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< private serialize( input: CreateConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts b/clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts index bb497c429c57..3bd8a5479a06 100644 --- a/clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts +++ b/clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDedicatedIpPoolCommandInput = CreateDedicatedIpPoolRequest; @@ -70,14 +70,14 @@ export class CreateDedicatedIpPoolCommand extends $Command< private serialize( input: CreateDedicatedIpPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDedicatedIpPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDedicatedIpPoolCommand( output, diff --git a/clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts b/clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts index 8b508dcc1056..b57abdfe992a 100644 --- a/clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts +++ b/clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeliverabilityTestReportCommandInput = CreateDeliverabilityTestReportRequest; @@ -70,7 +70,7 @@ export class CreateDeliverabilityTestReportCommand extends $Command< private serialize( input: CreateDeliverabilityTestReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDeliverabilityTestReportCommand( input, @@ -80,7 +80,7 @@ export class CreateDeliverabilityTestReportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDeliverabilityTestReportCommand( output, diff --git a/clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts b/clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts index 60e1ccd2b243..decfd25a82be 100644 --- a/clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts +++ b/clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEmailIdentityCommandInput = CreateEmailIdentityRequest; @@ -70,14 +70,14 @@ export class CreateEmailIdentityCommand extends $Command< private serialize( input: CreateEmailIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateEmailIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateEmailIdentityCommand( output, diff --git a/clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts b/clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts index fc748ccc7008..ca1c0ec782fc 100644 --- a/clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts +++ b/clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationSetCommandInput = DeleteConfigurationSetRequest; @@ -70,7 +70,7 @@ export class DeleteConfigurationSetCommand extends $Command< private serialize( input: DeleteConfigurationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteConfigurationSetCommand( input, @@ -80,7 +80,7 @@ export class DeleteConfigurationSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteConfigurationSetCommand( output, diff --git a/clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts index 04dff1e0db45..d0c58f0a51a0 100644 --- a/clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationSetEventDestinationCommandInput = DeleteConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< private serialize( input: DeleteConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts b/clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts index c62497215a8f..37d64d80a7f1 100644 --- a/clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts +++ b/clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDedicatedIpPoolCommandInput = DeleteDedicatedIpPoolRequest; @@ -70,14 +70,14 @@ export class DeleteDedicatedIpPoolCommand extends $Command< private serialize( input: DeleteDedicatedIpPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDedicatedIpPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDedicatedIpPoolCommand( output, diff --git a/clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts b/clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts index 18fd4edbf4dc..cff23ba7bce5 100644 --- a/clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts +++ b/clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEmailIdentityCommandInput = DeleteEmailIdentityRequest; @@ -70,14 +70,14 @@ export class DeleteEmailIdentityCommand extends $Command< private serialize( input: DeleteEmailIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteEmailIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteEmailIdentityCommand( output, diff --git a/clients/client-pinpoint-email/commands/GetAccountCommand.ts b/clients/client-pinpoint-email/commands/GetAccountCommand.ts index 1799ccbff384..592fb36433d3 100644 --- a/clients/client-pinpoint-email/commands/GetAccountCommand.ts +++ b/clients/client-pinpoint-email/commands/GetAccountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountCommandInput = GetAccountRequest; @@ -64,14 +64,14 @@ export class GetAccountCommand extends $Command< private serialize( input: GetAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAccountCommand(output, context); } diff --git a/clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts b/clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts index 9c1b1e76822d..6100aa5b00b0 100644 --- a/clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts +++ b/clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBlacklistReportsCommandInput = GetBlacklistReportsRequest; @@ -70,14 +70,14 @@ export class GetBlacklistReportsCommand extends $Command< private serialize( input: GetBlacklistReportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBlacklistReportsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBlacklistReportsCommand( output, diff --git a/clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts b/clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts index 691244fe144b..053942d8553b 100644 --- a/clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts +++ b/clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConfigurationSetCommandInput = GetConfigurationSetRequest; @@ -70,14 +70,14 @@ export class GetConfigurationSetCommand extends $Command< private serialize( input: GetConfigurationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConfigurationSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConfigurationSetCommand( output, diff --git a/clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts b/clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts index 034bcf0d6ac6..496b0cd45469 100644 --- a/clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts +++ b/clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConfigurationSetEventDestinationsCommandInput = GetConfigurationSetEventDestinationsRequest; @@ -72,7 +72,7 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< private serialize( input: GetConfigurationSetEventDestinationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConfigurationSetEventDestinationsCommand( input, @@ -82,7 +82,7 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConfigurationSetEventDestinationsCommand( output, diff --git a/clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts b/clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts index 7f72c7b4f0e0..982530457c9f 100644 --- a/clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDedicatedIpCommandInput = GetDedicatedIpRequest; @@ -64,14 +64,14 @@ export class GetDedicatedIpCommand extends $Command< private serialize( input: GetDedicatedIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDedicatedIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDedicatedIpCommand(output, context); } diff --git a/clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts b/clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts index 48961df06805..e154ef7dce7a 100644 --- a/clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDedicatedIpsCommandInput = GetDedicatedIpsRequest; @@ -67,14 +67,14 @@ export class GetDedicatedIpsCommand extends $Command< private serialize( input: GetDedicatedIpsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDedicatedIpsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDedicatedIpsCommand(output, context); } diff --git a/clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts b/clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts index bdebe8bc0cdf..d4246004a5a4 100644 --- a/clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeliverabilityDashboardOptionsCommandInput = GetDeliverabilityDashboardOptionsRequest; @@ -70,7 +70,7 @@ export class GetDeliverabilityDashboardOptionsCommand extends $Command< private serialize( input: GetDeliverabilityDashboardOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeliverabilityDashboardOptionsCommand( input, @@ -80,7 +80,7 @@ export class GetDeliverabilityDashboardOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeliverabilityDashboardOptionsCommand( output, diff --git a/clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts b/clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts index cd6e722fe4ac..e1b8d6fbe3ac 100644 --- a/clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeliverabilityTestReportCommandInput = GetDeliverabilityTestReportRequest; @@ -70,7 +70,7 @@ export class GetDeliverabilityTestReportCommand extends $Command< private serialize( input: GetDeliverabilityTestReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeliverabilityTestReportCommand( input, @@ -80,7 +80,7 @@ export class GetDeliverabilityTestReportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeliverabilityTestReportCommand( output, diff --git a/clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts b/clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts index 949a400a1224..3c29dbe91f1f 100644 --- a/clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainDeliverabilityCampaignCommandInput = GetDomainDeliverabilityCampaignRequest; @@ -70,7 +70,7 @@ export class GetDomainDeliverabilityCampaignCommand extends $Command< private serialize( input: GetDomainDeliverabilityCampaignCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDomainDeliverabilityCampaignCommand( input, @@ -80,7 +80,7 @@ export class GetDomainDeliverabilityCampaignCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDomainDeliverabilityCampaignCommand( output, diff --git a/clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts b/clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts index 9b3688c37ec9..1a188d542c60 100644 --- a/clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainStatisticsReportCommandInput = GetDomainStatisticsReportRequest; @@ -70,7 +70,7 @@ export class GetDomainStatisticsReportCommand extends $Command< private serialize( input: GetDomainStatisticsReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDomainStatisticsReportCommand( input, @@ -80,7 +80,7 @@ export class GetDomainStatisticsReportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDomainStatisticsReportCommand( output, diff --git a/clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts b/clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts index d8a82aa13520..7993c038bf9e 100644 --- a/clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts +++ b/clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEmailIdentityCommandInput = GetEmailIdentityRequest; @@ -67,14 +67,14 @@ export class GetEmailIdentityCommand extends $Command< private serialize( input: GetEmailIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEmailIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEmailIdentityCommand(output, context); } diff --git a/clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts b/clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts index 5ec69bf38ee6..435561d45a0b 100644 --- a/clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts +++ b/clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigurationSetsCommandInput = ListConfigurationSetsRequest; @@ -70,14 +70,14 @@ export class ListConfigurationSetsCommand extends $Command< private serialize( input: ListConfigurationSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListConfigurationSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListConfigurationSetsCommand( output, diff --git a/clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts b/clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts index 05271536f040..694fd9a1b7e0 100644 --- a/clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts +++ b/clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDedicatedIpPoolsCommandInput = ListDedicatedIpPoolsRequest; @@ -70,14 +70,14 @@ export class ListDedicatedIpPoolsCommand extends $Command< private serialize( input: ListDedicatedIpPoolsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDedicatedIpPoolsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDedicatedIpPoolsCommand( output, diff --git a/clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts b/clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts index f62d581e4ee6..3082b1a2c37a 100644 --- a/clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts +++ b/clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeliverabilityTestReportsCommandInput = ListDeliverabilityTestReportsRequest; @@ -70,7 +70,7 @@ export class ListDeliverabilityTestReportsCommand extends $Command< private serialize( input: ListDeliverabilityTestReportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDeliverabilityTestReportsCommand( input, @@ -80,7 +80,7 @@ export class ListDeliverabilityTestReportsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDeliverabilityTestReportsCommand( output, diff --git a/clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts b/clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts index dae040116a4a..794906176b96 100644 --- a/clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts +++ b/clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDomainDeliverabilityCampaignsCommandInput = ListDomainDeliverabilityCampaignsRequest; @@ -70,7 +70,7 @@ export class ListDomainDeliverabilityCampaignsCommand extends $Command< private serialize( input: ListDomainDeliverabilityCampaignsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDomainDeliverabilityCampaignsCommand( input, @@ -80,7 +80,7 @@ export class ListDomainDeliverabilityCampaignsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDomainDeliverabilityCampaignsCommand( output, diff --git a/clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts b/clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts index edc003062b6f..18c2a2d7b788 100644 --- a/clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts +++ b/clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEmailIdentitiesCommandInput = ListEmailIdentitiesRequest; @@ -70,14 +70,14 @@ export class ListEmailIdentitiesCommand extends $Command< private serialize( input: ListEmailIdentitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListEmailIdentitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListEmailIdentitiesCommand( output, diff --git a/clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts b/clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts index 82a0854ed5fb..5ae7163faefe 100644 --- a/clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts +++ b/clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts index 0d30ff8fb15a..13fdd5e9f0e9 100644 --- a/clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAccountDedicatedIpWarmupAttributesCommandInput = PutAccountDedicatedIpWarmupAttributesRequest; @@ -72,7 +72,7 @@ export class PutAccountDedicatedIpWarmupAttributesCommand extends $Command< private serialize( input: PutAccountDedicatedIpWarmupAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutAccountDedicatedIpWarmupAttributesCommand( input, @@ -82,7 +82,7 @@ export class PutAccountDedicatedIpWarmupAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutAccountDedicatedIpWarmupAttributesCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts index 1352c566fafa..3409d9488d3e 100644 --- a/clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAccountSendingAttributesCommandInput = PutAccountSendingAttributesRequest; @@ -70,7 +70,7 @@ export class PutAccountSendingAttributesCommand extends $Command< private serialize( input: PutAccountSendingAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutAccountSendingAttributesCommand( input, @@ -80,7 +80,7 @@ export class PutAccountSendingAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutAccountSendingAttributesCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts index 474990adaab2..178dc7e7995e 100644 --- a/clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts +++ b/clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationSetDeliveryOptionsCommandInput = PutConfigurationSetDeliveryOptionsRequest; @@ -70,7 +70,7 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< private serialize( input: PutConfigurationSetDeliveryOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutConfigurationSetDeliveryOptionsCommand( input, @@ -80,7 +80,7 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutConfigurationSetDeliveryOptionsCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts index 4260810eda98..97d936279a38 100644 --- a/clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts +++ b/clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationSetReputationOptionsCommandInput = PutConfigurationSetReputationOptionsRequest; @@ -72,7 +72,7 @@ export class PutConfigurationSetReputationOptionsCommand extends $Command< private serialize( input: PutConfigurationSetReputationOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutConfigurationSetReputationOptionsCommand( input, @@ -82,7 +82,7 @@ export class PutConfigurationSetReputationOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutConfigurationSetReputationOptionsCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts index 232b0a378ede..be437502fc25 100644 --- a/clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts +++ b/clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationSetSendingOptionsCommandInput = PutConfigurationSetSendingOptionsRequest; @@ -70,7 +70,7 @@ export class PutConfigurationSetSendingOptionsCommand extends $Command< private serialize( input: PutConfigurationSetSendingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutConfigurationSetSendingOptionsCommand( input, @@ -80,7 +80,7 @@ export class PutConfigurationSetSendingOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutConfigurationSetSendingOptionsCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts index 1efb3cf8a079..5cfb33f3d612 100644 --- a/clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts +++ b/clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationSetTrackingOptionsCommandInput = PutConfigurationSetTrackingOptionsRequest; @@ -70,7 +70,7 @@ export class PutConfigurationSetTrackingOptionsCommand extends $Command< private serialize( input: PutConfigurationSetTrackingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutConfigurationSetTrackingOptionsCommand( input, @@ -80,7 +80,7 @@ export class PutConfigurationSetTrackingOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutConfigurationSetTrackingOptionsCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts b/clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts index c2087b482cf2..dfb876cc9c13 100644 --- a/clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts +++ b/clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDedicatedIpInPoolCommandInput = PutDedicatedIpInPoolRequest; @@ -70,14 +70,14 @@ export class PutDedicatedIpInPoolCommand extends $Command< private serialize( input: PutDedicatedIpInPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutDedicatedIpInPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutDedicatedIpInPoolCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts index cb8842fe2aa7..599af4786f43 100644 --- a/clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDedicatedIpWarmupAttributesCommandInput = PutDedicatedIpWarmupAttributesRequest; @@ -70,7 +70,7 @@ export class PutDedicatedIpWarmupAttributesCommand extends $Command< private serialize( input: PutDedicatedIpWarmupAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutDedicatedIpWarmupAttributesCommand( input, @@ -80,7 +80,7 @@ export class PutDedicatedIpWarmupAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutDedicatedIpWarmupAttributesCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts b/clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts index 11fa72b15e05..594761a988b0 100644 --- a/clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts +++ b/clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDeliverabilityDashboardOptionCommandInput = PutDeliverabilityDashboardOptionRequest; @@ -70,7 +70,7 @@ export class PutDeliverabilityDashboardOptionCommand extends $Command< private serialize( input: PutDeliverabilityDashboardOptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutDeliverabilityDashboardOptionCommand( input, @@ -80,7 +80,7 @@ export class PutDeliverabilityDashboardOptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutDeliverabilityDashboardOptionCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts index 7718c6fd018a..338873331683 100644 --- a/clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEmailIdentityDkimAttributesCommandInput = PutEmailIdentityDkimAttributesRequest; @@ -70,7 +70,7 @@ export class PutEmailIdentityDkimAttributesCommand extends $Command< private serialize( input: PutEmailIdentityDkimAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEmailIdentityDkimAttributesCommand( input, @@ -80,7 +80,7 @@ export class PutEmailIdentityDkimAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEmailIdentityDkimAttributesCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts index 996e1c09d507..8469eff190f3 100644 --- a/clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEmailIdentityFeedbackAttributesCommandInput = PutEmailIdentityFeedbackAttributesRequest; @@ -70,7 +70,7 @@ export class PutEmailIdentityFeedbackAttributesCommand extends $Command< private serialize( input: PutEmailIdentityFeedbackAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEmailIdentityFeedbackAttributesCommand( input, @@ -80,7 +80,7 @@ export class PutEmailIdentityFeedbackAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEmailIdentityFeedbackAttributesCommand( output, diff --git a/clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts index c56b0badc48b..4d251804fc60 100644 --- a/clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEmailIdentityMailFromAttributesCommandInput = PutEmailIdentityMailFromAttributesRequest; @@ -70,7 +70,7 @@ export class PutEmailIdentityMailFromAttributesCommand extends $Command< private serialize( input: PutEmailIdentityMailFromAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEmailIdentityMailFromAttributesCommand( input, @@ -80,7 +80,7 @@ export class PutEmailIdentityMailFromAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEmailIdentityMailFromAttributesCommand( output, diff --git a/clients/client-pinpoint-email/commands/SendEmailCommand.ts b/clients/client-pinpoint-email/commands/SendEmailCommand.ts index dbbc15f6d5b8..9f14772431d5 100644 --- a/clients/client-pinpoint-email/commands/SendEmailCommand.ts +++ b/clients/client-pinpoint-email/commands/SendEmailCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendEmailCommandInput = SendEmailRequest; @@ -64,14 +64,14 @@ export class SendEmailCommand extends $Command< private serialize( input: SendEmailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SendEmailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SendEmailCommand(output, context); } diff --git a/clients/client-pinpoint-email/commands/TagResourceCommand.ts b/clients/client-pinpoint-email/commands/TagResourceCommand.ts index fa84c85b47de..ea0710a8286d 100644 --- a/clients/client-pinpoint-email/commands/TagResourceCommand.ts +++ b/clients/client-pinpoint-email/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-pinpoint-email/commands/UntagResourceCommand.ts b/clients/client-pinpoint-email/commands/UntagResourceCommand.ts index 02acc5c1bfd8..fe2a4a080ff6 100644 --- a/clients/client-pinpoint-email/commands/UntagResourceCommand.ts +++ b/clients/client-pinpoint-email/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts index b907e015ed1c..cca1ddba29a8 100644 --- a/clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConfigurationSetEventDestinationCommandInput = UpdateConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< private serialize( input: UpdateConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-pinpoint-email/protocols/Aws_restJson1_1.ts b/clients/client-pinpoint-email/protocols/Aws_restJson1_1.ts index 1d180825f3a3..0414c7cd328b 100644 --- a/clients/client-pinpoint-email/protocols/Aws_restJson1_1.ts +++ b/clients/client-pinpoint-email/protocols/Aws_restJson1_1.ts @@ -6398,6 +6398,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetCommand.ts b/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetCommand.ts index 8d0fccdafe7c..8ccddea5e180 100644 --- a/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationSetCommandInput = CreateConfigurationSetRequest; @@ -70,7 +70,7 @@ export class CreateConfigurationSetCommand extends $Command< private serialize( input: CreateConfigurationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConfigurationSetCommand( input, @@ -80,7 +80,7 @@ export class CreateConfigurationSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConfigurationSetCommand( output, diff --git a/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetEventDestinationCommand.ts index ca01e0702c4c..b4c16c533040 100644 --- a/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationSetEventDestinationCommandInput = CreateConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< private serialize( input: CreateConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetCommand.ts b/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetCommand.ts index f34d3158964f..120cd3c01513 100644 --- a/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationSetCommandInput = DeleteConfigurationSetRequest; @@ -70,7 +70,7 @@ export class DeleteConfigurationSetCommand extends $Command< private serialize( input: DeleteConfigurationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteConfigurationSetCommand( input, @@ -80,7 +80,7 @@ export class DeleteConfigurationSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteConfigurationSetCommand( output, diff --git a/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetEventDestinationCommand.ts index 105d347c2848..e19b4f91fae7 100644 --- a/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationSetEventDestinationCommandInput = DeleteConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< private serialize( input: DeleteConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-pinpoint-sms-voice/commands/GetConfigurationSetEventDestinationsCommand.ts b/clients/client-pinpoint-sms-voice/commands/GetConfigurationSetEventDestinationsCommand.ts index 71a50cd64a38..5a584df794cc 100644 --- a/clients/client-pinpoint-sms-voice/commands/GetConfigurationSetEventDestinationsCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/GetConfigurationSetEventDestinationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConfigurationSetEventDestinationsCommandInput = GetConfigurationSetEventDestinationsRequest; @@ -72,7 +72,7 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< private serialize( input: GetConfigurationSetEventDestinationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConfigurationSetEventDestinationsCommand( input, @@ -82,7 +82,7 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConfigurationSetEventDestinationsCommand( output, diff --git a/clients/client-pinpoint-sms-voice/commands/ListConfigurationSetsCommand.ts b/clients/client-pinpoint-sms-voice/commands/ListConfigurationSetsCommand.ts index 93e5c17d739e..fd0222072e7d 100644 --- a/clients/client-pinpoint-sms-voice/commands/ListConfigurationSetsCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/ListConfigurationSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigurationSetsCommandInput = ListConfigurationSetsRequest; @@ -70,14 +70,14 @@ export class ListConfigurationSetsCommand extends $Command< private serialize( input: ListConfigurationSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListConfigurationSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListConfigurationSetsCommand( output, diff --git a/clients/client-pinpoint-sms-voice/commands/SendVoiceMessageCommand.ts b/clients/client-pinpoint-sms-voice/commands/SendVoiceMessageCommand.ts index 2eb4f36fbbf0..a5349c72b50e 100644 --- a/clients/client-pinpoint-sms-voice/commands/SendVoiceMessageCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/SendVoiceMessageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendVoiceMessageCommandInput = SendVoiceMessageRequest; @@ -67,14 +67,14 @@ export class SendVoiceMessageCommand extends $Command< private serialize( input: SendVoiceMessageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SendVoiceMessageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SendVoiceMessageCommand(output, context); } diff --git a/clients/client-pinpoint-sms-voice/commands/UpdateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-sms-voice/commands/UpdateConfigurationSetEventDestinationCommand.ts index 151becf746c1..af87ed7847d2 100644 --- a/clients/client-pinpoint-sms-voice/commands/UpdateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/UpdateConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConfigurationSetEventDestinationCommandInput = UpdateConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< private serialize( input: UpdateConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-pinpoint-sms-voice/protocols/Aws_restJson1_1.ts b/clients/client-pinpoint-sms-voice/protocols/Aws_restJson1_1.ts index 049a14ed558e..5523c9af76aa 100644 --- a/clients/client-pinpoint-sms-voice/protocols/Aws_restJson1_1.ts +++ b/clients/client-pinpoint-sms-voice/protocols/Aws_restJson1_1.ts @@ -1392,6 +1392,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-pinpoint/commands/CreateAppCommand.ts b/clients/client-pinpoint/commands/CreateAppCommand.ts index 2922d35b4355..dfa053c432be 100644 --- a/clients/client-pinpoint/commands/CreateAppCommand.ts +++ b/clients/client-pinpoint/commands/CreateAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAppCommandInput = CreateAppRequest; @@ -64,14 +64,14 @@ export class CreateAppCommand extends $Command< private serialize( input: CreateAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateAppCommand(output, context); } diff --git a/clients/client-pinpoint/commands/CreateCampaignCommand.ts b/clients/client-pinpoint/commands/CreateCampaignCommand.ts index a0f75b36abe2..c5e4d00ea35d 100644 --- a/clients/client-pinpoint/commands/CreateCampaignCommand.ts +++ b/clients/client-pinpoint/commands/CreateCampaignCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCampaignCommandInput = CreateCampaignRequest; @@ -64,14 +64,14 @@ export class CreateCampaignCommand extends $Command< private serialize( input: CreateCampaignCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateCampaignCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateCampaignCommand(output, context); } diff --git a/clients/client-pinpoint/commands/CreateEmailTemplateCommand.ts b/clients/client-pinpoint/commands/CreateEmailTemplateCommand.ts index de1b58caa0a4..860481772bec 100644 --- a/clients/client-pinpoint/commands/CreateEmailTemplateCommand.ts +++ b/clients/client-pinpoint/commands/CreateEmailTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEmailTemplateCommandInput = CreateEmailTemplateRequest; @@ -70,14 +70,14 @@ export class CreateEmailTemplateCommand extends $Command< private serialize( input: CreateEmailTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateEmailTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateEmailTemplateCommand( output, diff --git a/clients/client-pinpoint/commands/CreateExportJobCommand.ts b/clients/client-pinpoint/commands/CreateExportJobCommand.ts index 23a097f44067..3a319c66d399 100644 --- a/clients/client-pinpoint/commands/CreateExportJobCommand.ts +++ b/clients/client-pinpoint/commands/CreateExportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateExportJobCommandInput = CreateExportJobRequest; @@ -67,14 +67,14 @@ export class CreateExportJobCommand extends $Command< private serialize( input: CreateExportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateExportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateExportJobCommand(output, context); } diff --git a/clients/client-pinpoint/commands/CreateImportJobCommand.ts b/clients/client-pinpoint/commands/CreateImportJobCommand.ts index 4dd48fd6c020..372abb2a766a 100644 --- a/clients/client-pinpoint/commands/CreateImportJobCommand.ts +++ b/clients/client-pinpoint/commands/CreateImportJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateImportJobCommandInput = CreateImportJobRequest; @@ -67,14 +67,14 @@ export class CreateImportJobCommand extends $Command< private serialize( input: CreateImportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateImportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateImportJobCommand(output, context); } diff --git a/clients/client-pinpoint/commands/CreateJourneyCommand.ts b/clients/client-pinpoint/commands/CreateJourneyCommand.ts index 1ea4d9752a31..5f69baaf81f4 100644 --- a/clients/client-pinpoint/commands/CreateJourneyCommand.ts +++ b/clients/client-pinpoint/commands/CreateJourneyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateJourneyCommandInput = CreateJourneyRequest; @@ -64,14 +64,14 @@ export class CreateJourneyCommand extends $Command< private serialize( input: CreateJourneyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateJourneyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateJourneyCommand(output, context); } diff --git a/clients/client-pinpoint/commands/CreatePushTemplateCommand.ts b/clients/client-pinpoint/commands/CreatePushTemplateCommand.ts index 3a121ea5fb40..79e8b75428b5 100644 --- a/clients/client-pinpoint/commands/CreatePushTemplateCommand.ts +++ b/clients/client-pinpoint/commands/CreatePushTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePushTemplateCommandInput = CreatePushTemplateRequest; @@ -67,14 +67,14 @@ export class CreatePushTemplateCommand extends $Command< private serialize( input: CreatePushTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreatePushTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreatePushTemplateCommand(output, context); } diff --git a/clients/client-pinpoint/commands/CreateSegmentCommand.ts b/clients/client-pinpoint/commands/CreateSegmentCommand.ts index 82153b1f0690..7e4f4d288ab7 100644 --- a/clients/client-pinpoint/commands/CreateSegmentCommand.ts +++ b/clients/client-pinpoint/commands/CreateSegmentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSegmentCommandInput = CreateSegmentRequest; @@ -64,14 +64,14 @@ export class CreateSegmentCommand extends $Command< private serialize( input: CreateSegmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSegmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSegmentCommand(output, context); } diff --git a/clients/client-pinpoint/commands/CreateSmsTemplateCommand.ts b/clients/client-pinpoint/commands/CreateSmsTemplateCommand.ts index b866a7425cfd..41bf4a372290 100644 --- a/clients/client-pinpoint/commands/CreateSmsTemplateCommand.ts +++ b/clients/client-pinpoint/commands/CreateSmsTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSmsTemplateCommandInput = CreateSmsTemplateRequest; @@ -67,14 +67,14 @@ export class CreateSmsTemplateCommand extends $Command< private serialize( input: CreateSmsTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSmsTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSmsTemplateCommand(output, context); } diff --git a/clients/client-pinpoint/commands/CreateVoiceTemplateCommand.ts b/clients/client-pinpoint/commands/CreateVoiceTemplateCommand.ts index e3d40c6b1740..97e7b414ec13 100644 --- a/clients/client-pinpoint/commands/CreateVoiceTemplateCommand.ts +++ b/clients/client-pinpoint/commands/CreateVoiceTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVoiceTemplateCommandInput = CreateVoiceTemplateRequest; @@ -70,14 +70,14 @@ export class CreateVoiceTemplateCommand extends $Command< private serialize( input: CreateVoiceTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateVoiceTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateVoiceTemplateCommand( output, diff --git a/clients/client-pinpoint/commands/DeleteAdmChannelCommand.ts b/clients/client-pinpoint/commands/DeleteAdmChannelCommand.ts index a88da74f2cde..bbcb4f8f209e 100644 --- a/clients/client-pinpoint/commands/DeleteAdmChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteAdmChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAdmChannelCommandInput = DeleteAdmChannelRequest; @@ -67,14 +67,14 @@ export class DeleteAdmChannelCommand extends $Command< private serialize( input: DeleteAdmChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAdmChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAdmChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteApnsChannelCommand.ts b/clients/client-pinpoint/commands/DeleteApnsChannelCommand.ts index 250a94b3055e..cc2f148e269b 100644 --- a/clients/client-pinpoint/commands/DeleteApnsChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteApnsChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApnsChannelCommandInput = DeleteApnsChannelRequest; @@ -67,14 +67,14 @@ export class DeleteApnsChannelCommand extends $Command< private serialize( input: DeleteApnsChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteApnsChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteApnsChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteApnsSandboxChannelCommand.ts b/clients/client-pinpoint/commands/DeleteApnsSandboxChannelCommand.ts index ba937e57fbf4..ae0efbcc8d30 100644 --- a/clients/client-pinpoint/commands/DeleteApnsSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteApnsSandboxChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApnsSandboxChannelCommandInput = DeleteApnsSandboxChannelRequest; @@ -70,7 +70,7 @@ export class DeleteApnsSandboxChannelCommand extends $Command< private serialize( input: DeleteApnsSandboxChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteApnsSandboxChannelCommand( input, @@ -80,7 +80,7 @@ export class DeleteApnsSandboxChannelCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteApnsSandboxChannelCommand( output, diff --git a/clients/client-pinpoint/commands/DeleteApnsVoipChannelCommand.ts b/clients/client-pinpoint/commands/DeleteApnsVoipChannelCommand.ts index 64f1ffc64152..d6732e00cc43 100644 --- a/clients/client-pinpoint/commands/DeleteApnsVoipChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteApnsVoipChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApnsVoipChannelCommandInput = DeleteApnsVoipChannelRequest; @@ -70,14 +70,14 @@ export class DeleteApnsVoipChannelCommand extends $Command< private serialize( input: DeleteApnsVoipChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteApnsVoipChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteApnsVoipChannelCommand( output, diff --git a/clients/client-pinpoint/commands/DeleteApnsVoipSandboxChannelCommand.ts b/clients/client-pinpoint/commands/DeleteApnsVoipSandboxChannelCommand.ts index 817295d6b46e..ff411e1d516a 100644 --- a/clients/client-pinpoint/commands/DeleteApnsVoipSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteApnsVoipSandboxChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApnsVoipSandboxChannelCommandInput = DeleteApnsVoipSandboxChannelRequest; @@ -70,7 +70,7 @@ export class DeleteApnsVoipSandboxChannelCommand extends $Command< private serialize( input: DeleteApnsVoipSandboxChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteApnsVoipSandboxChannelCommand( input, @@ -80,7 +80,7 @@ export class DeleteApnsVoipSandboxChannelCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteApnsVoipSandboxChannelCommand( output, diff --git a/clients/client-pinpoint/commands/DeleteAppCommand.ts b/clients/client-pinpoint/commands/DeleteAppCommand.ts index 6cf356324787..25e78dec1a7e 100644 --- a/clients/client-pinpoint/commands/DeleteAppCommand.ts +++ b/clients/client-pinpoint/commands/DeleteAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAppCommandInput = DeleteAppRequest; @@ -64,14 +64,14 @@ export class DeleteAppCommand extends $Command< private serialize( input: DeleteAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteAppCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteBaiduChannelCommand.ts b/clients/client-pinpoint/commands/DeleteBaiduChannelCommand.ts index ddba65c0fa3a..93547ec5718b 100644 --- a/clients/client-pinpoint/commands/DeleteBaiduChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteBaiduChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBaiduChannelCommandInput = DeleteBaiduChannelRequest; @@ -67,14 +67,14 @@ export class DeleteBaiduChannelCommand extends $Command< private serialize( input: DeleteBaiduChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteBaiduChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteBaiduChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteCampaignCommand.ts b/clients/client-pinpoint/commands/DeleteCampaignCommand.ts index ad4a70d75748..fd64c67fc827 100644 --- a/clients/client-pinpoint/commands/DeleteCampaignCommand.ts +++ b/clients/client-pinpoint/commands/DeleteCampaignCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCampaignCommandInput = DeleteCampaignRequest; @@ -64,14 +64,14 @@ export class DeleteCampaignCommand extends $Command< private serialize( input: DeleteCampaignCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteCampaignCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteCampaignCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteEmailChannelCommand.ts b/clients/client-pinpoint/commands/DeleteEmailChannelCommand.ts index d6560f52f454..1b0dd8245509 100644 --- a/clients/client-pinpoint/commands/DeleteEmailChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteEmailChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEmailChannelCommandInput = DeleteEmailChannelRequest; @@ -67,14 +67,14 @@ export class DeleteEmailChannelCommand extends $Command< private serialize( input: DeleteEmailChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteEmailChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteEmailChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteEmailTemplateCommand.ts b/clients/client-pinpoint/commands/DeleteEmailTemplateCommand.ts index 257e0fdfb3b0..a288347a37a4 100644 --- a/clients/client-pinpoint/commands/DeleteEmailTemplateCommand.ts +++ b/clients/client-pinpoint/commands/DeleteEmailTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEmailTemplateCommandInput = DeleteEmailTemplateRequest; @@ -70,14 +70,14 @@ export class DeleteEmailTemplateCommand extends $Command< private serialize( input: DeleteEmailTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteEmailTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteEmailTemplateCommand( output, diff --git a/clients/client-pinpoint/commands/DeleteEndpointCommand.ts b/clients/client-pinpoint/commands/DeleteEndpointCommand.ts index c87b2cea2684..50881e194b0d 100644 --- a/clients/client-pinpoint/commands/DeleteEndpointCommand.ts +++ b/clients/client-pinpoint/commands/DeleteEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEndpointCommandInput = DeleteEndpointRequest; @@ -64,14 +64,14 @@ export class DeleteEndpointCommand extends $Command< private serialize( input: DeleteEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteEndpointCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteEventStreamCommand.ts b/clients/client-pinpoint/commands/DeleteEventStreamCommand.ts index d65aaa3037d0..c2de5d5534f9 100644 --- a/clients/client-pinpoint/commands/DeleteEventStreamCommand.ts +++ b/clients/client-pinpoint/commands/DeleteEventStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEventStreamCommandInput = DeleteEventStreamRequest; @@ -67,14 +67,14 @@ export class DeleteEventStreamCommand extends $Command< private serialize( input: DeleteEventStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteEventStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteEventStreamCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteGcmChannelCommand.ts b/clients/client-pinpoint/commands/DeleteGcmChannelCommand.ts index 3a2d7e846c2f..e6ec377e9464 100644 --- a/clients/client-pinpoint/commands/DeleteGcmChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteGcmChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGcmChannelCommandInput = DeleteGcmChannelRequest; @@ -67,14 +67,14 @@ export class DeleteGcmChannelCommand extends $Command< private serialize( input: DeleteGcmChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteGcmChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteGcmChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteJourneyCommand.ts b/clients/client-pinpoint/commands/DeleteJourneyCommand.ts index 60c61c0a1aac..4b88b5fcb3ba 100644 --- a/clients/client-pinpoint/commands/DeleteJourneyCommand.ts +++ b/clients/client-pinpoint/commands/DeleteJourneyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteJourneyCommandInput = DeleteJourneyRequest; @@ -64,14 +64,14 @@ export class DeleteJourneyCommand extends $Command< private serialize( input: DeleteJourneyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteJourneyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteJourneyCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeletePushTemplateCommand.ts b/clients/client-pinpoint/commands/DeletePushTemplateCommand.ts index d8a0ed104770..f7a429867b28 100644 --- a/clients/client-pinpoint/commands/DeletePushTemplateCommand.ts +++ b/clients/client-pinpoint/commands/DeletePushTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePushTemplateCommandInput = DeletePushTemplateRequest; @@ -67,14 +67,14 @@ export class DeletePushTemplateCommand extends $Command< private serialize( input: DeletePushTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeletePushTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeletePushTemplateCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteSegmentCommand.ts b/clients/client-pinpoint/commands/DeleteSegmentCommand.ts index 66719bd298c6..b7d0896573ac 100644 --- a/clients/client-pinpoint/commands/DeleteSegmentCommand.ts +++ b/clients/client-pinpoint/commands/DeleteSegmentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSegmentCommandInput = DeleteSegmentRequest; @@ -64,14 +64,14 @@ export class DeleteSegmentCommand extends $Command< private serialize( input: DeleteSegmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSegmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSegmentCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteSmsChannelCommand.ts b/clients/client-pinpoint/commands/DeleteSmsChannelCommand.ts index f1bc2d05e9ea..a1810c1940df 100644 --- a/clients/client-pinpoint/commands/DeleteSmsChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteSmsChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSmsChannelCommandInput = DeleteSmsChannelRequest; @@ -67,14 +67,14 @@ export class DeleteSmsChannelCommand extends $Command< private serialize( input: DeleteSmsChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSmsChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSmsChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteSmsTemplateCommand.ts b/clients/client-pinpoint/commands/DeleteSmsTemplateCommand.ts index 769baafe21c4..962dd4c1114e 100644 --- a/clients/client-pinpoint/commands/DeleteSmsTemplateCommand.ts +++ b/clients/client-pinpoint/commands/DeleteSmsTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSmsTemplateCommandInput = DeleteSmsTemplateRequest; @@ -67,14 +67,14 @@ export class DeleteSmsTemplateCommand extends $Command< private serialize( input: DeleteSmsTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSmsTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSmsTemplateCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteUserEndpointsCommand.ts b/clients/client-pinpoint/commands/DeleteUserEndpointsCommand.ts index f9e1fa3e586c..28b5c1e1652d 100644 --- a/clients/client-pinpoint/commands/DeleteUserEndpointsCommand.ts +++ b/clients/client-pinpoint/commands/DeleteUserEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserEndpointsCommandInput = DeleteUserEndpointsRequest; @@ -70,14 +70,14 @@ export class DeleteUserEndpointsCommand extends $Command< private serialize( input: DeleteUserEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteUserEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteUserEndpointsCommand( output, diff --git a/clients/client-pinpoint/commands/DeleteVoiceChannelCommand.ts b/clients/client-pinpoint/commands/DeleteVoiceChannelCommand.ts index 74066896d07d..3e8726e43154 100644 --- a/clients/client-pinpoint/commands/DeleteVoiceChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteVoiceChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVoiceChannelCommandInput = DeleteVoiceChannelRequest; @@ -67,14 +67,14 @@ export class DeleteVoiceChannelCommand extends $Command< private serialize( input: DeleteVoiceChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVoiceChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVoiceChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/DeleteVoiceTemplateCommand.ts b/clients/client-pinpoint/commands/DeleteVoiceTemplateCommand.ts index 6d6f20080b41..dc406c855ede 100644 --- a/clients/client-pinpoint/commands/DeleteVoiceTemplateCommand.ts +++ b/clients/client-pinpoint/commands/DeleteVoiceTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVoiceTemplateCommandInput = DeleteVoiceTemplateRequest; @@ -70,14 +70,14 @@ export class DeleteVoiceTemplateCommand extends $Command< private serialize( input: DeleteVoiceTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteVoiceTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteVoiceTemplateCommand( output, diff --git a/clients/client-pinpoint/commands/GetAdmChannelCommand.ts b/clients/client-pinpoint/commands/GetAdmChannelCommand.ts index c961e28aaedf..4164dc862a6f 100644 --- a/clients/client-pinpoint/commands/GetAdmChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetAdmChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAdmChannelCommandInput = GetAdmChannelRequest; @@ -64,14 +64,14 @@ export class GetAdmChannelCommand extends $Command< private serialize( input: GetAdmChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAdmChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAdmChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetApnsChannelCommand.ts b/clients/client-pinpoint/commands/GetApnsChannelCommand.ts index eb881c6f78be..d4d496e41675 100644 --- a/clients/client-pinpoint/commands/GetApnsChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetApnsChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApnsChannelCommandInput = GetApnsChannelRequest; @@ -64,14 +64,14 @@ export class GetApnsChannelCommand extends $Command< private serialize( input: GetApnsChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApnsChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApnsChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetApnsSandboxChannelCommand.ts b/clients/client-pinpoint/commands/GetApnsSandboxChannelCommand.ts index e999a5e8f1ac..d3aab18a7f9d 100644 --- a/clients/client-pinpoint/commands/GetApnsSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetApnsSandboxChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApnsSandboxChannelCommandInput = GetApnsSandboxChannelRequest; @@ -70,14 +70,14 @@ export class GetApnsSandboxChannelCommand extends $Command< private serialize( input: GetApnsSandboxChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApnsSandboxChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApnsSandboxChannelCommand( output, diff --git a/clients/client-pinpoint/commands/GetApnsVoipChannelCommand.ts b/clients/client-pinpoint/commands/GetApnsVoipChannelCommand.ts index 118af98d2b79..038bd4a684d3 100644 --- a/clients/client-pinpoint/commands/GetApnsVoipChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetApnsVoipChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApnsVoipChannelCommandInput = GetApnsVoipChannelRequest; @@ -67,14 +67,14 @@ export class GetApnsVoipChannelCommand extends $Command< private serialize( input: GetApnsVoipChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApnsVoipChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApnsVoipChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetApnsVoipSandboxChannelCommand.ts b/clients/client-pinpoint/commands/GetApnsVoipSandboxChannelCommand.ts index 97d9dd51cbf1..81b51eebe2e0 100644 --- a/clients/client-pinpoint/commands/GetApnsVoipSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetApnsVoipSandboxChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApnsVoipSandboxChannelCommandInput = GetApnsVoipSandboxChannelRequest; @@ -70,7 +70,7 @@ export class GetApnsVoipSandboxChannelCommand extends $Command< private serialize( input: GetApnsVoipSandboxChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApnsVoipSandboxChannelCommand( input, @@ -80,7 +80,7 @@ export class GetApnsVoipSandboxChannelCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApnsVoipSandboxChannelCommand( output, diff --git a/clients/client-pinpoint/commands/GetAppCommand.ts b/clients/client-pinpoint/commands/GetAppCommand.ts index a3e09e7abc2b..0a344dcd1136 100644 --- a/clients/client-pinpoint/commands/GetAppCommand.ts +++ b/clients/client-pinpoint/commands/GetAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAppCommandInput = GetAppRequest; @@ -64,14 +64,14 @@ export class GetAppCommand extends $Command< private serialize( input: GetAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAppCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetApplicationDateRangeKpiCommand.ts b/clients/client-pinpoint/commands/GetApplicationDateRangeKpiCommand.ts index abf2c309be93..d9bbf9a13e60 100644 --- a/clients/client-pinpoint/commands/GetApplicationDateRangeKpiCommand.ts +++ b/clients/client-pinpoint/commands/GetApplicationDateRangeKpiCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApplicationDateRangeKpiCommandInput = GetApplicationDateRangeKpiRequest; @@ -70,7 +70,7 @@ export class GetApplicationDateRangeKpiCommand extends $Command< private serialize( input: GetApplicationDateRangeKpiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApplicationDateRangeKpiCommand( input, @@ -80,7 +80,7 @@ export class GetApplicationDateRangeKpiCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApplicationDateRangeKpiCommand( output, diff --git a/clients/client-pinpoint/commands/GetApplicationSettingsCommand.ts b/clients/client-pinpoint/commands/GetApplicationSettingsCommand.ts index ad5c263d5431..f977985e144a 100644 --- a/clients/client-pinpoint/commands/GetApplicationSettingsCommand.ts +++ b/clients/client-pinpoint/commands/GetApplicationSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApplicationSettingsCommandInput = GetApplicationSettingsRequest; @@ -70,7 +70,7 @@ export class GetApplicationSettingsCommand extends $Command< private serialize( input: GetApplicationSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApplicationSettingsCommand( input, @@ -80,7 +80,7 @@ export class GetApplicationSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApplicationSettingsCommand( output, diff --git a/clients/client-pinpoint/commands/GetAppsCommand.ts b/clients/client-pinpoint/commands/GetAppsCommand.ts index acc549284c57..170c45e89b7b 100644 --- a/clients/client-pinpoint/commands/GetAppsCommand.ts +++ b/clients/client-pinpoint/commands/GetAppsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAppsCommandInput = GetAppsRequest; @@ -64,14 +64,14 @@ export class GetAppsCommand extends $Command< private serialize( input: GetAppsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAppsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAppsCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetBaiduChannelCommand.ts b/clients/client-pinpoint/commands/GetBaiduChannelCommand.ts index a6c3c90436a8..44399ed162e9 100644 --- a/clients/client-pinpoint/commands/GetBaiduChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetBaiduChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBaiduChannelCommandInput = GetBaiduChannelRequest; @@ -67,14 +67,14 @@ export class GetBaiduChannelCommand extends $Command< private serialize( input: GetBaiduChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBaiduChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBaiduChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetCampaignActivitiesCommand.ts b/clients/client-pinpoint/commands/GetCampaignActivitiesCommand.ts index 4f5e3f630ce5..be899faf6a30 100644 --- a/clients/client-pinpoint/commands/GetCampaignActivitiesCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignActivitiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCampaignActivitiesCommandInput = GetCampaignActivitiesRequest; @@ -70,14 +70,14 @@ export class GetCampaignActivitiesCommand extends $Command< private serialize( input: GetCampaignActivitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCampaignActivitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCampaignActivitiesCommand( output, diff --git a/clients/client-pinpoint/commands/GetCampaignCommand.ts b/clients/client-pinpoint/commands/GetCampaignCommand.ts index c841ca1a9e8b..2de6976443b0 100644 --- a/clients/client-pinpoint/commands/GetCampaignCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCampaignCommandInput = GetCampaignRequest; @@ -64,14 +64,14 @@ export class GetCampaignCommand extends $Command< private serialize( input: GetCampaignCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCampaignCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCampaignCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetCampaignDateRangeKpiCommand.ts b/clients/client-pinpoint/commands/GetCampaignDateRangeKpiCommand.ts index 613fdd121a77..b44d4f5ab724 100644 --- a/clients/client-pinpoint/commands/GetCampaignDateRangeKpiCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignDateRangeKpiCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCampaignDateRangeKpiCommandInput = GetCampaignDateRangeKpiRequest; @@ -70,7 +70,7 @@ export class GetCampaignDateRangeKpiCommand extends $Command< private serialize( input: GetCampaignDateRangeKpiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCampaignDateRangeKpiCommand( input, @@ -80,7 +80,7 @@ export class GetCampaignDateRangeKpiCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCampaignDateRangeKpiCommand( output, diff --git a/clients/client-pinpoint/commands/GetCampaignVersionCommand.ts b/clients/client-pinpoint/commands/GetCampaignVersionCommand.ts index 665ba9ec0b18..2ab33edeeda4 100644 --- a/clients/client-pinpoint/commands/GetCampaignVersionCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCampaignVersionCommandInput = GetCampaignVersionRequest; @@ -67,14 +67,14 @@ export class GetCampaignVersionCommand extends $Command< private serialize( input: GetCampaignVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCampaignVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCampaignVersionCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetCampaignVersionsCommand.ts b/clients/client-pinpoint/commands/GetCampaignVersionsCommand.ts index 4502ef1cd436..40b7297b1ad9 100644 --- a/clients/client-pinpoint/commands/GetCampaignVersionsCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCampaignVersionsCommandInput = GetCampaignVersionsRequest; @@ -70,14 +70,14 @@ export class GetCampaignVersionsCommand extends $Command< private serialize( input: GetCampaignVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCampaignVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCampaignVersionsCommand( output, diff --git a/clients/client-pinpoint/commands/GetCampaignsCommand.ts b/clients/client-pinpoint/commands/GetCampaignsCommand.ts index a57870d46885..1e44e32c64d3 100644 --- a/clients/client-pinpoint/commands/GetCampaignsCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCampaignsCommandInput = GetCampaignsRequest; @@ -64,14 +64,14 @@ export class GetCampaignsCommand extends $Command< private serialize( input: GetCampaignsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCampaignsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCampaignsCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetChannelsCommand.ts b/clients/client-pinpoint/commands/GetChannelsCommand.ts index 8037d0498197..f395913dd798 100644 --- a/clients/client-pinpoint/commands/GetChannelsCommand.ts +++ b/clients/client-pinpoint/commands/GetChannelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetChannelsCommandInput = GetChannelsRequest; @@ -64,14 +64,14 @@ export class GetChannelsCommand extends $Command< private serialize( input: GetChannelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetChannelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetChannelsCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetEmailChannelCommand.ts b/clients/client-pinpoint/commands/GetEmailChannelCommand.ts index eaaefd55d1af..3a13141450c4 100644 --- a/clients/client-pinpoint/commands/GetEmailChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetEmailChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEmailChannelCommandInput = GetEmailChannelRequest; @@ -67,14 +67,14 @@ export class GetEmailChannelCommand extends $Command< private serialize( input: GetEmailChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEmailChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEmailChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetEmailTemplateCommand.ts b/clients/client-pinpoint/commands/GetEmailTemplateCommand.ts index 2138aa94222f..7ae46d625303 100644 --- a/clients/client-pinpoint/commands/GetEmailTemplateCommand.ts +++ b/clients/client-pinpoint/commands/GetEmailTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEmailTemplateCommandInput = GetEmailTemplateRequest; @@ -67,14 +67,14 @@ export class GetEmailTemplateCommand extends $Command< private serialize( input: GetEmailTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEmailTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEmailTemplateCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetEndpointCommand.ts b/clients/client-pinpoint/commands/GetEndpointCommand.ts index a50af13538f1..bb657e9c5599 100644 --- a/clients/client-pinpoint/commands/GetEndpointCommand.ts +++ b/clients/client-pinpoint/commands/GetEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEndpointCommandInput = GetEndpointRequest; @@ -64,14 +64,14 @@ export class GetEndpointCommand extends $Command< private serialize( input: GetEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEndpointCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetEventStreamCommand.ts b/clients/client-pinpoint/commands/GetEventStreamCommand.ts index 6c2f37f5462e..fe1a5aed54c7 100644 --- a/clients/client-pinpoint/commands/GetEventStreamCommand.ts +++ b/clients/client-pinpoint/commands/GetEventStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEventStreamCommandInput = GetEventStreamRequest; @@ -64,14 +64,14 @@ export class GetEventStreamCommand extends $Command< private serialize( input: GetEventStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEventStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEventStreamCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetExportJobCommand.ts b/clients/client-pinpoint/commands/GetExportJobCommand.ts index 16bbbeffda45..3a7e47ed8514 100644 --- a/clients/client-pinpoint/commands/GetExportJobCommand.ts +++ b/clients/client-pinpoint/commands/GetExportJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetExportJobCommandInput = GetExportJobRequest; @@ -64,14 +64,14 @@ export class GetExportJobCommand extends $Command< private serialize( input: GetExportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetExportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetExportJobCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetExportJobsCommand.ts b/clients/client-pinpoint/commands/GetExportJobsCommand.ts index 543fd182ff94..20d6b36cce8d 100644 --- a/clients/client-pinpoint/commands/GetExportJobsCommand.ts +++ b/clients/client-pinpoint/commands/GetExportJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetExportJobsCommandInput = GetExportJobsRequest; @@ -64,14 +64,14 @@ export class GetExportJobsCommand extends $Command< private serialize( input: GetExportJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetExportJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetExportJobsCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetGcmChannelCommand.ts b/clients/client-pinpoint/commands/GetGcmChannelCommand.ts index 14eef1c27691..44a8f52f8395 100644 --- a/clients/client-pinpoint/commands/GetGcmChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetGcmChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGcmChannelCommandInput = GetGcmChannelRequest; @@ -64,14 +64,14 @@ export class GetGcmChannelCommand extends $Command< private serialize( input: GetGcmChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGcmChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGcmChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetImportJobCommand.ts b/clients/client-pinpoint/commands/GetImportJobCommand.ts index d859cd54ba20..2752bfe9f63b 100644 --- a/clients/client-pinpoint/commands/GetImportJobCommand.ts +++ b/clients/client-pinpoint/commands/GetImportJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetImportJobCommandInput = GetImportJobRequest; @@ -64,14 +64,14 @@ export class GetImportJobCommand extends $Command< private serialize( input: GetImportJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetImportJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetImportJobCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetImportJobsCommand.ts b/clients/client-pinpoint/commands/GetImportJobsCommand.ts index 28788e3e9e6d..caba23816154 100644 --- a/clients/client-pinpoint/commands/GetImportJobsCommand.ts +++ b/clients/client-pinpoint/commands/GetImportJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetImportJobsCommandInput = GetImportJobsRequest; @@ -64,14 +64,14 @@ export class GetImportJobsCommand extends $Command< private serialize( input: GetImportJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetImportJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetImportJobsCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetJourneyCommand.ts b/clients/client-pinpoint/commands/GetJourneyCommand.ts index 61e571bce4be..e2d0745553a1 100644 --- a/clients/client-pinpoint/commands/GetJourneyCommand.ts +++ b/clients/client-pinpoint/commands/GetJourneyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJourneyCommandInput = GetJourneyRequest; @@ -64,14 +64,14 @@ export class GetJourneyCommand extends $Command< private serialize( input: GetJourneyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetJourneyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetJourneyCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetJourneyDateRangeKpiCommand.ts b/clients/client-pinpoint/commands/GetJourneyDateRangeKpiCommand.ts index f18469175623..d9775f2805eb 100644 --- a/clients/client-pinpoint/commands/GetJourneyDateRangeKpiCommand.ts +++ b/clients/client-pinpoint/commands/GetJourneyDateRangeKpiCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJourneyDateRangeKpiCommandInput = GetJourneyDateRangeKpiRequest; @@ -70,7 +70,7 @@ export class GetJourneyDateRangeKpiCommand extends $Command< private serialize( input: GetJourneyDateRangeKpiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetJourneyDateRangeKpiCommand( input, @@ -80,7 +80,7 @@ export class GetJourneyDateRangeKpiCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetJourneyDateRangeKpiCommand( output, diff --git a/clients/client-pinpoint/commands/GetJourneyExecutionActivityMetricsCommand.ts b/clients/client-pinpoint/commands/GetJourneyExecutionActivityMetricsCommand.ts index afa57532b292..0dee8329e671 100644 --- a/clients/client-pinpoint/commands/GetJourneyExecutionActivityMetricsCommand.ts +++ b/clients/client-pinpoint/commands/GetJourneyExecutionActivityMetricsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJourneyExecutionActivityMetricsCommandInput = GetJourneyExecutionActivityMetricsRequest; @@ -70,7 +70,7 @@ export class GetJourneyExecutionActivityMetricsCommand extends $Command< private serialize( input: GetJourneyExecutionActivityMetricsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetJourneyExecutionActivityMetricsCommand( input, @@ -80,7 +80,7 @@ export class GetJourneyExecutionActivityMetricsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetJourneyExecutionActivityMetricsCommand( output, diff --git a/clients/client-pinpoint/commands/GetJourneyExecutionMetricsCommand.ts b/clients/client-pinpoint/commands/GetJourneyExecutionMetricsCommand.ts index 10342721622d..74aa3222d7d7 100644 --- a/clients/client-pinpoint/commands/GetJourneyExecutionMetricsCommand.ts +++ b/clients/client-pinpoint/commands/GetJourneyExecutionMetricsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJourneyExecutionMetricsCommandInput = GetJourneyExecutionMetricsRequest; @@ -70,7 +70,7 @@ export class GetJourneyExecutionMetricsCommand extends $Command< private serialize( input: GetJourneyExecutionMetricsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetJourneyExecutionMetricsCommand( input, @@ -80,7 +80,7 @@ export class GetJourneyExecutionMetricsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetJourneyExecutionMetricsCommand( output, diff --git a/clients/client-pinpoint/commands/GetPushTemplateCommand.ts b/clients/client-pinpoint/commands/GetPushTemplateCommand.ts index baf566151295..36480c769fe9 100644 --- a/clients/client-pinpoint/commands/GetPushTemplateCommand.ts +++ b/clients/client-pinpoint/commands/GetPushTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPushTemplateCommandInput = GetPushTemplateRequest; @@ -67,14 +67,14 @@ export class GetPushTemplateCommand extends $Command< private serialize( input: GetPushTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPushTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPushTemplateCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetSegmentCommand.ts b/clients/client-pinpoint/commands/GetSegmentCommand.ts index f1a092c5ae83..bff91aeab942 100644 --- a/clients/client-pinpoint/commands/GetSegmentCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSegmentCommandInput = GetSegmentRequest; @@ -64,14 +64,14 @@ export class GetSegmentCommand extends $Command< private serialize( input: GetSegmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSegmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSegmentCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetSegmentExportJobsCommand.ts b/clients/client-pinpoint/commands/GetSegmentExportJobsCommand.ts index 176dbefbf335..98790f77c31d 100644 --- a/clients/client-pinpoint/commands/GetSegmentExportJobsCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentExportJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSegmentExportJobsCommandInput = GetSegmentExportJobsRequest; @@ -70,14 +70,14 @@ export class GetSegmentExportJobsCommand extends $Command< private serialize( input: GetSegmentExportJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSegmentExportJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSegmentExportJobsCommand( output, diff --git a/clients/client-pinpoint/commands/GetSegmentImportJobsCommand.ts b/clients/client-pinpoint/commands/GetSegmentImportJobsCommand.ts index 4f3384041e40..b185f748bdaf 100644 --- a/clients/client-pinpoint/commands/GetSegmentImportJobsCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentImportJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSegmentImportJobsCommandInput = GetSegmentImportJobsRequest; @@ -70,14 +70,14 @@ export class GetSegmentImportJobsCommand extends $Command< private serialize( input: GetSegmentImportJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSegmentImportJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSegmentImportJobsCommand( output, diff --git a/clients/client-pinpoint/commands/GetSegmentVersionCommand.ts b/clients/client-pinpoint/commands/GetSegmentVersionCommand.ts index b8b767ea0c81..38f82c97b693 100644 --- a/clients/client-pinpoint/commands/GetSegmentVersionCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSegmentVersionCommandInput = GetSegmentVersionRequest; @@ -67,14 +67,14 @@ export class GetSegmentVersionCommand extends $Command< private serialize( input: GetSegmentVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSegmentVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSegmentVersionCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetSegmentVersionsCommand.ts b/clients/client-pinpoint/commands/GetSegmentVersionsCommand.ts index 6de50027fafb..09a03766d380 100644 --- a/clients/client-pinpoint/commands/GetSegmentVersionsCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSegmentVersionsCommandInput = GetSegmentVersionsRequest; @@ -67,14 +67,14 @@ export class GetSegmentVersionsCommand extends $Command< private serialize( input: GetSegmentVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSegmentVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSegmentVersionsCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetSegmentsCommand.ts b/clients/client-pinpoint/commands/GetSegmentsCommand.ts index 84780e18b952..09f7a7ac655a 100644 --- a/clients/client-pinpoint/commands/GetSegmentsCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSegmentsCommandInput = GetSegmentsRequest; @@ -64,14 +64,14 @@ export class GetSegmentsCommand extends $Command< private serialize( input: GetSegmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSegmentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSegmentsCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetSmsChannelCommand.ts b/clients/client-pinpoint/commands/GetSmsChannelCommand.ts index 849eaf2aa370..20747b0e896b 100644 --- a/clients/client-pinpoint/commands/GetSmsChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetSmsChannelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSmsChannelCommandInput = GetSmsChannelRequest; @@ -64,14 +64,14 @@ export class GetSmsChannelCommand extends $Command< private serialize( input: GetSmsChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSmsChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSmsChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetSmsTemplateCommand.ts b/clients/client-pinpoint/commands/GetSmsTemplateCommand.ts index 50c19b4197a9..de6813f2b0de 100644 --- a/clients/client-pinpoint/commands/GetSmsTemplateCommand.ts +++ b/clients/client-pinpoint/commands/GetSmsTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSmsTemplateCommandInput = GetSmsTemplateRequest; @@ -64,14 +64,14 @@ export class GetSmsTemplateCommand extends $Command< private serialize( input: GetSmsTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSmsTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSmsTemplateCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetUserEndpointsCommand.ts b/clients/client-pinpoint/commands/GetUserEndpointsCommand.ts index f816b2fecce2..9da017cbb527 100644 --- a/clients/client-pinpoint/commands/GetUserEndpointsCommand.ts +++ b/clients/client-pinpoint/commands/GetUserEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetUserEndpointsCommandInput = GetUserEndpointsRequest; @@ -67,14 +67,14 @@ export class GetUserEndpointsCommand extends $Command< private serialize( input: GetUserEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetUserEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetUserEndpointsCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetVoiceChannelCommand.ts b/clients/client-pinpoint/commands/GetVoiceChannelCommand.ts index d0f9b3e897ba..c3400541cf18 100644 --- a/clients/client-pinpoint/commands/GetVoiceChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetVoiceChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVoiceChannelCommandInput = GetVoiceChannelRequest; @@ -67,14 +67,14 @@ export class GetVoiceChannelCommand extends $Command< private serialize( input: GetVoiceChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVoiceChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVoiceChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/GetVoiceTemplateCommand.ts b/clients/client-pinpoint/commands/GetVoiceTemplateCommand.ts index bb38e50587ea..135492a86600 100644 --- a/clients/client-pinpoint/commands/GetVoiceTemplateCommand.ts +++ b/clients/client-pinpoint/commands/GetVoiceTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVoiceTemplateCommandInput = GetVoiceTemplateRequest; @@ -67,14 +67,14 @@ export class GetVoiceTemplateCommand extends $Command< private serialize( input: GetVoiceTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetVoiceTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetVoiceTemplateCommand(output, context); } diff --git a/clients/client-pinpoint/commands/ListJourneysCommand.ts b/clients/client-pinpoint/commands/ListJourneysCommand.ts index 2fbed24ebbd8..0220f72a264d 100644 --- a/clients/client-pinpoint/commands/ListJourneysCommand.ts +++ b/clients/client-pinpoint/commands/ListJourneysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJourneysCommandInput = ListJourneysRequest; @@ -64,14 +64,14 @@ export class ListJourneysCommand extends $Command< private serialize( input: ListJourneysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJourneysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJourneysCommand(output, context); } diff --git a/clients/client-pinpoint/commands/ListTagsForResourceCommand.ts b/clients/client-pinpoint/commands/ListTagsForResourceCommand.ts index 111793b3a1cd..9cc20e1a9aa1 100644 --- a/clients/client-pinpoint/commands/ListTagsForResourceCommand.ts +++ b/clients/client-pinpoint/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-pinpoint/commands/ListTemplateVersionsCommand.ts b/clients/client-pinpoint/commands/ListTemplateVersionsCommand.ts index 5923af77ef00..08a6f79c22b2 100644 --- a/clients/client-pinpoint/commands/ListTemplateVersionsCommand.ts +++ b/clients/client-pinpoint/commands/ListTemplateVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTemplateVersionsCommandInput = ListTemplateVersionsRequest; @@ -70,14 +70,14 @@ export class ListTemplateVersionsCommand extends $Command< private serialize( input: ListTemplateVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTemplateVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTemplateVersionsCommand( output, diff --git a/clients/client-pinpoint/commands/ListTemplatesCommand.ts b/clients/client-pinpoint/commands/ListTemplatesCommand.ts index 5e11c5dcaf0a..8b0ee9a902d5 100644 --- a/clients/client-pinpoint/commands/ListTemplatesCommand.ts +++ b/clients/client-pinpoint/commands/ListTemplatesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTemplatesCommandInput = ListTemplatesRequest; @@ -64,14 +64,14 @@ export class ListTemplatesCommand extends $Command< private serialize( input: ListTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTemplatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTemplatesCommand(output, context); } diff --git a/clients/client-pinpoint/commands/PhoneNumberValidateCommand.ts b/clients/client-pinpoint/commands/PhoneNumberValidateCommand.ts index c91885efd2e8..40fca09115ed 100644 --- a/clients/client-pinpoint/commands/PhoneNumberValidateCommand.ts +++ b/clients/client-pinpoint/commands/PhoneNumberValidateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PhoneNumberValidateCommandInput = PhoneNumberValidateRequest; @@ -70,14 +70,14 @@ export class PhoneNumberValidateCommand extends $Command< private serialize( input: PhoneNumberValidateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PhoneNumberValidateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PhoneNumberValidateCommand( output, diff --git a/clients/client-pinpoint/commands/PutEventStreamCommand.ts b/clients/client-pinpoint/commands/PutEventStreamCommand.ts index 097c17be723b..590e23f214a0 100644 --- a/clients/client-pinpoint/commands/PutEventStreamCommand.ts +++ b/clients/client-pinpoint/commands/PutEventStreamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEventStreamCommandInput = PutEventStreamRequest; @@ -64,14 +64,14 @@ export class PutEventStreamCommand extends $Command< private serialize( input: PutEventStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEventStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEventStreamCommand(output, context); } diff --git a/clients/client-pinpoint/commands/PutEventsCommand.ts b/clients/client-pinpoint/commands/PutEventsCommand.ts index 2c0c5853511a..41dd12727574 100644 --- a/clients/client-pinpoint/commands/PutEventsCommand.ts +++ b/clients/client-pinpoint/commands/PutEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEventsCommandInput = PutEventsRequest; @@ -64,14 +64,14 @@ export class PutEventsCommand extends $Command< private serialize( input: PutEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEventsCommand(output, context); } diff --git a/clients/client-pinpoint/commands/RemoveAttributesCommand.ts b/clients/client-pinpoint/commands/RemoveAttributesCommand.ts index b04a2bfc7ee6..66566911e646 100644 --- a/clients/client-pinpoint/commands/RemoveAttributesCommand.ts +++ b/clients/client-pinpoint/commands/RemoveAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveAttributesCommandInput = RemoveAttributesRequest; @@ -67,14 +67,14 @@ export class RemoveAttributesCommand extends $Command< private serialize( input: RemoveAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RemoveAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RemoveAttributesCommand(output, context); } diff --git a/clients/client-pinpoint/commands/SendMessagesCommand.ts b/clients/client-pinpoint/commands/SendMessagesCommand.ts index a91e7292c31a..e2fb9339c9a4 100644 --- a/clients/client-pinpoint/commands/SendMessagesCommand.ts +++ b/clients/client-pinpoint/commands/SendMessagesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendMessagesCommandInput = SendMessagesRequest; @@ -64,14 +64,14 @@ export class SendMessagesCommand extends $Command< private serialize( input: SendMessagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SendMessagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SendMessagesCommand(output, context); } diff --git a/clients/client-pinpoint/commands/SendUsersMessagesCommand.ts b/clients/client-pinpoint/commands/SendUsersMessagesCommand.ts index d0f26485e292..bf794af02d95 100644 --- a/clients/client-pinpoint/commands/SendUsersMessagesCommand.ts +++ b/clients/client-pinpoint/commands/SendUsersMessagesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendUsersMessagesCommandInput = SendUsersMessagesRequest; @@ -67,14 +67,14 @@ export class SendUsersMessagesCommand extends $Command< private serialize( input: SendUsersMessagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SendUsersMessagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SendUsersMessagesCommand(output, context); } diff --git a/clients/client-pinpoint/commands/TagResourceCommand.ts b/clients/client-pinpoint/commands/TagResourceCommand.ts index 24212e324b5f..fedd4e0c918f 100644 --- a/clients/client-pinpoint/commands/TagResourceCommand.ts +++ b/clients/client-pinpoint/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UntagResourceCommand.ts b/clients/client-pinpoint/commands/UntagResourceCommand.ts index b394c1b04267..65091f3f647e 100644 --- a/clients/client-pinpoint/commands/UntagResourceCommand.ts +++ b/clients/client-pinpoint/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateAdmChannelCommand.ts b/clients/client-pinpoint/commands/UpdateAdmChannelCommand.ts index a0362f6494b5..78f7be004e70 100644 --- a/clients/client-pinpoint/commands/UpdateAdmChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateAdmChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAdmChannelCommandInput = UpdateAdmChannelRequest; @@ -67,14 +67,14 @@ export class UpdateAdmChannelCommand extends $Command< private serialize( input: UpdateAdmChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAdmChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAdmChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateApnsChannelCommand.ts b/clients/client-pinpoint/commands/UpdateApnsChannelCommand.ts index c36c715d546d..0058b5635112 100644 --- a/clients/client-pinpoint/commands/UpdateApnsChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateApnsChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApnsChannelCommandInput = UpdateApnsChannelRequest; @@ -67,14 +67,14 @@ export class UpdateApnsChannelCommand extends $Command< private serialize( input: UpdateApnsChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApnsChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApnsChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateApnsSandboxChannelCommand.ts b/clients/client-pinpoint/commands/UpdateApnsSandboxChannelCommand.ts index bf21c1f7cf22..fa97e8435af6 100644 --- a/clients/client-pinpoint/commands/UpdateApnsSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateApnsSandboxChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApnsSandboxChannelCommandInput = UpdateApnsSandboxChannelRequest; @@ -70,7 +70,7 @@ export class UpdateApnsSandboxChannelCommand extends $Command< private serialize( input: UpdateApnsSandboxChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApnsSandboxChannelCommand( input, @@ -80,7 +80,7 @@ export class UpdateApnsSandboxChannelCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApnsSandboxChannelCommand( output, diff --git a/clients/client-pinpoint/commands/UpdateApnsVoipChannelCommand.ts b/clients/client-pinpoint/commands/UpdateApnsVoipChannelCommand.ts index 2dc0b13fb3fc..33f74dc89533 100644 --- a/clients/client-pinpoint/commands/UpdateApnsVoipChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateApnsVoipChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApnsVoipChannelCommandInput = UpdateApnsVoipChannelRequest; @@ -70,14 +70,14 @@ export class UpdateApnsVoipChannelCommand extends $Command< private serialize( input: UpdateApnsVoipChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApnsVoipChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApnsVoipChannelCommand( output, diff --git a/clients/client-pinpoint/commands/UpdateApnsVoipSandboxChannelCommand.ts b/clients/client-pinpoint/commands/UpdateApnsVoipSandboxChannelCommand.ts index b505f643dda6..6ec99ec1b748 100644 --- a/clients/client-pinpoint/commands/UpdateApnsVoipSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateApnsVoipSandboxChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApnsVoipSandboxChannelCommandInput = UpdateApnsVoipSandboxChannelRequest; @@ -70,7 +70,7 @@ export class UpdateApnsVoipSandboxChannelCommand extends $Command< private serialize( input: UpdateApnsVoipSandboxChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApnsVoipSandboxChannelCommand( input, @@ -80,7 +80,7 @@ export class UpdateApnsVoipSandboxChannelCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApnsVoipSandboxChannelCommand( output, diff --git a/clients/client-pinpoint/commands/UpdateApplicationSettingsCommand.ts b/clients/client-pinpoint/commands/UpdateApplicationSettingsCommand.ts index 8843e474a95c..feef90d6f3ae 100644 --- a/clients/client-pinpoint/commands/UpdateApplicationSettingsCommand.ts +++ b/clients/client-pinpoint/commands/UpdateApplicationSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApplicationSettingsCommandInput = UpdateApplicationSettingsRequest; @@ -70,7 +70,7 @@ export class UpdateApplicationSettingsCommand extends $Command< private serialize( input: UpdateApplicationSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApplicationSettingsCommand( input, @@ -80,7 +80,7 @@ export class UpdateApplicationSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApplicationSettingsCommand( output, diff --git a/clients/client-pinpoint/commands/UpdateBaiduChannelCommand.ts b/clients/client-pinpoint/commands/UpdateBaiduChannelCommand.ts index 33aab9172284..ed3da56df768 100644 --- a/clients/client-pinpoint/commands/UpdateBaiduChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateBaiduChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBaiduChannelCommandInput = UpdateBaiduChannelRequest; @@ -67,14 +67,14 @@ export class UpdateBaiduChannelCommand extends $Command< private serialize( input: UpdateBaiduChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateBaiduChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateBaiduChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateCampaignCommand.ts b/clients/client-pinpoint/commands/UpdateCampaignCommand.ts index 2aeb7eb9c543..1af42ad8ba4a 100644 --- a/clients/client-pinpoint/commands/UpdateCampaignCommand.ts +++ b/clients/client-pinpoint/commands/UpdateCampaignCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCampaignCommandInput = UpdateCampaignRequest; @@ -64,14 +64,14 @@ export class UpdateCampaignCommand extends $Command< private serialize( input: UpdateCampaignCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateCampaignCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateCampaignCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateEmailChannelCommand.ts b/clients/client-pinpoint/commands/UpdateEmailChannelCommand.ts index 588df5f9735e..8b4ea7b22944 100644 --- a/clients/client-pinpoint/commands/UpdateEmailChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateEmailChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEmailChannelCommandInput = UpdateEmailChannelRequest; @@ -67,14 +67,14 @@ export class UpdateEmailChannelCommand extends $Command< private serialize( input: UpdateEmailChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateEmailChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateEmailChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateEmailTemplateCommand.ts b/clients/client-pinpoint/commands/UpdateEmailTemplateCommand.ts index fc5761afb20b..9b87fdd3d0c6 100644 --- a/clients/client-pinpoint/commands/UpdateEmailTemplateCommand.ts +++ b/clients/client-pinpoint/commands/UpdateEmailTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEmailTemplateCommandInput = UpdateEmailTemplateRequest; @@ -70,14 +70,14 @@ export class UpdateEmailTemplateCommand extends $Command< private serialize( input: UpdateEmailTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateEmailTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateEmailTemplateCommand( output, diff --git a/clients/client-pinpoint/commands/UpdateEndpointCommand.ts b/clients/client-pinpoint/commands/UpdateEndpointCommand.ts index 8a0898c9d59c..8ef7a5a2279f 100644 --- a/clients/client-pinpoint/commands/UpdateEndpointCommand.ts +++ b/clients/client-pinpoint/commands/UpdateEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEndpointCommandInput = UpdateEndpointRequest; @@ -64,14 +64,14 @@ export class UpdateEndpointCommand extends $Command< private serialize( input: UpdateEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateEndpointCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateEndpointsBatchCommand.ts b/clients/client-pinpoint/commands/UpdateEndpointsBatchCommand.ts index dab7adbb2216..5b923192599b 100644 --- a/clients/client-pinpoint/commands/UpdateEndpointsBatchCommand.ts +++ b/clients/client-pinpoint/commands/UpdateEndpointsBatchCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEndpointsBatchCommandInput = UpdateEndpointsBatchRequest; @@ -70,14 +70,14 @@ export class UpdateEndpointsBatchCommand extends $Command< private serialize( input: UpdateEndpointsBatchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateEndpointsBatchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateEndpointsBatchCommand( output, diff --git a/clients/client-pinpoint/commands/UpdateGcmChannelCommand.ts b/clients/client-pinpoint/commands/UpdateGcmChannelCommand.ts index 4b6a0bfae189..c8ba424d68a0 100644 --- a/clients/client-pinpoint/commands/UpdateGcmChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateGcmChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGcmChannelCommandInput = UpdateGcmChannelRequest; @@ -67,14 +67,14 @@ export class UpdateGcmChannelCommand extends $Command< private serialize( input: UpdateGcmChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateGcmChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateGcmChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateJourneyCommand.ts b/clients/client-pinpoint/commands/UpdateJourneyCommand.ts index 7ffe6da7ae58..e6670cb7c862 100644 --- a/clients/client-pinpoint/commands/UpdateJourneyCommand.ts +++ b/clients/client-pinpoint/commands/UpdateJourneyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateJourneyCommandInput = UpdateJourneyRequest; @@ -64,14 +64,14 @@ export class UpdateJourneyCommand extends $Command< private serialize( input: UpdateJourneyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateJourneyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateJourneyCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateJourneyStateCommand.ts b/clients/client-pinpoint/commands/UpdateJourneyStateCommand.ts index 3e0f1aff8989..a6605d975ed3 100644 --- a/clients/client-pinpoint/commands/UpdateJourneyStateCommand.ts +++ b/clients/client-pinpoint/commands/UpdateJourneyStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateJourneyStateCommandInput = UpdateJourneyStateRequest; @@ -67,14 +67,14 @@ export class UpdateJourneyStateCommand extends $Command< private serialize( input: UpdateJourneyStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateJourneyStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateJourneyStateCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdatePushTemplateCommand.ts b/clients/client-pinpoint/commands/UpdatePushTemplateCommand.ts index 9c1abca35adb..c4a8e072f316 100644 --- a/clients/client-pinpoint/commands/UpdatePushTemplateCommand.ts +++ b/clients/client-pinpoint/commands/UpdatePushTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePushTemplateCommandInput = UpdatePushTemplateRequest; @@ -67,14 +67,14 @@ export class UpdatePushTemplateCommand extends $Command< private serialize( input: UpdatePushTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdatePushTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdatePushTemplateCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateSegmentCommand.ts b/clients/client-pinpoint/commands/UpdateSegmentCommand.ts index f45139e403f9..188f8db5ef59 100644 --- a/clients/client-pinpoint/commands/UpdateSegmentCommand.ts +++ b/clients/client-pinpoint/commands/UpdateSegmentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSegmentCommandInput = UpdateSegmentRequest; @@ -64,14 +64,14 @@ export class UpdateSegmentCommand extends $Command< private serialize( input: UpdateSegmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateSegmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateSegmentCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateSmsChannelCommand.ts b/clients/client-pinpoint/commands/UpdateSmsChannelCommand.ts index 5d19b517e1e6..49e948c421b6 100644 --- a/clients/client-pinpoint/commands/UpdateSmsChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateSmsChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSmsChannelCommandInput = UpdateSmsChannelRequest; @@ -67,14 +67,14 @@ export class UpdateSmsChannelCommand extends $Command< private serialize( input: UpdateSmsChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateSmsChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateSmsChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateSmsTemplateCommand.ts b/clients/client-pinpoint/commands/UpdateSmsTemplateCommand.ts index 1e1eafe4c65d..4e50690921ff 100644 --- a/clients/client-pinpoint/commands/UpdateSmsTemplateCommand.ts +++ b/clients/client-pinpoint/commands/UpdateSmsTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSmsTemplateCommandInput = UpdateSmsTemplateRequest; @@ -67,14 +67,14 @@ export class UpdateSmsTemplateCommand extends $Command< private serialize( input: UpdateSmsTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateSmsTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateSmsTemplateCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateTemplateActiveVersionCommand.ts b/clients/client-pinpoint/commands/UpdateTemplateActiveVersionCommand.ts index 770c047f0a02..c0bcc01e830f 100644 --- a/clients/client-pinpoint/commands/UpdateTemplateActiveVersionCommand.ts +++ b/clients/client-pinpoint/commands/UpdateTemplateActiveVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTemplateActiveVersionCommandInput = UpdateTemplateActiveVersionRequest; @@ -70,7 +70,7 @@ export class UpdateTemplateActiveVersionCommand extends $Command< private serialize( input: UpdateTemplateActiveVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateTemplateActiveVersionCommand( input, @@ -80,7 +80,7 @@ export class UpdateTemplateActiveVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateTemplateActiveVersionCommand( output, diff --git a/clients/client-pinpoint/commands/UpdateVoiceChannelCommand.ts b/clients/client-pinpoint/commands/UpdateVoiceChannelCommand.ts index 52ec4549b5c9..5e1e742e817e 100644 --- a/clients/client-pinpoint/commands/UpdateVoiceChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateVoiceChannelCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVoiceChannelCommandInput = UpdateVoiceChannelRequest; @@ -67,14 +67,14 @@ export class UpdateVoiceChannelCommand extends $Command< private serialize( input: UpdateVoiceChannelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateVoiceChannelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateVoiceChannelCommand(output, context); } diff --git a/clients/client-pinpoint/commands/UpdateVoiceTemplateCommand.ts b/clients/client-pinpoint/commands/UpdateVoiceTemplateCommand.ts index 62f712b6830a..9f41b939c4e7 100644 --- a/clients/client-pinpoint/commands/UpdateVoiceTemplateCommand.ts +++ b/clients/client-pinpoint/commands/UpdateVoiceTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVoiceTemplateCommandInput = UpdateVoiceTemplateRequest; @@ -70,14 +70,14 @@ export class UpdateVoiceTemplateCommand extends $Command< private serialize( input: UpdateVoiceTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateVoiceTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateVoiceTemplateCommand( output, diff --git a/clients/client-pinpoint/protocols/Aws_restJson1_1.ts b/clients/client-pinpoint/protocols/Aws_restJson1_1.ts index df6340e7785d..56c5386b4162 100644 --- a/clients/client-pinpoint/protocols/Aws_restJson1_1.ts +++ b/clients/client-pinpoint/protocols/Aws_restJson1_1.ts @@ -22312,6 +22312,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-polly/commands/DeleteLexiconCommand.ts b/clients/client-polly/commands/DeleteLexiconCommand.ts index 3666f330a3e2..ce1ff2b46ff1 100644 --- a/clients/client-polly/commands/DeleteLexiconCommand.ts +++ b/clients/client-polly/commands/DeleteLexiconCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLexiconCommandInput = DeleteLexiconInput; @@ -64,14 +64,14 @@ export class DeleteLexiconCommand extends $Command< private serialize( input: DeleteLexiconCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteLexiconCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteLexiconCommand(output, context); } diff --git a/clients/client-polly/commands/DescribeVoicesCommand.ts b/clients/client-polly/commands/DescribeVoicesCommand.ts index cc05f6f2443f..f0355535bed7 100644 --- a/clients/client-polly/commands/DescribeVoicesCommand.ts +++ b/clients/client-polly/commands/DescribeVoicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVoicesCommandInput = DescribeVoicesInput; @@ -64,14 +64,14 @@ export class DescribeVoicesCommand extends $Command< private serialize( input: DescribeVoicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeVoicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeVoicesCommand(output, context); } diff --git a/clients/client-polly/commands/GetLexiconCommand.ts b/clients/client-polly/commands/GetLexiconCommand.ts index 133e3067fab7..d74f451dece5 100644 --- a/clients/client-polly/commands/GetLexiconCommand.ts +++ b/clients/client-polly/commands/GetLexiconCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLexiconCommandInput = GetLexiconInput; @@ -64,14 +64,14 @@ export class GetLexiconCommand extends $Command< private serialize( input: GetLexiconCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetLexiconCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetLexiconCommand(output, context); } diff --git a/clients/client-polly/commands/GetSpeechSynthesisTaskCommand.ts b/clients/client-polly/commands/GetSpeechSynthesisTaskCommand.ts index 2b29fa644c67..1fad331e6f05 100644 --- a/clients/client-polly/commands/GetSpeechSynthesisTaskCommand.ts +++ b/clients/client-polly/commands/GetSpeechSynthesisTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSpeechSynthesisTaskCommandInput = GetSpeechSynthesisTaskInput; @@ -70,7 +70,7 @@ export class GetSpeechSynthesisTaskCommand extends $Command< private serialize( input: GetSpeechSynthesisTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSpeechSynthesisTaskCommand( input, @@ -80,7 +80,7 @@ export class GetSpeechSynthesisTaskCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSpeechSynthesisTaskCommand( output, diff --git a/clients/client-polly/commands/ListLexiconsCommand.ts b/clients/client-polly/commands/ListLexiconsCommand.ts index bbfa47c11ab7..eb13cd394d51 100644 --- a/clients/client-polly/commands/ListLexiconsCommand.ts +++ b/clients/client-polly/commands/ListLexiconsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLexiconsCommandInput = ListLexiconsInput; @@ -64,14 +64,14 @@ export class ListLexiconsCommand extends $Command< private serialize( input: ListLexiconsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListLexiconsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListLexiconsCommand(output, context); } diff --git a/clients/client-polly/commands/ListSpeechSynthesisTasksCommand.ts b/clients/client-polly/commands/ListSpeechSynthesisTasksCommand.ts index 5da07764eb84..e35641149889 100644 --- a/clients/client-polly/commands/ListSpeechSynthesisTasksCommand.ts +++ b/clients/client-polly/commands/ListSpeechSynthesisTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSpeechSynthesisTasksCommandInput = ListSpeechSynthesisTasksInput; @@ -70,7 +70,7 @@ export class ListSpeechSynthesisTasksCommand extends $Command< private serialize( input: ListSpeechSynthesisTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSpeechSynthesisTasksCommand( input, @@ -80,7 +80,7 @@ export class ListSpeechSynthesisTasksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSpeechSynthesisTasksCommand( output, diff --git a/clients/client-polly/commands/PutLexiconCommand.ts b/clients/client-polly/commands/PutLexiconCommand.ts index f73e7b0375da..2ab5d1f0d647 100644 --- a/clients/client-polly/commands/PutLexiconCommand.ts +++ b/clients/client-polly/commands/PutLexiconCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLexiconCommandInput = PutLexiconInput; @@ -64,14 +64,14 @@ export class PutLexiconCommand extends $Command< private serialize( input: PutLexiconCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutLexiconCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutLexiconCommand(output, context); } diff --git a/clients/client-polly/commands/StartSpeechSynthesisTaskCommand.ts b/clients/client-polly/commands/StartSpeechSynthesisTaskCommand.ts index 7ac0d1d9b381..2bf4e6a2e7b6 100644 --- a/clients/client-polly/commands/StartSpeechSynthesisTaskCommand.ts +++ b/clients/client-polly/commands/StartSpeechSynthesisTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartSpeechSynthesisTaskCommandInput = StartSpeechSynthesisTaskInput; @@ -70,7 +70,7 @@ export class StartSpeechSynthesisTaskCommand extends $Command< private serialize( input: StartSpeechSynthesisTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartSpeechSynthesisTaskCommand( input, @@ -80,7 +80,7 @@ export class StartSpeechSynthesisTaskCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartSpeechSynthesisTaskCommand( output, diff --git a/clients/client-polly/commands/SynthesizeSpeechCommand.ts b/clients/client-polly/commands/SynthesizeSpeechCommand.ts index ea5a849d6841..92d21d6dea06 100644 --- a/clients/client-polly/commands/SynthesizeSpeechCommand.ts +++ b/clients/client-polly/commands/SynthesizeSpeechCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SynthesizeSpeechCommandInput = SynthesizeSpeechInput; @@ -64,14 +64,14 @@ export class SynthesizeSpeechCommand extends $Command< private serialize( input: SynthesizeSpeechCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SynthesizeSpeechCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SynthesizeSpeechCommand(output, context); } diff --git a/clients/client-polly/protocols/Aws_restJson1_1.ts b/clients/client-polly/protocols/Aws_restJson1_1.ts index c70f25605066..42067e395648 100644 --- a/clients/client-polly/protocols/Aws_restJson1_1.ts +++ b/clients/client-polly/protocols/Aws_restJson1_1.ts @@ -1800,6 +1800,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-pricing/commands/DescribeServicesCommand.ts b/clients/client-pricing/commands/DescribeServicesCommand.ts index d68e868fdbf9..89b48b8ab033 100644 --- a/clients/client-pricing/commands/DescribeServicesCommand.ts +++ b/clients/client-pricing/commands/DescribeServicesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeServicesCommandInput = DescribeServicesRequest; @@ -67,14 +67,14 @@ export class DescribeServicesCommand extends $Command< private serialize( input: DescribeServicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeServicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeServicesCommand(output, context); } diff --git a/clients/client-pricing/commands/GetAttributeValuesCommand.ts b/clients/client-pricing/commands/GetAttributeValuesCommand.ts index ecc5ede1d724..151371d73c89 100644 --- a/clients/client-pricing/commands/GetAttributeValuesCommand.ts +++ b/clients/client-pricing/commands/GetAttributeValuesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAttributeValuesCommandInput = GetAttributeValuesRequest; @@ -67,14 +67,14 @@ export class GetAttributeValuesCommand extends $Command< private serialize( input: GetAttributeValuesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAttributeValuesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAttributeValuesCommand(output, context); } diff --git a/clients/client-pricing/commands/GetProductsCommand.ts b/clients/client-pricing/commands/GetProductsCommand.ts index 61b0b27ea0b9..1da848f8c499 100644 --- a/clients/client-pricing/commands/GetProductsCommand.ts +++ b/clients/client-pricing/commands/GetProductsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetProductsCommandInput = GetProductsRequest; @@ -64,14 +64,14 @@ export class GetProductsCommand extends $Command< private serialize( input: GetProductsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetProductsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetProductsCommand(output, context); } diff --git a/clients/client-pricing/protocols/Aws_json1_1.ts b/clients/client-pricing/protocols/Aws_json1_1.ts index 2cd235ff3623..6672b380a46a 100644 --- a/clients/client-pricing/protocols/Aws_json1_1.ts +++ b/clients/client-pricing/protocols/Aws_json1_1.ts @@ -733,6 +733,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-qldb-session/commands/SendCommandCommand.ts b/clients/client-qldb-session/commands/SendCommandCommand.ts index 09c07dd5a9ba..a1e5e1fb69c3 100644 --- a/clients/client-qldb-session/commands/SendCommandCommand.ts +++ b/clients/client-qldb-session/commands/SendCommandCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendCommandCommandInput = SendCommandRequest; @@ -64,14 +64,14 @@ export class SendCommandCommand extends $Command< private serialize( input: SendCommandCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0SendCommandCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0SendCommandCommand(output, context); } diff --git a/clients/client-qldb-session/protocols/Aws_json1_0.ts b/clients/client-qldb-session/protocols/Aws_json1_0.ts index b4a3430e311d..7e9cf5f231d5 100644 --- a/clients/client-qldb-session/protocols/Aws_json1_0.ts +++ b/clients/client-qldb-session/protocols/Aws_json1_0.ts @@ -695,6 +695,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-qldb/commands/CreateLedgerCommand.ts b/clients/client-qldb/commands/CreateLedgerCommand.ts index 10ca7b2606b2..52ec17432c80 100644 --- a/clients/client-qldb/commands/CreateLedgerCommand.ts +++ b/clients/client-qldb/commands/CreateLedgerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLedgerCommandInput = CreateLedgerRequest; @@ -64,14 +64,14 @@ export class CreateLedgerCommand extends $Command< private serialize( input: CreateLedgerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateLedgerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateLedgerCommand(output, context); } diff --git a/clients/client-qldb/commands/DeleteLedgerCommand.ts b/clients/client-qldb/commands/DeleteLedgerCommand.ts index e5e7c2e9ac40..6a43d2c3b7cd 100644 --- a/clients/client-qldb/commands/DeleteLedgerCommand.ts +++ b/clients/client-qldb/commands/DeleteLedgerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLedgerCommandInput = DeleteLedgerRequest; @@ -65,14 +65,14 @@ export class DeleteLedgerCommand extends $Command< private serialize( input: DeleteLedgerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteLedgerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteLedgerCommand(output, context); } diff --git a/clients/client-qldb/commands/DescribeJournalS3ExportCommand.ts b/clients/client-qldb/commands/DescribeJournalS3ExportCommand.ts index 889315218725..5aa2d085626c 100644 --- a/clients/client-qldb/commands/DescribeJournalS3ExportCommand.ts +++ b/clients/client-qldb/commands/DescribeJournalS3ExportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeJournalS3ExportCommandInput = DescribeJournalS3ExportRequest; @@ -70,7 +70,7 @@ export class DescribeJournalS3ExportCommand extends $Command< private serialize( input: DescribeJournalS3ExportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeJournalS3ExportCommand( input, @@ -80,7 +80,7 @@ export class DescribeJournalS3ExportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeJournalS3ExportCommand( output, diff --git a/clients/client-qldb/commands/DescribeLedgerCommand.ts b/clients/client-qldb/commands/DescribeLedgerCommand.ts index 437418258286..84c7042a69a3 100644 --- a/clients/client-qldb/commands/DescribeLedgerCommand.ts +++ b/clients/client-qldb/commands/DescribeLedgerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLedgerCommandInput = DescribeLedgerRequest; @@ -64,14 +64,14 @@ export class DescribeLedgerCommand extends $Command< private serialize( input: DescribeLedgerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeLedgerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeLedgerCommand(output, context); } diff --git a/clients/client-qldb/commands/ExportJournalToS3Command.ts b/clients/client-qldb/commands/ExportJournalToS3Command.ts index 3a782bab4f0d..c14726a87a4e 100644 --- a/clients/client-qldb/commands/ExportJournalToS3Command.ts +++ b/clients/client-qldb/commands/ExportJournalToS3Command.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExportJournalToS3CommandInput = ExportJournalToS3Request; @@ -67,14 +67,14 @@ export class ExportJournalToS3Command extends $Command< private serialize( input: ExportJournalToS3CommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ExportJournalToS3Command(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ExportJournalToS3Command(output, context); } diff --git a/clients/client-qldb/commands/GetBlockCommand.ts b/clients/client-qldb/commands/GetBlockCommand.ts index 49bdf0864f47..083c942d62df 100644 --- a/clients/client-qldb/commands/GetBlockCommand.ts +++ b/clients/client-qldb/commands/GetBlockCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBlockCommandInput = GetBlockRequest; @@ -64,14 +64,14 @@ export class GetBlockCommand extends $Command< private serialize( input: GetBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBlockCommand(output, context); } diff --git a/clients/client-qldb/commands/GetDigestCommand.ts b/clients/client-qldb/commands/GetDigestCommand.ts index da07c0657db3..aff7f4607da7 100644 --- a/clients/client-qldb/commands/GetDigestCommand.ts +++ b/clients/client-qldb/commands/GetDigestCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDigestCommandInput = GetDigestRequest; @@ -64,14 +64,14 @@ export class GetDigestCommand extends $Command< private serialize( input: GetDigestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDigestCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDigestCommand(output, context); } diff --git a/clients/client-qldb/commands/GetRevisionCommand.ts b/clients/client-qldb/commands/GetRevisionCommand.ts index 52e7145f381d..d0f6b6cc537d 100644 --- a/clients/client-qldb/commands/GetRevisionCommand.ts +++ b/clients/client-qldb/commands/GetRevisionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRevisionCommandInput = GetRevisionRequest; @@ -64,14 +64,14 @@ export class GetRevisionCommand extends $Command< private serialize( input: GetRevisionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRevisionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRevisionCommand(output, context); } diff --git a/clients/client-qldb/commands/ListJournalS3ExportsCommand.ts b/clients/client-qldb/commands/ListJournalS3ExportsCommand.ts index 806e739af4cf..7553c22d2a0e 100644 --- a/clients/client-qldb/commands/ListJournalS3ExportsCommand.ts +++ b/clients/client-qldb/commands/ListJournalS3ExportsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJournalS3ExportsCommandInput = ListJournalS3ExportsRequest; @@ -70,14 +70,14 @@ export class ListJournalS3ExportsCommand extends $Command< private serialize( input: ListJournalS3ExportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJournalS3ExportsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJournalS3ExportsCommand( output, diff --git a/clients/client-qldb/commands/ListJournalS3ExportsForLedgerCommand.ts b/clients/client-qldb/commands/ListJournalS3ExportsForLedgerCommand.ts index a96218547bc4..497ce3b6a574 100644 --- a/clients/client-qldb/commands/ListJournalS3ExportsForLedgerCommand.ts +++ b/clients/client-qldb/commands/ListJournalS3ExportsForLedgerCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJournalS3ExportsForLedgerCommandInput = ListJournalS3ExportsForLedgerRequest; @@ -70,7 +70,7 @@ export class ListJournalS3ExportsForLedgerCommand extends $Command< private serialize( input: ListJournalS3ExportsForLedgerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListJournalS3ExportsForLedgerCommand( input, @@ -80,7 +80,7 @@ export class ListJournalS3ExportsForLedgerCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListJournalS3ExportsForLedgerCommand( output, diff --git a/clients/client-qldb/commands/ListLedgersCommand.ts b/clients/client-qldb/commands/ListLedgersCommand.ts index dd510b9804cc..f14286d50a9f 100644 --- a/clients/client-qldb/commands/ListLedgersCommand.ts +++ b/clients/client-qldb/commands/ListLedgersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLedgersCommandInput = ListLedgersRequest; @@ -64,14 +64,14 @@ export class ListLedgersCommand extends $Command< private serialize( input: ListLedgersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListLedgersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListLedgersCommand(output, context); } diff --git a/clients/client-qldb/commands/ListTagsForResourceCommand.ts b/clients/client-qldb/commands/ListTagsForResourceCommand.ts index d0ad594a5146..63f317bbfe1b 100644 --- a/clients/client-qldb/commands/ListTagsForResourceCommand.ts +++ b/clients/client-qldb/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-qldb/commands/TagResourceCommand.ts b/clients/client-qldb/commands/TagResourceCommand.ts index 20c04a381da6..827cbfa417b0 100644 --- a/clients/client-qldb/commands/TagResourceCommand.ts +++ b/clients/client-qldb/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-qldb/commands/UntagResourceCommand.ts b/clients/client-qldb/commands/UntagResourceCommand.ts index d0afd2039743..bfa65928bfaf 100644 --- a/clients/client-qldb/commands/UntagResourceCommand.ts +++ b/clients/client-qldb/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-qldb/commands/UpdateLedgerCommand.ts b/clients/client-qldb/commands/UpdateLedgerCommand.ts index 7d5667793165..a70bb53b3b51 100644 --- a/clients/client-qldb/commands/UpdateLedgerCommand.ts +++ b/clients/client-qldb/commands/UpdateLedgerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateLedgerCommandInput = UpdateLedgerRequest; @@ -64,14 +64,14 @@ export class UpdateLedgerCommand extends $Command< private serialize( input: UpdateLedgerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateLedgerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateLedgerCommand(output, context); } diff --git a/clients/client-qldb/protocols/Aws_restJson1_1.ts b/clients/client-qldb/protocols/Aws_restJson1_1.ts index d59414192670..bada70a3b09e 100644 --- a/clients/client-qldb/protocols/Aws_restJson1_1.ts +++ b/clients/client-qldb/protocols/Aws_restJson1_1.ts @@ -2024,6 +2024,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-quicksight/commands/CancelIngestionCommand.ts b/clients/client-quicksight/commands/CancelIngestionCommand.ts index 4d4ef5051d84..11437911f2e2 100644 --- a/clients/client-quicksight/commands/CancelIngestionCommand.ts +++ b/clients/client-quicksight/commands/CancelIngestionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelIngestionCommandInput = CancelIngestionRequest; @@ -67,14 +67,14 @@ export class CancelIngestionCommand extends $Command< private serialize( input: CancelIngestionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelIngestionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelIngestionCommand(output, context); } diff --git a/clients/client-quicksight/commands/CreateDashboardCommand.ts b/clients/client-quicksight/commands/CreateDashboardCommand.ts index 5ff2129e4319..15e0d5cfa497 100644 --- a/clients/client-quicksight/commands/CreateDashboardCommand.ts +++ b/clients/client-quicksight/commands/CreateDashboardCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDashboardCommandInput = CreateDashboardRequest; @@ -67,14 +67,14 @@ export class CreateDashboardCommand extends $Command< private serialize( input: CreateDashboardCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDashboardCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDashboardCommand(output, context); } diff --git a/clients/client-quicksight/commands/CreateDataSetCommand.ts b/clients/client-quicksight/commands/CreateDataSetCommand.ts index 40dd3122c8ad..162e7afdd6cc 100644 --- a/clients/client-quicksight/commands/CreateDataSetCommand.ts +++ b/clients/client-quicksight/commands/CreateDataSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDataSetCommandInput = CreateDataSetRequest; @@ -64,14 +64,14 @@ export class CreateDataSetCommand extends $Command< private serialize( input: CreateDataSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDataSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDataSetCommand(output, context); } diff --git a/clients/client-quicksight/commands/CreateDataSourceCommand.ts b/clients/client-quicksight/commands/CreateDataSourceCommand.ts index 0972dd9a87ba..eda35d37a93d 100644 --- a/clients/client-quicksight/commands/CreateDataSourceCommand.ts +++ b/clients/client-quicksight/commands/CreateDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDataSourceCommandInput = CreateDataSourceRequest; @@ -67,14 +67,14 @@ export class CreateDataSourceCommand extends $Command< private serialize( input: CreateDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDataSourceCommand(output, context); } diff --git a/clients/client-quicksight/commands/CreateGroupCommand.ts b/clients/client-quicksight/commands/CreateGroupCommand.ts index bf2b8da64e76..a6587a242ef4 100644 --- a/clients/client-quicksight/commands/CreateGroupCommand.ts +++ b/clients/client-quicksight/commands/CreateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGroupCommandInput = CreateGroupRequest; @@ -64,14 +64,14 @@ export class CreateGroupCommand extends $Command< private serialize( input: CreateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateGroupCommand(output, context); } diff --git a/clients/client-quicksight/commands/CreateGroupMembershipCommand.ts b/clients/client-quicksight/commands/CreateGroupMembershipCommand.ts index 0b1d1dbe7d2a..44f8de150e51 100644 --- a/clients/client-quicksight/commands/CreateGroupMembershipCommand.ts +++ b/clients/client-quicksight/commands/CreateGroupMembershipCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGroupMembershipCommandInput = CreateGroupMembershipRequest; @@ -70,14 +70,14 @@ export class CreateGroupMembershipCommand extends $Command< private serialize( input: CreateGroupMembershipCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateGroupMembershipCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateGroupMembershipCommand( output, diff --git a/clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts b/clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts index adeafb83c303..7a4bdbbdc78d 100644 --- a/clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts +++ b/clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIAMPolicyAssignmentCommandInput = CreateIAMPolicyAssignmentRequest; @@ -70,7 +70,7 @@ export class CreateIAMPolicyAssignmentCommand extends $Command< private serialize( input: CreateIAMPolicyAssignmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateIAMPolicyAssignmentCommand( input, @@ -80,7 +80,7 @@ export class CreateIAMPolicyAssignmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateIAMPolicyAssignmentCommand( output, diff --git a/clients/client-quicksight/commands/CreateIngestionCommand.ts b/clients/client-quicksight/commands/CreateIngestionCommand.ts index 788369f93a43..5e0e874b1965 100644 --- a/clients/client-quicksight/commands/CreateIngestionCommand.ts +++ b/clients/client-quicksight/commands/CreateIngestionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIngestionCommandInput = CreateIngestionRequest; @@ -67,14 +67,14 @@ export class CreateIngestionCommand extends $Command< private serialize( input: CreateIngestionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateIngestionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateIngestionCommand(output, context); } diff --git a/clients/client-quicksight/commands/CreateTemplateAliasCommand.ts b/clients/client-quicksight/commands/CreateTemplateAliasCommand.ts index 34613775342b..1df13b5c3f61 100644 --- a/clients/client-quicksight/commands/CreateTemplateAliasCommand.ts +++ b/clients/client-quicksight/commands/CreateTemplateAliasCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTemplateAliasCommandInput = CreateTemplateAliasRequest; @@ -70,14 +70,14 @@ export class CreateTemplateAliasCommand extends $Command< private serialize( input: CreateTemplateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateTemplateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateTemplateAliasCommand( output, diff --git a/clients/client-quicksight/commands/CreateTemplateCommand.ts b/clients/client-quicksight/commands/CreateTemplateCommand.ts index e9e1ee802a52..c3fad4f72931 100644 --- a/clients/client-quicksight/commands/CreateTemplateCommand.ts +++ b/clients/client-quicksight/commands/CreateTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTemplateCommandInput = CreateTemplateRequest; @@ -64,14 +64,14 @@ export class CreateTemplateCommand extends $Command< private serialize( input: CreateTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateTemplateCommand(output, context); } diff --git a/clients/client-quicksight/commands/DeleteDashboardCommand.ts b/clients/client-quicksight/commands/DeleteDashboardCommand.ts index 45de9d631f05..fe1e75e0d946 100644 --- a/clients/client-quicksight/commands/DeleteDashboardCommand.ts +++ b/clients/client-quicksight/commands/DeleteDashboardCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDashboardCommandInput = DeleteDashboardRequest; @@ -67,14 +67,14 @@ export class DeleteDashboardCommand extends $Command< private serialize( input: DeleteDashboardCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDashboardCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDashboardCommand(output, context); } diff --git a/clients/client-quicksight/commands/DeleteDataSetCommand.ts b/clients/client-quicksight/commands/DeleteDataSetCommand.ts index 1e4c2512aead..71b53c21a38c 100644 --- a/clients/client-quicksight/commands/DeleteDataSetCommand.ts +++ b/clients/client-quicksight/commands/DeleteDataSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDataSetCommandInput = DeleteDataSetRequest; @@ -64,14 +64,14 @@ export class DeleteDataSetCommand extends $Command< private serialize( input: DeleteDataSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDataSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDataSetCommand(output, context); } diff --git a/clients/client-quicksight/commands/DeleteDataSourceCommand.ts b/clients/client-quicksight/commands/DeleteDataSourceCommand.ts index b8d73b20819d..fe0eb1cc2236 100644 --- a/clients/client-quicksight/commands/DeleteDataSourceCommand.ts +++ b/clients/client-quicksight/commands/DeleteDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDataSourceCommandInput = DeleteDataSourceRequest; @@ -67,14 +67,14 @@ export class DeleteDataSourceCommand extends $Command< private serialize( input: DeleteDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDataSourceCommand(output, context); } diff --git a/clients/client-quicksight/commands/DeleteGroupCommand.ts b/clients/client-quicksight/commands/DeleteGroupCommand.ts index e4b1b3c5bd65..104fc5cfcfa3 100644 --- a/clients/client-quicksight/commands/DeleteGroupCommand.ts +++ b/clients/client-quicksight/commands/DeleteGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGroupCommandInput = DeleteGroupRequest; @@ -64,14 +64,14 @@ export class DeleteGroupCommand extends $Command< private serialize( input: DeleteGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteGroupCommand(output, context); } diff --git a/clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts b/clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts index 188ea1df433d..b42608e9185e 100644 --- a/clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts +++ b/clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGroupMembershipCommandInput = DeleteGroupMembershipRequest; @@ -70,14 +70,14 @@ export class DeleteGroupMembershipCommand extends $Command< private serialize( input: DeleteGroupMembershipCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteGroupMembershipCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteGroupMembershipCommand( output, diff --git a/clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts b/clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts index 825b53271f05..51b53a410488 100644 --- a/clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts +++ b/clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIAMPolicyAssignmentCommandInput = DeleteIAMPolicyAssignmentRequest; @@ -70,7 +70,7 @@ export class DeleteIAMPolicyAssignmentCommand extends $Command< private serialize( input: DeleteIAMPolicyAssignmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteIAMPolicyAssignmentCommand( input, @@ -80,7 +80,7 @@ export class DeleteIAMPolicyAssignmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteIAMPolicyAssignmentCommand( output, diff --git a/clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts b/clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts index 4bd83b99f9fb..165a34e27c3c 100644 --- a/clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts +++ b/clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTemplateAliasCommandInput = DeleteTemplateAliasRequest; @@ -70,14 +70,14 @@ export class DeleteTemplateAliasCommand extends $Command< private serialize( input: DeleteTemplateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteTemplateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteTemplateAliasCommand( output, diff --git a/clients/client-quicksight/commands/DeleteTemplateCommand.ts b/clients/client-quicksight/commands/DeleteTemplateCommand.ts index 8d2941da4f2a..0e20772b8b0c 100644 --- a/clients/client-quicksight/commands/DeleteTemplateCommand.ts +++ b/clients/client-quicksight/commands/DeleteTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTemplateCommandInput = DeleteTemplateRequest; @@ -64,14 +64,14 @@ export class DeleteTemplateCommand extends $Command< private serialize( input: DeleteTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteTemplateCommand(output, context); } diff --git a/clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts b/clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts index d32515301398..cc94168edb92 100644 --- a/clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts +++ b/clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserByPrincipalIdCommandInput = DeleteUserByPrincipalIdRequest; @@ -70,7 +70,7 @@ export class DeleteUserByPrincipalIdCommand extends $Command< private serialize( input: DeleteUserByPrincipalIdCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteUserByPrincipalIdCommand( input, @@ -80,7 +80,7 @@ export class DeleteUserByPrincipalIdCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteUserByPrincipalIdCommand( output, diff --git a/clients/client-quicksight/commands/DeleteUserCommand.ts b/clients/client-quicksight/commands/DeleteUserCommand.ts index c17469956ffa..a61f1e5e73b7 100644 --- a/clients/client-quicksight/commands/DeleteUserCommand.ts +++ b/clients/client-quicksight/commands/DeleteUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserCommandInput = DeleteUserRequest; @@ -64,14 +64,14 @@ export class DeleteUserCommand extends $Command< private serialize( input: DeleteUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteUserCommand(output, context); } diff --git a/clients/client-quicksight/commands/DescribeDashboardCommand.ts b/clients/client-quicksight/commands/DescribeDashboardCommand.ts index 3701ef2b797b..75a77bf446a9 100644 --- a/clients/client-quicksight/commands/DescribeDashboardCommand.ts +++ b/clients/client-quicksight/commands/DescribeDashboardCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDashboardCommandInput = DescribeDashboardRequest; @@ -67,14 +67,14 @@ export class DescribeDashboardCommand extends $Command< private serialize( input: DescribeDashboardCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDashboardCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDashboardCommand(output, context); } diff --git a/clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts b/clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts index 03e79f3b5ce1..55ff8485635f 100644 --- a/clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts +++ b/clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDashboardPermissionsCommandInput = DescribeDashboardPermissionsRequest; @@ -70,7 +70,7 @@ export class DescribeDashboardPermissionsCommand extends $Command< private serialize( input: DescribeDashboardPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDashboardPermissionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeDashboardPermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDashboardPermissionsCommand( output, diff --git a/clients/client-quicksight/commands/DescribeDataSetCommand.ts b/clients/client-quicksight/commands/DescribeDataSetCommand.ts index f01abf55a2f6..429e0758bb2b 100644 --- a/clients/client-quicksight/commands/DescribeDataSetCommand.ts +++ b/clients/client-quicksight/commands/DescribeDataSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDataSetCommandInput = DescribeDataSetRequest; @@ -67,14 +67,14 @@ export class DescribeDataSetCommand extends $Command< private serialize( input: DescribeDataSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDataSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDataSetCommand(output, context); } diff --git a/clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts b/clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts index 1d0760d7e060..8602b05ced7d 100644 --- a/clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts +++ b/clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDataSetPermissionsCommandInput = DescribeDataSetPermissionsRequest; @@ -70,7 +70,7 @@ export class DescribeDataSetPermissionsCommand extends $Command< private serialize( input: DescribeDataSetPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDataSetPermissionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeDataSetPermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDataSetPermissionsCommand( output, diff --git a/clients/client-quicksight/commands/DescribeDataSourceCommand.ts b/clients/client-quicksight/commands/DescribeDataSourceCommand.ts index 649e76b435f5..8941e50da89b 100644 --- a/clients/client-quicksight/commands/DescribeDataSourceCommand.ts +++ b/clients/client-quicksight/commands/DescribeDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDataSourceCommandInput = DescribeDataSourceRequest; @@ -67,14 +67,14 @@ export class DescribeDataSourceCommand extends $Command< private serialize( input: DescribeDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDataSourceCommand(output, context); } diff --git a/clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts b/clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts index 6b55c28a599b..b0e75b32bcde 100644 --- a/clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts +++ b/clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDataSourcePermissionsCommandInput = DescribeDataSourcePermissionsRequest; @@ -70,7 +70,7 @@ export class DescribeDataSourcePermissionsCommand extends $Command< private serialize( input: DescribeDataSourcePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDataSourcePermissionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeDataSourcePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDataSourcePermissionsCommand( output, diff --git a/clients/client-quicksight/commands/DescribeGroupCommand.ts b/clients/client-quicksight/commands/DescribeGroupCommand.ts index c164d8db00e2..dc6271394672 100644 --- a/clients/client-quicksight/commands/DescribeGroupCommand.ts +++ b/clients/client-quicksight/commands/DescribeGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGroupCommandInput = DescribeGroupRequest; @@ -64,14 +64,14 @@ export class DescribeGroupCommand extends $Command< private serialize( input: DescribeGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeGroupCommand(output, context); } diff --git a/clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts b/clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts index e9137d2f8cbd..625ebdf64161 100644 --- a/clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts +++ b/clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIAMPolicyAssignmentCommandInput = DescribeIAMPolicyAssignmentRequest; @@ -70,7 +70,7 @@ export class DescribeIAMPolicyAssignmentCommand extends $Command< private serialize( input: DescribeIAMPolicyAssignmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeIAMPolicyAssignmentCommand( input, @@ -80,7 +80,7 @@ export class DescribeIAMPolicyAssignmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeIAMPolicyAssignmentCommand( output, diff --git a/clients/client-quicksight/commands/DescribeIngestionCommand.ts b/clients/client-quicksight/commands/DescribeIngestionCommand.ts index 0799ea695f86..c8ccfbc1dd70 100644 --- a/clients/client-quicksight/commands/DescribeIngestionCommand.ts +++ b/clients/client-quicksight/commands/DescribeIngestionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIngestionCommandInput = DescribeIngestionRequest; @@ -67,14 +67,14 @@ export class DescribeIngestionCommand extends $Command< private serialize( input: DescribeIngestionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeIngestionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeIngestionCommand(output, context); } diff --git a/clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts b/clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts index 6956f3ac01a1..4e93bf4cde64 100644 --- a/clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts +++ b/clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTemplateAliasCommandInput = DescribeTemplateAliasRequest; @@ -70,14 +70,14 @@ export class DescribeTemplateAliasCommand extends $Command< private serialize( input: DescribeTemplateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeTemplateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeTemplateAliasCommand( output, diff --git a/clients/client-quicksight/commands/DescribeTemplateCommand.ts b/clients/client-quicksight/commands/DescribeTemplateCommand.ts index 38f8295fd161..0e87bca796b4 100644 --- a/clients/client-quicksight/commands/DescribeTemplateCommand.ts +++ b/clients/client-quicksight/commands/DescribeTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTemplateCommandInput = DescribeTemplateRequest; @@ -67,14 +67,14 @@ export class DescribeTemplateCommand extends $Command< private serialize( input: DescribeTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeTemplateCommand(output, context); } diff --git a/clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts b/clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts index 5b8ee97e770c..27fcc885e13d 100644 --- a/clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts +++ b/clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTemplatePermissionsCommandInput = DescribeTemplatePermissionsRequest; @@ -70,7 +70,7 @@ export class DescribeTemplatePermissionsCommand extends $Command< private serialize( input: DescribeTemplatePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeTemplatePermissionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeTemplatePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeTemplatePermissionsCommand( output, diff --git a/clients/client-quicksight/commands/DescribeUserCommand.ts b/clients/client-quicksight/commands/DescribeUserCommand.ts index 47a5ce142f13..64920655babc 100644 --- a/clients/client-quicksight/commands/DescribeUserCommand.ts +++ b/clients/client-quicksight/commands/DescribeUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserCommandInput = DescribeUserRequest; @@ -64,14 +64,14 @@ export class DescribeUserCommand extends $Command< private serialize( input: DescribeUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeUserCommand(output, context); } diff --git a/clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts b/clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts index 6b042c39e6b1..c1ee5b7f45b8 100644 --- a/clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts +++ b/clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDashboardEmbedUrlCommandInput = GetDashboardEmbedUrlRequest; @@ -70,14 +70,14 @@ export class GetDashboardEmbedUrlCommand extends $Command< private serialize( input: GetDashboardEmbedUrlCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDashboardEmbedUrlCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDashboardEmbedUrlCommand( output, diff --git a/clients/client-quicksight/commands/ListDashboardVersionsCommand.ts b/clients/client-quicksight/commands/ListDashboardVersionsCommand.ts index 9d574e74599e..ea9d5e7c4968 100644 --- a/clients/client-quicksight/commands/ListDashboardVersionsCommand.ts +++ b/clients/client-quicksight/commands/ListDashboardVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDashboardVersionsCommandInput = ListDashboardVersionsRequest; @@ -70,14 +70,14 @@ export class ListDashboardVersionsCommand extends $Command< private serialize( input: ListDashboardVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDashboardVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDashboardVersionsCommand( output, diff --git a/clients/client-quicksight/commands/ListDashboardsCommand.ts b/clients/client-quicksight/commands/ListDashboardsCommand.ts index cfeb0ab6509c..61ca6697b9c9 100644 --- a/clients/client-quicksight/commands/ListDashboardsCommand.ts +++ b/clients/client-quicksight/commands/ListDashboardsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDashboardsCommandInput = ListDashboardsRequest; @@ -64,14 +64,14 @@ export class ListDashboardsCommand extends $Command< private serialize( input: ListDashboardsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDashboardsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDashboardsCommand(output, context); } diff --git a/clients/client-quicksight/commands/ListDataSetsCommand.ts b/clients/client-quicksight/commands/ListDataSetsCommand.ts index e174aef22efc..c65a3b188238 100644 --- a/clients/client-quicksight/commands/ListDataSetsCommand.ts +++ b/clients/client-quicksight/commands/ListDataSetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDataSetsCommandInput = ListDataSetsRequest; @@ -64,14 +64,14 @@ export class ListDataSetsCommand extends $Command< private serialize( input: ListDataSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDataSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDataSetsCommand(output, context); } diff --git a/clients/client-quicksight/commands/ListDataSourcesCommand.ts b/clients/client-quicksight/commands/ListDataSourcesCommand.ts index e58dfbfafee6..6683ad58c684 100644 --- a/clients/client-quicksight/commands/ListDataSourcesCommand.ts +++ b/clients/client-quicksight/commands/ListDataSourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDataSourcesCommandInput = ListDataSourcesRequest; @@ -67,14 +67,14 @@ export class ListDataSourcesCommand extends $Command< private serialize( input: ListDataSourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDataSourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDataSourcesCommand(output, context); } diff --git a/clients/client-quicksight/commands/ListGroupMembershipsCommand.ts b/clients/client-quicksight/commands/ListGroupMembershipsCommand.ts index c5269a01f474..a155d7f5728e 100644 --- a/clients/client-quicksight/commands/ListGroupMembershipsCommand.ts +++ b/clients/client-quicksight/commands/ListGroupMembershipsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupMembershipsCommandInput = ListGroupMembershipsRequest; @@ -70,14 +70,14 @@ export class ListGroupMembershipsCommand extends $Command< private serialize( input: ListGroupMembershipsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListGroupMembershipsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListGroupMembershipsCommand( output, diff --git a/clients/client-quicksight/commands/ListGroupsCommand.ts b/clients/client-quicksight/commands/ListGroupsCommand.ts index 187e7893ccd9..8b741285200e 100644 --- a/clients/client-quicksight/commands/ListGroupsCommand.ts +++ b/clients/client-quicksight/commands/ListGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupsCommandInput = ListGroupsRequest; @@ -64,14 +64,14 @@ export class ListGroupsCommand extends $Command< private serialize( input: ListGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListGroupsCommand(output, context); } diff --git a/clients/client-quicksight/commands/ListIAMPolicyAssignmentsCommand.ts b/clients/client-quicksight/commands/ListIAMPolicyAssignmentsCommand.ts index f69adb231f93..94a3d86f146d 100644 --- a/clients/client-quicksight/commands/ListIAMPolicyAssignmentsCommand.ts +++ b/clients/client-quicksight/commands/ListIAMPolicyAssignmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIAMPolicyAssignmentsCommandInput = ListIAMPolicyAssignmentsRequest; @@ -70,7 +70,7 @@ export class ListIAMPolicyAssignmentsCommand extends $Command< private serialize( input: ListIAMPolicyAssignmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListIAMPolicyAssignmentsCommand( input, @@ -80,7 +80,7 @@ export class ListIAMPolicyAssignmentsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListIAMPolicyAssignmentsCommand( output, diff --git a/clients/client-quicksight/commands/ListIAMPolicyAssignmentsForUserCommand.ts b/clients/client-quicksight/commands/ListIAMPolicyAssignmentsForUserCommand.ts index b025492a5d50..b8d68c9d46a2 100644 --- a/clients/client-quicksight/commands/ListIAMPolicyAssignmentsForUserCommand.ts +++ b/clients/client-quicksight/commands/ListIAMPolicyAssignmentsForUserCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIAMPolicyAssignmentsForUserCommandInput = ListIAMPolicyAssignmentsForUserRequest; @@ -70,7 +70,7 @@ export class ListIAMPolicyAssignmentsForUserCommand extends $Command< private serialize( input: ListIAMPolicyAssignmentsForUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListIAMPolicyAssignmentsForUserCommand( input, @@ -80,7 +80,7 @@ export class ListIAMPolicyAssignmentsForUserCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListIAMPolicyAssignmentsForUserCommand( output, diff --git a/clients/client-quicksight/commands/ListIngestionsCommand.ts b/clients/client-quicksight/commands/ListIngestionsCommand.ts index ba86d90a66f2..f6398dab8983 100644 --- a/clients/client-quicksight/commands/ListIngestionsCommand.ts +++ b/clients/client-quicksight/commands/ListIngestionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIngestionsCommandInput = ListIngestionsRequest; @@ -64,14 +64,14 @@ export class ListIngestionsCommand extends $Command< private serialize( input: ListIngestionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListIngestionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListIngestionsCommand(output, context); } diff --git a/clients/client-quicksight/commands/ListTagsForResourceCommand.ts b/clients/client-quicksight/commands/ListTagsForResourceCommand.ts index 473de17817fd..e1f4826c0c00 100644 --- a/clients/client-quicksight/commands/ListTagsForResourceCommand.ts +++ b/clients/client-quicksight/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts b/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts index c17bfcc3fbeb..df6d4ee888bb 100644 --- a/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts +++ b/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTemplateAliasesCommandInput = ListTemplateAliasesRequest; @@ -70,14 +70,14 @@ export class ListTemplateAliasesCommand extends $Command< private serialize( input: ListTemplateAliasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTemplateAliasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTemplateAliasesCommand( output, diff --git a/clients/client-quicksight/commands/ListTemplateVersionsCommand.ts b/clients/client-quicksight/commands/ListTemplateVersionsCommand.ts index 419ee1eec028..1d8846fdb0fa 100644 --- a/clients/client-quicksight/commands/ListTemplateVersionsCommand.ts +++ b/clients/client-quicksight/commands/ListTemplateVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTemplateVersionsCommandInput = ListTemplateVersionsRequest; @@ -70,14 +70,14 @@ export class ListTemplateVersionsCommand extends $Command< private serialize( input: ListTemplateVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTemplateVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTemplateVersionsCommand( output, diff --git a/clients/client-quicksight/commands/ListTemplatesCommand.ts b/clients/client-quicksight/commands/ListTemplatesCommand.ts index 22f2df8c38dd..7f6509dcfb6d 100644 --- a/clients/client-quicksight/commands/ListTemplatesCommand.ts +++ b/clients/client-quicksight/commands/ListTemplatesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTemplatesCommandInput = ListTemplatesRequest; @@ -64,14 +64,14 @@ export class ListTemplatesCommand extends $Command< private serialize( input: ListTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTemplatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTemplatesCommand(output, context); } diff --git a/clients/client-quicksight/commands/ListUserGroupsCommand.ts b/clients/client-quicksight/commands/ListUserGroupsCommand.ts index 9f7e2d2a177c..1b6152103992 100644 --- a/clients/client-quicksight/commands/ListUserGroupsCommand.ts +++ b/clients/client-quicksight/commands/ListUserGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUserGroupsCommandInput = ListUserGroupsRequest; @@ -64,14 +64,14 @@ export class ListUserGroupsCommand extends $Command< private serialize( input: ListUserGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListUserGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListUserGroupsCommand(output, context); } diff --git a/clients/client-quicksight/commands/ListUsersCommand.ts b/clients/client-quicksight/commands/ListUsersCommand.ts index 306306df6f5a..20d9963852b5 100644 --- a/clients/client-quicksight/commands/ListUsersCommand.ts +++ b/clients/client-quicksight/commands/ListUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUsersCommandInput = ListUsersRequest; @@ -64,14 +64,14 @@ export class ListUsersCommand extends $Command< private serialize( input: ListUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListUsersCommand(output, context); } diff --git a/clients/client-quicksight/commands/RegisterUserCommand.ts b/clients/client-quicksight/commands/RegisterUserCommand.ts index 9c34f015ff8a..9a0781c0f923 100644 --- a/clients/client-quicksight/commands/RegisterUserCommand.ts +++ b/clients/client-quicksight/commands/RegisterUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterUserCommandInput = RegisterUserRequest; @@ -64,14 +64,14 @@ export class RegisterUserCommand extends $Command< private serialize( input: RegisterUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RegisterUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RegisterUserCommand(output, context); } diff --git a/clients/client-quicksight/commands/TagResourceCommand.ts b/clients/client-quicksight/commands/TagResourceCommand.ts index 0cb64675e9ac..d7b96919b5d7 100644 --- a/clients/client-quicksight/commands/TagResourceCommand.ts +++ b/clients/client-quicksight/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-quicksight/commands/UntagResourceCommand.ts b/clients/client-quicksight/commands/UntagResourceCommand.ts index 5da18cf93986..c31cc95d9ee6 100644 --- a/clients/client-quicksight/commands/UntagResourceCommand.ts +++ b/clients/client-quicksight/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-quicksight/commands/UpdateDashboardCommand.ts b/clients/client-quicksight/commands/UpdateDashboardCommand.ts index 298673a7e459..4ca9db7c34b4 100644 --- a/clients/client-quicksight/commands/UpdateDashboardCommand.ts +++ b/clients/client-quicksight/commands/UpdateDashboardCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDashboardCommandInput = UpdateDashboardRequest; @@ -67,14 +67,14 @@ export class UpdateDashboardCommand extends $Command< private serialize( input: UpdateDashboardCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDashboardCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDashboardCommand(output, context); } diff --git a/clients/client-quicksight/commands/UpdateDashboardPermissionsCommand.ts b/clients/client-quicksight/commands/UpdateDashboardPermissionsCommand.ts index 2130ac38697c..41e8ea4a82e6 100644 --- a/clients/client-quicksight/commands/UpdateDashboardPermissionsCommand.ts +++ b/clients/client-quicksight/commands/UpdateDashboardPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDashboardPermissionsCommandInput = UpdateDashboardPermissionsRequest; @@ -70,7 +70,7 @@ export class UpdateDashboardPermissionsCommand extends $Command< private serialize( input: UpdateDashboardPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDashboardPermissionsCommand( input, @@ -80,7 +80,7 @@ export class UpdateDashboardPermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDashboardPermissionsCommand( output, diff --git a/clients/client-quicksight/commands/UpdateDashboardPublishedVersionCommand.ts b/clients/client-quicksight/commands/UpdateDashboardPublishedVersionCommand.ts index bc7bc6de1ead..fde9411e0e72 100644 --- a/clients/client-quicksight/commands/UpdateDashboardPublishedVersionCommand.ts +++ b/clients/client-quicksight/commands/UpdateDashboardPublishedVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDashboardPublishedVersionCommandInput = UpdateDashboardPublishedVersionRequest; @@ -70,7 +70,7 @@ export class UpdateDashboardPublishedVersionCommand extends $Command< private serialize( input: UpdateDashboardPublishedVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDashboardPublishedVersionCommand( input, @@ -80,7 +80,7 @@ export class UpdateDashboardPublishedVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDashboardPublishedVersionCommand( output, diff --git a/clients/client-quicksight/commands/UpdateDataSetCommand.ts b/clients/client-quicksight/commands/UpdateDataSetCommand.ts index e3d259827b85..cbe1f1772c61 100644 --- a/clients/client-quicksight/commands/UpdateDataSetCommand.ts +++ b/clients/client-quicksight/commands/UpdateDataSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDataSetCommandInput = UpdateDataSetRequest; @@ -64,14 +64,14 @@ export class UpdateDataSetCommand extends $Command< private serialize( input: UpdateDataSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDataSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDataSetCommand(output, context); } diff --git a/clients/client-quicksight/commands/UpdateDataSetPermissionsCommand.ts b/clients/client-quicksight/commands/UpdateDataSetPermissionsCommand.ts index 2ebb9c13d93a..60d71655beae 100644 --- a/clients/client-quicksight/commands/UpdateDataSetPermissionsCommand.ts +++ b/clients/client-quicksight/commands/UpdateDataSetPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDataSetPermissionsCommandInput = UpdateDataSetPermissionsRequest; @@ -70,7 +70,7 @@ export class UpdateDataSetPermissionsCommand extends $Command< private serialize( input: UpdateDataSetPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDataSetPermissionsCommand( input, @@ -80,7 +80,7 @@ export class UpdateDataSetPermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDataSetPermissionsCommand( output, diff --git a/clients/client-quicksight/commands/UpdateDataSourceCommand.ts b/clients/client-quicksight/commands/UpdateDataSourceCommand.ts index 8d26e1fb243e..27f7fc251c0b 100644 --- a/clients/client-quicksight/commands/UpdateDataSourceCommand.ts +++ b/clients/client-quicksight/commands/UpdateDataSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDataSourceCommandInput = UpdateDataSourceRequest; @@ -67,14 +67,14 @@ export class UpdateDataSourceCommand extends $Command< private serialize( input: UpdateDataSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDataSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDataSourceCommand(output, context); } diff --git a/clients/client-quicksight/commands/UpdateDataSourcePermissionsCommand.ts b/clients/client-quicksight/commands/UpdateDataSourcePermissionsCommand.ts index 43027696df23..ad7d15388841 100644 --- a/clients/client-quicksight/commands/UpdateDataSourcePermissionsCommand.ts +++ b/clients/client-quicksight/commands/UpdateDataSourcePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDataSourcePermissionsCommandInput = UpdateDataSourcePermissionsRequest; @@ -70,7 +70,7 @@ export class UpdateDataSourcePermissionsCommand extends $Command< private serialize( input: UpdateDataSourcePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDataSourcePermissionsCommand( input, @@ -80,7 +80,7 @@ export class UpdateDataSourcePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDataSourcePermissionsCommand( output, diff --git a/clients/client-quicksight/commands/UpdateGroupCommand.ts b/clients/client-quicksight/commands/UpdateGroupCommand.ts index f0d2b75c1c6c..47e827eee805 100644 --- a/clients/client-quicksight/commands/UpdateGroupCommand.ts +++ b/clients/client-quicksight/commands/UpdateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGroupCommandInput = UpdateGroupRequest; @@ -64,14 +64,14 @@ export class UpdateGroupCommand extends $Command< private serialize( input: UpdateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateGroupCommand(output, context); } diff --git a/clients/client-quicksight/commands/UpdateIAMPolicyAssignmentCommand.ts b/clients/client-quicksight/commands/UpdateIAMPolicyAssignmentCommand.ts index 508375b59789..140e651dd2b9 100644 --- a/clients/client-quicksight/commands/UpdateIAMPolicyAssignmentCommand.ts +++ b/clients/client-quicksight/commands/UpdateIAMPolicyAssignmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIAMPolicyAssignmentCommandInput = UpdateIAMPolicyAssignmentRequest; @@ -70,7 +70,7 @@ export class UpdateIAMPolicyAssignmentCommand extends $Command< private serialize( input: UpdateIAMPolicyAssignmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateIAMPolicyAssignmentCommand( input, @@ -80,7 +80,7 @@ export class UpdateIAMPolicyAssignmentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateIAMPolicyAssignmentCommand( output, diff --git a/clients/client-quicksight/commands/UpdateTemplateAliasCommand.ts b/clients/client-quicksight/commands/UpdateTemplateAliasCommand.ts index d6489ffd0087..5e641564ee96 100644 --- a/clients/client-quicksight/commands/UpdateTemplateAliasCommand.ts +++ b/clients/client-quicksight/commands/UpdateTemplateAliasCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTemplateAliasCommandInput = UpdateTemplateAliasRequest; @@ -70,14 +70,14 @@ export class UpdateTemplateAliasCommand extends $Command< private serialize( input: UpdateTemplateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateTemplateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateTemplateAliasCommand( output, diff --git a/clients/client-quicksight/commands/UpdateTemplateCommand.ts b/clients/client-quicksight/commands/UpdateTemplateCommand.ts index 49f29ee7c3a0..a7d4880b3229 100644 --- a/clients/client-quicksight/commands/UpdateTemplateCommand.ts +++ b/clients/client-quicksight/commands/UpdateTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTemplateCommandInput = UpdateTemplateRequest; @@ -64,14 +64,14 @@ export class UpdateTemplateCommand extends $Command< private serialize( input: UpdateTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateTemplateCommand(output, context); } diff --git a/clients/client-quicksight/commands/UpdateTemplatePermissionsCommand.ts b/clients/client-quicksight/commands/UpdateTemplatePermissionsCommand.ts index 93ffdde0145f..396e37d0dfda 100644 --- a/clients/client-quicksight/commands/UpdateTemplatePermissionsCommand.ts +++ b/clients/client-quicksight/commands/UpdateTemplatePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTemplatePermissionsCommandInput = UpdateTemplatePermissionsRequest; @@ -70,7 +70,7 @@ export class UpdateTemplatePermissionsCommand extends $Command< private serialize( input: UpdateTemplatePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateTemplatePermissionsCommand( input, @@ -80,7 +80,7 @@ export class UpdateTemplatePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateTemplatePermissionsCommand( output, diff --git a/clients/client-quicksight/commands/UpdateUserCommand.ts b/clients/client-quicksight/commands/UpdateUserCommand.ts index 20603b03e63d..90ccfe2d7044 100644 --- a/clients/client-quicksight/commands/UpdateUserCommand.ts +++ b/clients/client-quicksight/commands/UpdateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserCommandInput = UpdateUserRequest; @@ -64,14 +64,14 @@ export class UpdateUserCommand extends $Command< private serialize( input: UpdateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUserCommand(output, context); } diff --git a/clients/client-quicksight/protocols/Aws_restJson1_1.ts b/clients/client-quicksight/protocols/Aws_restJson1_1.ts index 9911818c7914..692219c21277 100644 --- a/clients/client-quicksight/protocols/Aws_restJson1_1.ts +++ b/clients/client-quicksight/protocols/Aws_restJson1_1.ts @@ -15061,6 +15061,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-ram/commands/AcceptResourceShareInvitationCommand.ts b/clients/client-ram/commands/AcceptResourceShareInvitationCommand.ts index e67d0e750c8d..6a49200266c9 100644 --- a/clients/client-ram/commands/AcceptResourceShareInvitationCommand.ts +++ b/clients/client-ram/commands/AcceptResourceShareInvitationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptResourceShareInvitationCommandInput = AcceptResourceShareInvitationRequest; @@ -70,7 +70,7 @@ export class AcceptResourceShareInvitationCommand extends $Command< private serialize( input: AcceptResourceShareInvitationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AcceptResourceShareInvitationCommand( input, @@ -80,7 +80,7 @@ export class AcceptResourceShareInvitationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AcceptResourceShareInvitationCommand( output, diff --git a/clients/client-ram/commands/AssociateResourceShareCommand.ts b/clients/client-ram/commands/AssociateResourceShareCommand.ts index 29395c4c66b6..4d5bc14de740 100644 --- a/clients/client-ram/commands/AssociateResourceShareCommand.ts +++ b/clients/client-ram/commands/AssociateResourceShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateResourceShareCommandInput = AssociateResourceShareRequest; @@ -70,7 +70,7 @@ export class AssociateResourceShareCommand extends $Command< private serialize( input: AssociateResourceShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateResourceShareCommand( input, @@ -80,7 +80,7 @@ export class AssociateResourceShareCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateResourceShareCommand( output, diff --git a/clients/client-ram/commands/AssociateResourceSharePermissionCommand.ts b/clients/client-ram/commands/AssociateResourceSharePermissionCommand.ts index fd3922c3dfb9..59f62214e691 100644 --- a/clients/client-ram/commands/AssociateResourceSharePermissionCommand.ts +++ b/clients/client-ram/commands/AssociateResourceSharePermissionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateResourceSharePermissionCommandInput = AssociateResourceSharePermissionRequest; @@ -70,7 +70,7 @@ export class AssociateResourceSharePermissionCommand extends $Command< private serialize( input: AssociateResourceSharePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateResourceSharePermissionCommand( input, @@ -80,7 +80,7 @@ export class AssociateResourceSharePermissionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateResourceSharePermissionCommand( output, diff --git a/clients/client-ram/commands/CreateResourceShareCommand.ts b/clients/client-ram/commands/CreateResourceShareCommand.ts index c7ca84074404..a42d50e2fb77 100644 --- a/clients/client-ram/commands/CreateResourceShareCommand.ts +++ b/clients/client-ram/commands/CreateResourceShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateResourceShareCommandInput = CreateResourceShareRequest; @@ -70,14 +70,14 @@ export class CreateResourceShareCommand extends $Command< private serialize( input: CreateResourceShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateResourceShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateResourceShareCommand( output, diff --git a/clients/client-ram/commands/DeleteResourceShareCommand.ts b/clients/client-ram/commands/DeleteResourceShareCommand.ts index 916ada7e6535..6f8b833c412d 100644 --- a/clients/client-ram/commands/DeleteResourceShareCommand.ts +++ b/clients/client-ram/commands/DeleteResourceShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResourceShareCommandInput = DeleteResourceShareRequest; @@ -70,14 +70,14 @@ export class DeleteResourceShareCommand extends $Command< private serialize( input: DeleteResourceShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteResourceShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteResourceShareCommand( output, diff --git a/clients/client-ram/commands/DisassociateResourceShareCommand.ts b/clients/client-ram/commands/DisassociateResourceShareCommand.ts index d31c1bd926f9..b65dd395ad39 100644 --- a/clients/client-ram/commands/DisassociateResourceShareCommand.ts +++ b/clients/client-ram/commands/DisassociateResourceShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateResourceShareCommandInput = DisassociateResourceShareRequest; @@ -70,7 +70,7 @@ export class DisassociateResourceShareCommand extends $Command< private serialize( input: DisassociateResourceShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateResourceShareCommand( input, @@ -80,7 +80,7 @@ export class DisassociateResourceShareCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateResourceShareCommand( output, diff --git a/clients/client-ram/commands/DisassociateResourceSharePermissionCommand.ts b/clients/client-ram/commands/DisassociateResourceSharePermissionCommand.ts index 4cfae98d6a1f..6474508359a4 100644 --- a/clients/client-ram/commands/DisassociateResourceSharePermissionCommand.ts +++ b/clients/client-ram/commands/DisassociateResourceSharePermissionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateResourceSharePermissionCommandInput = DisassociateResourceSharePermissionRequest; @@ -70,7 +70,7 @@ export class DisassociateResourceSharePermissionCommand extends $Command< private serialize( input: DisassociateResourceSharePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateResourceSharePermissionCommand( input, @@ -80,7 +80,7 @@ export class DisassociateResourceSharePermissionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateResourceSharePermissionCommand( output, diff --git a/clients/client-ram/commands/EnableSharingWithAwsOrganizationCommand.ts b/clients/client-ram/commands/EnableSharingWithAwsOrganizationCommand.ts index 731b3ac58183..2c95165c5385 100644 --- a/clients/client-ram/commands/EnableSharingWithAwsOrganizationCommand.ts +++ b/clients/client-ram/commands/EnableSharingWithAwsOrganizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableSharingWithAwsOrganizationCommandInput = EnableSharingWithAwsOrganizationRequest; @@ -70,7 +70,7 @@ export class EnableSharingWithAwsOrganizationCommand extends $Command< private serialize( input: EnableSharingWithAwsOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1EnableSharingWithAwsOrganizationCommand( input, @@ -80,7 +80,7 @@ export class EnableSharingWithAwsOrganizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1EnableSharingWithAwsOrganizationCommand( output, diff --git a/clients/client-ram/commands/GetPermissionCommand.ts b/clients/client-ram/commands/GetPermissionCommand.ts index ac6d675e27c2..000dcac36bc3 100644 --- a/clients/client-ram/commands/GetPermissionCommand.ts +++ b/clients/client-ram/commands/GetPermissionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPermissionCommandInput = GetPermissionRequest; @@ -64,14 +64,14 @@ export class GetPermissionCommand extends $Command< private serialize( input: GetPermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetPermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetPermissionCommand(output, context); } diff --git a/clients/client-ram/commands/GetResourcePoliciesCommand.ts b/clients/client-ram/commands/GetResourcePoliciesCommand.ts index 6a8b3c990408..d7a6da323b2a 100644 --- a/clients/client-ram/commands/GetResourcePoliciesCommand.ts +++ b/clients/client-ram/commands/GetResourcePoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourcePoliciesCommandInput = GetResourcePoliciesRequest; @@ -70,14 +70,14 @@ export class GetResourcePoliciesCommand extends $Command< private serialize( input: GetResourcePoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetResourcePoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetResourcePoliciesCommand( output, diff --git a/clients/client-ram/commands/GetResourceShareAssociationsCommand.ts b/clients/client-ram/commands/GetResourceShareAssociationsCommand.ts index 365f639f0e78..783cbda7ca70 100644 --- a/clients/client-ram/commands/GetResourceShareAssociationsCommand.ts +++ b/clients/client-ram/commands/GetResourceShareAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourceShareAssociationsCommandInput = GetResourceShareAssociationsRequest; @@ -70,7 +70,7 @@ export class GetResourceShareAssociationsCommand extends $Command< private serialize( input: GetResourceShareAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetResourceShareAssociationsCommand( input, @@ -80,7 +80,7 @@ export class GetResourceShareAssociationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetResourceShareAssociationsCommand( output, diff --git a/clients/client-ram/commands/GetResourceShareInvitationsCommand.ts b/clients/client-ram/commands/GetResourceShareInvitationsCommand.ts index f382a85222ee..3ab8a95b221c 100644 --- a/clients/client-ram/commands/GetResourceShareInvitationsCommand.ts +++ b/clients/client-ram/commands/GetResourceShareInvitationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourceShareInvitationsCommandInput = GetResourceShareInvitationsRequest; @@ -70,7 +70,7 @@ export class GetResourceShareInvitationsCommand extends $Command< private serialize( input: GetResourceShareInvitationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetResourceShareInvitationsCommand( input, @@ -80,7 +80,7 @@ export class GetResourceShareInvitationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetResourceShareInvitationsCommand( output, diff --git a/clients/client-ram/commands/GetResourceSharesCommand.ts b/clients/client-ram/commands/GetResourceSharesCommand.ts index 8b0cac021b8d..11aad05c95db 100644 --- a/clients/client-ram/commands/GetResourceSharesCommand.ts +++ b/clients/client-ram/commands/GetResourceSharesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourceSharesCommandInput = GetResourceSharesRequest; @@ -67,14 +67,14 @@ export class GetResourceSharesCommand extends $Command< private serialize( input: GetResourceSharesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetResourceSharesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetResourceSharesCommand(output, context); } diff --git a/clients/client-ram/commands/ListPendingInvitationResourcesCommand.ts b/clients/client-ram/commands/ListPendingInvitationResourcesCommand.ts index 3492c5437565..d73167e1ce1b 100644 --- a/clients/client-ram/commands/ListPendingInvitationResourcesCommand.ts +++ b/clients/client-ram/commands/ListPendingInvitationResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPendingInvitationResourcesCommandInput = ListPendingInvitationResourcesRequest; @@ -70,7 +70,7 @@ export class ListPendingInvitationResourcesCommand extends $Command< private serialize( input: ListPendingInvitationResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPendingInvitationResourcesCommand( input, @@ -80,7 +80,7 @@ export class ListPendingInvitationResourcesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPendingInvitationResourcesCommand( output, diff --git a/clients/client-ram/commands/ListPermissionsCommand.ts b/clients/client-ram/commands/ListPermissionsCommand.ts index 9b8dcde122e8..06228a9e42ba 100644 --- a/clients/client-ram/commands/ListPermissionsCommand.ts +++ b/clients/client-ram/commands/ListPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPermissionsCommandInput = ListPermissionsRequest; @@ -67,14 +67,14 @@ export class ListPermissionsCommand extends $Command< private serialize( input: ListPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPermissionsCommand(output, context); } diff --git a/clients/client-ram/commands/ListPrincipalsCommand.ts b/clients/client-ram/commands/ListPrincipalsCommand.ts index df7cbb4378ca..3e8f9bb34aaf 100644 --- a/clients/client-ram/commands/ListPrincipalsCommand.ts +++ b/clients/client-ram/commands/ListPrincipalsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPrincipalsCommandInput = ListPrincipalsRequest; @@ -64,14 +64,14 @@ export class ListPrincipalsCommand extends $Command< private serialize( input: ListPrincipalsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListPrincipalsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListPrincipalsCommand(output, context); } diff --git a/clients/client-ram/commands/ListResourceSharePermissionsCommand.ts b/clients/client-ram/commands/ListResourceSharePermissionsCommand.ts index ac1ce963010e..2b2825a2428e 100644 --- a/clients/client-ram/commands/ListResourceSharePermissionsCommand.ts +++ b/clients/client-ram/commands/ListResourceSharePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourceSharePermissionsCommandInput = ListResourceSharePermissionsRequest; @@ -70,7 +70,7 @@ export class ListResourceSharePermissionsCommand extends $Command< private serialize( input: ListResourceSharePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListResourceSharePermissionsCommand( input, @@ -80,7 +80,7 @@ export class ListResourceSharePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListResourceSharePermissionsCommand( output, diff --git a/clients/client-ram/commands/ListResourcesCommand.ts b/clients/client-ram/commands/ListResourcesCommand.ts index 27190cd1b204..5ad2aec088ef 100644 --- a/clients/client-ram/commands/ListResourcesCommand.ts +++ b/clients/client-ram/commands/ListResourcesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourcesCommandInput = ListResourcesRequest; @@ -64,14 +64,14 @@ export class ListResourcesCommand extends $Command< private serialize( input: ListResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListResourcesCommand(output, context); } diff --git a/clients/client-ram/commands/PromoteResourceShareCreatedFromPolicyCommand.ts b/clients/client-ram/commands/PromoteResourceShareCreatedFromPolicyCommand.ts index 6194ffaef2fe..1fde387bc8c2 100644 --- a/clients/client-ram/commands/PromoteResourceShareCreatedFromPolicyCommand.ts +++ b/clients/client-ram/commands/PromoteResourceShareCreatedFromPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PromoteResourceShareCreatedFromPolicyCommandInput = PromoteResourceShareCreatedFromPolicyRequest; @@ -72,7 +72,7 @@ export class PromoteResourceShareCreatedFromPolicyCommand extends $Command< private serialize( input: PromoteResourceShareCreatedFromPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PromoteResourceShareCreatedFromPolicyCommand( input, @@ -82,7 +82,7 @@ export class PromoteResourceShareCreatedFromPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PromoteResourceShareCreatedFromPolicyCommand( output, diff --git a/clients/client-ram/commands/RejectResourceShareInvitationCommand.ts b/clients/client-ram/commands/RejectResourceShareInvitationCommand.ts index b427423715aa..c339cdee1d1d 100644 --- a/clients/client-ram/commands/RejectResourceShareInvitationCommand.ts +++ b/clients/client-ram/commands/RejectResourceShareInvitationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectResourceShareInvitationCommandInput = RejectResourceShareInvitationRequest; @@ -70,7 +70,7 @@ export class RejectResourceShareInvitationCommand extends $Command< private serialize( input: RejectResourceShareInvitationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RejectResourceShareInvitationCommand( input, @@ -80,7 +80,7 @@ export class RejectResourceShareInvitationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RejectResourceShareInvitationCommand( output, diff --git a/clients/client-ram/commands/TagResourceCommand.ts b/clients/client-ram/commands/TagResourceCommand.ts index 9732de099ed0..257086cfaaa4 100644 --- a/clients/client-ram/commands/TagResourceCommand.ts +++ b/clients/client-ram/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-ram/commands/UntagResourceCommand.ts b/clients/client-ram/commands/UntagResourceCommand.ts index 896bebcf8753..fc808003a38c 100644 --- a/clients/client-ram/commands/UntagResourceCommand.ts +++ b/clients/client-ram/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-ram/commands/UpdateResourceShareCommand.ts b/clients/client-ram/commands/UpdateResourceShareCommand.ts index 5c2c43264164..0128854584dc 100644 --- a/clients/client-ram/commands/UpdateResourceShareCommand.ts +++ b/clients/client-ram/commands/UpdateResourceShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateResourceShareCommandInput = UpdateResourceShareRequest; @@ -70,14 +70,14 @@ export class UpdateResourceShareCommand extends $Command< private serialize( input: UpdateResourceShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateResourceShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateResourceShareCommand( output, diff --git a/clients/client-ram/protocols/Aws_restJson1_1.ts b/clients/client-ram/protocols/Aws_restJson1_1.ts index cae6f7ad29a8..b96627403542 100644 --- a/clients/client-ram/protocols/Aws_restJson1_1.ts +++ b/clients/client-ram/protocols/Aws_restJson1_1.ts @@ -4234,6 +4234,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-rds-data/commands/BatchExecuteStatementCommand.ts b/clients/client-rds-data/commands/BatchExecuteStatementCommand.ts index d63421c4cfeb..94f807c22116 100644 --- a/clients/client-rds-data/commands/BatchExecuteStatementCommand.ts +++ b/clients/client-rds-data/commands/BatchExecuteStatementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchExecuteStatementCommandInput = BatchExecuteStatementRequest; @@ -70,14 +70,14 @@ export class BatchExecuteStatementCommand extends $Command< private serialize( input: BatchExecuteStatementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchExecuteStatementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchExecuteStatementCommand( output, diff --git a/clients/client-rds-data/commands/BeginTransactionCommand.ts b/clients/client-rds-data/commands/BeginTransactionCommand.ts index e18cb6290826..f7e1be618133 100644 --- a/clients/client-rds-data/commands/BeginTransactionCommand.ts +++ b/clients/client-rds-data/commands/BeginTransactionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BeginTransactionCommandInput = BeginTransactionRequest; @@ -67,14 +67,14 @@ export class BeginTransactionCommand extends $Command< private serialize( input: BeginTransactionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BeginTransactionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BeginTransactionCommand(output, context); } diff --git a/clients/client-rds-data/commands/CommitTransactionCommand.ts b/clients/client-rds-data/commands/CommitTransactionCommand.ts index 05ff1bf37a35..1f5ae38908e3 100644 --- a/clients/client-rds-data/commands/CommitTransactionCommand.ts +++ b/clients/client-rds-data/commands/CommitTransactionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CommitTransactionCommandInput = CommitTransactionRequest; @@ -67,14 +67,14 @@ export class CommitTransactionCommand extends $Command< private serialize( input: CommitTransactionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CommitTransactionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CommitTransactionCommand(output, context); } diff --git a/clients/client-rds-data/commands/ExecuteSqlCommand.ts b/clients/client-rds-data/commands/ExecuteSqlCommand.ts index b180d72576d7..584666fcf410 100644 --- a/clients/client-rds-data/commands/ExecuteSqlCommand.ts +++ b/clients/client-rds-data/commands/ExecuteSqlCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExecuteSqlCommandInput = ExecuteSqlRequest; @@ -64,14 +64,14 @@ export class ExecuteSqlCommand extends $Command< private serialize( input: ExecuteSqlCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ExecuteSqlCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ExecuteSqlCommand(output, context); } diff --git a/clients/client-rds-data/commands/ExecuteStatementCommand.ts b/clients/client-rds-data/commands/ExecuteStatementCommand.ts index 66423e12b4b4..cc6be071fdaa 100644 --- a/clients/client-rds-data/commands/ExecuteStatementCommand.ts +++ b/clients/client-rds-data/commands/ExecuteStatementCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExecuteStatementCommandInput = ExecuteStatementRequest; @@ -67,14 +67,14 @@ export class ExecuteStatementCommand extends $Command< private serialize( input: ExecuteStatementCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ExecuteStatementCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ExecuteStatementCommand(output, context); } diff --git a/clients/client-rds-data/commands/RollbackTransactionCommand.ts b/clients/client-rds-data/commands/RollbackTransactionCommand.ts index f7ba0b6dd89c..7a13f01feee6 100644 --- a/clients/client-rds-data/commands/RollbackTransactionCommand.ts +++ b/clients/client-rds-data/commands/RollbackTransactionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RollbackTransactionCommandInput = RollbackTransactionRequest; @@ -70,14 +70,14 @@ export class RollbackTransactionCommand extends $Command< private serialize( input: RollbackTransactionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RollbackTransactionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RollbackTransactionCommand( output, diff --git a/clients/client-rds-data/protocols/Aws_restJson1_1.ts b/clients/client-rds-data/protocols/Aws_restJson1_1.ts index 76b187205c47..08fddb2a8c39 100644 --- a/clients/client-rds-data/protocols/Aws_restJson1_1.ts +++ b/clients/client-rds-data/protocols/Aws_restJson1_1.ts @@ -1464,6 +1464,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-rds/commands/AddRoleToDBClusterCommand.ts b/clients/client-rds/commands/AddRoleToDBClusterCommand.ts index f70528298f49..4a7221ad72e1 100644 --- a/clients/client-rds/commands/AddRoleToDBClusterCommand.ts +++ b/clients/client-rds/commands/AddRoleToDBClusterCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddRoleToDBClusterCommandInput = AddRoleToDBClusterMessage; @@ -65,14 +65,14 @@ export class AddRoleToDBClusterCommand extends $Command< private serialize( input: AddRoleToDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddRoleToDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddRoleToDBClusterCommand(output, context); } diff --git a/clients/client-rds/commands/AddRoleToDBInstanceCommand.ts b/clients/client-rds/commands/AddRoleToDBInstanceCommand.ts index 3add68b5a32f..6a76e86abe37 100644 --- a/clients/client-rds/commands/AddRoleToDBInstanceCommand.ts +++ b/clients/client-rds/commands/AddRoleToDBInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddRoleToDBInstanceCommandInput = AddRoleToDBInstanceMessage; @@ -68,14 +68,14 @@ export class AddRoleToDBInstanceCommand extends $Command< private serialize( input: AddRoleToDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddRoleToDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddRoleToDBInstanceCommand(output, context); } diff --git a/clients/client-rds/commands/AddSourceIdentifierToSubscriptionCommand.ts b/clients/client-rds/commands/AddSourceIdentifierToSubscriptionCommand.ts index 53d7c17479fe..70e636f009c5 100644 --- a/clients/client-rds/commands/AddSourceIdentifierToSubscriptionCommand.ts +++ b/clients/client-rds/commands/AddSourceIdentifierToSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddSourceIdentifierToSubscriptionCommandInput = AddSourceIdentifierToSubscriptionMessage; @@ -70,7 +70,7 @@ export class AddSourceIdentifierToSubscriptionCommand extends $Command< private serialize( input: AddSourceIdentifierToSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddSourceIdentifierToSubscriptionCommand( input, @@ -80,7 +80,7 @@ export class AddSourceIdentifierToSubscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddSourceIdentifierToSubscriptionCommand( output, diff --git a/clients/client-rds/commands/AddTagsToResourceCommand.ts b/clients/client-rds/commands/AddTagsToResourceCommand.ts index 4bdf25911ec7..d19443c49756 100644 --- a/clients/client-rds/commands/AddTagsToResourceCommand.ts +++ b/clients/client-rds/commands/AddTagsToResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToResourceCommandInput = AddTagsToResourceMessage; @@ -65,14 +65,14 @@ export class AddTagsToResourceCommand extends $Command< private serialize( input: AddTagsToResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddTagsToResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddTagsToResourceCommand(output, context); } diff --git a/clients/client-rds/commands/ApplyPendingMaintenanceActionCommand.ts b/clients/client-rds/commands/ApplyPendingMaintenanceActionCommand.ts index fc2bec0694b8..6ab42e3787da 100644 --- a/clients/client-rds/commands/ApplyPendingMaintenanceActionCommand.ts +++ b/clients/client-rds/commands/ApplyPendingMaintenanceActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ApplyPendingMaintenanceActionCommandInput = ApplyPendingMaintenanceActionMessage; @@ -70,7 +70,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< private serialize( input: ApplyPendingMaintenanceActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryApplyPendingMaintenanceActionCommand( input, @@ -80,7 +80,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryApplyPendingMaintenanceActionCommand( output, diff --git a/clients/client-rds/commands/AuthorizeDBSecurityGroupIngressCommand.ts b/clients/client-rds/commands/AuthorizeDBSecurityGroupIngressCommand.ts index 1c06f3940aad..0dccd55c7e7e 100644 --- a/clients/client-rds/commands/AuthorizeDBSecurityGroupIngressCommand.ts +++ b/clients/client-rds/commands/AuthorizeDBSecurityGroupIngressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AuthorizeDBSecurityGroupIngressCommandInput = AuthorizeDBSecurityGroupIngressMessage; @@ -70,7 +70,7 @@ export class AuthorizeDBSecurityGroupIngressCommand extends $Command< private serialize( input: AuthorizeDBSecurityGroupIngressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAuthorizeDBSecurityGroupIngressCommand( input, @@ -80,7 +80,7 @@ export class AuthorizeDBSecurityGroupIngressCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAuthorizeDBSecurityGroupIngressCommand( output, diff --git a/clients/client-rds/commands/BacktrackDBClusterCommand.ts b/clients/client-rds/commands/BacktrackDBClusterCommand.ts index 84c9158ff286..5e9fffe78f86 100644 --- a/clients/client-rds/commands/BacktrackDBClusterCommand.ts +++ b/clients/client-rds/commands/BacktrackDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BacktrackDBClusterCommandInput = BacktrackDBClusterMessage; @@ -64,14 +64,14 @@ export class BacktrackDBClusterCommand extends $Command< private serialize( input: BacktrackDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryBacktrackDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryBacktrackDBClusterCommand(output, context); } diff --git a/clients/client-rds/commands/CopyDBClusterParameterGroupCommand.ts b/clients/client-rds/commands/CopyDBClusterParameterGroupCommand.ts index 57a22f63e172..453e09e5819f 100644 --- a/clients/client-rds/commands/CopyDBClusterParameterGroupCommand.ts +++ b/clients/client-rds/commands/CopyDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyDBClusterParameterGroupCommandInput = CopyDBClusterParameterGroupMessage; @@ -70,14 +70,14 @@ export class CopyDBClusterParameterGroupCommand extends $Command< private serialize( input: CopyDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopyDBClusterParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopyDBClusterParameterGroupCommand( output, diff --git a/clients/client-rds/commands/CopyDBClusterSnapshotCommand.ts b/clients/client-rds/commands/CopyDBClusterSnapshotCommand.ts index 85a48b391470..8914c67b6a12 100644 --- a/clients/client-rds/commands/CopyDBClusterSnapshotCommand.ts +++ b/clients/client-rds/commands/CopyDBClusterSnapshotCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyDBClusterSnapshotCommandInput = CopyDBClusterSnapshotMessage; @@ -72,14 +72,14 @@ export class CopyDBClusterSnapshotCommand extends $Command< private serialize( input: CopyDBClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopyDBClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopyDBClusterSnapshotCommand(output, context); } diff --git a/clients/client-rds/commands/CopyDBParameterGroupCommand.ts b/clients/client-rds/commands/CopyDBParameterGroupCommand.ts index 8e4d7e2ef223..06a42af5ccbf 100644 --- a/clients/client-rds/commands/CopyDBParameterGroupCommand.ts +++ b/clients/client-rds/commands/CopyDBParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyDBParameterGroupCommandInput = CopyDBParameterGroupMessage; @@ -70,14 +70,14 @@ export class CopyDBParameterGroupCommand extends $Command< private serialize( input: CopyDBParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopyDBParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopyDBParameterGroupCommand(output, context); } diff --git a/clients/client-rds/commands/CopyDBSnapshotCommand.ts b/clients/client-rds/commands/CopyDBSnapshotCommand.ts index 0a285dabb0ee..ec036623e5ac 100644 --- a/clients/client-rds/commands/CopyDBSnapshotCommand.ts +++ b/clients/client-rds/commands/CopyDBSnapshotCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyDBSnapshotCommandInput = CopyDBSnapshotMessage; @@ -66,14 +66,14 @@ export class CopyDBSnapshotCommand extends $Command< private serialize( input: CopyDBSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopyDBSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopyDBSnapshotCommand(output, context); } diff --git a/clients/client-rds/commands/CopyOptionGroupCommand.ts b/clients/client-rds/commands/CopyOptionGroupCommand.ts index 51a004dd41ab..b5947426c6f4 100644 --- a/clients/client-rds/commands/CopyOptionGroupCommand.ts +++ b/clients/client-rds/commands/CopyOptionGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyOptionGroupCommandInput = CopyOptionGroupMessage; @@ -64,14 +64,14 @@ export class CopyOptionGroupCommand extends $Command< private serialize( input: CopyOptionGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopyOptionGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopyOptionGroupCommand(output, context); } diff --git a/clients/client-rds/commands/CreateCustomAvailabilityZoneCommand.ts b/clients/client-rds/commands/CreateCustomAvailabilityZoneCommand.ts index d8e98317082d..61686af592b4 100644 --- a/clients/client-rds/commands/CreateCustomAvailabilityZoneCommand.ts +++ b/clients/client-rds/commands/CreateCustomAvailabilityZoneCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCustomAvailabilityZoneCommandInput = CreateCustomAvailabilityZoneMessage; @@ -70,7 +70,7 @@ export class CreateCustomAvailabilityZoneCommand extends $Command< private serialize( input: CreateCustomAvailabilityZoneCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateCustomAvailabilityZoneCommand( input, @@ -80,7 +80,7 @@ export class CreateCustomAvailabilityZoneCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateCustomAvailabilityZoneCommand( output, diff --git a/clients/client-rds/commands/CreateDBClusterCommand.ts b/clients/client-rds/commands/CreateDBClusterCommand.ts index 700317ab8ee5..697654135eb3 100644 --- a/clients/client-rds/commands/CreateDBClusterCommand.ts +++ b/clients/client-rds/commands/CreateDBClusterCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBClusterCommandInput = CreateDBClusterMessage; @@ -66,14 +66,14 @@ export class CreateDBClusterCommand extends $Command< private serialize( input: CreateDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBClusterCommand(output, context); } diff --git a/clients/client-rds/commands/CreateDBClusterEndpointCommand.ts b/clients/client-rds/commands/CreateDBClusterEndpointCommand.ts index 0a495a68e9d6..9af7f54f6186 100644 --- a/clients/client-rds/commands/CreateDBClusterEndpointCommand.ts +++ b/clients/client-rds/commands/CreateDBClusterEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBClusterEndpointCommandInput = CreateDBClusterEndpointMessage; @@ -70,14 +70,14 @@ export class CreateDBClusterEndpointCommand extends $Command< private serialize( input: CreateDBClusterEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBClusterEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBClusterEndpointCommand(output, context); } diff --git a/clients/client-rds/commands/CreateDBClusterParameterGroupCommand.ts b/clients/client-rds/commands/CreateDBClusterParameterGroupCommand.ts index 4bf295837e08..e34c782d4efd 100644 --- a/clients/client-rds/commands/CreateDBClusterParameterGroupCommand.ts +++ b/clients/client-rds/commands/CreateDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBClusterParameterGroupCommandInput = CreateDBClusterParameterGroupMessage; @@ -70,7 +70,7 @@ export class CreateDBClusterParameterGroupCommand extends $Command< private serialize( input: CreateDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBClusterParameterGroupCommand( input, @@ -80,7 +80,7 @@ export class CreateDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBClusterParameterGroupCommand( output, diff --git a/clients/client-rds/commands/CreateDBClusterSnapshotCommand.ts b/clients/client-rds/commands/CreateDBClusterSnapshotCommand.ts index 86022203bae4..d458b1cfddd7 100644 --- a/clients/client-rds/commands/CreateDBClusterSnapshotCommand.ts +++ b/clients/client-rds/commands/CreateDBClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBClusterSnapshotCommandInput = CreateDBClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class CreateDBClusterSnapshotCommand extends $Command< private serialize( input: CreateDBClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBClusterSnapshotCommand(output, context); } diff --git a/clients/client-rds/commands/CreateDBInstanceCommand.ts b/clients/client-rds/commands/CreateDBInstanceCommand.ts index 8bfe3b736547..c124d2ee4b08 100644 --- a/clients/client-rds/commands/CreateDBInstanceCommand.ts +++ b/clients/client-rds/commands/CreateDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBInstanceCommandInput = CreateDBInstanceMessage; @@ -67,14 +67,14 @@ export class CreateDBInstanceCommand extends $Command< private serialize( input: CreateDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBInstanceCommand(output, context); } diff --git a/clients/client-rds/commands/CreateDBInstanceReadReplicaCommand.ts b/clients/client-rds/commands/CreateDBInstanceReadReplicaCommand.ts index 660ec7f210c8..59853e18d3d0 100644 --- a/clients/client-rds/commands/CreateDBInstanceReadReplicaCommand.ts +++ b/clients/client-rds/commands/CreateDBInstanceReadReplicaCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBInstanceReadReplicaCommandInput = CreateDBInstanceReadReplicaMessage; @@ -72,14 +72,14 @@ export class CreateDBInstanceReadReplicaCommand extends $Command< private serialize( input: CreateDBInstanceReadReplicaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBInstanceReadReplicaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBInstanceReadReplicaCommand( output, diff --git a/clients/client-rds/commands/CreateDBParameterGroupCommand.ts b/clients/client-rds/commands/CreateDBParameterGroupCommand.ts index e014d291ecee..ea24b4858813 100644 --- a/clients/client-rds/commands/CreateDBParameterGroupCommand.ts +++ b/clients/client-rds/commands/CreateDBParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBParameterGroupCommandInput = CreateDBParameterGroupMessage; @@ -70,14 +70,14 @@ export class CreateDBParameterGroupCommand extends $Command< private serialize( input: CreateDBParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBParameterGroupCommand(output, context); } diff --git a/clients/client-rds/commands/CreateDBProxyCommand.ts b/clients/client-rds/commands/CreateDBProxyCommand.ts index 997aa2e6f5c9..261cb529a847 100644 --- a/clients/client-rds/commands/CreateDBProxyCommand.ts +++ b/clients/client-rds/commands/CreateDBProxyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBProxyCommandInput = CreateDBProxyRequest; @@ -64,14 +64,14 @@ export class CreateDBProxyCommand extends $Command< private serialize( input: CreateDBProxyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBProxyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBProxyCommand(output, context); } diff --git a/clients/client-rds/commands/CreateDBSecurityGroupCommand.ts b/clients/client-rds/commands/CreateDBSecurityGroupCommand.ts index 1f54f7ced5bd..43f4cb0a612c 100644 --- a/clients/client-rds/commands/CreateDBSecurityGroupCommand.ts +++ b/clients/client-rds/commands/CreateDBSecurityGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBSecurityGroupCommandInput = CreateDBSecurityGroupMessage; @@ -70,14 +70,14 @@ export class CreateDBSecurityGroupCommand extends $Command< private serialize( input: CreateDBSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBSecurityGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBSecurityGroupCommand(output, context); } diff --git a/clients/client-rds/commands/CreateDBSnapshotCommand.ts b/clients/client-rds/commands/CreateDBSnapshotCommand.ts index 4c91dc04dd11..de64ca79b33c 100644 --- a/clients/client-rds/commands/CreateDBSnapshotCommand.ts +++ b/clients/client-rds/commands/CreateDBSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBSnapshotCommandInput = CreateDBSnapshotMessage; @@ -67,14 +67,14 @@ export class CreateDBSnapshotCommand extends $Command< private serialize( input: CreateDBSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBSnapshotCommand(output, context); } diff --git a/clients/client-rds/commands/CreateDBSubnetGroupCommand.ts b/clients/client-rds/commands/CreateDBSubnetGroupCommand.ts index eb27e5ce10d3..aa08f64efa6e 100644 --- a/clients/client-rds/commands/CreateDBSubnetGroupCommand.ts +++ b/clients/client-rds/commands/CreateDBSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDBSubnetGroupCommandInput = CreateDBSubnetGroupMessage; @@ -70,14 +70,14 @@ export class CreateDBSubnetGroupCommand extends $Command< private serialize( input: CreateDBSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateDBSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateDBSubnetGroupCommand(output, context); } diff --git a/clients/client-rds/commands/CreateEventSubscriptionCommand.ts b/clients/client-rds/commands/CreateEventSubscriptionCommand.ts index e7a91a6fb956..5bdd7aee43b8 100644 --- a/clients/client-rds/commands/CreateEventSubscriptionCommand.ts +++ b/clients/client-rds/commands/CreateEventSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEventSubscriptionCommandInput = CreateEventSubscriptionMessage; @@ -70,14 +70,14 @@ export class CreateEventSubscriptionCommand extends $Command< private serialize( input: CreateEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateEventSubscriptionCommand(output, context); } diff --git a/clients/client-rds/commands/CreateGlobalClusterCommand.ts b/clients/client-rds/commands/CreateGlobalClusterCommand.ts index 2f08107ca288..f449cba1000d 100644 --- a/clients/client-rds/commands/CreateGlobalClusterCommand.ts +++ b/clients/client-rds/commands/CreateGlobalClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGlobalClusterCommandInput = CreateGlobalClusterMessage; @@ -70,14 +70,14 @@ export class CreateGlobalClusterCommand extends $Command< private serialize( input: CreateGlobalClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateGlobalClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateGlobalClusterCommand(output, context); } diff --git a/clients/client-rds/commands/CreateOptionGroupCommand.ts b/clients/client-rds/commands/CreateOptionGroupCommand.ts index 3ca7386d7f21..151176ce57b5 100644 --- a/clients/client-rds/commands/CreateOptionGroupCommand.ts +++ b/clients/client-rds/commands/CreateOptionGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateOptionGroupCommandInput = CreateOptionGroupMessage; @@ -67,14 +67,14 @@ export class CreateOptionGroupCommand extends $Command< private serialize( input: CreateOptionGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateOptionGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateOptionGroupCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteCustomAvailabilityZoneCommand.ts b/clients/client-rds/commands/DeleteCustomAvailabilityZoneCommand.ts index 8742016dc584..c3e4a0fc4dfd 100644 --- a/clients/client-rds/commands/DeleteCustomAvailabilityZoneCommand.ts +++ b/clients/client-rds/commands/DeleteCustomAvailabilityZoneCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCustomAvailabilityZoneCommandInput = DeleteCustomAvailabilityZoneMessage; @@ -70,7 +70,7 @@ export class DeleteCustomAvailabilityZoneCommand extends $Command< private serialize( input: DeleteCustomAvailabilityZoneCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteCustomAvailabilityZoneCommand( input, @@ -80,7 +80,7 @@ export class DeleteCustomAvailabilityZoneCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteCustomAvailabilityZoneCommand( output, diff --git a/clients/client-rds/commands/DeleteDBClusterCommand.ts b/clients/client-rds/commands/DeleteDBClusterCommand.ts index 0570c849e64f..5cd16cfa4503 100644 --- a/clients/client-rds/commands/DeleteDBClusterCommand.ts +++ b/clients/client-rds/commands/DeleteDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBClusterCommandInput = DeleteDBClusterMessage; @@ -64,14 +64,14 @@ export class DeleteDBClusterCommand extends $Command< private serialize( input: DeleteDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBClusterCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteDBClusterEndpointCommand.ts b/clients/client-rds/commands/DeleteDBClusterEndpointCommand.ts index a2b41cd95e68..ee35b5a594c7 100644 --- a/clients/client-rds/commands/DeleteDBClusterEndpointCommand.ts +++ b/clients/client-rds/commands/DeleteDBClusterEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBClusterEndpointCommandInput = DeleteDBClusterEndpointMessage; @@ -70,14 +70,14 @@ export class DeleteDBClusterEndpointCommand extends $Command< private serialize( input: DeleteDBClusterEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBClusterEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBClusterEndpointCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteDBClusterParameterGroupCommand.ts b/clients/client-rds/commands/DeleteDBClusterParameterGroupCommand.ts index d7692c88e877..8ed8e09a7349 100644 --- a/clients/client-rds/commands/DeleteDBClusterParameterGroupCommand.ts +++ b/clients/client-rds/commands/DeleteDBClusterParameterGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBClusterParameterGroupCommandInput = DeleteDBClusterParameterGroupMessage; @@ -68,7 +68,7 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< private serialize( input: DeleteDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBClusterParameterGroupCommand( input, @@ -78,7 +78,7 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBClusterParameterGroupCommand( output, diff --git a/clients/client-rds/commands/DeleteDBClusterSnapshotCommand.ts b/clients/client-rds/commands/DeleteDBClusterSnapshotCommand.ts index c82f2de9221f..bb64a858e87f 100644 --- a/clients/client-rds/commands/DeleteDBClusterSnapshotCommand.ts +++ b/clients/client-rds/commands/DeleteDBClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBClusterSnapshotCommandInput = DeleteDBClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class DeleteDBClusterSnapshotCommand extends $Command< private serialize( input: DeleteDBClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBClusterSnapshotCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteDBInstanceAutomatedBackupCommand.ts b/clients/client-rds/commands/DeleteDBInstanceAutomatedBackupCommand.ts index 8bc5478f310c..2e58a7fb78f7 100644 --- a/clients/client-rds/commands/DeleteDBInstanceAutomatedBackupCommand.ts +++ b/clients/client-rds/commands/DeleteDBInstanceAutomatedBackupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBInstanceAutomatedBackupCommandInput = DeleteDBInstanceAutomatedBackupMessage; @@ -70,7 +70,7 @@ export class DeleteDBInstanceAutomatedBackupCommand extends $Command< private serialize( input: DeleteDBInstanceAutomatedBackupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBInstanceAutomatedBackupCommand( input, @@ -80,7 +80,7 @@ export class DeleteDBInstanceAutomatedBackupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBInstanceAutomatedBackupCommand( output, diff --git a/clients/client-rds/commands/DeleteDBInstanceCommand.ts b/clients/client-rds/commands/DeleteDBInstanceCommand.ts index 7deb943cafc0..4edf72daa801 100644 --- a/clients/client-rds/commands/DeleteDBInstanceCommand.ts +++ b/clients/client-rds/commands/DeleteDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBInstanceCommandInput = DeleteDBInstanceMessage; @@ -67,14 +67,14 @@ export class DeleteDBInstanceCommand extends $Command< private serialize( input: DeleteDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBInstanceCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteDBParameterGroupCommand.ts b/clients/client-rds/commands/DeleteDBParameterGroupCommand.ts index 83df203b5960..2c002bc4c5ab 100644 --- a/clients/client-rds/commands/DeleteDBParameterGroupCommand.ts +++ b/clients/client-rds/commands/DeleteDBParameterGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBParameterGroupCommandInput = DeleteDBParameterGroupMessage; @@ -68,14 +68,14 @@ export class DeleteDBParameterGroupCommand extends $Command< private serialize( input: DeleteDBParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBParameterGroupCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteDBProxyCommand.ts b/clients/client-rds/commands/DeleteDBProxyCommand.ts index 4186e45d0b1d..63ec57d1e5d7 100644 --- a/clients/client-rds/commands/DeleteDBProxyCommand.ts +++ b/clients/client-rds/commands/DeleteDBProxyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBProxyCommandInput = DeleteDBProxyRequest; @@ -64,14 +64,14 @@ export class DeleteDBProxyCommand extends $Command< private serialize( input: DeleteDBProxyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBProxyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBProxyCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteDBSecurityGroupCommand.ts b/clients/client-rds/commands/DeleteDBSecurityGroupCommand.ts index 2f7042fd8d8f..730339596737 100644 --- a/clients/client-rds/commands/DeleteDBSecurityGroupCommand.ts +++ b/clients/client-rds/commands/DeleteDBSecurityGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBSecurityGroupCommandInput = DeleteDBSecurityGroupMessage; @@ -68,14 +68,14 @@ export class DeleteDBSecurityGroupCommand extends $Command< private serialize( input: DeleteDBSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBSecurityGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBSecurityGroupCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteDBSnapshotCommand.ts b/clients/client-rds/commands/DeleteDBSnapshotCommand.ts index 262522fa85b0..df6d2a2efe14 100644 --- a/clients/client-rds/commands/DeleteDBSnapshotCommand.ts +++ b/clients/client-rds/commands/DeleteDBSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBSnapshotCommandInput = DeleteDBSnapshotMessage; @@ -67,14 +67,14 @@ export class DeleteDBSnapshotCommand extends $Command< private serialize( input: DeleteDBSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBSnapshotCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteDBSubnetGroupCommand.ts b/clients/client-rds/commands/DeleteDBSubnetGroupCommand.ts index aa10ea125a0b..4dd5d8e417bd 100644 --- a/clients/client-rds/commands/DeleteDBSubnetGroupCommand.ts +++ b/clients/client-rds/commands/DeleteDBSubnetGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDBSubnetGroupCommandInput = DeleteDBSubnetGroupMessage; @@ -68,14 +68,14 @@ export class DeleteDBSubnetGroupCommand extends $Command< private serialize( input: DeleteDBSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteDBSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteDBSubnetGroupCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteEventSubscriptionCommand.ts b/clients/client-rds/commands/DeleteEventSubscriptionCommand.ts index 8b4b7a5db5dc..57c1a97070ef 100644 --- a/clients/client-rds/commands/DeleteEventSubscriptionCommand.ts +++ b/clients/client-rds/commands/DeleteEventSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEventSubscriptionCommandInput = DeleteEventSubscriptionMessage; @@ -70,14 +70,14 @@ export class DeleteEventSubscriptionCommand extends $Command< private serialize( input: DeleteEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteEventSubscriptionCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteGlobalClusterCommand.ts b/clients/client-rds/commands/DeleteGlobalClusterCommand.ts index e57311a93dbe..63eea40e74e9 100644 --- a/clients/client-rds/commands/DeleteGlobalClusterCommand.ts +++ b/clients/client-rds/commands/DeleteGlobalClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGlobalClusterCommandInput = DeleteGlobalClusterMessage; @@ -70,14 +70,14 @@ export class DeleteGlobalClusterCommand extends $Command< private serialize( input: DeleteGlobalClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteGlobalClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteGlobalClusterCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteInstallationMediaCommand.ts b/clients/client-rds/commands/DeleteInstallationMediaCommand.ts index 9155d3ee7492..057629fc25c6 100644 --- a/clients/client-rds/commands/DeleteInstallationMediaCommand.ts +++ b/clients/client-rds/commands/DeleteInstallationMediaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInstallationMediaCommandInput = DeleteInstallationMediaMessage; @@ -70,14 +70,14 @@ export class DeleteInstallationMediaCommand extends $Command< private serialize( input: DeleteInstallationMediaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteInstallationMediaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteInstallationMediaCommand(output, context); } diff --git a/clients/client-rds/commands/DeleteOptionGroupCommand.ts b/clients/client-rds/commands/DeleteOptionGroupCommand.ts index 212df6106a8c..b1d76f6df705 100644 --- a/clients/client-rds/commands/DeleteOptionGroupCommand.ts +++ b/clients/client-rds/commands/DeleteOptionGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteOptionGroupCommandInput = DeleteOptionGroupMessage; @@ -65,14 +65,14 @@ export class DeleteOptionGroupCommand extends $Command< private serialize( input: DeleteOptionGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteOptionGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteOptionGroupCommand(output, context); } diff --git a/clients/client-rds/commands/DeregisterDBProxyTargetsCommand.ts b/clients/client-rds/commands/DeregisterDBProxyTargetsCommand.ts index 91dbe57758ad..5c22f6cd83b7 100644 --- a/clients/client-rds/commands/DeregisterDBProxyTargetsCommand.ts +++ b/clients/client-rds/commands/DeregisterDBProxyTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterDBProxyTargetsCommandInput = DeregisterDBProxyTargetsRequest; @@ -70,14 +70,14 @@ export class DeregisterDBProxyTargetsCommand extends $Command< private serialize( input: DeregisterDBProxyTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeregisterDBProxyTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeregisterDBProxyTargetsCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeAccountAttributesCommand.ts b/clients/client-rds/commands/DescribeAccountAttributesCommand.ts index fa60fd86736d..c1da2c316567 100644 --- a/clients/client-rds/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-rds/commands/DescribeAccountAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountAttributesCommandInput = DescribeAccountAttributesMessage; @@ -70,14 +70,14 @@ export class DescribeAccountAttributesCommand extends $Command< private serialize( input: DescribeAccountAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAccountAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAccountAttributesCommand( output, diff --git a/clients/client-rds/commands/DescribeCertificatesCommand.ts b/clients/client-rds/commands/DescribeCertificatesCommand.ts index d7c92bfc64e2..649de1f64b2c 100644 --- a/clients/client-rds/commands/DescribeCertificatesCommand.ts +++ b/clients/client-rds/commands/DescribeCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCertificatesCommandInput = DescribeCertificatesMessage; @@ -70,14 +70,14 @@ export class DescribeCertificatesCommand extends $Command< private serialize( input: DescribeCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeCertificatesCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeCustomAvailabilityZonesCommand.ts b/clients/client-rds/commands/DescribeCustomAvailabilityZonesCommand.ts index c308ac51f06d..03fcd57afb39 100644 --- a/clients/client-rds/commands/DescribeCustomAvailabilityZonesCommand.ts +++ b/clients/client-rds/commands/DescribeCustomAvailabilityZonesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCustomAvailabilityZonesCommandInput = DescribeCustomAvailabilityZonesMessage; @@ -70,7 +70,7 @@ export class DescribeCustomAvailabilityZonesCommand extends $Command< private serialize( input: DescribeCustomAvailabilityZonesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeCustomAvailabilityZonesCommand( input, @@ -80,7 +80,7 @@ export class DescribeCustomAvailabilityZonesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeCustomAvailabilityZonesCommand( output, diff --git a/clients/client-rds/commands/DescribeDBClusterBacktracksCommand.ts b/clients/client-rds/commands/DescribeDBClusterBacktracksCommand.ts index 9311330f0e97..f9e293a389c0 100644 --- a/clients/client-rds/commands/DescribeDBClusterBacktracksCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterBacktracksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterBacktracksCommandInput = DescribeDBClusterBacktracksMessage; @@ -70,14 +70,14 @@ export class DescribeDBClusterBacktracksCommand extends $Command< private serialize( input: DescribeDBClusterBacktracksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterBacktracksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterBacktracksCommand( output, diff --git a/clients/client-rds/commands/DescribeDBClusterEndpointsCommand.ts b/clients/client-rds/commands/DescribeDBClusterEndpointsCommand.ts index d064ca48244c..32b706b3158e 100644 --- a/clients/client-rds/commands/DescribeDBClusterEndpointsCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterEndpointsCommandInput = DescribeDBClusterEndpointsMessage; @@ -70,14 +70,14 @@ export class DescribeDBClusterEndpointsCommand extends $Command< private serialize( input: DescribeDBClusterEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterEndpointsCommand( output, diff --git a/clients/client-rds/commands/DescribeDBClusterParameterGroupsCommand.ts b/clients/client-rds/commands/DescribeDBClusterParameterGroupsCommand.ts index a516523614a3..a9957a6ae665 100644 --- a/clients/client-rds/commands/DescribeDBClusterParameterGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterParameterGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterParameterGroupsCommandInput = DescribeDBClusterParameterGroupsMessage; @@ -70,7 +70,7 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< private serialize( input: DescribeDBClusterParameterGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterParameterGroupsCommand( input, @@ -80,7 +80,7 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterParameterGroupsCommand( output, diff --git a/clients/client-rds/commands/DescribeDBClusterParametersCommand.ts b/clients/client-rds/commands/DescribeDBClusterParametersCommand.ts index 5a749c2dc359..bb597fbeaf7b 100644 --- a/clients/client-rds/commands/DescribeDBClusterParametersCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterParametersCommandInput = DescribeDBClusterParametersMessage; @@ -70,14 +70,14 @@ export class DescribeDBClusterParametersCommand extends $Command< private serialize( input: DescribeDBClusterParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterParametersCommand( output, diff --git a/clients/client-rds/commands/DescribeDBClusterSnapshotAttributesCommand.ts b/clients/client-rds/commands/DescribeDBClusterSnapshotAttributesCommand.ts index ab9d900b2167..543d0211a2b2 100644 --- a/clients/client-rds/commands/DescribeDBClusterSnapshotAttributesCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterSnapshotAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterSnapshotAttributesCommandInput = DescribeDBClusterSnapshotAttributesMessage; @@ -70,7 +70,7 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< private serialize( input: DescribeDBClusterSnapshotAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterSnapshotAttributesCommand( input, @@ -80,7 +80,7 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterSnapshotAttributesCommand( output, diff --git a/clients/client-rds/commands/DescribeDBClusterSnapshotsCommand.ts b/clients/client-rds/commands/DescribeDBClusterSnapshotsCommand.ts index 816668b163c4..f7afd73e6629 100644 --- a/clients/client-rds/commands/DescribeDBClusterSnapshotsCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClusterSnapshotsCommandInput = DescribeDBClusterSnapshotsMessage; @@ -70,14 +70,14 @@ export class DescribeDBClusterSnapshotsCommand extends $Command< private serialize( input: DescribeDBClusterSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClusterSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClusterSnapshotsCommand( output, diff --git a/clients/client-rds/commands/DescribeDBClustersCommand.ts b/clients/client-rds/commands/DescribeDBClustersCommand.ts index 36bbae1757df..bd9343f9b965 100644 --- a/clients/client-rds/commands/DescribeDBClustersCommand.ts +++ b/clients/client-rds/commands/DescribeDBClustersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBClustersCommandInput = DescribeDBClustersMessage; @@ -64,14 +64,14 @@ export class DescribeDBClustersCommand extends $Command< private serialize( input: DescribeDBClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBClustersCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeDBEngineVersionsCommand.ts b/clients/client-rds/commands/DescribeDBEngineVersionsCommand.ts index c5b1588e0d0b..76022f9b73aa 100644 --- a/clients/client-rds/commands/DescribeDBEngineVersionsCommand.ts +++ b/clients/client-rds/commands/DescribeDBEngineVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBEngineVersionsCommandInput = DescribeDBEngineVersionsMessage; @@ -70,14 +70,14 @@ export class DescribeDBEngineVersionsCommand extends $Command< private serialize( input: DescribeDBEngineVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBEngineVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBEngineVersionsCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeDBInstanceAutomatedBackupsCommand.ts b/clients/client-rds/commands/DescribeDBInstanceAutomatedBackupsCommand.ts index 1d7173291690..76f71a1829a3 100644 --- a/clients/client-rds/commands/DescribeDBInstanceAutomatedBackupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBInstanceAutomatedBackupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBInstanceAutomatedBackupsCommandInput = DescribeDBInstanceAutomatedBackupsMessage; @@ -70,7 +70,7 @@ export class DescribeDBInstanceAutomatedBackupsCommand extends $Command< private serialize( input: DescribeDBInstanceAutomatedBackupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBInstanceAutomatedBackupsCommand( input, @@ -80,7 +80,7 @@ export class DescribeDBInstanceAutomatedBackupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBInstanceAutomatedBackupsCommand( output, diff --git a/clients/client-rds/commands/DescribeDBInstancesCommand.ts b/clients/client-rds/commands/DescribeDBInstancesCommand.ts index 954d71413e22..4e064752e166 100644 --- a/clients/client-rds/commands/DescribeDBInstancesCommand.ts +++ b/clients/client-rds/commands/DescribeDBInstancesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBInstancesCommandInput = DescribeDBInstancesMessage; @@ -67,14 +67,14 @@ export class DescribeDBInstancesCommand extends $Command< private serialize( input: DescribeDBInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBInstancesCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeDBLogFilesCommand.ts b/clients/client-rds/commands/DescribeDBLogFilesCommand.ts index 4b52fed6f43d..c2b18f4b65cd 100644 --- a/clients/client-rds/commands/DescribeDBLogFilesCommand.ts +++ b/clients/client-rds/commands/DescribeDBLogFilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBLogFilesCommandInput = DescribeDBLogFilesMessage; @@ -67,14 +67,14 @@ export class DescribeDBLogFilesCommand extends $Command< private serialize( input: DescribeDBLogFilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBLogFilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBLogFilesCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeDBParameterGroupsCommand.ts b/clients/client-rds/commands/DescribeDBParameterGroupsCommand.ts index 4e409723e189..4cfb9c35ce67 100644 --- a/clients/client-rds/commands/DescribeDBParameterGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBParameterGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBParameterGroupsCommandInput = DescribeDBParameterGroupsMessage; @@ -70,14 +70,14 @@ export class DescribeDBParameterGroupsCommand extends $Command< private serialize( input: DescribeDBParameterGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBParameterGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBParameterGroupsCommand( output, diff --git a/clients/client-rds/commands/DescribeDBParametersCommand.ts b/clients/client-rds/commands/DescribeDBParametersCommand.ts index d554154d71f8..6360a5217916 100644 --- a/clients/client-rds/commands/DescribeDBParametersCommand.ts +++ b/clients/client-rds/commands/DescribeDBParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBParametersCommandInput = DescribeDBParametersMessage; @@ -70,14 +70,14 @@ export class DescribeDBParametersCommand extends $Command< private serialize( input: DescribeDBParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBParametersCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeDBProxiesCommand.ts b/clients/client-rds/commands/DescribeDBProxiesCommand.ts index 4d0789a8660a..4dcb4ef5e87f 100644 --- a/clients/client-rds/commands/DescribeDBProxiesCommand.ts +++ b/clients/client-rds/commands/DescribeDBProxiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBProxiesCommandInput = DescribeDBProxiesRequest; @@ -67,14 +67,14 @@ export class DescribeDBProxiesCommand extends $Command< private serialize( input: DescribeDBProxiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBProxiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBProxiesCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeDBProxyTargetGroupsCommand.ts b/clients/client-rds/commands/DescribeDBProxyTargetGroupsCommand.ts index 84fb2ce63e08..25d4b591e171 100644 --- a/clients/client-rds/commands/DescribeDBProxyTargetGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBProxyTargetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBProxyTargetGroupsCommandInput = DescribeDBProxyTargetGroupsRequest; @@ -70,14 +70,14 @@ export class DescribeDBProxyTargetGroupsCommand extends $Command< private serialize( input: DescribeDBProxyTargetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBProxyTargetGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBProxyTargetGroupsCommand( output, diff --git a/clients/client-rds/commands/DescribeDBProxyTargetsCommand.ts b/clients/client-rds/commands/DescribeDBProxyTargetsCommand.ts index 10cf433a8442..6121ce76377f 100644 --- a/clients/client-rds/commands/DescribeDBProxyTargetsCommand.ts +++ b/clients/client-rds/commands/DescribeDBProxyTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBProxyTargetsCommandInput = DescribeDBProxyTargetsRequest; @@ -70,14 +70,14 @@ export class DescribeDBProxyTargetsCommand extends $Command< private serialize( input: DescribeDBProxyTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBProxyTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBProxyTargetsCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeDBSecurityGroupsCommand.ts b/clients/client-rds/commands/DescribeDBSecurityGroupsCommand.ts index dafe80a2276d..ac1bdc2173a0 100644 --- a/clients/client-rds/commands/DescribeDBSecurityGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBSecurityGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBSecurityGroupsCommandInput = DescribeDBSecurityGroupsMessage; @@ -70,14 +70,14 @@ export class DescribeDBSecurityGroupsCommand extends $Command< private serialize( input: DescribeDBSecurityGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBSecurityGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBSecurityGroupsCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeDBSnapshotAttributesCommand.ts b/clients/client-rds/commands/DescribeDBSnapshotAttributesCommand.ts index 8edc7fad7c2c..19cd150fd936 100644 --- a/clients/client-rds/commands/DescribeDBSnapshotAttributesCommand.ts +++ b/clients/client-rds/commands/DescribeDBSnapshotAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBSnapshotAttributesCommandInput = DescribeDBSnapshotAttributesMessage; @@ -70,7 +70,7 @@ export class DescribeDBSnapshotAttributesCommand extends $Command< private serialize( input: DescribeDBSnapshotAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBSnapshotAttributesCommand( input, @@ -80,7 +80,7 @@ export class DescribeDBSnapshotAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBSnapshotAttributesCommand( output, diff --git a/clients/client-rds/commands/DescribeDBSnapshotsCommand.ts b/clients/client-rds/commands/DescribeDBSnapshotsCommand.ts index 7ea356a7829a..63b3a7ae5288 100644 --- a/clients/client-rds/commands/DescribeDBSnapshotsCommand.ts +++ b/clients/client-rds/commands/DescribeDBSnapshotsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBSnapshotsCommandInput = DescribeDBSnapshotsMessage; @@ -67,14 +67,14 @@ export class DescribeDBSnapshotsCommand extends $Command< private serialize( input: DescribeDBSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBSnapshotsCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeDBSubnetGroupsCommand.ts b/clients/client-rds/commands/DescribeDBSubnetGroupsCommand.ts index f696074b51ef..13930ae7d5aa 100644 --- a/clients/client-rds/commands/DescribeDBSubnetGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBSubnetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDBSubnetGroupsCommandInput = DescribeDBSubnetGroupsMessage; @@ -70,14 +70,14 @@ export class DescribeDBSubnetGroupsCommand extends $Command< private serialize( input: DescribeDBSubnetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDBSubnetGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDBSubnetGroupsCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeEngineDefaultClusterParametersCommand.ts b/clients/client-rds/commands/DescribeEngineDefaultClusterParametersCommand.ts index de47e330d851..7d6c93b5a528 100644 --- a/clients/client-rds/commands/DescribeEngineDefaultClusterParametersCommand.ts +++ b/clients/client-rds/commands/DescribeEngineDefaultClusterParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEngineDefaultClusterParametersCommandInput = DescribeEngineDefaultClusterParametersMessage; @@ -72,7 +72,7 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< private serialize( input: DescribeEngineDefaultClusterParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEngineDefaultClusterParametersCommand( input, @@ -82,7 +82,7 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEngineDefaultClusterParametersCommand( output, diff --git a/clients/client-rds/commands/DescribeEngineDefaultParametersCommand.ts b/clients/client-rds/commands/DescribeEngineDefaultParametersCommand.ts index e9f29507c092..aad651d441a0 100644 --- a/clients/client-rds/commands/DescribeEngineDefaultParametersCommand.ts +++ b/clients/client-rds/commands/DescribeEngineDefaultParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEngineDefaultParametersCommandInput = DescribeEngineDefaultParametersMessage; @@ -70,7 +70,7 @@ export class DescribeEngineDefaultParametersCommand extends $Command< private serialize( input: DescribeEngineDefaultParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEngineDefaultParametersCommand( input, @@ -80,7 +80,7 @@ export class DescribeEngineDefaultParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEngineDefaultParametersCommand( output, diff --git a/clients/client-rds/commands/DescribeEventCategoriesCommand.ts b/clients/client-rds/commands/DescribeEventCategoriesCommand.ts index 18cb9235e50a..99950632197b 100644 --- a/clients/client-rds/commands/DescribeEventCategoriesCommand.ts +++ b/clients/client-rds/commands/DescribeEventCategoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventCategoriesCommandInput = DescribeEventCategoriesMessage; @@ -70,14 +70,14 @@ export class DescribeEventCategoriesCommand extends $Command< private serialize( input: DescribeEventCategoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventCategoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventCategoriesCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeEventSubscriptionsCommand.ts b/clients/client-rds/commands/DescribeEventSubscriptionsCommand.ts index da4dd302ddef..8095bec779f8 100644 --- a/clients/client-rds/commands/DescribeEventSubscriptionsCommand.ts +++ b/clients/client-rds/commands/DescribeEventSubscriptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventSubscriptionsCommandInput = DescribeEventSubscriptionsMessage; @@ -70,14 +70,14 @@ export class DescribeEventSubscriptionsCommand extends $Command< private serialize( input: DescribeEventSubscriptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventSubscriptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventSubscriptionsCommand( output, diff --git a/clients/client-rds/commands/DescribeEventsCommand.ts b/clients/client-rds/commands/DescribeEventsCommand.ts index e2521eabea2d..4d8903af6321 100644 --- a/clients/client-rds/commands/DescribeEventsCommand.ts +++ b/clients/client-rds/commands/DescribeEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventsCommandInput = DescribeEventsMessage; @@ -64,14 +64,14 @@ export class DescribeEventsCommand extends $Command< private serialize( input: DescribeEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventsCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeGlobalClustersCommand.ts b/clients/client-rds/commands/DescribeGlobalClustersCommand.ts index 9f73f43df4e1..58fe5e599e2d 100644 --- a/clients/client-rds/commands/DescribeGlobalClustersCommand.ts +++ b/clients/client-rds/commands/DescribeGlobalClustersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGlobalClustersCommandInput = DescribeGlobalClustersMessage; @@ -70,14 +70,14 @@ export class DescribeGlobalClustersCommand extends $Command< private serialize( input: DescribeGlobalClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeGlobalClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeGlobalClustersCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeInstallationMediaCommand.ts b/clients/client-rds/commands/DescribeInstallationMediaCommand.ts index cbd6f8c4a457..775b5abbd6f0 100644 --- a/clients/client-rds/commands/DescribeInstallationMediaCommand.ts +++ b/clients/client-rds/commands/DescribeInstallationMediaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstallationMediaCommandInput = DescribeInstallationMediaMessage; @@ -70,14 +70,14 @@ export class DescribeInstallationMediaCommand extends $Command< private serialize( input: DescribeInstallationMediaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeInstallationMediaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeInstallationMediaCommand( output, diff --git a/clients/client-rds/commands/DescribeOptionGroupOptionsCommand.ts b/clients/client-rds/commands/DescribeOptionGroupOptionsCommand.ts index 936a0ece9d3a..47c2ce247e73 100644 --- a/clients/client-rds/commands/DescribeOptionGroupOptionsCommand.ts +++ b/clients/client-rds/commands/DescribeOptionGroupOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOptionGroupOptionsCommandInput = DescribeOptionGroupOptionsMessage; @@ -70,14 +70,14 @@ export class DescribeOptionGroupOptionsCommand extends $Command< private serialize( input: DescribeOptionGroupOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeOptionGroupOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeOptionGroupOptionsCommand( output, diff --git a/clients/client-rds/commands/DescribeOptionGroupsCommand.ts b/clients/client-rds/commands/DescribeOptionGroupsCommand.ts index dad79139261f..9f215c7577ce 100644 --- a/clients/client-rds/commands/DescribeOptionGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeOptionGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOptionGroupsCommandInput = DescribeOptionGroupsMessage; @@ -67,14 +67,14 @@ export class DescribeOptionGroupsCommand extends $Command< private serialize( input: DescribeOptionGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeOptionGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeOptionGroupsCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeOrderableDBInstanceOptionsCommand.ts b/clients/client-rds/commands/DescribeOrderableDBInstanceOptionsCommand.ts index a9c21a9472b9..e716b411b8aa 100644 --- a/clients/client-rds/commands/DescribeOrderableDBInstanceOptionsCommand.ts +++ b/clients/client-rds/commands/DescribeOrderableDBInstanceOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrderableDBInstanceOptionsCommandInput = DescribeOrderableDBInstanceOptionsMessage; @@ -70,7 +70,7 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< private serialize( input: DescribeOrderableDBInstanceOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeOrderableDBInstanceOptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeOrderableDBInstanceOptionsCommand( output, diff --git a/clients/client-rds/commands/DescribePendingMaintenanceActionsCommand.ts b/clients/client-rds/commands/DescribePendingMaintenanceActionsCommand.ts index f0e91f0290a7..3f80e2b82b90 100644 --- a/clients/client-rds/commands/DescribePendingMaintenanceActionsCommand.ts +++ b/clients/client-rds/commands/DescribePendingMaintenanceActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePendingMaintenanceActionsCommandInput = DescribePendingMaintenanceActionsMessage; @@ -70,7 +70,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< private serialize( input: DescribePendingMaintenanceActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribePendingMaintenanceActionsCommand( input, @@ -80,7 +80,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribePendingMaintenanceActionsCommand( output, diff --git a/clients/client-rds/commands/DescribeReservedDBInstancesCommand.ts b/clients/client-rds/commands/DescribeReservedDBInstancesCommand.ts index 5ddaa50030aa..f08a382d2737 100644 --- a/clients/client-rds/commands/DescribeReservedDBInstancesCommand.ts +++ b/clients/client-rds/commands/DescribeReservedDBInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedDBInstancesCommandInput = DescribeReservedDBInstancesMessage; @@ -70,14 +70,14 @@ export class DescribeReservedDBInstancesCommand extends $Command< private serialize( input: DescribeReservedDBInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeReservedDBInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeReservedDBInstancesCommand( output, diff --git a/clients/client-rds/commands/DescribeReservedDBInstancesOfferingsCommand.ts b/clients/client-rds/commands/DescribeReservedDBInstancesOfferingsCommand.ts index 8f377b336742..f78df7a140af 100644 --- a/clients/client-rds/commands/DescribeReservedDBInstancesOfferingsCommand.ts +++ b/clients/client-rds/commands/DescribeReservedDBInstancesOfferingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedDBInstancesOfferingsCommandInput = DescribeReservedDBInstancesOfferingsMessage; @@ -72,7 +72,7 @@ export class DescribeReservedDBInstancesOfferingsCommand extends $Command< private serialize( input: DescribeReservedDBInstancesOfferingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeReservedDBInstancesOfferingsCommand( input, @@ -82,7 +82,7 @@ export class DescribeReservedDBInstancesOfferingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeReservedDBInstancesOfferingsCommand( output, diff --git a/clients/client-rds/commands/DescribeSourceRegionsCommand.ts b/clients/client-rds/commands/DescribeSourceRegionsCommand.ts index 3ec6316a29d7..1742466e642d 100644 --- a/clients/client-rds/commands/DescribeSourceRegionsCommand.ts +++ b/clients/client-rds/commands/DescribeSourceRegionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSourceRegionsCommandInput = DescribeSourceRegionsMessage; @@ -70,14 +70,14 @@ export class DescribeSourceRegionsCommand extends $Command< private serialize( input: DescribeSourceRegionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeSourceRegionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeSourceRegionsCommand(output, context); } diff --git a/clients/client-rds/commands/DescribeValidDBInstanceModificationsCommand.ts b/clients/client-rds/commands/DescribeValidDBInstanceModificationsCommand.ts index d4d4caeab1d9..cbe8e3849522 100644 --- a/clients/client-rds/commands/DescribeValidDBInstanceModificationsCommand.ts +++ b/clients/client-rds/commands/DescribeValidDBInstanceModificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeValidDBInstanceModificationsCommandInput = DescribeValidDBInstanceModificationsMessage; @@ -72,7 +72,7 @@ export class DescribeValidDBInstanceModificationsCommand extends $Command< private serialize( input: DescribeValidDBInstanceModificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeValidDBInstanceModificationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeValidDBInstanceModificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeValidDBInstanceModificationsCommand( output, diff --git a/clients/client-rds/commands/DownloadDBLogFilePortionCommand.ts b/clients/client-rds/commands/DownloadDBLogFilePortionCommand.ts index 6be307d3d1b2..24a94399402a 100644 --- a/clients/client-rds/commands/DownloadDBLogFilePortionCommand.ts +++ b/clients/client-rds/commands/DownloadDBLogFilePortionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DownloadDBLogFilePortionCommandInput = DownloadDBLogFilePortionMessage; @@ -70,14 +70,14 @@ export class DownloadDBLogFilePortionCommand extends $Command< private serialize( input: DownloadDBLogFilePortionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDownloadDBLogFilePortionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDownloadDBLogFilePortionCommand(output, context); } diff --git a/clients/client-rds/commands/FailoverDBClusterCommand.ts b/clients/client-rds/commands/FailoverDBClusterCommand.ts index e685d9614025..376ad4144df6 100644 --- a/clients/client-rds/commands/FailoverDBClusterCommand.ts +++ b/clients/client-rds/commands/FailoverDBClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type FailoverDBClusterCommandInput = FailoverDBClusterMessage; @@ -67,14 +67,14 @@ export class FailoverDBClusterCommand extends $Command< private serialize( input: FailoverDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryFailoverDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryFailoverDBClusterCommand(output, context); } diff --git a/clients/client-rds/commands/ImportInstallationMediaCommand.ts b/clients/client-rds/commands/ImportInstallationMediaCommand.ts index 5aa69c0de6f5..5c4f3b1e40a3 100644 --- a/clients/client-rds/commands/ImportInstallationMediaCommand.ts +++ b/clients/client-rds/commands/ImportInstallationMediaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportInstallationMediaCommandInput = ImportInstallationMediaMessage; @@ -70,14 +70,14 @@ export class ImportInstallationMediaCommand extends $Command< private serialize( input: ImportInstallationMediaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryImportInstallationMediaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryImportInstallationMediaCommand(output, context); } diff --git a/clients/client-rds/commands/ListTagsForResourceCommand.ts b/clients/client-rds/commands/ListTagsForResourceCommand.ts index 7fd0feedc4ca..ec8458b053ff 100644 --- a/clients/client-rds/commands/ListTagsForResourceCommand.ts +++ b/clients/client-rds/commands/ListTagsForResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceMessage; @@ -67,14 +67,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTagsForResourceCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyCertificatesCommand.ts b/clients/client-rds/commands/ModifyCertificatesCommand.ts index f9a1a9b64756..e4f59c942632 100644 --- a/clients/client-rds/commands/ModifyCertificatesCommand.ts +++ b/clients/client-rds/commands/ModifyCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyCertificatesCommandInput = ModifyCertificatesMessage; @@ -67,14 +67,14 @@ export class ModifyCertificatesCommand extends $Command< private serialize( input: ModifyCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyCertificatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyCertificatesCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyCurrentDBClusterCapacityCommand.ts b/clients/client-rds/commands/ModifyCurrentDBClusterCapacityCommand.ts index 5a83d6052118..694d793d170c 100644 --- a/clients/client-rds/commands/ModifyCurrentDBClusterCapacityCommand.ts +++ b/clients/client-rds/commands/ModifyCurrentDBClusterCapacityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyCurrentDBClusterCapacityCommandInput = ModifyCurrentDBClusterCapacityMessage; @@ -70,7 +70,7 @@ export class ModifyCurrentDBClusterCapacityCommand extends $Command< private serialize( input: ModifyCurrentDBClusterCapacityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyCurrentDBClusterCapacityCommand( input, @@ -80,7 +80,7 @@ export class ModifyCurrentDBClusterCapacityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyCurrentDBClusterCapacityCommand( output, diff --git a/clients/client-rds/commands/ModifyDBClusterCommand.ts b/clients/client-rds/commands/ModifyDBClusterCommand.ts index f79d82ef00c0..d7c0859b402a 100644 --- a/clients/client-rds/commands/ModifyDBClusterCommand.ts +++ b/clients/client-rds/commands/ModifyDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBClusterCommandInput = ModifyDBClusterMessage; @@ -64,14 +64,14 @@ export class ModifyDBClusterCommand extends $Command< private serialize( input: ModifyDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBClusterCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyDBClusterEndpointCommand.ts b/clients/client-rds/commands/ModifyDBClusterEndpointCommand.ts index 612129d77390..e8df6cd28e4b 100644 --- a/clients/client-rds/commands/ModifyDBClusterEndpointCommand.ts +++ b/clients/client-rds/commands/ModifyDBClusterEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBClusterEndpointCommandInput = ModifyDBClusterEndpointMessage; @@ -70,14 +70,14 @@ export class ModifyDBClusterEndpointCommand extends $Command< private serialize( input: ModifyDBClusterEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBClusterEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBClusterEndpointCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyDBClusterParameterGroupCommand.ts b/clients/client-rds/commands/ModifyDBClusterParameterGroupCommand.ts index 9aa69db1e61e..3e5695f930e1 100644 --- a/clients/client-rds/commands/ModifyDBClusterParameterGroupCommand.ts +++ b/clients/client-rds/commands/ModifyDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBClusterParameterGroupCommandInput = ModifyDBClusterParameterGroupMessage; @@ -70,7 +70,7 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< private serialize( input: ModifyDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBClusterParameterGroupCommand( input, @@ -80,7 +80,7 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBClusterParameterGroupCommand( output, diff --git a/clients/client-rds/commands/ModifyDBClusterSnapshotAttributeCommand.ts b/clients/client-rds/commands/ModifyDBClusterSnapshotAttributeCommand.ts index 26d74c2d9585..0f63d7559cfb 100644 --- a/clients/client-rds/commands/ModifyDBClusterSnapshotAttributeCommand.ts +++ b/clients/client-rds/commands/ModifyDBClusterSnapshotAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBClusterSnapshotAttributeCommandInput = ModifyDBClusterSnapshotAttributeMessage; @@ -70,7 +70,7 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< private serialize( input: ModifyDBClusterSnapshotAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBClusterSnapshotAttributeCommand( input, @@ -80,7 +80,7 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBClusterSnapshotAttributeCommand( output, diff --git a/clients/client-rds/commands/ModifyDBInstanceCommand.ts b/clients/client-rds/commands/ModifyDBInstanceCommand.ts index 41059a4670a3..12c5ac06b67c 100644 --- a/clients/client-rds/commands/ModifyDBInstanceCommand.ts +++ b/clients/client-rds/commands/ModifyDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBInstanceCommandInput = ModifyDBInstanceMessage; @@ -67,14 +67,14 @@ export class ModifyDBInstanceCommand extends $Command< private serialize( input: ModifyDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBInstanceCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyDBParameterGroupCommand.ts b/clients/client-rds/commands/ModifyDBParameterGroupCommand.ts index cbd253d54fdb..f1d22a153caf 100644 --- a/clients/client-rds/commands/ModifyDBParameterGroupCommand.ts +++ b/clients/client-rds/commands/ModifyDBParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBParameterGroupCommandInput = ModifyDBParameterGroupMessage; @@ -70,14 +70,14 @@ export class ModifyDBParameterGroupCommand extends $Command< private serialize( input: ModifyDBParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBParameterGroupCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyDBProxyCommand.ts b/clients/client-rds/commands/ModifyDBProxyCommand.ts index 7376831cf819..f080edeb1c51 100644 --- a/clients/client-rds/commands/ModifyDBProxyCommand.ts +++ b/clients/client-rds/commands/ModifyDBProxyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBProxyCommandInput = ModifyDBProxyRequest; @@ -64,14 +64,14 @@ export class ModifyDBProxyCommand extends $Command< private serialize( input: ModifyDBProxyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBProxyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBProxyCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyDBProxyTargetGroupCommand.ts b/clients/client-rds/commands/ModifyDBProxyTargetGroupCommand.ts index 6c749ae2ff41..bfe23538d125 100644 --- a/clients/client-rds/commands/ModifyDBProxyTargetGroupCommand.ts +++ b/clients/client-rds/commands/ModifyDBProxyTargetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBProxyTargetGroupCommandInput = ModifyDBProxyTargetGroupRequest; @@ -70,14 +70,14 @@ export class ModifyDBProxyTargetGroupCommand extends $Command< private serialize( input: ModifyDBProxyTargetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBProxyTargetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBProxyTargetGroupCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyDBSnapshotAttributeCommand.ts b/clients/client-rds/commands/ModifyDBSnapshotAttributeCommand.ts index 8bd9d36411b5..131a134fe62b 100644 --- a/clients/client-rds/commands/ModifyDBSnapshotAttributeCommand.ts +++ b/clients/client-rds/commands/ModifyDBSnapshotAttributeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBSnapshotAttributeCommandInput = ModifyDBSnapshotAttributeMessage; @@ -70,14 +70,14 @@ export class ModifyDBSnapshotAttributeCommand extends $Command< private serialize( input: ModifyDBSnapshotAttributeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBSnapshotAttributeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBSnapshotAttributeCommand( output, diff --git a/clients/client-rds/commands/ModifyDBSnapshotCommand.ts b/clients/client-rds/commands/ModifyDBSnapshotCommand.ts index 52b97027ee9d..0ddcf3d1ebd1 100644 --- a/clients/client-rds/commands/ModifyDBSnapshotCommand.ts +++ b/clients/client-rds/commands/ModifyDBSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBSnapshotCommandInput = ModifyDBSnapshotMessage; @@ -67,14 +67,14 @@ export class ModifyDBSnapshotCommand extends $Command< private serialize( input: ModifyDBSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBSnapshotCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyDBSubnetGroupCommand.ts b/clients/client-rds/commands/ModifyDBSubnetGroupCommand.ts index 0b8bfc3ab84f..3d0cec8e0180 100644 --- a/clients/client-rds/commands/ModifyDBSubnetGroupCommand.ts +++ b/clients/client-rds/commands/ModifyDBSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDBSubnetGroupCommandInput = ModifyDBSubnetGroupMessage; @@ -70,14 +70,14 @@ export class ModifyDBSubnetGroupCommand extends $Command< private serialize( input: ModifyDBSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyDBSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyDBSubnetGroupCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyEventSubscriptionCommand.ts b/clients/client-rds/commands/ModifyEventSubscriptionCommand.ts index eee9bdb4270a..18849fb78dde 100644 --- a/clients/client-rds/commands/ModifyEventSubscriptionCommand.ts +++ b/clients/client-rds/commands/ModifyEventSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyEventSubscriptionCommandInput = ModifyEventSubscriptionMessage; @@ -70,14 +70,14 @@ export class ModifyEventSubscriptionCommand extends $Command< private serialize( input: ModifyEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyEventSubscriptionCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyGlobalClusterCommand.ts b/clients/client-rds/commands/ModifyGlobalClusterCommand.ts index 07e1cc4b667a..16a4d12765e6 100644 --- a/clients/client-rds/commands/ModifyGlobalClusterCommand.ts +++ b/clients/client-rds/commands/ModifyGlobalClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyGlobalClusterCommandInput = ModifyGlobalClusterMessage; @@ -70,14 +70,14 @@ export class ModifyGlobalClusterCommand extends $Command< private serialize( input: ModifyGlobalClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyGlobalClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyGlobalClusterCommand(output, context); } diff --git a/clients/client-rds/commands/ModifyOptionGroupCommand.ts b/clients/client-rds/commands/ModifyOptionGroupCommand.ts index 25e719df1104..7b92f023ecaf 100644 --- a/clients/client-rds/commands/ModifyOptionGroupCommand.ts +++ b/clients/client-rds/commands/ModifyOptionGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyOptionGroupCommandInput = ModifyOptionGroupMessage; @@ -67,14 +67,14 @@ export class ModifyOptionGroupCommand extends $Command< private serialize( input: ModifyOptionGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyOptionGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyOptionGroupCommand(output, context); } diff --git a/clients/client-rds/commands/PromoteReadReplicaCommand.ts b/clients/client-rds/commands/PromoteReadReplicaCommand.ts index fdf3c6d924c6..3fb509fcf5db 100644 --- a/clients/client-rds/commands/PromoteReadReplicaCommand.ts +++ b/clients/client-rds/commands/PromoteReadReplicaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PromoteReadReplicaCommandInput = PromoteReadReplicaMessage; @@ -67,14 +67,14 @@ export class PromoteReadReplicaCommand extends $Command< private serialize( input: PromoteReadReplicaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPromoteReadReplicaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPromoteReadReplicaCommand(output, context); } diff --git a/clients/client-rds/commands/PromoteReadReplicaDBClusterCommand.ts b/clients/client-rds/commands/PromoteReadReplicaDBClusterCommand.ts index a9503428d2ff..5d53a77fd138 100644 --- a/clients/client-rds/commands/PromoteReadReplicaDBClusterCommand.ts +++ b/clients/client-rds/commands/PromoteReadReplicaDBClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PromoteReadReplicaDBClusterCommandInput = PromoteReadReplicaDBClusterMessage; @@ -70,14 +70,14 @@ export class PromoteReadReplicaDBClusterCommand extends $Command< private serialize( input: PromoteReadReplicaDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPromoteReadReplicaDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPromoteReadReplicaDBClusterCommand( output, diff --git a/clients/client-rds/commands/PurchaseReservedDBInstancesOfferingCommand.ts b/clients/client-rds/commands/PurchaseReservedDBInstancesOfferingCommand.ts index 68103fc2fbbd..2c81c2b8bbb8 100644 --- a/clients/client-rds/commands/PurchaseReservedDBInstancesOfferingCommand.ts +++ b/clients/client-rds/commands/PurchaseReservedDBInstancesOfferingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PurchaseReservedDBInstancesOfferingCommandInput = PurchaseReservedDBInstancesOfferingMessage; @@ -70,7 +70,7 @@ export class PurchaseReservedDBInstancesOfferingCommand extends $Command< private serialize( input: PurchaseReservedDBInstancesOfferingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPurchaseReservedDBInstancesOfferingCommand( input, @@ -80,7 +80,7 @@ export class PurchaseReservedDBInstancesOfferingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPurchaseReservedDBInstancesOfferingCommand( output, diff --git a/clients/client-rds/commands/RebootDBInstanceCommand.ts b/clients/client-rds/commands/RebootDBInstanceCommand.ts index 1841d7944834..effd3e1ca594 100644 --- a/clients/client-rds/commands/RebootDBInstanceCommand.ts +++ b/clients/client-rds/commands/RebootDBInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootDBInstanceCommandInput = RebootDBInstanceMessage; @@ -67,14 +67,14 @@ export class RebootDBInstanceCommand extends $Command< private serialize( input: RebootDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRebootDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRebootDBInstanceCommand(output, context); } diff --git a/clients/client-rds/commands/RegisterDBProxyTargetsCommand.ts b/clients/client-rds/commands/RegisterDBProxyTargetsCommand.ts index beb8a5ff5211..59da4f51a84b 100644 --- a/clients/client-rds/commands/RegisterDBProxyTargetsCommand.ts +++ b/clients/client-rds/commands/RegisterDBProxyTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterDBProxyTargetsCommandInput = RegisterDBProxyTargetsRequest; @@ -70,14 +70,14 @@ export class RegisterDBProxyTargetsCommand extends $Command< private serialize( input: RegisterDBProxyTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRegisterDBProxyTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRegisterDBProxyTargetsCommand(output, context); } diff --git a/clients/client-rds/commands/RemoveFromGlobalClusterCommand.ts b/clients/client-rds/commands/RemoveFromGlobalClusterCommand.ts index 6678e00f8a85..8ef561a8041d 100644 --- a/clients/client-rds/commands/RemoveFromGlobalClusterCommand.ts +++ b/clients/client-rds/commands/RemoveFromGlobalClusterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveFromGlobalClusterCommandInput = RemoveFromGlobalClusterMessage; @@ -70,14 +70,14 @@ export class RemoveFromGlobalClusterCommand extends $Command< private serialize( input: RemoveFromGlobalClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveFromGlobalClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveFromGlobalClusterCommand(output, context); } diff --git a/clients/client-rds/commands/RemoveRoleFromDBClusterCommand.ts b/clients/client-rds/commands/RemoveRoleFromDBClusterCommand.ts index dc102dd5d3c7..226b136c5dd5 100644 --- a/clients/client-rds/commands/RemoveRoleFromDBClusterCommand.ts +++ b/clients/client-rds/commands/RemoveRoleFromDBClusterCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveRoleFromDBClusterCommandInput = RemoveRoleFromDBClusterMessage; @@ -68,14 +68,14 @@ export class RemoveRoleFromDBClusterCommand extends $Command< private serialize( input: RemoveRoleFromDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveRoleFromDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveRoleFromDBClusterCommand(output, context); } diff --git a/clients/client-rds/commands/RemoveRoleFromDBInstanceCommand.ts b/clients/client-rds/commands/RemoveRoleFromDBInstanceCommand.ts index bdf8c7002e5d..f13b229607e9 100644 --- a/clients/client-rds/commands/RemoveRoleFromDBInstanceCommand.ts +++ b/clients/client-rds/commands/RemoveRoleFromDBInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveRoleFromDBInstanceCommandInput = RemoveRoleFromDBInstanceMessage; @@ -68,14 +68,14 @@ export class RemoveRoleFromDBInstanceCommand extends $Command< private serialize( input: RemoveRoleFromDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveRoleFromDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveRoleFromDBInstanceCommand(output, context); } diff --git a/clients/client-rds/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts b/clients/client-rds/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts index 97990dee7275..bf0f055ff596 100644 --- a/clients/client-rds/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts +++ b/clients/client-rds/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveSourceIdentifierFromSubscriptionCommandInput = RemoveSourceIdentifierFromSubscriptionMessage; @@ -72,7 +72,7 @@ export class RemoveSourceIdentifierFromSubscriptionCommand extends $Command< private serialize( input: RemoveSourceIdentifierFromSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand( input, @@ -82,7 +82,7 @@ export class RemoveSourceIdentifierFromSubscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand( output, diff --git a/clients/client-rds/commands/RemoveTagsFromResourceCommand.ts b/clients/client-rds/commands/RemoveTagsFromResourceCommand.ts index faa367d77667..3b3ada73c966 100644 --- a/clients/client-rds/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-rds/commands/RemoveTagsFromResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromResourceCommandInput = RemoveTagsFromResourceMessage; @@ -68,14 +68,14 @@ export class RemoveTagsFromResourceCommand extends $Command< private serialize( input: RemoveTagsFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemoveTagsFromResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemoveTagsFromResourceCommand(output, context); } diff --git a/clients/client-rds/commands/ResetDBClusterParameterGroupCommand.ts b/clients/client-rds/commands/ResetDBClusterParameterGroupCommand.ts index 47b5d1a3f72e..7ef5c88453bf 100644 --- a/clients/client-rds/commands/ResetDBClusterParameterGroupCommand.ts +++ b/clients/client-rds/commands/ResetDBClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetDBClusterParameterGroupCommandInput = ResetDBClusterParameterGroupMessage; @@ -70,7 +70,7 @@ export class ResetDBClusterParameterGroupCommand extends $Command< private serialize( input: ResetDBClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryResetDBClusterParameterGroupCommand( input, @@ -80,7 +80,7 @@ export class ResetDBClusterParameterGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryResetDBClusterParameterGroupCommand( output, diff --git a/clients/client-rds/commands/ResetDBParameterGroupCommand.ts b/clients/client-rds/commands/ResetDBParameterGroupCommand.ts index cc837c538442..59a64e920a38 100644 --- a/clients/client-rds/commands/ResetDBParameterGroupCommand.ts +++ b/clients/client-rds/commands/ResetDBParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetDBParameterGroupCommandInput = ResetDBParameterGroupMessage; @@ -70,14 +70,14 @@ export class ResetDBParameterGroupCommand extends $Command< private serialize( input: ResetDBParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryResetDBParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryResetDBParameterGroupCommand(output, context); } diff --git a/clients/client-rds/commands/RestoreDBClusterFromS3Command.ts b/clients/client-rds/commands/RestoreDBClusterFromS3Command.ts index 41182e97c8d1..6f08040e996c 100644 --- a/clients/client-rds/commands/RestoreDBClusterFromS3Command.ts +++ b/clients/client-rds/commands/RestoreDBClusterFromS3Command.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreDBClusterFromS3CommandInput = RestoreDBClusterFromS3Message; @@ -70,14 +70,14 @@ export class RestoreDBClusterFromS3Command extends $Command< private serialize( input: RestoreDBClusterFromS3CommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreDBClusterFromS3Command(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreDBClusterFromS3Command(output, context); } diff --git a/clients/client-rds/commands/RestoreDBClusterFromSnapshotCommand.ts b/clients/client-rds/commands/RestoreDBClusterFromSnapshotCommand.ts index 422e2b03e614..b55ce8b2366f 100644 --- a/clients/client-rds/commands/RestoreDBClusterFromSnapshotCommand.ts +++ b/clients/client-rds/commands/RestoreDBClusterFromSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreDBClusterFromSnapshotCommandInput = RestoreDBClusterFromSnapshotMessage; @@ -70,7 +70,7 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< private serialize( input: RestoreDBClusterFromSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreDBClusterFromSnapshotCommand( input, @@ -80,7 +80,7 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreDBClusterFromSnapshotCommand( output, diff --git a/clients/client-rds/commands/RestoreDBClusterToPointInTimeCommand.ts b/clients/client-rds/commands/RestoreDBClusterToPointInTimeCommand.ts index 897cf0bae24c..99f0a8c923f7 100644 --- a/clients/client-rds/commands/RestoreDBClusterToPointInTimeCommand.ts +++ b/clients/client-rds/commands/RestoreDBClusterToPointInTimeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreDBClusterToPointInTimeCommandInput = RestoreDBClusterToPointInTimeMessage; @@ -70,7 +70,7 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< private serialize( input: RestoreDBClusterToPointInTimeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreDBClusterToPointInTimeCommand( input, @@ -80,7 +80,7 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreDBClusterToPointInTimeCommand( output, diff --git a/clients/client-rds/commands/RestoreDBInstanceFromDBSnapshotCommand.ts b/clients/client-rds/commands/RestoreDBInstanceFromDBSnapshotCommand.ts index 47f4c7845040..546006bc3065 100644 --- a/clients/client-rds/commands/RestoreDBInstanceFromDBSnapshotCommand.ts +++ b/clients/client-rds/commands/RestoreDBInstanceFromDBSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreDBInstanceFromDBSnapshotCommandInput = RestoreDBInstanceFromDBSnapshotMessage; @@ -70,7 +70,7 @@ export class RestoreDBInstanceFromDBSnapshotCommand extends $Command< private serialize( input: RestoreDBInstanceFromDBSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreDBInstanceFromDBSnapshotCommand( input, @@ -80,7 +80,7 @@ export class RestoreDBInstanceFromDBSnapshotCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreDBInstanceFromDBSnapshotCommand( output, diff --git a/clients/client-rds/commands/RestoreDBInstanceFromS3Command.ts b/clients/client-rds/commands/RestoreDBInstanceFromS3Command.ts index 45ec1e93749e..fd8625a71fd2 100644 --- a/clients/client-rds/commands/RestoreDBInstanceFromS3Command.ts +++ b/clients/client-rds/commands/RestoreDBInstanceFromS3Command.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreDBInstanceFromS3CommandInput = RestoreDBInstanceFromS3Message; @@ -70,14 +70,14 @@ export class RestoreDBInstanceFromS3Command extends $Command< private serialize( input: RestoreDBInstanceFromS3CommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreDBInstanceFromS3Command(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreDBInstanceFromS3Command(output, context); } diff --git a/clients/client-rds/commands/RestoreDBInstanceToPointInTimeCommand.ts b/clients/client-rds/commands/RestoreDBInstanceToPointInTimeCommand.ts index f3d5b4813f1a..ca93ae806971 100644 --- a/clients/client-rds/commands/RestoreDBInstanceToPointInTimeCommand.ts +++ b/clients/client-rds/commands/RestoreDBInstanceToPointInTimeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreDBInstanceToPointInTimeCommandInput = RestoreDBInstanceToPointInTimeMessage; @@ -70,7 +70,7 @@ export class RestoreDBInstanceToPointInTimeCommand extends $Command< private serialize( input: RestoreDBInstanceToPointInTimeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreDBInstanceToPointInTimeCommand( input, @@ -80,7 +80,7 @@ export class RestoreDBInstanceToPointInTimeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreDBInstanceToPointInTimeCommand( output, diff --git a/clients/client-rds/commands/RevokeDBSecurityGroupIngressCommand.ts b/clients/client-rds/commands/RevokeDBSecurityGroupIngressCommand.ts index 4a1aa029eab1..799626d4c83a 100644 --- a/clients/client-rds/commands/RevokeDBSecurityGroupIngressCommand.ts +++ b/clients/client-rds/commands/RevokeDBSecurityGroupIngressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeDBSecurityGroupIngressCommandInput = RevokeDBSecurityGroupIngressMessage; @@ -70,7 +70,7 @@ export class RevokeDBSecurityGroupIngressCommand extends $Command< private serialize( input: RevokeDBSecurityGroupIngressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRevokeDBSecurityGroupIngressCommand( input, @@ -80,7 +80,7 @@ export class RevokeDBSecurityGroupIngressCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRevokeDBSecurityGroupIngressCommand( output, diff --git a/clients/client-rds/commands/StartActivityStreamCommand.ts b/clients/client-rds/commands/StartActivityStreamCommand.ts index 7e39c5003503..6dbd3e29df34 100644 --- a/clients/client-rds/commands/StartActivityStreamCommand.ts +++ b/clients/client-rds/commands/StartActivityStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartActivityStreamCommandInput = StartActivityStreamRequest; @@ -70,14 +70,14 @@ export class StartActivityStreamCommand extends $Command< private serialize( input: StartActivityStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryStartActivityStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryStartActivityStreamCommand(output, context); } diff --git a/clients/client-rds/commands/StartDBClusterCommand.ts b/clients/client-rds/commands/StartDBClusterCommand.ts index 441af24fba7b..a186ab3c157c 100644 --- a/clients/client-rds/commands/StartDBClusterCommand.ts +++ b/clients/client-rds/commands/StartDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDBClusterCommandInput = StartDBClusterMessage; @@ -64,14 +64,14 @@ export class StartDBClusterCommand extends $Command< private serialize( input: StartDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryStartDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryStartDBClusterCommand(output, context); } diff --git a/clients/client-rds/commands/StartDBInstanceCommand.ts b/clients/client-rds/commands/StartDBInstanceCommand.ts index 9ac35610962a..030dab339d2c 100644 --- a/clients/client-rds/commands/StartDBInstanceCommand.ts +++ b/clients/client-rds/commands/StartDBInstanceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDBInstanceCommandInput = StartDBInstanceMessage; @@ -64,14 +64,14 @@ export class StartDBInstanceCommand extends $Command< private serialize( input: StartDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryStartDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryStartDBInstanceCommand(output, context); } diff --git a/clients/client-rds/commands/StopActivityStreamCommand.ts b/clients/client-rds/commands/StopActivityStreamCommand.ts index 452fceafb93b..ad03d8c65dac 100644 --- a/clients/client-rds/commands/StopActivityStreamCommand.ts +++ b/clients/client-rds/commands/StopActivityStreamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopActivityStreamCommandInput = StopActivityStreamRequest; @@ -67,14 +67,14 @@ export class StopActivityStreamCommand extends $Command< private serialize( input: StopActivityStreamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryStopActivityStreamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryStopActivityStreamCommand(output, context); } diff --git a/clients/client-rds/commands/StopDBClusterCommand.ts b/clients/client-rds/commands/StopDBClusterCommand.ts index 4bccdcfefe5e..b2e666c9f591 100644 --- a/clients/client-rds/commands/StopDBClusterCommand.ts +++ b/clients/client-rds/commands/StopDBClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopDBClusterCommandInput = StopDBClusterMessage; @@ -64,14 +64,14 @@ export class StopDBClusterCommand extends $Command< private serialize( input: StopDBClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryStopDBClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryStopDBClusterCommand(output, context); } diff --git a/clients/client-rds/commands/StopDBInstanceCommand.ts b/clients/client-rds/commands/StopDBInstanceCommand.ts index 3c14636ba469..17d9bd25330e 100644 --- a/clients/client-rds/commands/StopDBInstanceCommand.ts +++ b/clients/client-rds/commands/StopDBInstanceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopDBInstanceCommandInput = StopDBInstanceMessage; @@ -64,14 +64,14 @@ export class StopDBInstanceCommand extends $Command< private serialize( input: StopDBInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryStopDBInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryStopDBInstanceCommand(output, context); } diff --git a/clients/client-rds/protocols/Aws_query.ts b/clients/client-rds/protocols/Aws_query.ts index 033b91f6888d..9b48ebc588e8 100644 --- a/clients/client-rds/protocols/Aws_query.ts +++ b/clients/client-rds/protocols/Aws_query.ts @@ -28422,6 +28422,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-redshift/commands/AcceptReservedNodeExchangeCommand.ts b/clients/client-redshift/commands/AcceptReservedNodeExchangeCommand.ts index f798384a77c1..5e82dde6b37c 100644 --- a/clients/client-redshift/commands/AcceptReservedNodeExchangeCommand.ts +++ b/clients/client-redshift/commands/AcceptReservedNodeExchangeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptReservedNodeExchangeCommandInput = AcceptReservedNodeExchangeInputMessage; @@ -70,14 +70,14 @@ export class AcceptReservedNodeExchangeCommand extends $Command< private serialize( input: AcceptReservedNodeExchangeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAcceptReservedNodeExchangeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAcceptReservedNodeExchangeCommand( output, diff --git a/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts b/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts index 7d5a0e5a6ff4..58943e459d2b 100644 --- a/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts +++ b/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AuthorizeClusterSecurityGroupIngressCommandInput = AuthorizeClusterSecurityGroupIngressMessage; @@ -72,7 +72,7 @@ export class AuthorizeClusterSecurityGroupIngressCommand extends $Command< private serialize( input: AuthorizeClusterSecurityGroupIngressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAuthorizeClusterSecurityGroupIngressCommand( input, @@ -82,7 +82,7 @@ export class AuthorizeClusterSecurityGroupIngressCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAuthorizeClusterSecurityGroupIngressCommand( output, diff --git a/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts b/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts index b5e302969f04..32b814e21858 100644 --- a/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts +++ b/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AuthorizeSnapshotAccessCommandInput = AuthorizeSnapshotAccessMessage; @@ -70,14 +70,14 @@ export class AuthorizeSnapshotAccessCommand extends $Command< private serialize( input: AuthorizeSnapshotAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAuthorizeSnapshotAccessCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAuthorizeSnapshotAccessCommand(output, context); } diff --git a/clients/client-redshift/commands/BatchDeleteClusterSnapshotsCommand.ts b/clients/client-redshift/commands/BatchDeleteClusterSnapshotsCommand.ts index 6b1f80cd743d..720a24f3f65c 100644 --- a/clients/client-redshift/commands/BatchDeleteClusterSnapshotsCommand.ts +++ b/clients/client-redshift/commands/BatchDeleteClusterSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDeleteClusterSnapshotsCommandInput = BatchDeleteClusterSnapshotsRequest; @@ -70,14 +70,14 @@ export class BatchDeleteClusterSnapshotsCommand extends $Command< private serialize( input: BatchDeleteClusterSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryBatchDeleteClusterSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryBatchDeleteClusterSnapshotsCommand( output, diff --git a/clients/client-redshift/commands/BatchModifyClusterSnapshotsCommand.ts b/clients/client-redshift/commands/BatchModifyClusterSnapshotsCommand.ts index 6d8cebe9de33..7c5314ddd5b0 100644 --- a/clients/client-redshift/commands/BatchModifyClusterSnapshotsCommand.ts +++ b/clients/client-redshift/commands/BatchModifyClusterSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchModifyClusterSnapshotsCommandInput = BatchModifyClusterSnapshotsMessage; @@ -70,14 +70,14 @@ export class BatchModifyClusterSnapshotsCommand extends $Command< private serialize( input: BatchModifyClusterSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryBatchModifyClusterSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryBatchModifyClusterSnapshotsCommand( output, diff --git a/clients/client-redshift/commands/CancelResizeCommand.ts b/clients/client-redshift/commands/CancelResizeCommand.ts index ccc3938865a6..4180b98216d9 100644 --- a/clients/client-redshift/commands/CancelResizeCommand.ts +++ b/clients/client-redshift/commands/CancelResizeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelResizeCommandInput = CancelResizeMessage; @@ -64,14 +64,14 @@ export class CancelResizeCommand extends $Command< private serialize( input: CancelResizeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCancelResizeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCancelResizeCommand(output, context); } diff --git a/clients/client-redshift/commands/CopyClusterSnapshotCommand.ts b/clients/client-redshift/commands/CopyClusterSnapshotCommand.ts index 2e9ea6730673..f2cc5e6e43ba 100644 --- a/clients/client-redshift/commands/CopyClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/CopyClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyClusterSnapshotCommandInput = CopyClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class CopyClusterSnapshotCommand extends $Command< private serialize( input: CopyClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCopyClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCopyClusterSnapshotCommand(output, context); } diff --git a/clients/client-redshift/commands/CreateClusterCommand.ts b/clients/client-redshift/commands/CreateClusterCommand.ts index 7ec89322b878..43c598f21b33 100644 --- a/clients/client-redshift/commands/CreateClusterCommand.ts +++ b/clients/client-redshift/commands/CreateClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClusterCommandInput = CreateClusterMessage; @@ -64,14 +64,14 @@ export class CreateClusterCommand extends $Command< private serialize( input: CreateClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateClusterCommand(output, context); } diff --git a/clients/client-redshift/commands/CreateClusterParameterGroupCommand.ts b/clients/client-redshift/commands/CreateClusterParameterGroupCommand.ts index 95a237831ad9..a747d0c3aee3 100644 --- a/clients/client-redshift/commands/CreateClusterParameterGroupCommand.ts +++ b/clients/client-redshift/commands/CreateClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClusterParameterGroupCommandInput = CreateClusterParameterGroupMessage; @@ -70,14 +70,14 @@ export class CreateClusterParameterGroupCommand extends $Command< private serialize( input: CreateClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateClusterParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateClusterParameterGroupCommand( output, diff --git a/clients/client-redshift/commands/CreateClusterSecurityGroupCommand.ts b/clients/client-redshift/commands/CreateClusterSecurityGroupCommand.ts index 02b8ea6f6f92..40021b225810 100644 --- a/clients/client-redshift/commands/CreateClusterSecurityGroupCommand.ts +++ b/clients/client-redshift/commands/CreateClusterSecurityGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClusterSecurityGroupCommandInput = CreateClusterSecurityGroupMessage; @@ -70,14 +70,14 @@ export class CreateClusterSecurityGroupCommand extends $Command< private serialize( input: CreateClusterSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateClusterSecurityGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateClusterSecurityGroupCommand( output, diff --git a/clients/client-redshift/commands/CreateClusterSnapshotCommand.ts b/clients/client-redshift/commands/CreateClusterSnapshotCommand.ts index 7702d9cd2217..55b3f5718e21 100644 --- a/clients/client-redshift/commands/CreateClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/CreateClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClusterSnapshotCommandInput = CreateClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class CreateClusterSnapshotCommand extends $Command< private serialize( input: CreateClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateClusterSnapshotCommand(output, context); } diff --git a/clients/client-redshift/commands/CreateClusterSubnetGroupCommand.ts b/clients/client-redshift/commands/CreateClusterSubnetGroupCommand.ts index 0fdff37323d0..0bc410ec8e5b 100644 --- a/clients/client-redshift/commands/CreateClusterSubnetGroupCommand.ts +++ b/clients/client-redshift/commands/CreateClusterSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClusterSubnetGroupCommandInput = CreateClusterSubnetGroupMessage; @@ -70,14 +70,14 @@ export class CreateClusterSubnetGroupCommand extends $Command< private serialize( input: CreateClusterSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateClusterSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateClusterSubnetGroupCommand(output, context); } diff --git a/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts b/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts index fb253be0b6e9..1e5ebd5ab21b 100644 --- a/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts +++ b/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEventSubscriptionCommandInput = CreateEventSubscriptionMessage; @@ -70,14 +70,14 @@ export class CreateEventSubscriptionCommand extends $Command< private serialize( input: CreateEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateEventSubscriptionCommand(output, context); } diff --git a/clients/client-redshift/commands/CreateHsmClientCertificateCommand.ts b/clients/client-redshift/commands/CreateHsmClientCertificateCommand.ts index a565f5c7f02e..162c1ff33e85 100644 --- a/clients/client-redshift/commands/CreateHsmClientCertificateCommand.ts +++ b/clients/client-redshift/commands/CreateHsmClientCertificateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHsmClientCertificateCommandInput = CreateHsmClientCertificateMessage; @@ -70,14 +70,14 @@ export class CreateHsmClientCertificateCommand extends $Command< private serialize( input: CreateHsmClientCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateHsmClientCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateHsmClientCertificateCommand( output, diff --git a/clients/client-redshift/commands/CreateHsmConfigurationCommand.ts b/clients/client-redshift/commands/CreateHsmConfigurationCommand.ts index 8d708e546521..8d7ed029e2cf 100644 --- a/clients/client-redshift/commands/CreateHsmConfigurationCommand.ts +++ b/clients/client-redshift/commands/CreateHsmConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHsmConfigurationCommandInput = CreateHsmConfigurationMessage; @@ -70,14 +70,14 @@ export class CreateHsmConfigurationCommand extends $Command< private serialize( input: CreateHsmConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateHsmConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateHsmConfigurationCommand(output, context); } diff --git a/clients/client-redshift/commands/CreateScheduledActionCommand.ts b/clients/client-redshift/commands/CreateScheduledActionCommand.ts index 5c06d460087b..edebf254a320 100644 --- a/clients/client-redshift/commands/CreateScheduledActionCommand.ts +++ b/clients/client-redshift/commands/CreateScheduledActionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateScheduledActionCommandInput = CreateScheduledActionMessage; @@ -67,14 +67,14 @@ export class CreateScheduledActionCommand extends $Command< private serialize( input: CreateScheduledActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateScheduledActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateScheduledActionCommand(output, context); } diff --git a/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts b/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts index e0820f896bb2..942200509d0c 100644 --- a/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts +++ b/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSnapshotCopyGrantCommandInput = CreateSnapshotCopyGrantMessage; @@ -70,14 +70,14 @@ export class CreateSnapshotCopyGrantCommand extends $Command< private serialize( input: CreateSnapshotCopyGrantCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateSnapshotCopyGrantCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateSnapshotCopyGrantCommand(output, context); } diff --git a/clients/client-redshift/commands/CreateSnapshotScheduleCommand.ts b/clients/client-redshift/commands/CreateSnapshotScheduleCommand.ts index ecf5ff1e83d6..0ce19d6e66ba 100644 --- a/clients/client-redshift/commands/CreateSnapshotScheduleCommand.ts +++ b/clients/client-redshift/commands/CreateSnapshotScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSnapshotScheduleCommandInput = CreateSnapshotScheduleMessage; @@ -70,14 +70,14 @@ export class CreateSnapshotScheduleCommand extends $Command< private serialize( input: CreateSnapshotScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateSnapshotScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateSnapshotScheduleCommand(output, context); } diff --git a/clients/client-redshift/commands/CreateTagsCommand.ts b/clients/client-redshift/commands/CreateTagsCommand.ts index 3bfda7a29d0d..96edd6fac803 100644 --- a/clients/client-redshift/commands/CreateTagsCommand.ts +++ b/clients/client-redshift/commands/CreateTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTagsCommandInput = CreateTagsMessage; @@ -65,14 +65,14 @@ export class CreateTagsCommand extends $Command< private serialize( input: CreateTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateTagsCommand(output, context); } diff --git a/clients/client-redshift/commands/DeleteClusterCommand.ts b/clients/client-redshift/commands/DeleteClusterCommand.ts index 793c1ee72896..5116f5b83bd4 100644 --- a/clients/client-redshift/commands/DeleteClusterCommand.ts +++ b/clients/client-redshift/commands/DeleteClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClusterCommandInput = DeleteClusterMessage; @@ -64,14 +64,14 @@ export class DeleteClusterCommand extends $Command< private serialize( input: DeleteClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteClusterCommand(output, context); } diff --git a/clients/client-redshift/commands/DeleteClusterParameterGroupCommand.ts b/clients/client-redshift/commands/DeleteClusterParameterGroupCommand.ts index 7d3c68e63e1c..a107eb88472e 100644 --- a/clients/client-redshift/commands/DeleteClusterParameterGroupCommand.ts +++ b/clients/client-redshift/commands/DeleteClusterParameterGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClusterParameterGroupCommandInput = DeleteClusterParameterGroupMessage; @@ -68,14 +68,14 @@ export class DeleteClusterParameterGroupCommand extends $Command< private serialize( input: DeleteClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteClusterParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteClusterParameterGroupCommand( output, diff --git a/clients/client-redshift/commands/DeleteClusterSecurityGroupCommand.ts b/clients/client-redshift/commands/DeleteClusterSecurityGroupCommand.ts index b5ee211dae37..c9becdd5c249 100644 --- a/clients/client-redshift/commands/DeleteClusterSecurityGroupCommand.ts +++ b/clients/client-redshift/commands/DeleteClusterSecurityGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClusterSecurityGroupCommandInput = DeleteClusterSecurityGroupMessage; @@ -68,14 +68,14 @@ export class DeleteClusterSecurityGroupCommand extends $Command< private serialize( input: DeleteClusterSecurityGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteClusterSecurityGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteClusterSecurityGroupCommand( output, diff --git a/clients/client-redshift/commands/DeleteClusterSnapshotCommand.ts b/clients/client-redshift/commands/DeleteClusterSnapshotCommand.ts index adc059843bca..6e20ad6e5e9d 100644 --- a/clients/client-redshift/commands/DeleteClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/DeleteClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClusterSnapshotCommandInput = DeleteClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class DeleteClusterSnapshotCommand extends $Command< private serialize( input: DeleteClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteClusterSnapshotCommand(output, context); } diff --git a/clients/client-redshift/commands/DeleteClusterSubnetGroupCommand.ts b/clients/client-redshift/commands/DeleteClusterSubnetGroupCommand.ts index ce3f574b5fb9..6f7aa7860734 100644 --- a/clients/client-redshift/commands/DeleteClusterSubnetGroupCommand.ts +++ b/clients/client-redshift/commands/DeleteClusterSubnetGroupCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteClusterSubnetGroupCommandInput = DeleteClusterSubnetGroupMessage; @@ -68,14 +68,14 @@ export class DeleteClusterSubnetGroupCommand extends $Command< private serialize( input: DeleteClusterSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteClusterSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteClusterSubnetGroupCommand(output, context); } diff --git a/clients/client-redshift/commands/DeleteEventSubscriptionCommand.ts b/clients/client-redshift/commands/DeleteEventSubscriptionCommand.ts index 8b7d339fd916..7c5ef90836de 100644 --- a/clients/client-redshift/commands/DeleteEventSubscriptionCommand.ts +++ b/clients/client-redshift/commands/DeleteEventSubscriptionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEventSubscriptionCommandInput = DeleteEventSubscriptionMessage; @@ -68,14 +68,14 @@ export class DeleteEventSubscriptionCommand extends $Command< private serialize( input: DeleteEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteEventSubscriptionCommand(output, context); } diff --git a/clients/client-redshift/commands/DeleteHsmClientCertificateCommand.ts b/clients/client-redshift/commands/DeleteHsmClientCertificateCommand.ts index e9bb3e1a01a8..29d698649ac1 100644 --- a/clients/client-redshift/commands/DeleteHsmClientCertificateCommand.ts +++ b/clients/client-redshift/commands/DeleteHsmClientCertificateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteHsmClientCertificateCommandInput = DeleteHsmClientCertificateMessage; @@ -68,14 +68,14 @@ export class DeleteHsmClientCertificateCommand extends $Command< private serialize( input: DeleteHsmClientCertificateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteHsmClientCertificateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteHsmClientCertificateCommand( output, diff --git a/clients/client-redshift/commands/DeleteHsmConfigurationCommand.ts b/clients/client-redshift/commands/DeleteHsmConfigurationCommand.ts index 738fcee63a89..ca6115cd8dba 100644 --- a/clients/client-redshift/commands/DeleteHsmConfigurationCommand.ts +++ b/clients/client-redshift/commands/DeleteHsmConfigurationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteHsmConfigurationCommandInput = DeleteHsmConfigurationMessage; @@ -68,14 +68,14 @@ export class DeleteHsmConfigurationCommand extends $Command< private serialize( input: DeleteHsmConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteHsmConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteHsmConfigurationCommand(output, context); } diff --git a/clients/client-redshift/commands/DeleteScheduledActionCommand.ts b/clients/client-redshift/commands/DeleteScheduledActionCommand.ts index ba6b7b8f369f..afc5729d237c 100644 --- a/clients/client-redshift/commands/DeleteScheduledActionCommand.ts +++ b/clients/client-redshift/commands/DeleteScheduledActionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteScheduledActionCommandInput = DeleteScheduledActionMessage; @@ -68,14 +68,14 @@ export class DeleteScheduledActionCommand extends $Command< private serialize( input: DeleteScheduledActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteScheduledActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteScheduledActionCommand(output, context); } diff --git a/clients/client-redshift/commands/DeleteSnapshotCopyGrantCommand.ts b/clients/client-redshift/commands/DeleteSnapshotCopyGrantCommand.ts index feaa34628dcc..7793f33bc67f 100644 --- a/clients/client-redshift/commands/DeleteSnapshotCopyGrantCommand.ts +++ b/clients/client-redshift/commands/DeleteSnapshotCopyGrantCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSnapshotCopyGrantCommandInput = DeleteSnapshotCopyGrantMessage; @@ -68,14 +68,14 @@ export class DeleteSnapshotCopyGrantCommand extends $Command< private serialize( input: DeleteSnapshotCopyGrantCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteSnapshotCopyGrantCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteSnapshotCopyGrantCommand(output, context); } diff --git a/clients/client-redshift/commands/DeleteSnapshotScheduleCommand.ts b/clients/client-redshift/commands/DeleteSnapshotScheduleCommand.ts index cd7c02ae26b0..865a4db06613 100644 --- a/clients/client-redshift/commands/DeleteSnapshotScheduleCommand.ts +++ b/clients/client-redshift/commands/DeleteSnapshotScheduleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSnapshotScheduleCommandInput = DeleteSnapshotScheduleMessage; @@ -68,14 +68,14 @@ export class DeleteSnapshotScheduleCommand extends $Command< private serialize( input: DeleteSnapshotScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteSnapshotScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteSnapshotScheduleCommand(output, context); } diff --git a/clients/client-redshift/commands/DeleteTagsCommand.ts b/clients/client-redshift/commands/DeleteTagsCommand.ts index 5977fb0b6b42..170daf618a44 100644 --- a/clients/client-redshift/commands/DeleteTagsCommand.ts +++ b/clients/client-redshift/commands/DeleteTagsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagsCommandInput = DeleteTagsMessage; @@ -65,14 +65,14 @@ export class DeleteTagsCommand extends $Command< private serialize( input: DeleteTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteTagsCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeAccountAttributesCommand.ts b/clients/client-redshift/commands/DescribeAccountAttributesCommand.ts index ea92ec1283c6..9702367e8e47 100644 --- a/clients/client-redshift/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-redshift/commands/DescribeAccountAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountAttributesCommandInput = DescribeAccountAttributesMessage; @@ -70,14 +70,14 @@ export class DescribeAccountAttributesCommand extends $Command< private serialize( input: DescribeAccountAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeAccountAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeAccountAttributesCommand( output, diff --git a/clients/client-redshift/commands/DescribeClusterDbRevisionsCommand.ts b/clients/client-redshift/commands/DescribeClusterDbRevisionsCommand.ts index 4f17e35f1824..9ef1a0c26311 100644 --- a/clients/client-redshift/commands/DescribeClusterDbRevisionsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterDbRevisionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterDbRevisionsCommandInput = DescribeClusterDbRevisionsMessage; @@ -70,14 +70,14 @@ export class DescribeClusterDbRevisionsCommand extends $Command< private serialize( input: DescribeClusterDbRevisionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeClusterDbRevisionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeClusterDbRevisionsCommand( output, diff --git a/clients/client-redshift/commands/DescribeClusterParameterGroupsCommand.ts b/clients/client-redshift/commands/DescribeClusterParameterGroupsCommand.ts index 33bae6cbc9f2..caef9b161db7 100644 --- a/clients/client-redshift/commands/DescribeClusterParameterGroupsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterParameterGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterParameterGroupsCommandInput = DescribeClusterParameterGroupsMessage; @@ -70,7 +70,7 @@ export class DescribeClusterParameterGroupsCommand extends $Command< private serialize( input: DescribeClusterParameterGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeClusterParameterGroupsCommand( input, @@ -80,7 +80,7 @@ export class DescribeClusterParameterGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeClusterParameterGroupsCommand( output, diff --git a/clients/client-redshift/commands/DescribeClusterParametersCommand.ts b/clients/client-redshift/commands/DescribeClusterParametersCommand.ts index 84ae9c4c58cd..119ac0f6b2c2 100644 --- a/clients/client-redshift/commands/DescribeClusterParametersCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterParametersCommandInput = DescribeClusterParametersMessage; @@ -70,14 +70,14 @@ export class DescribeClusterParametersCommand extends $Command< private serialize( input: DescribeClusterParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeClusterParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeClusterParametersCommand( output, diff --git a/clients/client-redshift/commands/DescribeClusterSecurityGroupsCommand.ts b/clients/client-redshift/commands/DescribeClusterSecurityGroupsCommand.ts index c8ce8fa56000..7d0eeddc137d 100644 --- a/clients/client-redshift/commands/DescribeClusterSecurityGroupsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterSecurityGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterSecurityGroupsCommandInput = DescribeClusterSecurityGroupsMessage; @@ -70,7 +70,7 @@ export class DescribeClusterSecurityGroupsCommand extends $Command< private serialize( input: DescribeClusterSecurityGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeClusterSecurityGroupsCommand( input, @@ -80,7 +80,7 @@ export class DescribeClusterSecurityGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeClusterSecurityGroupsCommand( output, diff --git a/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts b/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts index 98463591fcc3..9c12bc8ad1ba 100644 --- a/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterSnapshotsCommandInput = DescribeClusterSnapshotsMessage; @@ -70,14 +70,14 @@ export class DescribeClusterSnapshotsCommand extends $Command< private serialize( input: DescribeClusterSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeClusterSnapshotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeClusterSnapshotsCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts b/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts index 4d3e551375a1..32a971fe9251 100644 --- a/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterSubnetGroupsCommandInput = DescribeClusterSubnetGroupsMessage; @@ -70,14 +70,14 @@ export class DescribeClusterSubnetGroupsCommand extends $Command< private serialize( input: DescribeClusterSubnetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeClusterSubnetGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeClusterSubnetGroupsCommand( output, diff --git a/clients/client-redshift/commands/DescribeClusterTracksCommand.ts b/clients/client-redshift/commands/DescribeClusterTracksCommand.ts index 861f1686b6ee..774360ce80ac 100644 --- a/clients/client-redshift/commands/DescribeClusterTracksCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterTracksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterTracksCommandInput = DescribeClusterTracksMessage; @@ -70,14 +70,14 @@ export class DescribeClusterTracksCommand extends $Command< private serialize( input: DescribeClusterTracksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeClusterTracksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeClusterTracksCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeClusterVersionsCommand.ts b/clients/client-redshift/commands/DescribeClusterVersionsCommand.ts index 534a6e5fe0e6..5c9a9b2466cc 100644 --- a/clients/client-redshift/commands/DescribeClusterVersionsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterVersionsCommandInput = DescribeClusterVersionsMessage; @@ -70,14 +70,14 @@ export class DescribeClusterVersionsCommand extends $Command< private serialize( input: DescribeClusterVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeClusterVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeClusterVersionsCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeClustersCommand.ts b/clients/client-redshift/commands/DescribeClustersCommand.ts index 7338bc2f3915..80ef0cf28ca3 100644 --- a/clients/client-redshift/commands/DescribeClustersCommand.ts +++ b/clients/client-redshift/commands/DescribeClustersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClustersCommandInput = DescribeClustersMessage; @@ -64,14 +64,14 @@ export class DescribeClustersCommand extends $Command< private serialize( input: DescribeClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeClustersCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeDefaultClusterParametersCommand.ts b/clients/client-redshift/commands/DescribeDefaultClusterParametersCommand.ts index 201c92e4d2b0..74132256f165 100644 --- a/clients/client-redshift/commands/DescribeDefaultClusterParametersCommand.ts +++ b/clients/client-redshift/commands/DescribeDefaultClusterParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDefaultClusterParametersCommandInput = DescribeDefaultClusterParametersMessage; @@ -70,7 +70,7 @@ export class DescribeDefaultClusterParametersCommand extends $Command< private serialize( input: DescribeDefaultClusterParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeDefaultClusterParametersCommand( input, @@ -80,7 +80,7 @@ export class DescribeDefaultClusterParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeDefaultClusterParametersCommand( output, diff --git a/clients/client-redshift/commands/DescribeEventCategoriesCommand.ts b/clients/client-redshift/commands/DescribeEventCategoriesCommand.ts index 32f09082eac2..6968d914963e 100644 --- a/clients/client-redshift/commands/DescribeEventCategoriesCommand.ts +++ b/clients/client-redshift/commands/DescribeEventCategoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventCategoriesCommandInput = DescribeEventCategoriesMessage; @@ -70,14 +70,14 @@ export class DescribeEventCategoriesCommand extends $Command< private serialize( input: DescribeEventCategoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventCategoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventCategoriesCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeEventSubscriptionsCommand.ts b/clients/client-redshift/commands/DescribeEventSubscriptionsCommand.ts index cb69b547f7e5..085f6272b0d2 100644 --- a/clients/client-redshift/commands/DescribeEventSubscriptionsCommand.ts +++ b/clients/client-redshift/commands/DescribeEventSubscriptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventSubscriptionsCommandInput = DescribeEventSubscriptionsMessage; @@ -70,14 +70,14 @@ export class DescribeEventSubscriptionsCommand extends $Command< private serialize( input: DescribeEventSubscriptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventSubscriptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventSubscriptionsCommand( output, diff --git a/clients/client-redshift/commands/DescribeEventsCommand.ts b/clients/client-redshift/commands/DescribeEventsCommand.ts index 5a27fb20848b..e8309427fb1a 100644 --- a/clients/client-redshift/commands/DescribeEventsCommand.ts +++ b/clients/client-redshift/commands/DescribeEventsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEventsCommandInput = DescribeEventsMessage; @@ -64,14 +64,14 @@ export class DescribeEventsCommand extends $Command< private serialize( input: DescribeEventsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeEventsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeEventsCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts b/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts index eff1c8b86083..e3a38e474875 100644 --- a/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts +++ b/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHsmClientCertificatesCommandInput = DescribeHsmClientCertificatesMessage; @@ -70,7 +70,7 @@ export class DescribeHsmClientCertificatesCommand extends $Command< private serialize( input: DescribeHsmClientCertificatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeHsmClientCertificatesCommand( input, @@ -80,7 +80,7 @@ export class DescribeHsmClientCertificatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeHsmClientCertificatesCommand( output, diff --git a/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts b/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts index bd8102cce52a..e9652b171d2e 100644 --- a/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts +++ b/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHsmConfigurationsCommandInput = DescribeHsmConfigurationsMessage; @@ -70,14 +70,14 @@ export class DescribeHsmConfigurationsCommand extends $Command< private serialize( input: DescribeHsmConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeHsmConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeHsmConfigurationsCommand( output, diff --git a/clients/client-redshift/commands/DescribeLoggingStatusCommand.ts b/clients/client-redshift/commands/DescribeLoggingStatusCommand.ts index a11bf11302f8..0efe0f391bfd 100644 --- a/clients/client-redshift/commands/DescribeLoggingStatusCommand.ts +++ b/clients/client-redshift/commands/DescribeLoggingStatusCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLoggingStatusCommandInput = DescribeLoggingStatusMessage; @@ -67,14 +67,14 @@ export class DescribeLoggingStatusCommand extends $Command< private serialize( input: DescribeLoggingStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeLoggingStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeLoggingStatusCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeNodeConfigurationOptionsCommand.ts b/clients/client-redshift/commands/DescribeNodeConfigurationOptionsCommand.ts index 30bf1820b059..3e7a779b0c18 100644 --- a/clients/client-redshift/commands/DescribeNodeConfigurationOptionsCommand.ts +++ b/clients/client-redshift/commands/DescribeNodeConfigurationOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNodeConfigurationOptionsCommandInput = DescribeNodeConfigurationOptionsMessage; @@ -70,7 +70,7 @@ export class DescribeNodeConfigurationOptionsCommand extends $Command< private serialize( input: DescribeNodeConfigurationOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeNodeConfigurationOptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeNodeConfigurationOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeNodeConfigurationOptionsCommand( output, diff --git a/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts b/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts index e92998ad684a..e25a67a83fc8 100644 --- a/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts +++ b/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrderableClusterOptionsCommandInput = DescribeOrderableClusterOptionsMessage; @@ -70,7 +70,7 @@ export class DescribeOrderableClusterOptionsCommand extends $Command< private serialize( input: DescribeOrderableClusterOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeOrderableClusterOptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeOrderableClusterOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeOrderableClusterOptionsCommand( output, diff --git a/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts b/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts index 99ba5e9d2817..a6145cac63ce 100644 --- a/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts +++ b/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedNodeOfferingsCommandInput = DescribeReservedNodeOfferingsMessage; @@ -70,7 +70,7 @@ export class DescribeReservedNodeOfferingsCommand extends $Command< private serialize( input: DescribeReservedNodeOfferingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeReservedNodeOfferingsCommand( input, @@ -80,7 +80,7 @@ export class DescribeReservedNodeOfferingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeReservedNodeOfferingsCommand( output, diff --git a/clients/client-redshift/commands/DescribeReservedNodesCommand.ts b/clients/client-redshift/commands/DescribeReservedNodesCommand.ts index 325dc3fccf43..9db72e576393 100644 --- a/clients/client-redshift/commands/DescribeReservedNodesCommand.ts +++ b/clients/client-redshift/commands/DescribeReservedNodesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReservedNodesCommandInput = DescribeReservedNodesMessage; @@ -70,14 +70,14 @@ export class DescribeReservedNodesCommand extends $Command< private serialize( input: DescribeReservedNodesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeReservedNodesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeReservedNodesCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeResizeCommand.ts b/clients/client-redshift/commands/DescribeResizeCommand.ts index ed10d4cb912d..bf2cc4db99e9 100644 --- a/clients/client-redshift/commands/DescribeResizeCommand.ts +++ b/clients/client-redshift/commands/DescribeResizeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeResizeCommandInput = DescribeResizeMessage; @@ -64,14 +64,14 @@ export class DescribeResizeCommand extends $Command< private serialize( input: DescribeResizeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeResizeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeResizeCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts b/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts index 8f35be996ef8..8467f6b61fb0 100644 --- a/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts +++ b/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeScheduledActionsCommandInput = DescribeScheduledActionsMessage; @@ -70,14 +70,14 @@ export class DescribeScheduledActionsCommand extends $Command< private serialize( input: DescribeScheduledActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeScheduledActionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeScheduledActionsCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts b/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts index a3bb46090de2..11091bc84c79 100644 --- a/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts +++ b/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSnapshotCopyGrantsCommandInput = DescribeSnapshotCopyGrantsMessage; @@ -70,14 +70,14 @@ export class DescribeSnapshotCopyGrantsCommand extends $Command< private serialize( input: DescribeSnapshotCopyGrantsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeSnapshotCopyGrantsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeSnapshotCopyGrantsCommand( output, diff --git a/clients/client-redshift/commands/DescribeSnapshotSchedulesCommand.ts b/clients/client-redshift/commands/DescribeSnapshotSchedulesCommand.ts index a8b88f0ef192..f7e4739e19a6 100644 --- a/clients/client-redshift/commands/DescribeSnapshotSchedulesCommand.ts +++ b/clients/client-redshift/commands/DescribeSnapshotSchedulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSnapshotSchedulesCommandInput = DescribeSnapshotSchedulesMessage; @@ -70,14 +70,14 @@ export class DescribeSnapshotSchedulesCommand extends $Command< private serialize( input: DescribeSnapshotSchedulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeSnapshotSchedulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeSnapshotSchedulesCommand( output, diff --git a/clients/client-redshift/commands/DescribeStorageCommand.ts b/clients/client-redshift/commands/DescribeStorageCommand.ts index 1a1df9054b14..4251d61ff11d 100644 --- a/clients/client-redshift/commands/DescribeStorageCommand.ts +++ b/clients/client-redshift/commands/DescribeStorageCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStorageCommandInput = {}; @@ -64,14 +64,14 @@ export class DescribeStorageCommand extends $Command< private serialize( input: DescribeStorageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeStorageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeStorageCommand(output, context); } diff --git a/clients/client-redshift/commands/DescribeTableRestoreStatusCommand.ts b/clients/client-redshift/commands/DescribeTableRestoreStatusCommand.ts index 4f01a1ade565..9c7159533b17 100644 --- a/clients/client-redshift/commands/DescribeTableRestoreStatusCommand.ts +++ b/clients/client-redshift/commands/DescribeTableRestoreStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTableRestoreStatusCommandInput = DescribeTableRestoreStatusMessage; @@ -70,14 +70,14 @@ export class DescribeTableRestoreStatusCommand extends $Command< private serialize( input: DescribeTableRestoreStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeTableRestoreStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeTableRestoreStatusCommand( output, diff --git a/clients/client-redshift/commands/DescribeTagsCommand.ts b/clients/client-redshift/commands/DescribeTagsCommand.ts index b05fd741c176..57a4b0686e73 100644 --- a/clients/client-redshift/commands/DescribeTagsCommand.ts +++ b/clients/client-redshift/commands/DescribeTagsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTagsCommandInput = DescribeTagsMessage; @@ -67,14 +67,14 @@ export class DescribeTagsCommand extends $Command< private serialize( input: DescribeTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeTagsCommand(output, context); } diff --git a/clients/client-redshift/commands/DisableLoggingCommand.ts b/clients/client-redshift/commands/DisableLoggingCommand.ts index 136996cf82a1..086122c19c0b 100644 --- a/clients/client-redshift/commands/DisableLoggingCommand.ts +++ b/clients/client-redshift/commands/DisableLoggingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableLoggingCommandInput = DisableLoggingMessage; @@ -64,14 +64,14 @@ export class DisableLoggingCommand extends $Command< private serialize( input: DisableLoggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDisableLoggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDisableLoggingCommand(output, context); } diff --git a/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts b/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts index 88e1c26b76c3..d859db2f7ff8 100644 --- a/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts +++ b/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableSnapshotCopyCommandInput = DisableSnapshotCopyMessage; @@ -70,14 +70,14 @@ export class DisableSnapshotCopyCommand extends $Command< private serialize( input: DisableSnapshotCopyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDisableSnapshotCopyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDisableSnapshotCopyCommand(output, context); } diff --git a/clients/client-redshift/commands/EnableLoggingCommand.ts b/clients/client-redshift/commands/EnableLoggingCommand.ts index 4607519d1b2d..3d78964bfae0 100644 --- a/clients/client-redshift/commands/EnableLoggingCommand.ts +++ b/clients/client-redshift/commands/EnableLoggingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableLoggingCommandInput = EnableLoggingMessage; @@ -64,14 +64,14 @@ export class EnableLoggingCommand extends $Command< private serialize( input: EnableLoggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryEnableLoggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryEnableLoggingCommand(output, context); } diff --git a/clients/client-redshift/commands/EnableSnapshotCopyCommand.ts b/clients/client-redshift/commands/EnableSnapshotCopyCommand.ts index c777e1d8d178..05bfa7f528a9 100644 --- a/clients/client-redshift/commands/EnableSnapshotCopyCommand.ts +++ b/clients/client-redshift/commands/EnableSnapshotCopyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableSnapshotCopyCommandInput = EnableSnapshotCopyMessage; @@ -67,14 +67,14 @@ export class EnableSnapshotCopyCommand extends $Command< private serialize( input: EnableSnapshotCopyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryEnableSnapshotCopyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryEnableSnapshotCopyCommand(output, context); } diff --git a/clients/client-redshift/commands/GetClusterCredentialsCommand.ts b/clients/client-redshift/commands/GetClusterCredentialsCommand.ts index fd9bed12102b..bd1f6c5f3883 100644 --- a/clients/client-redshift/commands/GetClusterCredentialsCommand.ts +++ b/clients/client-redshift/commands/GetClusterCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetClusterCredentialsCommandInput = GetClusterCredentialsMessage; @@ -70,14 +70,14 @@ export class GetClusterCredentialsCommand extends $Command< private serialize( input: GetClusterCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetClusterCredentialsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetClusterCredentialsCommand(output, context); } diff --git a/clients/client-redshift/commands/GetReservedNodeExchangeOfferingsCommand.ts b/clients/client-redshift/commands/GetReservedNodeExchangeOfferingsCommand.ts index 302767dfd9e9..00ddb09c836e 100644 --- a/clients/client-redshift/commands/GetReservedNodeExchangeOfferingsCommand.ts +++ b/clients/client-redshift/commands/GetReservedNodeExchangeOfferingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetReservedNodeExchangeOfferingsCommandInput = GetReservedNodeExchangeOfferingsInputMessage; @@ -70,7 +70,7 @@ export class GetReservedNodeExchangeOfferingsCommand extends $Command< private serialize( input: GetReservedNodeExchangeOfferingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetReservedNodeExchangeOfferingsCommand( input, @@ -80,7 +80,7 @@ export class GetReservedNodeExchangeOfferingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetReservedNodeExchangeOfferingsCommand( output, diff --git a/clients/client-redshift/commands/ModifyClusterCommand.ts b/clients/client-redshift/commands/ModifyClusterCommand.ts index 9024f9d6befc..bb4d396b6af3 100644 --- a/clients/client-redshift/commands/ModifyClusterCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyClusterCommandInput = ModifyClusterMessage; @@ -64,14 +64,14 @@ export class ModifyClusterCommand extends $Command< private serialize( input: ModifyClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyClusterCommand(output, context); } diff --git a/clients/client-redshift/commands/ModifyClusterDbRevisionCommand.ts b/clients/client-redshift/commands/ModifyClusterDbRevisionCommand.ts index 86678464c75d..7427c8a5ceaf 100644 --- a/clients/client-redshift/commands/ModifyClusterDbRevisionCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterDbRevisionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyClusterDbRevisionCommandInput = ModifyClusterDbRevisionMessage; @@ -70,14 +70,14 @@ export class ModifyClusterDbRevisionCommand extends $Command< private serialize( input: ModifyClusterDbRevisionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyClusterDbRevisionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyClusterDbRevisionCommand(output, context); } diff --git a/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts b/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts index 31a9aafc4e19..985776046bcd 100644 --- a/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyClusterIamRolesCommandInput = ModifyClusterIamRolesMessage; @@ -70,14 +70,14 @@ export class ModifyClusterIamRolesCommand extends $Command< private serialize( input: ModifyClusterIamRolesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyClusterIamRolesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyClusterIamRolesCommand(output, context); } diff --git a/clients/client-redshift/commands/ModifyClusterMaintenanceCommand.ts b/clients/client-redshift/commands/ModifyClusterMaintenanceCommand.ts index 446c22b3222b..a1811526f849 100644 --- a/clients/client-redshift/commands/ModifyClusterMaintenanceCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterMaintenanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyClusterMaintenanceCommandInput = ModifyClusterMaintenanceMessage; @@ -70,14 +70,14 @@ export class ModifyClusterMaintenanceCommand extends $Command< private serialize( input: ModifyClusterMaintenanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyClusterMaintenanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyClusterMaintenanceCommand(output, context); } diff --git a/clients/client-redshift/commands/ModifyClusterParameterGroupCommand.ts b/clients/client-redshift/commands/ModifyClusterParameterGroupCommand.ts index 495a8aab0504..039a38b2b60e 100644 --- a/clients/client-redshift/commands/ModifyClusterParameterGroupCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyClusterParameterGroupCommandInput = ModifyClusterParameterGroupMessage; @@ -70,14 +70,14 @@ export class ModifyClusterParameterGroupCommand extends $Command< private serialize( input: ModifyClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyClusterParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyClusterParameterGroupCommand( output, diff --git a/clients/client-redshift/commands/ModifyClusterSnapshotCommand.ts b/clients/client-redshift/commands/ModifyClusterSnapshotCommand.ts index 2b1b856375cb..054eae799af2 100644 --- a/clients/client-redshift/commands/ModifyClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyClusterSnapshotCommandInput = ModifyClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class ModifyClusterSnapshotCommand extends $Command< private serialize( input: ModifyClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyClusterSnapshotCommand(output, context); } diff --git a/clients/client-redshift/commands/ModifyClusterSnapshotScheduleCommand.ts b/clients/client-redshift/commands/ModifyClusterSnapshotScheduleCommand.ts index 8a063a28ffbd..636a0e5035f3 100644 --- a/clients/client-redshift/commands/ModifyClusterSnapshotScheduleCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterSnapshotScheduleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyClusterSnapshotScheduleCommandInput = ModifyClusterSnapshotScheduleMessage; @@ -68,7 +68,7 @@ export class ModifyClusterSnapshotScheduleCommand extends $Command< private serialize( input: ModifyClusterSnapshotScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyClusterSnapshotScheduleCommand( input, @@ -78,7 +78,7 @@ export class ModifyClusterSnapshotScheduleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyClusterSnapshotScheduleCommand( output, diff --git a/clients/client-redshift/commands/ModifyClusterSubnetGroupCommand.ts b/clients/client-redshift/commands/ModifyClusterSubnetGroupCommand.ts index 3f4b2179a07c..aa406c671685 100644 --- a/clients/client-redshift/commands/ModifyClusterSubnetGroupCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterSubnetGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyClusterSubnetGroupCommandInput = ModifyClusterSubnetGroupMessage; @@ -70,14 +70,14 @@ export class ModifyClusterSubnetGroupCommand extends $Command< private serialize( input: ModifyClusterSubnetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyClusterSubnetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyClusterSubnetGroupCommand(output, context); } diff --git a/clients/client-redshift/commands/ModifyEventSubscriptionCommand.ts b/clients/client-redshift/commands/ModifyEventSubscriptionCommand.ts index 2103750692df..2005fc5ada3a 100644 --- a/clients/client-redshift/commands/ModifyEventSubscriptionCommand.ts +++ b/clients/client-redshift/commands/ModifyEventSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyEventSubscriptionCommandInput = ModifyEventSubscriptionMessage; @@ -70,14 +70,14 @@ export class ModifyEventSubscriptionCommand extends $Command< private serialize( input: ModifyEventSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyEventSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyEventSubscriptionCommand(output, context); } diff --git a/clients/client-redshift/commands/ModifyScheduledActionCommand.ts b/clients/client-redshift/commands/ModifyScheduledActionCommand.ts index 34080c4657ce..f004d854bd43 100644 --- a/clients/client-redshift/commands/ModifyScheduledActionCommand.ts +++ b/clients/client-redshift/commands/ModifyScheduledActionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyScheduledActionCommandInput = ModifyScheduledActionMessage; @@ -67,14 +67,14 @@ export class ModifyScheduledActionCommand extends $Command< private serialize( input: ModifyScheduledActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifyScheduledActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifyScheduledActionCommand(output, context); } diff --git a/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts b/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts index 32a6d000cf4d..16b736f9b9f1 100644 --- a/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts +++ b/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifySnapshotCopyRetentionPeriodCommandInput = ModifySnapshotCopyRetentionPeriodMessage; @@ -70,7 +70,7 @@ export class ModifySnapshotCopyRetentionPeriodCommand extends $Command< private serialize( input: ModifySnapshotCopyRetentionPeriodCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifySnapshotCopyRetentionPeriodCommand( input, @@ -80,7 +80,7 @@ export class ModifySnapshotCopyRetentionPeriodCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifySnapshotCopyRetentionPeriodCommand( output, diff --git a/clients/client-redshift/commands/ModifySnapshotScheduleCommand.ts b/clients/client-redshift/commands/ModifySnapshotScheduleCommand.ts index 46114f180034..7b155fccee93 100644 --- a/clients/client-redshift/commands/ModifySnapshotScheduleCommand.ts +++ b/clients/client-redshift/commands/ModifySnapshotScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifySnapshotScheduleCommandInput = ModifySnapshotScheduleMessage; @@ -70,14 +70,14 @@ export class ModifySnapshotScheduleCommand extends $Command< private serialize( input: ModifySnapshotScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryModifySnapshotScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryModifySnapshotScheduleCommand(output, context); } diff --git a/clients/client-redshift/commands/PurchaseReservedNodeOfferingCommand.ts b/clients/client-redshift/commands/PurchaseReservedNodeOfferingCommand.ts index dd34f4e2ea0b..448be545ccd2 100644 --- a/clients/client-redshift/commands/PurchaseReservedNodeOfferingCommand.ts +++ b/clients/client-redshift/commands/PurchaseReservedNodeOfferingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PurchaseReservedNodeOfferingCommandInput = PurchaseReservedNodeOfferingMessage; @@ -70,7 +70,7 @@ export class PurchaseReservedNodeOfferingCommand extends $Command< private serialize( input: PurchaseReservedNodeOfferingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPurchaseReservedNodeOfferingCommand( input, @@ -80,7 +80,7 @@ export class PurchaseReservedNodeOfferingCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPurchaseReservedNodeOfferingCommand( output, diff --git a/clients/client-redshift/commands/RebootClusterCommand.ts b/clients/client-redshift/commands/RebootClusterCommand.ts index 983a98d805e1..6dc6269be87f 100644 --- a/clients/client-redshift/commands/RebootClusterCommand.ts +++ b/clients/client-redshift/commands/RebootClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootClusterCommandInput = RebootClusterMessage; @@ -64,14 +64,14 @@ export class RebootClusterCommand extends $Command< private serialize( input: RebootClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRebootClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRebootClusterCommand(output, context); } diff --git a/clients/client-redshift/commands/ResetClusterParameterGroupCommand.ts b/clients/client-redshift/commands/ResetClusterParameterGroupCommand.ts index ec6828a95ef6..c9676e8d4a15 100644 --- a/clients/client-redshift/commands/ResetClusterParameterGroupCommand.ts +++ b/clients/client-redshift/commands/ResetClusterParameterGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetClusterParameterGroupCommandInput = ResetClusterParameterGroupMessage; @@ -70,14 +70,14 @@ export class ResetClusterParameterGroupCommand extends $Command< private serialize( input: ResetClusterParameterGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryResetClusterParameterGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryResetClusterParameterGroupCommand( output, diff --git a/clients/client-redshift/commands/ResizeClusterCommand.ts b/clients/client-redshift/commands/ResizeClusterCommand.ts index 28e87590bf33..4d5fca2a8c5e 100644 --- a/clients/client-redshift/commands/ResizeClusterCommand.ts +++ b/clients/client-redshift/commands/ResizeClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResizeClusterCommandInput = ResizeClusterMessage; @@ -64,14 +64,14 @@ export class ResizeClusterCommand extends $Command< private serialize( input: ResizeClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryResizeClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryResizeClusterCommand(output, context); } diff --git a/clients/client-redshift/commands/RestoreFromClusterSnapshotCommand.ts b/clients/client-redshift/commands/RestoreFromClusterSnapshotCommand.ts index 087338574868..76c83cc921b0 100644 --- a/clients/client-redshift/commands/RestoreFromClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/RestoreFromClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreFromClusterSnapshotCommandInput = RestoreFromClusterSnapshotMessage; @@ -70,14 +70,14 @@ export class RestoreFromClusterSnapshotCommand extends $Command< private serialize( input: RestoreFromClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreFromClusterSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreFromClusterSnapshotCommand( output, diff --git a/clients/client-redshift/commands/RestoreTableFromClusterSnapshotCommand.ts b/clients/client-redshift/commands/RestoreTableFromClusterSnapshotCommand.ts index 9de0d6784dcc..36a550ada2d9 100644 --- a/clients/client-redshift/commands/RestoreTableFromClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/RestoreTableFromClusterSnapshotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreTableFromClusterSnapshotCommandInput = RestoreTableFromClusterSnapshotMessage; @@ -70,7 +70,7 @@ export class RestoreTableFromClusterSnapshotCommand extends $Command< private serialize( input: RestoreTableFromClusterSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRestoreTableFromClusterSnapshotCommand( input, @@ -80,7 +80,7 @@ export class RestoreTableFromClusterSnapshotCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRestoreTableFromClusterSnapshotCommand( output, diff --git a/clients/client-redshift/commands/RevokeClusterSecurityGroupIngressCommand.ts b/clients/client-redshift/commands/RevokeClusterSecurityGroupIngressCommand.ts index 288d524aa116..98276b4d89ce 100644 --- a/clients/client-redshift/commands/RevokeClusterSecurityGroupIngressCommand.ts +++ b/clients/client-redshift/commands/RevokeClusterSecurityGroupIngressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeClusterSecurityGroupIngressCommandInput = RevokeClusterSecurityGroupIngressMessage; @@ -70,7 +70,7 @@ export class RevokeClusterSecurityGroupIngressCommand extends $Command< private serialize( input: RevokeClusterSecurityGroupIngressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRevokeClusterSecurityGroupIngressCommand( input, @@ -80,7 +80,7 @@ export class RevokeClusterSecurityGroupIngressCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRevokeClusterSecurityGroupIngressCommand( output, diff --git a/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts b/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts index 67ce195cef00..20019fcd3f59 100644 --- a/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts +++ b/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeSnapshotAccessCommandInput = RevokeSnapshotAccessMessage; @@ -70,14 +70,14 @@ export class RevokeSnapshotAccessCommand extends $Command< private serialize( input: RevokeSnapshotAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRevokeSnapshotAccessCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRevokeSnapshotAccessCommand(output, context); } diff --git a/clients/client-redshift/commands/RotateEncryptionKeyCommand.ts b/clients/client-redshift/commands/RotateEncryptionKeyCommand.ts index 07e911b8fcbf..05c84318f3d4 100644 --- a/clients/client-redshift/commands/RotateEncryptionKeyCommand.ts +++ b/clients/client-redshift/commands/RotateEncryptionKeyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RotateEncryptionKeyCommandInput = RotateEncryptionKeyMessage; @@ -70,14 +70,14 @@ export class RotateEncryptionKeyCommand extends $Command< private serialize( input: RotateEncryptionKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRotateEncryptionKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRotateEncryptionKeyCommand(output, context); } diff --git a/clients/client-redshift/protocols/Aws_query.ts b/clients/client-redshift/protocols/Aws_query.ts index 504544e9595f..6c92aca32000 100644 --- a/clients/client-redshift/protocols/Aws_query.ts +++ b/clients/client-redshift/protocols/Aws_query.ts @@ -19572,6 +19572,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-rekognition/commands/CompareFacesCommand.ts b/clients/client-rekognition/commands/CompareFacesCommand.ts index fb5f221ea43a..5537c01ccab0 100644 --- a/clients/client-rekognition/commands/CompareFacesCommand.ts +++ b/clients/client-rekognition/commands/CompareFacesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CompareFacesCommandInput = CompareFacesRequest; @@ -64,14 +64,14 @@ export class CompareFacesCommand extends $Command< private serialize( input: CompareFacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CompareFacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CompareFacesCommand(output, context); } diff --git a/clients/client-rekognition/commands/CreateCollectionCommand.ts b/clients/client-rekognition/commands/CreateCollectionCommand.ts index 300e5bcdc02e..0d263fb98e07 100644 --- a/clients/client-rekognition/commands/CreateCollectionCommand.ts +++ b/clients/client-rekognition/commands/CreateCollectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCollectionCommandInput = CreateCollectionRequest; @@ -67,14 +67,14 @@ export class CreateCollectionCommand extends $Command< private serialize( input: CreateCollectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCollectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCollectionCommand(output, context); } diff --git a/clients/client-rekognition/commands/CreateProjectCommand.ts b/clients/client-rekognition/commands/CreateProjectCommand.ts index 504453c665d6..7c30994f9320 100644 --- a/clients/client-rekognition/commands/CreateProjectCommand.ts +++ b/clients/client-rekognition/commands/CreateProjectCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProjectCommandInput = CreateProjectRequest; @@ -64,14 +64,14 @@ export class CreateProjectCommand extends $Command< private serialize( input: CreateProjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProjectCommand(output, context); } diff --git a/clients/client-rekognition/commands/CreateProjectVersionCommand.ts b/clients/client-rekognition/commands/CreateProjectVersionCommand.ts index e6cd55f7fc88..c90194889006 100644 --- a/clients/client-rekognition/commands/CreateProjectVersionCommand.ts +++ b/clients/client-rekognition/commands/CreateProjectVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProjectVersionCommandInput = CreateProjectVersionRequest; @@ -70,14 +70,14 @@ export class CreateProjectVersionCommand extends $Command< private serialize( input: CreateProjectVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProjectVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProjectVersionCommand(output, context); } diff --git a/clients/client-rekognition/commands/CreateStreamProcessorCommand.ts b/clients/client-rekognition/commands/CreateStreamProcessorCommand.ts index 14f2684f78ab..73b40d88ac32 100644 --- a/clients/client-rekognition/commands/CreateStreamProcessorCommand.ts +++ b/clients/client-rekognition/commands/CreateStreamProcessorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStreamProcessorCommandInput = CreateStreamProcessorRequest; @@ -70,14 +70,14 @@ export class CreateStreamProcessorCommand extends $Command< private serialize( input: CreateStreamProcessorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateStreamProcessorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateStreamProcessorCommand(output, context); } diff --git a/clients/client-rekognition/commands/DeleteCollectionCommand.ts b/clients/client-rekognition/commands/DeleteCollectionCommand.ts index 4ce830f4ac4b..6d897f5b7ab3 100644 --- a/clients/client-rekognition/commands/DeleteCollectionCommand.ts +++ b/clients/client-rekognition/commands/DeleteCollectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCollectionCommandInput = DeleteCollectionRequest; @@ -67,14 +67,14 @@ export class DeleteCollectionCommand extends $Command< private serialize( input: DeleteCollectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCollectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCollectionCommand(output, context); } diff --git a/clients/client-rekognition/commands/DeleteFacesCommand.ts b/clients/client-rekognition/commands/DeleteFacesCommand.ts index ba0e48301726..ab11111f26be 100644 --- a/clients/client-rekognition/commands/DeleteFacesCommand.ts +++ b/clients/client-rekognition/commands/DeleteFacesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFacesCommandInput = DeleteFacesRequest; @@ -64,14 +64,14 @@ export class DeleteFacesCommand extends $Command< private serialize( input: DeleteFacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteFacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteFacesCommand(output, context); } diff --git a/clients/client-rekognition/commands/DeleteStreamProcessorCommand.ts b/clients/client-rekognition/commands/DeleteStreamProcessorCommand.ts index 9a411c48b006..147c28584c26 100644 --- a/clients/client-rekognition/commands/DeleteStreamProcessorCommand.ts +++ b/clients/client-rekognition/commands/DeleteStreamProcessorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStreamProcessorCommandInput = DeleteStreamProcessorRequest; @@ -70,14 +70,14 @@ export class DeleteStreamProcessorCommand extends $Command< private serialize( input: DeleteStreamProcessorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteStreamProcessorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteStreamProcessorCommand(output, context); } diff --git a/clients/client-rekognition/commands/DescribeCollectionCommand.ts b/clients/client-rekognition/commands/DescribeCollectionCommand.ts index bc3c311ff0cd..28d95594e769 100644 --- a/clients/client-rekognition/commands/DescribeCollectionCommand.ts +++ b/clients/client-rekognition/commands/DescribeCollectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCollectionCommandInput = DescribeCollectionRequest; @@ -67,14 +67,14 @@ export class DescribeCollectionCommand extends $Command< private serialize( input: DescribeCollectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCollectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCollectionCommand(output, context); } diff --git a/clients/client-rekognition/commands/DescribeProjectVersionsCommand.ts b/clients/client-rekognition/commands/DescribeProjectVersionsCommand.ts index cbe832913b3f..ea51d9c8c866 100644 --- a/clients/client-rekognition/commands/DescribeProjectVersionsCommand.ts +++ b/clients/client-rekognition/commands/DescribeProjectVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProjectVersionsCommandInput = DescribeProjectVersionsRequest; @@ -70,14 +70,14 @@ export class DescribeProjectVersionsCommand extends $Command< private serialize( input: DescribeProjectVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProjectVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProjectVersionsCommand( output, diff --git a/clients/client-rekognition/commands/DescribeProjectsCommand.ts b/clients/client-rekognition/commands/DescribeProjectsCommand.ts index e9c187714cf7..23547998ab73 100644 --- a/clients/client-rekognition/commands/DescribeProjectsCommand.ts +++ b/clients/client-rekognition/commands/DescribeProjectsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProjectsCommandInput = DescribeProjectsRequest; @@ -67,14 +67,14 @@ export class DescribeProjectsCommand extends $Command< private serialize( input: DescribeProjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProjectsCommand(output, context); } diff --git a/clients/client-rekognition/commands/DescribeStreamProcessorCommand.ts b/clients/client-rekognition/commands/DescribeStreamProcessorCommand.ts index 5b78928c2a8b..a44f76706013 100644 --- a/clients/client-rekognition/commands/DescribeStreamProcessorCommand.ts +++ b/clients/client-rekognition/commands/DescribeStreamProcessorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStreamProcessorCommandInput = DescribeStreamProcessorRequest; @@ -70,14 +70,14 @@ export class DescribeStreamProcessorCommand extends $Command< private serialize( input: DescribeStreamProcessorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeStreamProcessorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeStreamProcessorCommand( output, diff --git a/clients/client-rekognition/commands/DetectCustomLabelsCommand.ts b/clients/client-rekognition/commands/DetectCustomLabelsCommand.ts index fa5292f7a0f1..b2be847dc380 100644 --- a/clients/client-rekognition/commands/DetectCustomLabelsCommand.ts +++ b/clients/client-rekognition/commands/DetectCustomLabelsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectCustomLabelsCommandInput = DetectCustomLabelsRequest; @@ -67,14 +67,14 @@ export class DetectCustomLabelsCommand extends $Command< private serialize( input: DetectCustomLabelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectCustomLabelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectCustomLabelsCommand(output, context); } diff --git a/clients/client-rekognition/commands/DetectFacesCommand.ts b/clients/client-rekognition/commands/DetectFacesCommand.ts index 8eea7466b9ae..2cfb8275a0ba 100644 --- a/clients/client-rekognition/commands/DetectFacesCommand.ts +++ b/clients/client-rekognition/commands/DetectFacesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectFacesCommandInput = DetectFacesRequest; @@ -64,14 +64,14 @@ export class DetectFacesCommand extends $Command< private serialize( input: DetectFacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectFacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectFacesCommand(output, context); } diff --git a/clients/client-rekognition/commands/DetectLabelsCommand.ts b/clients/client-rekognition/commands/DetectLabelsCommand.ts index e5eb41456634..1b3fa74cf4a0 100644 --- a/clients/client-rekognition/commands/DetectLabelsCommand.ts +++ b/clients/client-rekognition/commands/DetectLabelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectLabelsCommandInput = DetectLabelsRequest; @@ -64,14 +64,14 @@ export class DetectLabelsCommand extends $Command< private serialize( input: DetectLabelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectLabelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectLabelsCommand(output, context); } diff --git a/clients/client-rekognition/commands/DetectModerationLabelsCommand.ts b/clients/client-rekognition/commands/DetectModerationLabelsCommand.ts index d9fc1dca4d37..e234b1f9844b 100644 --- a/clients/client-rekognition/commands/DetectModerationLabelsCommand.ts +++ b/clients/client-rekognition/commands/DetectModerationLabelsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectModerationLabelsCommandInput = DetectModerationLabelsRequest; @@ -70,14 +70,14 @@ export class DetectModerationLabelsCommand extends $Command< private serialize( input: DetectModerationLabelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectModerationLabelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectModerationLabelsCommand(output, context); } diff --git a/clients/client-rekognition/commands/DetectTextCommand.ts b/clients/client-rekognition/commands/DetectTextCommand.ts index 778fd0f8532d..41942a7bb01c 100644 --- a/clients/client-rekognition/commands/DetectTextCommand.ts +++ b/clients/client-rekognition/commands/DetectTextCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectTextCommandInput = DetectTextRequest; @@ -64,14 +64,14 @@ export class DetectTextCommand extends $Command< private serialize( input: DetectTextCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectTextCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectTextCommand(output, context); } diff --git a/clients/client-rekognition/commands/GetCelebrityInfoCommand.ts b/clients/client-rekognition/commands/GetCelebrityInfoCommand.ts index 296e06d4bfc5..7ac968c868e7 100644 --- a/clients/client-rekognition/commands/GetCelebrityInfoCommand.ts +++ b/clients/client-rekognition/commands/GetCelebrityInfoCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCelebrityInfoCommandInput = GetCelebrityInfoRequest; @@ -67,14 +67,14 @@ export class GetCelebrityInfoCommand extends $Command< private serialize( input: GetCelebrityInfoCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCelebrityInfoCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCelebrityInfoCommand(output, context); } diff --git a/clients/client-rekognition/commands/GetCelebrityRecognitionCommand.ts b/clients/client-rekognition/commands/GetCelebrityRecognitionCommand.ts index 22426197a3d2..9aa380d0d042 100644 --- a/clients/client-rekognition/commands/GetCelebrityRecognitionCommand.ts +++ b/clients/client-rekognition/commands/GetCelebrityRecognitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCelebrityRecognitionCommandInput = GetCelebrityRecognitionRequest; @@ -70,14 +70,14 @@ export class GetCelebrityRecognitionCommand extends $Command< private serialize( input: GetCelebrityRecognitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCelebrityRecognitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCelebrityRecognitionCommand( output, diff --git a/clients/client-rekognition/commands/GetContentModerationCommand.ts b/clients/client-rekognition/commands/GetContentModerationCommand.ts index 1438ff7f6cb4..b53f8d5b0a14 100644 --- a/clients/client-rekognition/commands/GetContentModerationCommand.ts +++ b/clients/client-rekognition/commands/GetContentModerationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetContentModerationCommandInput = GetContentModerationRequest; @@ -70,14 +70,14 @@ export class GetContentModerationCommand extends $Command< private serialize( input: GetContentModerationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetContentModerationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetContentModerationCommand(output, context); } diff --git a/clients/client-rekognition/commands/GetFaceDetectionCommand.ts b/clients/client-rekognition/commands/GetFaceDetectionCommand.ts index f953f68573b3..98e18ab58792 100644 --- a/clients/client-rekognition/commands/GetFaceDetectionCommand.ts +++ b/clients/client-rekognition/commands/GetFaceDetectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFaceDetectionCommandInput = GetFaceDetectionRequest; @@ -67,14 +67,14 @@ export class GetFaceDetectionCommand extends $Command< private serialize( input: GetFaceDetectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetFaceDetectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetFaceDetectionCommand(output, context); } diff --git a/clients/client-rekognition/commands/GetFaceSearchCommand.ts b/clients/client-rekognition/commands/GetFaceSearchCommand.ts index ce3c643bf1ae..dbdd625f1799 100644 --- a/clients/client-rekognition/commands/GetFaceSearchCommand.ts +++ b/clients/client-rekognition/commands/GetFaceSearchCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFaceSearchCommandInput = GetFaceSearchRequest; @@ -64,14 +64,14 @@ export class GetFaceSearchCommand extends $Command< private serialize( input: GetFaceSearchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetFaceSearchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetFaceSearchCommand(output, context); } diff --git a/clients/client-rekognition/commands/GetLabelDetectionCommand.ts b/clients/client-rekognition/commands/GetLabelDetectionCommand.ts index c788e0dd052b..802d26674483 100644 --- a/clients/client-rekognition/commands/GetLabelDetectionCommand.ts +++ b/clients/client-rekognition/commands/GetLabelDetectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLabelDetectionCommandInput = GetLabelDetectionRequest; @@ -67,14 +67,14 @@ export class GetLabelDetectionCommand extends $Command< private serialize( input: GetLabelDetectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLabelDetectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLabelDetectionCommand(output, context); } diff --git a/clients/client-rekognition/commands/GetPersonTrackingCommand.ts b/clients/client-rekognition/commands/GetPersonTrackingCommand.ts index 7c3f3c5593a2..4e1361dec26b 100644 --- a/clients/client-rekognition/commands/GetPersonTrackingCommand.ts +++ b/clients/client-rekognition/commands/GetPersonTrackingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPersonTrackingCommandInput = GetPersonTrackingRequest; @@ -67,14 +67,14 @@ export class GetPersonTrackingCommand extends $Command< private serialize( input: GetPersonTrackingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPersonTrackingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPersonTrackingCommand(output, context); } diff --git a/clients/client-rekognition/commands/IndexFacesCommand.ts b/clients/client-rekognition/commands/IndexFacesCommand.ts index 094caac4fad1..818a5cda0c9b 100644 --- a/clients/client-rekognition/commands/IndexFacesCommand.ts +++ b/clients/client-rekognition/commands/IndexFacesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type IndexFacesCommandInput = IndexFacesRequest; @@ -64,14 +64,14 @@ export class IndexFacesCommand extends $Command< private serialize( input: IndexFacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1IndexFacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1IndexFacesCommand(output, context); } diff --git a/clients/client-rekognition/commands/ListCollectionsCommand.ts b/clients/client-rekognition/commands/ListCollectionsCommand.ts index 2a20c7787084..c04dec5f878d 100644 --- a/clients/client-rekognition/commands/ListCollectionsCommand.ts +++ b/clients/client-rekognition/commands/ListCollectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCollectionsCommandInput = ListCollectionsRequest; @@ -67,14 +67,14 @@ export class ListCollectionsCommand extends $Command< private serialize( input: ListCollectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCollectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCollectionsCommand(output, context); } diff --git a/clients/client-rekognition/commands/ListFacesCommand.ts b/clients/client-rekognition/commands/ListFacesCommand.ts index 358ff6ac305e..1fcc500aa89e 100644 --- a/clients/client-rekognition/commands/ListFacesCommand.ts +++ b/clients/client-rekognition/commands/ListFacesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFacesCommandInput = ListFacesRequest; @@ -64,14 +64,14 @@ export class ListFacesCommand extends $Command< private serialize( input: ListFacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListFacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListFacesCommand(output, context); } diff --git a/clients/client-rekognition/commands/ListStreamProcessorsCommand.ts b/clients/client-rekognition/commands/ListStreamProcessorsCommand.ts index dc4583b43fdb..e58ca5f7401f 100644 --- a/clients/client-rekognition/commands/ListStreamProcessorsCommand.ts +++ b/clients/client-rekognition/commands/ListStreamProcessorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStreamProcessorsCommandInput = ListStreamProcessorsRequest; @@ -70,14 +70,14 @@ export class ListStreamProcessorsCommand extends $Command< private serialize( input: ListStreamProcessorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListStreamProcessorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListStreamProcessorsCommand(output, context); } diff --git a/clients/client-rekognition/commands/RecognizeCelebritiesCommand.ts b/clients/client-rekognition/commands/RecognizeCelebritiesCommand.ts index afea36f92b5e..66ac80040f2c 100644 --- a/clients/client-rekognition/commands/RecognizeCelebritiesCommand.ts +++ b/clients/client-rekognition/commands/RecognizeCelebritiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RecognizeCelebritiesCommandInput = RecognizeCelebritiesRequest; @@ -70,14 +70,14 @@ export class RecognizeCelebritiesCommand extends $Command< private serialize( input: RecognizeCelebritiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RecognizeCelebritiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RecognizeCelebritiesCommand(output, context); } diff --git a/clients/client-rekognition/commands/SearchFacesByImageCommand.ts b/clients/client-rekognition/commands/SearchFacesByImageCommand.ts index 20d27a00997f..6ddaf8d8dcdc 100644 --- a/clients/client-rekognition/commands/SearchFacesByImageCommand.ts +++ b/clients/client-rekognition/commands/SearchFacesByImageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchFacesByImageCommandInput = SearchFacesByImageRequest; @@ -67,14 +67,14 @@ export class SearchFacesByImageCommand extends $Command< private serialize( input: SearchFacesByImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchFacesByImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchFacesByImageCommand(output, context); } diff --git a/clients/client-rekognition/commands/SearchFacesCommand.ts b/clients/client-rekognition/commands/SearchFacesCommand.ts index 3d07cecaf2c1..994137e08c5e 100644 --- a/clients/client-rekognition/commands/SearchFacesCommand.ts +++ b/clients/client-rekognition/commands/SearchFacesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchFacesCommandInput = SearchFacesRequest; @@ -64,14 +64,14 @@ export class SearchFacesCommand extends $Command< private serialize( input: SearchFacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchFacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchFacesCommand(output, context); } diff --git a/clients/client-rekognition/commands/StartCelebrityRecognitionCommand.ts b/clients/client-rekognition/commands/StartCelebrityRecognitionCommand.ts index dcf3438b0b72..30f42ab6959a 100644 --- a/clients/client-rekognition/commands/StartCelebrityRecognitionCommand.ts +++ b/clients/client-rekognition/commands/StartCelebrityRecognitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartCelebrityRecognitionCommandInput = StartCelebrityRecognitionRequest; @@ -70,14 +70,14 @@ export class StartCelebrityRecognitionCommand extends $Command< private serialize( input: StartCelebrityRecognitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartCelebrityRecognitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartCelebrityRecognitionCommand( output, diff --git a/clients/client-rekognition/commands/StartContentModerationCommand.ts b/clients/client-rekognition/commands/StartContentModerationCommand.ts index cba70abbe622..a88b4f98b699 100644 --- a/clients/client-rekognition/commands/StartContentModerationCommand.ts +++ b/clients/client-rekognition/commands/StartContentModerationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartContentModerationCommandInput = StartContentModerationRequest; @@ -70,14 +70,14 @@ export class StartContentModerationCommand extends $Command< private serialize( input: StartContentModerationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartContentModerationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartContentModerationCommand(output, context); } diff --git a/clients/client-rekognition/commands/StartFaceDetectionCommand.ts b/clients/client-rekognition/commands/StartFaceDetectionCommand.ts index 5078c7f02304..270fd6e090fc 100644 --- a/clients/client-rekognition/commands/StartFaceDetectionCommand.ts +++ b/clients/client-rekognition/commands/StartFaceDetectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartFaceDetectionCommandInput = StartFaceDetectionRequest; @@ -67,14 +67,14 @@ export class StartFaceDetectionCommand extends $Command< private serialize( input: StartFaceDetectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartFaceDetectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartFaceDetectionCommand(output, context); } diff --git a/clients/client-rekognition/commands/StartFaceSearchCommand.ts b/clients/client-rekognition/commands/StartFaceSearchCommand.ts index c1f8e4206ac4..7ec32025d57c 100644 --- a/clients/client-rekognition/commands/StartFaceSearchCommand.ts +++ b/clients/client-rekognition/commands/StartFaceSearchCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartFaceSearchCommandInput = StartFaceSearchRequest; @@ -67,14 +67,14 @@ export class StartFaceSearchCommand extends $Command< private serialize( input: StartFaceSearchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartFaceSearchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartFaceSearchCommand(output, context); } diff --git a/clients/client-rekognition/commands/StartLabelDetectionCommand.ts b/clients/client-rekognition/commands/StartLabelDetectionCommand.ts index d31110f30b92..6d210b27f019 100644 --- a/clients/client-rekognition/commands/StartLabelDetectionCommand.ts +++ b/clients/client-rekognition/commands/StartLabelDetectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartLabelDetectionCommandInput = StartLabelDetectionRequest; @@ -70,14 +70,14 @@ export class StartLabelDetectionCommand extends $Command< private serialize( input: StartLabelDetectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartLabelDetectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartLabelDetectionCommand(output, context); } diff --git a/clients/client-rekognition/commands/StartPersonTrackingCommand.ts b/clients/client-rekognition/commands/StartPersonTrackingCommand.ts index 408b60f32fa0..e6533ac1c2a4 100644 --- a/clients/client-rekognition/commands/StartPersonTrackingCommand.ts +++ b/clients/client-rekognition/commands/StartPersonTrackingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartPersonTrackingCommandInput = StartPersonTrackingRequest; @@ -70,14 +70,14 @@ export class StartPersonTrackingCommand extends $Command< private serialize( input: StartPersonTrackingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartPersonTrackingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartPersonTrackingCommand(output, context); } diff --git a/clients/client-rekognition/commands/StartProjectVersionCommand.ts b/clients/client-rekognition/commands/StartProjectVersionCommand.ts index 0f584fc59a6a..1039e4cfccf4 100644 --- a/clients/client-rekognition/commands/StartProjectVersionCommand.ts +++ b/clients/client-rekognition/commands/StartProjectVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartProjectVersionCommandInput = StartProjectVersionRequest; @@ -70,14 +70,14 @@ export class StartProjectVersionCommand extends $Command< private serialize( input: StartProjectVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartProjectVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartProjectVersionCommand(output, context); } diff --git a/clients/client-rekognition/commands/StartStreamProcessorCommand.ts b/clients/client-rekognition/commands/StartStreamProcessorCommand.ts index 9da6b7c41e7e..f2c313c1841d 100644 --- a/clients/client-rekognition/commands/StartStreamProcessorCommand.ts +++ b/clients/client-rekognition/commands/StartStreamProcessorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartStreamProcessorCommandInput = StartStreamProcessorRequest; @@ -70,14 +70,14 @@ export class StartStreamProcessorCommand extends $Command< private serialize( input: StartStreamProcessorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartStreamProcessorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartStreamProcessorCommand(output, context); } diff --git a/clients/client-rekognition/commands/StopProjectVersionCommand.ts b/clients/client-rekognition/commands/StopProjectVersionCommand.ts index 5333200a3660..d08a98a1715e 100644 --- a/clients/client-rekognition/commands/StopProjectVersionCommand.ts +++ b/clients/client-rekognition/commands/StopProjectVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopProjectVersionCommandInput = StopProjectVersionRequest; @@ -67,14 +67,14 @@ export class StopProjectVersionCommand extends $Command< private serialize( input: StopProjectVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopProjectVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopProjectVersionCommand(output, context); } diff --git a/clients/client-rekognition/commands/StopStreamProcessorCommand.ts b/clients/client-rekognition/commands/StopStreamProcessorCommand.ts index 534387aacf81..f626cff2b65f 100644 --- a/clients/client-rekognition/commands/StopStreamProcessorCommand.ts +++ b/clients/client-rekognition/commands/StopStreamProcessorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopStreamProcessorCommandInput = StopStreamProcessorRequest; @@ -70,14 +70,14 @@ export class StopStreamProcessorCommand extends $Command< private serialize( input: StopStreamProcessorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopStreamProcessorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopStreamProcessorCommand(output, context); } diff --git a/clients/client-rekognition/protocols/Aws_json1_1.ts b/clients/client-rekognition/protocols/Aws_json1_1.ts index 96af57e9de30..c96392e2128b 100644 --- a/clients/client-rekognition/protocols/Aws_json1_1.ts +++ b/clients/client-rekognition/protocols/Aws_json1_1.ts @@ -9662,6 +9662,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-resource-groups-tagging-api/commands/DescribeReportCreationCommand.ts b/clients/client-resource-groups-tagging-api/commands/DescribeReportCreationCommand.ts index 081c228a1997..82f9b5a2e7f0 100644 --- a/clients/client-resource-groups-tagging-api/commands/DescribeReportCreationCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/DescribeReportCreationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReportCreationCommandInput = DescribeReportCreationInput; @@ -70,14 +70,14 @@ export class DescribeReportCreationCommand extends $Command< private serialize( input: DescribeReportCreationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeReportCreationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeReportCreationCommand(output, context); } diff --git a/clients/client-resource-groups-tagging-api/commands/GetComplianceSummaryCommand.ts b/clients/client-resource-groups-tagging-api/commands/GetComplianceSummaryCommand.ts index eecce903363d..c727aed1249d 100644 --- a/clients/client-resource-groups-tagging-api/commands/GetComplianceSummaryCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/GetComplianceSummaryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetComplianceSummaryCommandInput = GetComplianceSummaryInput; @@ -70,14 +70,14 @@ export class GetComplianceSummaryCommand extends $Command< private serialize( input: GetComplianceSummaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetComplianceSummaryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetComplianceSummaryCommand(output, context); } diff --git a/clients/client-resource-groups-tagging-api/commands/GetResourcesCommand.ts b/clients/client-resource-groups-tagging-api/commands/GetResourcesCommand.ts index 26879e4e0302..05eed6403714 100644 --- a/clients/client-resource-groups-tagging-api/commands/GetResourcesCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/GetResourcesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourcesCommandInput = GetResourcesInput; @@ -64,14 +64,14 @@ export class GetResourcesCommand extends $Command< private serialize( input: GetResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetResourcesCommand(output, context); } diff --git a/clients/client-resource-groups-tagging-api/commands/GetTagKeysCommand.ts b/clients/client-resource-groups-tagging-api/commands/GetTagKeysCommand.ts index 0d812d8ea71f..2b054cdc47a4 100644 --- a/clients/client-resource-groups-tagging-api/commands/GetTagKeysCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/GetTagKeysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTagKeysCommandInput = GetTagKeysInput; @@ -64,14 +64,14 @@ export class GetTagKeysCommand extends $Command< private serialize( input: GetTagKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTagKeysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTagKeysCommand(output, context); } diff --git a/clients/client-resource-groups-tagging-api/commands/GetTagValuesCommand.ts b/clients/client-resource-groups-tagging-api/commands/GetTagValuesCommand.ts index 6c09f09d6ed8..4b28339fc53a 100644 --- a/clients/client-resource-groups-tagging-api/commands/GetTagValuesCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/GetTagValuesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTagValuesCommandInput = GetTagValuesInput; @@ -64,14 +64,14 @@ export class GetTagValuesCommand extends $Command< private serialize( input: GetTagValuesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTagValuesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTagValuesCommand(output, context); } diff --git a/clients/client-resource-groups-tagging-api/commands/StartReportCreationCommand.ts b/clients/client-resource-groups-tagging-api/commands/StartReportCreationCommand.ts index 3ec3a6b66fc1..6d1486b25b05 100644 --- a/clients/client-resource-groups-tagging-api/commands/StartReportCreationCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/StartReportCreationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartReportCreationCommandInput = StartReportCreationInput; @@ -70,14 +70,14 @@ export class StartReportCreationCommand extends $Command< private serialize( input: StartReportCreationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartReportCreationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartReportCreationCommand(output, context); } diff --git a/clients/client-resource-groups-tagging-api/commands/TagResourcesCommand.ts b/clients/client-resource-groups-tagging-api/commands/TagResourcesCommand.ts index fc2b1accf9df..2c87a386bd36 100644 --- a/clients/client-resource-groups-tagging-api/commands/TagResourcesCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/TagResourcesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourcesCommandInput = TagResourcesInput; @@ -64,14 +64,14 @@ export class TagResourcesCommand extends $Command< private serialize( input: TagResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourcesCommand(output, context); } diff --git a/clients/client-resource-groups-tagging-api/commands/UntagResourcesCommand.ts b/clients/client-resource-groups-tagging-api/commands/UntagResourcesCommand.ts index e24fffab1038..6801caf7d7fb 100644 --- a/clients/client-resource-groups-tagging-api/commands/UntagResourcesCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/UntagResourcesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourcesCommandInput = UntagResourcesInput; @@ -64,14 +64,14 @@ export class UntagResourcesCommand extends $Command< private serialize( input: UntagResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourcesCommand(output, context); } diff --git a/clients/client-resource-groups-tagging-api/protocols/Aws_json1_1.ts b/clients/client-resource-groups-tagging-api/protocols/Aws_json1_1.ts index d2bbdd502a30..fac58221549e 100644 --- a/clients/client-resource-groups-tagging-api/protocols/Aws_json1_1.ts +++ b/clients/client-resource-groups-tagging-api/protocols/Aws_json1_1.ts @@ -1619,6 +1619,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-resource-groups/commands/CreateGroupCommand.ts b/clients/client-resource-groups/commands/CreateGroupCommand.ts index d0f377b5bb76..a4ab663e9da8 100644 --- a/clients/client-resource-groups/commands/CreateGroupCommand.ts +++ b/clients/client-resource-groups/commands/CreateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGroupCommandInput = CreateGroupInput; @@ -64,14 +64,14 @@ export class CreateGroupCommand extends $Command< private serialize( input: CreateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateGroupCommand(output, context); } diff --git a/clients/client-resource-groups/commands/DeleteGroupCommand.ts b/clients/client-resource-groups/commands/DeleteGroupCommand.ts index 2efe0e223cf2..b4637413c7ab 100644 --- a/clients/client-resource-groups/commands/DeleteGroupCommand.ts +++ b/clients/client-resource-groups/commands/DeleteGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGroupCommandInput = DeleteGroupInput; @@ -64,14 +64,14 @@ export class DeleteGroupCommand extends $Command< private serialize( input: DeleteGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteGroupCommand(output, context); } diff --git a/clients/client-resource-groups/commands/GetGroupCommand.ts b/clients/client-resource-groups/commands/GetGroupCommand.ts index 5ef30af33e58..89af455f04f6 100644 --- a/clients/client-resource-groups/commands/GetGroupCommand.ts +++ b/clients/client-resource-groups/commands/GetGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGroupCommandInput = GetGroupInput; @@ -64,14 +64,14 @@ export class GetGroupCommand extends $Command< private serialize( input: GetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGroupCommand(output, context); } diff --git a/clients/client-resource-groups/commands/GetGroupQueryCommand.ts b/clients/client-resource-groups/commands/GetGroupQueryCommand.ts index 44296fd04b3a..d771639b9c6b 100644 --- a/clients/client-resource-groups/commands/GetGroupQueryCommand.ts +++ b/clients/client-resource-groups/commands/GetGroupQueryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGroupQueryCommandInput = GetGroupQueryInput; @@ -64,14 +64,14 @@ export class GetGroupQueryCommand extends $Command< private serialize( input: GetGroupQueryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGroupQueryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGroupQueryCommand(output, context); } diff --git a/clients/client-resource-groups/commands/GetTagsCommand.ts b/clients/client-resource-groups/commands/GetTagsCommand.ts index f13bfe0c1b12..5b897102594c 100644 --- a/clients/client-resource-groups/commands/GetTagsCommand.ts +++ b/clients/client-resource-groups/commands/GetTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTagsCommandInput = GetTagsInput; @@ -64,14 +64,14 @@ export class GetTagsCommand extends $Command< private serialize( input: GetTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTagsCommand(output, context); } diff --git a/clients/client-resource-groups/commands/ListGroupResourcesCommand.ts b/clients/client-resource-groups/commands/ListGroupResourcesCommand.ts index 65358acadd60..ad251de5fab5 100644 --- a/clients/client-resource-groups/commands/ListGroupResourcesCommand.ts +++ b/clients/client-resource-groups/commands/ListGroupResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupResourcesCommandInput = ListGroupResourcesInput; @@ -67,14 +67,14 @@ export class ListGroupResourcesCommand extends $Command< private serialize( input: ListGroupResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListGroupResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListGroupResourcesCommand(output, context); } diff --git a/clients/client-resource-groups/commands/ListGroupsCommand.ts b/clients/client-resource-groups/commands/ListGroupsCommand.ts index 728a047a53f8..346933a71605 100644 --- a/clients/client-resource-groups/commands/ListGroupsCommand.ts +++ b/clients/client-resource-groups/commands/ListGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupsCommandInput = ListGroupsInput; @@ -64,14 +64,14 @@ export class ListGroupsCommand extends $Command< private serialize( input: ListGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListGroupsCommand(output, context); } diff --git a/clients/client-resource-groups/commands/SearchResourcesCommand.ts b/clients/client-resource-groups/commands/SearchResourcesCommand.ts index 930c9c74e6c7..f00ac3b43ccd 100644 --- a/clients/client-resource-groups/commands/SearchResourcesCommand.ts +++ b/clients/client-resource-groups/commands/SearchResourcesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchResourcesCommandInput = SearchResourcesInput; @@ -64,14 +64,14 @@ export class SearchResourcesCommand extends $Command< private serialize( input: SearchResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SearchResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SearchResourcesCommand(output, context); } diff --git a/clients/client-resource-groups/commands/TagCommand.ts b/clients/client-resource-groups/commands/TagCommand.ts index c4300a29b123..cb998990c41e 100644 --- a/clients/client-resource-groups/commands/TagCommand.ts +++ b/clients/client-resource-groups/commands/TagCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagCommandInput = TagInput; @@ -64,14 +64,14 @@ export class TagCommand extends $Command< private serialize( input: TagCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagCommand(output, context); } diff --git a/clients/client-resource-groups/commands/UntagCommand.ts b/clients/client-resource-groups/commands/UntagCommand.ts index 2b4e2a9f67f1..81801b8a5293 100644 --- a/clients/client-resource-groups/commands/UntagCommand.ts +++ b/clients/client-resource-groups/commands/UntagCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagCommandInput = UntagInput; @@ -64,14 +64,14 @@ export class UntagCommand extends $Command< private serialize( input: UntagCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagCommand(output, context); } diff --git a/clients/client-resource-groups/commands/UpdateGroupCommand.ts b/clients/client-resource-groups/commands/UpdateGroupCommand.ts index 1b355a17f1eb..45dd6cf68ef2 100644 --- a/clients/client-resource-groups/commands/UpdateGroupCommand.ts +++ b/clients/client-resource-groups/commands/UpdateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGroupCommandInput = UpdateGroupInput; @@ -64,14 +64,14 @@ export class UpdateGroupCommand extends $Command< private serialize( input: UpdateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateGroupCommand(output, context); } diff --git a/clients/client-resource-groups/commands/UpdateGroupQueryCommand.ts b/clients/client-resource-groups/commands/UpdateGroupQueryCommand.ts index 07271875f9ec..098afaf6e28c 100644 --- a/clients/client-resource-groups/commands/UpdateGroupQueryCommand.ts +++ b/clients/client-resource-groups/commands/UpdateGroupQueryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGroupQueryCommandInput = UpdateGroupQueryInput; @@ -64,14 +64,14 @@ export class UpdateGroupQueryCommand extends $Command< private serialize( input: UpdateGroupQueryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateGroupQueryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateGroupQueryCommand(output, context); } diff --git a/clients/client-resource-groups/protocols/Aws_restJson1_1.ts b/clients/client-resource-groups/protocols/Aws_restJson1_1.ts index 3fb7562d66a2..4b0131e305b1 100644 --- a/clients/client-resource-groups/protocols/Aws_restJson1_1.ts +++ b/clients/client-resource-groups/protocols/Aws_restJson1_1.ts @@ -2017,6 +2017,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-robomaker/commands/BatchDescribeSimulationJobCommand.ts b/clients/client-robomaker/commands/BatchDescribeSimulationJobCommand.ts index aab248b58e77..9f521ee9c16f 100644 --- a/clients/client-robomaker/commands/BatchDescribeSimulationJobCommand.ts +++ b/clients/client-robomaker/commands/BatchDescribeSimulationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDescribeSimulationJobCommandInput = BatchDescribeSimulationJobRequest; @@ -70,7 +70,7 @@ export class BatchDescribeSimulationJobCommand extends $Command< private serialize( input: BatchDescribeSimulationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchDescribeSimulationJobCommand( input, @@ -80,7 +80,7 @@ export class BatchDescribeSimulationJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchDescribeSimulationJobCommand( output, diff --git a/clients/client-robomaker/commands/CancelDeploymentJobCommand.ts b/clients/client-robomaker/commands/CancelDeploymentJobCommand.ts index 329bffa8ba5a..7da3551fdb57 100644 --- a/clients/client-robomaker/commands/CancelDeploymentJobCommand.ts +++ b/clients/client-robomaker/commands/CancelDeploymentJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelDeploymentJobCommandInput = CancelDeploymentJobRequest; @@ -70,14 +70,14 @@ export class CancelDeploymentJobCommand extends $Command< private serialize( input: CancelDeploymentJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelDeploymentJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelDeploymentJobCommand( output, diff --git a/clients/client-robomaker/commands/CancelSimulationJobCommand.ts b/clients/client-robomaker/commands/CancelSimulationJobCommand.ts index f51305a1ec76..7ff112d9be47 100644 --- a/clients/client-robomaker/commands/CancelSimulationJobCommand.ts +++ b/clients/client-robomaker/commands/CancelSimulationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelSimulationJobCommandInput = CancelSimulationJobRequest; @@ -70,14 +70,14 @@ export class CancelSimulationJobCommand extends $Command< private serialize( input: CancelSimulationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelSimulationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelSimulationJobCommand( output, diff --git a/clients/client-robomaker/commands/CreateDeploymentJobCommand.ts b/clients/client-robomaker/commands/CreateDeploymentJobCommand.ts index 92288a400854..708529a0dd82 100644 --- a/clients/client-robomaker/commands/CreateDeploymentJobCommand.ts +++ b/clients/client-robomaker/commands/CreateDeploymentJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeploymentJobCommandInput = CreateDeploymentJobRequest; @@ -70,14 +70,14 @@ export class CreateDeploymentJobCommand extends $Command< private serialize( input: CreateDeploymentJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDeploymentJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDeploymentJobCommand( output, diff --git a/clients/client-robomaker/commands/CreateFleetCommand.ts b/clients/client-robomaker/commands/CreateFleetCommand.ts index b4cf10976d77..2e1c1cf81090 100644 --- a/clients/client-robomaker/commands/CreateFleetCommand.ts +++ b/clients/client-robomaker/commands/CreateFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFleetCommandInput = CreateFleetRequest; @@ -64,14 +64,14 @@ export class CreateFleetCommand extends $Command< private serialize( input: CreateFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFleetCommand(output, context); } diff --git a/clients/client-robomaker/commands/CreateRobotApplicationCommand.ts b/clients/client-robomaker/commands/CreateRobotApplicationCommand.ts index 00d10b977902..04fc5e27b797 100644 --- a/clients/client-robomaker/commands/CreateRobotApplicationCommand.ts +++ b/clients/client-robomaker/commands/CreateRobotApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRobotApplicationCommandInput = CreateRobotApplicationRequest; @@ -70,7 +70,7 @@ export class CreateRobotApplicationCommand extends $Command< private serialize( input: CreateRobotApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRobotApplicationCommand( input, @@ -80,7 +80,7 @@ export class CreateRobotApplicationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRobotApplicationCommand( output, diff --git a/clients/client-robomaker/commands/CreateRobotApplicationVersionCommand.ts b/clients/client-robomaker/commands/CreateRobotApplicationVersionCommand.ts index b1015c56abee..343fbaecbe06 100644 --- a/clients/client-robomaker/commands/CreateRobotApplicationVersionCommand.ts +++ b/clients/client-robomaker/commands/CreateRobotApplicationVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRobotApplicationVersionCommandInput = CreateRobotApplicationVersionRequest; @@ -70,7 +70,7 @@ export class CreateRobotApplicationVersionCommand extends $Command< private serialize( input: CreateRobotApplicationVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRobotApplicationVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateRobotApplicationVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRobotApplicationVersionCommand( output, diff --git a/clients/client-robomaker/commands/CreateRobotCommand.ts b/clients/client-robomaker/commands/CreateRobotCommand.ts index f97408f64f49..0507e44dfde8 100644 --- a/clients/client-robomaker/commands/CreateRobotCommand.ts +++ b/clients/client-robomaker/commands/CreateRobotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRobotCommandInput = CreateRobotRequest; @@ -64,14 +64,14 @@ export class CreateRobotCommand extends $Command< private serialize( input: CreateRobotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRobotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRobotCommand(output, context); } diff --git a/clients/client-robomaker/commands/CreateSimulationApplicationCommand.ts b/clients/client-robomaker/commands/CreateSimulationApplicationCommand.ts index 9e86edd5f991..9bcc8bfd5402 100644 --- a/clients/client-robomaker/commands/CreateSimulationApplicationCommand.ts +++ b/clients/client-robomaker/commands/CreateSimulationApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSimulationApplicationCommandInput = CreateSimulationApplicationRequest; @@ -70,7 +70,7 @@ export class CreateSimulationApplicationCommand extends $Command< private serialize( input: CreateSimulationApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSimulationApplicationCommand( input, @@ -80,7 +80,7 @@ export class CreateSimulationApplicationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSimulationApplicationCommand( output, diff --git a/clients/client-robomaker/commands/CreateSimulationApplicationVersionCommand.ts b/clients/client-robomaker/commands/CreateSimulationApplicationVersionCommand.ts index 2ca1b1ed4f81..99268dfced89 100644 --- a/clients/client-robomaker/commands/CreateSimulationApplicationVersionCommand.ts +++ b/clients/client-robomaker/commands/CreateSimulationApplicationVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSimulationApplicationVersionCommandInput = CreateSimulationApplicationVersionRequest; @@ -70,7 +70,7 @@ export class CreateSimulationApplicationVersionCommand extends $Command< private serialize( input: CreateSimulationApplicationVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSimulationApplicationVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateSimulationApplicationVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSimulationApplicationVersionCommand( output, diff --git a/clients/client-robomaker/commands/CreateSimulationJobCommand.ts b/clients/client-robomaker/commands/CreateSimulationJobCommand.ts index 689ba01823a8..228ca056277c 100644 --- a/clients/client-robomaker/commands/CreateSimulationJobCommand.ts +++ b/clients/client-robomaker/commands/CreateSimulationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSimulationJobCommandInput = CreateSimulationJobRequest; @@ -70,14 +70,14 @@ export class CreateSimulationJobCommand extends $Command< private serialize( input: CreateSimulationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSimulationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSimulationJobCommand( output, diff --git a/clients/client-robomaker/commands/DeleteFleetCommand.ts b/clients/client-robomaker/commands/DeleteFleetCommand.ts index 7362a541b023..48d8dfc98c9e 100644 --- a/clients/client-robomaker/commands/DeleteFleetCommand.ts +++ b/clients/client-robomaker/commands/DeleteFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFleetCommandInput = DeleteFleetRequest; @@ -64,14 +64,14 @@ export class DeleteFleetCommand extends $Command< private serialize( input: DeleteFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFleetCommand(output, context); } diff --git a/clients/client-robomaker/commands/DeleteRobotApplicationCommand.ts b/clients/client-robomaker/commands/DeleteRobotApplicationCommand.ts index 495b8a70b088..4b09a71382e6 100644 --- a/clients/client-robomaker/commands/DeleteRobotApplicationCommand.ts +++ b/clients/client-robomaker/commands/DeleteRobotApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRobotApplicationCommandInput = DeleteRobotApplicationRequest; @@ -70,7 +70,7 @@ export class DeleteRobotApplicationCommand extends $Command< private serialize( input: DeleteRobotApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRobotApplicationCommand( input, @@ -80,7 +80,7 @@ export class DeleteRobotApplicationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRobotApplicationCommand( output, diff --git a/clients/client-robomaker/commands/DeleteRobotCommand.ts b/clients/client-robomaker/commands/DeleteRobotCommand.ts index 8d2b5959ca0a..c41e81194a82 100644 --- a/clients/client-robomaker/commands/DeleteRobotCommand.ts +++ b/clients/client-robomaker/commands/DeleteRobotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRobotCommandInput = DeleteRobotRequest; @@ -64,14 +64,14 @@ export class DeleteRobotCommand extends $Command< private serialize( input: DeleteRobotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRobotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRobotCommand(output, context); } diff --git a/clients/client-robomaker/commands/DeleteSimulationApplicationCommand.ts b/clients/client-robomaker/commands/DeleteSimulationApplicationCommand.ts index 1ce793d210d8..0ed1e85d1d2a 100644 --- a/clients/client-robomaker/commands/DeleteSimulationApplicationCommand.ts +++ b/clients/client-robomaker/commands/DeleteSimulationApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSimulationApplicationCommandInput = DeleteSimulationApplicationRequest; @@ -70,7 +70,7 @@ export class DeleteSimulationApplicationCommand extends $Command< private serialize( input: DeleteSimulationApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSimulationApplicationCommand( input, @@ -80,7 +80,7 @@ export class DeleteSimulationApplicationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSimulationApplicationCommand( output, diff --git a/clients/client-robomaker/commands/DeregisterRobotCommand.ts b/clients/client-robomaker/commands/DeregisterRobotCommand.ts index 1ffcecca064f..c99ba5af2711 100644 --- a/clients/client-robomaker/commands/DeregisterRobotCommand.ts +++ b/clients/client-robomaker/commands/DeregisterRobotCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterRobotCommandInput = DeregisterRobotRequest; @@ -67,14 +67,14 @@ export class DeregisterRobotCommand extends $Command< private serialize( input: DeregisterRobotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeregisterRobotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeregisterRobotCommand(output, context); } diff --git a/clients/client-robomaker/commands/DescribeDeploymentJobCommand.ts b/clients/client-robomaker/commands/DescribeDeploymentJobCommand.ts index 79856960cb18..1febe4a7e976 100644 --- a/clients/client-robomaker/commands/DescribeDeploymentJobCommand.ts +++ b/clients/client-robomaker/commands/DescribeDeploymentJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDeploymentJobCommandInput = DescribeDeploymentJobRequest; @@ -70,14 +70,14 @@ export class DescribeDeploymentJobCommand extends $Command< private serialize( input: DescribeDeploymentJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDeploymentJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDeploymentJobCommand( output, diff --git a/clients/client-robomaker/commands/DescribeFleetCommand.ts b/clients/client-robomaker/commands/DescribeFleetCommand.ts index 5eeed0ca1841..619e1e01702b 100644 --- a/clients/client-robomaker/commands/DescribeFleetCommand.ts +++ b/clients/client-robomaker/commands/DescribeFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFleetCommandInput = DescribeFleetRequest; @@ -64,14 +64,14 @@ export class DescribeFleetCommand extends $Command< private serialize( input: DescribeFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeFleetCommand(output, context); } diff --git a/clients/client-robomaker/commands/DescribeRobotApplicationCommand.ts b/clients/client-robomaker/commands/DescribeRobotApplicationCommand.ts index d66cd007d073..79b671d26435 100644 --- a/clients/client-robomaker/commands/DescribeRobotApplicationCommand.ts +++ b/clients/client-robomaker/commands/DescribeRobotApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRobotApplicationCommandInput = DescribeRobotApplicationRequest; @@ -70,7 +70,7 @@ export class DescribeRobotApplicationCommand extends $Command< private serialize( input: DescribeRobotApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeRobotApplicationCommand( input, @@ -80,7 +80,7 @@ export class DescribeRobotApplicationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeRobotApplicationCommand( output, diff --git a/clients/client-robomaker/commands/DescribeRobotCommand.ts b/clients/client-robomaker/commands/DescribeRobotCommand.ts index 9c7388ea2d06..8926d36e3c1e 100644 --- a/clients/client-robomaker/commands/DescribeRobotCommand.ts +++ b/clients/client-robomaker/commands/DescribeRobotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRobotCommandInput = DescribeRobotRequest; @@ -64,14 +64,14 @@ export class DescribeRobotCommand extends $Command< private serialize( input: DescribeRobotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeRobotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeRobotCommand(output, context); } diff --git a/clients/client-robomaker/commands/DescribeSimulationApplicationCommand.ts b/clients/client-robomaker/commands/DescribeSimulationApplicationCommand.ts index 644acb778d9e..8036404fb24d 100644 --- a/clients/client-robomaker/commands/DescribeSimulationApplicationCommand.ts +++ b/clients/client-robomaker/commands/DescribeSimulationApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSimulationApplicationCommandInput = DescribeSimulationApplicationRequest; @@ -70,7 +70,7 @@ export class DescribeSimulationApplicationCommand extends $Command< private serialize( input: DescribeSimulationApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeSimulationApplicationCommand( input, @@ -80,7 +80,7 @@ export class DescribeSimulationApplicationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeSimulationApplicationCommand( output, diff --git a/clients/client-robomaker/commands/DescribeSimulationJobCommand.ts b/clients/client-robomaker/commands/DescribeSimulationJobCommand.ts index 4c55f239a62a..a8e1e9a2511e 100644 --- a/clients/client-robomaker/commands/DescribeSimulationJobCommand.ts +++ b/clients/client-robomaker/commands/DescribeSimulationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSimulationJobCommandInput = DescribeSimulationJobRequest; @@ -70,14 +70,14 @@ export class DescribeSimulationJobCommand extends $Command< private serialize( input: DescribeSimulationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeSimulationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeSimulationJobCommand( output, diff --git a/clients/client-robomaker/commands/ListDeploymentJobsCommand.ts b/clients/client-robomaker/commands/ListDeploymentJobsCommand.ts index ace5ed8c2d3e..3ad5988cdaf2 100644 --- a/clients/client-robomaker/commands/ListDeploymentJobsCommand.ts +++ b/clients/client-robomaker/commands/ListDeploymentJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeploymentJobsCommandInput = ListDeploymentJobsRequest; @@ -67,14 +67,14 @@ export class ListDeploymentJobsCommand extends $Command< private serialize( input: ListDeploymentJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDeploymentJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDeploymentJobsCommand(output, context); } diff --git a/clients/client-robomaker/commands/ListFleetsCommand.ts b/clients/client-robomaker/commands/ListFleetsCommand.ts index 4d6a34516d39..54e333cc30e0 100644 --- a/clients/client-robomaker/commands/ListFleetsCommand.ts +++ b/clients/client-robomaker/commands/ListFleetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFleetsCommandInput = ListFleetsRequest; @@ -64,14 +64,14 @@ export class ListFleetsCommand extends $Command< private serialize( input: ListFleetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFleetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFleetsCommand(output, context); } diff --git a/clients/client-robomaker/commands/ListRobotApplicationsCommand.ts b/clients/client-robomaker/commands/ListRobotApplicationsCommand.ts index 65e47cf2d27a..0bd056c08b49 100644 --- a/clients/client-robomaker/commands/ListRobotApplicationsCommand.ts +++ b/clients/client-robomaker/commands/ListRobotApplicationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRobotApplicationsCommandInput = ListRobotApplicationsRequest; @@ -70,14 +70,14 @@ export class ListRobotApplicationsCommand extends $Command< private serialize( input: ListRobotApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRobotApplicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRobotApplicationsCommand( output, diff --git a/clients/client-robomaker/commands/ListRobotsCommand.ts b/clients/client-robomaker/commands/ListRobotsCommand.ts index a63a3801b202..be6fac44ee49 100644 --- a/clients/client-robomaker/commands/ListRobotsCommand.ts +++ b/clients/client-robomaker/commands/ListRobotsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRobotsCommandInput = ListRobotsRequest; @@ -64,14 +64,14 @@ export class ListRobotsCommand extends $Command< private serialize( input: ListRobotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRobotsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRobotsCommand(output, context); } diff --git a/clients/client-robomaker/commands/ListSimulationApplicationsCommand.ts b/clients/client-robomaker/commands/ListSimulationApplicationsCommand.ts index 40eb245a10b3..fae137d9d7de 100644 --- a/clients/client-robomaker/commands/ListSimulationApplicationsCommand.ts +++ b/clients/client-robomaker/commands/ListSimulationApplicationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSimulationApplicationsCommandInput = ListSimulationApplicationsRequest; @@ -70,7 +70,7 @@ export class ListSimulationApplicationsCommand extends $Command< private serialize( input: ListSimulationApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSimulationApplicationsCommand( input, @@ -80,7 +80,7 @@ export class ListSimulationApplicationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSimulationApplicationsCommand( output, diff --git a/clients/client-robomaker/commands/ListSimulationJobsCommand.ts b/clients/client-robomaker/commands/ListSimulationJobsCommand.ts index 4e565053fbbc..b8b6b9627468 100644 --- a/clients/client-robomaker/commands/ListSimulationJobsCommand.ts +++ b/clients/client-robomaker/commands/ListSimulationJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSimulationJobsCommandInput = ListSimulationJobsRequest; @@ -67,14 +67,14 @@ export class ListSimulationJobsCommand extends $Command< private serialize( input: ListSimulationJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSimulationJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSimulationJobsCommand(output, context); } diff --git a/clients/client-robomaker/commands/ListTagsForResourceCommand.ts b/clients/client-robomaker/commands/ListTagsForResourceCommand.ts index 226e3c8e7111..20e7efb8cdad 100644 --- a/clients/client-robomaker/commands/ListTagsForResourceCommand.ts +++ b/clients/client-robomaker/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-robomaker/commands/RegisterRobotCommand.ts b/clients/client-robomaker/commands/RegisterRobotCommand.ts index 57c679612f4c..6480ba404d02 100644 --- a/clients/client-robomaker/commands/RegisterRobotCommand.ts +++ b/clients/client-robomaker/commands/RegisterRobotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterRobotCommandInput = RegisterRobotRequest; @@ -64,14 +64,14 @@ export class RegisterRobotCommand extends $Command< private serialize( input: RegisterRobotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RegisterRobotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RegisterRobotCommand(output, context); } diff --git a/clients/client-robomaker/commands/RestartSimulationJobCommand.ts b/clients/client-robomaker/commands/RestartSimulationJobCommand.ts index b13ffef980d2..f4a460bcfd20 100644 --- a/clients/client-robomaker/commands/RestartSimulationJobCommand.ts +++ b/clients/client-robomaker/commands/RestartSimulationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestartSimulationJobCommandInput = RestartSimulationJobRequest; @@ -70,14 +70,14 @@ export class RestartSimulationJobCommand extends $Command< private serialize( input: RestartSimulationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RestartSimulationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RestartSimulationJobCommand( output, diff --git a/clients/client-robomaker/commands/SyncDeploymentJobCommand.ts b/clients/client-robomaker/commands/SyncDeploymentJobCommand.ts index b8e40e70a00f..4db7421c206a 100644 --- a/clients/client-robomaker/commands/SyncDeploymentJobCommand.ts +++ b/clients/client-robomaker/commands/SyncDeploymentJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SyncDeploymentJobCommandInput = SyncDeploymentJobRequest; @@ -67,14 +67,14 @@ export class SyncDeploymentJobCommand extends $Command< private serialize( input: SyncDeploymentJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SyncDeploymentJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SyncDeploymentJobCommand(output, context); } diff --git a/clients/client-robomaker/commands/TagResourceCommand.ts b/clients/client-robomaker/commands/TagResourceCommand.ts index 74a63f3755dc..3ea9029629e1 100644 --- a/clients/client-robomaker/commands/TagResourceCommand.ts +++ b/clients/client-robomaker/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-robomaker/commands/UntagResourceCommand.ts b/clients/client-robomaker/commands/UntagResourceCommand.ts index 1979129cea4c..e71e8dfe7690 100644 --- a/clients/client-robomaker/commands/UntagResourceCommand.ts +++ b/clients/client-robomaker/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-robomaker/commands/UpdateRobotApplicationCommand.ts b/clients/client-robomaker/commands/UpdateRobotApplicationCommand.ts index 8433f55f8ef0..fb03181e93b1 100644 --- a/clients/client-robomaker/commands/UpdateRobotApplicationCommand.ts +++ b/clients/client-robomaker/commands/UpdateRobotApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRobotApplicationCommandInput = UpdateRobotApplicationRequest; @@ -70,7 +70,7 @@ export class UpdateRobotApplicationCommand extends $Command< private serialize( input: UpdateRobotApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRobotApplicationCommand( input, @@ -80,7 +80,7 @@ export class UpdateRobotApplicationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRobotApplicationCommand( output, diff --git a/clients/client-robomaker/commands/UpdateSimulationApplicationCommand.ts b/clients/client-robomaker/commands/UpdateSimulationApplicationCommand.ts index 8ad633e74435..5854e1bf9963 100644 --- a/clients/client-robomaker/commands/UpdateSimulationApplicationCommand.ts +++ b/clients/client-robomaker/commands/UpdateSimulationApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSimulationApplicationCommandInput = UpdateSimulationApplicationRequest; @@ -70,7 +70,7 @@ export class UpdateSimulationApplicationCommand extends $Command< private serialize( input: UpdateSimulationApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateSimulationApplicationCommand( input, @@ -80,7 +80,7 @@ export class UpdateSimulationApplicationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateSimulationApplicationCommand( output, diff --git a/clients/client-robomaker/protocols/Aws_restJson1_1.ts b/clients/client-robomaker/protocols/Aws_restJson1_1.ts index a22d1892961d..50ac721fd31d 100644 --- a/clients/client-robomaker/protocols/Aws_restJson1_1.ts +++ b/clients/client-robomaker/protocols/Aws_restJson1_1.ts @@ -6767,6 +6767,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-route-53-domains/commands/CheckDomainAvailabilityCommand.ts b/clients/client-route-53-domains/commands/CheckDomainAvailabilityCommand.ts index 7820bac1c081..05022bb9e8ae 100644 --- a/clients/client-route-53-domains/commands/CheckDomainAvailabilityCommand.ts +++ b/clients/client-route-53-domains/commands/CheckDomainAvailabilityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CheckDomainAvailabilityCommandInput = CheckDomainAvailabilityRequest; @@ -70,14 +70,14 @@ export class CheckDomainAvailabilityCommand extends $Command< private serialize( input: CheckDomainAvailabilityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CheckDomainAvailabilityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CheckDomainAvailabilityCommand( output, diff --git a/clients/client-route-53-domains/commands/CheckDomainTransferabilityCommand.ts b/clients/client-route-53-domains/commands/CheckDomainTransferabilityCommand.ts index 16e3b5cdac5b..124981529cc3 100644 --- a/clients/client-route-53-domains/commands/CheckDomainTransferabilityCommand.ts +++ b/clients/client-route-53-domains/commands/CheckDomainTransferabilityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CheckDomainTransferabilityCommandInput = CheckDomainTransferabilityRequest; @@ -70,7 +70,7 @@ export class CheckDomainTransferabilityCommand extends $Command< private serialize( input: CheckDomainTransferabilityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CheckDomainTransferabilityCommand( input, @@ -80,7 +80,7 @@ export class CheckDomainTransferabilityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CheckDomainTransferabilityCommand( output, diff --git a/clients/client-route-53-domains/commands/DeleteTagsForDomainCommand.ts b/clients/client-route-53-domains/commands/DeleteTagsForDomainCommand.ts index 7934ff75aef3..e274ceb5b7fb 100644 --- a/clients/client-route-53-domains/commands/DeleteTagsForDomainCommand.ts +++ b/clients/client-route-53-domains/commands/DeleteTagsForDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagsForDomainCommandInput = DeleteTagsForDomainRequest; @@ -70,14 +70,14 @@ export class DeleteTagsForDomainCommand extends $Command< private serialize( input: DeleteTagsForDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTagsForDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTagsForDomainCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/DisableDomainAutoRenewCommand.ts b/clients/client-route-53-domains/commands/DisableDomainAutoRenewCommand.ts index 6a2498f5288b..b4771df913f7 100644 --- a/clients/client-route-53-domains/commands/DisableDomainAutoRenewCommand.ts +++ b/clients/client-route-53-domains/commands/DisableDomainAutoRenewCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableDomainAutoRenewCommandInput = DisableDomainAutoRenewRequest; @@ -70,14 +70,14 @@ export class DisableDomainAutoRenewCommand extends $Command< private serialize( input: DisableDomainAutoRenewCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableDomainAutoRenewCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableDomainAutoRenewCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/DisableDomainTransferLockCommand.ts b/clients/client-route-53-domains/commands/DisableDomainTransferLockCommand.ts index 0d4cc5b13ec9..780e305bcc1f 100644 --- a/clients/client-route-53-domains/commands/DisableDomainTransferLockCommand.ts +++ b/clients/client-route-53-domains/commands/DisableDomainTransferLockCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableDomainTransferLockCommandInput = DisableDomainTransferLockRequest; @@ -70,14 +70,14 @@ export class DisableDomainTransferLockCommand extends $Command< private serialize( input: DisableDomainTransferLockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableDomainTransferLockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableDomainTransferLockCommand( output, diff --git a/clients/client-route-53-domains/commands/EnableDomainAutoRenewCommand.ts b/clients/client-route-53-domains/commands/EnableDomainAutoRenewCommand.ts index d1758124e740..5484c4fd2bfd 100644 --- a/clients/client-route-53-domains/commands/EnableDomainAutoRenewCommand.ts +++ b/clients/client-route-53-domains/commands/EnableDomainAutoRenewCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableDomainAutoRenewCommandInput = EnableDomainAutoRenewRequest; @@ -70,14 +70,14 @@ export class EnableDomainAutoRenewCommand extends $Command< private serialize( input: EnableDomainAutoRenewCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableDomainAutoRenewCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableDomainAutoRenewCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/EnableDomainTransferLockCommand.ts b/clients/client-route-53-domains/commands/EnableDomainTransferLockCommand.ts index b29d8dbb4d94..76f6ce1d225d 100644 --- a/clients/client-route-53-domains/commands/EnableDomainTransferLockCommand.ts +++ b/clients/client-route-53-domains/commands/EnableDomainTransferLockCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableDomainTransferLockCommandInput = EnableDomainTransferLockRequest; @@ -70,14 +70,14 @@ export class EnableDomainTransferLockCommand extends $Command< private serialize( input: EnableDomainTransferLockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableDomainTransferLockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableDomainTransferLockCommand( output, diff --git a/clients/client-route-53-domains/commands/GetContactReachabilityStatusCommand.ts b/clients/client-route-53-domains/commands/GetContactReachabilityStatusCommand.ts index 8ae7d947b397..e200e680be66 100644 --- a/clients/client-route-53-domains/commands/GetContactReachabilityStatusCommand.ts +++ b/clients/client-route-53-domains/commands/GetContactReachabilityStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetContactReachabilityStatusCommandInput = GetContactReachabilityStatusRequest; @@ -70,7 +70,7 @@ export class GetContactReachabilityStatusCommand extends $Command< private serialize( input: GetContactReachabilityStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetContactReachabilityStatusCommand( input, @@ -80,7 +80,7 @@ export class GetContactReachabilityStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetContactReachabilityStatusCommand( output, diff --git a/clients/client-route-53-domains/commands/GetDomainDetailCommand.ts b/clients/client-route-53-domains/commands/GetDomainDetailCommand.ts index 0d64b7e2cd21..7c105b449311 100644 --- a/clients/client-route-53-domains/commands/GetDomainDetailCommand.ts +++ b/clients/client-route-53-domains/commands/GetDomainDetailCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainDetailCommandInput = GetDomainDetailRequest; @@ -67,14 +67,14 @@ export class GetDomainDetailCommand extends $Command< private serialize( input: GetDomainDetailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDomainDetailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDomainDetailCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/GetDomainSuggestionsCommand.ts b/clients/client-route-53-domains/commands/GetDomainSuggestionsCommand.ts index 6e4ee3cd7b97..4a40a0c182fc 100644 --- a/clients/client-route-53-domains/commands/GetDomainSuggestionsCommand.ts +++ b/clients/client-route-53-domains/commands/GetDomainSuggestionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainSuggestionsCommandInput = GetDomainSuggestionsRequest; @@ -70,14 +70,14 @@ export class GetDomainSuggestionsCommand extends $Command< private serialize( input: GetDomainSuggestionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDomainSuggestionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDomainSuggestionsCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/GetOperationDetailCommand.ts b/clients/client-route-53-domains/commands/GetOperationDetailCommand.ts index f9a6a9bbb4db..1b3efb3f3681 100644 --- a/clients/client-route-53-domains/commands/GetOperationDetailCommand.ts +++ b/clients/client-route-53-domains/commands/GetOperationDetailCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOperationDetailCommandInput = GetOperationDetailRequest; @@ -67,14 +67,14 @@ export class GetOperationDetailCommand extends $Command< private serialize( input: GetOperationDetailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOperationDetailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOperationDetailCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/ListDomainsCommand.ts b/clients/client-route-53-domains/commands/ListDomainsCommand.ts index 853f4e4844a8..25112868bc20 100644 --- a/clients/client-route-53-domains/commands/ListDomainsCommand.ts +++ b/clients/client-route-53-domains/commands/ListDomainsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDomainsCommandInput = ListDomainsRequest; @@ -64,14 +64,14 @@ export class ListDomainsCommand extends $Command< private serialize( input: ListDomainsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDomainsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDomainsCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/ListOperationsCommand.ts b/clients/client-route-53-domains/commands/ListOperationsCommand.ts index 20a182c2d749..f5b202eef2d4 100644 --- a/clients/client-route-53-domains/commands/ListOperationsCommand.ts +++ b/clients/client-route-53-domains/commands/ListOperationsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOperationsCommandInput = ListOperationsRequest; @@ -64,14 +64,14 @@ export class ListOperationsCommand extends $Command< private serialize( input: ListOperationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListOperationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListOperationsCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/ListTagsForDomainCommand.ts b/clients/client-route-53-domains/commands/ListTagsForDomainCommand.ts index 4083666c5c7d..007d61d2f5b0 100644 --- a/clients/client-route-53-domains/commands/ListTagsForDomainCommand.ts +++ b/clients/client-route-53-domains/commands/ListTagsForDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForDomainCommandInput = ListTagsForDomainRequest; @@ -67,14 +67,14 @@ export class ListTagsForDomainCommand extends $Command< private serialize( input: ListTagsForDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForDomainCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/RegisterDomainCommand.ts b/clients/client-route-53-domains/commands/RegisterDomainCommand.ts index d4cf63aec5d9..2632fa48b175 100644 --- a/clients/client-route-53-domains/commands/RegisterDomainCommand.ts +++ b/clients/client-route-53-domains/commands/RegisterDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterDomainCommandInput = RegisterDomainRequest; @@ -64,14 +64,14 @@ export class RegisterDomainCommand extends $Command< private serialize( input: RegisterDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterDomainCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/RenewDomainCommand.ts b/clients/client-route-53-domains/commands/RenewDomainCommand.ts index 6090c3208fc8..cfdcbbb59ea8 100644 --- a/clients/client-route-53-domains/commands/RenewDomainCommand.ts +++ b/clients/client-route-53-domains/commands/RenewDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RenewDomainCommandInput = RenewDomainRequest; @@ -64,14 +64,14 @@ export class RenewDomainCommand extends $Command< private serialize( input: RenewDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RenewDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RenewDomainCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/ResendContactReachabilityEmailCommand.ts b/clients/client-route-53-domains/commands/ResendContactReachabilityEmailCommand.ts index d825a58e4d1a..67d71e146453 100644 --- a/clients/client-route-53-domains/commands/ResendContactReachabilityEmailCommand.ts +++ b/clients/client-route-53-domains/commands/ResendContactReachabilityEmailCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResendContactReachabilityEmailCommandInput = ResendContactReachabilityEmailRequest; @@ -70,7 +70,7 @@ export class ResendContactReachabilityEmailCommand extends $Command< private serialize( input: ResendContactReachabilityEmailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResendContactReachabilityEmailCommand( input, @@ -80,7 +80,7 @@ export class ResendContactReachabilityEmailCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResendContactReachabilityEmailCommand( output, diff --git a/clients/client-route-53-domains/commands/RetrieveDomainAuthCodeCommand.ts b/clients/client-route-53-domains/commands/RetrieveDomainAuthCodeCommand.ts index 6aba0b7118bb..72804d61a0bf 100644 --- a/clients/client-route-53-domains/commands/RetrieveDomainAuthCodeCommand.ts +++ b/clients/client-route-53-domains/commands/RetrieveDomainAuthCodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RetrieveDomainAuthCodeCommandInput = RetrieveDomainAuthCodeRequest; @@ -70,14 +70,14 @@ export class RetrieveDomainAuthCodeCommand extends $Command< private serialize( input: RetrieveDomainAuthCodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RetrieveDomainAuthCodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RetrieveDomainAuthCodeCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/TransferDomainCommand.ts b/clients/client-route-53-domains/commands/TransferDomainCommand.ts index a84c58654949..fbaf309dfe6d 100644 --- a/clients/client-route-53-domains/commands/TransferDomainCommand.ts +++ b/clients/client-route-53-domains/commands/TransferDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TransferDomainCommandInput = TransferDomainRequest; @@ -64,14 +64,14 @@ export class TransferDomainCommand extends $Command< private serialize( input: TransferDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TransferDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TransferDomainCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/UpdateDomainContactCommand.ts b/clients/client-route-53-domains/commands/UpdateDomainContactCommand.ts index 16142583ab3c..24a6049060dd 100644 --- a/clients/client-route-53-domains/commands/UpdateDomainContactCommand.ts +++ b/clients/client-route-53-domains/commands/UpdateDomainContactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDomainContactCommandInput = UpdateDomainContactRequest; @@ -70,14 +70,14 @@ export class UpdateDomainContactCommand extends $Command< private serialize( input: UpdateDomainContactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDomainContactCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDomainContactCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/UpdateDomainContactPrivacyCommand.ts b/clients/client-route-53-domains/commands/UpdateDomainContactPrivacyCommand.ts index ac5e549ef224..1d4930e4b0a6 100644 --- a/clients/client-route-53-domains/commands/UpdateDomainContactPrivacyCommand.ts +++ b/clients/client-route-53-domains/commands/UpdateDomainContactPrivacyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDomainContactPrivacyCommandInput = UpdateDomainContactPrivacyRequest; @@ -70,7 +70,7 @@ export class UpdateDomainContactPrivacyCommand extends $Command< private serialize( input: UpdateDomainContactPrivacyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDomainContactPrivacyCommand( input, @@ -80,7 +80,7 @@ export class UpdateDomainContactPrivacyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDomainContactPrivacyCommand( output, diff --git a/clients/client-route-53-domains/commands/UpdateDomainNameserversCommand.ts b/clients/client-route-53-domains/commands/UpdateDomainNameserversCommand.ts index 6802227cbafc..742c3e593f2d 100644 --- a/clients/client-route-53-domains/commands/UpdateDomainNameserversCommand.ts +++ b/clients/client-route-53-domains/commands/UpdateDomainNameserversCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDomainNameserversCommandInput = UpdateDomainNameserversRequest; @@ -70,14 +70,14 @@ export class UpdateDomainNameserversCommand extends $Command< private serialize( input: UpdateDomainNameserversCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDomainNameserversCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDomainNameserversCommand( output, diff --git a/clients/client-route-53-domains/commands/UpdateTagsForDomainCommand.ts b/clients/client-route-53-domains/commands/UpdateTagsForDomainCommand.ts index 868af214abac..0d376e702800 100644 --- a/clients/client-route-53-domains/commands/UpdateTagsForDomainCommand.ts +++ b/clients/client-route-53-domains/commands/UpdateTagsForDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTagsForDomainCommandInput = UpdateTagsForDomainRequest; @@ -70,14 +70,14 @@ export class UpdateTagsForDomainCommand extends $Command< private serialize( input: UpdateTagsForDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTagsForDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTagsForDomainCommand(output, context); } diff --git a/clients/client-route-53-domains/commands/ViewBillingCommand.ts b/clients/client-route-53-domains/commands/ViewBillingCommand.ts index 0947bb47ac45..69c683047623 100644 --- a/clients/client-route-53-domains/commands/ViewBillingCommand.ts +++ b/clients/client-route-53-domains/commands/ViewBillingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ViewBillingCommandInput = ViewBillingRequest; @@ -64,14 +64,14 @@ export class ViewBillingCommand extends $Command< private serialize( input: ViewBillingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ViewBillingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ViewBillingCommand(output, context); } diff --git a/clients/client-route-53-domains/protocols/Aws_json1_1.ts b/clients/client-route-53-domains/protocols/Aws_json1_1.ts index 9ec7e36ffc94..b1b1a1a3c8bd 100644 --- a/clients/client-route-53-domains/protocols/Aws_json1_1.ts +++ b/clients/client-route-53-domains/protocols/Aws_json1_1.ts @@ -3871,6 +3871,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-route-53/commands/AssociateVPCWithHostedZoneCommand.ts b/clients/client-route-53/commands/AssociateVPCWithHostedZoneCommand.ts index e7d17b65e254..b5f84d3a396e 100644 --- a/clients/client-route-53/commands/AssociateVPCWithHostedZoneCommand.ts +++ b/clients/client-route-53/commands/AssociateVPCWithHostedZoneCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateVPCWithHostedZoneCommandInput = AssociateVPCWithHostedZoneRequest; @@ -72,7 +72,7 @@ export class AssociateVPCWithHostedZoneCommand extends $Command< private serialize( input: AssociateVPCWithHostedZoneCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlAssociateVPCWithHostedZoneCommand( input, @@ -82,7 +82,7 @@ export class AssociateVPCWithHostedZoneCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlAssociateVPCWithHostedZoneCommand( output, diff --git a/clients/client-route-53/commands/ChangeResourceRecordSetsCommand.ts b/clients/client-route-53/commands/ChangeResourceRecordSetsCommand.ts index fbd9c40b9c5d..740bbbebc811 100644 --- a/clients/client-route-53/commands/ChangeResourceRecordSetsCommand.ts +++ b/clients/client-route-53/commands/ChangeResourceRecordSetsCommand.ts @@ -26,8 +26,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ChangeResourceRecordSetsCommandInput = ChangeResourceRecordSetsRequest; @@ -76,14 +76,14 @@ export class ChangeResourceRecordSetsCommand extends $Command< private serialize( input: ChangeResourceRecordSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlChangeResourceRecordSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlChangeResourceRecordSetsCommand( output, diff --git a/clients/client-route-53/commands/ChangeTagsForResourceCommand.ts b/clients/client-route-53/commands/ChangeTagsForResourceCommand.ts index b038b75a97bb..ab3bbad82b16 100644 --- a/clients/client-route-53/commands/ChangeTagsForResourceCommand.ts +++ b/clients/client-route-53/commands/ChangeTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ChangeTagsForResourceCommandInput = ChangeTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ChangeTagsForResourceCommand extends $Command< private serialize( input: ChangeTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlChangeTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlChangeTagsForResourceCommand(output, context); } diff --git a/clients/client-route-53/commands/CreateHealthCheckCommand.ts b/clients/client-route-53/commands/CreateHealthCheckCommand.ts index 9542c92dda13..71123d5147b2 100644 --- a/clients/client-route-53/commands/CreateHealthCheckCommand.ts +++ b/clients/client-route-53/commands/CreateHealthCheckCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHealthCheckCommandInput = CreateHealthCheckRequest; @@ -67,14 +67,14 @@ export class CreateHealthCheckCommand extends $Command< private serialize( input: CreateHealthCheckCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateHealthCheckCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateHealthCheckCommand(output, context); } diff --git a/clients/client-route-53/commands/CreateHostedZoneCommand.ts b/clients/client-route-53/commands/CreateHostedZoneCommand.ts index 69b2b79af1b3..7764032dee7e 100644 --- a/clients/client-route-53/commands/CreateHostedZoneCommand.ts +++ b/clients/client-route-53/commands/CreateHostedZoneCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHostedZoneCommandInput = CreateHostedZoneRequest; @@ -69,14 +69,14 @@ export class CreateHostedZoneCommand extends $Command< private serialize( input: CreateHostedZoneCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateHostedZoneCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateHostedZoneCommand(output, context); } diff --git a/clients/client-route-53/commands/CreateQueryLoggingConfigCommand.ts b/clients/client-route-53/commands/CreateQueryLoggingConfigCommand.ts index 4dbaf8bba45c..0cadd53bc593 100644 --- a/clients/client-route-53/commands/CreateQueryLoggingConfigCommand.ts +++ b/clients/client-route-53/commands/CreateQueryLoggingConfigCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateQueryLoggingConfigCommandInput = CreateQueryLoggingConfigRequest; @@ -72,14 +72,14 @@ export class CreateQueryLoggingConfigCommand extends $Command< private serialize( input: CreateQueryLoggingConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateQueryLoggingConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateQueryLoggingConfigCommand( output, diff --git a/clients/client-route-53/commands/CreateReusableDelegationSetCommand.ts b/clients/client-route-53/commands/CreateReusableDelegationSetCommand.ts index 12f40405b730..5f3e30c3695a 100644 --- a/clients/client-route-53/commands/CreateReusableDelegationSetCommand.ts +++ b/clients/client-route-53/commands/CreateReusableDelegationSetCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateReusableDelegationSetCommandInput = CreateReusableDelegationSetRequest; @@ -72,7 +72,7 @@ export class CreateReusableDelegationSetCommand extends $Command< private serialize( input: CreateReusableDelegationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateReusableDelegationSetCommand( input, @@ -82,7 +82,7 @@ export class CreateReusableDelegationSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateReusableDelegationSetCommand( output, diff --git a/clients/client-route-53/commands/CreateTrafficPolicyCommand.ts b/clients/client-route-53/commands/CreateTrafficPolicyCommand.ts index 188d612a58ba..25aca0daeb26 100644 --- a/clients/client-route-53/commands/CreateTrafficPolicyCommand.ts +++ b/clients/client-route-53/commands/CreateTrafficPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrafficPolicyCommandInput = CreateTrafficPolicyRequest; @@ -70,14 +70,14 @@ export class CreateTrafficPolicyCommand extends $Command< private serialize( input: CreateTrafficPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateTrafficPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateTrafficPolicyCommand(output, context); } diff --git a/clients/client-route-53/commands/CreateTrafficPolicyInstanceCommand.ts b/clients/client-route-53/commands/CreateTrafficPolicyInstanceCommand.ts index c8330450f633..c22c812f86d7 100644 --- a/clients/client-route-53/commands/CreateTrafficPolicyInstanceCommand.ts +++ b/clients/client-route-53/commands/CreateTrafficPolicyInstanceCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrafficPolicyInstanceCommandInput = CreateTrafficPolicyInstanceRequest; @@ -72,7 +72,7 @@ export class CreateTrafficPolicyInstanceCommand extends $Command< private serialize( input: CreateTrafficPolicyInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateTrafficPolicyInstanceCommand( input, @@ -82,7 +82,7 @@ export class CreateTrafficPolicyInstanceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateTrafficPolicyInstanceCommand( output, diff --git a/clients/client-route-53/commands/CreateTrafficPolicyVersionCommand.ts b/clients/client-route-53/commands/CreateTrafficPolicyVersionCommand.ts index 14e0b59ac181..d805f74938df 100644 --- a/clients/client-route-53/commands/CreateTrafficPolicyVersionCommand.ts +++ b/clients/client-route-53/commands/CreateTrafficPolicyVersionCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrafficPolicyVersionCommandInput = CreateTrafficPolicyVersionRequest; @@ -72,7 +72,7 @@ export class CreateTrafficPolicyVersionCommand extends $Command< private serialize( input: CreateTrafficPolicyVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateTrafficPolicyVersionCommand( input, @@ -82,7 +82,7 @@ export class CreateTrafficPolicyVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateTrafficPolicyVersionCommand( output, diff --git a/clients/client-route-53/commands/CreateVPCAssociationAuthorizationCommand.ts b/clients/client-route-53/commands/CreateVPCAssociationAuthorizationCommand.ts index aaf91d13e48b..dfc3946ae47d 100644 --- a/clients/client-route-53/commands/CreateVPCAssociationAuthorizationCommand.ts +++ b/clients/client-route-53/commands/CreateVPCAssociationAuthorizationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVPCAssociationAuthorizationCommandInput = CreateVPCAssociationAuthorizationRequest; @@ -72,7 +72,7 @@ export class CreateVPCAssociationAuthorizationCommand extends $Command< private serialize( input: CreateVPCAssociationAuthorizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateVPCAssociationAuthorizationCommand( input, @@ -82,7 +82,7 @@ export class CreateVPCAssociationAuthorizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateVPCAssociationAuthorizationCommand( output, diff --git a/clients/client-route-53/commands/DeleteHealthCheckCommand.ts b/clients/client-route-53/commands/DeleteHealthCheckCommand.ts index ea3e6e8b00cb..f39a420d6de3 100644 --- a/clients/client-route-53/commands/DeleteHealthCheckCommand.ts +++ b/clients/client-route-53/commands/DeleteHealthCheckCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteHealthCheckCommandInput = DeleteHealthCheckRequest; @@ -67,14 +67,14 @@ export class DeleteHealthCheckCommand extends $Command< private serialize( input: DeleteHealthCheckCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteHealthCheckCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteHealthCheckCommand(output, context); } diff --git a/clients/client-route-53/commands/DeleteHostedZoneCommand.ts b/clients/client-route-53/commands/DeleteHostedZoneCommand.ts index b02b9f6dea46..65cc4657bd90 100644 --- a/clients/client-route-53/commands/DeleteHostedZoneCommand.ts +++ b/clients/client-route-53/commands/DeleteHostedZoneCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteHostedZoneCommandInput = DeleteHostedZoneRequest; @@ -69,14 +69,14 @@ export class DeleteHostedZoneCommand extends $Command< private serialize( input: DeleteHostedZoneCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteHostedZoneCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteHostedZoneCommand(output, context); } diff --git a/clients/client-route-53/commands/DeleteQueryLoggingConfigCommand.ts b/clients/client-route-53/commands/DeleteQueryLoggingConfigCommand.ts index d8e235b613ff..9a7ae562dcef 100644 --- a/clients/client-route-53/commands/DeleteQueryLoggingConfigCommand.ts +++ b/clients/client-route-53/commands/DeleteQueryLoggingConfigCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteQueryLoggingConfigCommandInput = DeleteQueryLoggingConfigRequest; @@ -72,14 +72,14 @@ export class DeleteQueryLoggingConfigCommand extends $Command< private serialize( input: DeleteQueryLoggingConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteQueryLoggingConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteQueryLoggingConfigCommand( output, diff --git a/clients/client-route-53/commands/DeleteReusableDelegationSetCommand.ts b/clients/client-route-53/commands/DeleteReusableDelegationSetCommand.ts index 85bc1e8c402b..a9a57ffc7a7a 100644 --- a/clients/client-route-53/commands/DeleteReusableDelegationSetCommand.ts +++ b/clients/client-route-53/commands/DeleteReusableDelegationSetCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReusableDelegationSetCommandInput = DeleteReusableDelegationSetRequest; @@ -72,7 +72,7 @@ export class DeleteReusableDelegationSetCommand extends $Command< private serialize( input: DeleteReusableDelegationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteReusableDelegationSetCommand( input, @@ -82,7 +82,7 @@ export class DeleteReusableDelegationSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteReusableDelegationSetCommand( output, diff --git a/clients/client-route-53/commands/DeleteTrafficPolicyCommand.ts b/clients/client-route-53/commands/DeleteTrafficPolicyCommand.ts index b2e8f41dbb53..194491b3b1f8 100644 --- a/clients/client-route-53/commands/DeleteTrafficPolicyCommand.ts +++ b/clients/client-route-53/commands/DeleteTrafficPolicyCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTrafficPolicyCommandInput = DeleteTrafficPolicyRequest; @@ -72,14 +72,14 @@ export class DeleteTrafficPolicyCommand extends $Command< private serialize( input: DeleteTrafficPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteTrafficPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteTrafficPolicyCommand(output, context); } diff --git a/clients/client-route-53/commands/DeleteTrafficPolicyInstanceCommand.ts b/clients/client-route-53/commands/DeleteTrafficPolicyInstanceCommand.ts index 23e491cb7c46..53a630172374 100644 --- a/clients/client-route-53/commands/DeleteTrafficPolicyInstanceCommand.ts +++ b/clients/client-route-53/commands/DeleteTrafficPolicyInstanceCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTrafficPolicyInstanceCommandInput = DeleteTrafficPolicyInstanceRequest; @@ -72,7 +72,7 @@ export class DeleteTrafficPolicyInstanceCommand extends $Command< private serialize( input: DeleteTrafficPolicyInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteTrafficPolicyInstanceCommand( input, @@ -82,7 +82,7 @@ export class DeleteTrafficPolicyInstanceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteTrafficPolicyInstanceCommand( output, diff --git a/clients/client-route-53/commands/DeleteVPCAssociationAuthorizationCommand.ts b/clients/client-route-53/commands/DeleteVPCAssociationAuthorizationCommand.ts index 85e21a880e78..e0112e1447ed 100644 --- a/clients/client-route-53/commands/DeleteVPCAssociationAuthorizationCommand.ts +++ b/clients/client-route-53/commands/DeleteVPCAssociationAuthorizationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVPCAssociationAuthorizationCommandInput = DeleteVPCAssociationAuthorizationRequest; @@ -72,7 +72,7 @@ export class DeleteVPCAssociationAuthorizationCommand extends $Command< private serialize( input: DeleteVPCAssociationAuthorizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteVPCAssociationAuthorizationCommand( input, @@ -82,7 +82,7 @@ export class DeleteVPCAssociationAuthorizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteVPCAssociationAuthorizationCommand( output, diff --git a/clients/client-route-53/commands/DisassociateVPCFromHostedZoneCommand.ts b/clients/client-route-53/commands/DisassociateVPCFromHostedZoneCommand.ts index f42ecd771d28..237e76821dbb 100644 --- a/clients/client-route-53/commands/DisassociateVPCFromHostedZoneCommand.ts +++ b/clients/client-route-53/commands/DisassociateVPCFromHostedZoneCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateVPCFromHostedZoneCommandInput = DisassociateVPCFromHostedZoneRequest; @@ -72,7 +72,7 @@ export class DisassociateVPCFromHostedZoneCommand extends $Command< private serialize( input: DisassociateVPCFromHostedZoneCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDisassociateVPCFromHostedZoneCommand( input, @@ -82,7 +82,7 @@ export class DisassociateVPCFromHostedZoneCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDisassociateVPCFromHostedZoneCommand( output, diff --git a/clients/client-route-53/commands/GetAccountLimitCommand.ts b/clients/client-route-53/commands/GetAccountLimitCommand.ts index cbc260a7cd42..38a769ebc2aa 100644 --- a/clients/client-route-53/commands/GetAccountLimitCommand.ts +++ b/clients/client-route-53/commands/GetAccountLimitCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountLimitCommandInput = GetAccountLimitRequest; @@ -67,14 +67,14 @@ export class GetAccountLimitCommand extends $Command< private serialize( input: GetAccountLimitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetAccountLimitCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetAccountLimitCommand(output, context); } diff --git a/clients/client-route-53/commands/GetChangeCommand.ts b/clients/client-route-53/commands/GetChangeCommand.ts index 112ee173d97a..31b312853fad 100644 --- a/clients/client-route-53/commands/GetChangeCommand.ts +++ b/clients/client-route-53/commands/GetChangeCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetChangeCommandInput = GetChangeRequest; @@ -66,14 +66,14 @@ export class GetChangeCommand extends $Command< private serialize( input: GetChangeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetChangeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetChangeCommand(output, context); } diff --git a/clients/client-route-53/commands/GetCheckerIpRangesCommand.ts b/clients/client-route-53/commands/GetCheckerIpRangesCommand.ts index 0309aaaf262c..8283b157e444 100644 --- a/clients/client-route-53/commands/GetCheckerIpRangesCommand.ts +++ b/clients/client-route-53/commands/GetCheckerIpRangesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCheckerIpRangesCommandInput = GetCheckerIpRangesRequest; @@ -67,14 +67,14 @@ export class GetCheckerIpRangesCommand extends $Command< private serialize( input: GetCheckerIpRangesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetCheckerIpRangesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetCheckerIpRangesCommand(output, context); } diff --git a/clients/client-route-53/commands/GetGeoLocationCommand.ts b/clients/client-route-53/commands/GetGeoLocationCommand.ts index 06acf021cdac..b6e1e473e8e7 100644 --- a/clients/client-route-53/commands/GetGeoLocationCommand.ts +++ b/clients/client-route-53/commands/GetGeoLocationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGeoLocationCommandInput = GetGeoLocationRequest; @@ -64,14 +64,14 @@ export class GetGeoLocationCommand extends $Command< private serialize( input: GetGeoLocationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetGeoLocationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetGeoLocationCommand(output, context); } diff --git a/clients/client-route-53/commands/GetHealthCheckCommand.ts b/clients/client-route-53/commands/GetHealthCheckCommand.ts index 873207d51b27..911f8fd72868 100644 --- a/clients/client-route-53/commands/GetHealthCheckCommand.ts +++ b/clients/client-route-53/commands/GetHealthCheckCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHealthCheckCommandInput = GetHealthCheckRequest; @@ -64,14 +64,14 @@ export class GetHealthCheckCommand extends $Command< private serialize( input: GetHealthCheckCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetHealthCheckCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetHealthCheckCommand(output, context); } diff --git a/clients/client-route-53/commands/GetHealthCheckCountCommand.ts b/clients/client-route-53/commands/GetHealthCheckCountCommand.ts index eafd3cefcfed..d53eaaa70a33 100644 --- a/clients/client-route-53/commands/GetHealthCheckCountCommand.ts +++ b/clients/client-route-53/commands/GetHealthCheckCountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHealthCheckCountCommandInput = GetHealthCheckCountRequest; @@ -70,14 +70,14 @@ export class GetHealthCheckCountCommand extends $Command< private serialize( input: GetHealthCheckCountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetHealthCheckCountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetHealthCheckCountCommand(output, context); } diff --git a/clients/client-route-53/commands/GetHealthCheckLastFailureReasonCommand.ts b/clients/client-route-53/commands/GetHealthCheckLastFailureReasonCommand.ts index a4de87bc8dad..46b61b38398d 100644 --- a/clients/client-route-53/commands/GetHealthCheckLastFailureReasonCommand.ts +++ b/clients/client-route-53/commands/GetHealthCheckLastFailureReasonCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHealthCheckLastFailureReasonCommandInput = GetHealthCheckLastFailureReasonRequest; @@ -70,7 +70,7 @@ export class GetHealthCheckLastFailureReasonCommand extends $Command< private serialize( input: GetHealthCheckLastFailureReasonCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetHealthCheckLastFailureReasonCommand( input, @@ -80,7 +80,7 @@ export class GetHealthCheckLastFailureReasonCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetHealthCheckLastFailureReasonCommand( output, diff --git a/clients/client-route-53/commands/GetHealthCheckStatusCommand.ts b/clients/client-route-53/commands/GetHealthCheckStatusCommand.ts index 0c1a7b82aefd..ad22d881eb4e 100644 --- a/clients/client-route-53/commands/GetHealthCheckStatusCommand.ts +++ b/clients/client-route-53/commands/GetHealthCheckStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHealthCheckStatusCommandInput = GetHealthCheckStatusRequest; @@ -70,14 +70,14 @@ export class GetHealthCheckStatusCommand extends $Command< private serialize( input: GetHealthCheckStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetHealthCheckStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetHealthCheckStatusCommand(output, context); } diff --git a/clients/client-route-53/commands/GetHostedZoneCommand.ts b/clients/client-route-53/commands/GetHostedZoneCommand.ts index 581fe45a0d53..d2df6180086d 100644 --- a/clients/client-route-53/commands/GetHostedZoneCommand.ts +++ b/clients/client-route-53/commands/GetHostedZoneCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHostedZoneCommandInput = GetHostedZoneRequest; @@ -66,14 +66,14 @@ export class GetHostedZoneCommand extends $Command< private serialize( input: GetHostedZoneCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetHostedZoneCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetHostedZoneCommand(output, context); } diff --git a/clients/client-route-53/commands/GetHostedZoneCountCommand.ts b/clients/client-route-53/commands/GetHostedZoneCountCommand.ts index ce536c2745bc..943685717404 100644 --- a/clients/client-route-53/commands/GetHostedZoneCountCommand.ts +++ b/clients/client-route-53/commands/GetHostedZoneCountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHostedZoneCountCommandInput = GetHostedZoneCountRequest; @@ -67,14 +67,14 @@ export class GetHostedZoneCountCommand extends $Command< private serialize( input: GetHostedZoneCountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetHostedZoneCountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetHostedZoneCountCommand(output, context); } diff --git a/clients/client-route-53/commands/GetHostedZoneLimitCommand.ts b/clients/client-route-53/commands/GetHostedZoneLimitCommand.ts index c15d90167658..7ef2cda65b54 100644 --- a/clients/client-route-53/commands/GetHostedZoneLimitCommand.ts +++ b/clients/client-route-53/commands/GetHostedZoneLimitCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetHostedZoneLimitCommandInput = GetHostedZoneLimitRequest; @@ -69,14 +69,14 @@ export class GetHostedZoneLimitCommand extends $Command< private serialize( input: GetHostedZoneLimitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetHostedZoneLimitCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetHostedZoneLimitCommand(output, context); } diff --git a/clients/client-route-53/commands/GetQueryLoggingConfigCommand.ts b/clients/client-route-53/commands/GetQueryLoggingConfigCommand.ts index acad6f7e6227..4740f3bdee32 100644 --- a/clients/client-route-53/commands/GetQueryLoggingConfigCommand.ts +++ b/clients/client-route-53/commands/GetQueryLoggingConfigCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetQueryLoggingConfigCommandInput = GetQueryLoggingConfigRequest; @@ -72,14 +72,14 @@ export class GetQueryLoggingConfigCommand extends $Command< private serialize( input: GetQueryLoggingConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetQueryLoggingConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetQueryLoggingConfigCommand(output, context); } diff --git a/clients/client-route-53/commands/GetReusableDelegationSetCommand.ts b/clients/client-route-53/commands/GetReusableDelegationSetCommand.ts index 71a6ea689dc6..24bb58e7269a 100644 --- a/clients/client-route-53/commands/GetReusableDelegationSetCommand.ts +++ b/clients/client-route-53/commands/GetReusableDelegationSetCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetReusableDelegationSetCommandInput = GetReusableDelegationSetRequest; @@ -72,14 +72,14 @@ export class GetReusableDelegationSetCommand extends $Command< private serialize( input: GetReusableDelegationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetReusableDelegationSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetReusableDelegationSetCommand( output, diff --git a/clients/client-route-53/commands/GetReusableDelegationSetLimitCommand.ts b/clients/client-route-53/commands/GetReusableDelegationSetLimitCommand.ts index c49d935d2e93..e422c89cb88f 100644 --- a/clients/client-route-53/commands/GetReusableDelegationSetLimitCommand.ts +++ b/clients/client-route-53/commands/GetReusableDelegationSetLimitCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetReusableDelegationSetLimitCommandInput = GetReusableDelegationSetLimitRequest; @@ -72,7 +72,7 @@ export class GetReusableDelegationSetLimitCommand extends $Command< private serialize( input: GetReusableDelegationSetLimitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetReusableDelegationSetLimitCommand( input, @@ -82,7 +82,7 @@ export class GetReusableDelegationSetLimitCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetReusableDelegationSetLimitCommand( output, diff --git a/clients/client-route-53/commands/GetTrafficPolicyCommand.ts b/clients/client-route-53/commands/GetTrafficPolicyCommand.ts index 687214789008..7c0daa74ff49 100644 --- a/clients/client-route-53/commands/GetTrafficPolicyCommand.ts +++ b/clients/client-route-53/commands/GetTrafficPolicyCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTrafficPolicyCommandInput = GetTrafficPolicyRequest; @@ -69,14 +69,14 @@ export class GetTrafficPolicyCommand extends $Command< private serialize( input: GetTrafficPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetTrafficPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetTrafficPolicyCommand(output, context); } diff --git a/clients/client-route-53/commands/GetTrafficPolicyInstanceCommand.ts b/clients/client-route-53/commands/GetTrafficPolicyInstanceCommand.ts index 167d2ceae50a..957ea952a9b0 100644 --- a/clients/client-route-53/commands/GetTrafficPolicyInstanceCommand.ts +++ b/clients/client-route-53/commands/GetTrafficPolicyInstanceCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTrafficPolicyInstanceCommandInput = GetTrafficPolicyInstanceRequest; @@ -72,14 +72,14 @@ export class GetTrafficPolicyInstanceCommand extends $Command< private serialize( input: GetTrafficPolicyInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetTrafficPolicyInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetTrafficPolicyInstanceCommand( output, diff --git a/clients/client-route-53/commands/GetTrafficPolicyInstanceCountCommand.ts b/clients/client-route-53/commands/GetTrafficPolicyInstanceCountCommand.ts index 3562e220644f..e3db4e2f7bcd 100644 --- a/clients/client-route-53/commands/GetTrafficPolicyInstanceCountCommand.ts +++ b/clients/client-route-53/commands/GetTrafficPolicyInstanceCountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTrafficPolicyInstanceCountCommandInput = GetTrafficPolicyInstanceCountRequest; @@ -70,7 +70,7 @@ export class GetTrafficPolicyInstanceCountCommand extends $Command< private serialize( input: GetTrafficPolicyInstanceCountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetTrafficPolicyInstanceCountCommand( input, @@ -80,7 +80,7 @@ export class GetTrafficPolicyInstanceCountCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetTrafficPolicyInstanceCountCommand( output, diff --git a/clients/client-route-53/commands/ListGeoLocationsCommand.ts b/clients/client-route-53/commands/ListGeoLocationsCommand.ts index cd4df63eeffa..4f281efbb414 100644 --- a/clients/client-route-53/commands/ListGeoLocationsCommand.ts +++ b/clients/client-route-53/commands/ListGeoLocationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGeoLocationsCommandInput = ListGeoLocationsRequest; @@ -67,14 +67,14 @@ export class ListGeoLocationsCommand extends $Command< private serialize( input: ListGeoLocationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListGeoLocationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListGeoLocationsCommand(output, context); } diff --git a/clients/client-route-53/commands/ListHealthChecksCommand.ts b/clients/client-route-53/commands/ListHealthChecksCommand.ts index 9478777cb9d6..d0437b68e297 100644 --- a/clients/client-route-53/commands/ListHealthChecksCommand.ts +++ b/clients/client-route-53/commands/ListHealthChecksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHealthChecksCommandInput = ListHealthChecksRequest; @@ -67,14 +67,14 @@ export class ListHealthChecksCommand extends $Command< private serialize( input: ListHealthChecksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListHealthChecksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListHealthChecksCommand(output, context); } diff --git a/clients/client-route-53/commands/ListHostedZonesByNameCommand.ts b/clients/client-route-53/commands/ListHostedZonesByNameCommand.ts index 61ab7464fac7..425eb2d88bd8 100644 --- a/clients/client-route-53/commands/ListHostedZonesByNameCommand.ts +++ b/clients/client-route-53/commands/ListHostedZonesByNameCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHostedZonesByNameCommandInput = ListHostedZonesByNameRequest; @@ -72,14 +72,14 @@ export class ListHostedZonesByNameCommand extends $Command< private serialize( input: ListHostedZonesByNameCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListHostedZonesByNameCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListHostedZonesByNameCommand(output, context); } diff --git a/clients/client-route-53/commands/ListHostedZonesCommand.ts b/clients/client-route-53/commands/ListHostedZonesCommand.ts index b3449a08bf59..4598c09bc4e7 100644 --- a/clients/client-route-53/commands/ListHostedZonesCommand.ts +++ b/clients/client-route-53/commands/ListHostedZonesCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHostedZonesCommandInput = ListHostedZonesRequest; @@ -69,14 +69,14 @@ export class ListHostedZonesCommand extends $Command< private serialize( input: ListHostedZonesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListHostedZonesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListHostedZonesCommand(output, context); } diff --git a/clients/client-route-53/commands/ListQueryLoggingConfigsCommand.ts b/clients/client-route-53/commands/ListQueryLoggingConfigsCommand.ts index 558a1485cc94..5a2fcdb573a9 100644 --- a/clients/client-route-53/commands/ListQueryLoggingConfigsCommand.ts +++ b/clients/client-route-53/commands/ListQueryLoggingConfigsCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListQueryLoggingConfigsCommandInput = ListQueryLoggingConfigsRequest; @@ -72,14 +72,14 @@ export class ListQueryLoggingConfigsCommand extends $Command< private serialize( input: ListQueryLoggingConfigsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListQueryLoggingConfigsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListQueryLoggingConfigsCommand( output, diff --git a/clients/client-route-53/commands/ListResourceRecordSetsCommand.ts b/clients/client-route-53/commands/ListResourceRecordSetsCommand.ts index 400b593d60fd..0caf42ff804f 100644 --- a/clients/client-route-53/commands/ListResourceRecordSetsCommand.ts +++ b/clients/client-route-53/commands/ListResourceRecordSetsCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourceRecordSetsCommandInput = ListResourceRecordSetsRequest; @@ -72,14 +72,14 @@ export class ListResourceRecordSetsCommand extends $Command< private serialize( input: ListResourceRecordSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListResourceRecordSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListResourceRecordSetsCommand(output, context); } diff --git a/clients/client-route-53/commands/ListReusableDelegationSetsCommand.ts b/clients/client-route-53/commands/ListReusableDelegationSetsCommand.ts index 859305749930..c4cb68ccb46e 100644 --- a/clients/client-route-53/commands/ListReusableDelegationSetsCommand.ts +++ b/clients/client-route-53/commands/ListReusableDelegationSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListReusableDelegationSetsCommandInput = ListReusableDelegationSetsRequest; @@ -70,7 +70,7 @@ export class ListReusableDelegationSetsCommand extends $Command< private serialize( input: ListReusableDelegationSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListReusableDelegationSetsCommand( input, @@ -80,7 +80,7 @@ export class ListReusableDelegationSetsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListReusableDelegationSetsCommand( output, diff --git a/clients/client-route-53/commands/ListTagsForResourceCommand.ts b/clients/client-route-53/commands/ListTagsForResourceCommand.ts index 1d1bfcf1a577..45c73206ca5b 100644 --- a/clients/client-route-53/commands/ListTagsForResourceCommand.ts +++ b/clients/client-route-53/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListTagsForResourceCommand(output, context); } diff --git a/clients/client-route-53/commands/ListTagsForResourcesCommand.ts b/clients/client-route-53/commands/ListTagsForResourcesCommand.ts index fe1f460d9a55..1171144141f8 100644 --- a/clients/client-route-53/commands/ListTagsForResourcesCommand.ts +++ b/clients/client-route-53/commands/ListTagsForResourcesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourcesCommandInput = ListTagsForResourcesRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourcesCommand extends $Command< private serialize( input: ListTagsForResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListTagsForResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListTagsForResourcesCommand(output, context); } diff --git a/clients/client-route-53/commands/ListTrafficPoliciesCommand.ts b/clients/client-route-53/commands/ListTrafficPoliciesCommand.ts index 5257c15a2065..ff140a1be857 100644 --- a/clients/client-route-53/commands/ListTrafficPoliciesCommand.ts +++ b/clients/client-route-53/commands/ListTrafficPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTrafficPoliciesCommandInput = ListTrafficPoliciesRequest; @@ -70,14 +70,14 @@ export class ListTrafficPoliciesCommand extends $Command< private serialize( input: ListTrafficPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListTrafficPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListTrafficPoliciesCommand(output, context); } diff --git a/clients/client-route-53/commands/ListTrafficPolicyInstancesByHostedZoneCommand.ts b/clients/client-route-53/commands/ListTrafficPolicyInstancesByHostedZoneCommand.ts index 16f0f6ee0d09..8e38010e382c 100644 --- a/clients/client-route-53/commands/ListTrafficPolicyInstancesByHostedZoneCommand.ts +++ b/clients/client-route-53/commands/ListTrafficPolicyInstancesByHostedZoneCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTrafficPolicyInstancesByHostedZoneCommandInput = ListTrafficPolicyInstancesByHostedZoneRequest; @@ -74,7 +74,7 @@ export class ListTrafficPolicyInstancesByHostedZoneCommand extends $Command< private serialize( input: ListTrafficPolicyInstancesByHostedZoneCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand( input, @@ -84,7 +84,7 @@ export class ListTrafficPolicyInstancesByHostedZoneCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand( output, diff --git a/clients/client-route-53/commands/ListTrafficPolicyInstancesByPolicyCommand.ts b/clients/client-route-53/commands/ListTrafficPolicyInstancesByPolicyCommand.ts index cdba3b2f7068..877a0663b89c 100644 --- a/clients/client-route-53/commands/ListTrafficPolicyInstancesByPolicyCommand.ts +++ b/clients/client-route-53/commands/ListTrafficPolicyInstancesByPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTrafficPolicyInstancesByPolicyCommandInput = ListTrafficPolicyInstancesByPolicyRequest; @@ -70,7 +70,7 @@ export class ListTrafficPolicyInstancesByPolicyCommand extends $Command< private serialize( input: ListTrafficPolicyInstancesByPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand( input, @@ -80,7 +80,7 @@ export class ListTrafficPolicyInstancesByPolicyCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand( output, diff --git a/clients/client-route-53/commands/ListTrafficPolicyInstancesCommand.ts b/clients/client-route-53/commands/ListTrafficPolicyInstancesCommand.ts index 40854a7cb095..1bbd07492db7 100644 --- a/clients/client-route-53/commands/ListTrafficPolicyInstancesCommand.ts +++ b/clients/client-route-53/commands/ListTrafficPolicyInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTrafficPolicyInstancesCommandInput = ListTrafficPolicyInstancesRequest; @@ -70,7 +70,7 @@ export class ListTrafficPolicyInstancesCommand extends $Command< private serialize( input: ListTrafficPolicyInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListTrafficPolicyInstancesCommand( input, @@ -80,7 +80,7 @@ export class ListTrafficPolicyInstancesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListTrafficPolicyInstancesCommand( output, diff --git a/clients/client-route-53/commands/ListTrafficPolicyVersionsCommand.ts b/clients/client-route-53/commands/ListTrafficPolicyVersionsCommand.ts index f639df135aee..39cea5f6c245 100644 --- a/clients/client-route-53/commands/ListTrafficPolicyVersionsCommand.ts +++ b/clients/client-route-53/commands/ListTrafficPolicyVersionsCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTrafficPolicyVersionsCommandInput = ListTrafficPolicyVersionsRequest; @@ -72,14 +72,14 @@ export class ListTrafficPolicyVersionsCommand extends $Command< private serialize( input: ListTrafficPolicyVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListTrafficPolicyVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListTrafficPolicyVersionsCommand( output, diff --git a/clients/client-route-53/commands/ListVPCAssociationAuthorizationsCommand.ts b/clients/client-route-53/commands/ListVPCAssociationAuthorizationsCommand.ts index 9dc03ed14242..e8a233522970 100644 --- a/clients/client-route-53/commands/ListVPCAssociationAuthorizationsCommand.ts +++ b/clients/client-route-53/commands/ListVPCAssociationAuthorizationsCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVPCAssociationAuthorizationsCommandInput = ListVPCAssociationAuthorizationsRequest; @@ -72,7 +72,7 @@ export class ListVPCAssociationAuthorizationsCommand extends $Command< private serialize( input: ListVPCAssociationAuthorizationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListVPCAssociationAuthorizationsCommand( input, @@ -82,7 +82,7 @@ export class ListVPCAssociationAuthorizationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListVPCAssociationAuthorizationsCommand( output, diff --git a/clients/client-route-53/commands/TestDNSAnswerCommand.ts b/clients/client-route-53/commands/TestDNSAnswerCommand.ts index 41650eba7ffd..d50a80aac623 100644 --- a/clients/client-route-53/commands/TestDNSAnswerCommand.ts +++ b/clients/client-route-53/commands/TestDNSAnswerCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestDNSAnswerCommandInput = TestDNSAnswerRequest; @@ -66,14 +66,14 @@ export class TestDNSAnswerCommand extends $Command< private serialize( input: TestDNSAnswerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlTestDNSAnswerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlTestDNSAnswerCommand(output, context); } diff --git a/clients/client-route-53/commands/UpdateHealthCheckCommand.ts b/clients/client-route-53/commands/UpdateHealthCheckCommand.ts index ceaee7167dba..204127ea3174 100644 --- a/clients/client-route-53/commands/UpdateHealthCheckCommand.ts +++ b/clients/client-route-53/commands/UpdateHealthCheckCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateHealthCheckCommandInput = UpdateHealthCheckRequest; @@ -67,14 +67,14 @@ export class UpdateHealthCheckCommand extends $Command< private serialize( input: UpdateHealthCheckCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdateHealthCheckCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdateHealthCheckCommand(output, context); } diff --git a/clients/client-route-53/commands/UpdateHostedZoneCommentCommand.ts b/clients/client-route-53/commands/UpdateHostedZoneCommentCommand.ts index 8de5648f3a45..6c16914aa6dc 100644 --- a/clients/client-route-53/commands/UpdateHostedZoneCommentCommand.ts +++ b/clients/client-route-53/commands/UpdateHostedZoneCommentCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateHostedZoneCommentCommandInput = UpdateHostedZoneCommentRequest; @@ -72,14 +72,14 @@ export class UpdateHostedZoneCommentCommand extends $Command< private serialize( input: UpdateHostedZoneCommentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdateHostedZoneCommentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdateHostedZoneCommentCommand( output, diff --git a/clients/client-route-53/commands/UpdateTrafficPolicyCommentCommand.ts b/clients/client-route-53/commands/UpdateTrafficPolicyCommentCommand.ts index 6b464be91aad..1ed01db818bd 100644 --- a/clients/client-route-53/commands/UpdateTrafficPolicyCommentCommand.ts +++ b/clients/client-route-53/commands/UpdateTrafficPolicyCommentCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTrafficPolicyCommentCommandInput = UpdateTrafficPolicyCommentRequest; @@ -72,7 +72,7 @@ export class UpdateTrafficPolicyCommentCommand extends $Command< private serialize( input: UpdateTrafficPolicyCommentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdateTrafficPolicyCommentCommand( input, @@ -82,7 +82,7 @@ export class UpdateTrafficPolicyCommentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdateTrafficPolicyCommentCommand( output, diff --git a/clients/client-route-53/commands/UpdateTrafficPolicyInstanceCommand.ts b/clients/client-route-53/commands/UpdateTrafficPolicyInstanceCommand.ts index 8576b08ed1ca..2a43fd234002 100644 --- a/clients/client-route-53/commands/UpdateTrafficPolicyInstanceCommand.ts +++ b/clients/client-route-53/commands/UpdateTrafficPolicyInstanceCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTrafficPolicyInstanceCommandInput = UpdateTrafficPolicyInstanceRequest; @@ -72,7 +72,7 @@ export class UpdateTrafficPolicyInstanceCommand extends $Command< private serialize( input: UpdateTrafficPolicyInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdateTrafficPolicyInstanceCommand( input, @@ -82,7 +82,7 @@ export class UpdateTrafficPolicyInstanceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdateTrafficPolicyInstanceCommand( output, diff --git a/clients/client-route-53/protocols/Aws_restXml.ts b/clients/client-route-53/protocols/Aws_restXml.ts index 809c3f7ff0ca..db229107792a 100644 --- a/clients/client-route-53/protocols/Aws_restXml.ts +++ b/clients/client-route-53/protocols/Aws_restXml.ts @@ -9484,6 +9484,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-route53resolver/commands/AssociateResolverEndpointIpAddressCommand.ts b/clients/client-route53resolver/commands/AssociateResolverEndpointIpAddressCommand.ts index e19afb243ade..be221709a27e 100644 --- a/clients/client-route53resolver/commands/AssociateResolverEndpointIpAddressCommand.ts +++ b/clients/client-route53resolver/commands/AssociateResolverEndpointIpAddressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateResolverEndpointIpAddressCommandInput = AssociateResolverEndpointIpAddressRequest; @@ -70,7 +70,7 @@ export class AssociateResolverEndpointIpAddressCommand extends $Command< private serialize( input: AssociateResolverEndpointIpAddressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateResolverEndpointIpAddressCommand( input, @@ -80,7 +80,7 @@ export class AssociateResolverEndpointIpAddressCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateResolverEndpointIpAddressCommand( output, diff --git a/clients/client-route53resolver/commands/AssociateResolverRuleCommand.ts b/clients/client-route53resolver/commands/AssociateResolverRuleCommand.ts index ecd642e67a3a..29dab6c8436d 100644 --- a/clients/client-route53resolver/commands/AssociateResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/AssociateResolverRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateResolverRuleCommandInput = AssociateResolverRuleRequest; @@ -70,14 +70,14 @@ export class AssociateResolverRuleCommand extends $Command< private serialize( input: AssociateResolverRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateResolverRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateResolverRuleCommand(output, context); } diff --git a/clients/client-route53resolver/commands/CreateResolverEndpointCommand.ts b/clients/client-route53resolver/commands/CreateResolverEndpointCommand.ts index 8258988b4471..050fd967b6cd 100644 --- a/clients/client-route53resolver/commands/CreateResolverEndpointCommand.ts +++ b/clients/client-route53resolver/commands/CreateResolverEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateResolverEndpointCommandInput = CreateResolverEndpointRequest; @@ -70,14 +70,14 @@ export class CreateResolverEndpointCommand extends $Command< private serialize( input: CreateResolverEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateResolverEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateResolverEndpointCommand(output, context); } diff --git a/clients/client-route53resolver/commands/CreateResolverRuleCommand.ts b/clients/client-route53resolver/commands/CreateResolverRuleCommand.ts index b7b8d31d5f56..9e3b6e34fe1b 100644 --- a/clients/client-route53resolver/commands/CreateResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/CreateResolverRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateResolverRuleCommandInput = CreateResolverRuleRequest; @@ -67,14 +67,14 @@ export class CreateResolverRuleCommand extends $Command< private serialize( input: CreateResolverRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateResolverRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateResolverRuleCommand(output, context); } diff --git a/clients/client-route53resolver/commands/DeleteResolverEndpointCommand.ts b/clients/client-route53resolver/commands/DeleteResolverEndpointCommand.ts index 3f6da4fb84cb..d7a3af8512e2 100644 --- a/clients/client-route53resolver/commands/DeleteResolverEndpointCommand.ts +++ b/clients/client-route53resolver/commands/DeleteResolverEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResolverEndpointCommandInput = DeleteResolverEndpointRequest; @@ -70,14 +70,14 @@ export class DeleteResolverEndpointCommand extends $Command< private serialize( input: DeleteResolverEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteResolverEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteResolverEndpointCommand(output, context); } diff --git a/clients/client-route53resolver/commands/DeleteResolverRuleCommand.ts b/clients/client-route53resolver/commands/DeleteResolverRuleCommand.ts index 890e3a718690..bee5c71982c2 100644 --- a/clients/client-route53resolver/commands/DeleteResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/DeleteResolverRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResolverRuleCommandInput = DeleteResolverRuleRequest; @@ -67,14 +67,14 @@ export class DeleteResolverRuleCommand extends $Command< private serialize( input: DeleteResolverRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteResolverRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteResolverRuleCommand(output, context); } diff --git a/clients/client-route53resolver/commands/DisassociateResolverEndpointIpAddressCommand.ts b/clients/client-route53resolver/commands/DisassociateResolverEndpointIpAddressCommand.ts index f8ad8008d7fc..87d34f3ac773 100644 --- a/clients/client-route53resolver/commands/DisassociateResolverEndpointIpAddressCommand.ts +++ b/clients/client-route53resolver/commands/DisassociateResolverEndpointIpAddressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateResolverEndpointIpAddressCommandInput = DisassociateResolverEndpointIpAddressRequest; @@ -72,7 +72,7 @@ export class DisassociateResolverEndpointIpAddressCommand extends $Command< private serialize( input: DisassociateResolverEndpointIpAddressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateResolverEndpointIpAddressCommand( input, @@ -82,7 +82,7 @@ export class DisassociateResolverEndpointIpAddressCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateResolverEndpointIpAddressCommand( output, diff --git a/clients/client-route53resolver/commands/DisassociateResolverRuleCommand.ts b/clients/client-route53resolver/commands/DisassociateResolverRuleCommand.ts index 40ea128fc1bb..129ce58cbd3a 100644 --- a/clients/client-route53resolver/commands/DisassociateResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/DisassociateResolverRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateResolverRuleCommandInput = DisassociateResolverRuleRequest; @@ -70,14 +70,14 @@ export class DisassociateResolverRuleCommand extends $Command< private serialize( input: DisassociateResolverRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateResolverRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateResolverRuleCommand( output, diff --git a/clients/client-route53resolver/commands/GetResolverEndpointCommand.ts b/clients/client-route53resolver/commands/GetResolverEndpointCommand.ts index c70a3a15af74..034b55295429 100644 --- a/clients/client-route53resolver/commands/GetResolverEndpointCommand.ts +++ b/clients/client-route53resolver/commands/GetResolverEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResolverEndpointCommandInput = GetResolverEndpointRequest; @@ -70,14 +70,14 @@ export class GetResolverEndpointCommand extends $Command< private serialize( input: GetResolverEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetResolverEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetResolverEndpointCommand(output, context); } diff --git a/clients/client-route53resolver/commands/GetResolverRuleAssociationCommand.ts b/clients/client-route53resolver/commands/GetResolverRuleAssociationCommand.ts index 0ab9207ac098..d5c24eb13dde 100644 --- a/clients/client-route53resolver/commands/GetResolverRuleAssociationCommand.ts +++ b/clients/client-route53resolver/commands/GetResolverRuleAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResolverRuleAssociationCommandInput = GetResolverRuleAssociationRequest; @@ -70,7 +70,7 @@ export class GetResolverRuleAssociationCommand extends $Command< private serialize( input: GetResolverRuleAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetResolverRuleAssociationCommand( input, @@ -80,7 +80,7 @@ export class GetResolverRuleAssociationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetResolverRuleAssociationCommand( output, diff --git a/clients/client-route53resolver/commands/GetResolverRuleCommand.ts b/clients/client-route53resolver/commands/GetResolverRuleCommand.ts index 1cbb8626c0d1..2abb057a0e6d 100644 --- a/clients/client-route53resolver/commands/GetResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/GetResolverRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResolverRuleCommandInput = GetResolverRuleRequest; @@ -67,14 +67,14 @@ export class GetResolverRuleCommand extends $Command< private serialize( input: GetResolverRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetResolverRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetResolverRuleCommand(output, context); } diff --git a/clients/client-route53resolver/commands/GetResolverRulePolicyCommand.ts b/clients/client-route53resolver/commands/GetResolverRulePolicyCommand.ts index 868812b18648..19b4342dbf11 100644 --- a/clients/client-route53resolver/commands/GetResolverRulePolicyCommand.ts +++ b/clients/client-route53resolver/commands/GetResolverRulePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResolverRulePolicyCommandInput = GetResolverRulePolicyRequest; @@ -70,14 +70,14 @@ export class GetResolverRulePolicyCommand extends $Command< private serialize( input: GetResolverRulePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetResolverRulePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetResolverRulePolicyCommand(output, context); } diff --git a/clients/client-route53resolver/commands/ListResolverEndpointIpAddressesCommand.ts b/clients/client-route53resolver/commands/ListResolverEndpointIpAddressesCommand.ts index 3b490415b40b..6cab883868ce 100644 --- a/clients/client-route53resolver/commands/ListResolverEndpointIpAddressesCommand.ts +++ b/clients/client-route53resolver/commands/ListResolverEndpointIpAddressesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResolverEndpointIpAddressesCommandInput = ListResolverEndpointIpAddressesRequest; @@ -70,7 +70,7 @@ export class ListResolverEndpointIpAddressesCommand extends $Command< private serialize( input: ListResolverEndpointIpAddressesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResolverEndpointIpAddressesCommand( input, @@ -80,7 +80,7 @@ export class ListResolverEndpointIpAddressesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResolverEndpointIpAddressesCommand( output, diff --git a/clients/client-route53resolver/commands/ListResolverEndpointsCommand.ts b/clients/client-route53resolver/commands/ListResolverEndpointsCommand.ts index 78333496ebe2..380172dd396a 100644 --- a/clients/client-route53resolver/commands/ListResolverEndpointsCommand.ts +++ b/clients/client-route53resolver/commands/ListResolverEndpointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResolverEndpointsCommandInput = ListResolverEndpointsRequest; @@ -70,14 +70,14 @@ export class ListResolverEndpointsCommand extends $Command< private serialize( input: ListResolverEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResolverEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResolverEndpointsCommand(output, context); } diff --git a/clients/client-route53resolver/commands/ListResolverRuleAssociationsCommand.ts b/clients/client-route53resolver/commands/ListResolverRuleAssociationsCommand.ts index a7a191b78501..2953aefe5c1b 100644 --- a/clients/client-route53resolver/commands/ListResolverRuleAssociationsCommand.ts +++ b/clients/client-route53resolver/commands/ListResolverRuleAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResolverRuleAssociationsCommandInput = ListResolverRuleAssociationsRequest; @@ -70,7 +70,7 @@ export class ListResolverRuleAssociationsCommand extends $Command< private serialize( input: ListResolverRuleAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResolverRuleAssociationsCommand( input, @@ -80,7 +80,7 @@ export class ListResolverRuleAssociationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResolverRuleAssociationsCommand( output, diff --git a/clients/client-route53resolver/commands/ListResolverRulesCommand.ts b/clients/client-route53resolver/commands/ListResolverRulesCommand.ts index 094f0290c111..24f45103980d 100644 --- a/clients/client-route53resolver/commands/ListResolverRulesCommand.ts +++ b/clients/client-route53resolver/commands/ListResolverRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResolverRulesCommandInput = ListResolverRulesRequest; @@ -67,14 +67,14 @@ export class ListResolverRulesCommand extends $Command< private serialize( input: ListResolverRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResolverRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResolverRulesCommand(output, context); } diff --git a/clients/client-route53resolver/commands/ListTagsForResourceCommand.ts b/clients/client-route53resolver/commands/ListTagsForResourceCommand.ts index cb486b7ad9e8..878d1cfffd3a 100644 --- a/clients/client-route53resolver/commands/ListTagsForResourceCommand.ts +++ b/clients/client-route53resolver/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-route53resolver/commands/PutResolverRulePolicyCommand.ts b/clients/client-route53resolver/commands/PutResolverRulePolicyCommand.ts index b767e6efd095..dd48b87e3239 100644 --- a/clients/client-route53resolver/commands/PutResolverRulePolicyCommand.ts +++ b/clients/client-route53resolver/commands/PutResolverRulePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutResolverRulePolicyCommandInput = PutResolverRulePolicyRequest; @@ -70,14 +70,14 @@ export class PutResolverRulePolicyCommand extends $Command< private serialize( input: PutResolverRulePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutResolverRulePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutResolverRulePolicyCommand(output, context); } diff --git a/clients/client-route53resolver/commands/TagResourceCommand.ts b/clients/client-route53resolver/commands/TagResourceCommand.ts index d208e34b83b4..fc778518904a 100644 --- a/clients/client-route53resolver/commands/TagResourceCommand.ts +++ b/clients/client-route53resolver/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-route53resolver/commands/UntagResourceCommand.ts b/clients/client-route53resolver/commands/UntagResourceCommand.ts index 3f98b18a7a8d..fdb4221ed0e0 100644 --- a/clients/client-route53resolver/commands/UntagResourceCommand.ts +++ b/clients/client-route53resolver/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-route53resolver/commands/UpdateResolverEndpointCommand.ts b/clients/client-route53resolver/commands/UpdateResolverEndpointCommand.ts index 7e40eacbd607..15be5e1f7d9b 100644 --- a/clients/client-route53resolver/commands/UpdateResolverEndpointCommand.ts +++ b/clients/client-route53resolver/commands/UpdateResolverEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateResolverEndpointCommandInput = UpdateResolverEndpointRequest; @@ -70,14 +70,14 @@ export class UpdateResolverEndpointCommand extends $Command< private serialize( input: UpdateResolverEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateResolverEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateResolverEndpointCommand(output, context); } diff --git a/clients/client-route53resolver/commands/UpdateResolverRuleCommand.ts b/clients/client-route53resolver/commands/UpdateResolverRuleCommand.ts index 1b567b007aaf..b61239b49f84 100644 --- a/clients/client-route53resolver/commands/UpdateResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/UpdateResolverRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateResolverRuleCommandInput = UpdateResolverRuleRequest; @@ -67,14 +67,14 @@ export class UpdateResolverRuleCommand extends $Command< private serialize( input: UpdateResolverRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateResolverRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateResolverRuleCommand(output, context); } diff --git a/clients/client-route53resolver/protocols/Aws_json1_1.ts b/clients/client-route53resolver/protocols/Aws_json1_1.ts index 27c19d8f3456..9cf8f01e239b 100644 --- a/clients/client-route53resolver/protocols/Aws_json1_1.ts +++ b/clients/client-route53resolver/protocols/Aws_json1_1.ts @@ -4138,6 +4138,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-s3-control/commands/CreateAccessPointCommand.ts b/clients/client-s3-control/commands/CreateAccessPointCommand.ts index 0babff350b16..cd577bf8501d 100644 --- a/clients/client-s3-control/commands/CreateAccessPointCommand.ts +++ b/clients/client-s3-control/commands/CreateAccessPointCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAccessPointCommandInput = CreateAccessPointRequest; @@ -65,14 +65,14 @@ export class CreateAccessPointCommand extends $Command< private serialize( input: CreateAccessPointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateAccessPointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateAccessPointCommand(output, context); } diff --git a/clients/client-s3-control/commands/CreateJobCommand.ts b/clients/client-s3-control/commands/CreateJobCommand.ts index 89eee8320da2..f475da667acc 100644 --- a/clients/client-s3-control/commands/CreateJobCommand.ts +++ b/clients/client-s3-control/commands/CreateJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateJobCommandInput = CreateJobRequest; @@ -64,14 +64,14 @@ export class CreateJobCommand extends $Command< private serialize( input: CreateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateJobCommand(output, context); } diff --git a/clients/client-s3-control/commands/DeleteAccessPointCommand.ts b/clients/client-s3-control/commands/DeleteAccessPointCommand.ts index 09cf7d589621..03ee23f40cf5 100644 --- a/clients/client-s3-control/commands/DeleteAccessPointCommand.ts +++ b/clients/client-s3-control/commands/DeleteAccessPointCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAccessPointCommandInput = DeleteAccessPointRequest; @@ -65,14 +65,14 @@ export class DeleteAccessPointCommand extends $Command< private serialize( input: DeleteAccessPointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteAccessPointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteAccessPointCommand(output, context); } diff --git a/clients/client-s3-control/commands/DeleteAccessPointPolicyCommand.ts b/clients/client-s3-control/commands/DeleteAccessPointPolicyCommand.ts index 4bd8ff783d90..7bca7054cbb9 100644 --- a/clients/client-s3-control/commands/DeleteAccessPointPolicyCommand.ts +++ b/clients/client-s3-control/commands/DeleteAccessPointPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAccessPointPolicyCommandInput = DeleteAccessPointPolicyRequest; @@ -68,14 +68,14 @@ export class DeleteAccessPointPolicyCommand extends $Command< private serialize( input: DeleteAccessPointPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteAccessPointPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteAccessPointPolicyCommand( output, diff --git a/clients/client-s3-control/commands/DeletePublicAccessBlockCommand.ts b/clients/client-s3-control/commands/DeletePublicAccessBlockCommand.ts index 9e763b55d38e..63821ec024c2 100644 --- a/clients/client-s3-control/commands/DeletePublicAccessBlockCommand.ts +++ b/clients/client-s3-control/commands/DeletePublicAccessBlockCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePublicAccessBlockCommandInput = DeletePublicAccessBlockRequest; @@ -68,14 +68,14 @@ export class DeletePublicAccessBlockCommand extends $Command< private serialize( input: DeletePublicAccessBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeletePublicAccessBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeletePublicAccessBlockCommand( output, diff --git a/clients/client-s3-control/commands/DescribeJobCommand.ts b/clients/client-s3-control/commands/DescribeJobCommand.ts index 5be60b9147d6..d039ca0245aa 100644 --- a/clients/client-s3-control/commands/DescribeJobCommand.ts +++ b/clients/client-s3-control/commands/DescribeJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeJobCommandInput = DescribeJobRequest; @@ -64,14 +64,14 @@ export class DescribeJobCommand extends $Command< private serialize( input: DescribeJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDescribeJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDescribeJobCommand(output, context); } diff --git a/clients/client-s3-control/commands/GetAccessPointCommand.ts b/clients/client-s3-control/commands/GetAccessPointCommand.ts index ca731722eaa4..603b347c041a 100644 --- a/clients/client-s3-control/commands/GetAccessPointCommand.ts +++ b/clients/client-s3-control/commands/GetAccessPointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccessPointCommandInput = GetAccessPointRequest; @@ -64,14 +64,14 @@ export class GetAccessPointCommand extends $Command< private serialize( input: GetAccessPointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetAccessPointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetAccessPointCommand(output, context); } diff --git a/clients/client-s3-control/commands/GetAccessPointPolicyCommand.ts b/clients/client-s3-control/commands/GetAccessPointPolicyCommand.ts index 407a7de5fc9a..8f13d42cb671 100644 --- a/clients/client-s3-control/commands/GetAccessPointPolicyCommand.ts +++ b/clients/client-s3-control/commands/GetAccessPointPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccessPointPolicyCommandInput = GetAccessPointPolicyRequest; @@ -70,14 +70,14 @@ export class GetAccessPointPolicyCommand extends $Command< private serialize( input: GetAccessPointPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetAccessPointPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetAccessPointPolicyCommand(output, context); } diff --git a/clients/client-s3-control/commands/GetAccessPointPolicyStatusCommand.ts b/clients/client-s3-control/commands/GetAccessPointPolicyStatusCommand.ts index 0b5c15a916e8..0bafc1747428 100644 --- a/clients/client-s3-control/commands/GetAccessPointPolicyStatusCommand.ts +++ b/clients/client-s3-control/commands/GetAccessPointPolicyStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccessPointPolicyStatusCommandInput = GetAccessPointPolicyStatusRequest; @@ -70,7 +70,7 @@ export class GetAccessPointPolicyStatusCommand extends $Command< private serialize( input: GetAccessPointPolicyStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetAccessPointPolicyStatusCommand( input, @@ -80,7 +80,7 @@ export class GetAccessPointPolicyStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetAccessPointPolicyStatusCommand( output, diff --git a/clients/client-s3-control/commands/GetPublicAccessBlockCommand.ts b/clients/client-s3-control/commands/GetPublicAccessBlockCommand.ts index 401242d8754d..9463ffeacc0b 100644 --- a/clients/client-s3-control/commands/GetPublicAccessBlockCommand.ts +++ b/clients/client-s3-control/commands/GetPublicAccessBlockCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPublicAccessBlockCommandInput = GetPublicAccessBlockRequest; @@ -70,14 +70,14 @@ export class GetPublicAccessBlockCommand extends $Command< private serialize( input: GetPublicAccessBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetPublicAccessBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetPublicAccessBlockCommand(output, context); } diff --git a/clients/client-s3-control/commands/ListAccessPointsCommand.ts b/clients/client-s3-control/commands/ListAccessPointsCommand.ts index fe3dc88f4277..f937443ae6cf 100644 --- a/clients/client-s3-control/commands/ListAccessPointsCommand.ts +++ b/clients/client-s3-control/commands/ListAccessPointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAccessPointsCommandInput = ListAccessPointsRequest; @@ -67,14 +67,14 @@ export class ListAccessPointsCommand extends $Command< private serialize( input: ListAccessPointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListAccessPointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListAccessPointsCommand(output, context); } diff --git a/clients/client-s3-control/commands/ListJobsCommand.ts b/clients/client-s3-control/commands/ListJobsCommand.ts index 830d3cd41ab2..6af9610e19bd 100644 --- a/clients/client-s3-control/commands/ListJobsCommand.ts +++ b/clients/client-s3-control/commands/ListJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsCommandInput = ListJobsRequest; @@ -64,14 +64,14 @@ export class ListJobsCommand extends $Command< private serialize( input: ListJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListJobsCommand(output, context); } diff --git a/clients/client-s3-control/commands/PutAccessPointPolicyCommand.ts b/clients/client-s3-control/commands/PutAccessPointPolicyCommand.ts index 8dc6eae2319d..74a023227cde 100644 --- a/clients/client-s3-control/commands/PutAccessPointPolicyCommand.ts +++ b/clients/client-s3-control/commands/PutAccessPointPolicyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAccessPointPolicyCommandInput = PutAccessPointPolicyRequest; @@ -68,14 +68,14 @@ export class PutAccessPointPolicyCommand extends $Command< private serialize( input: PutAccessPointPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutAccessPointPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutAccessPointPolicyCommand(output, context); } diff --git a/clients/client-s3-control/commands/PutPublicAccessBlockCommand.ts b/clients/client-s3-control/commands/PutPublicAccessBlockCommand.ts index 0822c1208a1b..bc38606d0405 100644 --- a/clients/client-s3-control/commands/PutPublicAccessBlockCommand.ts +++ b/clients/client-s3-control/commands/PutPublicAccessBlockCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutPublicAccessBlockCommandInput = PutPublicAccessBlockRequest; @@ -68,14 +68,14 @@ export class PutPublicAccessBlockCommand extends $Command< private serialize( input: PutPublicAccessBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutPublicAccessBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutPublicAccessBlockCommand(output, context); } diff --git a/clients/client-s3-control/commands/UpdateJobPriorityCommand.ts b/clients/client-s3-control/commands/UpdateJobPriorityCommand.ts index 8288d88838fd..6bc977683372 100644 --- a/clients/client-s3-control/commands/UpdateJobPriorityCommand.ts +++ b/clients/client-s3-control/commands/UpdateJobPriorityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateJobPriorityCommandInput = UpdateJobPriorityRequest; @@ -67,14 +67,14 @@ export class UpdateJobPriorityCommand extends $Command< private serialize( input: UpdateJobPriorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdateJobPriorityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdateJobPriorityCommand(output, context); } diff --git a/clients/client-s3-control/commands/UpdateJobStatusCommand.ts b/clients/client-s3-control/commands/UpdateJobStatusCommand.ts index f392761c2734..37813efa7aff 100644 --- a/clients/client-s3-control/commands/UpdateJobStatusCommand.ts +++ b/clients/client-s3-control/commands/UpdateJobStatusCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateJobStatusCommandInput = UpdateJobStatusRequest; @@ -64,14 +64,14 @@ export class UpdateJobStatusCommand extends $Command< private serialize( input: UpdateJobStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUpdateJobStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUpdateJobStatusCommand(output, context); } diff --git a/clients/client-s3-control/protocols/Aws_restXml.ts b/clients/client-s3-control/protocols/Aws_restXml.ts index 5e5afdca630e..27a70a5defcb 100644 --- a/clients/client-s3-control/protocols/Aws_restXml.ts +++ b/clients/client-s3-control/protocols/Aws_restXml.ts @@ -3366,6 +3366,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-s3/S3Client.ts b/clients/client-s3/S3Client.ts index d68ddc82597f..7818d44f98f7 100644 --- a/clients/client-s3/S3Client.ts +++ b/clients/client-s3/S3Client.ts @@ -146,6 +146,11 @@ import { resolveEndpointsConfig, resolveRegionConfig } from "@aws-sdk/config-resolver"; +import { + EventStreamSerdeInputConfig, + EventStreamSerdeResolvedConfig, + resolveEventStreamSerdeConfig +} from "@aws-sdk/eventstream-serde-config-resolver"; import { BucketEndpointInputConfig, BucketEndpointResolvedConfig, @@ -189,6 +194,7 @@ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, + EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, @@ -442,6 +448,11 @@ export interface ClientDefaults * Whether to escape request path when signing the request. */ signingEscapePath?: boolean; + + /** + * The function that provides necessary utilities for generating and signing event stream + */ + eventStreamSerdeProvider?: __EventStreamSerdeProvider; } export type S3ClientConfig = Partial< @@ -454,7 +465,8 @@ export type S3ClientConfig = Partial< RetryInputConfig & UserAgentInputConfig & BucketEndpointInputConfig & - HostHeaderInputConfig; + HostHeaderInputConfig & + EventStreamSerdeInputConfig; export type S3ClientResolvedConfig = __SmithyResolvedConfiguration< __HttpHandlerOptions @@ -466,7 +478,8 @@ export type S3ClientResolvedConfig = __SmithyResolvedConfiguration< RetryResolvedConfig & UserAgentResolvedConfig & BucketEndpointResolvedConfig & - HostHeaderResolvedConfig; + HostHeaderResolvedConfig & + EventStreamSerdeResolvedConfig; /** *

@@ -491,8 +504,9 @@ export class S3Client extends __Client< let _config_5 = resolveUserAgentConfig(_config_4); let _config_6 = resolveBucketEndpointConfig(_config_5); let _config_7 = resolveHostHeaderConfig(_config_6); - super(_config_7); - this.config = _config_7; + let _config_8 = resolveEventStreamSerdeConfig(_config_7); + super(_config_8); + this.config = _config_8; this.middlewareStack.use(getAwsAuthPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); diff --git a/clients/client-s3/commands/AbortMultipartUploadCommand.ts b/clients/client-s3/commands/AbortMultipartUploadCommand.ts index 37d570e1965f..3761d9eb9916 100644 --- a/clients/client-s3/commands/AbortMultipartUploadCommand.ts +++ b/clients/client-s3/commands/AbortMultipartUploadCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AbortMultipartUploadCommandInput = AbortMultipartUploadRequest; @@ -72,14 +72,14 @@ export class AbortMultipartUploadCommand extends $Command< private serialize( input: AbortMultipartUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlAbortMultipartUploadCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlAbortMultipartUploadCommand(output, context); } diff --git a/clients/client-s3/commands/CompleteMultipartUploadCommand.ts b/clients/client-s3/commands/CompleteMultipartUploadCommand.ts index 3178e5618caa..84c2f34521cd 100644 --- a/clients/client-s3/commands/CompleteMultipartUploadCommand.ts +++ b/clients/client-s3/commands/CompleteMultipartUploadCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CompleteMultipartUploadCommandInput = CompleteMultipartUploadRequest; @@ -72,14 +72,14 @@ export class CompleteMultipartUploadCommand extends $Command< private serialize( input: CompleteMultipartUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCompleteMultipartUploadCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCompleteMultipartUploadCommand( output, diff --git a/clients/client-s3/commands/CopyObjectCommand.ts b/clients/client-s3/commands/CopyObjectCommand.ts index 956351cef240..5601805e855b 100644 --- a/clients/client-s3/commands/CopyObjectCommand.ts +++ b/clients/client-s3/commands/CopyObjectCommand.ts @@ -21,8 +21,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyObjectCommandInput = CopyObjectRequest; @@ -68,14 +68,14 @@ export class CopyObjectCommand extends $Command< private serialize( input: CopyObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCopyObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCopyObjectCommand(output, context); } diff --git a/clients/client-s3/commands/CreateBucketCommand.ts b/clients/client-s3/commands/CreateBucketCommand.ts index 0bb8d4e31337..52ae38347ecb 100644 --- a/clients/client-s3/commands/CreateBucketCommand.ts +++ b/clients/client-s3/commands/CreateBucketCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateBucketCommandInput = CreateBucketRequest; @@ -66,14 +66,14 @@ export class CreateBucketCommand extends $Command< private serialize( input: CreateBucketCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateBucketCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateBucketCommand(output, context); } diff --git a/clients/client-s3/commands/CreateMultipartUploadCommand.ts b/clients/client-s3/commands/CreateMultipartUploadCommand.ts index c8fc84e9abdb..bc516c43b27a 100644 --- a/clients/client-s3/commands/CreateMultipartUploadCommand.ts +++ b/clients/client-s3/commands/CreateMultipartUploadCommand.ts @@ -24,8 +24,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMultipartUploadCommandInput = CreateMultipartUploadRequest; @@ -74,14 +74,14 @@ export class CreateMultipartUploadCommand extends $Command< private serialize( input: CreateMultipartUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlCreateMultipartUploadCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlCreateMultipartUploadCommand(output, context); } diff --git a/clients/client-s3/commands/DeleteBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/commands/DeleteBucketAnalyticsConfigurationCommand.ts index a48b29deb9f8..7e8c48a9a4a7 100644 --- a/clients/client-s3/commands/DeleteBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/commands/DeleteBucketAnalyticsConfigurationCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBucketAnalyticsConfigurationCommandInput = DeleteBucketAnalyticsConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteBucketAnalyticsConfigurationCommand extends $Command< private serialize( input: DeleteBucketAnalyticsConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteBucketAnalyticsConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteBucketAnalyticsConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteBucketAnalyticsConfigurationCommand( output, diff --git a/clients/client-s3/commands/DeleteBucketCommand.ts b/clients/client-s3/commands/DeleteBucketCommand.ts index 3ce2f22ed490..3ca07cffb44b 100644 --- a/clients/client-s3/commands/DeleteBucketCommand.ts +++ b/clients/client-s3/commands/DeleteBucketCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBucketCommandInput = DeleteBucketRequest; @@ -65,14 +65,14 @@ export class DeleteBucketCommand extends $Command< private serialize( input: DeleteBucketCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteBucketCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteBucketCommand(output, context); } diff --git a/clients/client-s3/commands/DeleteBucketCorsCommand.ts b/clients/client-s3/commands/DeleteBucketCorsCommand.ts index 286090491679..f8a9d2012844 100644 --- a/clients/client-s3/commands/DeleteBucketCorsCommand.ts +++ b/clients/client-s3/commands/DeleteBucketCorsCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBucketCorsCommandInput = DeleteBucketCorsRequest; @@ -67,14 +67,14 @@ export class DeleteBucketCorsCommand extends $Command< private serialize( input: DeleteBucketCorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteBucketCorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteBucketCorsCommand(output, context); } diff --git a/clients/client-s3/commands/DeleteBucketEncryptionCommand.ts b/clients/client-s3/commands/DeleteBucketEncryptionCommand.ts index 5a4751e421ae..7a54157fed07 100644 --- a/clients/client-s3/commands/DeleteBucketEncryptionCommand.ts +++ b/clients/client-s3/commands/DeleteBucketEncryptionCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBucketEncryptionCommandInput = DeleteBucketEncryptionRequest; @@ -70,14 +70,14 @@ export class DeleteBucketEncryptionCommand extends $Command< private serialize( input: DeleteBucketEncryptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteBucketEncryptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteBucketEncryptionCommand(output, context); } diff --git a/clients/client-s3/commands/DeleteBucketInventoryConfigurationCommand.ts b/clients/client-s3/commands/DeleteBucketInventoryConfigurationCommand.ts index 43fa38596485..ca8407cd7e44 100644 --- a/clients/client-s3/commands/DeleteBucketInventoryConfigurationCommand.ts +++ b/clients/client-s3/commands/DeleteBucketInventoryConfigurationCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBucketInventoryConfigurationCommandInput = DeleteBucketInventoryConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteBucketInventoryConfigurationCommand extends $Command< private serialize( input: DeleteBucketInventoryConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteBucketInventoryConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteBucketInventoryConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteBucketInventoryConfigurationCommand( output, diff --git a/clients/client-s3/commands/DeleteBucketLifecycleCommand.ts b/clients/client-s3/commands/DeleteBucketLifecycleCommand.ts index d81f40708b3c..0f2789c9fa73 100644 --- a/clients/client-s3/commands/DeleteBucketLifecycleCommand.ts +++ b/clients/client-s3/commands/DeleteBucketLifecycleCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBucketLifecycleCommandInput = DeleteBucketLifecycleRequest; @@ -70,14 +70,14 @@ export class DeleteBucketLifecycleCommand extends $Command< private serialize( input: DeleteBucketLifecycleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteBucketLifecycleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteBucketLifecycleCommand(output, context); } diff --git a/clients/client-s3/commands/DeleteBucketMetricsConfigurationCommand.ts b/clients/client-s3/commands/DeleteBucketMetricsConfigurationCommand.ts index e6d86ca18b4c..482219cccd69 100644 --- a/clients/client-s3/commands/DeleteBucketMetricsConfigurationCommand.ts +++ b/clients/client-s3/commands/DeleteBucketMetricsConfigurationCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBucketMetricsConfigurationCommandInput = DeleteBucketMetricsConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteBucketMetricsConfigurationCommand extends $Command< private serialize( input: DeleteBucketMetricsConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteBucketMetricsConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteBucketMetricsConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteBucketMetricsConfigurationCommand( output, diff --git a/clients/client-s3/commands/DeleteBucketPolicyCommand.ts b/clients/client-s3/commands/DeleteBucketPolicyCommand.ts index eb16ddf4fca3..cc12a3346d6a 100644 --- a/clients/client-s3/commands/DeleteBucketPolicyCommand.ts +++ b/clients/client-s3/commands/DeleteBucketPolicyCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBucketPolicyCommandInput = DeleteBucketPolicyRequest; @@ -67,14 +67,14 @@ export class DeleteBucketPolicyCommand extends $Command< private serialize( input: DeleteBucketPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteBucketPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteBucketPolicyCommand(output, context); } diff --git a/clients/client-s3/commands/DeleteBucketReplicationCommand.ts b/clients/client-s3/commands/DeleteBucketReplicationCommand.ts index 18f355465c90..02e8a0601edb 100644 --- a/clients/client-s3/commands/DeleteBucketReplicationCommand.ts +++ b/clients/client-s3/commands/DeleteBucketReplicationCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBucketReplicationCommandInput = DeleteBucketReplicationRequest; @@ -70,14 +70,14 @@ export class DeleteBucketReplicationCommand extends $Command< private serialize( input: DeleteBucketReplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteBucketReplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteBucketReplicationCommand( output, diff --git a/clients/client-s3/commands/DeleteBucketTaggingCommand.ts b/clients/client-s3/commands/DeleteBucketTaggingCommand.ts index e6f9994e5a53..d548ef64708e 100644 --- a/clients/client-s3/commands/DeleteBucketTaggingCommand.ts +++ b/clients/client-s3/commands/DeleteBucketTaggingCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBucketTaggingCommandInput = DeleteBucketTaggingRequest; @@ -70,14 +70,14 @@ export class DeleteBucketTaggingCommand extends $Command< private serialize( input: DeleteBucketTaggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteBucketTaggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteBucketTaggingCommand(output, context); } diff --git a/clients/client-s3/commands/DeleteBucketWebsiteCommand.ts b/clients/client-s3/commands/DeleteBucketWebsiteCommand.ts index fcd2d03645dd..e05c857aee5e 100644 --- a/clients/client-s3/commands/DeleteBucketWebsiteCommand.ts +++ b/clients/client-s3/commands/DeleteBucketWebsiteCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBucketWebsiteCommandInput = DeleteBucketWebsiteRequest; @@ -70,14 +70,14 @@ export class DeleteBucketWebsiteCommand extends $Command< private serialize( input: DeleteBucketWebsiteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteBucketWebsiteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteBucketWebsiteCommand(output, context); } diff --git a/clients/client-s3/commands/DeleteObjectCommand.ts b/clients/client-s3/commands/DeleteObjectCommand.ts index 5267dbc6fc08..e57e0866792d 100644 --- a/clients/client-s3/commands/DeleteObjectCommand.ts +++ b/clients/client-s3/commands/DeleteObjectCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteObjectCommandInput = DeleteObjectRequest; @@ -66,14 +66,14 @@ export class DeleteObjectCommand extends $Command< private serialize( input: DeleteObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteObjectCommand(output, context); } diff --git a/clients/client-s3/commands/DeleteObjectTaggingCommand.ts b/clients/client-s3/commands/DeleteObjectTaggingCommand.ts index e879d3d2396d..606c1ecd9e70 100644 --- a/clients/client-s3/commands/DeleteObjectTaggingCommand.ts +++ b/clients/client-s3/commands/DeleteObjectTaggingCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteObjectTaggingCommandInput = DeleteObjectTaggingRequest; @@ -72,14 +72,14 @@ export class DeleteObjectTaggingCommand extends $Command< private serialize( input: DeleteObjectTaggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteObjectTaggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteObjectTaggingCommand(output, context); } diff --git a/clients/client-s3/commands/DeleteObjectsCommand.ts b/clients/client-s3/commands/DeleteObjectsCommand.ts index ae66a94fa29b..2b4686c771a2 100644 --- a/clients/client-s3/commands/DeleteObjectsCommand.ts +++ b/clients/client-s3/commands/DeleteObjectsCommand.ts @@ -21,8 +21,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteObjectsCommandInput = DeleteObjectsRequest; @@ -68,14 +68,14 @@ export class DeleteObjectsCommand extends $Command< private serialize( input: DeleteObjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeleteObjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeleteObjectsCommand(output, context); } diff --git a/clients/client-s3/commands/DeletePublicAccessBlockCommand.ts b/clients/client-s3/commands/DeletePublicAccessBlockCommand.ts index d512e21511dc..99130e4f32ad 100644 --- a/clients/client-s3/commands/DeletePublicAccessBlockCommand.ts +++ b/clients/client-s3/commands/DeletePublicAccessBlockCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePublicAccessBlockCommandInput = DeletePublicAccessBlockRequest; @@ -70,14 +70,14 @@ export class DeletePublicAccessBlockCommand extends $Command< private serialize( input: DeletePublicAccessBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlDeletePublicAccessBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlDeletePublicAccessBlockCommand( output, diff --git a/clients/client-s3/commands/GetBucketAccelerateConfigurationCommand.ts b/clients/client-s3/commands/GetBucketAccelerateConfigurationCommand.ts index 0ec905acf3b4..83cdb6769c3f 100644 --- a/clients/client-s3/commands/GetBucketAccelerateConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketAccelerateConfigurationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketAccelerateConfigurationCommandInput = GetBucketAccelerateConfigurationRequest; @@ -72,7 +72,7 @@ export class GetBucketAccelerateConfigurationCommand extends $Command< private serialize( input: GetBucketAccelerateConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketAccelerateConfigurationCommand( input, @@ -82,7 +82,7 @@ export class GetBucketAccelerateConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketAccelerateConfigurationCommand( output, diff --git a/clients/client-s3/commands/GetBucketAclCommand.ts b/clients/client-s3/commands/GetBucketAclCommand.ts index c6d5c95d0674..4a03988b680c 100644 --- a/clients/client-s3/commands/GetBucketAclCommand.ts +++ b/clients/client-s3/commands/GetBucketAclCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketAclCommandInput = GetBucketAclRequest; @@ -66,14 +66,14 @@ export class GetBucketAclCommand extends $Command< private serialize( input: GetBucketAclCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketAclCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketAclCommand(output, context); } diff --git a/clients/client-s3/commands/GetBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/commands/GetBucketAnalyticsConfigurationCommand.ts index 45a0b00cf165..b30c9f7a373d 100644 --- a/clients/client-s3/commands/GetBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketAnalyticsConfigurationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketAnalyticsConfigurationCommandInput = GetBucketAnalyticsConfigurationRequest; @@ -72,7 +72,7 @@ export class GetBucketAnalyticsConfigurationCommand extends $Command< private serialize( input: GetBucketAnalyticsConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketAnalyticsConfigurationCommand( input, @@ -82,7 +82,7 @@ export class GetBucketAnalyticsConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketAnalyticsConfigurationCommand( output, diff --git a/clients/client-s3/commands/GetBucketCorsCommand.ts b/clients/client-s3/commands/GetBucketCorsCommand.ts index 12b33e8653a0..e8c650824604 100644 --- a/clients/client-s3/commands/GetBucketCorsCommand.ts +++ b/clients/client-s3/commands/GetBucketCorsCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketCorsCommandInput = GetBucketCorsRequest; @@ -66,14 +66,14 @@ export class GetBucketCorsCommand extends $Command< private serialize( input: GetBucketCorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketCorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketCorsCommand(output, context); } diff --git a/clients/client-s3/commands/GetBucketEncryptionCommand.ts b/clients/client-s3/commands/GetBucketEncryptionCommand.ts index 7e94fa200601..a26890528e53 100644 --- a/clients/client-s3/commands/GetBucketEncryptionCommand.ts +++ b/clients/client-s3/commands/GetBucketEncryptionCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketEncryptionCommandInput = GetBucketEncryptionRequest; @@ -72,14 +72,14 @@ export class GetBucketEncryptionCommand extends $Command< private serialize( input: GetBucketEncryptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketEncryptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketEncryptionCommand(output, context); } diff --git a/clients/client-s3/commands/GetBucketInventoryConfigurationCommand.ts b/clients/client-s3/commands/GetBucketInventoryConfigurationCommand.ts index a2eb09266ce4..a7dbabfbcf4e 100644 --- a/clients/client-s3/commands/GetBucketInventoryConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketInventoryConfigurationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketInventoryConfigurationCommandInput = GetBucketInventoryConfigurationRequest; @@ -72,7 +72,7 @@ export class GetBucketInventoryConfigurationCommand extends $Command< private serialize( input: GetBucketInventoryConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketInventoryConfigurationCommand( input, @@ -82,7 +82,7 @@ export class GetBucketInventoryConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketInventoryConfigurationCommand( output, diff --git a/clients/client-s3/commands/GetBucketLifecycleConfigurationCommand.ts b/clients/client-s3/commands/GetBucketLifecycleConfigurationCommand.ts index 147765640b63..52629488b45b 100644 --- a/clients/client-s3/commands/GetBucketLifecycleConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketLifecycleConfigurationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketLifecycleConfigurationCommandInput = GetBucketLifecycleConfigurationRequest; @@ -72,7 +72,7 @@ export class GetBucketLifecycleConfigurationCommand extends $Command< private serialize( input: GetBucketLifecycleConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketLifecycleConfigurationCommand( input, @@ -82,7 +82,7 @@ export class GetBucketLifecycleConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketLifecycleConfigurationCommand( output, diff --git a/clients/client-s3/commands/GetBucketLocationCommand.ts b/clients/client-s3/commands/GetBucketLocationCommand.ts index dd2398ef1503..70229ec3cefe 100644 --- a/clients/client-s3/commands/GetBucketLocationCommand.ts +++ b/clients/client-s3/commands/GetBucketLocationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketLocationCommandInput = GetBucketLocationRequest; @@ -69,14 +69,14 @@ export class GetBucketLocationCommand extends $Command< private serialize( input: GetBucketLocationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketLocationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketLocationCommand(output, context); } diff --git a/clients/client-s3/commands/GetBucketLoggingCommand.ts b/clients/client-s3/commands/GetBucketLoggingCommand.ts index fde32718a282..ef87f58cded5 100644 --- a/clients/client-s3/commands/GetBucketLoggingCommand.ts +++ b/clients/client-s3/commands/GetBucketLoggingCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketLoggingCommandInput = GetBucketLoggingRequest; @@ -69,14 +69,14 @@ export class GetBucketLoggingCommand extends $Command< private serialize( input: GetBucketLoggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketLoggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketLoggingCommand(output, context); } diff --git a/clients/client-s3/commands/GetBucketMetricsConfigurationCommand.ts b/clients/client-s3/commands/GetBucketMetricsConfigurationCommand.ts index 6989924e4018..b5f8dc04bdfb 100644 --- a/clients/client-s3/commands/GetBucketMetricsConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketMetricsConfigurationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketMetricsConfigurationCommandInput = GetBucketMetricsConfigurationRequest; @@ -72,7 +72,7 @@ export class GetBucketMetricsConfigurationCommand extends $Command< private serialize( input: GetBucketMetricsConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketMetricsConfigurationCommand( input, @@ -82,7 +82,7 @@ export class GetBucketMetricsConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketMetricsConfigurationCommand( output, diff --git a/clients/client-s3/commands/GetBucketNotificationConfigurationCommand.ts b/clients/client-s3/commands/GetBucketNotificationConfigurationCommand.ts index cb8290ef8d5c..5c87f74ac5b3 100644 --- a/clients/client-s3/commands/GetBucketNotificationConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketNotificationConfigurationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketNotificationConfigurationCommandInput = GetBucketNotificationConfigurationRequest; @@ -72,7 +72,7 @@ export class GetBucketNotificationConfigurationCommand extends $Command< private serialize( input: GetBucketNotificationConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketNotificationConfigurationCommand( input, @@ -82,7 +82,7 @@ export class GetBucketNotificationConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketNotificationConfigurationCommand( output, diff --git a/clients/client-s3/commands/GetBucketPolicyCommand.ts b/clients/client-s3/commands/GetBucketPolicyCommand.ts index 2d68041930fe..22ba9038434c 100644 --- a/clients/client-s3/commands/GetBucketPolicyCommand.ts +++ b/clients/client-s3/commands/GetBucketPolicyCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketPolicyCommandInput = GetBucketPolicyRequest; @@ -66,14 +66,14 @@ export class GetBucketPolicyCommand extends $Command< private serialize( input: GetBucketPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketPolicyCommand(output, context); } diff --git a/clients/client-s3/commands/GetBucketPolicyStatusCommand.ts b/clients/client-s3/commands/GetBucketPolicyStatusCommand.ts index 072ef066a4ca..4c860845cec1 100644 --- a/clients/client-s3/commands/GetBucketPolicyStatusCommand.ts +++ b/clients/client-s3/commands/GetBucketPolicyStatusCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketPolicyStatusCommandInput = GetBucketPolicyStatusRequest; @@ -72,14 +72,14 @@ export class GetBucketPolicyStatusCommand extends $Command< private serialize( input: GetBucketPolicyStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketPolicyStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketPolicyStatusCommand(output, context); } diff --git a/clients/client-s3/commands/GetBucketReplicationCommand.ts b/clients/client-s3/commands/GetBucketReplicationCommand.ts index 317bdf06391c..1647978b6724 100644 --- a/clients/client-s3/commands/GetBucketReplicationCommand.ts +++ b/clients/client-s3/commands/GetBucketReplicationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketReplicationCommandInput = GetBucketReplicationRequest; @@ -72,14 +72,14 @@ export class GetBucketReplicationCommand extends $Command< private serialize( input: GetBucketReplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketReplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketReplicationCommand(output, context); } diff --git a/clients/client-s3/commands/GetBucketRequestPaymentCommand.ts b/clients/client-s3/commands/GetBucketRequestPaymentCommand.ts index f7a56c4dd54a..135193dd4f0e 100644 --- a/clients/client-s3/commands/GetBucketRequestPaymentCommand.ts +++ b/clients/client-s3/commands/GetBucketRequestPaymentCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketRequestPaymentCommandInput = GetBucketRequestPaymentRequest; @@ -72,14 +72,14 @@ export class GetBucketRequestPaymentCommand extends $Command< private serialize( input: GetBucketRequestPaymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketRequestPaymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketRequestPaymentCommand( output, diff --git a/clients/client-s3/commands/GetBucketTaggingCommand.ts b/clients/client-s3/commands/GetBucketTaggingCommand.ts index 28b999c619e8..ad2eb8852afb 100644 --- a/clients/client-s3/commands/GetBucketTaggingCommand.ts +++ b/clients/client-s3/commands/GetBucketTaggingCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketTaggingCommandInput = GetBucketTaggingRequest; @@ -69,14 +69,14 @@ export class GetBucketTaggingCommand extends $Command< private serialize( input: GetBucketTaggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketTaggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketTaggingCommand(output, context); } diff --git a/clients/client-s3/commands/GetBucketVersioningCommand.ts b/clients/client-s3/commands/GetBucketVersioningCommand.ts index c199f2702dff..fc0a49ce8f43 100644 --- a/clients/client-s3/commands/GetBucketVersioningCommand.ts +++ b/clients/client-s3/commands/GetBucketVersioningCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketVersioningCommandInput = GetBucketVersioningRequest; @@ -72,14 +72,14 @@ export class GetBucketVersioningCommand extends $Command< private serialize( input: GetBucketVersioningCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketVersioningCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketVersioningCommand(output, context); } diff --git a/clients/client-s3/commands/GetBucketWebsiteCommand.ts b/clients/client-s3/commands/GetBucketWebsiteCommand.ts index e262ed377345..ecad78462ff4 100644 --- a/clients/client-s3/commands/GetBucketWebsiteCommand.ts +++ b/clients/client-s3/commands/GetBucketWebsiteCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBucketWebsiteCommandInput = GetBucketWebsiteRequest; @@ -69,14 +69,14 @@ export class GetBucketWebsiteCommand extends $Command< private serialize( input: GetBucketWebsiteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetBucketWebsiteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetBucketWebsiteCommand(output, context); } diff --git a/clients/client-s3/commands/GetObjectAclCommand.ts b/clients/client-s3/commands/GetObjectAclCommand.ts index dd6c959b2ab2..5faafd866b0c 100644 --- a/clients/client-s3/commands/GetObjectAclCommand.ts +++ b/clients/client-s3/commands/GetObjectAclCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetObjectAclCommandInput = GetObjectAclRequest; @@ -66,14 +66,14 @@ export class GetObjectAclCommand extends $Command< private serialize( input: GetObjectAclCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetObjectAclCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetObjectAclCommand(output, context); } diff --git a/clients/client-s3/commands/GetObjectCommand.ts b/clients/client-s3/commands/GetObjectCommand.ts index eae5eac4144b..72c34a446715 100644 --- a/clients/client-s3/commands/GetObjectCommand.ts +++ b/clients/client-s3/commands/GetObjectCommand.ts @@ -21,8 +21,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetObjectCommandInput = GetObjectRequest; @@ -68,14 +68,14 @@ export class GetObjectCommand extends $Command< private serialize( input: GetObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetObjectCommand(output, context); } diff --git a/clients/client-s3/commands/GetObjectLegalHoldCommand.ts b/clients/client-s3/commands/GetObjectLegalHoldCommand.ts index 99155d77c9d4..ca5fa6a4713f 100644 --- a/clients/client-s3/commands/GetObjectLegalHoldCommand.ts +++ b/clients/client-s3/commands/GetObjectLegalHoldCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetObjectLegalHoldCommandInput = GetObjectLegalHoldRequest; @@ -69,14 +69,14 @@ export class GetObjectLegalHoldCommand extends $Command< private serialize( input: GetObjectLegalHoldCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetObjectLegalHoldCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetObjectLegalHoldCommand(output, context); } diff --git a/clients/client-s3/commands/GetObjectLockConfigurationCommand.ts b/clients/client-s3/commands/GetObjectLockConfigurationCommand.ts index 88e9fb1947af..a023d92d977d 100644 --- a/clients/client-s3/commands/GetObjectLockConfigurationCommand.ts +++ b/clients/client-s3/commands/GetObjectLockConfigurationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetObjectLockConfigurationCommandInput = GetObjectLockConfigurationRequest; @@ -72,7 +72,7 @@ export class GetObjectLockConfigurationCommand extends $Command< private serialize( input: GetObjectLockConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetObjectLockConfigurationCommand( input, @@ -82,7 +82,7 @@ export class GetObjectLockConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetObjectLockConfigurationCommand( output, diff --git a/clients/client-s3/commands/GetObjectRetentionCommand.ts b/clients/client-s3/commands/GetObjectRetentionCommand.ts index 8a70a1106421..605fcca7d4bc 100644 --- a/clients/client-s3/commands/GetObjectRetentionCommand.ts +++ b/clients/client-s3/commands/GetObjectRetentionCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetObjectRetentionCommandInput = GetObjectRetentionRequest; @@ -69,14 +69,14 @@ export class GetObjectRetentionCommand extends $Command< private serialize( input: GetObjectRetentionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetObjectRetentionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetObjectRetentionCommand(output, context); } diff --git a/clients/client-s3/commands/GetObjectTaggingCommand.ts b/clients/client-s3/commands/GetObjectTaggingCommand.ts index 73c83d62ac62..74aab45682a9 100644 --- a/clients/client-s3/commands/GetObjectTaggingCommand.ts +++ b/clients/client-s3/commands/GetObjectTaggingCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetObjectTaggingCommandInput = GetObjectTaggingRequest; @@ -69,14 +69,14 @@ export class GetObjectTaggingCommand extends $Command< private serialize( input: GetObjectTaggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetObjectTaggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetObjectTaggingCommand(output, context); } diff --git a/clients/client-s3/commands/GetObjectTorrentCommand.ts b/clients/client-s3/commands/GetObjectTorrentCommand.ts index 38d6db22850e..98745e1efd94 100644 --- a/clients/client-s3/commands/GetObjectTorrentCommand.ts +++ b/clients/client-s3/commands/GetObjectTorrentCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetObjectTorrentCommandInput = GetObjectTorrentRequest; @@ -69,14 +69,14 @@ export class GetObjectTorrentCommand extends $Command< private serialize( input: GetObjectTorrentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetObjectTorrentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetObjectTorrentCommand(output, context); } diff --git a/clients/client-s3/commands/GetPublicAccessBlockCommand.ts b/clients/client-s3/commands/GetPublicAccessBlockCommand.ts index 261b5ddb0e9d..90a3c8344610 100644 --- a/clients/client-s3/commands/GetPublicAccessBlockCommand.ts +++ b/clients/client-s3/commands/GetPublicAccessBlockCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPublicAccessBlockCommandInput = GetPublicAccessBlockRequest; @@ -72,14 +72,14 @@ export class GetPublicAccessBlockCommand extends $Command< private serialize( input: GetPublicAccessBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlGetPublicAccessBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlGetPublicAccessBlockCommand(output, context); } diff --git a/clients/client-s3/commands/HeadBucketCommand.ts b/clients/client-s3/commands/HeadBucketCommand.ts index 1915ec553064..6ea13545098f 100644 --- a/clients/client-s3/commands/HeadBucketCommand.ts +++ b/clients/client-s3/commands/HeadBucketCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type HeadBucketCommandInput = HeadBucketRequest; @@ -67,14 +67,14 @@ export class HeadBucketCommand extends $Command< private serialize( input: HeadBucketCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlHeadBucketCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlHeadBucketCommand(output, context); } diff --git a/clients/client-s3/commands/HeadObjectCommand.ts b/clients/client-s3/commands/HeadObjectCommand.ts index e504bebe9605..b17e58db3306 100644 --- a/clients/client-s3/commands/HeadObjectCommand.ts +++ b/clients/client-s3/commands/HeadObjectCommand.ts @@ -21,8 +21,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type HeadObjectCommandInput = HeadObjectRequest; @@ -68,14 +68,14 @@ export class HeadObjectCommand extends $Command< private serialize( input: HeadObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlHeadObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlHeadObjectCommand(output, context); } diff --git a/clients/client-s3/commands/ListBucketAnalyticsConfigurationsCommand.ts b/clients/client-s3/commands/ListBucketAnalyticsConfigurationsCommand.ts index 033434075bda..63d8307b7554 100644 --- a/clients/client-s3/commands/ListBucketAnalyticsConfigurationsCommand.ts +++ b/clients/client-s3/commands/ListBucketAnalyticsConfigurationsCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBucketAnalyticsConfigurationsCommandInput = ListBucketAnalyticsConfigurationsRequest; @@ -72,7 +72,7 @@ export class ListBucketAnalyticsConfigurationsCommand extends $Command< private serialize( input: ListBucketAnalyticsConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListBucketAnalyticsConfigurationsCommand( input, @@ -82,7 +82,7 @@ export class ListBucketAnalyticsConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListBucketAnalyticsConfigurationsCommand( output, diff --git a/clients/client-s3/commands/ListBucketInventoryConfigurationsCommand.ts b/clients/client-s3/commands/ListBucketInventoryConfigurationsCommand.ts index 54e21a550c19..67596f6219b1 100644 --- a/clients/client-s3/commands/ListBucketInventoryConfigurationsCommand.ts +++ b/clients/client-s3/commands/ListBucketInventoryConfigurationsCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBucketInventoryConfigurationsCommandInput = ListBucketInventoryConfigurationsRequest; @@ -72,7 +72,7 @@ export class ListBucketInventoryConfigurationsCommand extends $Command< private serialize( input: ListBucketInventoryConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListBucketInventoryConfigurationsCommand( input, @@ -82,7 +82,7 @@ export class ListBucketInventoryConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListBucketInventoryConfigurationsCommand( output, diff --git a/clients/client-s3/commands/ListBucketMetricsConfigurationsCommand.ts b/clients/client-s3/commands/ListBucketMetricsConfigurationsCommand.ts index ce7c42d85d3c..1f855337007b 100644 --- a/clients/client-s3/commands/ListBucketMetricsConfigurationsCommand.ts +++ b/clients/client-s3/commands/ListBucketMetricsConfigurationsCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBucketMetricsConfigurationsCommandInput = ListBucketMetricsConfigurationsRequest; @@ -72,7 +72,7 @@ export class ListBucketMetricsConfigurationsCommand extends $Command< private serialize( input: ListBucketMetricsConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListBucketMetricsConfigurationsCommand( input, @@ -82,7 +82,7 @@ export class ListBucketMetricsConfigurationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListBucketMetricsConfigurationsCommand( output, diff --git a/clients/client-s3/commands/ListBucketsCommand.ts b/clients/client-s3/commands/ListBucketsCommand.ts index 44b0a97181bf..13189bc15fbb 100644 --- a/clients/client-s3/commands/ListBucketsCommand.ts +++ b/clients/client-s3/commands/ListBucketsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBucketsCommandInput = {}; @@ -64,14 +64,14 @@ export class ListBucketsCommand extends $Command< private serialize( input: ListBucketsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListBucketsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListBucketsCommand(output, context); } diff --git a/clients/client-s3/commands/ListMultipartUploadsCommand.ts b/clients/client-s3/commands/ListMultipartUploadsCommand.ts index 16000131b16c..3b606e93ba9c 100644 --- a/clients/client-s3/commands/ListMultipartUploadsCommand.ts +++ b/clients/client-s3/commands/ListMultipartUploadsCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMultipartUploadsCommandInput = ListMultipartUploadsRequest; @@ -72,14 +72,14 @@ export class ListMultipartUploadsCommand extends $Command< private serialize( input: ListMultipartUploadsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListMultipartUploadsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListMultipartUploadsCommand(output, context); } diff --git a/clients/client-s3/commands/ListObjectVersionsCommand.ts b/clients/client-s3/commands/ListObjectVersionsCommand.ts index db4abdef5db1..509a54d5075b 100644 --- a/clients/client-s3/commands/ListObjectVersionsCommand.ts +++ b/clients/client-s3/commands/ListObjectVersionsCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListObjectVersionsCommandInput = ListObjectVersionsRequest; @@ -69,14 +69,14 @@ export class ListObjectVersionsCommand extends $Command< private serialize( input: ListObjectVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListObjectVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListObjectVersionsCommand(output, context); } diff --git a/clients/client-s3/commands/ListObjectsCommand.ts b/clients/client-s3/commands/ListObjectsCommand.ts index 25dfb487d6c4..95396b435fc9 100644 --- a/clients/client-s3/commands/ListObjectsCommand.ts +++ b/clients/client-s3/commands/ListObjectsCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListObjectsCommandInput = ListObjectsRequest; @@ -66,14 +66,14 @@ export class ListObjectsCommand extends $Command< private serialize( input: ListObjectsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListObjectsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListObjectsCommand(output, context); } diff --git a/clients/client-s3/commands/ListObjectsV2Command.ts b/clients/client-s3/commands/ListObjectsV2Command.ts index 1fbae79ebd35..e0968baf2729 100644 --- a/clients/client-s3/commands/ListObjectsV2Command.ts +++ b/clients/client-s3/commands/ListObjectsV2Command.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListObjectsV2CommandInput = ListObjectsV2Request; @@ -66,14 +66,14 @@ export class ListObjectsV2Command extends $Command< private serialize( input: ListObjectsV2CommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListObjectsV2Command(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListObjectsV2Command(output, context); } diff --git a/clients/client-s3/commands/ListPartsCommand.ts b/clients/client-s3/commands/ListPartsCommand.ts index 117739a6ed2f..f5c98c56bf74 100644 --- a/clients/client-s3/commands/ListPartsCommand.ts +++ b/clients/client-s3/commands/ListPartsCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPartsCommandInput = ListPartsRequest; @@ -66,14 +66,14 @@ export class ListPartsCommand extends $Command< private serialize( input: ListPartsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlListPartsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlListPartsCommand(output, context); } diff --git a/clients/client-s3/commands/PutBucketAccelerateConfigurationCommand.ts b/clients/client-s3/commands/PutBucketAccelerateConfigurationCommand.ts index 3cceeac2cb3c..e1e9a3a53396 100644 --- a/clients/client-s3/commands/PutBucketAccelerateConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketAccelerateConfigurationCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketAccelerateConfigurationCommandInput = PutBucketAccelerateConfigurationRequest; @@ -70,7 +70,7 @@ export class PutBucketAccelerateConfigurationCommand extends $Command< private serialize( input: PutBucketAccelerateConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketAccelerateConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutBucketAccelerateConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketAccelerateConfigurationCommand( output, diff --git a/clients/client-s3/commands/PutBucketAclCommand.ts b/clients/client-s3/commands/PutBucketAclCommand.ts index 8ed792dc5136..7d0bbebe50a3 100644 --- a/clients/client-s3/commands/PutBucketAclCommand.ts +++ b/clients/client-s3/commands/PutBucketAclCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketAclCommandInput = PutBucketAclRequest; @@ -67,14 +67,14 @@ export class PutBucketAclCommand extends $Command< private serialize( input: PutBucketAclCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketAclCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketAclCommand(output, context); } diff --git a/clients/client-s3/commands/PutBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/commands/PutBucketAnalyticsConfigurationCommand.ts index 57659187c302..303cd2857d87 100644 --- a/clients/client-s3/commands/PutBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketAnalyticsConfigurationCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketAnalyticsConfigurationCommandInput = PutBucketAnalyticsConfigurationRequest; @@ -70,7 +70,7 @@ export class PutBucketAnalyticsConfigurationCommand extends $Command< private serialize( input: PutBucketAnalyticsConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketAnalyticsConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutBucketAnalyticsConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketAnalyticsConfigurationCommand( output, diff --git a/clients/client-s3/commands/PutBucketCorsCommand.ts b/clients/client-s3/commands/PutBucketCorsCommand.ts index 9d66d9fff873..9c27601d3d0b 100644 --- a/clients/client-s3/commands/PutBucketCorsCommand.ts +++ b/clients/client-s3/commands/PutBucketCorsCommand.ts @@ -21,9 +21,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketCorsCommandInput = PutBucketCorsRequest; @@ -69,14 +69,14 @@ export class PutBucketCorsCommand extends $Command< private serialize( input: PutBucketCorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketCorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketCorsCommand(output, context); } diff --git a/clients/client-s3/commands/PutBucketEncryptionCommand.ts b/clients/client-s3/commands/PutBucketEncryptionCommand.ts index 3023b9b91868..73b0fdc5f02a 100644 --- a/clients/client-s3/commands/PutBucketEncryptionCommand.ts +++ b/clients/client-s3/commands/PutBucketEncryptionCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketEncryptionCommandInput = PutBucketEncryptionRequest; @@ -70,14 +70,14 @@ export class PutBucketEncryptionCommand extends $Command< private serialize( input: PutBucketEncryptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketEncryptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketEncryptionCommand(output, context); } diff --git a/clients/client-s3/commands/PutBucketInventoryConfigurationCommand.ts b/clients/client-s3/commands/PutBucketInventoryConfigurationCommand.ts index 17f522c2730a..5922a2e1e5f8 100644 --- a/clients/client-s3/commands/PutBucketInventoryConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketInventoryConfigurationCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketInventoryConfigurationCommandInput = PutBucketInventoryConfigurationRequest; @@ -70,7 +70,7 @@ export class PutBucketInventoryConfigurationCommand extends $Command< private serialize( input: PutBucketInventoryConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketInventoryConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutBucketInventoryConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketInventoryConfigurationCommand( output, diff --git a/clients/client-s3/commands/PutBucketLifecycleConfigurationCommand.ts b/clients/client-s3/commands/PutBucketLifecycleConfigurationCommand.ts index 5dac1ca521df..e21e9b12d0b9 100644 --- a/clients/client-s3/commands/PutBucketLifecycleConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketLifecycleConfigurationCommand.ts @@ -21,9 +21,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketLifecycleConfigurationCommandInput = PutBucketLifecycleConfigurationRequest; @@ -72,7 +72,7 @@ export class PutBucketLifecycleConfigurationCommand extends $Command< private serialize( input: PutBucketLifecycleConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketLifecycleConfigurationCommand( input, @@ -82,7 +82,7 @@ export class PutBucketLifecycleConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketLifecycleConfigurationCommand( output, diff --git a/clients/client-s3/commands/PutBucketLoggingCommand.ts b/clients/client-s3/commands/PutBucketLoggingCommand.ts index 85511f993e3b..2cad67598cdd 100644 --- a/clients/client-s3/commands/PutBucketLoggingCommand.ts +++ b/clients/client-s3/commands/PutBucketLoggingCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketLoggingCommandInput = PutBucketLoggingRequest; @@ -67,14 +67,14 @@ export class PutBucketLoggingCommand extends $Command< private serialize( input: PutBucketLoggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketLoggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketLoggingCommand(output, context); } diff --git a/clients/client-s3/commands/PutBucketMetricsConfigurationCommand.ts b/clients/client-s3/commands/PutBucketMetricsConfigurationCommand.ts index ef6b86d46411..810f5bfef908 100644 --- a/clients/client-s3/commands/PutBucketMetricsConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketMetricsConfigurationCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketMetricsConfigurationCommandInput = PutBucketMetricsConfigurationRequest; @@ -70,7 +70,7 @@ export class PutBucketMetricsConfigurationCommand extends $Command< private serialize( input: PutBucketMetricsConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketMetricsConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutBucketMetricsConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketMetricsConfigurationCommand( output, diff --git a/clients/client-s3/commands/PutBucketNotificationConfigurationCommand.ts b/clients/client-s3/commands/PutBucketNotificationConfigurationCommand.ts index de4e68924d4f..00df066ccd53 100644 --- a/clients/client-s3/commands/PutBucketNotificationConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketNotificationConfigurationCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketNotificationConfigurationCommandInput = PutBucketNotificationConfigurationRequest; @@ -70,7 +70,7 @@ export class PutBucketNotificationConfigurationCommand extends $Command< private serialize( input: PutBucketNotificationConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketNotificationConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutBucketNotificationConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketNotificationConfigurationCommand( output, diff --git a/clients/client-s3/commands/PutBucketPolicyCommand.ts b/clients/client-s3/commands/PutBucketPolicyCommand.ts index f652be81a6b4..cd946a55d438 100644 --- a/clients/client-s3/commands/PutBucketPolicyCommand.ts +++ b/clients/client-s3/commands/PutBucketPolicyCommand.ts @@ -21,9 +21,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketPolicyCommandInput = PutBucketPolicyRequest; @@ -69,14 +69,14 @@ export class PutBucketPolicyCommand extends $Command< private serialize( input: PutBucketPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketPolicyCommand(output, context); } diff --git a/clients/client-s3/commands/PutBucketReplicationCommand.ts b/clients/client-s3/commands/PutBucketReplicationCommand.ts index 48bbfb8cf803..6e876307aab0 100644 --- a/clients/client-s3/commands/PutBucketReplicationCommand.ts +++ b/clients/client-s3/commands/PutBucketReplicationCommand.ts @@ -21,9 +21,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketReplicationCommandInput = PutBucketReplicationRequest; @@ -72,14 +72,14 @@ export class PutBucketReplicationCommand extends $Command< private serialize( input: PutBucketReplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketReplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketReplicationCommand(output, context); } diff --git a/clients/client-s3/commands/PutBucketRequestPaymentCommand.ts b/clients/client-s3/commands/PutBucketRequestPaymentCommand.ts index e77704804878..9254e031749e 100644 --- a/clients/client-s3/commands/PutBucketRequestPaymentCommand.ts +++ b/clients/client-s3/commands/PutBucketRequestPaymentCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketRequestPaymentCommandInput = PutBucketRequestPaymentRequest; @@ -70,14 +70,14 @@ export class PutBucketRequestPaymentCommand extends $Command< private serialize( input: PutBucketRequestPaymentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketRequestPaymentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketRequestPaymentCommand( output, diff --git a/clients/client-s3/commands/PutBucketTaggingCommand.ts b/clients/client-s3/commands/PutBucketTaggingCommand.ts index be0b49ebb86e..710f834ee810 100644 --- a/clients/client-s3/commands/PutBucketTaggingCommand.ts +++ b/clients/client-s3/commands/PutBucketTaggingCommand.ts @@ -21,9 +21,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketTaggingCommandInput = PutBucketTaggingRequest; @@ -69,14 +69,14 @@ export class PutBucketTaggingCommand extends $Command< private serialize( input: PutBucketTaggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketTaggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketTaggingCommand(output, context); } diff --git a/clients/client-s3/commands/PutBucketVersioningCommand.ts b/clients/client-s3/commands/PutBucketVersioningCommand.ts index 475396d204e5..80b56a7e7341 100644 --- a/clients/client-s3/commands/PutBucketVersioningCommand.ts +++ b/clients/client-s3/commands/PutBucketVersioningCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketVersioningCommandInput = PutBucketVersioningRequest; @@ -70,14 +70,14 @@ export class PutBucketVersioningCommand extends $Command< private serialize( input: PutBucketVersioningCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketVersioningCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketVersioningCommand(output, context); } diff --git a/clients/client-s3/commands/PutBucketWebsiteCommand.ts b/clients/client-s3/commands/PutBucketWebsiteCommand.ts index 563c5fe8ce89..742696fbaa2f 100644 --- a/clients/client-s3/commands/PutBucketWebsiteCommand.ts +++ b/clients/client-s3/commands/PutBucketWebsiteCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutBucketWebsiteCommandInput = PutBucketWebsiteRequest; @@ -67,14 +67,14 @@ export class PutBucketWebsiteCommand extends $Command< private serialize( input: PutBucketWebsiteCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutBucketWebsiteCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutBucketWebsiteCommand(output, context); } diff --git a/clients/client-s3/commands/PutObjectAclCommand.ts b/clients/client-s3/commands/PutObjectAclCommand.ts index 361f790c4a64..7233894ad33c 100644 --- a/clients/client-s3/commands/PutObjectAclCommand.ts +++ b/clients/client-s3/commands/PutObjectAclCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutObjectAclCommandInput = PutObjectAclRequest; @@ -66,14 +66,14 @@ export class PutObjectAclCommand extends $Command< private serialize( input: PutObjectAclCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutObjectAclCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutObjectAclCommand(output, context); } diff --git a/clients/client-s3/commands/PutObjectCommand.ts b/clients/client-s3/commands/PutObjectCommand.ts index 432aac2944ec..7d963bece92e 100644 --- a/clients/client-s3/commands/PutObjectCommand.ts +++ b/clients/client-s3/commands/PutObjectCommand.ts @@ -21,8 +21,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutObjectCommandInput = PutObjectRequest; @@ -68,14 +68,14 @@ export class PutObjectCommand extends $Command< private serialize( input: PutObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutObjectCommand(output, context); } diff --git a/clients/client-s3/commands/PutObjectLegalHoldCommand.ts b/clients/client-s3/commands/PutObjectLegalHoldCommand.ts index 039128d0b4d3..a048a58a58b9 100644 --- a/clients/client-s3/commands/PutObjectLegalHoldCommand.ts +++ b/clients/client-s3/commands/PutObjectLegalHoldCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutObjectLegalHoldCommandInput = PutObjectLegalHoldRequest; @@ -69,14 +69,14 @@ export class PutObjectLegalHoldCommand extends $Command< private serialize( input: PutObjectLegalHoldCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutObjectLegalHoldCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutObjectLegalHoldCommand(output, context); } diff --git a/clients/client-s3/commands/PutObjectLockConfigurationCommand.ts b/clients/client-s3/commands/PutObjectLockConfigurationCommand.ts index 6190477658fa..1b59f5c69756 100644 --- a/clients/client-s3/commands/PutObjectLockConfigurationCommand.ts +++ b/clients/client-s3/commands/PutObjectLockConfigurationCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutObjectLockConfigurationCommandInput = PutObjectLockConfigurationRequest; @@ -72,7 +72,7 @@ export class PutObjectLockConfigurationCommand extends $Command< private serialize( input: PutObjectLockConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutObjectLockConfigurationCommand( input, @@ -82,7 +82,7 @@ export class PutObjectLockConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutObjectLockConfigurationCommand( output, diff --git a/clients/client-s3/commands/PutObjectRetentionCommand.ts b/clients/client-s3/commands/PutObjectRetentionCommand.ts index 3d94e460022e..efe682730677 100644 --- a/clients/client-s3/commands/PutObjectRetentionCommand.ts +++ b/clients/client-s3/commands/PutObjectRetentionCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutObjectRetentionCommandInput = PutObjectRetentionRequest; @@ -69,14 +69,14 @@ export class PutObjectRetentionCommand extends $Command< private serialize( input: PutObjectRetentionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutObjectRetentionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutObjectRetentionCommand(output, context); } diff --git a/clients/client-s3/commands/PutObjectTaggingCommand.ts b/clients/client-s3/commands/PutObjectTaggingCommand.ts index b1f255006a52..51caf81f85fb 100644 --- a/clients/client-s3/commands/PutObjectTaggingCommand.ts +++ b/clients/client-s3/commands/PutObjectTaggingCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutObjectTaggingCommandInput = PutObjectTaggingRequest; @@ -69,14 +69,14 @@ export class PutObjectTaggingCommand extends $Command< private serialize( input: PutObjectTaggingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutObjectTaggingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutObjectTaggingCommand(output, context); } diff --git a/clients/client-s3/commands/PutPublicAccessBlockCommand.ts b/clients/client-s3/commands/PutPublicAccessBlockCommand.ts index 619e8243b4ed..8668c53577bf 100644 --- a/clients/client-s3/commands/PutPublicAccessBlockCommand.ts +++ b/clients/client-s3/commands/PutPublicAccessBlockCommand.ts @@ -20,9 +20,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutPublicAccessBlockCommandInput = PutPublicAccessBlockRequest; @@ -70,14 +70,14 @@ export class PutPublicAccessBlockCommand extends $Command< private serialize( input: PutPublicAccessBlockCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlPutPublicAccessBlockCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlPutPublicAccessBlockCommand(output, context); } diff --git a/clients/client-s3/commands/RestoreObjectCommand.ts b/clients/client-s3/commands/RestoreObjectCommand.ts index 8c087409d3ae..7eeaa09bb43c 100644 --- a/clients/client-s3/commands/RestoreObjectCommand.ts +++ b/clients/client-s3/commands/RestoreObjectCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreObjectCommandInput = RestoreObjectRequest; @@ -66,14 +66,14 @@ export class RestoreObjectCommand extends $Command< private serialize( input: RestoreObjectCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlRestoreObjectCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlRestoreObjectCommand(output, context); } diff --git a/clients/client-s3/commands/SelectObjectContentCommand.ts b/clients/client-s3/commands/SelectObjectContentCommand.ts index 4123774b06dc..e1c5def81c09 100644 --- a/clients/client-s3/commands/SelectObjectContentCommand.ts +++ b/clients/client-s3/commands/SelectObjectContentCommand.ts @@ -24,8 +24,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + EventStreamSerdeContext as __EventStreamSerdeContext, + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SelectObjectContentCommandInput = SelectObjectContentRequest; @@ -74,14 +75,14 @@ export class SelectObjectContentCommand extends $Command< private serialize( input: SelectObjectContentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlSelectObjectContentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext & __EventStreamSerdeContext ): Promise { return deserializeAws_restXmlSelectObjectContentCommand(output, context); } diff --git a/clients/client-s3/commands/UploadPartCommand.ts b/clients/client-s3/commands/UploadPartCommand.ts index 567713cb04dd..6dc463933dd3 100644 --- a/clients/client-s3/commands/UploadPartCommand.ts +++ b/clients/client-s3/commands/UploadPartCommand.ts @@ -21,8 +21,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UploadPartCommandInput = UploadPartRequest; @@ -68,14 +68,14 @@ export class UploadPartCommand extends $Command< private serialize( input: UploadPartCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUploadPartCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUploadPartCommand(output, context); } diff --git a/clients/client-s3/commands/UploadPartCopyCommand.ts b/clients/client-s3/commands/UploadPartCopyCommand.ts index c540b73a71c7..44e463773bd4 100644 --- a/clients/client-s3/commands/UploadPartCopyCommand.ts +++ b/clients/client-s3/commands/UploadPartCopyCommand.ts @@ -21,8 +21,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UploadPartCopyCommandInput = UploadPartCopyRequest; @@ -68,14 +68,14 @@ export class UploadPartCopyCommand extends $Command< private serialize( input: UploadPartCopyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restXmlUploadPartCopyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restXmlUploadPartCopyCommand(output, context); } diff --git a/clients/client-s3/models/index.ts b/clients/client-s3/models/index.ts index e5f92e4f79c8..c3c108f4c756 100644 --- a/clients/client-s3/models/index.ts +++ b/clients/client-s3/models/index.ts @@ -9424,7 +9424,7 @@ export interface SelectObjectContentOutput extends $MetadataBearer { /** *

The array of results.

*/ - Payload?: SelectObjectContentEventStream; + Payload?: AsyncIterable; } export namespace SelectObjectContentOutput { diff --git a/clients/client-s3/package.json b/clients/client-s3/package.json index 6e3a34286917..8801917e902e 100644 --- a/clients/client-s3/package.json +++ b/clients/client-s3/package.json @@ -31,6 +31,9 @@ "@aws-crypto/sha256-browser": "^1.0.0-alpha.0", "@aws-sdk/config-resolver": "^1.0.0-alpha.11", "@aws-sdk/credential-provider-node": "^1.0.0-alpha.5", + "@aws-sdk/eventstream-serde-browser": "^1.0.0-alpha.0", + "@aws-sdk/eventstream-serde-config-resolver": "^1.0.0-alpha.0", + "@aws-sdk/eventstream-serde-node": "^1.0.0-alpha.0", "@aws-sdk/fetch-http-handler": "^1.0.0-alpha.7", "@aws-sdk/hash-blob-browser": "^1.0.0-alpha.7", "@aws-sdk/hash-node": "^1.0.0-alpha.4", diff --git a/clients/client-s3/protocols/Aws_restXml.ts b/clients/client-s3/protocols/Aws_restXml.ts index 23691883b357..56680d4c1fc4 100644 --- a/clients/client-s3/protocols/Aws_restXml.ts +++ b/clients/client-s3/protocols/Aws_restXml.ts @@ -422,7 +422,6 @@ import { ParquetInput, Part, PolicyStatus, - Progress, ProgressEvent, PublicAccessBlockConfiguration, QueueConfiguration, @@ -451,7 +450,6 @@ import { ServerSideEncryptionRule, SourceSelectionCriteria, SseKmsEncryptedObjects, - Stats, StatsEvent, StorageClassAnalysis, StorageClassAnalysisDataExport, @@ -475,6 +473,7 @@ import { } from "@aws-sdk/smithy-client"; import { Endpoint as __Endpoint, + EventStreamSerdeContext as __EventStreamSerdeContext, MetadataBearer as __MetadataBearer, ResponseMetadata as __ResponseMetadata, SerdeContext as __SerdeContext @@ -9807,7 +9806,7 @@ async function deserializeAws_restXmlRestoreObjectCommandError( export async function deserializeAws_restXmlSelectObjectContentCommand( output: __HttpResponse, - context: __SerdeContext + context: __SerdeContext & __EventStreamSerdeContext ): Promise { if (output.statusCode !== 200 && output.statusCode >= 400) { return deserializeAws_restXmlSelectObjectContentCommandError( @@ -9820,11 +9819,31 @@ export async function deserializeAws_restXmlSelectObjectContentCommand( __type: "SelectObjectContentOutput", Payload: undefined }; - const data: any = await parseBody(output.body, context); - contents.Payload = deserializeAws_restXmlSelectObjectContentEventStream( - data, - context + const data: any = context.eventStreamMarshaller.deserialize( + output.body, + async event => { + const eventName = Object.keys(event)[0]; + const eventHeaders = Object.entries(event[eventName].headers).reduce( + (accummulator, curr) => { + accummulator[curr[0]] = curr[1].value; + return accummulator; + }, + {} as { [key: string]: any } + ); + const eventMessage = { + headers: eventHeaders, + body: event[eventName].body + }; + const parsedEvent = { + [eventName]: eventMessage + }; + return await deserializeAws_restXmlSelectObjectContentEventStream_event( + parsedEvent, + context + ); + } ); + contents.Payload = data; return Promise.resolve(contents); } @@ -10020,6 +10039,93 @@ async function deserializeAws_restXmlUploadPartCopyCommandError( return Promise.reject(Object.assign(new Error(message), response)); } +const deserializeAws_restXmlSelectObjectContentEventStream_event = async ( + output: any, + context: __SerdeContext +): Promise => { + if (output["Cont"] !== undefined) { + return { + Cont: await deserializeAws_restXmlContinuationEvent_event( + output["Cont"], + context + ) + }; + } + if (output["End"] !== undefined) { + return { + End: await deserializeAws_restXmlEndEvent_event(output["End"], context) + }; + } + if (output["Progress"] !== undefined) { + return { + Progress: await deserializeAws_restXmlProgressEvent_event( + output["Progress"], + context + ) + }; + } + if (output["Records"] !== undefined) { + return { + Records: await deserializeAws_restXmlRecordsEvent_event( + output["Records"], + context + ) + }; + } + if (output["Stats"] !== undefined) { + return { + Stats: await deserializeAws_restXmlStatsEvent_event( + output["Stats"], + context + ) + }; + } + return { $unknown: output }; +}; +const deserializeAws_restXmlContinuationEvent_event = async ( + output: any, + context: __SerdeContext +): Promise => { + let contents: ContinuationEvent = {} as any; + return contents; +}; +const deserializeAws_restXmlEndEvent_event = async ( + output: any, + context: __SerdeContext +): Promise => { + let contents: EndEvent = {} as any; + return contents; +}; +const deserializeAws_restXmlProgressEvent_event = async ( + output: any, + context: __SerdeContext +): Promise => { + let contents: ProgressEvent = { + __type: "ProgressEvent" + } as any; + contents.Details = await parseBody(output.body, context); + return contents; +}; +const deserializeAws_restXmlRecordsEvent_event = async ( + output: any, + context: __SerdeContext +): Promise => { + let contents: RecordsEvent = { + __type: "RecordsEvent" + } as any; + contents.Payload = output.body; + return contents; +}; +const deserializeAws_restXmlStatsEvent_event = async ( + output: any, + context: __SerdeContext +): Promise => { + let contents: StatsEvent = { + __type: "StatsEvent" + } as any; + contents.Details = await parseBody(output.body, context); + return contents; +}; const deserializeAws_restXmlBucketAlreadyExistsResponse = async ( parsedOutput: any, context: __SerdeContext @@ -13043,16 +13149,6 @@ const deserializeAws_restXmlCondition = ( return contents; }; -const deserializeAws_restXmlContinuationEvent = ( - output: any, - context: __SerdeContext -): ContinuationEvent => { - let contents: any = { - __type: "ContinuationEvent" - }; - return contents; -}; - const deserializeAws_restXmlCopyObjectResult = ( output: any, context: __SerdeContext @@ -13263,16 +13359,6 @@ const deserializeAws_restXmlEncryptionConfiguration = ( return contents; }; -const deserializeAws_restXmlEndEvent = ( - output: any, - context: __SerdeContext -): EndEvent => { - let contents: any = { - __type: "EndEvent" - }; - return contents; -}; - const deserializeAws_restXml_Error = ( output: any, context: __SerdeContext @@ -14315,45 +14401,6 @@ const deserializeAws_restXmlPolicyStatus = ( return contents; }; -const deserializeAws_restXmlProgress = ( - output: any, - context: __SerdeContext -): Progress => { - let contents: any = { - __type: "Progress", - BytesProcessed: undefined, - BytesReturned: undefined, - BytesScanned: undefined - }; - if (output["BytesProcessed"] !== undefined) { - contents.BytesProcessed = parseInt(output["BytesProcessed"]); - } - if (output["BytesReturned"] !== undefined) { - contents.BytesReturned = parseInt(output["BytesReturned"]); - } - if (output["BytesScanned"] !== undefined) { - contents.BytesScanned = parseInt(output["BytesScanned"]); - } - return contents; -}; - -const deserializeAws_restXmlProgressEvent = ( - output: any, - context: __SerdeContext -): ProgressEvent => { - let contents: any = { - __type: "ProgressEvent", - Details: undefined - }; - if (output["Details"] !== undefined) { - contents.Details = deserializeAws_restXmlProgress( - output["Details"], - context - ); - } - return contents; -}; - const deserializeAws_restXmlPublicAccessBlockConfiguration = ( output: any, context: __SerdeContext @@ -14424,20 +14471,6 @@ const deserializeAws_restXmlQueueConfigurationList = ( ); }; -const deserializeAws_restXmlRecordsEvent = ( - output: any, - context: __SerdeContext -): RecordsEvent => { - let contents: any = { - __type: "RecordsEvent", - Payload: undefined - }; - if (output["Payload"] !== undefined) { - contents.Payload = context.base64Decoder(output["Payload"]); - } - return contents; -}; - const deserializeAws_restXmlRedirect = ( output: any, context: __SerdeContext @@ -14749,39 +14782,6 @@ const deserializeAws_restXmlSSES3 = ( return contents; }; -const deserializeAws_restXmlSelectObjectContentEventStream = ( - output: any, - context: __SerdeContext -): SelectObjectContentEventStream => { - if (output["Cont"] !== undefined) { - return { - Cont: deserializeAws_restXmlContinuationEvent(output["Cont"], context) - }; - } - if (output["End"] !== undefined) { - return { - End: deserializeAws_restXmlEndEvent(output["End"], context) - }; - } - if (output["Progress"] !== undefined) { - return { - Progress: deserializeAws_restXmlProgressEvent(output["Progress"], context) - }; - } - if (output["Records"] !== undefined) { - return { - Records: deserializeAws_restXmlRecordsEvent(output["Records"], context) - }; - } - if (output["Stats"] !== undefined) { - return { - Stats: deserializeAws_restXmlStatsEvent(output["Stats"], context) - }; - } - const key = Object.keys(output)[0]; - return { $unknown: [key, output[key]] }; -}; - const deserializeAws_restXmlServerSideEncryptionByDefault = ( output: any, context: __SerdeContext @@ -14880,42 +14880,6 @@ const deserializeAws_restXmlSseKmsEncryptedObjects = ( return contents; }; -const deserializeAws_restXmlStats = ( - output: any, - context: __SerdeContext -): Stats => { - let contents: any = { - __type: "Stats", - BytesProcessed: undefined, - BytesReturned: undefined, - BytesScanned: undefined - }; - if (output["BytesProcessed"] !== undefined) { - contents.BytesProcessed = parseInt(output["BytesProcessed"]); - } - if (output["BytesReturned"] !== undefined) { - contents.BytesReturned = parseInt(output["BytesReturned"]); - } - if (output["BytesScanned"] !== undefined) { - contents.BytesScanned = parseInt(output["BytesScanned"]); - } - return contents; -}; - -const deserializeAws_restXmlStatsEvent = ( - output: any, - context: __SerdeContext -): StatsEvent => { - let contents: any = { - __type: "StatsEvent", - Details: undefined - }; - if (output["Details"] !== undefined) { - contents.Details = deserializeAws_restXmlStats(output["Details"], context); - } - return contents; -}; - const deserializeAws_restXmlStorageClassAnalysis = ( output: any, context: __SerdeContext @@ -15097,6 +15061,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-s3/runtimeConfig.browser.ts b/clients/client-s3/runtimeConfig.browser.ts index 016ce502240d..12095002b09d 100644 --- a/clients/client-s3/runtimeConfig.browser.ts +++ b/clients/client-s3/runtimeConfig.browser.ts @@ -1,3 +1,4 @@ +import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-browser"; import { blobHasher as streamHasher } from "@aws-sdk/hash-blob-browser"; import { invalidFunction } from "@aws-sdk/invalid-dependency"; import { Md5 } from "@aws-sdk/md5-js"; @@ -29,5 +30,6 @@ export const ClientDefaultValues: Required = { credentialDefaultProvider: invalidFunction("Credential is missing") as any, regionDefaultProvider: invalidFunction("Region is missing") as any, md5: Md5, - streamHasher + streamHasher, + eventStreamSerdeProvider }; diff --git a/clients/client-s3/runtimeConfig.rn.ts b/clients/client-s3/runtimeConfig.rn.ts index a4ed9a59f844..7419cd9fe8f5 100644 --- a/clients/client-s3/runtimeConfig.rn.ts +++ b/clients/client-s3/runtimeConfig.rn.ts @@ -1,3 +1,4 @@ +import { invalidFunction } from "@aws-sdk/invalid-dependency"; import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler"; import { streamCollector } from "@aws-sdk/stream-collector-rn"; import { parseUrl } from "@aws-sdk/url-parser-node"; @@ -11,5 +12,8 @@ export const ClientDefaultValues: Required = { streamCollector, urlParser: parseUrl, defaultUserAgent: `aws-sdk-js-v3-react-native-${name}/${version}`, - runtime: "react-native" + runtime: "react-native", + eventStreamSerdeProvider: invalidFunction( + "event stream is not supported in ReactNative" + ) as any }; diff --git a/clients/client-s3/runtimeConfig.ts b/clients/client-s3/runtimeConfig.ts index 88174a67fcfc..2a6d693801cb 100644 --- a/clients/client-s3/runtimeConfig.ts +++ b/clients/client-s3/runtimeConfig.ts @@ -1,4 +1,5 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; +import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-node"; import { fileStreamHasher as streamHasher } from "@aws-sdk/hash-stream-node"; import { defaultProvider as regionDefaultProvider } from "@aws-sdk/region-provider"; import { HashConstructor as __HashConstructor } from "@aws-sdk/types"; @@ -30,5 +31,6 @@ export const ClientDefaultValues: Required = { credentialDefaultProvider, regionDefaultProvider, md5: Hash.bind(null, "md5"), - streamHasher + streamHasher, + eventStreamSerdeProvider }; diff --git a/clients/client-sagemaker-a2i-runtime/commands/DeleteHumanLoopCommand.ts b/clients/client-sagemaker-a2i-runtime/commands/DeleteHumanLoopCommand.ts index 892abcbd19f3..5449be4ecbbd 100644 --- a/clients/client-sagemaker-a2i-runtime/commands/DeleteHumanLoopCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/commands/DeleteHumanLoopCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteHumanLoopCommandInput = DeleteHumanLoopRequest; @@ -67,14 +67,14 @@ export class DeleteHumanLoopCommand extends $Command< private serialize( input: DeleteHumanLoopCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteHumanLoopCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteHumanLoopCommand(output, context); } diff --git a/clients/client-sagemaker-a2i-runtime/commands/DescribeHumanLoopCommand.ts b/clients/client-sagemaker-a2i-runtime/commands/DescribeHumanLoopCommand.ts index 010736dd3378..8b5a1536eade 100644 --- a/clients/client-sagemaker-a2i-runtime/commands/DescribeHumanLoopCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/commands/DescribeHumanLoopCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHumanLoopCommandInput = DescribeHumanLoopRequest; @@ -67,14 +67,14 @@ export class DescribeHumanLoopCommand extends $Command< private serialize( input: DescribeHumanLoopCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeHumanLoopCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeHumanLoopCommand(output, context); } diff --git a/clients/client-sagemaker-a2i-runtime/commands/ListHumanLoopsCommand.ts b/clients/client-sagemaker-a2i-runtime/commands/ListHumanLoopsCommand.ts index b007bce3d47e..683fe618a2e7 100644 --- a/clients/client-sagemaker-a2i-runtime/commands/ListHumanLoopsCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/commands/ListHumanLoopsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHumanLoopsCommandInput = ListHumanLoopsRequest; @@ -64,14 +64,14 @@ export class ListHumanLoopsCommand extends $Command< private serialize( input: ListHumanLoopsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListHumanLoopsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListHumanLoopsCommand(output, context); } diff --git a/clients/client-sagemaker-a2i-runtime/commands/StartHumanLoopCommand.ts b/clients/client-sagemaker-a2i-runtime/commands/StartHumanLoopCommand.ts index 21ef062acf18..d53bed32ee1b 100644 --- a/clients/client-sagemaker-a2i-runtime/commands/StartHumanLoopCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/commands/StartHumanLoopCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartHumanLoopCommandInput = StartHumanLoopRequest; @@ -64,14 +64,14 @@ export class StartHumanLoopCommand extends $Command< private serialize( input: StartHumanLoopCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartHumanLoopCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartHumanLoopCommand(output, context); } diff --git a/clients/client-sagemaker-a2i-runtime/commands/StopHumanLoopCommand.ts b/clients/client-sagemaker-a2i-runtime/commands/StopHumanLoopCommand.ts index 3e3210dc495a..d60420b7939c 100644 --- a/clients/client-sagemaker-a2i-runtime/commands/StopHumanLoopCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/commands/StopHumanLoopCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopHumanLoopCommandInput = StopHumanLoopRequest; @@ -64,14 +64,14 @@ export class StopHumanLoopCommand extends $Command< private serialize( input: StopHumanLoopCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopHumanLoopCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopHumanLoopCommand(output, context); } diff --git a/clients/client-sagemaker-a2i-runtime/protocols/Aws_restJson1_1.ts b/clients/client-sagemaker-a2i-runtime/protocols/Aws_restJson1_1.ts index e4252a8a30c8..e1461a630904 100644 --- a/clients/client-sagemaker-a2i-runtime/protocols/Aws_restJson1_1.ts +++ b/clients/client-sagemaker-a2i-runtime/protocols/Aws_restJson1_1.ts @@ -887,6 +887,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-sagemaker-runtime/commands/InvokeEndpointCommand.ts b/clients/client-sagemaker-runtime/commands/InvokeEndpointCommand.ts index 138e290a9d93..84969ef071e6 100644 --- a/clients/client-sagemaker-runtime/commands/InvokeEndpointCommand.ts +++ b/clients/client-sagemaker-runtime/commands/InvokeEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InvokeEndpointCommandInput = InvokeEndpointInput; @@ -64,14 +64,14 @@ export class InvokeEndpointCommand extends $Command< private serialize( input: InvokeEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InvokeEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InvokeEndpointCommand(output, context); } diff --git a/clients/client-sagemaker-runtime/protocols/Aws_restJson1_1.ts b/clients/client-sagemaker-runtime/protocols/Aws_restJson1_1.ts index 445476b56a9c..e44bcf1cc3af 100644 --- a/clients/client-sagemaker-runtime/protocols/Aws_restJson1_1.ts +++ b/clients/client-sagemaker-runtime/protocols/Aws_restJson1_1.ts @@ -253,6 +253,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-sagemaker/commands/AddTagsCommand.ts b/clients/client-sagemaker/commands/AddTagsCommand.ts index 43f919c0786f..c6e73e93a7e5 100644 --- a/clients/client-sagemaker/commands/AddTagsCommand.ts +++ b/clients/client-sagemaker/commands/AddTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsCommandInput = AddTagsInput; @@ -64,14 +64,14 @@ export class AddTagsCommand extends $Command< private serialize( input: AddTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/AssociateTrialComponentCommand.ts b/clients/client-sagemaker/commands/AssociateTrialComponentCommand.ts index 746fabad8ae3..d90507fb1492 100644 --- a/clients/client-sagemaker/commands/AssociateTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/AssociateTrialComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateTrialComponentCommandInput = AssociateTrialComponentRequest; @@ -70,14 +70,14 @@ export class AssociateTrialComponentCommand extends $Command< private serialize( input: AssociateTrialComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateTrialComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateTrialComponentCommand( output, diff --git a/clients/client-sagemaker/commands/CreateAlgorithmCommand.ts b/clients/client-sagemaker/commands/CreateAlgorithmCommand.ts index e6983ba6b5ac..92bf6c2f3e91 100644 --- a/clients/client-sagemaker/commands/CreateAlgorithmCommand.ts +++ b/clients/client-sagemaker/commands/CreateAlgorithmCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAlgorithmCommandInput = CreateAlgorithmInput; @@ -64,14 +64,14 @@ export class CreateAlgorithmCommand extends $Command< private serialize( input: CreateAlgorithmCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAlgorithmCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAlgorithmCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateAppCommand.ts b/clients/client-sagemaker/commands/CreateAppCommand.ts index 6738350f3716..d6be9d174d3d 100644 --- a/clients/client-sagemaker/commands/CreateAppCommand.ts +++ b/clients/client-sagemaker/commands/CreateAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAppCommandInput = CreateAppRequest; @@ -64,14 +64,14 @@ export class CreateAppCommand extends $Command< private serialize( input: CreateAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAppCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateAutoMLJobCommand.ts b/clients/client-sagemaker/commands/CreateAutoMLJobCommand.ts index cff73ee66ac5..64f4bca59c1a 100644 --- a/clients/client-sagemaker/commands/CreateAutoMLJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateAutoMLJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAutoMLJobCommandInput = CreateAutoMLJobRequest; @@ -67,14 +67,14 @@ export class CreateAutoMLJobCommand extends $Command< private serialize( input: CreateAutoMLJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAutoMLJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAutoMLJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateCodeRepositoryCommand.ts b/clients/client-sagemaker/commands/CreateCodeRepositoryCommand.ts index 15761d43f2e1..6fedcab78624 100644 --- a/clients/client-sagemaker/commands/CreateCodeRepositoryCommand.ts +++ b/clients/client-sagemaker/commands/CreateCodeRepositoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCodeRepositoryCommandInput = CreateCodeRepositoryInput; @@ -70,14 +70,14 @@ export class CreateCodeRepositoryCommand extends $Command< private serialize( input: CreateCodeRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCodeRepositoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCodeRepositoryCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateCompilationJobCommand.ts b/clients/client-sagemaker/commands/CreateCompilationJobCommand.ts index 93a3ee76b80e..9ae30a950d17 100644 --- a/clients/client-sagemaker/commands/CreateCompilationJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateCompilationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCompilationJobCommandInput = CreateCompilationJobRequest; @@ -70,14 +70,14 @@ export class CreateCompilationJobCommand extends $Command< private serialize( input: CreateCompilationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCompilationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCompilationJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateDomainCommand.ts b/clients/client-sagemaker/commands/CreateDomainCommand.ts index e81b2dfa3ba9..8e2bb5da6419 100644 --- a/clients/client-sagemaker/commands/CreateDomainCommand.ts +++ b/clients/client-sagemaker/commands/CreateDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDomainCommandInput = CreateDomainRequest; @@ -64,14 +64,14 @@ export class CreateDomainCommand extends $Command< private serialize( input: CreateDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDomainCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateEndpointCommand.ts b/clients/client-sagemaker/commands/CreateEndpointCommand.ts index 4e249f67c043..29098b91ef4e 100644 --- a/clients/client-sagemaker/commands/CreateEndpointCommand.ts +++ b/clients/client-sagemaker/commands/CreateEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEndpointCommandInput = CreateEndpointInput; @@ -64,14 +64,14 @@ export class CreateEndpointCommand extends $Command< private serialize( input: CreateEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEndpointCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateEndpointConfigCommand.ts b/clients/client-sagemaker/commands/CreateEndpointConfigCommand.ts index a25deef1470f..63a885332b87 100644 --- a/clients/client-sagemaker/commands/CreateEndpointConfigCommand.ts +++ b/clients/client-sagemaker/commands/CreateEndpointConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEndpointConfigCommandInput = CreateEndpointConfigInput; @@ -70,14 +70,14 @@ export class CreateEndpointConfigCommand extends $Command< private serialize( input: CreateEndpointConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateEndpointConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateEndpointConfigCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateExperimentCommand.ts b/clients/client-sagemaker/commands/CreateExperimentCommand.ts index 83752e0832ba..1a87e5812f8c 100644 --- a/clients/client-sagemaker/commands/CreateExperimentCommand.ts +++ b/clients/client-sagemaker/commands/CreateExperimentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateExperimentCommandInput = CreateExperimentRequest; @@ -67,14 +67,14 @@ export class CreateExperimentCommand extends $Command< private serialize( input: CreateExperimentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateExperimentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateExperimentCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateFlowDefinitionCommand.ts b/clients/client-sagemaker/commands/CreateFlowDefinitionCommand.ts index 59ae22b17fa7..a1fd0f3771e2 100644 --- a/clients/client-sagemaker/commands/CreateFlowDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/CreateFlowDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFlowDefinitionCommandInput = CreateFlowDefinitionRequest; @@ -70,14 +70,14 @@ export class CreateFlowDefinitionCommand extends $Command< private serialize( input: CreateFlowDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateFlowDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateFlowDefinitionCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateHumanTaskUiCommand.ts b/clients/client-sagemaker/commands/CreateHumanTaskUiCommand.ts index 6f0772315e52..73b0ee758129 100644 --- a/clients/client-sagemaker/commands/CreateHumanTaskUiCommand.ts +++ b/clients/client-sagemaker/commands/CreateHumanTaskUiCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHumanTaskUiCommandInput = CreateHumanTaskUiRequest; @@ -67,14 +67,14 @@ export class CreateHumanTaskUiCommand extends $Command< private serialize( input: CreateHumanTaskUiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateHumanTaskUiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateHumanTaskUiCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateHyperParameterTuningJobCommand.ts b/clients/client-sagemaker/commands/CreateHyperParameterTuningJobCommand.ts index aaf4165fbe2e..bf3328bc24cd 100644 --- a/clients/client-sagemaker/commands/CreateHyperParameterTuningJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateHyperParameterTuningJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHyperParameterTuningJobCommandInput = CreateHyperParameterTuningJobRequest; @@ -70,7 +70,7 @@ export class CreateHyperParameterTuningJobCommand extends $Command< private serialize( input: CreateHyperParameterTuningJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateHyperParameterTuningJobCommand( input, @@ -80,7 +80,7 @@ export class CreateHyperParameterTuningJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateHyperParameterTuningJobCommand( output, diff --git a/clients/client-sagemaker/commands/CreateLabelingJobCommand.ts b/clients/client-sagemaker/commands/CreateLabelingJobCommand.ts index c43781eefd4c..0c3c2009418a 100644 --- a/clients/client-sagemaker/commands/CreateLabelingJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateLabelingJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLabelingJobCommandInput = CreateLabelingJobRequest; @@ -67,14 +67,14 @@ export class CreateLabelingJobCommand extends $Command< private serialize( input: CreateLabelingJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateLabelingJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateLabelingJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateModelCommand.ts b/clients/client-sagemaker/commands/CreateModelCommand.ts index 61f204474751..2c6e24c19c34 100644 --- a/clients/client-sagemaker/commands/CreateModelCommand.ts +++ b/clients/client-sagemaker/commands/CreateModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateModelCommandInput = CreateModelInput; @@ -64,14 +64,14 @@ export class CreateModelCommand extends $Command< private serialize( input: CreateModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateModelCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateModelPackageCommand.ts b/clients/client-sagemaker/commands/CreateModelPackageCommand.ts index 5512fe0e9e4a..7ece965edc5f 100644 --- a/clients/client-sagemaker/commands/CreateModelPackageCommand.ts +++ b/clients/client-sagemaker/commands/CreateModelPackageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateModelPackageCommandInput = CreateModelPackageInput; @@ -67,14 +67,14 @@ export class CreateModelPackageCommand extends $Command< private serialize( input: CreateModelPackageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateModelPackageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateModelPackageCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/CreateMonitoringScheduleCommand.ts index eee2b9ddb719..a69bc8768345 100644 --- a/clients/client-sagemaker/commands/CreateMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/CreateMonitoringScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMonitoringScheduleCommandInput = CreateMonitoringScheduleRequest; @@ -70,14 +70,14 @@ export class CreateMonitoringScheduleCommand extends $Command< private serialize( input: CreateMonitoringScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateMonitoringScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateMonitoringScheduleCommand( output, diff --git a/clients/client-sagemaker/commands/CreateNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/CreateNotebookInstanceCommand.ts index 786539f6a06e..1a36adfd1cea 100644 --- a/clients/client-sagemaker/commands/CreateNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/CreateNotebookInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNotebookInstanceCommandInput = CreateNotebookInstanceInput; @@ -70,14 +70,14 @@ export class CreateNotebookInstanceCommand extends $Command< private serialize( input: CreateNotebookInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateNotebookInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateNotebookInstanceCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateNotebookInstanceLifecycleConfigCommand.ts b/clients/client-sagemaker/commands/CreateNotebookInstanceLifecycleConfigCommand.ts index 4da5b3e8a7eb..ba2d9d681a13 100644 --- a/clients/client-sagemaker/commands/CreateNotebookInstanceLifecycleConfigCommand.ts +++ b/clients/client-sagemaker/commands/CreateNotebookInstanceLifecycleConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNotebookInstanceLifecycleConfigCommandInput = CreateNotebookInstanceLifecycleConfigInput; @@ -72,7 +72,7 @@ export class CreateNotebookInstanceLifecycleConfigCommand extends $Command< private serialize( input: CreateNotebookInstanceLifecycleConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateNotebookInstanceLifecycleConfigCommand( input, @@ -82,7 +82,7 @@ export class CreateNotebookInstanceLifecycleConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateNotebookInstanceLifecycleConfigCommand( output, diff --git a/clients/client-sagemaker/commands/CreatePresignedDomainUrlCommand.ts b/clients/client-sagemaker/commands/CreatePresignedDomainUrlCommand.ts index 1de1d2857288..4bc1d539d3a3 100644 --- a/clients/client-sagemaker/commands/CreatePresignedDomainUrlCommand.ts +++ b/clients/client-sagemaker/commands/CreatePresignedDomainUrlCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePresignedDomainUrlCommandInput = CreatePresignedDomainUrlRequest; @@ -70,14 +70,14 @@ export class CreatePresignedDomainUrlCommand extends $Command< private serialize( input: CreatePresignedDomainUrlCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePresignedDomainUrlCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePresignedDomainUrlCommand( output, diff --git a/clients/client-sagemaker/commands/CreatePresignedNotebookInstanceUrlCommand.ts b/clients/client-sagemaker/commands/CreatePresignedNotebookInstanceUrlCommand.ts index 81589cd67ed9..67acbbd7fece 100644 --- a/clients/client-sagemaker/commands/CreatePresignedNotebookInstanceUrlCommand.ts +++ b/clients/client-sagemaker/commands/CreatePresignedNotebookInstanceUrlCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePresignedNotebookInstanceUrlCommandInput = CreatePresignedNotebookInstanceUrlInput; @@ -70,7 +70,7 @@ export class CreatePresignedNotebookInstanceUrlCommand extends $Command< private serialize( input: CreatePresignedNotebookInstanceUrlCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePresignedNotebookInstanceUrlCommand( input, @@ -80,7 +80,7 @@ export class CreatePresignedNotebookInstanceUrlCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePresignedNotebookInstanceUrlCommand( output, diff --git a/clients/client-sagemaker/commands/CreateProcessingJobCommand.ts b/clients/client-sagemaker/commands/CreateProcessingJobCommand.ts index 0b4811e8331c..211022c6e951 100644 --- a/clients/client-sagemaker/commands/CreateProcessingJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateProcessingJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProcessingJobCommandInput = CreateProcessingJobRequest; @@ -70,14 +70,14 @@ export class CreateProcessingJobCommand extends $Command< private serialize( input: CreateProcessingJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProcessingJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProcessingJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateTrainingJobCommand.ts b/clients/client-sagemaker/commands/CreateTrainingJobCommand.ts index 21b19fd6bf20..07af95ac17dd 100644 --- a/clients/client-sagemaker/commands/CreateTrainingJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateTrainingJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrainingJobCommandInput = CreateTrainingJobRequest; @@ -67,14 +67,14 @@ export class CreateTrainingJobCommand extends $Command< private serialize( input: CreateTrainingJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTrainingJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTrainingJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateTransformJobCommand.ts b/clients/client-sagemaker/commands/CreateTransformJobCommand.ts index 0fcc986d8e73..56bf65aec416 100644 --- a/clients/client-sagemaker/commands/CreateTransformJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateTransformJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTransformJobCommandInput = CreateTransformJobRequest; @@ -67,14 +67,14 @@ export class CreateTransformJobCommand extends $Command< private serialize( input: CreateTransformJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTransformJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTransformJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateTrialCommand.ts b/clients/client-sagemaker/commands/CreateTrialCommand.ts index 17e4ab474028..9c5fffed7515 100644 --- a/clients/client-sagemaker/commands/CreateTrialCommand.ts +++ b/clients/client-sagemaker/commands/CreateTrialCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrialCommandInput = CreateTrialRequest; @@ -64,14 +64,14 @@ export class CreateTrialCommand extends $Command< private serialize( input: CreateTrialCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTrialCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTrialCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateTrialComponentCommand.ts b/clients/client-sagemaker/commands/CreateTrialComponentCommand.ts index a396cbf0c91c..fd3fd50294d2 100644 --- a/clients/client-sagemaker/commands/CreateTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/CreateTrialComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTrialComponentCommandInput = CreateTrialComponentRequest; @@ -70,14 +70,14 @@ export class CreateTrialComponentCommand extends $Command< private serialize( input: CreateTrialComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTrialComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTrialComponentCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateUserProfileCommand.ts b/clients/client-sagemaker/commands/CreateUserProfileCommand.ts index f2f19a98cb02..5aab3d9946bd 100644 --- a/clients/client-sagemaker/commands/CreateUserProfileCommand.ts +++ b/clients/client-sagemaker/commands/CreateUserProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserProfileCommandInput = CreateUserProfileRequest; @@ -67,14 +67,14 @@ export class CreateUserProfileCommand extends $Command< private serialize( input: CreateUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserProfileCommand(output, context); } diff --git a/clients/client-sagemaker/commands/CreateWorkteamCommand.ts b/clients/client-sagemaker/commands/CreateWorkteamCommand.ts index 87e6f68ab90a..c0e584440d8c 100644 --- a/clients/client-sagemaker/commands/CreateWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/CreateWorkteamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateWorkteamCommandInput = CreateWorkteamRequest; @@ -64,14 +64,14 @@ export class CreateWorkteamCommand extends $Command< private serialize( input: CreateWorkteamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateWorkteamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateWorkteamCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteAlgorithmCommand.ts b/clients/client-sagemaker/commands/DeleteAlgorithmCommand.ts index 3b1f65d8d75f..86e3d75a7ef4 100644 --- a/clients/client-sagemaker/commands/DeleteAlgorithmCommand.ts +++ b/clients/client-sagemaker/commands/DeleteAlgorithmCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAlgorithmCommandInput = DeleteAlgorithmInput; @@ -65,14 +65,14 @@ export class DeleteAlgorithmCommand extends $Command< private serialize( input: DeleteAlgorithmCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAlgorithmCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAlgorithmCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteAppCommand.ts b/clients/client-sagemaker/commands/DeleteAppCommand.ts index a89a6cc27684..8d23edf48c45 100644 --- a/clients/client-sagemaker/commands/DeleteAppCommand.ts +++ b/clients/client-sagemaker/commands/DeleteAppCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAppCommandInput = DeleteAppRequest; @@ -65,14 +65,14 @@ export class DeleteAppCommand extends $Command< private serialize( input: DeleteAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAppCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteCodeRepositoryCommand.ts b/clients/client-sagemaker/commands/DeleteCodeRepositoryCommand.ts index c9fd795ee6b5..3f978f4c1f62 100644 --- a/clients/client-sagemaker/commands/DeleteCodeRepositoryCommand.ts +++ b/clients/client-sagemaker/commands/DeleteCodeRepositoryCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCodeRepositoryCommandInput = DeleteCodeRepositoryInput; @@ -68,14 +68,14 @@ export class DeleteCodeRepositoryCommand extends $Command< private serialize( input: DeleteCodeRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteCodeRepositoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteCodeRepositoryCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteDomainCommand.ts b/clients/client-sagemaker/commands/DeleteDomainCommand.ts index 81ab3d0d4d0f..089f1b73d7db 100644 --- a/clients/client-sagemaker/commands/DeleteDomainCommand.ts +++ b/clients/client-sagemaker/commands/DeleteDomainCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDomainCommandInput = DeleteDomainRequest; @@ -65,14 +65,14 @@ export class DeleteDomainCommand extends $Command< private serialize( input: DeleteDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDomainCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteEndpointCommand.ts b/clients/client-sagemaker/commands/DeleteEndpointCommand.ts index e1348c55a702..e32660bfd054 100644 --- a/clients/client-sagemaker/commands/DeleteEndpointCommand.ts +++ b/clients/client-sagemaker/commands/DeleteEndpointCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEndpointCommandInput = DeleteEndpointInput; @@ -65,14 +65,14 @@ export class DeleteEndpointCommand extends $Command< private serialize( input: DeleteEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEndpointCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteEndpointConfigCommand.ts b/clients/client-sagemaker/commands/DeleteEndpointConfigCommand.ts index e6a8160f26f7..1a7ef8329bc8 100644 --- a/clients/client-sagemaker/commands/DeleteEndpointConfigCommand.ts +++ b/clients/client-sagemaker/commands/DeleteEndpointConfigCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEndpointConfigCommandInput = DeleteEndpointConfigInput; @@ -68,14 +68,14 @@ export class DeleteEndpointConfigCommand extends $Command< private serialize( input: DeleteEndpointConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteEndpointConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteEndpointConfigCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteExperimentCommand.ts b/clients/client-sagemaker/commands/DeleteExperimentCommand.ts index 457811bdf01f..640fb0de5447 100644 --- a/clients/client-sagemaker/commands/DeleteExperimentCommand.ts +++ b/clients/client-sagemaker/commands/DeleteExperimentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteExperimentCommandInput = DeleteExperimentRequest; @@ -67,14 +67,14 @@ export class DeleteExperimentCommand extends $Command< private serialize( input: DeleteExperimentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteExperimentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteExperimentCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteFlowDefinitionCommand.ts b/clients/client-sagemaker/commands/DeleteFlowDefinitionCommand.ts index 6902c53b6717..1302084bb647 100644 --- a/clients/client-sagemaker/commands/DeleteFlowDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DeleteFlowDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFlowDefinitionCommandInput = DeleteFlowDefinitionRequest; @@ -70,14 +70,14 @@ export class DeleteFlowDefinitionCommand extends $Command< private serialize( input: DeleteFlowDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteFlowDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteFlowDefinitionCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteModelCommand.ts b/clients/client-sagemaker/commands/DeleteModelCommand.ts index 0b24c44f9ace..b3f267dab73e 100644 --- a/clients/client-sagemaker/commands/DeleteModelCommand.ts +++ b/clients/client-sagemaker/commands/DeleteModelCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteModelCommandInput = DeleteModelInput; @@ -65,14 +65,14 @@ export class DeleteModelCommand extends $Command< private serialize( input: DeleteModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteModelCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteModelPackageCommand.ts b/clients/client-sagemaker/commands/DeleteModelPackageCommand.ts index ffb5a576bc6c..202f1d617ef1 100644 --- a/clients/client-sagemaker/commands/DeleteModelPackageCommand.ts +++ b/clients/client-sagemaker/commands/DeleteModelPackageCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteModelPackageCommandInput = DeleteModelPackageInput; @@ -65,14 +65,14 @@ export class DeleteModelPackageCommand extends $Command< private serialize( input: DeleteModelPackageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteModelPackageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteModelPackageCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/DeleteMonitoringScheduleCommand.ts index 3379dcb75025..55f5c7a43f99 100644 --- a/clients/client-sagemaker/commands/DeleteMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/DeleteMonitoringScheduleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMonitoringScheduleCommandInput = DeleteMonitoringScheduleRequest; @@ -68,14 +68,14 @@ export class DeleteMonitoringScheduleCommand extends $Command< private serialize( input: DeleteMonitoringScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteMonitoringScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteMonitoringScheduleCommand( output, diff --git a/clients/client-sagemaker/commands/DeleteNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/DeleteNotebookInstanceCommand.ts index 7e7b91c3646a..55350754a7fd 100644 --- a/clients/client-sagemaker/commands/DeleteNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/DeleteNotebookInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNotebookInstanceCommandInput = DeleteNotebookInstanceInput; @@ -68,14 +68,14 @@ export class DeleteNotebookInstanceCommand extends $Command< private serialize( input: DeleteNotebookInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteNotebookInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteNotebookInstanceCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteNotebookInstanceLifecycleConfigCommand.ts b/clients/client-sagemaker/commands/DeleteNotebookInstanceLifecycleConfigCommand.ts index 8e000aadabe4..a667438f8b7d 100644 --- a/clients/client-sagemaker/commands/DeleteNotebookInstanceLifecycleConfigCommand.ts +++ b/clients/client-sagemaker/commands/DeleteNotebookInstanceLifecycleConfigCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNotebookInstanceLifecycleConfigCommandInput = DeleteNotebookInstanceLifecycleConfigInput; @@ -70,7 +70,7 @@ export class DeleteNotebookInstanceLifecycleConfigCommand extends $Command< private serialize( input: DeleteNotebookInstanceLifecycleConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteNotebookInstanceLifecycleConfigCommand( input, @@ -80,7 +80,7 @@ export class DeleteNotebookInstanceLifecycleConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteNotebookInstanceLifecycleConfigCommand( output, diff --git a/clients/client-sagemaker/commands/DeleteTagsCommand.ts b/clients/client-sagemaker/commands/DeleteTagsCommand.ts index 12351c973ea0..707742077662 100644 --- a/clients/client-sagemaker/commands/DeleteTagsCommand.ts +++ b/clients/client-sagemaker/commands/DeleteTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagsCommandInput = DeleteTagsInput; @@ -64,14 +64,14 @@ export class DeleteTagsCommand extends $Command< private serialize( input: DeleteTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTagsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteTrialCommand.ts b/clients/client-sagemaker/commands/DeleteTrialCommand.ts index 68c254106ddf..797ab5ae8dd2 100644 --- a/clients/client-sagemaker/commands/DeleteTrialCommand.ts +++ b/clients/client-sagemaker/commands/DeleteTrialCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTrialCommandInput = DeleteTrialRequest; @@ -64,14 +64,14 @@ export class DeleteTrialCommand extends $Command< private serialize( input: DeleteTrialCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTrialCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTrialCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteTrialComponentCommand.ts b/clients/client-sagemaker/commands/DeleteTrialComponentCommand.ts index cc6f5dda8f7a..4c57a289db86 100644 --- a/clients/client-sagemaker/commands/DeleteTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/DeleteTrialComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTrialComponentCommandInput = DeleteTrialComponentRequest; @@ -70,14 +70,14 @@ export class DeleteTrialComponentCommand extends $Command< private serialize( input: DeleteTrialComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTrialComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTrialComponentCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteUserProfileCommand.ts b/clients/client-sagemaker/commands/DeleteUserProfileCommand.ts index 0c515592a1c3..557ad00d0569 100644 --- a/clients/client-sagemaker/commands/DeleteUserProfileCommand.ts +++ b/clients/client-sagemaker/commands/DeleteUserProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserProfileCommandInput = DeleteUserProfileRequest; @@ -65,14 +65,14 @@ export class DeleteUserProfileCommand extends $Command< private serialize( input: DeleteUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserProfileCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DeleteWorkteamCommand.ts b/clients/client-sagemaker/commands/DeleteWorkteamCommand.ts index 56a86304282d..d21ce4a77d3c 100644 --- a/clients/client-sagemaker/commands/DeleteWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/DeleteWorkteamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteWorkteamCommandInput = DeleteWorkteamRequest; @@ -64,14 +64,14 @@ export class DeleteWorkteamCommand extends $Command< private serialize( input: DeleteWorkteamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteWorkteamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteWorkteamCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeAlgorithmCommand.ts b/clients/client-sagemaker/commands/DescribeAlgorithmCommand.ts index e6f8b2fb320f..9f9be21035d9 100644 --- a/clients/client-sagemaker/commands/DescribeAlgorithmCommand.ts +++ b/clients/client-sagemaker/commands/DescribeAlgorithmCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAlgorithmCommandInput = DescribeAlgorithmInput; @@ -67,14 +67,14 @@ export class DescribeAlgorithmCommand extends $Command< private serialize( input: DescribeAlgorithmCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAlgorithmCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAlgorithmCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeAppCommand.ts b/clients/client-sagemaker/commands/DescribeAppCommand.ts index c6d1fad946d0..96de33169100 100644 --- a/clients/client-sagemaker/commands/DescribeAppCommand.ts +++ b/clients/client-sagemaker/commands/DescribeAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAppCommandInput = DescribeAppRequest; @@ -64,14 +64,14 @@ export class DescribeAppCommand extends $Command< private serialize( input: DescribeAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAppCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeAutoMLJobCommand.ts b/clients/client-sagemaker/commands/DescribeAutoMLJobCommand.ts index 30070a05395e..125338866c91 100644 --- a/clients/client-sagemaker/commands/DescribeAutoMLJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeAutoMLJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAutoMLJobCommandInput = DescribeAutoMLJobRequest; @@ -67,14 +67,14 @@ export class DescribeAutoMLJobCommand extends $Command< private serialize( input: DescribeAutoMLJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAutoMLJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAutoMLJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeCodeRepositoryCommand.ts b/clients/client-sagemaker/commands/DescribeCodeRepositoryCommand.ts index 6ac944c08626..796dd54e41b1 100644 --- a/clients/client-sagemaker/commands/DescribeCodeRepositoryCommand.ts +++ b/clients/client-sagemaker/commands/DescribeCodeRepositoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCodeRepositoryCommandInput = DescribeCodeRepositoryInput; @@ -70,14 +70,14 @@ export class DescribeCodeRepositoryCommand extends $Command< private serialize( input: DescribeCodeRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCodeRepositoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCodeRepositoryCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeCompilationJobCommand.ts b/clients/client-sagemaker/commands/DescribeCompilationJobCommand.ts index 7cad2a9ab316..5b72d7d080e2 100644 --- a/clients/client-sagemaker/commands/DescribeCompilationJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeCompilationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCompilationJobCommandInput = DescribeCompilationJobRequest; @@ -70,14 +70,14 @@ export class DescribeCompilationJobCommand extends $Command< private serialize( input: DescribeCompilationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCompilationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCompilationJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeDomainCommand.ts b/clients/client-sagemaker/commands/DescribeDomainCommand.ts index 2fa24c69c5c2..caf8463d6d8b 100644 --- a/clients/client-sagemaker/commands/DescribeDomainCommand.ts +++ b/clients/client-sagemaker/commands/DescribeDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDomainCommandInput = DescribeDomainRequest; @@ -64,14 +64,14 @@ export class DescribeDomainCommand extends $Command< private serialize( input: DescribeDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDomainCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeEndpointCommand.ts b/clients/client-sagemaker/commands/DescribeEndpointCommand.ts index 7260684fce99..76478d12310f 100644 --- a/clients/client-sagemaker/commands/DescribeEndpointCommand.ts +++ b/clients/client-sagemaker/commands/DescribeEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEndpointCommandInput = DescribeEndpointInput; @@ -64,14 +64,14 @@ export class DescribeEndpointCommand extends $Command< private serialize( input: DescribeEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEndpointCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeEndpointConfigCommand.ts b/clients/client-sagemaker/commands/DescribeEndpointConfigCommand.ts index 2ac2b0193a2e..2730d5e35239 100644 --- a/clients/client-sagemaker/commands/DescribeEndpointConfigCommand.ts +++ b/clients/client-sagemaker/commands/DescribeEndpointConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEndpointConfigCommandInput = DescribeEndpointConfigInput; @@ -70,14 +70,14 @@ export class DescribeEndpointConfigCommand extends $Command< private serialize( input: DescribeEndpointConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEndpointConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEndpointConfigCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeExperimentCommand.ts b/clients/client-sagemaker/commands/DescribeExperimentCommand.ts index d1a505cfb680..6b2261fc9563 100644 --- a/clients/client-sagemaker/commands/DescribeExperimentCommand.ts +++ b/clients/client-sagemaker/commands/DescribeExperimentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeExperimentCommandInput = DescribeExperimentRequest; @@ -67,14 +67,14 @@ export class DescribeExperimentCommand extends $Command< private serialize( input: DescribeExperimentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeExperimentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeExperimentCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeFlowDefinitionCommand.ts b/clients/client-sagemaker/commands/DescribeFlowDefinitionCommand.ts index d961f41061d8..af89f33f84ab 100644 --- a/clients/client-sagemaker/commands/DescribeFlowDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DescribeFlowDefinitionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFlowDefinitionCommandInput = DescribeFlowDefinitionRequest; @@ -70,14 +70,14 @@ export class DescribeFlowDefinitionCommand extends $Command< private serialize( input: DescribeFlowDefinitionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeFlowDefinitionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeFlowDefinitionCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeHumanTaskUiCommand.ts b/clients/client-sagemaker/commands/DescribeHumanTaskUiCommand.ts index a4f8adf0d1d0..5e1e62cb702b 100644 --- a/clients/client-sagemaker/commands/DescribeHumanTaskUiCommand.ts +++ b/clients/client-sagemaker/commands/DescribeHumanTaskUiCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHumanTaskUiCommandInput = DescribeHumanTaskUiRequest; @@ -70,14 +70,14 @@ export class DescribeHumanTaskUiCommand extends $Command< private serialize( input: DescribeHumanTaskUiCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeHumanTaskUiCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeHumanTaskUiCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeHyperParameterTuningJobCommand.ts b/clients/client-sagemaker/commands/DescribeHyperParameterTuningJobCommand.ts index acda65682875..cab93dad356a 100644 --- a/clients/client-sagemaker/commands/DescribeHyperParameterTuningJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeHyperParameterTuningJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHyperParameterTuningJobCommandInput = DescribeHyperParameterTuningJobRequest; @@ -70,7 +70,7 @@ export class DescribeHyperParameterTuningJobCommand extends $Command< private serialize( input: DescribeHyperParameterTuningJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeHyperParameterTuningJobCommand( input, @@ -80,7 +80,7 @@ export class DescribeHyperParameterTuningJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeHyperParameterTuningJobCommand( output, diff --git a/clients/client-sagemaker/commands/DescribeLabelingJobCommand.ts b/clients/client-sagemaker/commands/DescribeLabelingJobCommand.ts index c81793b6d6d5..bc47386d4318 100644 --- a/clients/client-sagemaker/commands/DescribeLabelingJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeLabelingJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeLabelingJobCommandInput = DescribeLabelingJobRequest; @@ -70,14 +70,14 @@ export class DescribeLabelingJobCommand extends $Command< private serialize( input: DescribeLabelingJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeLabelingJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeLabelingJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeModelCommand.ts b/clients/client-sagemaker/commands/DescribeModelCommand.ts index 8481dc987b96..1faca186fc64 100644 --- a/clients/client-sagemaker/commands/DescribeModelCommand.ts +++ b/clients/client-sagemaker/commands/DescribeModelCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeModelCommandInput = DescribeModelInput; @@ -64,14 +64,14 @@ export class DescribeModelCommand extends $Command< private serialize( input: DescribeModelCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeModelCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeModelCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeModelPackageCommand.ts b/clients/client-sagemaker/commands/DescribeModelPackageCommand.ts index 0f435f5e419a..3f3a5a7552ea 100644 --- a/clients/client-sagemaker/commands/DescribeModelPackageCommand.ts +++ b/clients/client-sagemaker/commands/DescribeModelPackageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeModelPackageCommandInput = DescribeModelPackageInput; @@ -70,14 +70,14 @@ export class DescribeModelPackageCommand extends $Command< private serialize( input: DescribeModelPackageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeModelPackageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeModelPackageCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/DescribeMonitoringScheduleCommand.ts index 4b76e9083b4f..c65c430f06fc 100644 --- a/clients/client-sagemaker/commands/DescribeMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/DescribeMonitoringScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMonitoringScheduleCommandInput = DescribeMonitoringScheduleRequest; @@ -70,7 +70,7 @@ export class DescribeMonitoringScheduleCommand extends $Command< private serialize( input: DescribeMonitoringScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMonitoringScheduleCommand( input, @@ -80,7 +80,7 @@ export class DescribeMonitoringScheduleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMonitoringScheduleCommand( output, diff --git a/clients/client-sagemaker/commands/DescribeNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/DescribeNotebookInstanceCommand.ts index 907d76b63805..71bcea2d6d35 100644 --- a/clients/client-sagemaker/commands/DescribeNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/DescribeNotebookInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNotebookInstanceCommandInput = DescribeNotebookInstanceInput; @@ -70,14 +70,14 @@ export class DescribeNotebookInstanceCommand extends $Command< private serialize( input: DescribeNotebookInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeNotebookInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeNotebookInstanceCommand( output, diff --git a/clients/client-sagemaker/commands/DescribeNotebookInstanceLifecycleConfigCommand.ts b/clients/client-sagemaker/commands/DescribeNotebookInstanceLifecycleConfigCommand.ts index 5f0e8603ac5b..d45b4e5af71c 100644 --- a/clients/client-sagemaker/commands/DescribeNotebookInstanceLifecycleConfigCommand.ts +++ b/clients/client-sagemaker/commands/DescribeNotebookInstanceLifecycleConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNotebookInstanceLifecycleConfigCommandInput = DescribeNotebookInstanceLifecycleConfigInput; @@ -72,7 +72,7 @@ export class DescribeNotebookInstanceLifecycleConfigCommand extends $Command< private serialize( input: DescribeNotebookInstanceLifecycleConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeNotebookInstanceLifecycleConfigCommand( input, @@ -82,7 +82,7 @@ export class DescribeNotebookInstanceLifecycleConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeNotebookInstanceLifecycleConfigCommand( output, diff --git a/clients/client-sagemaker/commands/DescribeProcessingJobCommand.ts b/clients/client-sagemaker/commands/DescribeProcessingJobCommand.ts index 5f923762a4fa..bebdf2f71dc1 100644 --- a/clients/client-sagemaker/commands/DescribeProcessingJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeProcessingJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProcessingJobCommandInput = DescribeProcessingJobRequest; @@ -70,14 +70,14 @@ export class DescribeProcessingJobCommand extends $Command< private serialize( input: DescribeProcessingJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProcessingJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProcessingJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeSubscribedWorkteamCommand.ts b/clients/client-sagemaker/commands/DescribeSubscribedWorkteamCommand.ts index f2dc50cfa8af..31ba0d7c5c13 100644 --- a/clients/client-sagemaker/commands/DescribeSubscribedWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/DescribeSubscribedWorkteamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSubscribedWorkteamCommandInput = DescribeSubscribedWorkteamRequest; @@ -70,7 +70,7 @@ export class DescribeSubscribedWorkteamCommand extends $Command< private serialize( input: DescribeSubscribedWorkteamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSubscribedWorkteamCommand( input, @@ -80,7 +80,7 @@ export class DescribeSubscribedWorkteamCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSubscribedWorkteamCommand( output, diff --git a/clients/client-sagemaker/commands/DescribeTrainingJobCommand.ts b/clients/client-sagemaker/commands/DescribeTrainingJobCommand.ts index a6d3abb79c5d..235173fae216 100644 --- a/clients/client-sagemaker/commands/DescribeTrainingJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeTrainingJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrainingJobCommandInput = DescribeTrainingJobRequest; @@ -70,14 +70,14 @@ export class DescribeTrainingJobCommand extends $Command< private serialize( input: DescribeTrainingJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTrainingJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTrainingJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeTransformJobCommand.ts b/clients/client-sagemaker/commands/DescribeTransformJobCommand.ts index efde2172dfc0..b439d270b57b 100644 --- a/clients/client-sagemaker/commands/DescribeTransformJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeTransformJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTransformJobCommandInput = DescribeTransformJobRequest; @@ -70,14 +70,14 @@ export class DescribeTransformJobCommand extends $Command< private serialize( input: DescribeTransformJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTransformJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTransformJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeTrialCommand.ts b/clients/client-sagemaker/commands/DescribeTrialCommand.ts index 6e3847b58c80..32d4d97e399c 100644 --- a/clients/client-sagemaker/commands/DescribeTrialCommand.ts +++ b/clients/client-sagemaker/commands/DescribeTrialCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrialCommandInput = DescribeTrialRequest; @@ -64,14 +64,14 @@ export class DescribeTrialCommand extends $Command< private serialize( input: DescribeTrialCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTrialCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTrialCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeTrialComponentCommand.ts b/clients/client-sagemaker/commands/DescribeTrialComponentCommand.ts index 4d9ab97bbe7d..e2c79d507801 100644 --- a/clients/client-sagemaker/commands/DescribeTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/DescribeTrialComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrialComponentCommandInput = DescribeTrialComponentRequest; @@ -70,14 +70,14 @@ export class DescribeTrialComponentCommand extends $Command< private serialize( input: DescribeTrialComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTrialComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTrialComponentCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeUserProfileCommand.ts b/clients/client-sagemaker/commands/DescribeUserProfileCommand.ts index 82500d15e8f9..82e318317b78 100644 --- a/clients/client-sagemaker/commands/DescribeUserProfileCommand.ts +++ b/clients/client-sagemaker/commands/DescribeUserProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserProfileCommandInput = DescribeUserProfileRequest; @@ -70,14 +70,14 @@ export class DescribeUserProfileCommand extends $Command< private serialize( input: DescribeUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUserProfileCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeWorkforceCommand.ts b/clients/client-sagemaker/commands/DescribeWorkforceCommand.ts index 7c1cf0209ef5..76ef73414099 100644 --- a/clients/client-sagemaker/commands/DescribeWorkforceCommand.ts +++ b/clients/client-sagemaker/commands/DescribeWorkforceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWorkforceCommandInput = DescribeWorkforceRequest; @@ -67,14 +67,14 @@ export class DescribeWorkforceCommand extends $Command< private serialize( input: DescribeWorkforceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeWorkforceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeWorkforceCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DescribeWorkteamCommand.ts b/clients/client-sagemaker/commands/DescribeWorkteamCommand.ts index ea8140f84ddb..473588998a54 100644 --- a/clients/client-sagemaker/commands/DescribeWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/DescribeWorkteamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWorkteamCommandInput = DescribeWorkteamRequest; @@ -67,14 +67,14 @@ export class DescribeWorkteamCommand extends $Command< private serialize( input: DescribeWorkteamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeWorkteamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeWorkteamCommand(output, context); } diff --git a/clients/client-sagemaker/commands/DisassociateTrialComponentCommand.ts b/clients/client-sagemaker/commands/DisassociateTrialComponentCommand.ts index f2161742fb0f..dc226e7477e0 100644 --- a/clients/client-sagemaker/commands/DisassociateTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/DisassociateTrialComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateTrialComponentCommandInput = DisassociateTrialComponentRequest; @@ -70,7 +70,7 @@ export class DisassociateTrialComponentCommand extends $Command< private serialize( input: DisassociateTrialComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateTrialComponentCommand( input, @@ -80,7 +80,7 @@ export class DisassociateTrialComponentCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateTrialComponentCommand( output, diff --git a/clients/client-sagemaker/commands/GetSearchSuggestionsCommand.ts b/clients/client-sagemaker/commands/GetSearchSuggestionsCommand.ts index 522907a8dd01..16a143cb63f6 100644 --- a/clients/client-sagemaker/commands/GetSearchSuggestionsCommand.ts +++ b/clients/client-sagemaker/commands/GetSearchSuggestionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSearchSuggestionsCommandInput = GetSearchSuggestionsRequest; @@ -70,14 +70,14 @@ export class GetSearchSuggestionsCommand extends $Command< private serialize( input: GetSearchSuggestionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSearchSuggestionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSearchSuggestionsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListAlgorithmsCommand.ts b/clients/client-sagemaker/commands/ListAlgorithmsCommand.ts index efe48314b4d3..52030348689e 100644 --- a/clients/client-sagemaker/commands/ListAlgorithmsCommand.ts +++ b/clients/client-sagemaker/commands/ListAlgorithmsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAlgorithmsCommandInput = ListAlgorithmsInput; @@ -64,14 +64,14 @@ export class ListAlgorithmsCommand extends $Command< private serialize( input: ListAlgorithmsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAlgorithmsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAlgorithmsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListAppsCommand.ts b/clients/client-sagemaker/commands/ListAppsCommand.ts index 01a297e79d77..0d98d3728c91 100644 --- a/clients/client-sagemaker/commands/ListAppsCommand.ts +++ b/clients/client-sagemaker/commands/ListAppsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAppsCommandInput = ListAppsRequest; @@ -64,14 +64,14 @@ export class ListAppsCommand extends $Command< private serialize( input: ListAppsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAppsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAppsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListAutoMLJobsCommand.ts b/clients/client-sagemaker/commands/ListAutoMLJobsCommand.ts index a5cd2e71b6fd..f9a91724c586 100644 --- a/clients/client-sagemaker/commands/ListAutoMLJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListAutoMLJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAutoMLJobsCommandInput = ListAutoMLJobsRequest; @@ -64,14 +64,14 @@ export class ListAutoMLJobsCommand extends $Command< private serialize( input: ListAutoMLJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAutoMLJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAutoMLJobsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListCandidatesForAutoMLJobCommand.ts b/clients/client-sagemaker/commands/ListCandidatesForAutoMLJobCommand.ts index 0d1b4d331485..a211591686e2 100644 --- a/clients/client-sagemaker/commands/ListCandidatesForAutoMLJobCommand.ts +++ b/clients/client-sagemaker/commands/ListCandidatesForAutoMLJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCandidatesForAutoMLJobCommandInput = ListCandidatesForAutoMLJobRequest; @@ -70,7 +70,7 @@ export class ListCandidatesForAutoMLJobCommand extends $Command< private serialize( input: ListCandidatesForAutoMLJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCandidatesForAutoMLJobCommand( input, @@ -80,7 +80,7 @@ export class ListCandidatesForAutoMLJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCandidatesForAutoMLJobCommand( output, diff --git a/clients/client-sagemaker/commands/ListCodeRepositoriesCommand.ts b/clients/client-sagemaker/commands/ListCodeRepositoriesCommand.ts index 3d24cd56e40f..24e7fd6ae984 100644 --- a/clients/client-sagemaker/commands/ListCodeRepositoriesCommand.ts +++ b/clients/client-sagemaker/commands/ListCodeRepositoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCodeRepositoriesCommandInput = ListCodeRepositoriesInput; @@ -70,14 +70,14 @@ export class ListCodeRepositoriesCommand extends $Command< private serialize( input: ListCodeRepositoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCodeRepositoriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCodeRepositoriesCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListCompilationJobsCommand.ts b/clients/client-sagemaker/commands/ListCompilationJobsCommand.ts index 1fd4e761f759..5b64c9a04906 100644 --- a/clients/client-sagemaker/commands/ListCompilationJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListCompilationJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCompilationJobsCommandInput = ListCompilationJobsRequest; @@ -70,14 +70,14 @@ export class ListCompilationJobsCommand extends $Command< private serialize( input: ListCompilationJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCompilationJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCompilationJobsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListDomainsCommand.ts b/clients/client-sagemaker/commands/ListDomainsCommand.ts index 9b145c61b7de..8ec28a2ea6a3 100644 --- a/clients/client-sagemaker/commands/ListDomainsCommand.ts +++ b/clients/client-sagemaker/commands/ListDomainsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDomainsCommandInput = ListDomainsRequest; @@ -64,14 +64,14 @@ export class ListDomainsCommand extends $Command< private serialize( input: ListDomainsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDomainsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDomainsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListEndpointConfigsCommand.ts b/clients/client-sagemaker/commands/ListEndpointConfigsCommand.ts index b6710e777356..da8173845a8f 100644 --- a/clients/client-sagemaker/commands/ListEndpointConfigsCommand.ts +++ b/clients/client-sagemaker/commands/ListEndpointConfigsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEndpointConfigsCommandInput = ListEndpointConfigsInput; @@ -70,14 +70,14 @@ export class ListEndpointConfigsCommand extends $Command< private serialize( input: ListEndpointConfigsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEndpointConfigsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEndpointConfigsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListEndpointsCommand.ts b/clients/client-sagemaker/commands/ListEndpointsCommand.ts index 1f446061f324..8bde1e6d2de4 100644 --- a/clients/client-sagemaker/commands/ListEndpointsCommand.ts +++ b/clients/client-sagemaker/commands/ListEndpointsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEndpointsCommandInput = ListEndpointsInput; @@ -64,14 +64,14 @@ export class ListEndpointsCommand extends $Command< private serialize( input: ListEndpointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListEndpointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListEndpointsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListExperimentsCommand.ts b/clients/client-sagemaker/commands/ListExperimentsCommand.ts index a4d525bbea92..e1edb9bd53b0 100644 --- a/clients/client-sagemaker/commands/ListExperimentsCommand.ts +++ b/clients/client-sagemaker/commands/ListExperimentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListExperimentsCommandInput = ListExperimentsRequest; @@ -67,14 +67,14 @@ export class ListExperimentsCommand extends $Command< private serialize( input: ListExperimentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListExperimentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListExperimentsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListFlowDefinitionsCommand.ts b/clients/client-sagemaker/commands/ListFlowDefinitionsCommand.ts index 65a7132ecfb6..b852e454d954 100644 --- a/clients/client-sagemaker/commands/ListFlowDefinitionsCommand.ts +++ b/clients/client-sagemaker/commands/ListFlowDefinitionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFlowDefinitionsCommandInput = ListFlowDefinitionsRequest; @@ -70,14 +70,14 @@ export class ListFlowDefinitionsCommand extends $Command< private serialize( input: ListFlowDefinitionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListFlowDefinitionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListFlowDefinitionsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListHumanTaskUisCommand.ts b/clients/client-sagemaker/commands/ListHumanTaskUisCommand.ts index 213da2f56110..344c6d94b66a 100644 --- a/clients/client-sagemaker/commands/ListHumanTaskUisCommand.ts +++ b/clients/client-sagemaker/commands/ListHumanTaskUisCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHumanTaskUisCommandInput = ListHumanTaskUisRequest; @@ -67,14 +67,14 @@ export class ListHumanTaskUisCommand extends $Command< private serialize( input: ListHumanTaskUisCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListHumanTaskUisCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListHumanTaskUisCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListHyperParameterTuningJobsCommand.ts b/clients/client-sagemaker/commands/ListHyperParameterTuningJobsCommand.ts index ffa7754f6fb2..6dbd9493e407 100644 --- a/clients/client-sagemaker/commands/ListHyperParameterTuningJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListHyperParameterTuningJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListHyperParameterTuningJobsCommandInput = ListHyperParameterTuningJobsRequest; @@ -70,7 +70,7 @@ export class ListHyperParameterTuningJobsCommand extends $Command< private serialize( input: ListHyperParameterTuningJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListHyperParameterTuningJobsCommand( input, @@ -80,7 +80,7 @@ export class ListHyperParameterTuningJobsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListHyperParameterTuningJobsCommand( output, diff --git a/clients/client-sagemaker/commands/ListLabelingJobsCommand.ts b/clients/client-sagemaker/commands/ListLabelingJobsCommand.ts index b6283d132769..bba2093c8813 100644 --- a/clients/client-sagemaker/commands/ListLabelingJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListLabelingJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLabelingJobsCommandInput = ListLabelingJobsRequest; @@ -67,14 +67,14 @@ export class ListLabelingJobsCommand extends $Command< private serialize( input: ListLabelingJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLabelingJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLabelingJobsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListLabelingJobsForWorkteamCommand.ts b/clients/client-sagemaker/commands/ListLabelingJobsForWorkteamCommand.ts index e40e970b3309..47e7c1e6991e 100644 --- a/clients/client-sagemaker/commands/ListLabelingJobsForWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/ListLabelingJobsForWorkteamCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLabelingJobsForWorkteamCommandInput = ListLabelingJobsForWorkteamRequest; @@ -70,7 +70,7 @@ export class ListLabelingJobsForWorkteamCommand extends $Command< private serialize( input: ListLabelingJobsForWorkteamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLabelingJobsForWorkteamCommand( input, @@ -80,7 +80,7 @@ export class ListLabelingJobsForWorkteamCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLabelingJobsForWorkteamCommand( output, diff --git a/clients/client-sagemaker/commands/ListModelPackagesCommand.ts b/clients/client-sagemaker/commands/ListModelPackagesCommand.ts index 137db4a1e5af..1520a68317a0 100644 --- a/clients/client-sagemaker/commands/ListModelPackagesCommand.ts +++ b/clients/client-sagemaker/commands/ListModelPackagesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListModelPackagesCommandInput = ListModelPackagesInput; @@ -67,14 +67,14 @@ export class ListModelPackagesCommand extends $Command< private serialize( input: ListModelPackagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListModelPackagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListModelPackagesCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListModelsCommand.ts b/clients/client-sagemaker/commands/ListModelsCommand.ts index 1a4df83c4b6d..8136222d5ba6 100644 --- a/clients/client-sagemaker/commands/ListModelsCommand.ts +++ b/clients/client-sagemaker/commands/ListModelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListModelsCommandInput = ListModelsInput; @@ -64,14 +64,14 @@ export class ListModelsCommand extends $Command< private serialize( input: ListModelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListModelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListModelsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListMonitoringExecutionsCommand.ts b/clients/client-sagemaker/commands/ListMonitoringExecutionsCommand.ts index 662e04f4361a..e3d72bddf8bf 100644 --- a/clients/client-sagemaker/commands/ListMonitoringExecutionsCommand.ts +++ b/clients/client-sagemaker/commands/ListMonitoringExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMonitoringExecutionsCommandInput = ListMonitoringExecutionsRequest; @@ -70,14 +70,14 @@ export class ListMonitoringExecutionsCommand extends $Command< private serialize( input: ListMonitoringExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListMonitoringExecutionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListMonitoringExecutionsCommand( output, diff --git a/clients/client-sagemaker/commands/ListMonitoringSchedulesCommand.ts b/clients/client-sagemaker/commands/ListMonitoringSchedulesCommand.ts index 1a3efe9c6ffa..3e7ce19dcf94 100644 --- a/clients/client-sagemaker/commands/ListMonitoringSchedulesCommand.ts +++ b/clients/client-sagemaker/commands/ListMonitoringSchedulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMonitoringSchedulesCommandInput = ListMonitoringSchedulesRequest; @@ -70,14 +70,14 @@ export class ListMonitoringSchedulesCommand extends $Command< private serialize( input: ListMonitoringSchedulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListMonitoringSchedulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListMonitoringSchedulesCommand( output, diff --git a/clients/client-sagemaker/commands/ListNotebookInstanceLifecycleConfigsCommand.ts b/clients/client-sagemaker/commands/ListNotebookInstanceLifecycleConfigsCommand.ts index f8723a705f80..580f99b2189d 100644 --- a/clients/client-sagemaker/commands/ListNotebookInstanceLifecycleConfigsCommand.ts +++ b/clients/client-sagemaker/commands/ListNotebookInstanceLifecycleConfigsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListNotebookInstanceLifecycleConfigsCommandInput = ListNotebookInstanceLifecycleConfigsInput; @@ -72,7 +72,7 @@ export class ListNotebookInstanceLifecycleConfigsCommand extends $Command< private serialize( input: ListNotebookInstanceLifecycleConfigsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListNotebookInstanceLifecycleConfigsCommand( input, @@ -82,7 +82,7 @@ export class ListNotebookInstanceLifecycleConfigsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListNotebookInstanceLifecycleConfigsCommand( output, diff --git a/clients/client-sagemaker/commands/ListNotebookInstancesCommand.ts b/clients/client-sagemaker/commands/ListNotebookInstancesCommand.ts index 1b713df1ea4d..77ada5864625 100644 --- a/clients/client-sagemaker/commands/ListNotebookInstancesCommand.ts +++ b/clients/client-sagemaker/commands/ListNotebookInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListNotebookInstancesCommandInput = ListNotebookInstancesInput; @@ -70,14 +70,14 @@ export class ListNotebookInstancesCommand extends $Command< private serialize( input: ListNotebookInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListNotebookInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListNotebookInstancesCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListProcessingJobsCommand.ts b/clients/client-sagemaker/commands/ListProcessingJobsCommand.ts index f00eaf9dd573..db04eaacb24b 100644 --- a/clients/client-sagemaker/commands/ListProcessingJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListProcessingJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProcessingJobsCommandInput = ListProcessingJobsRequest; @@ -67,14 +67,14 @@ export class ListProcessingJobsCommand extends $Command< private serialize( input: ListProcessingJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListProcessingJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListProcessingJobsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListSubscribedWorkteamsCommand.ts b/clients/client-sagemaker/commands/ListSubscribedWorkteamsCommand.ts index 13fcb52aa9a5..0948d2d63795 100644 --- a/clients/client-sagemaker/commands/ListSubscribedWorkteamsCommand.ts +++ b/clients/client-sagemaker/commands/ListSubscribedWorkteamsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSubscribedWorkteamsCommandInput = ListSubscribedWorkteamsRequest; @@ -70,14 +70,14 @@ export class ListSubscribedWorkteamsCommand extends $Command< private serialize( input: ListSubscribedWorkteamsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSubscribedWorkteamsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSubscribedWorkteamsCommand( output, diff --git a/clients/client-sagemaker/commands/ListTagsCommand.ts b/clients/client-sagemaker/commands/ListTagsCommand.ts index c36e5f7ea6cc..a6266d550b67 100644 --- a/clients/client-sagemaker/commands/ListTagsCommand.ts +++ b/clients/client-sagemaker/commands/ListTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsCommandInput = ListTagsInput; @@ -64,14 +64,14 @@ export class ListTagsCommand extends $Command< private serialize( input: ListTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListTrainingJobsCommand.ts b/clients/client-sagemaker/commands/ListTrainingJobsCommand.ts index 8b01f2deaf9e..5725374bafaa 100644 --- a/clients/client-sagemaker/commands/ListTrainingJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListTrainingJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTrainingJobsCommandInput = ListTrainingJobsRequest; @@ -67,14 +67,14 @@ export class ListTrainingJobsCommand extends $Command< private serialize( input: ListTrainingJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTrainingJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTrainingJobsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListTrainingJobsForHyperParameterTuningJobCommand.ts b/clients/client-sagemaker/commands/ListTrainingJobsForHyperParameterTuningJobCommand.ts index c813200fde3c..88966d0834c6 100644 --- a/clients/client-sagemaker/commands/ListTrainingJobsForHyperParameterTuningJobCommand.ts +++ b/clients/client-sagemaker/commands/ListTrainingJobsForHyperParameterTuningJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTrainingJobsForHyperParameterTuningJobCommandInput = ListTrainingJobsForHyperParameterTuningJobRequest; @@ -72,7 +72,7 @@ export class ListTrainingJobsForHyperParameterTuningJobCommand extends $Command< private serialize( input: ListTrainingJobsForHyperParameterTuningJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTrainingJobsForHyperParameterTuningJobCommand( input, @@ -82,7 +82,7 @@ export class ListTrainingJobsForHyperParameterTuningJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTrainingJobsForHyperParameterTuningJobCommand( output, diff --git a/clients/client-sagemaker/commands/ListTransformJobsCommand.ts b/clients/client-sagemaker/commands/ListTransformJobsCommand.ts index d6e874ada809..b1b6edeab8a8 100644 --- a/clients/client-sagemaker/commands/ListTransformJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListTransformJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTransformJobsCommandInput = ListTransformJobsRequest; @@ -67,14 +67,14 @@ export class ListTransformJobsCommand extends $Command< private serialize( input: ListTransformJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTransformJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTransformJobsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListTrialComponentsCommand.ts b/clients/client-sagemaker/commands/ListTrialComponentsCommand.ts index 5ca201ed0936..f2b497b9c89a 100644 --- a/clients/client-sagemaker/commands/ListTrialComponentsCommand.ts +++ b/clients/client-sagemaker/commands/ListTrialComponentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTrialComponentsCommandInput = ListTrialComponentsRequest; @@ -70,14 +70,14 @@ export class ListTrialComponentsCommand extends $Command< private serialize( input: ListTrialComponentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTrialComponentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTrialComponentsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListTrialsCommand.ts b/clients/client-sagemaker/commands/ListTrialsCommand.ts index 8ae5c97e992c..728e3671ea89 100644 --- a/clients/client-sagemaker/commands/ListTrialsCommand.ts +++ b/clients/client-sagemaker/commands/ListTrialsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTrialsCommandInput = ListTrialsRequest; @@ -64,14 +64,14 @@ export class ListTrialsCommand extends $Command< private serialize( input: ListTrialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTrialsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTrialsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListUserProfilesCommand.ts b/clients/client-sagemaker/commands/ListUserProfilesCommand.ts index 6a9c8cd85fe5..0b4c7d27b1df 100644 --- a/clients/client-sagemaker/commands/ListUserProfilesCommand.ts +++ b/clients/client-sagemaker/commands/ListUserProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUserProfilesCommandInput = ListUserProfilesRequest; @@ -67,14 +67,14 @@ export class ListUserProfilesCommand extends $Command< private serialize( input: ListUserProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUserProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUserProfilesCommand(output, context); } diff --git a/clients/client-sagemaker/commands/ListWorkteamsCommand.ts b/clients/client-sagemaker/commands/ListWorkteamsCommand.ts index 1361cb8eb90a..ba29cdd4d325 100644 --- a/clients/client-sagemaker/commands/ListWorkteamsCommand.ts +++ b/clients/client-sagemaker/commands/ListWorkteamsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWorkteamsCommandInput = ListWorkteamsRequest; @@ -64,14 +64,14 @@ export class ListWorkteamsCommand extends $Command< private serialize( input: ListWorkteamsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListWorkteamsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListWorkteamsCommand(output, context); } diff --git a/clients/client-sagemaker/commands/RenderUiTemplateCommand.ts b/clients/client-sagemaker/commands/RenderUiTemplateCommand.ts index 29f267690100..7338deba95d0 100644 --- a/clients/client-sagemaker/commands/RenderUiTemplateCommand.ts +++ b/clients/client-sagemaker/commands/RenderUiTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RenderUiTemplateCommandInput = RenderUiTemplateRequest; @@ -67,14 +67,14 @@ export class RenderUiTemplateCommand extends $Command< private serialize( input: RenderUiTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RenderUiTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RenderUiTemplateCommand(output, context); } diff --git a/clients/client-sagemaker/commands/SearchCommand.ts b/clients/client-sagemaker/commands/SearchCommand.ts index 1004b6bf08ba..83dcdb68a730 100644 --- a/clients/client-sagemaker/commands/SearchCommand.ts +++ b/clients/client-sagemaker/commands/SearchCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchCommandInput = SearchRequest; @@ -64,14 +64,14 @@ export class SearchCommand extends $Command< private serialize( input: SearchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchCommand(output, context); } diff --git a/clients/client-sagemaker/commands/StartMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/StartMonitoringScheduleCommand.ts index 72cf1cb31911..33a295e7e20d 100644 --- a/clients/client-sagemaker/commands/StartMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/StartMonitoringScheduleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartMonitoringScheduleCommandInput = StartMonitoringScheduleRequest; @@ -68,14 +68,14 @@ export class StartMonitoringScheduleCommand extends $Command< private serialize( input: StartMonitoringScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartMonitoringScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartMonitoringScheduleCommand( output, diff --git a/clients/client-sagemaker/commands/StartNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/StartNotebookInstanceCommand.ts index 07eceb37c5b9..f83b9041d33f 100644 --- a/clients/client-sagemaker/commands/StartNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/StartNotebookInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartNotebookInstanceCommandInput = StartNotebookInstanceInput; @@ -68,14 +68,14 @@ export class StartNotebookInstanceCommand extends $Command< private serialize( input: StartNotebookInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartNotebookInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartNotebookInstanceCommand(output, context); } diff --git a/clients/client-sagemaker/commands/StopAutoMLJobCommand.ts b/clients/client-sagemaker/commands/StopAutoMLJobCommand.ts index 7833428cfa7b..86518a257d5d 100644 --- a/clients/client-sagemaker/commands/StopAutoMLJobCommand.ts +++ b/clients/client-sagemaker/commands/StopAutoMLJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopAutoMLJobCommandInput = StopAutoMLJobRequest; @@ -65,14 +65,14 @@ export class StopAutoMLJobCommand extends $Command< private serialize( input: StopAutoMLJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopAutoMLJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopAutoMLJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/StopCompilationJobCommand.ts b/clients/client-sagemaker/commands/StopCompilationJobCommand.ts index b198c59e03cb..7bb303fcea39 100644 --- a/clients/client-sagemaker/commands/StopCompilationJobCommand.ts +++ b/clients/client-sagemaker/commands/StopCompilationJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopCompilationJobCommandInput = StopCompilationJobRequest; @@ -65,14 +65,14 @@ export class StopCompilationJobCommand extends $Command< private serialize( input: StopCompilationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopCompilationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopCompilationJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/StopHyperParameterTuningJobCommand.ts b/clients/client-sagemaker/commands/StopHyperParameterTuningJobCommand.ts index 4e4e148c4d8f..5b3dbc204110 100644 --- a/clients/client-sagemaker/commands/StopHyperParameterTuningJobCommand.ts +++ b/clients/client-sagemaker/commands/StopHyperParameterTuningJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopHyperParameterTuningJobCommandInput = StopHyperParameterTuningJobRequest; @@ -68,7 +68,7 @@ export class StopHyperParameterTuningJobCommand extends $Command< private serialize( input: StopHyperParameterTuningJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopHyperParameterTuningJobCommand( input, @@ -78,7 +78,7 @@ export class StopHyperParameterTuningJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopHyperParameterTuningJobCommand( output, diff --git a/clients/client-sagemaker/commands/StopLabelingJobCommand.ts b/clients/client-sagemaker/commands/StopLabelingJobCommand.ts index 658636b1976c..b888ff0cf2df 100644 --- a/clients/client-sagemaker/commands/StopLabelingJobCommand.ts +++ b/clients/client-sagemaker/commands/StopLabelingJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopLabelingJobCommandInput = StopLabelingJobRequest; @@ -65,14 +65,14 @@ export class StopLabelingJobCommand extends $Command< private serialize( input: StopLabelingJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopLabelingJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopLabelingJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/StopMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/StopMonitoringScheduleCommand.ts index fc31f16b6e9f..ab4ce7c4b68f 100644 --- a/clients/client-sagemaker/commands/StopMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/StopMonitoringScheduleCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopMonitoringScheduleCommandInput = StopMonitoringScheduleRequest; @@ -68,14 +68,14 @@ export class StopMonitoringScheduleCommand extends $Command< private serialize( input: StopMonitoringScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopMonitoringScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopMonitoringScheduleCommand(output, context); } diff --git a/clients/client-sagemaker/commands/StopNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/StopNotebookInstanceCommand.ts index 6f4deff34039..a12b68296a38 100644 --- a/clients/client-sagemaker/commands/StopNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/StopNotebookInstanceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopNotebookInstanceCommandInput = StopNotebookInstanceInput; @@ -68,14 +68,14 @@ export class StopNotebookInstanceCommand extends $Command< private serialize( input: StopNotebookInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopNotebookInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopNotebookInstanceCommand(output, context); } diff --git a/clients/client-sagemaker/commands/StopProcessingJobCommand.ts b/clients/client-sagemaker/commands/StopProcessingJobCommand.ts index 94d709bd655c..a6508e950400 100644 --- a/clients/client-sagemaker/commands/StopProcessingJobCommand.ts +++ b/clients/client-sagemaker/commands/StopProcessingJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopProcessingJobCommandInput = StopProcessingJobRequest; @@ -65,14 +65,14 @@ export class StopProcessingJobCommand extends $Command< private serialize( input: StopProcessingJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopProcessingJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopProcessingJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/StopTrainingJobCommand.ts b/clients/client-sagemaker/commands/StopTrainingJobCommand.ts index 03b00ee582e3..95e1b355e445 100644 --- a/clients/client-sagemaker/commands/StopTrainingJobCommand.ts +++ b/clients/client-sagemaker/commands/StopTrainingJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopTrainingJobCommandInput = StopTrainingJobRequest; @@ -65,14 +65,14 @@ export class StopTrainingJobCommand extends $Command< private serialize( input: StopTrainingJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopTrainingJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopTrainingJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/StopTransformJobCommand.ts b/clients/client-sagemaker/commands/StopTransformJobCommand.ts index 41c316a46bed..bc3c883442aa 100644 --- a/clients/client-sagemaker/commands/StopTransformJobCommand.ts +++ b/clients/client-sagemaker/commands/StopTransformJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopTransformJobCommandInput = StopTransformJobRequest; @@ -65,14 +65,14 @@ export class StopTransformJobCommand extends $Command< private serialize( input: StopTransformJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopTransformJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopTransformJobCommand(output, context); } diff --git a/clients/client-sagemaker/commands/UpdateCodeRepositoryCommand.ts b/clients/client-sagemaker/commands/UpdateCodeRepositoryCommand.ts index fe06e22bff70..e288252f75c7 100644 --- a/clients/client-sagemaker/commands/UpdateCodeRepositoryCommand.ts +++ b/clients/client-sagemaker/commands/UpdateCodeRepositoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCodeRepositoryCommandInput = UpdateCodeRepositoryInput; @@ -70,14 +70,14 @@ export class UpdateCodeRepositoryCommand extends $Command< private serialize( input: UpdateCodeRepositoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateCodeRepositoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateCodeRepositoryCommand(output, context); } diff --git a/clients/client-sagemaker/commands/UpdateDomainCommand.ts b/clients/client-sagemaker/commands/UpdateDomainCommand.ts index e651e4c8334c..4066e33118d3 100644 --- a/clients/client-sagemaker/commands/UpdateDomainCommand.ts +++ b/clients/client-sagemaker/commands/UpdateDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDomainCommandInput = UpdateDomainRequest; @@ -64,14 +64,14 @@ export class UpdateDomainCommand extends $Command< private serialize( input: UpdateDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDomainCommand(output, context); } diff --git a/clients/client-sagemaker/commands/UpdateEndpointCommand.ts b/clients/client-sagemaker/commands/UpdateEndpointCommand.ts index 024918e6bbcc..26d6ef18c195 100644 --- a/clients/client-sagemaker/commands/UpdateEndpointCommand.ts +++ b/clients/client-sagemaker/commands/UpdateEndpointCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEndpointCommandInput = UpdateEndpointInput; @@ -64,14 +64,14 @@ export class UpdateEndpointCommand extends $Command< private serialize( input: UpdateEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateEndpointCommand(output, context); } diff --git a/clients/client-sagemaker/commands/UpdateEndpointWeightsAndCapacitiesCommand.ts b/clients/client-sagemaker/commands/UpdateEndpointWeightsAndCapacitiesCommand.ts index a02fd70943dc..9ceee6536d56 100644 --- a/clients/client-sagemaker/commands/UpdateEndpointWeightsAndCapacitiesCommand.ts +++ b/clients/client-sagemaker/commands/UpdateEndpointWeightsAndCapacitiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEndpointWeightsAndCapacitiesCommandInput = UpdateEndpointWeightsAndCapacitiesInput; @@ -70,7 +70,7 @@ export class UpdateEndpointWeightsAndCapacitiesCommand extends $Command< private serialize( input: UpdateEndpointWeightsAndCapacitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateEndpointWeightsAndCapacitiesCommand( input, @@ -80,7 +80,7 @@ export class UpdateEndpointWeightsAndCapacitiesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateEndpointWeightsAndCapacitiesCommand( output, diff --git a/clients/client-sagemaker/commands/UpdateExperimentCommand.ts b/clients/client-sagemaker/commands/UpdateExperimentCommand.ts index 9621d5d6f586..2a74ba695b20 100644 --- a/clients/client-sagemaker/commands/UpdateExperimentCommand.ts +++ b/clients/client-sagemaker/commands/UpdateExperimentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateExperimentCommandInput = UpdateExperimentRequest; @@ -67,14 +67,14 @@ export class UpdateExperimentCommand extends $Command< private serialize( input: UpdateExperimentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateExperimentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateExperimentCommand(output, context); } diff --git a/clients/client-sagemaker/commands/UpdateMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/UpdateMonitoringScheduleCommand.ts index 4849ba2899ff..830e922cb519 100644 --- a/clients/client-sagemaker/commands/UpdateMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/UpdateMonitoringScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMonitoringScheduleCommandInput = UpdateMonitoringScheduleRequest; @@ -70,14 +70,14 @@ export class UpdateMonitoringScheduleCommand extends $Command< private serialize( input: UpdateMonitoringScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateMonitoringScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateMonitoringScheduleCommand( output, diff --git a/clients/client-sagemaker/commands/UpdateNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/UpdateNotebookInstanceCommand.ts index 979b43719bed..27db482d75b2 100644 --- a/clients/client-sagemaker/commands/UpdateNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/UpdateNotebookInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateNotebookInstanceCommandInput = UpdateNotebookInstanceInput; @@ -70,14 +70,14 @@ export class UpdateNotebookInstanceCommand extends $Command< private serialize( input: UpdateNotebookInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateNotebookInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateNotebookInstanceCommand(output, context); } diff --git a/clients/client-sagemaker/commands/UpdateNotebookInstanceLifecycleConfigCommand.ts b/clients/client-sagemaker/commands/UpdateNotebookInstanceLifecycleConfigCommand.ts index 1ee84496d876..093f229fefe3 100644 --- a/clients/client-sagemaker/commands/UpdateNotebookInstanceLifecycleConfigCommand.ts +++ b/clients/client-sagemaker/commands/UpdateNotebookInstanceLifecycleConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateNotebookInstanceLifecycleConfigCommandInput = UpdateNotebookInstanceLifecycleConfigInput; @@ -72,7 +72,7 @@ export class UpdateNotebookInstanceLifecycleConfigCommand extends $Command< private serialize( input: UpdateNotebookInstanceLifecycleConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateNotebookInstanceLifecycleConfigCommand( input, @@ -82,7 +82,7 @@ export class UpdateNotebookInstanceLifecycleConfigCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateNotebookInstanceLifecycleConfigCommand( output, diff --git a/clients/client-sagemaker/commands/UpdateTrialCommand.ts b/clients/client-sagemaker/commands/UpdateTrialCommand.ts index 42d6ec37dace..12f4d6f2dd91 100644 --- a/clients/client-sagemaker/commands/UpdateTrialCommand.ts +++ b/clients/client-sagemaker/commands/UpdateTrialCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTrialCommandInput = UpdateTrialRequest; @@ -64,14 +64,14 @@ export class UpdateTrialCommand extends $Command< private serialize( input: UpdateTrialCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTrialCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTrialCommand(output, context); } diff --git a/clients/client-sagemaker/commands/UpdateTrialComponentCommand.ts b/clients/client-sagemaker/commands/UpdateTrialComponentCommand.ts index 7ed90c5caeaf..8425b40d2676 100644 --- a/clients/client-sagemaker/commands/UpdateTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/UpdateTrialComponentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTrialComponentCommandInput = UpdateTrialComponentRequest; @@ -70,14 +70,14 @@ export class UpdateTrialComponentCommand extends $Command< private serialize( input: UpdateTrialComponentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTrialComponentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTrialComponentCommand(output, context); } diff --git a/clients/client-sagemaker/commands/UpdateUserProfileCommand.ts b/clients/client-sagemaker/commands/UpdateUserProfileCommand.ts index ea62d646f576..086d07a9b4f1 100644 --- a/clients/client-sagemaker/commands/UpdateUserProfileCommand.ts +++ b/clients/client-sagemaker/commands/UpdateUserProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserProfileCommandInput = UpdateUserProfileRequest; @@ -67,14 +67,14 @@ export class UpdateUserProfileCommand extends $Command< private serialize( input: UpdateUserProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateUserProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateUserProfileCommand(output, context); } diff --git a/clients/client-sagemaker/commands/UpdateWorkforceCommand.ts b/clients/client-sagemaker/commands/UpdateWorkforceCommand.ts index 40f621dfdb97..81cace6870fc 100644 --- a/clients/client-sagemaker/commands/UpdateWorkforceCommand.ts +++ b/clients/client-sagemaker/commands/UpdateWorkforceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateWorkforceCommandInput = UpdateWorkforceRequest; @@ -67,14 +67,14 @@ export class UpdateWorkforceCommand extends $Command< private serialize( input: UpdateWorkforceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateWorkforceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateWorkforceCommand(output, context); } diff --git a/clients/client-sagemaker/commands/UpdateWorkteamCommand.ts b/clients/client-sagemaker/commands/UpdateWorkteamCommand.ts index 5df864eed6d0..a117396a42d0 100644 --- a/clients/client-sagemaker/commands/UpdateWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/UpdateWorkteamCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateWorkteamCommandInput = UpdateWorkteamRequest; @@ -64,14 +64,14 @@ export class UpdateWorkteamCommand extends $Command< private serialize( input: UpdateWorkteamCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateWorkteamCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateWorkteamCommand(output, context); } diff --git a/clients/client-sagemaker/protocols/Aws_json1_1.ts b/clients/client-sagemaker/protocols/Aws_json1_1.ts index 40035ee77573..56f1322d2e84 100644 --- a/clients/client-sagemaker/protocols/Aws_json1_1.ts +++ b/clients/client-sagemaker/protocols/Aws_json1_1.ts @@ -28194,6 +28194,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-savingsplans/commands/CreateSavingsPlanCommand.ts b/clients/client-savingsplans/commands/CreateSavingsPlanCommand.ts index 5df3e15dd2c2..27f6c14659f5 100644 --- a/clients/client-savingsplans/commands/CreateSavingsPlanCommand.ts +++ b/clients/client-savingsplans/commands/CreateSavingsPlanCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSavingsPlanCommandInput = CreateSavingsPlanRequest; @@ -67,14 +67,14 @@ export class CreateSavingsPlanCommand extends $Command< private serialize( input: CreateSavingsPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSavingsPlanCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSavingsPlanCommand(output, context); } diff --git a/clients/client-savingsplans/commands/DescribeSavingsPlanRatesCommand.ts b/clients/client-savingsplans/commands/DescribeSavingsPlanRatesCommand.ts index 62bf196afffd..851c191b5eee 100644 --- a/clients/client-savingsplans/commands/DescribeSavingsPlanRatesCommand.ts +++ b/clients/client-savingsplans/commands/DescribeSavingsPlanRatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSavingsPlanRatesCommandInput = DescribeSavingsPlanRatesRequest; @@ -70,7 +70,7 @@ export class DescribeSavingsPlanRatesCommand extends $Command< private serialize( input: DescribeSavingsPlanRatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeSavingsPlanRatesCommand( input, @@ -80,7 +80,7 @@ export class DescribeSavingsPlanRatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeSavingsPlanRatesCommand( output, diff --git a/clients/client-savingsplans/commands/DescribeSavingsPlansCommand.ts b/clients/client-savingsplans/commands/DescribeSavingsPlansCommand.ts index 53f46a0915dd..9e9cb2091d35 100644 --- a/clients/client-savingsplans/commands/DescribeSavingsPlansCommand.ts +++ b/clients/client-savingsplans/commands/DescribeSavingsPlansCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSavingsPlansCommandInput = DescribeSavingsPlansRequest; @@ -70,14 +70,14 @@ export class DescribeSavingsPlansCommand extends $Command< private serialize( input: DescribeSavingsPlansCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeSavingsPlansCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeSavingsPlansCommand( output, diff --git a/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingRatesCommand.ts b/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingRatesCommand.ts index cdb1b1ad24bd..67316b747710 100644 --- a/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingRatesCommand.ts +++ b/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingRatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSavingsPlansOfferingRatesCommandInput = DescribeSavingsPlansOfferingRatesRequest; @@ -70,7 +70,7 @@ export class DescribeSavingsPlansOfferingRatesCommand extends $Command< private serialize( input: DescribeSavingsPlansOfferingRatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeSavingsPlansOfferingRatesCommand( input, @@ -80,7 +80,7 @@ export class DescribeSavingsPlansOfferingRatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeSavingsPlansOfferingRatesCommand( output, diff --git a/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingsCommand.ts b/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingsCommand.ts index be9d016fc95a..77798fee1474 100644 --- a/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingsCommand.ts +++ b/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSavingsPlansOfferingsCommandInput = DescribeSavingsPlansOfferingsRequest; @@ -70,7 +70,7 @@ export class DescribeSavingsPlansOfferingsCommand extends $Command< private serialize( input: DescribeSavingsPlansOfferingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeSavingsPlansOfferingsCommand( input, @@ -80,7 +80,7 @@ export class DescribeSavingsPlansOfferingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeSavingsPlansOfferingsCommand( output, diff --git a/clients/client-savingsplans/commands/ListTagsForResourceCommand.ts b/clients/client-savingsplans/commands/ListTagsForResourceCommand.ts index f9173aaa80bd..b6f65a6a7315 100644 --- a/clients/client-savingsplans/commands/ListTagsForResourceCommand.ts +++ b/clients/client-savingsplans/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-savingsplans/commands/TagResourceCommand.ts b/clients/client-savingsplans/commands/TagResourceCommand.ts index 8e9f9c2fc4e0..7bb56272223e 100644 --- a/clients/client-savingsplans/commands/TagResourceCommand.ts +++ b/clients/client-savingsplans/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-savingsplans/commands/UntagResourceCommand.ts b/clients/client-savingsplans/commands/UntagResourceCommand.ts index 72f5a2d192c0..4b9767018f4b 100644 --- a/clients/client-savingsplans/commands/UntagResourceCommand.ts +++ b/clients/client-savingsplans/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-savingsplans/protocols/Aws_restJson1_1.ts b/clients/client-savingsplans/protocols/Aws_restJson1_1.ts index 8adce03694dd..29428a06f4bb 100644 --- a/clients/client-savingsplans/protocols/Aws_restJson1_1.ts +++ b/clients/client-savingsplans/protocols/Aws_restJson1_1.ts @@ -1764,6 +1764,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-schemas/commands/CreateDiscovererCommand.ts b/clients/client-schemas/commands/CreateDiscovererCommand.ts index 2417d3cc3125..5aaaaa3e0e7e 100644 --- a/clients/client-schemas/commands/CreateDiscovererCommand.ts +++ b/clients/client-schemas/commands/CreateDiscovererCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDiscovererCommandInput = CreateDiscovererRequest; @@ -67,14 +67,14 @@ export class CreateDiscovererCommand extends $Command< private serialize( input: CreateDiscovererCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDiscovererCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDiscovererCommand(output, context); } diff --git a/clients/client-schemas/commands/CreateRegistryCommand.ts b/clients/client-schemas/commands/CreateRegistryCommand.ts index 11833d33e12b..d313421d7db5 100644 --- a/clients/client-schemas/commands/CreateRegistryCommand.ts +++ b/clients/client-schemas/commands/CreateRegistryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRegistryCommandInput = CreateRegistryRequest; @@ -64,14 +64,14 @@ export class CreateRegistryCommand extends $Command< private serialize( input: CreateRegistryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateRegistryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateRegistryCommand(output, context); } diff --git a/clients/client-schemas/commands/CreateSchemaCommand.ts b/clients/client-schemas/commands/CreateSchemaCommand.ts index d53113dbd277..c5563221056b 100644 --- a/clients/client-schemas/commands/CreateSchemaCommand.ts +++ b/clients/client-schemas/commands/CreateSchemaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSchemaCommandInput = CreateSchemaRequest; @@ -64,14 +64,14 @@ export class CreateSchemaCommand extends $Command< private serialize( input: CreateSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSchemaCommand(output, context); } diff --git a/clients/client-schemas/commands/DeleteDiscovererCommand.ts b/clients/client-schemas/commands/DeleteDiscovererCommand.ts index bfa06854694f..287f7da867ad 100644 --- a/clients/client-schemas/commands/DeleteDiscovererCommand.ts +++ b/clients/client-schemas/commands/DeleteDiscovererCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDiscovererCommandInput = DeleteDiscovererRequest; @@ -65,14 +65,14 @@ export class DeleteDiscovererCommand extends $Command< private serialize( input: DeleteDiscovererCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDiscovererCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDiscovererCommand(output, context); } diff --git a/clients/client-schemas/commands/DeleteRegistryCommand.ts b/clients/client-schemas/commands/DeleteRegistryCommand.ts index eceb183efe91..3233675b2c96 100644 --- a/clients/client-schemas/commands/DeleteRegistryCommand.ts +++ b/clients/client-schemas/commands/DeleteRegistryCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRegistryCommandInput = DeleteRegistryRequest; @@ -65,14 +65,14 @@ export class DeleteRegistryCommand extends $Command< private serialize( input: DeleteRegistryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteRegistryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteRegistryCommand(output, context); } diff --git a/clients/client-schemas/commands/DeleteSchemaCommand.ts b/clients/client-schemas/commands/DeleteSchemaCommand.ts index e2a762282e60..3b455f97dab8 100644 --- a/clients/client-schemas/commands/DeleteSchemaCommand.ts +++ b/clients/client-schemas/commands/DeleteSchemaCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSchemaCommandInput = DeleteSchemaRequest; @@ -65,14 +65,14 @@ export class DeleteSchemaCommand extends $Command< private serialize( input: DeleteSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSchemaCommand(output, context); } diff --git a/clients/client-schemas/commands/DeleteSchemaVersionCommand.ts b/clients/client-schemas/commands/DeleteSchemaVersionCommand.ts index f075da85a1ab..b261b9af338f 100644 --- a/clients/client-schemas/commands/DeleteSchemaVersionCommand.ts +++ b/clients/client-schemas/commands/DeleteSchemaVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSchemaVersionCommandInput = DeleteSchemaVersionRequest; @@ -68,14 +68,14 @@ export class DeleteSchemaVersionCommand extends $Command< private serialize( input: DeleteSchemaVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSchemaVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSchemaVersionCommand( output, diff --git a/clients/client-schemas/commands/DescribeCodeBindingCommand.ts b/clients/client-schemas/commands/DescribeCodeBindingCommand.ts index 23e5cee43440..f9112b504dbb 100644 --- a/clients/client-schemas/commands/DescribeCodeBindingCommand.ts +++ b/clients/client-schemas/commands/DescribeCodeBindingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCodeBindingCommandInput = DescribeCodeBindingRequest; @@ -70,14 +70,14 @@ export class DescribeCodeBindingCommand extends $Command< private serialize( input: DescribeCodeBindingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeCodeBindingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeCodeBindingCommand( output, diff --git a/clients/client-schemas/commands/DescribeDiscovererCommand.ts b/clients/client-schemas/commands/DescribeDiscovererCommand.ts index 8a7ec185038d..37d80c6580bd 100644 --- a/clients/client-schemas/commands/DescribeDiscovererCommand.ts +++ b/clients/client-schemas/commands/DescribeDiscovererCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDiscovererCommandInput = DescribeDiscovererRequest; @@ -67,14 +67,14 @@ export class DescribeDiscovererCommand extends $Command< private serialize( input: DescribeDiscovererCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDiscovererCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDiscovererCommand(output, context); } diff --git a/clients/client-schemas/commands/DescribeRegistryCommand.ts b/clients/client-schemas/commands/DescribeRegistryCommand.ts index a9b75863e44b..f2c6afca0da5 100644 --- a/clients/client-schemas/commands/DescribeRegistryCommand.ts +++ b/clients/client-schemas/commands/DescribeRegistryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRegistryCommandInput = DescribeRegistryRequest; @@ -67,14 +67,14 @@ export class DescribeRegistryCommand extends $Command< private serialize( input: DescribeRegistryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeRegistryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeRegistryCommand(output, context); } diff --git a/clients/client-schemas/commands/DescribeSchemaCommand.ts b/clients/client-schemas/commands/DescribeSchemaCommand.ts index 23a0c61bb6a8..c732d7bf3a65 100644 --- a/clients/client-schemas/commands/DescribeSchemaCommand.ts +++ b/clients/client-schemas/commands/DescribeSchemaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSchemaCommandInput = DescribeSchemaRequest; @@ -64,14 +64,14 @@ export class DescribeSchemaCommand extends $Command< private serialize( input: DescribeSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeSchemaCommand(output, context); } diff --git a/clients/client-schemas/commands/GetCodeBindingSourceCommand.ts b/clients/client-schemas/commands/GetCodeBindingSourceCommand.ts index f5c1ad9a1068..9f23f9556a7f 100644 --- a/clients/client-schemas/commands/GetCodeBindingSourceCommand.ts +++ b/clients/client-schemas/commands/GetCodeBindingSourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCodeBindingSourceCommandInput = GetCodeBindingSourceRequest; @@ -70,14 +70,14 @@ export class GetCodeBindingSourceCommand extends $Command< private serialize( input: GetCodeBindingSourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCodeBindingSourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCodeBindingSourceCommand( output, diff --git a/clients/client-schemas/commands/GetDiscoveredSchemaCommand.ts b/clients/client-schemas/commands/GetDiscoveredSchemaCommand.ts index f1c636d330d4..9b98eb0bd57c 100644 --- a/clients/client-schemas/commands/GetDiscoveredSchemaCommand.ts +++ b/clients/client-schemas/commands/GetDiscoveredSchemaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDiscoveredSchemaCommandInput = GetDiscoveredSchemaRequest; @@ -70,14 +70,14 @@ export class GetDiscoveredSchemaCommand extends $Command< private serialize( input: GetDiscoveredSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDiscoveredSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDiscoveredSchemaCommand( output, diff --git a/clients/client-schemas/commands/ListDiscoverersCommand.ts b/clients/client-schemas/commands/ListDiscoverersCommand.ts index b24513ecded1..490aacc5ff27 100644 --- a/clients/client-schemas/commands/ListDiscoverersCommand.ts +++ b/clients/client-schemas/commands/ListDiscoverersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDiscoverersCommandInput = ListDiscoverersRequest; @@ -67,14 +67,14 @@ export class ListDiscoverersCommand extends $Command< private serialize( input: ListDiscoverersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDiscoverersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDiscoverersCommand(output, context); } diff --git a/clients/client-schemas/commands/ListRegistriesCommand.ts b/clients/client-schemas/commands/ListRegistriesCommand.ts index 7e8347ca907e..81bb1dd11fe0 100644 --- a/clients/client-schemas/commands/ListRegistriesCommand.ts +++ b/clients/client-schemas/commands/ListRegistriesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRegistriesCommandInput = ListRegistriesRequest; @@ -64,14 +64,14 @@ export class ListRegistriesCommand extends $Command< private serialize( input: ListRegistriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListRegistriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListRegistriesCommand(output, context); } diff --git a/clients/client-schemas/commands/ListSchemaVersionsCommand.ts b/clients/client-schemas/commands/ListSchemaVersionsCommand.ts index aad2ad6c1723..c44efe396438 100644 --- a/clients/client-schemas/commands/ListSchemaVersionsCommand.ts +++ b/clients/client-schemas/commands/ListSchemaVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSchemaVersionsCommandInput = ListSchemaVersionsRequest; @@ -67,14 +67,14 @@ export class ListSchemaVersionsCommand extends $Command< private serialize( input: ListSchemaVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSchemaVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSchemaVersionsCommand(output, context); } diff --git a/clients/client-schemas/commands/ListSchemasCommand.ts b/clients/client-schemas/commands/ListSchemasCommand.ts index 8c28aa6d15f6..542adc566479 100644 --- a/clients/client-schemas/commands/ListSchemasCommand.ts +++ b/clients/client-schemas/commands/ListSchemasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSchemasCommandInput = ListSchemasRequest; @@ -64,14 +64,14 @@ export class ListSchemasCommand extends $Command< private serialize( input: ListSchemasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSchemasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSchemasCommand(output, context); } diff --git a/clients/client-schemas/commands/ListTagsForResourceCommand.ts b/clients/client-schemas/commands/ListTagsForResourceCommand.ts index 3c3df3a5b3a3..d15905fc8c58 100644 --- a/clients/client-schemas/commands/ListTagsForResourceCommand.ts +++ b/clients/client-schemas/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-schemas/commands/LockServiceLinkedRoleCommand.ts b/clients/client-schemas/commands/LockServiceLinkedRoleCommand.ts index df66296ddf25..d9e63c14ce66 100644 --- a/clients/client-schemas/commands/LockServiceLinkedRoleCommand.ts +++ b/clients/client-schemas/commands/LockServiceLinkedRoleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type LockServiceLinkedRoleCommandInput = LockServiceLinkedRoleRequest; @@ -70,14 +70,14 @@ export class LockServiceLinkedRoleCommand extends $Command< private serialize( input: LockServiceLinkedRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1LockServiceLinkedRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1LockServiceLinkedRoleCommand( output, diff --git a/clients/client-schemas/commands/PutCodeBindingCommand.ts b/clients/client-schemas/commands/PutCodeBindingCommand.ts index 13da8c1c9249..d2034ce0f772 100644 --- a/clients/client-schemas/commands/PutCodeBindingCommand.ts +++ b/clients/client-schemas/commands/PutCodeBindingCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutCodeBindingCommandInput = PutCodeBindingRequest; @@ -64,14 +64,14 @@ export class PutCodeBindingCommand extends $Command< private serialize( input: PutCodeBindingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutCodeBindingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutCodeBindingCommand(output, context); } diff --git a/clients/client-schemas/commands/SearchSchemasCommand.ts b/clients/client-schemas/commands/SearchSchemasCommand.ts index b2099d80aa91..18b97010a296 100644 --- a/clients/client-schemas/commands/SearchSchemasCommand.ts +++ b/clients/client-schemas/commands/SearchSchemasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchSchemasCommandInput = SearchSchemasRequest; @@ -64,14 +64,14 @@ export class SearchSchemasCommand extends $Command< private serialize( input: SearchSchemasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SearchSchemasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SearchSchemasCommand(output, context); } diff --git a/clients/client-schemas/commands/StartDiscovererCommand.ts b/clients/client-schemas/commands/StartDiscovererCommand.ts index aa7b0d49af78..bfd2bd4db9a7 100644 --- a/clients/client-schemas/commands/StartDiscovererCommand.ts +++ b/clients/client-schemas/commands/StartDiscovererCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDiscovererCommandInput = StartDiscovererRequest; @@ -67,14 +67,14 @@ export class StartDiscovererCommand extends $Command< private serialize( input: StartDiscovererCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartDiscovererCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartDiscovererCommand(output, context); } diff --git a/clients/client-schemas/commands/StopDiscovererCommand.ts b/clients/client-schemas/commands/StopDiscovererCommand.ts index 8d7edfd043da..d47b266e9f89 100644 --- a/clients/client-schemas/commands/StopDiscovererCommand.ts +++ b/clients/client-schemas/commands/StopDiscovererCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopDiscovererCommandInput = StopDiscovererRequest; @@ -64,14 +64,14 @@ export class StopDiscovererCommand extends $Command< private serialize( input: StopDiscovererCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StopDiscovererCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StopDiscovererCommand(output, context); } diff --git a/clients/client-schemas/commands/TagResourceCommand.ts b/clients/client-schemas/commands/TagResourceCommand.ts index b24abf3a8478..a027b1308b57 100644 --- a/clients/client-schemas/commands/TagResourceCommand.ts +++ b/clients/client-schemas/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-schemas/commands/UnlockServiceLinkedRoleCommand.ts b/clients/client-schemas/commands/UnlockServiceLinkedRoleCommand.ts index 563f6e2debfb..f3b06e0bce43 100644 --- a/clients/client-schemas/commands/UnlockServiceLinkedRoleCommand.ts +++ b/clients/client-schemas/commands/UnlockServiceLinkedRoleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnlockServiceLinkedRoleCommandInput = UnlockServiceLinkedRoleRequest; @@ -70,7 +70,7 @@ export class UnlockServiceLinkedRoleCommand extends $Command< private serialize( input: UnlockServiceLinkedRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UnlockServiceLinkedRoleCommand( input, @@ -80,7 +80,7 @@ export class UnlockServiceLinkedRoleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UnlockServiceLinkedRoleCommand( output, diff --git a/clients/client-schemas/commands/UntagResourceCommand.ts b/clients/client-schemas/commands/UntagResourceCommand.ts index 8d4e810259c3..d9bea27d697c 100644 --- a/clients/client-schemas/commands/UntagResourceCommand.ts +++ b/clients/client-schemas/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-schemas/commands/UpdateDiscovererCommand.ts b/clients/client-schemas/commands/UpdateDiscovererCommand.ts index 25de9f302949..fae29694805b 100644 --- a/clients/client-schemas/commands/UpdateDiscovererCommand.ts +++ b/clients/client-schemas/commands/UpdateDiscovererCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDiscovererCommandInput = UpdateDiscovererRequest; @@ -67,14 +67,14 @@ export class UpdateDiscovererCommand extends $Command< private serialize( input: UpdateDiscovererCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDiscovererCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDiscovererCommand(output, context); } diff --git a/clients/client-schemas/commands/UpdateRegistryCommand.ts b/clients/client-schemas/commands/UpdateRegistryCommand.ts index 94d7d9577b76..00990035b10b 100644 --- a/clients/client-schemas/commands/UpdateRegistryCommand.ts +++ b/clients/client-schemas/commands/UpdateRegistryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRegistryCommandInput = UpdateRegistryRequest; @@ -64,14 +64,14 @@ export class UpdateRegistryCommand extends $Command< private serialize( input: UpdateRegistryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateRegistryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateRegistryCommand(output, context); } diff --git a/clients/client-schemas/commands/UpdateSchemaCommand.ts b/clients/client-schemas/commands/UpdateSchemaCommand.ts index a54e7c6a46a8..afe2cecd36ef 100644 --- a/clients/client-schemas/commands/UpdateSchemaCommand.ts +++ b/clients/client-schemas/commands/UpdateSchemaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSchemaCommandInput = UpdateSchemaRequest; @@ -64,14 +64,14 @@ export class UpdateSchemaCommand extends $Command< private serialize( input: UpdateSchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateSchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateSchemaCommand(output, context); } diff --git a/clients/client-schemas/protocols/Aws_restJson1_1.ts b/clients/client-schemas/protocols/Aws_restJson1_1.ts index 9d67d7cb1acb..71fa99990cce 100644 --- a/clients/client-schemas/protocols/Aws_restJson1_1.ts +++ b/clients/client-schemas/protocols/Aws_restJson1_1.ts @@ -4518,6 +4518,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-secrets-manager/commands/CancelRotateSecretCommand.ts b/clients/client-secrets-manager/commands/CancelRotateSecretCommand.ts index 4274074a3a7e..fd8592f018fd 100644 --- a/clients/client-secrets-manager/commands/CancelRotateSecretCommand.ts +++ b/clients/client-secrets-manager/commands/CancelRotateSecretCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelRotateSecretCommandInput = CancelRotateSecretRequest; @@ -67,14 +67,14 @@ export class CancelRotateSecretCommand extends $Command< private serialize( input: CancelRotateSecretCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelRotateSecretCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelRotateSecretCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/CreateSecretCommand.ts b/clients/client-secrets-manager/commands/CreateSecretCommand.ts index 146632b11b97..715217cfcc57 100644 --- a/clients/client-secrets-manager/commands/CreateSecretCommand.ts +++ b/clients/client-secrets-manager/commands/CreateSecretCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSecretCommandInput = CreateSecretRequest; @@ -64,14 +64,14 @@ export class CreateSecretCommand extends $Command< private serialize( input: CreateSecretCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSecretCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSecretCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/DeleteResourcePolicyCommand.ts b/clients/client-secrets-manager/commands/DeleteResourcePolicyCommand.ts index 864fb19d9642..26fa3823c60a 100644 --- a/clients/client-secrets-manager/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-secrets-manager/commands/DeleteResourcePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResourcePolicyCommandInput = DeleteResourcePolicyRequest; @@ -70,14 +70,14 @@ export class DeleteResourcePolicyCommand extends $Command< private serialize( input: DeleteResourcePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteResourcePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteResourcePolicyCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/DeleteSecretCommand.ts b/clients/client-secrets-manager/commands/DeleteSecretCommand.ts index 9a3416551960..e4b26b8e71bf 100644 --- a/clients/client-secrets-manager/commands/DeleteSecretCommand.ts +++ b/clients/client-secrets-manager/commands/DeleteSecretCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSecretCommandInput = DeleteSecretRequest; @@ -64,14 +64,14 @@ export class DeleteSecretCommand extends $Command< private serialize( input: DeleteSecretCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSecretCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSecretCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/DescribeSecretCommand.ts b/clients/client-secrets-manager/commands/DescribeSecretCommand.ts index e2aa4bf6d1cf..b5e24d5a0afe 100644 --- a/clients/client-secrets-manager/commands/DescribeSecretCommand.ts +++ b/clients/client-secrets-manager/commands/DescribeSecretCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSecretCommandInput = DescribeSecretRequest; @@ -64,14 +64,14 @@ export class DescribeSecretCommand extends $Command< private serialize( input: DescribeSecretCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSecretCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSecretCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/GetRandomPasswordCommand.ts b/clients/client-secrets-manager/commands/GetRandomPasswordCommand.ts index 4fc873239ae5..1c8d4147a78e 100644 --- a/clients/client-secrets-manager/commands/GetRandomPasswordCommand.ts +++ b/clients/client-secrets-manager/commands/GetRandomPasswordCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRandomPasswordCommandInput = GetRandomPasswordRequest; @@ -67,14 +67,14 @@ export class GetRandomPasswordCommand extends $Command< private serialize( input: GetRandomPasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRandomPasswordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRandomPasswordCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/GetResourcePolicyCommand.ts b/clients/client-secrets-manager/commands/GetResourcePolicyCommand.ts index 89aef10b328c..b3f850b9cafc 100644 --- a/clients/client-secrets-manager/commands/GetResourcePolicyCommand.ts +++ b/clients/client-secrets-manager/commands/GetResourcePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourcePolicyCommandInput = GetResourcePolicyRequest; @@ -67,14 +67,14 @@ export class GetResourcePolicyCommand extends $Command< private serialize( input: GetResourcePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetResourcePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetResourcePolicyCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/GetSecretValueCommand.ts b/clients/client-secrets-manager/commands/GetSecretValueCommand.ts index 6dc839aa255a..d4c568cd40b7 100644 --- a/clients/client-secrets-manager/commands/GetSecretValueCommand.ts +++ b/clients/client-secrets-manager/commands/GetSecretValueCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSecretValueCommandInput = GetSecretValueRequest; @@ -64,14 +64,14 @@ export class GetSecretValueCommand extends $Command< private serialize( input: GetSecretValueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSecretValueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSecretValueCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/ListSecretVersionIdsCommand.ts b/clients/client-secrets-manager/commands/ListSecretVersionIdsCommand.ts index 2bee21fc08ff..e10926eb3ee8 100644 --- a/clients/client-secrets-manager/commands/ListSecretVersionIdsCommand.ts +++ b/clients/client-secrets-manager/commands/ListSecretVersionIdsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSecretVersionIdsCommandInput = ListSecretVersionIdsRequest; @@ -70,14 +70,14 @@ export class ListSecretVersionIdsCommand extends $Command< private serialize( input: ListSecretVersionIdsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSecretVersionIdsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSecretVersionIdsCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/ListSecretsCommand.ts b/clients/client-secrets-manager/commands/ListSecretsCommand.ts index fde56940acf3..8c1e23aef139 100644 --- a/clients/client-secrets-manager/commands/ListSecretsCommand.ts +++ b/clients/client-secrets-manager/commands/ListSecretsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSecretsCommandInput = ListSecretsRequest; @@ -64,14 +64,14 @@ export class ListSecretsCommand extends $Command< private serialize( input: ListSecretsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSecretsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSecretsCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/PutResourcePolicyCommand.ts b/clients/client-secrets-manager/commands/PutResourcePolicyCommand.ts index d424170de31a..6c85dff30f13 100644 --- a/clients/client-secrets-manager/commands/PutResourcePolicyCommand.ts +++ b/clients/client-secrets-manager/commands/PutResourcePolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutResourcePolicyCommandInput = PutResourcePolicyRequest; @@ -67,14 +67,14 @@ export class PutResourcePolicyCommand extends $Command< private serialize( input: PutResourcePolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutResourcePolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutResourcePolicyCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/PutSecretValueCommand.ts b/clients/client-secrets-manager/commands/PutSecretValueCommand.ts index f94bca1159f9..900087d7a703 100644 --- a/clients/client-secrets-manager/commands/PutSecretValueCommand.ts +++ b/clients/client-secrets-manager/commands/PutSecretValueCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutSecretValueCommandInput = PutSecretValueRequest; @@ -64,14 +64,14 @@ export class PutSecretValueCommand extends $Command< private serialize( input: PutSecretValueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutSecretValueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutSecretValueCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/RestoreSecretCommand.ts b/clients/client-secrets-manager/commands/RestoreSecretCommand.ts index f951f5a9dde0..8c20622bd2c2 100644 --- a/clients/client-secrets-manager/commands/RestoreSecretCommand.ts +++ b/clients/client-secrets-manager/commands/RestoreSecretCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreSecretCommandInput = RestoreSecretRequest; @@ -64,14 +64,14 @@ export class RestoreSecretCommand extends $Command< private serialize( input: RestoreSecretCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RestoreSecretCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RestoreSecretCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/RotateSecretCommand.ts b/clients/client-secrets-manager/commands/RotateSecretCommand.ts index eea547074f88..925599825bbd 100644 --- a/clients/client-secrets-manager/commands/RotateSecretCommand.ts +++ b/clients/client-secrets-manager/commands/RotateSecretCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RotateSecretCommandInput = RotateSecretRequest; @@ -64,14 +64,14 @@ export class RotateSecretCommand extends $Command< private serialize( input: RotateSecretCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RotateSecretCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RotateSecretCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/TagResourceCommand.ts b/clients/client-secrets-manager/commands/TagResourceCommand.ts index 276cd0d745f1..63e3f1d21ce0 100644 --- a/clients/client-secrets-manager/commands/TagResourceCommand.ts +++ b/clients/client-secrets-manager/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/UntagResourceCommand.ts b/clients/client-secrets-manager/commands/UntagResourceCommand.ts index dfb75048407a..579f6870f649 100644 --- a/clients/client-secrets-manager/commands/UntagResourceCommand.ts +++ b/clients/client-secrets-manager/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/UpdateSecretCommand.ts b/clients/client-secrets-manager/commands/UpdateSecretCommand.ts index c53693afaf93..94f2d94c71bf 100644 --- a/clients/client-secrets-manager/commands/UpdateSecretCommand.ts +++ b/clients/client-secrets-manager/commands/UpdateSecretCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSecretCommandInput = UpdateSecretRequest; @@ -64,14 +64,14 @@ export class UpdateSecretCommand extends $Command< private serialize( input: UpdateSecretCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSecretCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSecretCommand(output, context); } diff --git a/clients/client-secrets-manager/commands/UpdateSecretVersionStageCommand.ts b/clients/client-secrets-manager/commands/UpdateSecretVersionStageCommand.ts index c884809fca1f..a7d5ec54627f 100644 --- a/clients/client-secrets-manager/commands/UpdateSecretVersionStageCommand.ts +++ b/clients/client-secrets-manager/commands/UpdateSecretVersionStageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSecretVersionStageCommandInput = UpdateSecretVersionStageRequest; @@ -70,14 +70,14 @@ export class UpdateSecretVersionStageCommand extends $Command< private serialize( input: UpdateSecretVersionStageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSecretVersionStageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSecretVersionStageCommand( output, diff --git a/clients/client-secrets-manager/protocols/Aws_json1_1.ts b/clients/client-secrets-manager/protocols/Aws_json1_1.ts index 7f76acbe3fd0..0408f17ce764 100644 --- a/clients/client-secrets-manager/protocols/Aws_json1_1.ts +++ b/clients/client-secrets-manager/protocols/Aws_json1_1.ts @@ -3210,6 +3210,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-securityhub/commands/AcceptInvitationCommand.ts b/clients/client-securityhub/commands/AcceptInvitationCommand.ts index b4f43fee40f3..003643be724c 100644 --- a/clients/client-securityhub/commands/AcceptInvitationCommand.ts +++ b/clients/client-securityhub/commands/AcceptInvitationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptInvitationCommandInput = AcceptInvitationRequest; @@ -67,14 +67,14 @@ export class AcceptInvitationCommand extends $Command< private serialize( input: AcceptInvitationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AcceptInvitationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AcceptInvitationCommand(output, context); } diff --git a/clients/client-securityhub/commands/BatchDisableStandardsCommand.ts b/clients/client-securityhub/commands/BatchDisableStandardsCommand.ts index 3b365a2945a0..88b475a114ea 100644 --- a/clients/client-securityhub/commands/BatchDisableStandardsCommand.ts +++ b/clients/client-securityhub/commands/BatchDisableStandardsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDisableStandardsCommandInput = BatchDisableStandardsRequest; @@ -70,14 +70,14 @@ export class BatchDisableStandardsCommand extends $Command< private serialize( input: BatchDisableStandardsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchDisableStandardsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchDisableStandardsCommand( output, diff --git a/clients/client-securityhub/commands/BatchEnableStandardsCommand.ts b/clients/client-securityhub/commands/BatchEnableStandardsCommand.ts index 10bcbe3a5a1a..c9fd5922028a 100644 --- a/clients/client-securityhub/commands/BatchEnableStandardsCommand.ts +++ b/clients/client-securityhub/commands/BatchEnableStandardsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchEnableStandardsCommandInput = BatchEnableStandardsRequest; @@ -70,14 +70,14 @@ export class BatchEnableStandardsCommand extends $Command< private serialize( input: BatchEnableStandardsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchEnableStandardsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchEnableStandardsCommand( output, diff --git a/clients/client-securityhub/commands/BatchImportFindingsCommand.ts b/clients/client-securityhub/commands/BatchImportFindingsCommand.ts index ea1d64fd4d0b..99ca82cfa1d7 100644 --- a/clients/client-securityhub/commands/BatchImportFindingsCommand.ts +++ b/clients/client-securityhub/commands/BatchImportFindingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchImportFindingsCommandInput = BatchImportFindingsRequest; @@ -70,14 +70,14 @@ export class BatchImportFindingsCommand extends $Command< private serialize( input: BatchImportFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchImportFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchImportFindingsCommand( output, diff --git a/clients/client-securityhub/commands/CreateActionTargetCommand.ts b/clients/client-securityhub/commands/CreateActionTargetCommand.ts index b6e314a7ac60..69f072bf4dd2 100644 --- a/clients/client-securityhub/commands/CreateActionTargetCommand.ts +++ b/clients/client-securityhub/commands/CreateActionTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateActionTargetCommandInput = CreateActionTargetRequest; @@ -67,14 +67,14 @@ export class CreateActionTargetCommand extends $Command< private serialize( input: CreateActionTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateActionTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateActionTargetCommand(output, context); } diff --git a/clients/client-securityhub/commands/CreateInsightCommand.ts b/clients/client-securityhub/commands/CreateInsightCommand.ts index ef10bbe15bac..f948aaa3233c 100644 --- a/clients/client-securityhub/commands/CreateInsightCommand.ts +++ b/clients/client-securityhub/commands/CreateInsightCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateInsightCommandInput = CreateInsightRequest; @@ -64,14 +64,14 @@ export class CreateInsightCommand extends $Command< private serialize( input: CreateInsightCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateInsightCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateInsightCommand(output, context); } diff --git a/clients/client-securityhub/commands/CreateMembersCommand.ts b/clients/client-securityhub/commands/CreateMembersCommand.ts index 68a851025dfa..691067780ce5 100644 --- a/clients/client-securityhub/commands/CreateMembersCommand.ts +++ b/clients/client-securityhub/commands/CreateMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMembersCommandInput = CreateMembersRequest; @@ -64,14 +64,14 @@ export class CreateMembersCommand extends $Command< private serialize( input: CreateMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateMembersCommand(output, context); } diff --git a/clients/client-securityhub/commands/DeclineInvitationsCommand.ts b/clients/client-securityhub/commands/DeclineInvitationsCommand.ts index 40d6f442405a..79a8810ed33f 100644 --- a/clients/client-securityhub/commands/DeclineInvitationsCommand.ts +++ b/clients/client-securityhub/commands/DeclineInvitationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeclineInvitationsCommandInput = DeclineInvitationsRequest; @@ -67,14 +67,14 @@ export class DeclineInvitationsCommand extends $Command< private serialize( input: DeclineInvitationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeclineInvitationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeclineInvitationsCommand(output, context); } diff --git a/clients/client-securityhub/commands/DeleteActionTargetCommand.ts b/clients/client-securityhub/commands/DeleteActionTargetCommand.ts index 6d366fb37697..ddc35a385397 100644 --- a/clients/client-securityhub/commands/DeleteActionTargetCommand.ts +++ b/clients/client-securityhub/commands/DeleteActionTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteActionTargetCommandInput = DeleteActionTargetRequest; @@ -67,14 +67,14 @@ export class DeleteActionTargetCommand extends $Command< private serialize( input: DeleteActionTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteActionTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteActionTargetCommand(output, context); } diff --git a/clients/client-securityhub/commands/DeleteInsightCommand.ts b/clients/client-securityhub/commands/DeleteInsightCommand.ts index 36f24efc64a5..bfa14d4a2df9 100644 --- a/clients/client-securityhub/commands/DeleteInsightCommand.ts +++ b/clients/client-securityhub/commands/DeleteInsightCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInsightCommandInput = DeleteInsightRequest; @@ -64,14 +64,14 @@ export class DeleteInsightCommand extends $Command< private serialize( input: DeleteInsightCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteInsightCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteInsightCommand(output, context); } diff --git a/clients/client-securityhub/commands/DeleteInvitationsCommand.ts b/clients/client-securityhub/commands/DeleteInvitationsCommand.ts index 791be853fc3e..19616a3d17b2 100644 --- a/clients/client-securityhub/commands/DeleteInvitationsCommand.ts +++ b/clients/client-securityhub/commands/DeleteInvitationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInvitationsCommandInput = DeleteInvitationsRequest; @@ -67,14 +67,14 @@ export class DeleteInvitationsCommand extends $Command< private serialize( input: DeleteInvitationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteInvitationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteInvitationsCommand(output, context); } diff --git a/clients/client-securityhub/commands/DeleteMembersCommand.ts b/clients/client-securityhub/commands/DeleteMembersCommand.ts index db268b498ea4..4bb252884448 100644 --- a/clients/client-securityhub/commands/DeleteMembersCommand.ts +++ b/clients/client-securityhub/commands/DeleteMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMembersCommandInput = DeleteMembersRequest; @@ -64,14 +64,14 @@ export class DeleteMembersCommand extends $Command< private serialize( input: DeleteMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteMembersCommand(output, context); } diff --git a/clients/client-securityhub/commands/DescribeActionTargetsCommand.ts b/clients/client-securityhub/commands/DescribeActionTargetsCommand.ts index c089f9b9765d..6bc3a95c4b1b 100644 --- a/clients/client-securityhub/commands/DescribeActionTargetsCommand.ts +++ b/clients/client-securityhub/commands/DescribeActionTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeActionTargetsCommandInput = DescribeActionTargetsRequest; @@ -70,14 +70,14 @@ export class DescribeActionTargetsCommand extends $Command< private serialize( input: DescribeActionTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeActionTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeActionTargetsCommand( output, diff --git a/clients/client-securityhub/commands/DescribeHubCommand.ts b/clients/client-securityhub/commands/DescribeHubCommand.ts index 567dfe6b2016..5cc2b5a5d4c8 100644 --- a/clients/client-securityhub/commands/DescribeHubCommand.ts +++ b/clients/client-securityhub/commands/DescribeHubCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeHubCommandInput = DescribeHubRequest; @@ -64,14 +64,14 @@ export class DescribeHubCommand extends $Command< private serialize( input: DescribeHubCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeHubCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeHubCommand(output, context); } diff --git a/clients/client-securityhub/commands/DescribeProductsCommand.ts b/clients/client-securityhub/commands/DescribeProductsCommand.ts index cb23a66d3560..a98d260e961f 100644 --- a/clients/client-securityhub/commands/DescribeProductsCommand.ts +++ b/clients/client-securityhub/commands/DescribeProductsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProductsCommandInput = DescribeProductsRequest; @@ -67,14 +67,14 @@ export class DescribeProductsCommand extends $Command< private serialize( input: DescribeProductsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeProductsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeProductsCommand(output, context); } diff --git a/clients/client-securityhub/commands/DescribeStandardsControlsCommand.ts b/clients/client-securityhub/commands/DescribeStandardsControlsCommand.ts index f63d2f3ca3e9..1588166149db 100644 --- a/clients/client-securityhub/commands/DescribeStandardsControlsCommand.ts +++ b/clients/client-securityhub/commands/DescribeStandardsControlsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStandardsControlsCommandInput = DescribeStandardsControlsRequest; @@ -70,7 +70,7 @@ export class DescribeStandardsControlsCommand extends $Command< private serialize( input: DescribeStandardsControlsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeStandardsControlsCommand( input, @@ -80,7 +80,7 @@ export class DescribeStandardsControlsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeStandardsControlsCommand( output, diff --git a/clients/client-securityhub/commands/DisableImportFindingsForProductCommand.ts b/clients/client-securityhub/commands/DisableImportFindingsForProductCommand.ts index 87fb059cc342..73d634d0280b 100644 --- a/clients/client-securityhub/commands/DisableImportFindingsForProductCommand.ts +++ b/clients/client-securityhub/commands/DisableImportFindingsForProductCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableImportFindingsForProductCommandInput = DisableImportFindingsForProductRequest; @@ -70,7 +70,7 @@ export class DisableImportFindingsForProductCommand extends $Command< private serialize( input: DisableImportFindingsForProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisableImportFindingsForProductCommand( input, @@ -80,7 +80,7 @@ export class DisableImportFindingsForProductCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisableImportFindingsForProductCommand( output, diff --git a/clients/client-securityhub/commands/DisableSecurityHubCommand.ts b/clients/client-securityhub/commands/DisableSecurityHubCommand.ts index bb1cbd6e2f84..560aa027e043 100644 --- a/clients/client-securityhub/commands/DisableSecurityHubCommand.ts +++ b/clients/client-securityhub/commands/DisableSecurityHubCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableSecurityHubCommandInput = DisableSecurityHubRequest; @@ -67,14 +67,14 @@ export class DisableSecurityHubCommand extends $Command< private serialize( input: DisableSecurityHubCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisableSecurityHubCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisableSecurityHubCommand(output, context); } diff --git a/clients/client-securityhub/commands/DisassociateFromMasterAccountCommand.ts b/clients/client-securityhub/commands/DisassociateFromMasterAccountCommand.ts index d368aa10eb8c..3b0d31d7de21 100644 --- a/clients/client-securityhub/commands/DisassociateFromMasterAccountCommand.ts +++ b/clients/client-securityhub/commands/DisassociateFromMasterAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateFromMasterAccountCommandInput = DisassociateFromMasterAccountRequest; @@ -70,7 +70,7 @@ export class DisassociateFromMasterAccountCommand extends $Command< private serialize( input: DisassociateFromMasterAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateFromMasterAccountCommand( input, @@ -80,7 +80,7 @@ export class DisassociateFromMasterAccountCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateFromMasterAccountCommand( output, diff --git a/clients/client-securityhub/commands/DisassociateMembersCommand.ts b/clients/client-securityhub/commands/DisassociateMembersCommand.ts index 456511a1ad26..ef97f70a30df 100644 --- a/clients/client-securityhub/commands/DisassociateMembersCommand.ts +++ b/clients/client-securityhub/commands/DisassociateMembersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateMembersCommandInput = DisassociateMembersRequest; @@ -70,14 +70,14 @@ export class DisassociateMembersCommand extends $Command< private serialize( input: DisassociateMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateMembersCommand( output, diff --git a/clients/client-securityhub/commands/EnableImportFindingsForProductCommand.ts b/clients/client-securityhub/commands/EnableImportFindingsForProductCommand.ts index 231983cd852f..cf1147f99ef8 100644 --- a/clients/client-securityhub/commands/EnableImportFindingsForProductCommand.ts +++ b/clients/client-securityhub/commands/EnableImportFindingsForProductCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableImportFindingsForProductCommandInput = EnableImportFindingsForProductRequest; @@ -70,7 +70,7 @@ export class EnableImportFindingsForProductCommand extends $Command< private serialize( input: EnableImportFindingsForProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1EnableImportFindingsForProductCommand( input, @@ -80,7 +80,7 @@ export class EnableImportFindingsForProductCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1EnableImportFindingsForProductCommand( output, diff --git a/clients/client-securityhub/commands/EnableSecurityHubCommand.ts b/clients/client-securityhub/commands/EnableSecurityHubCommand.ts index b25d1df1b550..1284afdc07ef 100644 --- a/clients/client-securityhub/commands/EnableSecurityHubCommand.ts +++ b/clients/client-securityhub/commands/EnableSecurityHubCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableSecurityHubCommandInput = EnableSecurityHubRequest; @@ -67,14 +67,14 @@ export class EnableSecurityHubCommand extends $Command< private serialize( input: EnableSecurityHubCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1EnableSecurityHubCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1EnableSecurityHubCommand(output, context); } diff --git a/clients/client-securityhub/commands/GetEnabledStandardsCommand.ts b/clients/client-securityhub/commands/GetEnabledStandardsCommand.ts index 595950c31ef9..8ea55874bec5 100644 --- a/clients/client-securityhub/commands/GetEnabledStandardsCommand.ts +++ b/clients/client-securityhub/commands/GetEnabledStandardsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEnabledStandardsCommandInput = GetEnabledStandardsRequest; @@ -70,14 +70,14 @@ export class GetEnabledStandardsCommand extends $Command< private serialize( input: GetEnabledStandardsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEnabledStandardsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEnabledStandardsCommand( output, diff --git a/clients/client-securityhub/commands/GetFindingsCommand.ts b/clients/client-securityhub/commands/GetFindingsCommand.ts index 02b67f92e5a9..a2446cbd82fb 100644 --- a/clients/client-securityhub/commands/GetFindingsCommand.ts +++ b/clients/client-securityhub/commands/GetFindingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFindingsCommandInput = GetFindingsRequest; @@ -64,14 +64,14 @@ export class GetFindingsCommand extends $Command< private serialize( input: GetFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFindingsCommand(output, context); } diff --git a/clients/client-securityhub/commands/GetInsightResultsCommand.ts b/clients/client-securityhub/commands/GetInsightResultsCommand.ts index 8a3cd4f26e6c..c53bcd6d37df 100644 --- a/clients/client-securityhub/commands/GetInsightResultsCommand.ts +++ b/clients/client-securityhub/commands/GetInsightResultsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInsightResultsCommandInput = GetInsightResultsRequest; @@ -67,14 +67,14 @@ export class GetInsightResultsCommand extends $Command< private serialize( input: GetInsightResultsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetInsightResultsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetInsightResultsCommand(output, context); } diff --git a/clients/client-securityhub/commands/GetInsightsCommand.ts b/clients/client-securityhub/commands/GetInsightsCommand.ts index 88737fd48c9f..7808a5f85374 100644 --- a/clients/client-securityhub/commands/GetInsightsCommand.ts +++ b/clients/client-securityhub/commands/GetInsightsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInsightsCommandInput = GetInsightsRequest; @@ -64,14 +64,14 @@ export class GetInsightsCommand extends $Command< private serialize( input: GetInsightsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetInsightsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetInsightsCommand(output, context); } diff --git a/clients/client-securityhub/commands/GetInvitationsCountCommand.ts b/clients/client-securityhub/commands/GetInvitationsCountCommand.ts index 57c50d39b3ae..c6ccde0fdcb6 100644 --- a/clients/client-securityhub/commands/GetInvitationsCountCommand.ts +++ b/clients/client-securityhub/commands/GetInvitationsCountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInvitationsCountCommandInput = GetInvitationsCountRequest; @@ -70,14 +70,14 @@ export class GetInvitationsCountCommand extends $Command< private serialize( input: GetInvitationsCountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetInvitationsCountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetInvitationsCountCommand( output, diff --git a/clients/client-securityhub/commands/GetMasterAccountCommand.ts b/clients/client-securityhub/commands/GetMasterAccountCommand.ts index b59963921194..c293a1348977 100644 --- a/clients/client-securityhub/commands/GetMasterAccountCommand.ts +++ b/clients/client-securityhub/commands/GetMasterAccountCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMasterAccountCommandInput = GetMasterAccountRequest; @@ -67,14 +67,14 @@ export class GetMasterAccountCommand extends $Command< private serialize( input: GetMasterAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMasterAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMasterAccountCommand(output, context); } diff --git a/clients/client-securityhub/commands/GetMembersCommand.ts b/clients/client-securityhub/commands/GetMembersCommand.ts index 87d6eb7b6da1..cfeb016cf2cf 100644 --- a/clients/client-securityhub/commands/GetMembersCommand.ts +++ b/clients/client-securityhub/commands/GetMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMembersCommandInput = GetMembersRequest; @@ -64,14 +64,14 @@ export class GetMembersCommand extends $Command< private serialize( input: GetMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetMembersCommand(output, context); } diff --git a/clients/client-securityhub/commands/InviteMembersCommand.ts b/clients/client-securityhub/commands/InviteMembersCommand.ts index da942e0e7010..fb9fa00656e7 100644 --- a/clients/client-securityhub/commands/InviteMembersCommand.ts +++ b/clients/client-securityhub/commands/InviteMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InviteMembersCommandInput = InviteMembersRequest; @@ -64,14 +64,14 @@ export class InviteMembersCommand extends $Command< private serialize( input: InviteMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InviteMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InviteMembersCommand(output, context); } diff --git a/clients/client-securityhub/commands/ListEnabledProductsForImportCommand.ts b/clients/client-securityhub/commands/ListEnabledProductsForImportCommand.ts index dc6288469e24..d9ee841ca0e3 100644 --- a/clients/client-securityhub/commands/ListEnabledProductsForImportCommand.ts +++ b/clients/client-securityhub/commands/ListEnabledProductsForImportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEnabledProductsForImportCommandInput = ListEnabledProductsForImportRequest; @@ -70,7 +70,7 @@ export class ListEnabledProductsForImportCommand extends $Command< private serialize( input: ListEnabledProductsForImportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListEnabledProductsForImportCommand( input, @@ -80,7 +80,7 @@ export class ListEnabledProductsForImportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListEnabledProductsForImportCommand( output, diff --git a/clients/client-securityhub/commands/ListInvitationsCommand.ts b/clients/client-securityhub/commands/ListInvitationsCommand.ts index 758de121acc4..d45f1da46cd5 100644 --- a/clients/client-securityhub/commands/ListInvitationsCommand.ts +++ b/clients/client-securityhub/commands/ListInvitationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInvitationsCommandInput = ListInvitationsRequest; @@ -67,14 +67,14 @@ export class ListInvitationsCommand extends $Command< private serialize( input: ListInvitationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListInvitationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListInvitationsCommand(output, context); } diff --git a/clients/client-securityhub/commands/ListMembersCommand.ts b/clients/client-securityhub/commands/ListMembersCommand.ts index bac24663b84f..2ed3bd1390ed 100644 --- a/clients/client-securityhub/commands/ListMembersCommand.ts +++ b/clients/client-securityhub/commands/ListMembersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMembersCommandInput = ListMembersRequest; @@ -64,14 +64,14 @@ export class ListMembersCommand extends $Command< private serialize( input: ListMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListMembersCommand(output, context); } diff --git a/clients/client-securityhub/commands/ListTagsForResourceCommand.ts b/clients/client-securityhub/commands/ListTagsForResourceCommand.ts index 1110edeb6336..a61e4dd4007a 100644 --- a/clients/client-securityhub/commands/ListTagsForResourceCommand.ts +++ b/clients/client-securityhub/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-securityhub/commands/TagResourceCommand.ts b/clients/client-securityhub/commands/TagResourceCommand.ts index eb81edac89a1..5ac4e7cfc0b9 100644 --- a/clients/client-securityhub/commands/TagResourceCommand.ts +++ b/clients/client-securityhub/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-securityhub/commands/UntagResourceCommand.ts b/clients/client-securityhub/commands/UntagResourceCommand.ts index f8392d05fda2..c15f9e227962 100644 --- a/clients/client-securityhub/commands/UntagResourceCommand.ts +++ b/clients/client-securityhub/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-securityhub/commands/UpdateActionTargetCommand.ts b/clients/client-securityhub/commands/UpdateActionTargetCommand.ts index e9f8234b8df9..731567d188a2 100644 --- a/clients/client-securityhub/commands/UpdateActionTargetCommand.ts +++ b/clients/client-securityhub/commands/UpdateActionTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateActionTargetCommandInput = UpdateActionTargetRequest; @@ -67,14 +67,14 @@ export class UpdateActionTargetCommand extends $Command< private serialize( input: UpdateActionTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateActionTargetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateActionTargetCommand(output, context); } diff --git a/clients/client-securityhub/commands/UpdateFindingsCommand.ts b/clients/client-securityhub/commands/UpdateFindingsCommand.ts index b6463e5cd00a..0dbb484a433b 100644 --- a/clients/client-securityhub/commands/UpdateFindingsCommand.ts +++ b/clients/client-securityhub/commands/UpdateFindingsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFindingsCommandInput = UpdateFindingsRequest; @@ -64,14 +64,14 @@ export class UpdateFindingsCommand extends $Command< private serialize( input: UpdateFindingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFindingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFindingsCommand(output, context); } diff --git a/clients/client-securityhub/commands/UpdateInsightCommand.ts b/clients/client-securityhub/commands/UpdateInsightCommand.ts index d13375a62d38..c2ef61d167dc 100644 --- a/clients/client-securityhub/commands/UpdateInsightCommand.ts +++ b/clients/client-securityhub/commands/UpdateInsightCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateInsightCommandInput = UpdateInsightRequest; @@ -64,14 +64,14 @@ export class UpdateInsightCommand extends $Command< private serialize( input: UpdateInsightCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateInsightCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateInsightCommand(output, context); } diff --git a/clients/client-securityhub/commands/UpdateStandardsControlCommand.ts b/clients/client-securityhub/commands/UpdateStandardsControlCommand.ts index c3ffb8c1daee..c4ec43373d62 100644 --- a/clients/client-securityhub/commands/UpdateStandardsControlCommand.ts +++ b/clients/client-securityhub/commands/UpdateStandardsControlCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStandardsControlCommandInput = UpdateStandardsControlRequest; @@ -70,7 +70,7 @@ export class UpdateStandardsControlCommand extends $Command< private serialize( input: UpdateStandardsControlCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateStandardsControlCommand( input, @@ -80,7 +80,7 @@ export class UpdateStandardsControlCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateStandardsControlCommand( output, diff --git a/clients/client-securityhub/protocols/Aws_restJson1_1.ts b/clients/client-securityhub/protocols/Aws_restJson1_1.ts index 957f6abdc10d..9f8c0bfe70b6 100644 --- a/clients/client-securityhub/protocols/Aws_restJson1_1.ts +++ b/clients/client-securityhub/protocols/Aws_restJson1_1.ts @@ -9665,6 +9665,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-serverlessapplicationrepository/commands/CreateApplicationCommand.ts b/clients/client-serverlessapplicationrepository/commands/CreateApplicationCommand.ts index 3ef811462afa..4e9d37a195fc 100644 --- a/clients/client-serverlessapplicationrepository/commands/CreateApplicationCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/CreateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApplicationCommandInput = CreateApplicationRequest; @@ -67,14 +67,14 @@ export class CreateApplicationCommand extends $Command< private serialize( input: CreateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateApplicationCommand(output, context); } diff --git a/clients/client-serverlessapplicationrepository/commands/CreateApplicationVersionCommand.ts b/clients/client-serverlessapplicationrepository/commands/CreateApplicationVersionCommand.ts index 3ee09d70376b..a91da2ef14a1 100644 --- a/clients/client-serverlessapplicationrepository/commands/CreateApplicationVersionCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/CreateApplicationVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateApplicationVersionCommandInput = CreateApplicationVersionRequest; @@ -70,7 +70,7 @@ export class CreateApplicationVersionCommand extends $Command< private serialize( input: CreateApplicationVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateApplicationVersionCommand( input, @@ -80,7 +80,7 @@ export class CreateApplicationVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateApplicationVersionCommand( output, diff --git a/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationChangeSetCommand.ts b/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationChangeSetCommand.ts index 78d6b7c1b0a4..da764670d4bb 100644 --- a/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationChangeSetCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationChangeSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCloudFormationChangeSetCommandInput = CreateCloudFormationChangeSetRequest; @@ -70,7 +70,7 @@ export class CreateCloudFormationChangeSetCommand extends $Command< private serialize( input: CreateCloudFormationChangeSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateCloudFormationChangeSetCommand( input, @@ -80,7 +80,7 @@ export class CreateCloudFormationChangeSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateCloudFormationChangeSetCommand( output, diff --git a/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationTemplateCommand.ts b/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationTemplateCommand.ts index 6e0e106e17c7..9045f5b23b07 100644 --- a/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationTemplateCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCloudFormationTemplateCommandInput = CreateCloudFormationTemplateRequest; @@ -70,7 +70,7 @@ export class CreateCloudFormationTemplateCommand extends $Command< private serialize( input: CreateCloudFormationTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateCloudFormationTemplateCommand( input, @@ -80,7 +80,7 @@ export class CreateCloudFormationTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateCloudFormationTemplateCommand( output, diff --git a/clients/client-serverlessapplicationrepository/commands/DeleteApplicationCommand.ts b/clients/client-serverlessapplicationrepository/commands/DeleteApplicationCommand.ts index debf43347550..078d5595e132 100644 --- a/clients/client-serverlessapplicationrepository/commands/DeleteApplicationCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/DeleteApplicationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteApplicationCommandInput = DeleteApplicationRequest; @@ -65,14 +65,14 @@ export class DeleteApplicationCommand extends $Command< private serialize( input: DeleteApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteApplicationCommand(output, context); } diff --git a/clients/client-serverlessapplicationrepository/commands/GetApplicationCommand.ts b/clients/client-serverlessapplicationrepository/commands/GetApplicationCommand.ts index a5bfd4935947..0e5251856d4c 100644 --- a/clients/client-serverlessapplicationrepository/commands/GetApplicationCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/GetApplicationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApplicationCommandInput = GetApplicationRequest; @@ -64,14 +64,14 @@ export class GetApplicationCommand extends $Command< private serialize( input: GetApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApplicationCommand(output, context); } diff --git a/clients/client-serverlessapplicationrepository/commands/GetApplicationPolicyCommand.ts b/clients/client-serverlessapplicationrepository/commands/GetApplicationPolicyCommand.ts index 3015e0602e21..e9edd3d5ba05 100644 --- a/clients/client-serverlessapplicationrepository/commands/GetApplicationPolicyCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/GetApplicationPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetApplicationPolicyCommandInput = GetApplicationPolicyRequest; @@ -70,14 +70,14 @@ export class GetApplicationPolicyCommand extends $Command< private serialize( input: GetApplicationPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetApplicationPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetApplicationPolicyCommand( output, diff --git a/clients/client-serverlessapplicationrepository/commands/GetCloudFormationTemplateCommand.ts b/clients/client-serverlessapplicationrepository/commands/GetCloudFormationTemplateCommand.ts index 44d9172bd919..401b508697a3 100644 --- a/clients/client-serverlessapplicationrepository/commands/GetCloudFormationTemplateCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/GetCloudFormationTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCloudFormationTemplateCommandInput = GetCloudFormationTemplateRequest; @@ -70,7 +70,7 @@ export class GetCloudFormationTemplateCommand extends $Command< private serialize( input: GetCloudFormationTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCloudFormationTemplateCommand( input, @@ -80,7 +80,7 @@ export class GetCloudFormationTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCloudFormationTemplateCommand( output, diff --git a/clients/client-serverlessapplicationrepository/commands/ListApplicationDependenciesCommand.ts b/clients/client-serverlessapplicationrepository/commands/ListApplicationDependenciesCommand.ts index 1f314068770f..e0589416b6e3 100644 --- a/clients/client-serverlessapplicationrepository/commands/ListApplicationDependenciesCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/ListApplicationDependenciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApplicationDependenciesCommandInput = ListApplicationDependenciesRequest; @@ -70,7 +70,7 @@ export class ListApplicationDependenciesCommand extends $Command< private serialize( input: ListApplicationDependenciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListApplicationDependenciesCommand( input, @@ -80,7 +80,7 @@ export class ListApplicationDependenciesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListApplicationDependenciesCommand( output, diff --git a/clients/client-serverlessapplicationrepository/commands/ListApplicationVersionsCommand.ts b/clients/client-serverlessapplicationrepository/commands/ListApplicationVersionsCommand.ts index 5796a84b1d3f..8cac304ff972 100644 --- a/clients/client-serverlessapplicationrepository/commands/ListApplicationVersionsCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/ListApplicationVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApplicationVersionsCommandInput = ListApplicationVersionsRequest; @@ -70,7 +70,7 @@ export class ListApplicationVersionsCommand extends $Command< private serialize( input: ListApplicationVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListApplicationVersionsCommand( input, @@ -80,7 +80,7 @@ export class ListApplicationVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListApplicationVersionsCommand( output, diff --git a/clients/client-serverlessapplicationrepository/commands/ListApplicationsCommand.ts b/clients/client-serverlessapplicationrepository/commands/ListApplicationsCommand.ts index 18a547a10f83..89d52eb07bf4 100644 --- a/clients/client-serverlessapplicationrepository/commands/ListApplicationsCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/ListApplicationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListApplicationsCommandInput = ListApplicationsRequest; @@ -67,14 +67,14 @@ export class ListApplicationsCommand extends $Command< private serialize( input: ListApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListApplicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListApplicationsCommand(output, context); } diff --git a/clients/client-serverlessapplicationrepository/commands/PutApplicationPolicyCommand.ts b/clients/client-serverlessapplicationrepository/commands/PutApplicationPolicyCommand.ts index 01eaa49b9eae..de8907de4d59 100644 --- a/clients/client-serverlessapplicationrepository/commands/PutApplicationPolicyCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/PutApplicationPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutApplicationPolicyCommandInput = PutApplicationPolicyRequest; @@ -70,14 +70,14 @@ export class PutApplicationPolicyCommand extends $Command< private serialize( input: PutApplicationPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutApplicationPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutApplicationPolicyCommand( output, diff --git a/clients/client-serverlessapplicationrepository/commands/UpdateApplicationCommand.ts b/clients/client-serverlessapplicationrepository/commands/UpdateApplicationCommand.ts index fa86d30b5b96..38b462a47630 100644 --- a/clients/client-serverlessapplicationrepository/commands/UpdateApplicationCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/UpdateApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateApplicationCommandInput = UpdateApplicationRequest; @@ -67,14 +67,14 @@ export class UpdateApplicationCommand extends $Command< private serialize( input: UpdateApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateApplicationCommand(output, context); } diff --git a/clients/client-serverlessapplicationrepository/protocols/Aws_restJson1_1.ts b/clients/client-serverlessapplicationrepository/protocols/Aws_restJson1_1.ts index ae615e560a5a..db4ecce832cf 100644 --- a/clients/client-serverlessapplicationrepository/protocols/Aws_restJson1_1.ts +++ b/clients/client-serverlessapplicationrepository/protocols/Aws_restJson1_1.ts @@ -2649,6 +2649,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-service-catalog/commands/AcceptPortfolioShareCommand.ts b/clients/client-service-catalog/commands/AcceptPortfolioShareCommand.ts index eb92d1a27507..9e8114387d11 100644 --- a/clients/client-service-catalog/commands/AcceptPortfolioShareCommand.ts +++ b/clients/client-service-catalog/commands/AcceptPortfolioShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AcceptPortfolioShareCommandInput = AcceptPortfolioShareInput; @@ -70,14 +70,14 @@ export class AcceptPortfolioShareCommand extends $Command< private serialize( input: AcceptPortfolioShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AcceptPortfolioShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AcceptPortfolioShareCommand(output, context); } diff --git a/clients/client-service-catalog/commands/AssociateBudgetWithResourceCommand.ts b/clients/client-service-catalog/commands/AssociateBudgetWithResourceCommand.ts index 93d1816e8455..21b7f802e369 100644 --- a/clients/client-service-catalog/commands/AssociateBudgetWithResourceCommand.ts +++ b/clients/client-service-catalog/commands/AssociateBudgetWithResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateBudgetWithResourceCommandInput = AssociateBudgetWithResourceInput; @@ -70,7 +70,7 @@ export class AssociateBudgetWithResourceCommand extends $Command< private serialize( input: AssociateBudgetWithResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateBudgetWithResourceCommand( input, @@ -80,7 +80,7 @@ export class AssociateBudgetWithResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateBudgetWithResourceCommand( output, diff --git a/clients/client-service-catalog/commands/AssociatePrincipalWithPortfolioCommand.ts b/clients/client-service-catalog/commands/AssociatePrincipalWithPortfolioCommand.ts index df937adaa7c7..b58c5937f60f 100644 --- a/clients/client-service-catalog/commands/AssociatePrincipalWithPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/AssociatePrincipalWithPortfolioCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociatePrincipalWithPortfolioCommandInput = AssociatePrincipalWithPortfolioInput; @@ -70,7 +70,7 @@ export class AssociatePrincipalWithPortfolioCommand extends $Command< private serialize( input: AssociatePrincipalWithPortfolioCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociatePrincipalWithPortfolioCommand( input, @@ -80,7 +80,7 @@ export class AssociatePrincipalWithPortfolioCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociatePrincipalWithPortfolioCommand( output, diff --git a/clients/client-service-catalog/commands/AssociateProductWithPortfolioCommand.ts b/clients/client-service-catalog/commands/AssociateProductWithPortfolioCommand.ts index 65443add0d7c..146ead9f1a08 100644 --- a/clients/client-service-catalog/commands/AssociateProductWithPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/AssociateProductWithPortfolioCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateProductWithPortfolioCommandInput = AssociateProductWithPortfolioInput; @@ -70,7 +70,7 @@ export class AssociateProductWithPortfolioCommand extends $Command< private serialize( input: AssociateProductWithPortfolioCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateProductWithPortfolioCommand( input, @@ -80,7 +80,7 @@ export class AssociateProductWithPortfolioCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateProductWithPortfolioCommand( output, diff --git a/clients/client-service-catalog/commands/AssociateServiceActionWithProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/AssociateServiceActionWithProvisioningArtifactCommand.ts index ee453a3555e1..2d82f1e03c4c 100644 --- a/clients/client-service-catalog/commands/AssociateServiceActionWithProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/AssociateServiceActionWithProvisioningArtifactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateServiceActionWithProvisioningArtifactCommandInput = AssociateServiceActionWithProvisioningArtifactInput; @@ -72,7 +72,7 @@ export class AssociateServiceActionWithProvisioningArtifactCommand extends $Comm private serialize( input: AssociateServiceActionWithProvisioningArtifactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateServiceActionWithProvisioningArtifactCommand( input, @@ -82,7 +82,7 @@ export class AssociateServiceActionWithProvisioningArtifactCommand extends $Comm private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateServiceActionWithProvisioningArtifactCommand( output, diff --git a/clients/client-service-catalog/commands/AssociateTagOptionWithResourceCommand.ts b/clients/client-service-catalog/commands/AssociateTagOptionWithResourceCommand.ts index 289220a7b1f2..58ddbe1a7bc6 100644 --- a/clients/client-service-catalog/commands/AssociateTagOptionWithResourceCommand.ts +++ b/clients/client-service-catalog/commands/AssociateTagOptionWithResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateTagOptionWithResourceCommandInput = AssociateTagOptionWithResourceInput; @@ -70,7 +70,7 @@ export class AssociateTagOptionWithResourceCommand extends $Command< private serialize( input: AssociateTagOptionWithResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateTagOptionWithResourceCommand( input, @@ -80,7 +80,7 @@ export class AssociateTagOptionWithResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateTagOptionWithResourceCommand( output, diff --git a/clients/client-service-catalog/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.ts index 6aa62ad0d39c..1abf3f90c2f2 100644 --- a/clients/client-service-catalog/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchAssociateServiceActionWithProvisioningArtifactCommandInput = BatchAssociateServiceActionWithProvisioningArtifactInput; @@ -72,7 +72,7 @@ export class BatchAssociateServiceActionWithProvisioningArtifactCommand extends private serialize( input: BatchAssociateServiceActionWithProvisioningArtifactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchAssociateServiceActionWithProvisioningArtifactCommand( input, @@ -82,7 +82,7 @@ export class BatchAssociateServiceActionWithProvisioningArtifactCommand extends private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1BatchAssociateServiceActionWithProvisioningArtifactCommand( output, diff --git a/clients/client-service-catalog/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.ts index 6d70a2bd5927..b1fbf80479a1 100644 --- a/clients/client-service-catalog/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchDisassociateServiceActionFromProvisioningArtifactCommandInput = BatchDisassociateServiceActionFromProvisioningArtifactInput; @@ -72,7 +72,7 @@ export class BatchDisassociateServiceActionFromProvisioningArtifactCommand exten private serialize( input: BatchDisassociateServiceActionFromProvisioningArtifactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1BatchDisassociateServiceActionFromProvisioningArtifactCommand( input, @@ -82,7 +82,7 @@ export class BatchDisassociateServiceActionFromProvisioningArtifactCommand exten private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise< BatchDisassociateServiceActionFromProvisioningArtifactCommandOutput > { diff --git a/clients/client-service-catalog/commands/CopyProductCommand.ts b/clients/client-service-catalog/commands/CopyProductCommand.ts index 39c2696ba26f..5780bb60aa80 100644 --- a/clients/client-service-catalog/commands/CopyProductCommand.ts +++ b/clients/client-service-catalog/commands/CopyProductCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyProductCommandInput = CopyProductInput; @@ -64,14 +64,14 @@ export class CopyProductCommand extends $Command< private serialize( input: CopyProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CopyProductCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CopyProductCommand(output, context); } diff --git a/clients/client-service-catalog/commands/CreateConstraintCommand.ts b/clients/client-service-catalog/commands/CreateConstraintCommand.ts index f025dcd71e11..2ad9229b8ee3 100644 --- a/clients/client-service-catalog/commands/CreateConstraintCommand.ts +++ b/clients/client-service-catalog/commands/CreateConstraintCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConstraintCommandInput = CreateConstraintInput; @@ -64,14 +64,14 @@ export class CreateConstraintCommand extends $Command< private serialize( input: CreateConstraintCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateConstraintCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateConstraintCommand(output, context); } diff --git a/clients/client-service-catalog/commands/CreatePortfolioCommand.ts b/clients/client-service-catalog/commands/CreatePortfolioCommand.ts index 48abe5c64e4e..25135a046b4e 100644 --- a/clients/client-service-catalog/commands/CreatePortfolioCommand.ts +++ b/clients/client-service-catalog/commands/CreatePortfolioCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePortfolioCommandInput = CreatePortfolioInput; @@ -64,14 +64,14 @@ export class CreatePortfolioCommand extends $Command< private serialize( input: CreatePortfolioCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePortfolioCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePortfolioCommand(output, context); } diff --git a/clients/client-service-catalog/commands/CreatePortfolioShareCommand.ts b/clients/client-service-catalog/commands/CreatePortfolioShareCommand.ts index 29ee73b061a8..53c5cd6b5727 100644 --- a/clients/client-service-catalog/commands/CreatePortfolioShareCommand.ts +++ b/clients/client-service-catalog/commands/CreatePortfolioShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePortfolioShareCommandInput = CreatePortfolioShareInput; @@ -70,14 +70,14 @@ export class CreatePortfolioShareCommand extends $Command< private serialize( input: CreatePortfolioShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePortfolioShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePortfolioShareCommand(output, context); } diff --git a/clients/client-service-catalog/commands/CreateProductCommand.ts b/clients/client-service-catalog/commands/CreateProductCommand.ts index 2ea895bc2a5a..5502a64a618d 100644 --- a/clients/client-service-catalog/commands/CreateProductCommand.ts +++ b/clients/client-service-catalog/commands/CreateProductCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProductCommandInput = CreateProductInput; @@ -64,14 +64,14 @@ export class CreateProductCommand extends $Command< private serialize( input: CreateProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProductCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProductCommand(output, context); } diff --git a/clients/client-service-catalog/commands/CreateProvisionedProductPlanCommand.ts b/clients/client-service-catalog/commands/CreateProvisionedProductPlanCommand.ts index fd5899efdd20..bc86d444f8b7 100644 --- a/clients/client-service-catalog/commands/CreateProvisionedProductPlanCommand.ts +++ b/clients/client-service-catalog/commands/CreateProvisionedProductPlanCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProvisionedProductPlanCommandInput = CreateProvisionedProductPlanInput; @@ -70,7 +70,7 @@ export class CreateProvisionedProductPlanCommand extends $Command< private serialize( input: CreateProvisionedProductPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProvisionedProductPlanCommand( input, @@ -80,7 +80,7 @@ export class CreateProvisionedProductPlanCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProvisionedProductPlanCommand( output, diff --git a/clients/client-service-catalog/commands/CreateProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/CreateProvisioningArtifactCommand.ts index 12a58b83ccd8..db3095f50293 100644 --- a/clients/client-service-catalog/commands/CreateProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/CreateProvisioningArtifactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProvisioningArtifactCommandInput = CreateProvisioningArtifactInput; @@ -70,7 +70,7 @@ export class CreateProvisioningArtifactCommand extends $Command< private serialize( input: CreateProvisioningArtifactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProvisioningArtifactCommand( input, @@ -80,7 +80,7 @@ export class CreateProvisioningArtifactCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProvisioningArtifactCommand( output, diff --git a/clients/client-service-catalog/commands/CreateServiceActionCommand.ts b/clients/client-service-catalog/commands/CreateServiceActionCommand.ts index d5a474d23e38..f0ad818d16da 100644 --- a/clients/client-service-catalog/commands/CreateServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/CreateServiceActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateServiceActionCommandInput = CreateServiceActionInput; @@ -70,14 +70,14 @@ export class CreateServiceActionCommand extends $Command< private serialize( input: CreateServiceActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateServiceActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateServiceActionCommand(output, context); } diff --git a/clients/client-service-catalog/commands/CreateTagOptionCommand.ts b/clients/client-service-catalog/commands/CreateTagOptionCommand.ts index 526263eb63e7..058a26363c85 100644 --- a/clients/client-service-catalog/commands/CreateTagOptionCommand.ts +++ b/clients/client-service-catalog/commands/CreateTagOptionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTagOptionCommandInput = CreateTagOptionInput; @@ -64,14 +64,14 @@ export class CreateTagOptionCommand extends $Command< private serialize( input: CreateTagOptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTagOptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTagOptionCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DeleteConstraintCommand.ts b/clients/client-service-catalog/commands/DeleteConstraintCommand.ts index 1cc9fca05f7b..af009b863292 100644 --- a/clients/client-service-catalog/commands/DeleteConstraintCommand.ts +++ b/clients/client-service-catalog/commands/DeleteConstraintCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConstraintCommandInput = DeleteConstraintInput; @@ -64,14 +64,14 @@ export class DeleteConstraintCommand extends $Command< private serialize( input: DeleteConstraintCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteConstraintCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteConstraintCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DeletePortfolioCommand.ts b/clients/client-service-catalog/commands/DeletePortfolioCommand.ts index 8224b4820a71..2ffbc5aee303 100644 --- a/clients/client-service-catalog/commands/DeletePortfolioCommand.ts +++ b/clients/client-service-catalog/commands/DeletePortfolioCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePortfolioCommandInput = DeletePortfolioInput; @@ -64,14 +64,14 @@ export class DeletePortfolioCommand extends $Command< private serialize( input: DeletePortfolioCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePortfolioCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePortfolioCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DeletePortfolioShareCommand.ts b/clients/client-service-catalog/commands/DeletePortfolioShareCommand.ts index 76da175a88b2..c31899354c2d 100644 --- a/clients/client-service-catalog/commands/DeletePortfolioShareCommand.ts +++ b/clients/client-service-catalog/commands/DeletePortfolioShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePortfolioShareCommandInput = DeletePortfolioShareInput; @@ -70,14 +70,14 @@ export class DeletePortfolioShareCommand extends $Command< private serialize( input: DeletePortfolioShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePortfolioShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePortfolioShareCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DeleteProductCommand.ts b/clients/client-service-catalog/commands/DeleteProductCommand.ts index 06e96e774736..c5007017b212 100644 --- a/clients/client-service-catalog/commands/DeleteProductCommand.ts +++ b/clients/client-service-catalog/commands/DeleteProductCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProductCommandInput = DeleteProductInput; @@ -64,14 +64,14 @@ export class DeleteProductCommand extends $Command< private serialize( input: DeleteProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteProductCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteProductCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DeleteProvisionedProductPlanCommand.ts b/clients/client-service-catalog/commands/DeleteProvisionedProductPlanCommand.ts index 99d70c5a3b41..140033a48639 100644 --- a/clients/client-service-catalog/commands/DeleteProvisionedProductPlanCommand.ts +++ b/clients/client-service-catalog/commands/DeleteProvisionedProductPlanCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProvisionedProductPlanCommandInput = DeleteProvisionedProductPlanInput; @@ -70,7 +70,7 @@ export class DeleteProvisionedProductPlanCommand extends $Command< private serialize( input: DeleteProvisionedProductPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteProvisionedProductPlanCommand( input, @@ -80,7 +80,7 @@ export class DeleteProvisionedProductPlanCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteProvisionedProductPlanCommand( output, diff --git a/clients/client-service-catalog/commands/DeleteProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/DeleteProvisioningArtifactCommand.ts index bd0666a89e41..ed81e4538012 100644 --- a/clients/client-service-catalog/commands/DeleteProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/DeleteProvisioningArtifactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProvisioningArtifactCommandInput = DeleteProvisioningArtifactInput; @@ -70,7 +70,7 @@ export class DeleteProvisioningArtifactCommand extends $Command< private serialize( input: DeleteProvisioningArtifactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteProvisioningArtifactCommand( input, @@ -80,7 +80,7 @@ export class DeleteProvisioningArtifactCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteProvisioningArtifactCommand( output, diff --git a/clients/client-service-catalog/commands/DeleteServiceActionCommand.ts b/clients/client-service-catalog/commands/DeleteServiceActionCommand.ts index d991faf01877..3e3e436b82b4 100644 --- a/clients/client-service-catalog/commands/DeleteServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/DeleteServiceActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteServiceActionCommandInput = DeleteServiceActionInput; @@ -70,14 +70,14 @@ export class DeleteServiceActionCommand extends $Command< private serialize( input: DeleteServiceActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteServiceActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteServiceActionCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DeleteTagOptionCommand.ts b/clients/client-service-catalog/commands/DeleteTagOptionCommand.ts index bfb22e4bbaab..020c2af79e9f 100644 --- a/clients/client-service-catalog/commands/DeleteTagOptionCommand.ts +++ b/clients/client-service-catalog/commands/DeleteTagOptionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagOptionCommandInput = DeleteTagOptionInput; @@ -64,14 +64,14 @@ export class DeleteTagOptionCommand extends $Command< private serialize( input: DeleteTagOptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTagOptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTagOptionCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DescribeConstraintCommand.ts b/clients/client-service-catalog/commands/DescribeConstraintCommand.ts index 1061f26ee51b..e6331cc1c27e 100644 --- a/clients/client-service-catalog/commands/DescribeConstraintCommand.ts +++ b/clients/client-service-catalog/commands/DescribeConstraintCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConstraintCommandInput = DescribeConstraintInput; @@ -67,14 +67,14 @@ export class DescribeConstraintCommand extends $Command< private serialize( input: DescribeConstraintCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeConstraintCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeConstraintCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DescribeCopyProductStatusCommand.ts b/clients/client-service-catalog/commands/DescribeCopyProductStatusCommand.ts index 352b3016c62b..d0029538f0a3 100644 --- a/clients/client-service-catalog/commands/DescribeCopyProductStatusCommand.ts +++ b/clients/client-service-catalog/commands/DescribeCopyProductStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCopyProductStatusCommandInput = DescribeCopyProductStatusInput; @@ -70,14 +70,14 @@ export class DescribeCopyProductStatusCommand extends $Command< private serialize( input: DescribeCopyProductStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCopyProductStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCopyProductStatusCommand( output, diff --git a/clients/client-service-catalog/commands/DescribePortfolioCommand.ts b/clients/client-service-catalog/commands/DescribePortfolioCommand.ts index 47daf6fdb188..c7db017a7d47 100644 --- a/clients/client-service-catalog/commands/DescribePortfolioCommand.ts +++ b/clients/client-service-catalog/commands/DescribePortfolioCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePortfolioCommandInput = DescribePortfolioInput; @@ -67,14 +67,14 @@ export class DescribePortfolioCommand extends $Command< private serialize( input: DescribePortfolioCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePortfolioCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePortfolioCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DescribePortfolioShareStatusCommand.ts b/clients/client-service-catalog/commands/DescribePortfolioShareStatusCommand.ts index ace6c810c784..729c20bd974a 100644 --- a/clients/client-service-catalog/commands/DescribePortfolioShareStatusCommand.ts +++ b/clients/client-service-catalog/commands/DescribePortfolioShareStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePortfolioShareStatusCommandInput = DescribePortfolioShareStatusInput; @@ -70,7 +70,7 @@ export class DescribePortfolioShareStatusCommand extends $Command< private serialize( input: DescribePortfolioShareStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePortfolioShareStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribePortfolioShareStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePortfolioShareStatusCommand( output, diff --git a/clients/client-service-catalog/commands/DescribeProductAsAdminCommand.ts b/clients/client-service-catalog/commands/DescribeProductAsAdminCommand.ts index ae74a6958022..fc328fe25db2 100644 --- a/clients/client-service-catalog/commands/DescribeProductAsAdminCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProductAsAdminCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProductAsAdminCommandInput = DescribeProductAsAdminInput; @@ -70,14 +70,14 @@ export class DescribeProductAsAdminCommand extends $Command< private serialize( input: DescribeProductAsAdminCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProductAsAdminCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProductAsAdminCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DescribeProductCommand.ts b/clients/client-service-catalog/commands/DescribeProductCommand.ts index 551ebab34ad9..89282ac651e8 100644 --- a/clients/client-service-catalog/commands/DescribeProductCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProductCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProductCommandInput = DescribeProductInput; @@ -64,14 +64,14 @@ export class DescribeProductCommand extends $Command< private serialize( input: DescribeProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProductCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProductCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DescribeProductViewCommand.ts b/clients/client-service-catalog/commands/DescribeProductViewCommand.ts index e1bc10f23b72..676be4a6f465 100644 --- a/clients/client-service-catalog/commands/DescribeProductViewCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProductViewCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProductViewCommandInput = DescribeProductViewInput; @@ -70,14 +70,14 @@ export class DescribeProductViewCommand extends $Command< private serialize( input: DescribeProductViewCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProductViewCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProductViewCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DescribeProvisionedProductCommand.ts b/clients/client-service-catalog/commands/DescribeProvisionedProductCommand.ts index 0fa46ec89c1b..0bcb5c35e7f2 100644 --- a/clients/client-service-catalog/commands/DescribeProvisionedProductCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProvisionedProductCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProvisionedProductCommandInput = DescribeProvisionedProductInput; @@ -70,7 +70,7 @@ export class DescribeProvisionedProductCommand extends $Command< private serialize( input: DescribeProvisionedProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProvisionedProductCommand( input, @@ -80,7 +80,7 @@ export class DescribeProvisionedProductCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProvisionedProductCommand( output, diff --git a/clients/client-service-catalog/commands/DescribeProvisionedProductPlanCommand.ts b/clients/client-service-catalog/commands/DescribeProvisionedProductPlanCommand.ts index aaf88e67a9df..26915da85c25 100644 --- a/clients/client-service-catalog/commands/DescribeProvisionedProductPlanCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProvisionedProductPlanCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProvisionedProductPlanCommandInput = DescribeProvisionedProductPlanInput; @@ -70,7 +70,7 @@ export class DescribeProvisionedProductPlanCommand extends $Command< private serialize( input: DescribeProvisionedProductPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProvisionedProductPlanCommand( input, @@ -80,7 +80,7 @@ export class DescribeProvisionedProductPlanCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProvisionedProductPlanCommand( output, diff --git a/clients/client-service-catalog/commands/DescribeProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/DescribeProvisioningArtifactCommand.ts index e4499e33f9d6..e1fe58d7f359 100644 --- a/clients/client-service-catalog/commands/DescribeProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProvisioningArtifactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProvisioningArtifactCommandInput = DescribeProvisioningArtifactInput; @@ -70,7 +70,7 @@ export class DescribeProvisioningArtifactCommand extends $Command< private serialize( input: DescribeProvisioningArtifactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProvisioningArtifactCommand( input, @@ -80,7 +80,7 @@ export class DescribeProvisioningArtifactCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProvisioningArtifactCommand( output, diff --git a/clients/client-service-catalog/commands/DescribeProvisioningParametersCommand.ts b/clients/client-service-catalog/commands/DescribeProvisioningParametersCommand.ts index 4d9797417047..bab2fc6bad4a 100644 --- a/clients/client-service-catalog/commands/DescribeProvisioningParametersCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProvisioningParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProvisioningParametersCommandInput = DescribeProvisioningParametersInput; @@ -70,7 +70,7 @@ export class DescribeProvisioningParametersCommand extends $Command< private serialize( input: DescribeProvisioningParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProvisioningParametersCommand( input, @@ -80,7 +80,7 @@ export class DescribeProvisioningParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProvisioningParametersCommand( output, diff --git a/clients/client-service-catalog/commands/DescribeRecordCommand.ts b/clients/client-service-catalog/commands/DescribeRecordCommand.ts index ce3b8a30dcff..cfe03448a8e4 100644 --- a/clients/client-service-catalog/commands/DescribeRecordCommand.ts +++ b/clients/client-service-catalog/commands/DescribeRecordCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRecordCommandInput = DescribeRecordInput; @@ -64,14 +64,14 @@ export class DescribeRecordCommand extends $Command< private serialize( input: DescribeRecordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeRecordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeRecordCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DescribeServiceActionCommand.ts b/clients/client-service-catalog/commands/DescribeServiceActionCommand.ts index 658ea51ca307..1a48499ecf08 100644 --- a/clients/client-service-catalog/commands/DescribeServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/DescribeServiceActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeServiceActionCommandInput = DescribeServiceActionInput; @@ -70,14 +70,14 @@ export class DescribeServiceActionCommand extends $Command< private serialize( input: DescribeServiceActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeServiceActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeServiceActionCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DescribeServiceActionExecutionParametersCommand.ts b/clients/client-service-catalog/commands/DescribeServiceActionExecutionParametersCommand.ts index 3e8dfb24ac8c..468fcb0ca526 100644 --- a/clients/client-service-catalog/commands/DescribeServiceActionExecutionParametersCommand.ts +++ b/clients/client-service-catalog/commands/DescribeServiceActionExecutionParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeServiceActionExecutionParametersCommandInput = DescribeServiceActionExecutionParametersInput; @@ -72,7 +72,7 @@ export class DescribeServiceActionExecutionParametersCommand extends $Command< private serialize( input: DescribeServiceActionExecutionParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeServiceActionExecutionParametersCommand( input, @@ -82,7 +82,7 @@ export class DescribeServiceActionExecutionParametersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeServiceActionExecutionParametersCommand( output, diff --git a/clients/client-service-catalog/commands/DescribeTagOptionCommand.ts b/clients/client-service-catalog/commands/DescribeTagOptionCommand.ts index 0319949819c8..6bb318f7d97c 100644 --- a/clients/client-service-catalog/commands/DescribeTagOptionCommand.ts +++ b/clients/client-service-catalog/commands/DescribeTagOptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTagOptionCommandInput = DescribeTagOptionInput; @@ -67,14 +67,14 @@ export class DescribeTagOptionCommand extends $Command< private serialize( input: DescribeTagOptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTagOptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTagOptionCommand(output, context); } diff --git a/clients/client-service-catalog/commands/DisableAWSOrganizationsAccessCommand.ts b/clients/client-service-catalog/commands/DisableAWSOrganizationsAccessCommand.ts index cfc79efd5ba7..4104aa2b9e6f 100644 --- a/clients/client-service-catalog/commands/DisableAWSOrganizationsAccessCommand.ts +++ b/clients/client-service-catalog/commands/DisableAWSOrganizationsAccessCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableAWSOrganizationsAccessCommandInput = DisableAWSOrganizationsAccessInput; @@ -70,7 +70,7 @@ export class DisableAWSOrganizationsAccessCommand extends $Command< private serialize( input: DisableAWSOrganizationsAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableAWSOrganizationsAccessCommand( input, @@ -80,7 +80,7 @@ export class DisableAWSOrganizationsAccessCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableAWSOrganizationsAccessCommand( output, diff --git a/clients/client-service-catalog/commands/DisassociateBudgetFromResourceCommand.ts b/clients/client-service-catalog/commands/DisassociateBudgetFromResourceCommand.ts index fd3545079ffa..a2709a786249 100644 --- a/clients/client-service-catalog/commands/DisassociateBudgetFromResourceCommand.ts +++ b/clients/client-service-catalog/commands/DisassociateBudgetFromResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateBudgetFromResourceCommandInput = DisassociateBudgetFromResourceInput; @@ -70,7 +70,7 @@ export class DisassociateBudgetFromResourceCommand extends $Command< private serialize( input: DisassociateBudgetFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateBudgetFromResourceCommand( input, @@ -80,7 +80,7 @@ export class DisassociateBudgetFromResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateBudgetFromResourceCommand( output, diff --git a/clients/client-service-catalog/commands/DisassociatePrincipalFromPortfolioCommand.ts b/clients/client-service-catalog/commands/DisassociatePrincipalFromPortfolioCommand.ts index 7378f6f92434..31e15e0684e5 100644 --- a/clients/client-service-catalog/commands/DisassociatePrincipalFromPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/DisassociatePrincipalFromPortfolioCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociatePrincipalFromPortfolioCommandInput = DisassociatePrincipalFromPortfolioInput; @@ -70,7 +70,7 @@ export class DisassociatePrincipalFromPortfolioCommand extends $Command< private serialize( input: DisassociatePrincipalFromPortfolioCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociatePrincipalFromPortfolioCommand( input, @@ -80,7 +80,7 @@ export class DisassociatePrincipalFromPortfolioCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociatePrincipalFromPortfolioCommand( output, diff --git a/clients/client-service-catalog/commands/DisassociateProductFromPortfolioCommand.ts b/clients/client-service-catalog/commands/DisassociateProductFromPortfolioCommand.ts index 1ae6ac53fa41..a2096c2305bd 100644 --- a/clients/client-service-catalog/commands/DisassociateProductFromPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/DisassociateProductFromPortfolioCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateProductFromPortfolioCommandInput = DisassociateProductFromPortfolioInput; @@ -70,7 +70,7 @@ export class DisassociateProductFromPortfolioCommand extends $Command< private serialize( input: DisassociateProductFromPortfolioCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateProductFromPortfolioCommand( input, @@ -80,7 +80,7 @@ export class DisassociateProductFromPortfolioCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateProductFromPortfolioCommand( output, diff --git a/clients/client-service-catalog/commands/DisassociateServiceActionFromProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/DisassociateServiceActionFromProvisioningArtifactCommand.ts index 6b8991d8deed..9a2d72fdb126 100644 --- a/clients/client-service-catalog/commands/DisassociateServiceActionFromProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/DisassociateServiceActionFromProvisioningArtifactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateServiceActionFromProvisioningArtifactCommandInput = DisassociateServiceActionFromProvisioningArtifactInput; @@ -72,7 +72,7 @@ export class DisassociateServiceActionFromProvisioningArtifactCommand extends $C private serialize( input: DisassociateServiceActionFromProvisioningArtifactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateServiceActionFromProvisioningArtifactCommand( input, @@ -82,7 +82,7 @@ export class DisassociateServiceActionFromProvisioningArtifactCommand extends $C private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateServiceActionFromProvisioningArtifactCommand( output, diff --git a/clients/client-service-catalog/commands/DisassociateTagOptionFromResourceCommand.ts b/clients/client-service-catalog/commands/DisassociateTagOptionFromResourceCommand.ts index f52500468235..57187fe79adc 100644 --- a/clients/client-service-catalog/commands/DisassociateTagOptionFromResourceCommand.ts +++ b/clients/client-service-catalog/commands/DisassociateTagOptionFromResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateTagOptionFromResourceCommandInput = DisassociateTagOptionFromResourceInput; @@ -70,7 +70,7 @@ export class DisassociateTagOptionFromResourceCommand extends $Command< private serialize( input: DisassociateTagOptionFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateTagOptionFromResourceCommand( input, @@ -80,7 +80,7 @@ export class DisassociateTagOptionFromResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateTagOptionFromResourceCommand( output, diff --git a/clients/client-service-catalog/commands/EnableAWSOrganizationsAccessCommand.ts b/clients/client-service-catalog/commands/EnableAWSOrganizationsAccessCommand.ts index 4ebbc9024c92..c349ea1b3fa9 100644 --- a/clients/client-service-catalog/commands/EnableAWSOrganizationsAccessCommand.ts +++ b/clients/client-service-catalog/commands/EnableAWSOrganizationsAccessCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type EnableAWSOrganizationsAccessCommandInput = EnableAWSOrganizationsAccessInput; @@ -70,7 +70,7 @@ export class EnableAWSOrganizationsAccessCommand extends $Command< private serialize( input: EnableAWSOrganizationsAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1EnableAWSOrganizationsAccessCommand( input, @@ -80,7 +80,7 @@ export class EnableAWSOrganizationsAccessCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1EnableAWSOrganizationsAccessCommand( output, diff --git a/clients/client-service-catalog/commands/ExecuteProvisionedProductPlanCommand.ts b/clients/client-service-catalog/commands/ExecuteProvisionedProductPlanCommand.ts index 72096ed1de84..81b01c5d3608 100644 --- a/clients/client-service-catalog/commands/ExecuteProvisionedProductPlanCommand.ts +++ b/clients/client-service-catalog/commands/ExecuteProvisionedProductPlanCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExecuteProvisionedProductPlanCommandInput = ExecuteProvisionedProductPlanInput; @@ -70,7 +70,7 @@ export class ExecuteProvisionedProductPlanCommand extends $Command< private serialize( input: ExecuteProvisionedProductPlanCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ExecuteProvisionedProductPlanCommand( input, @@ -80,7 +80,7 @@ export class ExecuteProvisionedProductPlanCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ExecuteProvisionedProductPlanCommand( output, diff --git a/clients/client-service-catalog/commands/ExecuteProvisionedProductServiceActionCommand.ts b/clients/client-service-catalog/commands/ExecuteProvisionedProductServiceActionCommand.ts index 53458b35b935..abaaf4e2bce6 100644 --- a/clients/client-service-catalog/commands/ExecuteProvisionedProductServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/ExecuteProvisionedProductServiceActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ExecuteProvisionedProductServiceActionCommandInput = ExecuteProvisionedProductServiceActionInput; @@ -72,7 +72,7 @@ export class ExecuteProvisionedProductServiceActionCommand extends $Command< private serialize( input: ExecuteProvisionedProductServiceActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ExecuteProvisionedProductServiceActionCommand( input, @@ -82,7 +82,7 @@ export class ExecuteProvisionedProductServiceActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ExecuteProvisionedProductServiceActionCommand( output, diff --git a/clients/client-service-catalog/commands/GetAWSOrganizationsAccessStatusCommand.ts b/clients/client-service-catalog/commands/GetAWSOrganizationsAccessStatusCommand.ts index 314062e16b21..3b5c478fe536 100644 --- a/clients/client-service-catalog/commands/GetAWSOrganizationsAccessStatusCommand.ts +++ b/clients/client-service-catalog/commands/GetAWSOrganizationsAccessStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAWSOrganizationsAccessStatusCommandInput = GetAWSOrganizationsAccessStatusInput; @@ -70,7 +70,7 @@ export class GetAWSOrganizationsAccessStatusCommand extends $Command< private serialize( input: GetAWSOrganizationsAccessStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAWSOrganizationsAccessStatusCommand( input, @@ -80,7 +80,7 @@ export class GetAWSOrganizationsAccessStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAWSOrganizationsAccessStatusCommand( output, diff --git a/clients/client-service-catalog/commands/ListAcceptedPortfolioSharesCommand.ts b/clients/client-service-catalog/commands/ListAcceptedPortfolioSharesCommand.ts index c3fdc5bd12ae..3033ef5a3b06 100644 --- a/clients/client-service-catalog/commands/ListAcceptedPortfolioSharesCommand.ts +++ b/clients/client-service-catalog/commands/ListAcceptedPortfolioSharesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAcceptedPortfolioSharesCommandInput = ListAcceptedPortfolioSharesInput; @@ -70,7 +70,7 @@ export class ListAcceptedPortfolioSharesCommand extends $Command< private serialize( input: ListAcceptedPortfolioSharesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAcceptedPortfolioSharesCommand( input, @@ -80,7 +80,7 @@ export class ListAcceptedPortfolioSharesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAcceptedPortfolioSharesCommand( output, diff --git a/clients/client-service-catalog/commands/ListBudgetsForResourceCommand.ts b/clients/client-service-catalog/commands/ListBudgetsForResourceCommand.ts index 7da3c8eeba5c..f681820e7bb6 100644 --- a/clients/client-service-catalog/commands/ListBudgetsForResourceCommand.ts +++ b/clients/client-service-catalog/commands/ListBudgetsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListBudgetsForResourceCommandInput = ListBudgetsForResourceInput; @@ -70,14 +70,14 @@ export class ListBudgetsForResourceCommand extends $Command< private serialize( input: ListBudgetsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListBudgetsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListBudgetsForResourceCommand(output, context); } diff --git a/clients/client-service-catalog/commands/ListConstraintsForPortfolioCommand.ts b/clients/client-service-catalog/commands/ListConstraintsForPortfolioCommand.ts index 79083b682d09..380c9bfdae15 100644 --- a/clients/client-service-catalog/commands/ListConstraintsForPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/ListConstraintsForPortfolioCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConstraintsForPortfolioCommandInput = ListConstraintsForPortfolioInput; @@ -70,7 +70,7 @@ export class ListConstraintsForPortfolioCommand extends $Command< private serialize( input: ListConstraintsForPortfolioCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListConstraintsForPortfolioCommand( input, @@ -80,7 +80,7 @@ export class ListConstraintsForPortfolioCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListConstraintsForPortfolioCommand( output, diff --git a/clients/client-service-catalog/commands/ListLaunchPathsCommand.ts b/clients/client-service-catalog/commands/ListLaunchPathsCommand.ts index f696ba5737f6..74e6fb18bb9d 100644 --- a/clients/client-service-catalog/commands/ListLaunchPathsCommand.ts +++ b/clients/client-service-catalog/commands/ListLaunchPathsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLaunchPathsCommandInput = ListLaunchPathsInput; @@ -64,14 +64,14 @@ export class ListLaunchPathsCommand extends $Command< private serialize( input: ListLaunchPathsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLaunchPathsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLaunchPathsCommand(output, context); } diff --git a/clients/client-service-catalog/commands/ListOrganizationPortfolioAccessCommand.ts b/clients/client-service-catalog/commands/ListOrganizationPortfolioAccessCommand.ts index 8985229882bc..059853950667 100644 --- a/clients/client-service-catalog/commands/ListOrganizationPortfolioAccessCommand.ts +++ b/clients/client-service-catalog/commands/ListOrganizationPortfolioAccessCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOrganizationPortfolioAccessCommandInput = ListOrganizationPortfolioAccessInput; @@ -70,7 +70,7 @@ export class ListOrganizationPortfolioAccessCommand extends $Command< private serialize( input: ListOrganizationPortfolioAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListOrganizationPortfolioAccessCommand( input, @@ -80,7 +80,7 @@ export class ListOrganizationPortfolioAccessCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListOrganizationPortfolioAccessCommand( output, diff --git a/clients/client-service-catalog/commands/ListPortfolioAccessCommand.ts b/clients/client-service-catalog/commands/ListPortfolioAccessCommand.ts index 98f5c89280e2..e45d8a913719 100644 --- a/clients/client-service-catalog/commands/ListPortfolioAccessCommand.ts +++ b/clients/client-service-catalog/commands/ListPortfolioAccessCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPortfolioAccessCommandInput = ListPortfolioAccessInput; @@ -70,14 +70,14 @@ export class ListPortfolioAccessCommand extends $Command< private serialize( input: ListPortfolioAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPortfolioAccessCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPortfolioAccessCommand(output, context); } diff --git a/clients/client-service-catalog/commands/ListPortfoliosCommand.ts b/clients/client-service-catalog/commands/ListPortfoliosCommand.ts index 93024000052a..be13b0acc27f 100644 --- a/clients/client-service-catalog/commands/ListPortfoliosCommand.ts +++ b/clients/client-service-catalog/commands/ListPortfoliosCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPortfoliosCommandInput = ListPortfoliosInput; @@ -64,14 +64,14 @@ export class ListPortfoliosCommand extends $Command< private serialize( input: ListPortfoliosCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPortfoliosCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPortfoliosCommand(output, context); } diff --git a/clients/client-service-catalog/commands/ListPortfoliosForProductCommand.ts b/clients/client-service-catalog/commands/ListPortfoliosForProductCommand.ts index 87834f35a92c..a3efe886a152 100644 --- a/clients/client-service-catalog/commands/ListPortfoliosForProductCommand.ts +++ b/clients/client-service-catalog/commands/ListPortfoliosForProductCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPortfoliosForProductCommandInput = ListPortfoliosForProductInput; @@ -70,14 +70,14 @@ export class ListPortfoliosForProductCommand extends $Command< private serialize( input: ListPortfoliosForProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPortfoliosForProductCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPortfoliosForProductCommand( output, diff --git a/clients/client-service-catalog/commands/ListPrincipalsForPortfolioCommand.ts b/clients/client-service-catalog/commands/ListPrincipalsForPortfolioCommand.ts index 953c5a8a6721..9b2ab750b236 100644 --- a/clients/client-service-catalog/commands/ListPrincipalsForPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/ListPrincipalsForPortfolioCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPrincipalsForPortfolioCommandInput = ListPrincipalsForPortfolioInput; @@ -70,7 +70,7 @@ export class ListPrincipalsForPortfolioCommand extends $Command< private serialize( input: ListPrincipalsForPortfolioCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListPrincipalsForPortfolioCommand( input, @@ -80,7 +80,7 @@ export class ListPrincipalsForPortfolioCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListPrincipalsForPortfolioCommand( output, diff --git a/clients/client-service-catalog/commands/ListProvisionedProductPlansCommand.ts b/clients/client-service-catalog/commands/ListProvisionedProductPlansCommand.ts index dfbe6e4df79b..aa682922848a 100644 --- a/clients/client-service-catalog/commands/ListProvisionedProductPlansCommand.ts +++ b/clients/client-service-catalog/commands/ListProvisionedProductPlansCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProvisionedProductPlansCommandInput = ListProvisionedProductPlansInput; @@ -70,7 +70,7 @@ export class ListProvisionedProductPlansCommand extends $Command< private serialize( input: ListProvisionedProductPlansCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListProvisionedProductPlansCommand( input, @@ -80,7 +80,7 @@ export class ListProvisionedProductPlansCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListProvisionedProductPlansCommand( output, diff --git a/clients/client-service-catalog/commands/ListProvisioningArtifactsCommand.ts b/clients/client-service-catalog/commands/ListProvisioningArtifactsCommand.ts index fc2eb307454b..a69872d7b6bd 100644 --- a/clients/client-service-catalog/commands/ListProvisioningArtifactsCommand.ts +++ b/clients/client-service-catalog/commands/ListProvisioningArtifactsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProvisioningArtifactsCommandInput = ListProvisioningArtifactsInput; @@ -70,14 +70,14 @@ export class ListProvisioningArtifactsCommand extends $Command< private serialize( input: ListProvisioningArtifactsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListProvisioningArtifactsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListProvisioningArtifactsCommand( output, diff --git a/clients/client-service-catalog/commands/ListProvisioningArtifactsForServiceActionCommand.ts b/clients/client-service-catalog/commands/ListProvisioningArtifactsForServiceActionCommand.ts index fe81d3167145..12fabfc8121a 100644 --- a/clients/client-service-catalog/commands/ListProvisioningArtifactsForServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/ListProvisioningArtifactsForServiceActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProvisioningArtifactsForServiceActionCommandInput = ListProvisioningArtifactsForServiceActionInput; @@ -72,7 +72,7 @@ export class ListProvisioningArtifactsForServiceActionCommand extends $Command< private serialize( input: ListProvisioningArtifactsForServiceActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListProvisioningArtifactsForServiceActionCommand( input, @@ -82,7 +82,7 @@ export class ListProvisioningArtifactsForServiceActionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListProvisioningArtifactsForServiceActionCommand( output, diff --git a/clients/client-service-catalog/commands/ListRecordHistoryCommand.ts b/clients/client-service-catalog/commands/ListRecordHistoryCommand.ts index 72fd5fce3a75..5d766881fffa 100644 --- a/clients/client-service-catalog/commands/ListRecordHistoryCommand.ts +++ b/clients/client-service-catalog/commands/ListRecordHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRecordHistoryCommandInput = ListRecordHistoryInput; @@ -67,14 +67,14 @@ export class ListRecordHistoryCommand extends $Command< private serialize( input: ListRecordHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRecordHistoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRecordHistoryCommand(output, context); } diff --git a/clients/client-service-catalog/commands/ListResourcesForTagOptionCommand.ts b/clients/client-service-catalog/commands/ListResourcesForTagOptionCommand.ts index 322e466be9ff..432b974d881a 100644 --- a/clients/client-service-catalog/commands/ListResourcesForTagOptionCommand.ts +++ b/clients/client-service-catalog/commands/ListResourcesForTagOptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourcesForTagOptionCommandInput = ListResourcesForTagOptionInput; @@ -70,14 +70,14 @@ export class ListResourcesForTagOptionCommand extends $Command< private serialize( input: ListResourcesForTagOptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourcesForTagOptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourcesForTagOptionCommand( output, diff --git a/clients/client-service-catalog/commands/ListServiceActionsCommand.ts b/clients/client-service-catalog/commands/ListServiceActionsCommand.ts index e3087ba02694..f3e5e4d3c1b3 100644 --- a/clients/client-service-catalog/commands/ListServiceActionsCommand.ts +++ b/clients/client-service-catalog/commands/ListServiceActionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListServiceActionsCommandInput = ListServiceActionsInput; @@ -67,14 +67,14 @@ export class ListServiceActionsCommand extends $Command< private serialize( input: ListServiceActionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListServiceActionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListServiceActionsCommand(output, context); } diff --git a/clients/client-service-catalog/commands/ListServiceActionsForProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/ListServiceActionsForProvisioningArtifactCommand.ts index 6741faa8d626..c9e3c4e98857 100644 --- a/clients/client-service-catalog/commands/ListServiceActionsForProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/ListServiceActionsForProvisioningArtifactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListServiceActionsForProvisioningArtifactCommandInput = ListServiceActionsForProvisioningArtifactInput; @@ -72,7 +72,7 @@ export class ListServiceActionsForProvisioningArtifactCommand extends $Command< private serialize( input: ListServiceActionsForProvisioningArtifactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListServiceActionsForProvisioningArtifactCommand( input, @@ -82,7 +82,7 @@ export class ListServiceActionsForProvisioningArtifactCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListServiceActionsForProvisioningArtifactCommand( output, diff --git a/clients/client-service-catalog/commands/ListStackInstancesForProvisionedProductCommand.ts b/clients/client-service-catalog/commands/ListStackInstancesForProvisionedProductCommand.ts index 81935accac3e..715c95074f41 100644 --- a/clients/client-service-catalog/commands/ListStackInstancesForProvisionedProductCommand.ts +++ b/clients/client-service-catalog/commands/ListStackInstancesForProvisionedProductCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStackInstancesForProvisionedProductCommandInput = ListStackInstancesForProvisionedProductInput; @@ -72,7 +72,7 @@ export class ListStackInstancesForProvisionedProductCommand extends $Command< private serialize( input: ListStackInstancesForProvisionedProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListStackInstancesForProvisionedProductCommand( input, @@ -82,7 +82,7 @@ export class ListStackInstancesForProvisionedProductCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListStackInstancesForProvisionedProductCommand( output, diff --git a/clients/client-service-catalog/commands/ListTagOptionsCommand.ts b/clients/client-service-catalog/commands/ListTagOptionsCommand.ts index c3b40dee56a4..50a0c3602d01 100644 --- a/clients/client-service-catalog/commands/ListTagOptionsCommand.ts +++ b/clients/client-service-catalog/commands/ListTagOptionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagOptionsCommandInput = ListTagOptionsInput; @@ -64,14 +64,14 @@ export class ListTagOptionsCommand extends $Command< private serialize( input: ListTagOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagOptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagOptionsCommand(output, context); } diff --git a/clients/client-service-catalog/commands/ProvisionProductCommand.ts b/clients/client-service-catalog/commands/ProvisionProductCommand.ts index bfcaeeced790..851237ffe3a4 100644 --- a/clients/client-service-catalog/commands/ProvisionProductCommand.ts +++ b/clients/client-service-catalog/commands/ProvisionProductCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ProvisionProductCommandInput = ProvisionProductInput; @@ -64,14 +64,14 @@ export class ProvisionProductCommand extends $Command< private serialize( input: ProvisionProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ProvisionProductCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ProvisionProductCommand(output, context); } diff --git a/clients/client-service-catalog/commands/RejectPortfolioShareCommand.ts b/clients/client-service-catalog/commands/RejectPortfolioShareCommand.ts index 2e2d25fda6c3..24dd1cdd0e9e 100644 --- a/clients/client-service-catalog/commands/RejectPortfolioShareCommand.ts +++ b/clients/client-service-catalog/commands/RejectPortfolioShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RejectPortfolioShareCommandInput = RejectPortfolioShareInput; @@ -70,14 +70,14 @@ export class RejectPortfolioShareCommand extends $Command< private serialize( input: RejectPortfolioShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RejectPortfolioShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RejectPortfolioShareCommand(output, context); } diff --git a/clients/client-service-catalog/commands/ScanProvisionedProductsCommand.ts b/clients/client-service-catalog/commands/ScanProvisionedProductsCommand.ts index ca05b0fd8ea8..69b5b5a98c62 100644 --- a/clients/client-service-catalog/commands/ScanProvisionedProductsCommand.ts +++ b/clients/client-service-catalog/commands/ScanProvisionedProductsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ScanProvisionedProductsCommandInput = ScanProvisionedProductsInput; @@ -70,14 +70,14 @@ export class ScanProvisionedProductsCommand extends $Command< private serialize( input: ScanProvisionedProductsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ScanProvisionedProductsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ScanProvisionedProductsCommand( output, diff --git a/clients/client-service-catalog/commands/SearchProductsAsAdminCommand.ts b/clients/client-service-catalog/commands/SearchProductsAsAdminCommand.ts index 6cfd5082ed45..8e22e105009a 100644 --- a/clients/client-service-catalog/commands/SearchProductsAsAdminCommand.ts +++ b/clients/client-service-catalog/commands/SearchProductsAsAdminCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchProductsAsAdminCommandInput = SearchProductsAsAdminInput; @@ -70,14 +70,14 @@ export class SearchProductsAsAdminCommand extends $Command< private serialize( input: SearchProductsAsAdminCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchProductsAsAdminCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchProductsAsAdminCommand(output, context); } diff --git a/clients/client-service-catalog/commands/SearchProductsCommand.ts b/clients/client-service-catalog/commands/SearchProductsCommand.ts index 7881aa7ab93b..66a3b9d2fd80 100644 --- a/clients/client-service-catalog/commands/SearchProductsCommand.ts +++ b/clients/client-service-catalog/commands/SearchProductsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchProductsCommandInput = SearchProductsInput; @@ -64,14 +64,14 @@ export class SearchProductsCommand extends $Command< private serialize( input: SearchProductsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchProductsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchProductsCommand(output, context); } diff --git a/clients/client-service-catalog/commands/SearchProvisionedProductsCommand.ts b/clients/client-service-catalog/commands/SearchProvisionedProductsCommand.ts index 565c83c23dec..c5e592ae8bd9 100644 --- a/clients/client-service-catalog/commands/SearchProvisionedProductsCommand.ts +++ b/clients/client-service-catalog/commands/SearchProvisionedProductsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SearchProvisionedProductsCommandInput = SearchProvisionedProductsInput; @@ -70,14 +70,14 @@ export class SearchProvisionedProductsCommand extends $Command< private serialize( input: SearchProvisionedProductsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SearchProvisionedProductsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SearchProvisionedProductsCommand( output, diff --git a/clients/client-service-catalog/commands/TerminateProvisionedProductCommand.ts b/clients/client-service-catalog/commands/TerminateProvisionedProductCommand.ts index 7ee9b082d1bb..94a888a006ec 100644 --- a/clients/client-service-catalog/commands/TerminateProvisionedProductCommand.ts +++ b/clients/client-service-catalog/commands/TerminateProvisionedProductCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TerminateProvisionedProductCommandInput = TerminateProvisionedProductInput; @@ -70,7 +70,7 @@ export class TerminateProvisionedProductCommand extends $Command< private serialize( input: TerminateProvisionedProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TerminateProvisionedProductCommand( input, @@ -80,7 +80,7 @@ export class TerminateProvisionedProductCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TerminateProvisionedProductCommand( output, diff --git a/clients/client-service-catalog/commands/UpdateConstraintCommand.ts b/clients/client-service-catalog/commands/UpdateConstraintCommand.ts index 7c59aa9fb144..715e62462441 100644 --- a/clients/client-service-catalog/commands/UpdateConstraintCommand.ts +++ b/clients/client-service-catalog/commands/UpdateConstraintCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConstraintCommandInput = UpdateConstraintInput; @@ -64,14 +64,14 @@ export class UpdateConstraintCommand extends $Command< private serialize( input: UpdateConstraintCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateConstraintCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateConstraintCommand(output, context); } diff --git a/clients/client-service-catalog/commands/UpdatePortfolioCommand.ts b/clients/client-service-catalog/commands/UpdatePortfolioCommand.ts index 27aaa8b695d6..813b4b4f22c2 100644 --- a/clients/client-service-catalog/commands/UpdatePortfolioCommand.ts +++ b/clients/client-service-catalog/commands/UpdatePortfolioCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePortfolioCommandInput = UpdatePortfolioInput; @@ -64,14 +64,14 @@ export class UpdatePortfolioCommand extends $Command< private serialize( input: UpdatePortfolioCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdatePortfolioCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdatePortfolioCommand(output, context); } diff --git a/clients/client-service-catalog/commands/UpdateProductCommand.ts b/clients/client-service-catalog/commands/UpdateProductCommand.ts index fcc92c5836da..c9f51d83a1f3 100644 --- a/clients/client-service-catalog/commands/UpdateProductCommand.ts +++ b/clients/client-service-catalog/commands/UpdateProductCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProductCommandInput = UpdateProductInput; @@ -64,14 +64,14 @@ export class UpdateProductCommand extends $Command< private serialize( input: UpdateProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateProductCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateProductCommand(output, context); } diff --git a/clients/client-service-catalog/commands/UpdateProvisionedProductCommand.ts b/clients/client-service-catalog/commands/UpdateProvisionedProductCommand.ts index bf5fa7cc4539..b68c879238f8 100644 --- a/clients/client-service-catalog/commands/UpdateProvisionedProductCommand.ts +++ b/clients/client-service-catalog/commands/UpdateProvisionedProductCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProvisionedProductCommandInput = UpdateProvisionedProductInput; @@ -70,14 +70,14 @@ export class UpdateProvisionedProductCommand extends $Command< private serialize( input: UpdateProvisionedProductCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateProvisionedProductCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateProvisionedProductCommand( output, diff --git a/clients/client-service-catalog/commands/UpdateProvisionedProductPropertiesCommand.ts b/clients/client-service-catalog/commands/UpdateProvisionedProductPropertiesCommand.ts index c7d6f348cfbf..60f8e31e5eab 100644 --- a/clients/client-service-catalog/commands/UpdateProvisionedProductPropertiesCommand.ts +++ b/clients/client-service-catalog/commands/UpdateProvisionedProductPropertiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProvisionedProductPropertiesCommandInput = UpdateProvisionedProductPropertiesInput; @@ -70,7 +70,7 @@ export class UpdateProvisionedProductPropertiesCommand extends $Command< private serialize( input: UpdateProvisionedProductPropertiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateProvisionedProductPropertiesCommand( input, @@ -80,7 +80,7 @@ export class UpdateProvisionedProductPropertiesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateProvisionedProductPropertiesCommand( output, diff --git a/clients/client-service-catalog/commands/UpdateProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/UpdateProvisioningArtifactCommand.ts index d3c8cda335e7..ac15cb3e0a00 100644 --- a/clients/client-service-catalog/commands/UpdateProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/UpdateProvisioningArtifactCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateProvisioningArtifactCommandInput = UpdateProvisioningArtifactInput; @@ -70,7 +70,7 @@ export class UpdateProvisioningArtifactCommand extends $Command< private serialize( input: UpdateProvisioningArtifactCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateProvisioningArtifactCommand( input, @@ -80,7 +80,7 @@ export class UpdateProvisioningArtifactCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateProvisioningArtifactCommand( output, diff --git a/clients/client-service-catalog/commands/UpdateServiceActionCommand.ts b/clients/client-service-catalog/commands/UpdateServiceActionCommand.ts index fe02709a51e9..02e2cba31d33 100644 --- a/clients/client-service-catalog/commands/UpdateServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/UpdateServiceActionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServiceActionCommandInput = UpdateServiceActionInput; @@ -70,14 +70,14 @@ export class UpdateServiceActionCommand extends $Command< private serialize( input: UpdateServiceActionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateServiceActionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateServiceActionCommand(output, context); } diff --git a/clients/client-service-catalog/commands/UpdateTagOptionCommand.ts b/clients/client-service-catalog/commands/UpdateTagOptionCommand.ts index 61deb8835650..2cf6eb9ebe85 100644 --- a/clients/client-service-catalog/commands/UpdateTagOptionCommand.ts +++ b/clients/client-service-catalog/commands/UpdateTagOptionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTagOptionCommandInput = UpdateTagOptionInput; @@ -64,14 +64,14 @@ export class UpdateTagOptionCommand extends $Command< private serialize( input: UpdateTagOptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateTagOptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateTagOptionCommand(output, context); } diff --git a/clients/client-service-catalog/protocols/Aws_json1_1.ts b/clients/client-service-catalog/protocols/Aws_json1_1.ts index 5832c49a4bf3..05864a0e04c2 100644 --- a/clients/client-service-catalog/protocols/Aws_json1_1.ts +++ b/clients/client-service-catalog/protocols/Aws_json1_1.ts @@ -13509,6 +13509,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-service-quotas/commands/AssociateServiceQuotaTemplateCommand.ts b/clients/client-service-quotas/commands/AssociateServiceQuotaTemplateCommand.ts index 50cb16f91993..6e54343f68d0 100644 --- a/clients/client-service-quotas/commands/AssociateServiceQuotaTemplateCommand.ts +++ b/clients/client-service-quotas/commands/AssociateServiceQuotaTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateServiceQuotaTemplateCommandInput = AssociateServiceQuotaTemplateRequest; @@ -70,7 +70,7 @@ export class AssociateServiceQuotaTemplateCommand extends $Command< private serialize( input: AssociateServiceQuotaTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateServiceQuotaTemplateCommand( input, @@ -80,7 +80,7 @@ export class AssociateServiceQuotaTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateServiceQuotaTemplateCommand( output, diff --git a/clients/client-service-quotas/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.ts b/clients/client-service-quotas/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.ts index dc53a7f62bb9..f3ff69d69879 100644 --- a/clients/client-service-quotas/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.ts +++ b/clients/client-service-quotas/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput = DeleteServiceQuotaIncreaseRequestFromTemplateRequest; @@ -72,7 +72,7 @@ export class DeleteServiceQuotaIncreaseRequestFromTemplateCommand extends $Comma private serialize( input: DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand( input, @@ -82,7 +82,7 @@ export class DeleteServiceQuotaIncreaseRequestFromTemplateCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand( output, diff --git a/clients/client-service-quotas/commands/DisassociateServiceQuotaTemplateCommand.ts b/clients/client-service-quotas/commands/DisassociateServiceQuotaTemplateCommand.ts index 86198c8d3645..ad6d353499e2 100644 --- a/clients/client-service-quotas/commands/DisassociateServiceQuotaTemplateCommand.ts +++ b/clients/client-service-quotas/commands/DisassociateServiceQuotaTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateServiceQuotaTemplateCommandInput = DisassociateServiceQuotaTemplateRequest; @@ -70,7 +70,7 @@ export class DisassociateServiceQuotaTemplateCommand extends $Command< private serialize( input: DisassociateServiceQuotaTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateServiceQuotaTemplateCommand( input, @@ -80,7 +80,7 @@ export class DisassociateServiceQuotaTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateServiceQuotaTemplateCommand( output, diff --git a/clients/client-service-quotas/commands/GetAWSDefaultServiceQuotaCommand.ts b/clients/client-service-quotas/commands/GetAWSDefaultServiceQuotaCommand.ts index a8d9b0495a5a..403facb6488f 100644 --- a/clients/client-service-quotas/commands/GetAWSDefaultServiceQuotaCommand.ts +++ b/clients/client-service-quotas/commands/GetAWSDefaultServiceQuotaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAWSDefaultServiceQuotaCommandInput = GetAWSDefaultServiceQuotaRequest; @@ -70,14 +70,14 @@ export class GetAWSDefaultServiceQuotaCommand extends $Command< private serialize( input: GetAWSDefaultServiceQuotaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAWSDefaultServiceQuotaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAWSDefaultServiceQuotaCommand( output, diff --git a/clients/client-service-quotas/commands/GetAssociationForServiceQuotaTemplateCommand.ts b/clients/client-service-quotas/commands/GetAssociationForServiceQuotaTemplateCommand.ts index 7cbfea06a09b..9dbb5628b3ed 100644 --- a/clients/client-service-quotas/commands/GetAssociationForServiceQuotaTemplateCommand.ts +++ b/clients/client-service-quotas/commands/GetAssociationForServiceQuotaTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAssociationForServiceQuotaTemplateCommandInput = GetAssociationForServiceQuotaTemplateRequest; @@ -72,7 +72,7 @@ export class GetAssociationForServiceQuotaTemplateCommand extends $Command< private serialize( input: GetAssociationForServiceQuotaTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAssociationForServiceQuotaTemplateCommand( input, @@ -82,7 +82,7 @@ export class GetAssociationForServiceQuotaTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommand( output, diff --git a/clients/client-service-quotas/commands/GetRequestedServiceQuotaChangeCommand.ts b/clients/client-service-quotas/commands/GetRequestedServiceQuotaChangeCommand.ts index a7076a4b150d..80e414b8fafc 100644 --- a/clients/client-service-quotas/commands/GetRequestedServiceQuotaChangeCommand.ts +++ b/clients/client-service-quotas/commands/GetRequestedServiceQuotaChangeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRequestedServiceQuotaChangeCommandInput = GetRequestedServiceQuotaChangeRequest; @@ -70,7 +70,7 @@ export class GetRequestedServiceQuotaChangeCommand extends $Command< private serialize( input: GetRequestedServiceQuotaChangeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRequestedServiceQuotaChangeCommand( input, @@ -80,7 +80,7 @@ export class GetRequestedServiceQuotaChangeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRequestedServiceQuotaChangeCommand( output, diff --git a/clients/client-service-quotas/commands/GetServiceQuotaCommand.ts b/clients/client-service-quotas/commands/GetServiceQuotaCommand.ts index 97b7158b6b87..45aa9ae6256e 100644 --- a/clients/client-service-quotas/commands/GetServiceQuotaCommand.ts +++ b/clients/client-service-quotas/commands/GetServiceQuotaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServiceQuotaCommandInput = GetServiceQuotaRequest; @@ -67,14 +67,14 @@ export class GetServiceQuotaCommand extends $Command< private serialize( input: GetServiceQuotaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetServiceQuotaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetServiceQuotaCommand(output, context); } diff --git a/clients/client-service-quotas/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.ts b/clients/client-service-quotas/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.ts index 0a3f9b30632f..846786a44656 100644 --- a/clients/client-service-quotas/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.ts +++ b/clients/client-service-quotas/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServiceQuotaIncreaseRequestFromTemplateCommandInput = GetServiceQuotaIncreaseRequestFromTemplateRequest; @@ -72,7 +72,7 @@ export class GetServiceQuotaIncreaseRequestFromTemplateCommand extends $Command< private serialize( input: GetServiceQuotaIncreaseRequestFromTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommand( input, @@ -82,7 +82,7 @@ export class GetServiceQuotaIncreaseRequestFromTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommand( output, diff --git a/clients/client-service-quotas/commands/ListAWSDefaultServiceQuotasCommand.ts b/clients/client-service-quotas/commands/ListAWSDefaultServiceQuotasCommand.ts index 3c2cee06f31d..3d7aa27f1f89 100644 --- a/clients/client-service-quotas/commands/ListAWSDefaultServiceQuotasCommand.ts +++ b/clients/client-service-quotas/commands/ListAWSDefaultServiceQuotasCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAWSDefaultServiceQuotasCommandInput = ListAWSDefaultServiceQuotasRequest; @@ -70,7 +70,7 @@ export class ListAWSDefaultServiceQuotasCommand extends $Command< private serialize( input: ListAWSDefaultServiceQuotasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAWSDefaultServiceQuotasCommand( input, @@ -80,7 +80,7 @@ export class ListAWSDefaultServiceQuotasCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAWSDefaultServiceQuotasCommand( output, diff --git a/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.ts b/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.ts index 3b6d33037ef0..b3b512ef634d 100644 --- a/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.ts +++ b/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRequestedServiceQuotaChangeHistoryByQuotaCommandInput = ListRequestedServiceQuotaChangeHistoryByQuotaRequest; @@ -72,7 +72,7 @@ export class ListRequestedServiceQuotaChangeHistoryByQuotaCommand extends $Comma private serialize( input: ListRequestedServiceQuotaChangeHistoryByQuotaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommand( input, @@ -82,7 +82,7 @@ export class ListRequestedServiceQuotaChangeHistoryByQuotaCommand extends $Comma private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommand( output, diff --git a/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryCommand.ts b/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryCommand.ts index c5f807d9ed21..ca957fcfead9 100644 --- a/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryCommand.ts +++ b/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRequestedServiceQuotaChangeHistoryCommandInput = ListRequestedServiceQuotaChangeHistoryRequest; @@ -72,7 +72,7 @@ export class ListRequestedServiceQuotaChangeHistoryCommand extends $Command< private serialize( input: ListRequestedServiceQuotaChangeHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommand( input, @@ -82,7 +82,7 @@ export class ListRequestedServiceQuotaChangeHistoryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommand( output, diff --git a/clients/client-service-quotas/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.ts b/clients/client-service-quotas/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.ts index 99a0021b35ed..d62b6e5ad33c 100644 --- a/clients/client-service-quotas/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.ts +++ b/clients/client-service-quotas/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListServiceQuotaIncreaseRequestsInTemplateCommandInput = ListServiceQuotaIncreaseRequestsInTemplateRequest; @@ -72,7 +72,7 @@ export class ListServiceQuotaIncreaseRequestsInTemplateCommand extends $Command< private serialize( input: ListServiceQuotaIncreaseRequestsInTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommand( input, @@ -82,7 +82,7 @@ export class ListServiceQuotaIncreaseRequestsInTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommand( output, diff --git a/clients/client-service-quotas/commands/ListServiceQuotasCommand.ts b/clients/client-service-quotas/commands/ListServiceQuotasCommand.ts index cf7351dd5bad..2e14f7949c95 100644 --- a/clients/client-service-quotas/commands/ListServiceQuotasCommand.ts +++ b/clients/client-service-quotas/commands/ListServiceQuotasCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListServiceQuotasCommandInput = ListServiceQuotasRequest; @@ -67,14 +67,14 @@ export class ListServiceQuotasCommand extends $Command< private serialize( input: ListServiceQuotasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListServiceQuotasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListServiceQuotasCommand(output, context); } diff --git a/clients/client-service-quotas/commands/ListServicesCommand.ts b/clients/client-service-quotas/commands/ListServicesCommand.ts index 9e96bb9d4b13..b697db5e978b 100644 --- a/clients/client-service-quotas/commands/ListServicesCommand.ts +++ b/clients/client-service-quotas/commands/ListServicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListServicesCommandInput = ListServicesRequest; @@ -64,14 +64,14 @@ export class ListServicesCommand extends $Command< private serialize( input: ListServicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListServicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListServicesCommand(output, context); } diff --git a/clients/client-service-quotas/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.ts b/clients/client-service-quotas/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.ts index 4111ec14ce98..853941ea9518 100644 --- a/clients/client-service-quotas/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.ts +++ b/clients/client-service-quotas/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutServiceQuotaIncreaseRequestIntoTemplateCommandInput = PutServiceQuotaIncreaseRequestIntoTemplateRequest; @@ -72,7 +72,7 @@ export class PutServiceQuotaIncreaseRequestIntoTemplateCommand extends $Command< private serialize( input: PutServiceQuotaIncreaseRequestIntoTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommand( input, @@ -82,7 +82,7 @@ export class PutServiceQuotaIncreaseRequestIntoTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommand( output, diff --git a/clients/client-service-quotas/commands/RequestServiceQuotaIncreaseCommand.ts b/clients/client-service-quotas/commands/RequestServiceQuotaIncreaseCommand.ts index 37819ccd00a8..516a2e6a1472 100644 --- a/clients/client-service-quotas/commands/RequestServiceQuotaIncreaseCommand.ts +++ b/clients/client-service-quotas/commands/RequestServiceQuotaIncreaseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RequestServiceQuotaIncreaseCommandInput = RequestServiceQuotaIncreaseRequest; @@ -70,7 +70,7 @@ export class RequestServiceQuotaIncreaseCommand extends $Command< private serialize( input: RequestServiceQuotaIncreaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RequestServiceQuotaIncreaseCommand( input, @@ -80,7 +80,7 @@ export class RequestServiceQuotaIncreaseCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RequestServiceQuotaIncreaseCommand( output, diff --git a/clients/client-service-quotas/protocols/Aws_json1_1.ts b/clients/client-service-quotas/protocols/Aws_json1_1.ts index 327a5aeb31bb..6bea49b7c4a0 100644 --- a/clients/client-service-quotas/protocols/Aws_json1_1.ts +++ b/clients/client-service-quotas/protocols/Aws_json1_1.ts @@ -3365,6 +3365,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-servicediscovery/commands/CreateHttpNamespaceCommand.ts b/clients/client-servicediscovery/commands/CreateHttpNamespaceCommand.ts index 936e7089e927..21670a766a8b 100644 --- a/clients/client-servicediscovery/commands/CreateHttpNamespaceCommand.ts +++ b/clients/client-servicediscovery/commands/CreateHttpNamespaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateHttpNamespaceCommandInput = CreateHttpNamespaceRequest; @@ -70,14 +70,14 @@ export class CreateHttpNamespaceCommand extends $Command< private serialize( input: CreateHttpNamespaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateHttpNamespaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateHttpNamespaceCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/CreatePrivateDnsNamespaceCommand.ts b/clients/client-servicediscovery/commands/CreatePrivateDnsNamespaceCommand.ts index 486e7fed3060..c1f46f71e332 100644 --- a/clients/client-servicediscovery/commands/CreatePrivateDnsNamespaceCommand.ts +++ b/clients/client-servicediscovery/commands/CreatePrivateDnsNamespaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePrivateDnsNamespaceCommandInput = CreatePrivateDnsNamespaceRequest; @@ -70,14 +70,14 @@ export class CreatePrivateDnsNamespaceCommand extends $Command< private serialize( input: CreatePrivateDnsNamespaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePrivateDnsNamespaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePrivateDnsNamespaceCommand( output, diff --git a/clients/client-servicediscovery/commands/CreatePublicDnsNamespaceCommand.ts b/clients/client-servicediscovery/commands/CreatePublicDnsNamespaceCommand.ts index 44bb103bfa3f..fac5a9e7217c 100644 --- a/clients/client-servicediscovery/commands/CreatePublicDnsNamespaceCommand.ts +++ b/clients/client-servicediscovery/commands/CreatePublicDnsNamespaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePublicDnsNamespaceCommandInput = CreatePublicDnsNamespaceRequest; @@ -70,14 +70,14 @@ export class CreatePublicDnsNamespaceCommand extends $Command< private serialize( input: CreatePublicDnsNamespaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePublicDnsNamespaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePublicDnsNamespaceCommand( output, diff --git a/clients/client-servicediscovery/commands/CreateServiceCommand.ts b/clients/client-servicediscovery/commands/CreateServiceCommand.ts index 7d19f8fc1df4..67123127bdaf 100644 --- a/clients/client-servicediscovery/commands/CreateServiceCommand.ts +++ b/clients/client-servicediscovery/commands/CreateServiceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateServiceCommandInput = CreateServiceRequest; @@ -64,14 +64,14 @@ export class CreateServiceCommand extends $Command< private serialize( input: CreateServiceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateServiceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateServiceCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/DeleteNamespaceCommand.ts b/clients/client-servicediscovery/commands/DeleteNamespaceCommand.ts index 5e7d6e9d57e1..d34904e3713e 100644 --- a/clients/client-servicediscovery/commands/DeleteNamespaceCommand.ts +++ b/clients/client-servicediscovery/commands/DeleteNamespaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNamespaceCommandInput = DeleteNamespaceRequest; @@ -67,14 +67,14 @@ export class DeleteNamespaceCommand extends $Command< private serialize( input: DeleteNamespaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteNamespaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteNamespaceCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/DeleteServiceCommand.ts b/clients/client-servicediscovery/commands/DeleteServiceCommand.ts index 941b2b3c7b38..edf64867d0b9 100644 --- a/clients/client-servicediscovery/commands/DeleteServiceCommand.ts +++ b/clients/client-servicediscovery/commands/DeleteServiceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteServiceCommandInput = DeleteServiceRequest; @@ -64,14 +64,14 @@ export class DeleteServiceCommand extends $Command< private serialize( input: DeleteServiceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteServiceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteServiceCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/DeregisterInstanceCommand.ts b/clients/client-servicediscovery/commands/DeregisterInstanceCommand.ts index 30e2ac32c505..e4eaa87c4a40 100644 --- a/clients/client-servicediscovery/commands/DeregisterInstanceCommand.ts +++ b/clients/client-servicediscovery/commands/DeregisterInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterInstanceCommandInput = DeregisterInstanceRequest; @@ -67,14 +67,14 @@ export class DeregisterInstanceCommand extends $Command< private serialize( input: DeregisterInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterInstanceCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/DiscoverInstancesCommand.ts b/clients/client-servicediscovery/commands/DiscoverInstancesCommand.ts index cf00f6238f81..4c1678d7689d 100644 --- a/clients/client-servicediscovery/commands/DiscoverInstancesCommand.ts +++ b/clients/client-servicediscovery/commands/DiscoverInstancesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DiscoverInstancesCommandInput = DiscoverInstancesRequest; @@ -67,14 +67,14 @@ export class DiscoverInstancesCommand extends $Command< private serialize( input: DiscoverInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DiscoverInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DiscoverInstancesCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/GetInstanceCommand.ts b/clients/client-servicediscovery/commands/GetInstanceCommand.ts index 63375dbaf2ca..19822ade2ca2 100644 --- a/clients/client-servicediscovery/commands/GetInstanceCommand.ts +++ b/clients/client-servicediscovery/commands/GetInstanceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstanceCommandInput = GetInstanceRequest; @@ -64,14 +64,14 @@ export class GetInstanceCommand extends $Command< private serialize( input: GetInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstanceCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/GetInstancesHealthStatusCommand.ts b/clients/client-servicediscovery/commands/GetInstancesHealthStatusCommand.ts index b0055ec490ef..f4155fe25b3a 100644 --- a/clients/client-servicediscovery/commands/GetInstancesHealthStatusCommand.ts +++ b/clients/client-servicediscovery/commands/GetInstancesHealthStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInstancesHealthStatusCommandInput = GetInstancesHealthStatusRequest; @@ -70,14 +70,14 @@ export class GetInstancesHealthStatusCommand extends $Command< private serialize( input: GetInstancesHealthStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInstancesHealthStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInstancesHealthStatusCommand( output, diff --git a/clients/client-servicediscovery/commands/GetNamespaceCommand.ts b/clients/client-servicediscovery/commands/GetNamespaceCommand.ts index 837c6ca2c1cb..4ebc4203b232 100644 --- a/clients/client-servicediscovery/commands/GetNamespaceCommand.ts +++ b/clients/client-servicediscovery/commands/GetNamespaceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetNamespaceCommandInput = GetNamespaceRequest; @@ -64,14 +64,14 @@ export class GetNamespaceCommand extends $Command< private serialize( input: GetNamespaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetNamespaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetNamespaceCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/GetOperationCommand.ts b/clients/client-servicediscovery/commands/GetOperationCommand.ts index 54a9f3a7a7ff..bd026a4b7dfc 100644 --- a/clients/client-servicediscovery/commands/GetOperationCommand.ts +++ b/clients/client-servicediscovery/commands/GetOperationCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOperationCommandInput = GetOperationRequest; @@ -64,14 +64,14 @@ export class GetOperationCommand extends $Command< private serialize( input: GetOperationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOperationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOperationCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/GetServiceCommand.ts b/clients/client-servicediscovery/commands/GetServiceCommand.ts index 8da08f4e9947..20159764dded 100644 --- a/clients/client-servicediscovery/commands/GetServiceCommand.ts +++ b/clients/client-servicediscovery/commands/GetServiceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServiceCommandInput = GetServiceRequest; @@ -64,14 +64,14 @@ export class GetServiceCommand extends $Command< private serialize( input: GetServiceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetServiceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetServiceCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/ListInstancesCommand.ts b/clients/client-servicediscovery/commands/ListInstancesCommand.ts index 4b33b67f100d..6f64fe7d7d23 100644 --- a/clients/client-servicediscovery/commands/ListInstancesCommand.ts +++ b/clients/client-servicediscovery/commands/ListInstancesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInstancesCommandInput = ListInstancesRequest; @@ -64,14 +64,14 @@ export class ListInstancesCommand extends $Command< private serialize( input: ListInstancesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListInstancesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListInstancesCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/ListNamespacesCommand.ts b/clients/client-servicediscovery/commands/ListNamespacesCommand.ts index c635613af68d..e37b946084c0 100644 --- a/clients/client-servicediscovery/commands/ListNamespacesCommand.ts +++ b/clients/client-servicediscovery/commands/ListNamespacesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListNamespacesCommandInput = ListNamespacesRequest; @@ -64,14 +64,14 @@ export class ListNamespacesCommand extends $Command< private serialize( input: ListNamespacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListNamespacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListNamespacesCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/ListOperationsCommand.ts b/clients/client-servicediscovery/commands/ListOperationsCommand.ts index 3dccd87abe2a..3f0abf233e9b 100644 --- a/clients/client-servicediscovery/commands/ListOperationsCommand.ts +++ b/clients/client-servicediscovery/commands/ListOperationsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOperationsCommandInput = ListOperationsRequest; @@ -64,14 +64,14 @@ export class ListOperationsCommand extends $Command< private serialize( input: ListOperationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListOperationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListOperationsCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/ListServicesCommand.ts b/clients/client-servicediscovery/commands/ListServicesCommand.ts index 535b09dcd29d..3ff9698b9ad8 100644 --- a/clients/client-servicediscovery/commands/ListServicesCommand.ts +++ b/clients/client-servicediscovery/commands/ListServicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListServicesCommandInput = ListServicesRequest; @@ -64,14 +64,14 @@ export class ListServicesCommand extends $Command< private serialize( input: ListServicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListServicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListServicesCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/RegisterInstanceCommand.ts b/clients/client-servicediscovery/commands/RegisterInstanceCommand.ts index e55006b62cc6..b3893f97d557 100644 --- a/clients/client-servicediscovery/commands/RegisterInstanceCommand.ts +++ b/clients/client-servicediscovery/commands/RegisterInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterInstanceCommandInput = RegisterInstanceRequest; @@ -67,14 +67,14 @@ export class RegisterInstanceCommand extends $Command< private serialize( input: RegisterInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterInstanceCommand(output, context); } diff --git a/clients/client-servicediscovery/commands/UpdateInstanceCustomHealthStatusCommand.ts b/clients/client-servicediscovery/commands/UpdateInstanceCustomHealthStatusCommand.ts index ba23cfe9b848..d59698633d69 100644 --- a/clients/client-servicediscovery/commands/UpdateInstanceCustomHealthStatusCommand.ts +++ b/clients/client-servicediscovery/commands/UpdateInstanceCustomHealthStatusCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateInstanceCustomHealthStatusCommandInput = UpdateInstanceCustomHealthStatusRequest; @@ -68,7 +68,7 @@ export class UpdateInstanceCustomHealthStatusCommand extends $Command< private serialize( input: UpdateInstanceCustomHealthStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateInstanceCustomHealthStatusCommand( input, @@ -78,7 +78,7 @@ export class UpdateInstanceCustomHealthStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateInstanceCustomHealthStatusCommand( output, diff --git a/clients/client-servicediscovery/commands/UpdateServiceCommand.ts b/clients/client-servicediscovery/commands/UpdateServiceCommand.ts index a75d27906ace..3c3a0b635569 100644 --- a/clients/client-servicediscovery/commands/UpdateServiceCommand.ts +++ b/clients/client-servicediscovery/commands/UpdateServiceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServiceCommandInput = UpdateServiceRequest; @@ -64,14 +64,14 @@ export class UpdateServiceCommand extends $Command< private serialize( input: UpdateServiceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateServiceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateServiceCommand(output, context); } diff --git a/clients/client-servicediscovery/protocols/Aws_json1_1.ts b/clients/client-servicediscovery/protocols/Aws_json1_1.ts index d0e84a511e43..456efa1e6718 100644 --- a/clients/client-servicediscovery/protocols/Aws_json1_1.ts +++ b/clients/client-servicediscovery/protocols/Aws_json1_1.ts @@ -3768,6 +3768,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-ses/commands/CloneReceiptRuleSetCommand.ts b/clients/client-ses/commands/CloneReceiptRuleSetCommand.ts index b52340127335..d5b5e84a91af 100644 --- a/clients/client-ses/commands/CloneReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/CloneReceiptRuleSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CloneReceiptRuleSetCommandInput = CloneReceiptRuleSetRequest; @@ -70,14 +70,14 @@ export class CloneReceiptRuleSetCommand extends $Command< private serialize( input: CloneReceiptRuleSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCloneReceiptRuleSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCloneReceiptRuleSetCommand(output, context); } diff --git a/clients/client-ses/commands/CreateConfigurationSetCommand.ts b/clients/client-ses/commands/CreateConfigurationSetCommand.ts index fbf0dd8b92c1..9a4ef9ec2a84 100644 --- a/clients/client-ses/commands/CreateConfigurationSetCommand.ts +++ b/clients/client-ses/commands/CreateConfigurationSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationSetCommandInput = CreateConfigurationSetRequest; @@ -70,14 +70,14 @@ export class CreateConfigurationSetCommand extends $Command< private serialize( input: CreateConfigurationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateConfigurationSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateConfigurationSetCommand(output, context); } diff --git a/clients/client-ses/commands/CreateConfigurationSetEventDestinationCommand.ts b/clients/client-ses/commands/CreateConfigurationSetEventDestinationCommand.ts index 21cf188dc580..e70d6aeb9794 100644 --- a/clients/client-ses/commands/CreateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-ses/commands/CreateConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationSetEventDestinationCommandInput = CreateConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< private serialize( input: CreateConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-ses/commands/CreateConfigurationSetTrackingOptionsCommand.ts b/clients/client-ses/commands/CreateConfigurationSetTrackingOptionsCommand.ts index 3d4df6b59f76..88bc9c02364a 100644 --- a/clients/client-ses/commands/CreateConfigurationSetTrackingOptionsCommand.ts +++ b/clients/client-ses/commands/CreateConfigurationSetTrackingOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationSetTrackingOptionsCommandInput = CreateConfigurationSetTrackingOptionsRequest; @@ -72,7 +72,7 @@ export class CreateConfigurationSetTrackingOptionsCommand extends $Command< private serialize( input: CreateConfigurationSetTrackingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateConfigurationSetTrackingOptionsCommand( input, @@ -82,7 +82,7 @@ export class CreateConfigurationSetTrackingOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateConfigurationSetTrackingOptionsCommand( output, diff --git a/clients/client-ses/commands/CreateCustomVerificationEmailTemplateCommand.ts b/clients/client-ses/commands/CreateCustomVerificationEmailTemplateCommand.ts index 55603fed4629..24526702b63d 100644 --- a/clients/client-ses/commands/CreateCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-ses/commands/CreateCustomVerificationEmailTemplateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCustomVerificationEmailTemplateCommandInput = CreateCustomVerificationEmailTemplateRequest; @@ -70,7 +70,7 @@ export class CreateCustomVerificationEmailTemplateCommand extends $Command< private serialize( input: CreateCustomVerificationEmailTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateCustomVerificationEmailTemplateCommand( input, @@ -80,7 +80,7 @@ export class CreateCustomVerificationEmailTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateCustomVerificationEmailTemplateCommand( output, diff --git a/clients/client-ses/commands/CreateReceiptFilterCommand.ts b/clients/client-ses/commands/CreateReceiptFilterCommand.ts index 21f9d90ddb56..15021443a66b 100644 --- a/clients/client-ses/commands/CreateReceiptFilterCommand.ts +++ b/clients/client-ses/commands/CreateReceiptFilterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateReceiptFilterCommandInput = CreateReceiptFilterRequest; @@ -70,14 +70,14 @@ export class CreateReceiptFilterCommand extends $Command< private serialize( input: CreateReceiptFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateReceiptFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateReceiptFilterCommand(output, context); } diff --git a/clients/client-ses/commands/CreateReceiptRuleCommand.ts b/clients/client-ses/commands/CreateReceiptRuleCommand.ts index 331658274b65..fea275153f36 100644 --- a/clients/client-ses/commands/CreateReceiptRuleCommand.ts +++ b/clients/client-ses/commands/CreateReceiptRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateReceiptRuleCommandInput = CreateReceiptRuleRequest; @@ -67,14 +67,14 @@ export class CreateReceiptRuleCommand extends $Command< private serialize( input: CreateReceiptRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateReceiptRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateReceiptRuleCommand(output, context); } diff --git a/clients/client-ses/commands/CreateReceiptRuleSetCommand.ts b/clients/client-ses/commands/CreateReceiptRuleSetCommand.ts index 1c2dafb7d49e..5d8f3c00761e 100644 --- a/clients/client-ses/commands/CreateReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/CreateReceiptRuleSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateReceiptRuleSetCommandInput = CreateReceiptRuleSetRequest; @@ -70,14 +70,14 @@ export class CreateReceiptRuleSetCommand extends $Command< private serialize( input: CreateReceiptRuleSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateReceiptRuleSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateReceiptRuleSetCommand(output, context); } diff --git a/clients/client-ses/commands/CreateTemplateCommand.ts b/clients/client-ses/commands/CreateTemplateCommand.ts index cab4b1bc8594..9eb5bc5d66b8 100644 --- a/clients/client-ses/commands/CreateTemplateCommand.ts +++ b/clients/client-ses/commands/CreateTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTemplateCommandInput = CreateTemplateRequest; @@ -64,14 +64,14 @@ export class CreateTemplateCommand extends $Command< private serialize( input: CreateTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateTemplateCommand(output, context); } diff --git a/clients/client-ses/commands/DeleteConfigurationSetCommand.ts b/clients/client-ses/commands/DeleteConfigurationSetCommand.ts index 9380f1fb55c4..c7ad1e665886 100644 --- a/clients/client-ses/commands/DeleteConfigurationSetCommand.ts +++ b/clients/client-ses/commands/DeleteConfigurationSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationSetCommandInput = DeleteConfigurationSetRequest; @@ -70,14 +70,14 @@ export class DeleteConfigurationSetCommand extends $Command< private serialize( input: DeleteConfigurationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteConfigurationSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteConfigurationSetCommand(output, context); } diff --git a/clients/client-ses/commands/DeleteConfigurationSetEventDestinationCommand.ts b/clients/client-ses/commands/DeleteConfigurationSetEventDestinationCommand.ts index dc80f98ccfae..ff89a3da4529 100644 --- a/clients/client-ses/commands/DeleteConfigurationSetEventDestinationCommand.ts +++ b/clients/client-ses/commands/DeleteConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationSetEventDestinationCommandInput = DeleteConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< private serialize( input: DeleteConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-ses/commands/DeleteConfigurationSetTrackingOptionsCommand.ts b/clients/client-ses/commands/DeleteConfigurationSetTrackingOptionsCommand.ts index 1a1f4131a72e..24de851ee934 100644 --- a/clients/client-ses/commands/DeleteConfigurationSetTrackingOptionsCommand.ts +++ b/clients/client-ses/commands/DeleteConfigurationSetTrackingOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationSetTrackingOptionsCommandInput = DeleteConfigurationSetTrackingOptionsRequest; @@ -72,7 +72,7 @@ export class DeleteConfigurationSetTrackingOptionsCommand extends $Command< private serialize( input: DeleteConfigurationSetTrackingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteConfigurationSetTrackingOptionsCommand( input, @@ -82,7 +82,7 @@ export class DeleteConfigurationSetTrackingOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteConfigurationSetTrackingOptionsCommand( output, diff --git a/clients/client-ses/commands/DeleteCustomVerificationEmailTemplateCommand.ts b/clients/client-ses/commands/DeleteCustomVerificationEmailTemplateCommand.ts index f63fc61953e7..306c7d31302f 100644 --- a/clients/client-ses/commands/DeleteCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-ses/commands/DeleteCustomVerificationEmailTemplateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCustomVerificationEmailTemplateCommandInput = DeleteCustomVerificationEmailTemplateRequest; @@ -70,7 +70,7 @@ export class DeleteCustomVerificationEmailTemplateCommand extends $Command< private serialize( input: DeleteCustomVerificationEmailTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteCustomVerificationEmailTemplateCommand( input, @@ -80,7 +80,7 @@ export class DeleteCustomVerificationEmailTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteCustomVerificationEmailTemplateCommand( output, diff --git a/clients/client-ses/commands/DeleteIdentityCommand.ts b/clients/client-ses/commands/DeleteIdentityCommand.ts index 028bf81bb202..bec934fc7928 100644 --- a/clients/client-ses/commands/DeleteIdentityCommand.ts +++ b/clients/client-ses/commands/DeleteIdentityCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIdentityCommandInput = DeleteIdentityRequest; @@ -64,14 +64,14 @@ export class DeleteIdentityCommand extends $Command< private serialize( input: DeleteIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteIdentityCommand(output, context); } diff --git a/clients/client-ses/commands/DeleteIdentityPolicyCommand.ts b/clients/client-ses/commands/DeleteIdentityPolicyCommand.ts index 01c23e093566..31d011f282b6 100644 --- a/clients/client-ses/commands/DeleteIdentityPolicyCommand.ts +++ b/clients/client-ses/commands/DeleteIdentityPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIdentityPolicyCommandInput = DeleteIdentityPolicyRequest; @@ -70,14 +70,14 @@ export class DeleteIdentityPolicyCommand extends $Command< private serialize( input: DeleteIdentityPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteIdentityPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteIdentityPolicyCommand(output, context); } diff --git a/clients/client-ses/commands/DeleteReceiptFilterCommand.ts b/clients/client-ses/commands/DeleteReceiptFilterCommand.ts index 7304f7c208c7..6716614d316e 100644 --- a/clients/client-ses/commands/DeleteReceiptFilterCommand.ts +++ b/clients/client-ses/commands/DeleteReceiptFilterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReceiptFilterCommandInput = DeleteReceiptFilterRequest; @@ -70,14 +70,14 @@ export class DeleteReceiptFilterCommand extends $Command< private serialize( input: DeleteReceiptFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteReceiptFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteReceiptFilterCommand(output, context); } diff --git a/clients/client-ses/commands/DeleteReceiptRuleCommand.ts b/clients/client-ses/commands/DeleteReceiptRuleCommand.ts index ed06a5c47434..9aed8399fd2a 100644 --- a/clients/client-ses/commands/DeleteReceiptRuleCommand.ts +++ b/clients/client-ses/commands/DeleteReceiptRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReceiptRuleCommandInput = DeleteReceiptRuleRequest; @@ -67,14 +67,14 @@ export class DeleteReceiptRuleCommand extends $Command< private serialize( input: DeleteReceiptRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteReceiptRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteReceiptRuleCommand(output, context); } diff --git a/clients/client-ses/commands/DeleteReceiptRuleSetCommand.ts b/clients/client-ses/commands/DeleteReceiptRuleSetCommand.ts index d6072529c807..63be041bfb4b 100644 --- a/clients/client-ses/commands/DeleteReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/DeleteReceiptRuleSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReceiptRuleSetCommandInput = DeleteReceiptRuleSetRequest; @@ -70,14 +70,14 @@ export class DeleteReceiptRuleSetCommand extends $Command< private serialize( input: DeleteReceiptRuleSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteReceiptRuleSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteReceiptRuleSetCommand(output, context); } diff --git a/clients/client-ses/commands/DeleteTemplateCommand.ts b/clients/client-ses/commands/DeleteTemplateCommand.ts index b2db1303df32..010d23f3bd5e 100644 --- a/clients/client-ses/commands/DeleteTemplateCommand.ts +++ b/clients/client-ses/commands/DeleteTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTemplateCommandInput = DeleteTemplateRequest; @@ -64,14 +64,14 @@ export class DeleteTemplateCommand extends $Command< private serialize( input: DeleteTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteTemplateCommand(output, context); } diff --git a/clients/client-ses/commands/DeleteVerifiedEmailAddressCommand.ts b/clients/client-ses/commands/DeleteVerifiedEmailAddressCommand.ts index 2c0070825a7e..9933061079b8 100644 --- a/clients/client-ses/commands/DeleteVerifiedEmailAddressCommand.ts +++ b/clients/client-ses/commands/DeleteVerifiedEmailAddressCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVerifiedEmailAddressCommandInput = DeleteVerifiedEmailAddressRequest; @@ -68,14 +68,14 @@ export class DeleteVerifiedEmailAddressCommand extends $Command< private serialize( input: DeleteVerifiedEmailAddressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteVerifiedEmailAddressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteVerifiedEmailAddressCommand( output, diff --git a/clients/client-ses/commands/DescribeActiveReceiptRuleSetCommand.ts b/clients/client-ses/commands/DescribeActiveReceiptRuleSetCommand.ts index a9e1b93b24c6..425c7e5bb825 100644 --- a/clients/client-ses/commands/DescribeActiveReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/DescribeActiveReceiptRuleSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeActiveReceiptRuleSetCommandInput = DescribeActiveReceiptRuleSetRequest; @@ -70,7 +70,7 @@ export class DescribeActiveReceiptRuleSetCommand extends $Command< private serialize( input: DescribeActiveReceiptRuleSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeActiveReceiptRuleSetCommand( input, @@ -80,7 +80,7 @@ export class DescribeActiveReceiptRuleSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeActiveReceiptRuleSetCommand( output, diff --git a/clients/client-ses/commands/DescribeConfigurationSetCommand.ts b/clients/client-ses/commands/DescribeConfigurationSetCommand.ts index 7180b178a317..7f802153b510 100644 --- a/clients/client-ses/commands/DescribeConfigurationSetCommand.ts +++ b/clients/client-ses/commands/DescribeConfigurationSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeConfigurationSetCommandInput = DescribeConfigurationSetRequest; @@ -70,14 +70,14 @@ export class DescribeConfigurationSetCommand extends $Command< private serialize( input: DescribeConfigurationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeConfigurationSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeConfigurationSetCommand(output, context); } diff --git a/clients/client-ses/commands/DescribeReceiptRuleCommand.ts b/clients/client-ses/commands/DescribeReceiptRuleCommand.ts index 34d86c79306f..e82997e9348c 100644 --- a/clients/client-ses/commands/DescribeReceiptRuleCommand.ts +++ b/clients/client-ses/commands/DescribeReceiptRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReceiptRuleCommandInput = DescribeReceiptRuleRequest; @@ -70,14 +70,14 @@ export class DescribeReceiptRuleCommand extends $Command< private serialize( input: DescribeReceiptRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeReceiptRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeReceiptRuleCommand(output, context); } diff --git a/clients/client-ses/commands/DescribeReceiptRuleSetCommand.ts b/clients/client-ses/commands/DescribeReceiptRuleSetCommand.ts index e3e229547a42..6c38a8b2ee8d 100644 --- a/clients/client-ses/commands/DescribeReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/DescribeReceiptRuleSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeReceiptRuleSetCommandInput = DescribeReceiptRuleSetRequest; @@ -70,14 +70,14 @@ export class DescribeReceiptRuleSetCommand extends $Command< private serialize( input: DescribeReceiptRuleSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDescribeReceiptRuleSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDescribeReceiptRuleSetCommand(output, context); } diff --git a/clients/client-ses/commands/GetAccountSendingEnabledCommand.ts b/clients/client-ses/commands/GetAccountSendingEnabledCommand.ts index 3df4dd545d14..62fa667262ee 100644 --- a/clients/client-ses/commands/GetAccountSendingEnabledCommand.ts +++ b/clients/client-ses/commands/GetAccountSendingEnabledCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountSendingEnabledCommandInput = {}; @@ -67,14 +67,14 @@ export class GetAccountSendingEnabledCommand extends $Command< private serialize( input: GetAccountSendingEnabledCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetAccountSendingEnabledCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetAccountSendingEnabledCommand(output, context); } diff --git a/clients/client-ses/commands/GetCustomVerificationEmailTemplateCommand.ts b/clients/client-ses/commands/GetCustomVerificationEmailTemplateCommand.ts index 0b57017f6e10..70fbfb67d3de 100644 --- a/clients/client-ses/commands/GetCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-ses/commands/GetCustomVerificationEmailTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCustomVerificationEmailTemplateCommandInput = GetCustomVerificationEmailTemplateRequest; @@ -70,7 +70,7 @@ export class GetCustomVerificationEmailTemplateCommand extends $Command< private serialize( input: GetCustomVerificationEmailTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetCustomVerificationEmailTemplateCommand( input, @@ -80,7 +80,7 @@ export class GetCustomVerificationEmailTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetCustomVerificationEmailTemplateCommand( output, diff --git a/clients/client-ses/commands/GetIdentityDkimAttributesCommand.ts b/clients/client-ses/commands/GetIdentityDkimAttributesCommand.ts index d6e443151b42..ad5de959c8dc 100644 --- a/clients/client-ses/commands/GetIdentityDkimAttributesCommand.ts +++ b/clients/client-ses/commands/GetIdentityDkimAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIdentityDkimAttributesCommandInput = GetIdentityDkimAttributesRequest; @@ -70,14 +70,14 @@ export class GetIdentityDkimAttributesCommand extends $Command< private serialize( input: GetIdentityDkimAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetIdentityDkimAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetIdentityDkimAttributesCommand( output, diff --git a/clients/client-ses/commands/GetIdentityMailFromDomainAttributesCommand.ts b/clients/client-ses/commands/GetIdentityMailFromDomainAttributesCommand.ts index c53b17dcd6d2..73fa60fb65a0 100644 --- a/clients/client-ses/commands/GetIdentityMailFromDomainAttributesCommand.ts +++ b/clients/client-ses/commands/GetIdentityMailFromDomainAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIdentityMailFromDomainAttributesCommandInput = GetIdentityMailFromDomainAttributesRequest; @@ -70,7 +70,7 @@ export class GetIdentityMailFromDomainAttributesCommand extends $Command< private serialize( input: GetIdentityMailFromDomainAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetIdentityMailFromDomainAttributesCommand( input, @@ -80,7 +80,7 @@ export class GetIdentityMailFromDomainAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetIdentityMailFromDomainAttributesCommand( output, diff --git a/clients/client-ses/commands/GetIdentityNotificationAttributesCommand.ts b/clients/client-ses/commands/GetIdentityNotificationAttributesCommand.ts index ae61540d25cf..ec830e6035c0 100644 --- a/clients/client-ses/commands/GetIdentityNotificationAttributesCommand.ts +++ b/clients/client-ses/commands/GetIdentityNotificationAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIdentityNotificationAttributesCommandInput = GetIdentityNotificationAttributesRequest; @@ -70,7 +70,7 @@ export class GetIdentityNotificationAttributesCommand extends $Command< private serialize( input: GetIdentityNotificationAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetIdentityNotificationAttributesCommand( input, @@ -80,7 +80,7 @@ export class GetIdentityNotificationAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetIdentityNotificationAttributesCommand( output, diff --git a/clients/client-ses/commands/GetIdentityPoliciesCommand.ts b/clients/client-ses/commands/GetIdentityPoliciesCommand.ts index 4bac12bdc2ea..6df089502df4 100644 --- a/clients/client-ses/commands/GetIdentityPoliciesCommand.ts +++ b/clients/client-ses/commands/GetIdentityPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIdentityPoliciesCommandInput = GetIdentityPoliciesRequest; @@ -70,14 +70,14 @@ export class GetIdentityPoliciesCommand extends $Command< private serialize( input: GetIdentityPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetIdentityPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetIdentityPoliciesCommand(output, context); } diff --git a/clients/client-ses/commands/GetIdentityVerificationAttributesCommand.ts b/clients/client-ses/commands/GetIdentityVerificationAttributesCommand.ts index 14f0d604ba77..0e0617f6106a 100644 --- a/clients/client-ses/commands/GetIdentityVerificationAttributesCommand.ts +++ b/clients/client-ses/commands/GetIdentityVerificationAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIdentityVerificationAttributesCommandInput = GetIdentityVerificationAttributesRequest; @@ -70,7 +70,7 @@ export class GetIdentityVerificationAttributesCommand extends $Command< private serialize( input: GetIdentityVerificationAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetIdentityVerificationAttributesCommand( input, @@ -80,7 +80,7 @@ export class GetIdentityVerificationAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetIdentityVerificationAttributesCommand( output, diff --git a/clients/client-ses/commands/GetSendQuotaCommand.ts b/clients/client-ses/commands/GetSendQuotaCommand.ts index 8a3e69b9eb0e..3b6558cd3efa 100644 --- a/clients/client-ses/commands/GetSendQuotaCommand.ts +++ b/clients/client-ses/commands/GetSendQuotaCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSendQuotaCommandInput = {}; @@ -64,14 +64,14 @@ export class GetSendQuotaCommand extends $Command< private serialize( input: GetSendQuotaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetSendQuotaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetSendQuotaCommand(output, context); } diff --git a/clients/client-ses/commands/GetSendStatisticsCommand.ts b/clients/client-ses/commands/GetSendStatisticsCommand.ts index eaefb036a578..45d3b69c8341 100644 --- a/clients/client-ses/commands/GetSendStatisticsCommand.ts +++ b/clients/client-ses/commands/GetSendStatisticsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSendStatisticsCommandInput = {}; @@ -64,14 +64,14 @@ export class GetSendStatisticsCommand extends $Command< private serialize( input: GetSendStatisticsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetSendStatisticsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetSendStatisticsCommand(output, context); } diff --git a/clients/client-ses/commands/GetTemplateCommand.ts b/clients/client-ses/commands/GetTemplateCommand.ts index 38e62914c0de..ac7ec4343b1d 100644 --- a/clients/client-ses/commands/GetTemplateCommand.ts +++ b/clients/client-ses/commands/GetTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTemplateCommandInput = GetTemplateRequest; @@ -64,14 +64,14 @@ export class GetTemplateCommand extends $Command< private serialize( input: GetTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetTemplateCommand(output, context); } diff --git a/clients/client-ses/commands/ListConfigurationSetsCommand.ts b/clients/client-ses/commands/ListConfigurationSetsCommand.ts index 1df3fb9dac16..5bf072ef5853 100644 --- a/clients/client-ses/commands/ListConfigurationSetsCommand.ts +++ b/clients/client-ses/commands/ListConfigurationSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigurationSetsCommandInput = ListConfigurationSetsRequest; @@ -70,14 +70,14 @@ export class ListConfigurationSetsCommand extends $Command< private serialize( input: ListConfigurationSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListConfigurationSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListConfigurationSetsCommand(output, context); } diff --git a/clients/client-ses/commands/ListCustomVerificationEmailTemplatesCommand.ts b/clients/client-ses/commands/ListCustomVerificationEmailTemplatesCommand.ts index 89e4aa9af2ba..421d83d94d0e 100644 --- a/clients/client-ses/commands/ListCustomVerificationEmailTemplatesCommand.ts +++ b/clients/client-ses/commands/ListCustomVerificationEmailTemplatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCustomVerificationEmailTemplatesCommandInput = ListCustomVerificationEmailTemplatesRequest; @@ -72,7 +72,7 @@ export class ListCustomVerificationEmailTemplatesCommand extends $Command< private serialize( input: ListCustomVerificationEmailTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListCustomVerificationEmailTemplatesCommand( input, @@ -82,7 +82,7 @@ export class ListCustomVerificationEmailTemplatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListCustomVerificationEmailTemplatesCommand( output, diff --git a/clients/client-ses/commands/ListIdentitiesCommand.ts b/clients/client-ses/commands/ListIdentitiesCommand.ts index 61083f4f2e94..7c5daccfe8ae 100644 --- a/clients/client-ses/commands/ListIdentitiesCommand.ts +++ b/clients/client-ses/commands/ListIdentitiesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIdentitiesCommandInput = ListIdentitiesRequest; @@ -64,14 +64,14 @@ export class ListIdentitiesCommand extends $Command< private serialize( input: ListIdentitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListIdentitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListIdentitiesCommand(output, context); } diff --git a/clients/client-ses/commands/ListIdentityPoliciesCommand.ts b/clients/client-ses/commands/ListIdentityPoliciesCommand.ts index 6de8ad2f5ce8..b950df4a8bd3 100644 --- a/clients/client-ses/commands/ListIdentityPoliciesCommand.ts +++ b/clients/client-ses/commands/ListIdentityPoliciesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIdentityPoliciesCommandInput = ListIdentityPoliciesRequest; @@ -70,14 +70,14 @@ export class ListIdentityPoliciesCommand extends $Command< private serialize( input: ListIdentityPoliciesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListIdentityPoliciesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListIdentityPoliciesCommand(output, context); } diff --git a/clients/client-ses/commands/ListReceiptFiltersCommand.ts b/clients/client-ses/commands/ListReceiptFiltersCommand.ts index d2b1d8b4a000..059ac195f9b3 100644 --- a/clients/client-ses/commands/ListReceiptFiltersCommand.ts +++ b/clients/client-ses/commands/ListReceiptFiltersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListReceiptFiltersCommandInput = ListReceiptFiltersRequest; @@ -67,14 +67,14 @@ export class ListReceiptFiltersCommand extends $Command< private serialize( input: ListReceiptFiltersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListReceiptFiltersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListReceiptFiltersCommand(output, context); } diff --git a/clients/client-ses/commands/ListReceiptRuleSetsCommand.ts b/clients/client-ses/commands/ListReceiptRuleSetsCommand.ts index 88eb5fd5906e..c51a5ba35a8a 100644 --- a/clients/client-ses/commands/ListReceiptRuleSetsCommand.ts +++ b/clients/client-ses/commands/ListReceiptRuleSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListReceiptRuleSetsCommandInput = ListReceiptRuleSetsRequest; @@ -70,14 +70,14 @@ export class ListReceiptRuleSetsCommand extends $Command< private serialize( input: ListReceiptRuleSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListReceiptRuleSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListReceiptRuleSetsCommand(output, context); } diff --git a/clients/client-ses/commands/ListTemplatesCommand.ts b/clients/client-ses/commands/ListTemplatesCommand.ts index 1bd73554bdcd..7e53f63dfaaf 100644 --- a/clients/client-ses/commands/ListTemplatesCommand.ts +++ b/clients/client-ses/commands/ListTemplatesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTemplatesCommandInput = ListTemplatesRequest; @@ -64,14 +64,14 @@ export class ListTemplatesCommand extends $Command< private serialize( input: ListTemplatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTemplatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTemplatesCommand(output, context); } diff --git a/clients/client-ses/commands/ListVerifiedEmailAddressesCommand.ts b/clients/client-ses/commands/ListVerifiedEmailAddressesCommand.ts index 34ccab9b92f3..460bbab33222 100644 --- a/clients/client-ses/commands/ListVerifiedEmailAddressesCommand.ts +++ b/clients/client-ses/commands/ListVerifiedEmailAddressesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVerifiedEmailAddressesCommandInput = {}; @@ -67,14 +67,14 @@ export class ListVerifiedEmailAddressesCommand extends $Command< private serialize( input: ListVerifiedEmailAddressesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListVerifiedEmailAddressesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListVerifiedEmailAddressesCommand( output, diff --git a/clients/client-ses/commands/PutConfigurationSetDeliveryOptionsCommand.ts b/clients/client-ses/commands/PutConfigurationSetDeliveryOptionsCommand.ts index 3a1fa8868082..e3df5f00ed1c 100644 --- a/clients/client-ses/commands/PutConfigurationSetDeliveryOptionsCommand.ts +++ b/clients/client-ses/commands/PutConfigurationSetDeliveryOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationSetDeliveryOptionsCommandInput = PutConfigurationSetDeliveryOptionsRequest; @@ -70,7 +70,7 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< private serialize( input: PutConfigurationSetDeliveryOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutConfigurationSetDeliveryOptionsCommand( input, @@ -80,7 +80,7 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutConfigurationSetDeliveryOptionsCommand( output, diff --git a/clients/client-ses/commands/PutIdentityPolicyCommand.ts b/clients/client-ses/commands/PutIdentityPolicyCommand.ts index 30abd50ca8fa..48be219ad75a 100644 --- a/clients/client-ses/commands/PutIdentityPolicyCommand.ts +++ b/clients/client-ses/commands/PutIdentityPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutIdentityPolicyCommandInput = PutIdentityPolicyRequest; @@ -67,14 +67,14 @@ export class PutIdentityPolicyCommand extends $Command< private serialize( input: PutIdentityPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPutIdentityPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPutIdentityPolicyCommand(output, context); } diff --git a/clients/client-ses/commands/ReorderReceiptRuleSetCommand.ts b/clients/client-ses/commands/ReorderReceiptRuleSetCommand.ts index c13700a7a5fa..7c280b94520d 100644 --- a/clients/client-ses/commands/ReorderReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/ReorderReceiptRuleSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReorderReceiptRuleSetCommandInput = ReorderReceiptRuleSetRequest; @@ -70,14 +70,14 @@ export class ReorderReceiptRuleSetCommand extends $Command< private serialize( input: ReorderReceiptRuleSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryReorderReceiptRuleSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryReorderReceiptRuleSetCommand(output, context); } diff --git a/clients/client-ses/commands/SendBounceCommand.ts b/clients/client-ses/commands/SendBounceCommand.ts index 4280cf187a95..921abcd73b47 100644 --- a/clients/client-ses/commands/SendBounceCommand.ts +++ b/clients/client-ses/commands/SendBounceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendBounceCommandInput = SendBounceRequest; @@ -64,14 +64,14 @@ export class SendBounceCommand extends $Command< private serialize( input: SendBounceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySendBounceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySendBounceCommand(output, context); } diff --git a/clients/client-ses/commands/SendBulkTemplatedEmailCommand.ts b/clients/client-ses/commands/SendBulkTemplatedEmailCommand.ts index 4c6ca5371b11..b513a7fccb57 100644 --- a/clients/client-ses/commands/SendBulkTemplatedEmailCommand.ts +++ b/clients/client-ses/commands/SendBulkTemplatedEmailCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendBulkTemplatedEmailCommandInput = SendBulkTemplatedEmailRequest; @@ -70,14 +70,14 @@ export class SendBulkTemplatedEmailCommand extends $Command< private serialize( input: SendBulkTemplatedEmailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySendBulkTemplatedEmailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySendBulkTemplatedEmailCommand(output, context); } diff --git a/clients/client-ses/commands/SendCustomVerificationEmailCommand.ts b/clients/client-ses/commands/SendCustomVerificationEmailCommand.ts index 959e2172ffe5..ba13afc709d3 100644 --- a/clients/client-ses/commands/SendCustomVerificationEmailCommand.ts +++ b/clients/client-ses/commands/SendCustomVerificationEmailCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendCustomVerificationEmailCommandInput = SendCustomVerificationEmailRequest; @@ -70,14 +70,14 @@ export class SendCustomVerificationEmailCommand extends $Command< private serialize( input: SendCustomVerificationEmailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySendCustomVerificationEmailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySendCustomVerificationEmailCommand( output, diff --git a/clients/client-ses/commands/SendEmailCommand.ts b/clients/client-ses/commands/SendEmailCommand.ts index 1e59278ef358..f19e78918447 100644 --- a/clients/client-ses/commands/SendEmailCommand.ts +++ b/clients/client-ses/commands/SendEmailCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendEmailCommandInput = SendEmailRequest; @@ -64,14 +64,14 @@ export class SendEmailCommand extends $Command< private serialize( input: SendEmailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySendEmailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySendEmailCommand(output, context); } diff --git a/clients/client-ses/commands/SendRawEmailCommand.ts b/clients/client-ses/commands/SendRawEmailCommand.ts index 20c9f8f94a1b..cb9922622bc7 100644 --- a/clients/client-ses/commands/SendRawEmailCommand.ts +++ b/clients/client-ses/commands/SendRawEmailCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendRawEmailCommandInput = SendRawEmailRequest; @@ -64,14 +64,14 @@ export class SendRawEmailCommand extends $Command< private serialize( input: SendRawEmailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySendRawEmailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySendRawEmailCommand(output, context); } diff --git a/clients/client-ses/commands/SendTemplatedEmailCommand.ts b/clients/client-ses/commands/SendTemplatedEmailCommand.ts index 9ea4b60ddc6c..5bafcb9a5a88 100644 --- a/clients/client-ses/commands/SendTemplatedEmailCommand.ts +++ b/clients/client-ses/commands/SendTemplatedEmailCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendTemplatedEmailCommandInput = SendTemplatedEmailRequest; @@ -67,14 +67,14 @@ export class SendTemplatedEmailCommand extends $Command< private serialize( input: SendTemplatedEmailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySendTemplatedEmailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySendTemplatedEmailCommand(output, context); } diff --git a/clients/client-ses/commands/SetActiveReceiptRuleSetCommand.ts b/clients/client-ses/commands/SetActiveReceiptRuleSetCommand.ts index 21aa4c53e288..eca5e5a33b90 100644 --- a/clients/client-ses/commands/SetActiveReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/SetActiveReceiptRuleSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetActiveReceiptRuleSetCommandInput = SetActiveReceiptRuleSetRequest; @@ -70,14 +70,14 @@ export class SetActiveReceiptRuleSetCommand extends $Command< private serialize( input: SetActiveReceiptRuleSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetActiveReceiptRuleSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetActiveReceiptRuleSetCommand(output, context); } diff --git a/clients/client-ses/commands/SetIdentityDkimEnabledCommand.ts b/clients/client-ses/commands/SetIdentityDkimEnabledCommand.ts index 91d19949431e..cab2840ecdbd 100644 --- a/clients/client-ses/commands/SetIdentityDkimEnabledCommand.ts +++ b/clients/client-ses/commands/SetIdentityDkimEnabledCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetIdentityDkimEnabledCommandInput = SetIdentityDkimEnabledRequest; @@ -70,14 +70,14 @@ export class SetIdentityDkimEnabledCommand extends $Command< private serialize( input: SetIdentityDkimEnabledCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetIdentityDkimEnabledCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetIdentityDkimEnabledCommand(output, context); } diff --git a/clients/client-ses/commands/SetIdentityFeedbackForwardingEnabledCommand.ts b/clients/client-ses/commands/SetIdentityFeedbackForwardingEnabledCommand.ts index 423279c784d2..499e1d65710e 100644 --- a/clients/client-ses/commands/SetIdentityFeedbackForwardingEnabledCommand.ts +++ b/clients/client-ses/commands/SetIdentityFeedbackForwardingEnabledCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetIdentityFeedbackForwardingEnabledCommandInput = SetIdentityFeedbackForwardingEnabledRequest; @@ -72,7 +72,7 @@ export class SetIdentityFeedbackForwardingEnabledCommand extends $Command< private serialize( input: SetIdentityFeedbackForwardingEnabledCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetIdentityFeedbackForwardingEnabledCommand( input, @@ -82,7 +82,7 @@ export class SetIdentityFeedbackForwardingEnabledCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetIdentityFeedbackForwardingEnabledCommand( output, diff --git a/clients/client-ses/commands/SetIdentityHeadersInNotificationsEnabledCommand.ts b/clients/client-ses/commands/SetIdentityHeadersInNotificationsEnabledCommand.ts index da9854674417..76bbd699288f 100644 --- a/clients/client-ses/commands/SetIdentityHeadersInNotificationsEnabledCommand.ts +++ b/clients/client-ses/commands/SetIdentityHeadersInNotificationsEnabledCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetIdentityHeadersInNotificationsEnabledCommandInput = SetIdentityHeadersInNotificationsEnabledRequest; @@ -72,7 +72,7 @@ export class SetIdentityHeadersInNotificationsEnabledCommand extends $Command< private serialize( input: SetIdentityHeadersInNotificationsEnabledCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetIdentityHeadersInNotificationsEnabledCommand( input, @@ -82,7 +82,7 @@ export class SetIdentityHeadersInNotificationsEnabledCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetIdentityHeadersInNotificationsEnabledCommand( output, diff --git a/clients/client-ses/commands/SetIdentityMailFromDomainCommand.ts b/clients/client-ses/commands/SetIdentityMailFromDomainCommand.ts index 59c45134991c..f5fc6c651d54 100644 --- a/clients/client-ses/commands/SetIdentityMailFromDomainCommand.ts +++ b/clients/client-ses/commands/SetIdentityMailFromDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetIdentityMailFromDomainCommandInput = SetIdentityMailFromDomainRequest; @@ -70,14 +70,14 @@ export class SetIdentityMailFromDomainCommand extends $Command< private serialize( input: SetIdentityMailFromDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetIdentityMailFromDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetIdentityMailFromDomainCommand( output, diff --git a/clients/client-ses/commands/SetIdentityNotificationTopicCommand.ts b/clients/client-ses/commands/SetIdentityNotificationTopicCommand.ts index bf0517bcb716..a1516ffa3ffa 100644 --- a/clients/client-ses/commands/SetIdentityNotificationTopicCommand.ts +++ b/clients/client-ses/commands/SetIdentityNotificationTopicCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetIdentityNotificationTopicCommandInput = SetIdentityNotificationTopicRequest; @@ -70,7 +70,7 @@ export class SetIdentityNotificationTopicCommand extends $Command< private serialize( input: SetIdentityNotificationTopicCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetIdentityNotificationTopicCommand( input, @@ -80,7 +80,7 @@ export class SetIdentityNotificationTopicCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetIdentityNotificationTopicCommand( output, diff --git a/clients/client-ses/commands/SetReceiptRulePositionCommand.ts b/clients/client-ses/commands/SetReceiptRulePositionCommand.ts index 1f10c33ff64e..d31f2b149c89 100644 --- a/clients/client-ses/commands/SetReceiptRulePositionCommand.ts +++ b/clients/client-ses/commands/SetReceiptRulePositionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetReceiptRulePositionCommandInput = SetReceiptRulePositionRequest; @@ -70,14 +70,14 @@ export class SetReceiptRulePositionCommand extends $Command< private serialize( input: SetReceiptRulePositionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetReceiptRulePositionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetReceiptRulePositionCommand(output, context); } diff --git a/clients/client-ses/commands/TestRenderTemplateCommand.ts b/clients/client-ses/commands/TestRenderTemplateCommand.ts index 1433137d501e..143ca107bbba 100644 --- a/clients/client-ses/commands/TestRenderTemplateCommand.ts +++ b/clients/client-ses/commands/TestRenderTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestRenderTemplateCommandInput = TestRenderTemplateRequest; @@ -67,14 +67,14 @@ export class TestRenderTemplateCommand extends $Command< private serialize( input: TestRenderTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryTestRenderTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryTestRenderTemplateCommand(output, context); } diff --git a/clients/client-ses/commands/UpdateAccountSendingEnabledCommand.ts b/clients/client-ses/commands/UpdateAccountSendingEnabledCommand.ts index 3498c894eaae..ab47f8658ad4 100644 --- a/clients/client-ses/commands/UpdateAccountSendingEnabledCommand.ts +++ b/clients/client-ses/commands/UpdateAccountSendingEnabledCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAccountSendingEnabledCommandInput = UpdateAccountSendingEnabledRequest; @@ -68,14 +68,14 @@ export class UpdateAccountSendingEnabledCommand extends $Command< private serialize( input: UpdateAccountSendingEnabledCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateAccountSendingEnabledCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateAccountSendingEnabledCommand( output, diff --git a/clients/client-ses/commands/UpdateConfigurationSetEventDestinationCommand.ts b/clients/client-ses/commands/UpdateConfigurationSetEventDestinationCommand.ts index 2703d673aae6..65957c263fd3 100644 --- a/clients/client-ses/commands/UpdateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-ses/commands/UpdateConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConfigurationSetEventDestinationCommandInput = UpdateConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< private serialize( input: UpdateConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-ses/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.ts b/clients/client-ses/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.ts index 2fa5f533aa55..7c30d04eb380 100644 --- a/clients/client-ses/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.ts +++ b/clients/client-ses/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConfigurationSetReputationMetricsEnabledCommandInput = UpdateConfigurationSetReputationMetricsEnabledRequest; @@ -70,7 +70,7 @@ export class UpdateConfigurationSetReputationMetricsEnabledCommand extends $Comm private serialize( input: UpdateConfigurationSetReputationMetricsEnabledCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateConfigurationSetReputationMetricsEnabledCommand( input, @@ -80,7 +80,7 @@ export class UpdateConfigurationSetReputationMetricsEnabledCommand extends $Comm private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateConfigurationSetReputationMetricsEnabledCommand( output, diff --git a/clients/client-ses/commands/UpdateConfigurationSetSendingEnabledCommand.ts b/clients/client-ses/commands/UpdateConfigurationSetSendingEnabledCommand.ts index 8f89968b7cc1..3a46a6455ea9 100644 --- a/clients/client-ses/commands/UpdateConfigurationSetSendingEnabledCommand.ts +++ b/clients/client-ses/commands/UpdateConfigurationSetSendingEnabledCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConfigurationSetSendingEnabledCommandInput = UpdateConfigurationSetSendingEnabledRequest; @@ -70,7 +70,7 @@ export class UpdateConfigurationSetSendingEnabledCommand extends $Command< private serialize( input: UpdateConfigurationSetSendingEnabledCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateConfigurationSetSendingEnabledCommand( input, @@ -80,7 +80,7 @@ export class UpdateConfigurationSetSendingEnabledCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateConfigurationSetSendingEnabledCommand( output, diff --git a/clients/client-ses/commands/UpdateConfigurationSetTrackingOptionsCommand.ts b/clients/client-ses/commands/UpdateConfigurationSetTrackingOptionsCommand.ts index 6cd09924eba4..d11bea7a8bb3 100644 --- a/clients/client-ses/commands/UpdateConfigurationSetTrackingOptionsCommand.ts +++ b/clients/client-ses/commands/UpdateConfigurationSetTrackingOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConfigurationSetTrackingOptionsCommandInput = UpdateConfigurationSetTrackingOptionsRequest; @@ -72,7 +72,7 @@ export class UpdateConfigurationSetTrackingOptionsCommand extends $Command< private serialize( input: UpdateConfigurationSetTrackingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateConfigurationSetTrackingOptionsCommand( input, @@ -82,7 +82,7 @@ export class UpdateConfigurationSetTrackingOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateConfigurationSetTrackingOptionsCommand( output, diff --git a/clients/client-ses/commands/UpdateCustomVerificationEmailTemplateCommand.ts b/clients/client-ses/commands/UpdateCustomVerificationEmailTemplateCommand.ts index 4b219676d1ee..6785612e9bf3 100644 --- a/clients/client-ses/commands/UpdateCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-ses/commands/UpdateCustomVerificationEmailTemplateCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCustomVerificationEmailTemplateCommandInput = UpdateCustomVerificationEmailTemplateRequest; @@ -70,7 +70,7 @@ export class UpdateCustomVerificationEmailTemplateCommand extends $Command< private serialize( input: UpdateCustomVerificationEmailTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateCustomVerificationEmailTemplateCommand( input, @@ -80,7 +80,7 @@ export class UpdateCustomVerificationEmailTemplateCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateCustomVerificationEmailTemplateCommand( output, diff --git a/clients/client-ses/commands/UpdateReceiptRuleCommand.ts b/clients/client-ses/commands/UpdateReceiptRuleCommand.ts index 93c0b200dbe9..82e34d7d1f4d 100644 --- a/clients/client-ses/commands/UpdateReceiptRuleCommand.ts +++ b/clients/client-ses/commands/UpdateReceiptRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateReceiptRuleCommandInput = UpdateReceiptRuleRequest; @@ -67,14 +67,14 @@ export class UpdateReceiptRuleCommand extends $Command< private serialize( input: UpdateReceiptRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateReceiptRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateReceiptRuleCommand(output, context); } diff --git a/clients/client-ses/commands/UpdateTemplateCommand.ts b/clients/client-ses/commands/UpdateTemplateCommand.ts index 010cc8ea38c3..20cb5a4bee81 100644 --- a/clients/client-ses/commands/UpdateTemplateCommand.ts +++ b/clients/client-ses/commands/UpdateTemplateCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateTemplateCommandInput = UpdateTemplateRequest; @@ -64,14 +64,14 @@ export class UpdateTemplateCommand extends $Command< private serialize( input: UpdateTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUpdateTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUpdateTemplateCommand(output, context); } diff --git a/clients/client-ses/commands/VerifyDomainDkimCommand.ts b/clients/client-ses/commands/VerifyDomainDkimCommand.ts index 08b7f2a984d8..e17197eb88af 100644 --- a/clients/client-ses/commands/VerifyDomainDkimCommand.ts +++ b/clients/client-ses/commands/VerifyDomainDkimCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type VerifyDomainDkimCommandInput = VerifyDomainDkimRequest; @@ -67,14 +67,14 @@ export class VerifyDomainDkimCommand extends $Command< private serialize( input: VerifyDomainDkimCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryVerifyDomainDkimCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryVerifyDomainDkimCommand(output, context); } diff --git a/clients/client-ses/commands/VerifyDomainIdentityCommand.ts b/clients/client-ses/commands/VerifyDomainIdentityCommand.ts index 665a793eae1d..239ccceaa019 100644 --- a/clients/client-ses/commands/VerifyDomainIdentityCommand.ts +++ b/clients/client-ses/commands/VerifyDomainIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type VerifyDomainIdentityCommandInput = VerifyDomainIdentityRequest; @@ -70,14 +70,14 @@ export class VerifyDomainIdentityCommand extends $Command< private serialize( input: VerifyDomainIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryVerifyDomainIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryVerifyDomainIdentityCommand(output, context); } diff --git a/clients/client-ses/commands/VerifyEmailAddressCommand.ts b/clients/client-ses/commands/VerifyEmailAddressCommand.ts index 31f76c2b7e47..e206b4ebb4cc 100644 --- a/clients/client-ses/commands/VerifyEmailAddressCommand.ts +++ b/clients/client-ses/commands/VerifyEmailAddressCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type VerifyEmailAddressCommandInput = VerifyEmailAddressRequest; @@ -65,14 +65,14 @@ export class VerifyEmailAddressCommand extends $Command< private serialize( input: VerifyEmailAddressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryVerifyEmailAddressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryVerifyEmailAddressCommand(output, context); } diff --git a/clients/client-ses/commands/VerifyEmailIdentityCommand.ts b/clients/client-ses/commands/VerifyEmailIdentityCommand.ts index 82f4072a85a0..0953d3f3ca61 100644 --- a/clients/client-ses/commands/VerifyEmailIdentityCommand.ts +++ b/clients/client-ses/commands/VerifyEmailIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type VerifyEmailIdentityCommandInput = VerifyEmailIdentityRequest; @@ -70,14 +70,14 @@ export class VerifyEmailIdentityCommand extends $Command< private serialize( input: VerifyEmailIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryVerifyEmailIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryVerifyEmailIdentityCommand(output, context); } diff --git a/clients/client-ses/protocols/Aws_query.ts b/clients/client-ses/protocols/Aws_query.ts index 403d536c3223..7cb2dd6de1ff 100644 --- a/clients/client-ses/protocols/Aws_query.ts +++ b/clients/client-ses/protocols/Aws_query.ts @@ -11558,6 +11558,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-sesv2/commands/CreateConfigurationSetCommand.ts b/clients/client-sesv2/commands/CreateConfigurationSetCommand.ts index cb8c19d60c98..9819314be0f2 100644 --- a/clients/client-sesv2/commands/CreateConfigurationSetCommand.ts +++ b/clients/client-sesv2/commands/CreateConfigurationSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationSetCommandInput = CreateConfigurationSetRequest; @@ -70,7 +70,7 @@ export class CreateConfigurationSetCommand extends $Command< private serialize( input: CreateConfigurationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConfigurationSetCommand( input, @@ -80,7 +80,7 @@ export class CreateConfigurationSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConfigurationSetCommand( output, diff --git a/clients/client-sesv2/commands/CreateConfigurationSetEventDestinationCommand.ts b/clients/client-sesv2/commands/CreateConfigurationSetEventDestinationCommand.ts index 3ae319008b17..7f1cdd9cd99e 100644 --- a/clients/client-sesv2/commands/CreateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-sesv2/commands/CreateConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateConfigurationSetEventDestinationCommandInput = CreateConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< private serialize( input: CreateConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-sesv2/commands/CreateDedicatedIpPoolCommand.ts b/clients/client-sesv2/commands/CreateDedicatedIpPoolCommand.ts index 66fe011a29b7..a34750a34e95 100644 --- a/clients/client-sesv2/commands/CreateDedicatedIpPoolCommand.ts +++ b/clients/client-sesv2/commands/CreateDedicatedIpPoolCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDedicatedIpPoolCommandInput = CreateDedicatedIpPoolRequest; @@ -70,14 +70,14 @@ export class CreateDedicatedIpPoolCommand extends $Command< private serialize( input: CreateDedicatedIpPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDedicatedIpPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDedicatedIpPoolCommand( output, diff --git a/clients/client-sesv2/commands/CreateDeliverabilityTestReportCommand.ts b/clients/client-sesv2/commands/CreateDeliverabilityTestReportCommand.ts index d45ac556c04c..3375503dc8ff 100644 --- a/clients/client-sesv2/commands/CreateDeliverabilityTestReportCommand.ts +++ b/clients/client-sesv2/commands/CreateDeliverabilityTestReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDeliverabilityTestReportCommandInput = CreateDeliverabilityTestReportRequest; @@ -70,7 +70,7 @@ export class CreateDeliverabilityTestReportCommand extends $Command< private serialize( input: CreateDeliverabilityTestReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateDeliverabilityTestReportCommand( input, @@ -80,7 +80,7 @@ export class CreateDeliverabilityTestReportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateDeliverabilityTestReportCommand( output, diff --git a/clients/client-sesv2/commands/CreateEmailIdentityCommand.ts b/clients/client-sesv2/commands/CreateEmailIdentityCommand.ts index a1f81958264e..4cc02591d964 100644 --- a/clients/client-sesv2/commands/CreateEmailIdentityCommand.ts +++ b/clients/client-sesv2/commands/CreateEmailIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateEmailIdentityCommandInput = CreateEmailIdentityRequest; @@ -70,14 +70,14 @@ export class CreateEmailIdentityCommand extends $Command< private serialize( input: CreateEmailIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateEmailIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateEmailIdentityCommand( output, diff --git a/clients/client-sesv2/commands/DeleteConfigurationSetCommand.ts b/clients/client-sesv2/commands/DeleteConfigurationSetCommand.ts index d78f95cab2c3..06cf9e3f4125 100644 --- a/clients/client-sesv2/commands/DeleteConfigurationSetCommand.ts +++ b/clients/client-sesv2/commands/DeleteConfigurationSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationSetCommandInput = DeleteConfigurationSetRequest; @@ -70,7 +70,7 @@ export class DeleteConfigurationSetCommand extends $Command< private serialize( input: DeleteConfigurationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteConfigurationSetCommand( input, @@ -80,7 +80,7 @@ export class DeleteConfigurationSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteConfigurationSetCommand( output, diff --git a/clients/client-sesv2/commands/DeleteConfigurationSetEventDestinationCommand.ts b/clients/client-sesv2/commands/DeleteConfigurationSetEventDestinationCommand.ts index e8bc6cc091a6..37ff53f5afca 100644 --- a/clients/client-sesv2/commands/DeleteConfigurationSetEventDestinationCommand.ts +++ b/clients/client-sesv2/commands/DeleteConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteConfigurationSetEventDestinationCommandInput = DeleteConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< private serialize( input: DeleteConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-sesv2/commands/DeleteDedicatedIpPoolCommand.ts b/clients/client-sesv2/commands/DeleteDedicatedIpPoolCommand.ts index 246841e5faf8..8ba2cedf8c5e 100644 --- a/clients/client-sesv2/commands/DeleteDedicatedIpPoolCommand.ts +++ b/clients/client-sesv2/commands/DeleteDedicatedIpPoolCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDedicatedIpPoolCommandInput = DeleteDedicatedIpPoolRequest; @@ -70,14 +70,14 @@ export class DeleteDedicatedIpPoolCommand extends $Command< private serialize( input: DeleteDedicatedIpPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDedicatedIpPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDedicatedIpPoolCommand( output, diff --git a/clients/client-sesv2/commands/DeleteEmailIdentityCommand.ts b/clients/client-sesv2/commands/DeleteEmailIdentityCommand.ts index 325e56233fb0..ac5e02a27aba 100644 --- a/clients/client-sesv2/commands/DeleteEmailIdentityCommand.ts +++ b/clients/client-sesv2/commands/DeleteEmailIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEmailIdentityCommandInput = DeleteEmailIdentityRequest; @@ -70,14 +70,14 @@ export class DeleteEmailIdentityCommand extends $Command< private serialize( input: DeleteEmailIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteEmailIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteEmailIdentityCommand( output, diff --git a/clients/client-sesv2/commands/DeleteSuppressedDestinationCommand.ts b/clients/client-sesv2/commands/DeleteSuppressedDestinationCommand.ts index d0cea3ad4da7..1bb68736e486 100644 --- a/clients/client-sesv2/commands/DeleteSuppressedDestinationCommand.ts +++ b/clients/client-sesv2/commands/DeleteSuppressedDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSuppressedDestinationCommandInput = DeleteSuppressedDestinationRequest; @@ -70,7 +70,7 @@ export class DeleteSuppressedDestinationCommand extends $Command< private serialize( input: DeleteSuppressedDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSuppressedDestinationCommand( input, @@ -80,7 +80,7 @@ export class DeleteSuppressedDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSuppressedDestinationCommand( output, diff --git a/clients/client-sesv2/commands/GetAccountCommand.ts b/clients/client-sesv2/commands/GetAccountCommand.ts index 6e83903f6cdc..10551a9819d7 100644 --- a/clients/client-sesv2/commands/GetAccountCommand.ts +++ b/clients/client-sesv2/commands/GetAccountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccountCommandInput = GetAccountRequest; @@ -64,14 +64,14 @@ export class GetAccountCommand extends $Command< private serialize( input: GetAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetAccountCommand(output, context); } diff --git a/clients/client-sesv2/commands/GetBlacklistReportsCommand.ts b/clients/client-sesv2/commands/GetBlacklistReportsCommand.ts index cb91a3006a22..497f18a52dc5 100644 --- a/clients/client-sesv2/commands/GetBlacklistReportsCommand.ts +++ b/clients/client-sesv2/commands/GetBlacklistReportsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetBlacklistReportsCommandInput = GetBlacklistReportsRequest; @@ -70,14 +70,14 @@ export class GetBlacklistReportsCommand extends $Command< private serialize( input: GetBlacklistReportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetBlacklistReportsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetBlacklistReportsCommand( output, diff --git a/clients/client-sesv2/commands/GetConfigurationSetCommand.ts b/clients/client-sesv2/commands/GetConfigurationSetCommand.ts index 3fffa46c6b30..223750c6624b 100644 --- a/clients/client-sesv2/commands/GetConfigurationSetCommand.ts +++ b/clients/client-sesv2/commands/GetConfigurationSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConfigurationSetCommandInput = GetConfigurationSetRequest; @@ -70,14 +70,14 @@ export class GetConfigurationSetCommand extends $Command< private serialize( input: GetConfigurationSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConfigurationSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConfigurationSetCommand( output, diff --git a/clients/client-sesv2/commands/GetConfigurationSetEventDestinationsCommand.ts b/clients/client-sesv2/commands/GetConfigurationSetEventDestinationsCommand.ts index 9e7e72d50df0..55f3637e9e4c 100644 --- a/clients/client-sesv2/commands/GetConfigurationSetEventDestinationsCommand.ts +++ b/clients/client-sesv2/commands/GetConfigurationSetEventDestinationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConfigurationSetEventDestinationsCommandInput = GetConfigurationSetEventDestinationsRequest; @@ -72,7 +72,7 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< private serialize( input: GetConfigurationSetEventDestinationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetConfigurationSetEventDestinationsCommand( input, @@ -82,7 +82,7 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetConfigurationSetEventDestinationsCommand( output, diff --git a/clients/client-sesv2/commands/GetDedicatedIpCommand.ts b/clients/client-sesv2/commands/GetDedicatedIpCommand.ts index 6ed61af7b397..5af20a717ada 100644 --- a/clients/client-sesv2/commands/GetDedicatedIpCommand.ts +++ b/clients/client-sesv2/commands/GetDedicatedIpCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDedicatedIpCommandInput = GetDedicatedIpRequest; @@ -64,14 +64,14 @@ export class GetDedicatedIpCommand extends $Command< private serialize( input: GetDedicatedIpCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDedicatedIpCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDedicatedIpCommand(output, context); } diff --git a/clients/client-sesv2/commands/GetDedicatedIpsCommand.ts b/clients/client-sesv2/commands/GetDedicatedIpsCommand.ts index 16a84d2d83d4..e84415b40ec9 100644 --- a/clients/client-sesv2/commands/GetDedicatedIpsCommand.ts +++ b/clients/client-sesv2/commands/GetDedicatedIpsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDedicatedIpsCommandInput = GetDedicatedIpsRequest; @@ -67,14 +67,14 @@ export class GetDedicatedIpsCommand extends $Command< private serialize( input: GetDedicatedIpsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDedicatedIpsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDedicatedIpsCommand(output, context); } diff --git a/clients/client-sesv2/commands/GetDeliverabilityDashboardOptionsCommand.ts b/clients/client-sesv2/commands/GetDeliverabilityDashboardOptionsCommand.ts index 1611b1137f05..5156b5e33bde 100644 --- a/clients/client-sesv2/commands/GetDeliverabilityDashboardOptionsCommand.ts +++ b/clients/client-sesv2/commands/GetDeliverabilityDashboardOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeliverabilityDashboardOptionsCommandInput = GetDeliverabilityDashboardOptionsRequest; @@ -70,7 +70,7 @@ export class GetDeliverabilityDashboardOptionsCommand extends $Command< private serialize( input: GetDeliverabilityDashboardOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeliverabilityDashboardOptionsCommand( input, @@ -80,7 +80,7 @@ export class GetDeliverabilityDashboardOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeliverabilityDashboardOptionsCommand( output, diff --git a/clients/client-sesv2/commands/GetDeliverabilityTestReportCommand.ts b/clients/client-sesv2/commands/GetDeliverabilityTestReportCommand.ts index 0647063e961c..e7fb6b5c2498 100644 --- a/clients/client-sesv2/commands/GetDeliverabilityTestReportCommand.ts +++ b/clients/client-sesv2/commands/GetDeliverabilityTestReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeliverabilityTestReportCommandInput = GetDeliverabilityTestReportRequest; @@ -70,7 +70,7 @@ export class GetDeliverabilityTestReportCommand extends $Command< private serialize( input: GetDeliverabilityTestReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDeliverabilityTestReportCommand( input, @@ -80,7 +80,7 @@ export class GetDeliverabilityTestReportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDeliverabilityTestReportCommand( output, diff --git a/clients/client-sesv2/commands/GetDomainDeliverabilityCampaignCommand.ts b/clients/client-sesv2/commands/GetDomainDeliverabilityCampaignCommand.ts index 30f60f6263e5..cf653e54b0ff 100644 --- a/clients/client-sesv2/commands/GetDomainDeliverabilityCampaignCommand.ts +++ b/clients/client-sesv2/commands/GetDomainDeliverabilityCampaignCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainDeliverabilityCampaignCommandInput = GetDomainDeliverabilityCampaignRequest; @@ -70,7 +70,7 @@ export class GetDomainDeliverabilityCampaignCommand extends $Command< private serialize( input: GetDomainDeliverabilityCampaignCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDomainDeliverabilityCampaignCommand( input, @@ -80,7 +80,7 @@ export class GetDomainDeliverabilityCampaignCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDomainDeliverabilityCampaignCommand( output, diff --git a/clients/client-sesv2/commands/GetDomainStatisticsReportCommand.ts b/clients/client-sesv2/commands/GetDomainStatisticsReportCommand.ts index de5d9c1e9524..1b0d1a0f1e66 100644 --- a/clients/client-sesv2/commands/GetDomainStatisticsReportCommand.ts +++ b/clients/client-sesv2/commands/GetDomainStatisticsReportCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDomainStatisticsReportCommandInput = GetDomainStatisticsReportRequest; @@ -70,7 +70,7 @@ export class GetDomainStatisticsReportCommand extends $Command< private serialize( input: GetDomainStatisticsReportCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDomainStatisticsReportCommand( input, @@ -80,7 +80,7 @@ export class GetDomainStatisticsReportCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDomainStatisticsReportCommand( output, diff --git a/clients/client-sesv2/commands/GetEmailIdentityCommand.ts b/clients/client-sesv2/commands/GetEmailIdentityCommand.ts index 9c0c05b53de5..59db826448ee 100644 --- a/clients/client-sesv2/commands/GetEmailIdentityCommand.ts +++ b/clients/client-sesv2/commands/GetEmailIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEmailIdentityCommandInput = GetEmailIdentityRequest; @@ -67,14 +67,14 @@ export class GetEmailIdentityCommand extends $Command< private serialize( input: GetEmailIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEmailIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEmailIdentityCommand(output, context); } diff --git a/clients/client-sesv2/commands/GetSuppressedDestinationCommand.ts b/clients/client-sesv2/commands/GetSuppressedDestinationCommand.ts index 00bcdaddc90a..9cbdcc0481ab 100644 --- a/clients/client-sesv2/commands/GetSuppressedDestinationCommand.ts +++ b/clients/client-sesv2/commands/GetSuppressedDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSuppressedDestinationCommandInput = GetSuppressedDestinationRequest; @@ -70,7 +70,7 @@ export class GetSuppressedDestinationCommand extends $Command< private serialize( input: GetSuppressedDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSuppressedDestinationCommand( input, @@ -80,7 +80,7 @@ export class GetSuppressedDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSuppressedDestinationCommand( output, diff --git a/clients/client-sesv2/commands/ListConfigurationSetsCommand.ts b/clients/client-sesv2/commands/ListConfigurationSetsCommand.ts index b75e9b4c6b5d..d18fcbd5dffc 100644 --- a/clients/client-sesv2/commands/ListConfigurationSetsCommand.ts +++ b/clients/client-sesv2/commands/ListConfigurationSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListConfigurationSetsCommandInput = ListConfigurationSetsRequest; @@ -70,14 +70,14 @@ export class ListConfigurationSetsCommand extends $Command< private serialize( input: ListConfigurationSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListConfigurationSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListConfigurationSetsCommand( output, diff --git a/clients/client-sesv2/commands/ListDedicatedIpPoolsCommand.ts b/clients/client-sesv2/commands/ListDedicatedIpPoolsCommand.ts index c9730bb6f5c9..f556816de0f1 100644 --- a/clients/client-sesv2/commands/ListDedicatedIpPoolsCommand.ts +++ b/clients/client-sesv2/commands/ListDedicatedIpPoolsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDedicatedIpPoolsCommandInput = ListDedicatedIpPoolsRequest; @@ -70,14 +70,14 @@ export class ListDedicatedIpPoolsCommand extends $Command< private serialize( input: ListDedicatedIpPoolsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDedicatedIpPoolsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDedicatedIpPoolsCommand( output, diff --git a/clients/client-sesv2/commands/ListDeliverabilityTestReportsCommand.ts b/clients/client-sesv2/commands/ListDeliverabilityTestReportsCommand.ts index 797ea5264f6f..d8fbae9565df 100644 --- a/clients/client-sesv2/commands/ListDeliverabilityTestReportsCommand.ts +++ b/clients/client-sesv2/commands/ListDeliverabilityTestReportsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeliverabilityTestReportsCommandInput = ListDeliverabilityTestReportsRequest; @@ -70,7 +70,7 @@ export class ListDeliverabilityTestReportsCommand extends $Command< private serialize( input: ListDeliverabilityTestReportsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDeliverabilityTestReportsCommand( input, @@ -80,7 +80,7 @@ export class ListDeliverabilityTestReportsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDeliverabilityTestReportsCommand( output, diff --git a/clients/client-sesv2/commands/ListDomainDeliverabilityCampaignsCommand.ts b/clients/client-sesv2/commands/ListDomainDeliverabilityCampaignsCommand.ts index 6903edbe911f..5e9d0f80c654 100644 --- a/clients/client-sesv2/commands/ListDomainDeliverabilityCampaignsCommand.ts +++ b/clients/client-sesv2/commands/ListDomainDeliverabilityCampaignsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDomainDeliverabilityCampaignsCommandInput = ListDomainDeliverabilityCampaignsRequest; @@ -70,7 +70,7 @@ export class ListDomainDeliverabilityCampaignsCommand extends $Command< private serialize( input: ListDomainDeliverabilityCampaignsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDomainDeliverabilityCampaignsCommand( input, @@ -80,7 +80,7 @@ export class ListDomainDeliverabilityCampaignsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDomainDeliverabilityCampaignsCommand( output, diff --git a/clients/client-sesv2/commands/ListEmailIdentitiesCommand.ts b/clients/client-sesv2/commands/ListEmailIdentitiesCommand.ts index 60eb154e8387..72560a25acac 100644 --- a/clients/client-sesv2/commands/ListEmailIdentitiesCommand.ts +++ b/clients/client-sesv2/commands/ListEmailIdentitiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEmailIdentitiesCommandInput = ListEmailIdentitiesRequest; @@ -70,14 +70,14 @@ export class ListEmailIdentitiesCommand extends $Command< private serialize( input: ListEmailIdentitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListEmailIdentitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListEmailIdentitiesCommand( output, diff --git a/clients/client-sesv2/commands/ListSuppressedDestinationsCommand.ts b/clients/client-sesv2/commands/ListSuppressedDestinationsCommand.ts index 3b9e7334f413..e3cab9a32d40 100644 --- a/clients/client-sesv2/commands/ListSuppressedDestinationsCommand.ts +++ b/clients/client-sesv2/commands/ListSuppressedDestinationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSuppressedDestinationsCommandInput = ListSuppressedDestinationsRequest; @@ -70,7 +70,7 @@ export class ListSuppressedDestinationsCommand extends $Command< private serialize( input: ListSuppressedDestinationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSuppressedDestinationsCommand( input, @@ -80,7 +80,7 @@ export class ListSuppressedDestinationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSuppressedDestinationsCommand( output, diff --git a/clients/client-sesv2/commands/ListTagsForResourceCommand.ts b/clients/client-sesv2/commands/ListTagsForResourceCommand.ts index c05e4d675701..3f751f598ed7 100644 --- a/clients/client-sesv2/commands/ListTagsForResourceCommand.ts +++ b/clients/client-sesv2/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-sesv2/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts b/clients/client-sesv2/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts index 562c0124afb0..113ddc680015 100644 --- a/clients/client-sesv2/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAccountDedicatedIpWarmupAttributesCommandInput = PutAccountDedicatedIpWarmupAttributesRequest; @@ -72,7 +72,7 @@ export class PutAccountDedicatedIpWarmupAttributesCommand extends $Command< private serialize( input: PutAccountDedicatedIpWarmupAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutAccountDedicatedIpWarmupAttributesCommand( input, @@ -82,7 +82,7 @@ export class PutAccountDedicatedIpWarmupAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutAccountDedicatedIpWarmupAttributesCommand( output, diff --git a/clients/client-sesv2/commands/PutAccountSendingAttributesCommand.ts b/clients/client-sesv2/commands/PutAccountSendingAttributesCommand.ts index 9a38516a76c9..bdcdbcb5a075 100644 --- a/clients/client-sesv2/commands/PutAccountSendingAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutAccountSendingAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAccountSendingAttributesCommandInput = PutAccountSendingAttributesRequest; @@ -70,7 +70,7 @@ export class PutAccountSendingAttributesCommand extends $Command< private serialize( input: PutAccountSendingAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutAccountSendingAttributesCommand( input, @@ -80,7 +80,7 @@ export class PutAccountSendingAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutAccountSendingAttributesCommand( output, diff --git a/clients/client-sesv2/commands/PutAccountSuppressionAttributesCommand.ts b/clients/client-sesv2/commands/PutAccountSuppressionAttributesCommand.ts index d973f46bb2d4..09b002d85a3e 100644 --- a/clients/client-sesv2/commands/PutAccountSuppressionAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutAccountSuppressionAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAccountSuppressionAttributesCommandInput = PutAccountSuppressionAttributesRequest; @@ -70,7 +70,7 @@ export class PutAccountSuppressionAttributesCommand extends $Command< private serialize( input: PutAccountSuppressionAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutAccountSuppressionAttributesCommand( input, @@ -80,7 +80,7 @@ export class PutAccountSuppressionAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutAccountSuppressionAttributesCommand( output, diff --git a/clients/client-sesv2/commands/PutConfigurationSetDeliveryOptionsCommand.ts b/clients/client-sesv2/commands/PutConfigurationSetDeliveryOptionsCommand.ts index 668466c4bf60..0085b5912b07 100644 --- a/clients/client-sesv2/commands/PutConfigurationSetDeliveryOptionsCommand.ts +++ b/clients/client-sesv2/commands/PutConfigurationSetDeliveryOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationSetDeliveryOptionsCommandInput = PutConfigurationSetDeliveryOptionsRequest; @@ -70,7 +70,7 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< private serialize( input: PutConfigurationSetDeliveryOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutConfigurationSetDeliveryOptionsCommand( input, @@ -80,7 +80,7 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutConfigurationSetDeliveryOptionsCommand( output, diff --git a/clients/client-sesv2/commands/PutConfigurationSetReputationOptionsCommand.ts b/clients/client-sesv2/commands/PutConfigurationSetReputationOptionsCommand.ts index a2821467de96..9a1dbede3cc1 100644 --- a/clients/client-sesv2/commands/PutConfigurationSetReputationOptionsCommand.ts +++ b/clients/client-sesv2/commands/PutConfigurationSetReputationOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationSetReputationOptionsCommandInput = PutConfigurationSetReputationOptionsRequest; @@ -72,7 +72,7 @@ export class PutConfigurationSetReputationOptionsCommand extends $Command< private serialize( input: PutConfigurationSetReputationOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutConfigurationSetReputationOptionsCommand( input, @@ -82,7 +82,7 @@ export class PutConfigurationSetReputationOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutConfigurationSetReputationOptionsCommand( output, diff --git a/clients/client-sesv2/commands/PutConfigurationSetSendingOptionsCommand.ts b/clients/client-sesv2/commands/PutConfigurationSetSendingOptionsCommand.ts index d1606e47524b..916246ece751 100644 --- a/clients/client-sesv2/commands/PutConfigurationSetSendingOptionsCommand.ts +++ b/clients/client-sesv2/commands/PutConfigurationSetSendingOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationSetSendingOptionsCommandInput = PutConfigurationSetSendingOptionsRequest; @@ -70,7 +70,7 @@ export class PutConfigurationSetSendingOptionsCommand extends $Command< private serialize( input: PutConfigurationSetSendingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutConfigurationSetSendingOptionsCommand( input, @@ -80,7 +80,7 @@ export class PutConfigurationSetSendingOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutConfigurationSetSendingOptionsCommand( output, diff --git a/clients/client-sesv2/commands/PutConfigurationSetSuppressionOptionsCommand.ts b/clients/client-sesv2/commands/PutConfigurationSetSuppressionOptionsCommand.ts index 674668233568..909a556c8f45 100644 --- a/clients/client-sesv2/commands/PutConfigurationSetSuppressionOptionsCommand.ts +++ b/clients/client-sesv2/commands/PutConfigurationSetSuppressionOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationSetSuppressionOptionsCommandInput = PutConfigurationSetSuppressionOptionsRequest; @@ -72,7 +72,7 @@ export class PutConfigurationSetSuppressionOptionsCommand extends $Command< private serialize( input: PutConfigurationSetSuppressionOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutConfigurationSetSuppressionOptionsCommand( input, @@ -82,7 +82,7 @@ export class PutConfigurationSetSuppressionOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutConfigurationSetSuppressionOptionsCommand( output, diff --git a/clients/client-sesv2/commands/PutConfigurationSetTrackingOptionsCommand.ts b/clients/client-sesv2/commands/PutConfigurationSetTrackingOptionsCommand.ts index a16713f1f30b..1fca9e6fc0ca 100644 --- a/clients/client-sesv2/commands/PutConfigurationSetTrackingOptionsCommand.ts +++ b/clients/client-sesv2/commands/PutConfigurationSetTrackingOptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutConfigurationSetTrackingOptionsCommandInput = PutConfigurationSetTrackingOptionsRequest; @@ -70,7 +70,7 @@ export class PutConfigurationSetTrackingOptionsCommand extends $Command< private serialize( input: PutConfigurationSetTrackingOptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutConfigurationSetTrackingOptionsCommand( input, @@ -80,7 +80,7 @@ export class PutConfigurationSetTrackingOptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutConfigurationSetTrackingOptionsCommand( output, diff --git a/clients/client-sesv2/commands/PutDedicatedIpInPoolCommand.ts b/clients/client-sesv2/commands/PutDedicatedIpInPoolCommand.ts index 0d4550ed7605..417436b47f74 100644 --- a/clients/client-sesv2/commands/PutDedicatedIpInPoolCommand.ts +++ b/clients/client-sesv2/commands/PutDedicatedIpInPoolCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDedicatedIpInPoolCommandInput = PutDedicatedIpInPoolRequest; @@ -70,14 +70,14 @@ export class PutDedicatedIpInPoolCommand extends $Command< private serialize( input: PutDedicatedIpInPoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutDedicatedIpInPoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutDedicatedIpInPoolCommand( output, diff --git a/clients/client-sesv2/commands/PutDedicatedIpWarmupAttributesCommand.ts b/clients/client-sesv2/commands/PutDedicatedIpWarmupAttributesCommand.ts index dd9dca9fa261..b33b6527ea57 100644 --- a/clients/client-sesv2/commands/PutDedicatedIpWarmupAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutDedicatedIpWarmupAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDedicatedIpWarmupAttributesCommandInput = PutDedicatedIpWarmupAttributesRequest; @@ -70,7 +70,7 @@ export class PutDedicatedIpWarmupAttributesCommand extends $Command< private serialize( input: PutDedicatedIpWarmupAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutDedicatedIpWarmupAttributesCommand( input, @@ -80,7 +80,7 @@ export class PutDedicatedIpWarmupAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutDedicatedIpWarmupAttributesCommand( output, diff --git a/clients/client-sesv2/commands/PutDeliverabilityDashboardOptionCommand.ts b/clients/client-sesv2/commands/PutDeliverabilityDashboardOptionCommand.ts index 9105205614bd..a8a140368f6d 100644 --- a/clients/client-sesv2/commands/PutDeliverabilityDashboardOptionCommand.ts +++ b/clients/client-sesv2/commands/PutDeliverabilityDashboardOptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutDeliverabilityDashboardOptionCommandInput = PutDeliverabilityDashboardOptionRequest; @@ -70,7 +70,7 @@ export class PutDeliverabilityDashboardOptionCommand extends $Command< private serialize( input: PutDeliverabilityDashboardOptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutDeliverabilityDashboardOptionCommand( input, @@ -80,7 +80,7 @@ export class PutDeliverabilityDashboardOptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutDeliverabilityDashboardOptionCommand( output, diff --git a/clients/client-sesv2/commands/PutEmailIdentityDkimAttributesCommand.ts b/clients/client-sesv2/commands/PutEmailIdentityDkimAttributesCommand.ts index 9e605d2d2462..cd2de459075c 100644 --- a/clients/client-sesv2/commands/PutEmailIdentityDkimAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutEmailIdentityDkimAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEmailIdentityDkimAttributesCommandInput = PutEmailIdentityDkimAttributesRequest; @@ -70,7 +70,7 @@ export class PutEmailIdentityDkimAttributesCommand extends $Command< private serialize( input: PutEmailIdentityDkimAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEmailIdentityDkimAttributesCommand( input, @@ -80,7 +80,7 @@ export class PutEmailIdentityDkimAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEmailIdentityDkimAttributesCommand( output, diff --git a/clients/client-sesv2/commands/PutEmailIdentityDkimSigningAttributesCommand.ts b/clients/client-sesv2/commands/PutEmailIdentityDkimSigningAttributesCommand.ts index aac94e0e93b4..013247ec2a6c 100644 --- a/clients/client-sesv2/commands/PutEmailIdentityDkimSigningAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutEmailIdentityDkimSigningAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEmailIdentityDkimSigningAttributesCommandInput = PutEmailIdentityDkimSigningAttributesRequest; @@ -72,7 +72,7 @@ export class PutEmailIdentityDkimSigningAttributesCommand extends $Command< private serialize( input: PutEmailIdentityDkimSigningAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEmailIdentityDkimSigningAttributesCommand( input, @@ -82,7 +82,7 @@ export class PutEmailIdentityDkimSigningAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEmailIdentityDkimSigningAttributesCommand( output, diff --git a/clients/client-sesv2/commands/PutEmailIdentityFeedbackAttributesCommand.ts b/clients/client-sesv2/commands/PutEmailIdentityFeedbackAttributesCommand.ts index c87a552f9c3d..10ead01a788f 100644 --- a/clients/client-sesv2/commands/PutEmailIdentityFeedbackAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutEmailIdentityFeedbackAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEmailIdentityFeedbackAttributesCommandInput = PutEmailIdentityFeedbackAttributesRequest; @@ -70,7 +70,7 @@ export class PutEmailIdentityFeedbackAttributesCommand extends $Command< private serialize( input: PutEmailIdentityFeedbackAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEmailIdentityFeedbackAttributesCommand( input, @@ -80,7 +80,7 @@ export class PutEmailIdentityFeedbackAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEmailIdentityFeedbackAttributesCommand( output, diff --git a/clients/client-sesv2/commands/PutEmailIdentityMailFromAttributesCommand.ts b/clients/client-sesv2/commands/PutEmailIdentityMailFromAttributesCommand.ts index 9430dca5973c..f324efc6b22c 100644 --- a/clients/client-sesv2/commands/PutEmailIdentityMailFromAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutEmailIdentityMailFromAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEmailIdentityMailFromAttributesCommandInput = PutEmailIdentityMailFromAttributesRequest; @@ -70,7 +70,7 @@ export class PutEmailIdentityMailFromAttributesCommand extends $Command< private serialize( input: PutEmailIdentityMailFromAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEmailIdentityMailFromAttributesCommand( input, @@ -80,7 +80,7 @@ export class PutEmailIdentityMailFromAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEmailIdentityMailFromAttributesCommand( output, diff --git a/clients/client-sesv2/commands/PutSuppressedDestinationCommand.ts b/clients/client-sesv2/commands/PutSuppressedDestinationCommand.ts index 2040fd4cbf61..77a3eb1f2822 100644 --- a/clients/client-sesv2/commands/PutSuppressedDestinationCommand.ts +++ b/clients/client-sesv2/commands/PutSuppressedDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutSuppressedDestinationCommandInput = PutSuppressedDestinationRequest; @@ -70,7 +70,7 @@ export class PutSuppressedDestinationCommand extends $Command< private serialize( input: PutSuppressedDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutSuppressedDestinationCommand( input, @@ -80,7 +80,7 @@ export class PutSuppressedDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutSuppressedDestinationCommand( output, diff --git a/clients/client-sesv2/commands/SendEmailCommand.ts b/clients/client-sesv2/commands/SendEmailCommand.ts index e00cbea95e85..06dcbbb8f407 100644 --- a/clients/client-sesv2/commands/SendEmailCommand.ts +++ b/clients/client-sesv2/commands/SendEmailCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendEmailCommandInput = SendEmailRequest; @@ -64,14 +64,14 @@ export class SendEmailCommand extends $Command< private serialize( input: SendEmailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SendEmailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SendEmailCommand(output, context); } diff --git a/clients/client-sesv2/commands/TagResourceCommand.ts b/clients/client-sesv2/commands/TagResourceCommand.ts index b2d6c227a805..b2238f231c78 100644 --- a/clients/client-sesv2/commands/TagResourceCommand.ts +++ b/clients/client-sesv2/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-sesv2/commands/UntagResourceCommand.ts b/clients/client-sesv2/commands/UntagResourceCommand.ts index ae9d9bc01cf5..db0fafd8d1ad 100644 --- a/clients/client-sesv2/commands/UntagResourceCommand.ts +++ b/clients/client-sesv2/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-sesv2/commands/UpdateConfigurationSetEventDestinationCommand.ts b/clients/client-sesv2/commands/UpdateConfigurationSetEventDestinationCommand.ts index b038ed27a836..e51e48103bfa 100644 --- a/clients/client-sesv2/commands/UpdateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-sesv2/commands/UpdateConfigurationSetEventDestinationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateConfigurationSetEventDestinationCommandInput = UpdateConfigurationSetEventDestinationRequest; @@ -72,7 +72,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< private serialize( input: UpdateConfigurationSetEventDestinationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateConfigurationSetEventDestinationCommand( input, @@ -82,7 +82,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateConfigurationSetEventDestinationCommand( output, diff --git a/clients/client-sesv2/protocols/Aws_restJson1_1.ts b/clients/client-sesv2/protocols/Aws_restJson1_1.ts index a51380ebe8d4..659899b137b9 100644 --- a/clients/client-sesv2/protocols/Aws_restJson1_1.ts +++ b/clients/client-sesv2/protocols/Aws_restJson1_1.ts @@ -7397,6 +7397,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-sfn/commands/CreateActivityCommand.ts b/clients/client-sfn/commands/CreateActivityCommand.ts index 62a21e06209c..9cf0dc463f77 100644 --- a/clients/client-sfn/commands/CreateActivityCommand.ts +++ b/clients/client-sfn/commands/CreateActivityCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateActivityCommandInput = CreateActivityInput; @@ -64,14 +64,14 @@ export class CreateActivityCommand extends $Command< private serialize( input: CreateActivityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0CreateActivityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0CreateActivityCommand(output, context); } diff --git a/clients/client-sfn/commands/CreateStateMachineCommand.ts b/clients/client-sfn/commands/CreateStateMachineCommand.ts index a731747f6fe5..c6563ce478de 100644 --- a/clients/client-sfn/commands/CreateStateMachineCommand.ts +++ b/clients/client-sfn/commands/CreateStateMachineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStateMachineCommandInput = CreateStateMachineInput; @@ -67,14 +67,14 @@ export class CreateStateMachineCommand extends $Command< private serialize( input: CreateStateMachineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0CreateStateMachineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0CreateStateMachineCommand(output, context); } diff --git a/clients/client-sfn/commands/DeleteActivityCommand.ts b/clients/client-sfn/commands/DeleteActivityCommand.ts index dc0f5f4280ab..b341c9c46862 100644 --- a/clients/client-sfn/commands/DeleteActivityCommand.ts +++ b/clients/client-sfn/commands/DeleteActivityCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteActivityCommandInput = DeleteActivityInput; @@ -64,14 +64,14 @@ export class DeleteActivityCommand extends $Command< private serialize( input: DeleteActivityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DeleteActivityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DeleteActivityCommand(output, context); } diff --git a/clients/client-sfn/commands/DeleteStateMachineCommand.ts b/clients/client-sfn/commands/DeleteStateMachineCommand.ts index 72c98b85c7af..f71d00ffc1cb 100644 --- a/clients/client-sfn/commands/DeleteStateMachineCommand.ts +++ b/clients/client-sfn/commands/DeleteStateMachineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteStateMachineCommandInput = DeleteStateMachineInput; @@ -67,14 +67,14 @@ export class DeleteStateMachineCommand extends $Command< private serialize( input: DeleteStateMachineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DeleteStateMachineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DeleteStateMachineCommand(output, context); } diff --git a/clients/client-sfn/commands/DescribeActivityCommand.ts b/clients/client-sfn/commands/DescribeActivityCommand.ts index 859382a8b059..be3a0e198714 100644 --- a/clients/client-sfn/commands/DescribeActivityCommand.ts +++ b/clients/client-sfn/commands/DescribeActivityCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeActivityCommandInput = DescribeActivityInput; @@ -64,14 +64,14 @@ export class DescribeActivityCommand extends $Command< private serialize( input: DescribeActivityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeActivityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeActivityCommand(output, context); } diff --git a/clients/client-sfn/commands/DescribeExecutionCommand.ts b/clients/client-sfn/commands/DescribeExecutionCommand.ts index a8a40309644d..f97a10ae9d3d 100644 --- a/clients/client-sfn/commands/DescribeExecutionCommand.ts +++ b/clients/client-sfn/commands/DescribeExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeExecutionCommandInput = DescribeExecutionInput; @@ -67,14 +67,14 @@ export class DescribeExecutionCommand extends $Command< private serialize( input: DescribeExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeExecutionCommand(output, context); } diff --git a/clients/client-sfn/commands/DescribeStateMachineCommand.ts b/clients/client-sfn/commands/DescribeStateMachineCommand.ts index 565c80b521c8..78b5353dd671 100644 --- a/clients/client-sfn/commands/DescribeStateMachineCommand.ts +++ b/clients/client-sfn/commands/DescribeStateMachineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStateMachineCommandInput = DescribeStateMachineInput; @@ -70,14 +70,14 @@ export class DescribeStateMachineCommand extends $Command< private serialize( input: DescribeStateMachineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeStateMachineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeStateMachineCommand(output, context); } diff --git a/clients/client-sfn/commands/DescribeStateMachineForExecutionCommand.ts b/clients/client-sfn/commands/DescribeStateMachineForExecutionCommand.ts index 8f480ca8e45a..32091bc0e789 100644 --- a/clients/client-sfn/commands/DescribeStateMachineForExecutionCommand.ts +++ b/clients/client-sfn/commands/DescribeStateMachineForExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStateMachineForExecutionCommandInput = DescribeStateMachineForExecutionInput; @@ -70,7 +70,7 @@ export class DescribeStateMachineForExecutionCommand extends $Command< private serialize( input: DescribeStateMachineForExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeStateMachineForExecutionCommand( input, @@ -80,7 +80,7 @@ export class DescribeStateMachineForExecutionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeStateMachineForExecutionCommand( output, diff --git a/clients/client-sfn/commands/GetActivityTaskCommand.ts b/clients/client-sfn/commands/GetActivityTaskCommand.ts index d44e20aa2875..8881271f9206 100644 --- a/clients/client-sfn/commands/GetActivityTaskCommand.ts +++ b/clients/client-sfn/commands/GetActivityTaskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetActivityTaskCommandInput = GetActivityTaskInput; @@ -64,14 +64,14 @@ export class GetActivityTaskCommand extends $Command< private serialize( input: GetActivityTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetActivityTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetActivityTaskCommand(output, context); } diff --git a/clients/client-sfn/commands/GetExecutionHistoryCommand.ts b/clients/client-sfn/commands/GetExecutionHistoryCommand.ts index f31d7c6dbcc2..adc35e9e3ec4 100644 --- a/clients/client-sfn/commands/GetExecutionHistoryCommand.ts +++ b/clients/client-sfn/commands/GetExecutionHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetExecutionHistoryCommandInput = GetExecutionHistoryInput; @@ -70,14 +70,14 @@ export class GetExecutionHistoryCommand extends $Command< private serialize( input: GetExecutionHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetExecutionHistoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetExecutionHistoryCommand(output, context); } diff --git a/clients/client-sfn/commands/ListActivitiesCommand.ts b/clients/client-sfn/commands/ListActivitiesCommand.ts index 8a5182250af9..c243a76ee602 100644 --- a/clients/client-sfn/commands/ListActivitiesCommand.ts +++ b/clients/client-sfn/commands/ListActivitiesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListActivitiesCommandInput = ListActivitiesInput; @@ -64,14 +64,14 @@ export class ListActivitiesCommand extends $Command< private serialize( input: ListActivitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListActivitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListActivitiesCommand(output, context); } diff --git a/clients/client-sfn/commands/ListExecutionsCommand.ts b/clients/client-sfn/commands/ListExecutionsCommand.ts index 3974b9d255af..fe8b2c4f3e85 100644 --- a/clients/client-sfn/commands/ListExecutionsCommand.ts +++ b/clients/client-sfn/commands/ListExecutionsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListExecutionsCommandInput = ListExecutionsInput; @@ -64,14 +64,14 @@ export class ListExecutionsCommand extends $Command< private serialize( input: ListExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListExecutionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListExecutionsCommand(output, context); } diff --git a/clients/client-sfn/commands/ListStateMachinesCommand.ts b/clients/client-sfn/commands/ListStateMachinesCommand.ts index 002c91bef9ea..5f5d89298ad3 100644 --- a/clients/client-sfn/commands/ListStateMachinesCommand.ts +++ b/clients/client-sfn/commands/ListStateMachinesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListStateMachinesCommandInput = ListStateMachinesInput; @@ -67,14 +67,14 @@ export class ListStateMachinesCommand extends $Command< private serialize( input: ListStateMachinesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListStateMachinesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListStateMachinesCommand(output, context); } diff --git a/clients/client-sfn/commands/ListTagsForResourceCommand.ts b/clients/client-sfn/commands/ListTagsForResourceCommand.ts index 0025825a6efe..23312c02951c 100644 --- a/clients/client-sfn/commands/ListTagsForResourceCommand.ts +++ b/clients/client-sfn/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListTagsForResourceCommand(output, context); } diff --git a/clients/client-sfn/commands/SendTaskFailureCommand.ts b/clients/client-sfn/commands/SendTaskFailureCommand.ts index a601d0d06a7e..9d2721c80a83 100644 --- a/clients/client-sfn/commands/SendTaskFailureCommand.ts +++ b/clients/client-sfn/commands/SendTaskFailureCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendTaskFailureCommandInput = SendTaskFailureInput; @@ -64,14 +64,14 @@ export class SendTaskFailureCommand extends $Command< private serialize( input: SendTaskFailureCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0SendTaskFailureCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0SendTaskFailureCommand(output, context); } diff --git a/clients/client-sfn/commands/SendTaskHeartbeatCommand.ts b/clients/client-sfn/commands/SendTaskHeartbeatCommand.ts index ba435839cfc6..2504674fad96 100644 --- a/clients/client-sfn/commands/SendTaskHeartbeatCommand.ts +++ b/clients/client-sfn/commands/SendTaskHeartbeatCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendTaskHeartbeatCommandInput = SendTaskHeartbeatInput; @@ -67,14 +67,14 @@ export class SendTaskHeartbeatCommand extends $Command< private serialize( input: SendTaskHeartbeatCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0SendTaskHeartbeatCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0SendTaskHeartbeatCommand(output, context); } diff --git a/clients/client-sfn/commands/SendTaskSuccessCommand.ts b/clients/client-sfn/commands/SendTaskSuccessCommand.ts index 1804e3ea6fba..4c21c32a1c21 100644 --- a/clients/client-sfn/commands/SendTaskSuccessCommand.ts +++ b/clients/client-sfn/commands/SendTaskSuccessCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendTaskSuccessCommandInput = SendTaskSuccessInput; @@ -64,14 +64,14 @@ export class SendTaskSuccessCommand extends $Command< private serialize( input: SendTaskSuccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0SendTaskSuccessCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0SendTaskSuccessCommand(output, context); } diff --git a/clients/client-sfn/commands/StartExecutionCommand.ts b/clients/client-sfn/commands/StartExecutionCommand.ts index 5ad396a2e80b..f6883dd12e7b 100644 --- a/clients/client-sfn/commands/StartExecutionCommand.ts +++ b/clients/client-sfn/commands/StartExecutionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartExecutionCommandInput = StartExecutionInput; @@ -64,14 +64,14 @@ export class StartExecutionCommand extends $Command< private serialize( input: StartExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0StartExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0StartExecutionCommand(output, context); } diff --git a/clients/client-sfn/commands/StopExecutionCommand.ts b/clients/client-sfn/commands/StopExecutionCommand.ts index 463bafb3bb9f..b0c768370aa6 100644 --- a/clients/client-sfn/commands/StopExecutionCommand.ts +++ b/clients/client-sfn/commands/StopExecutionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopExecutionCommandInput = StopExecutionInput; @@ -64,14 +64,14 @@ export class StopExecutionCommand extends $Command< private serialize( input: StopExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0StopExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0StopExecutionCommand(output, context); } diff --git a/clients/client-sfn/commands/TagResourceCommand.ts b/clients/client-sfn/commands/TagResourceCommand.ts index 06756daaa81b..49c99c37cfff 100644 --- a/clients/client-sfn/commands/TagResourceCommand.ts +++ b/clients/client-sfn/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0TagResourceCommand(output, context); } diff --git a/clients/client-sfn/commands/UntagResourceCommand.ts b/clients/client-sfn/commands/UntagResourceCommand.ts index 3ae3a288b705..7b573bcea4c2 100644 --- a/clients/client-sfn/commands/UntagResourceCommand.ts +++ b/clients/client-sfn/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UntagResourceCommand(output, context); } diff --git a/clients/client-sfn/commands/UpdateStateMachineCommand.ts b/clients/client-sfn/commands/UpdateStateMachineCommand.ts index 99e911ac4191..5a17305202c9 100644 --- a/clients/client-sfn/commands/UpdateStateMachineCommand.ts +++ b/clients/client-sfn/commands/UpdateStateMachineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateStateMachineCommandInput = UpdateStateMachineInput; @@ -67,14 +67,14 @@ export class UpdateStateMachineCommand extends $Command< private serialize( input: UpdateStateMachineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UpdateStateMachineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UpdateStateMachineCommand(output, context); } diff --git a/clients/client-sfn/protocols/Aws_json1_0.ts b/clients/client-sfn/protocols/Aws_json1_0.ts index afc26bf73ff5..692fd70f528f 100644 --- a/clients/client-sfn/protocols/Aws_json1_0.ts +++ b/clients/client-sfn/protocols/Aws_json1_0.ts @@ -4775,6 +4775,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-shield/commands/AssociateDRTLogBucketCommand.ts b/clients/client-shield/commands/AssociateDRTLogBucketCommand.ts index d9b3211154a5..e251a342befc 100644 --- a/clients/client-shield/commands/AssociateDRTLogBucketCommand.ts +++ b/clients/client-shield/commands/AssociateDRTLogBucketCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateDRTLogBucketCommandInput = AssociateDRTLogBucketRequest; @@ -70,14 +70,14 @@ export class AssociateDRTLogBucketCommand extends $Command< private serialize( input: AssociateDRTLogBucketCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateDRTLogBucketCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateDRTLogBucketCommand(output, context); } diff --git a/clients/client-shield/commands/AssociateDRTRoleCommand.ts b/clients/client-shield/commands/AssociateDRTRoleCommand.ts index 17b0e89ded60..3f5825f46392 100644 --- a/clients/client-shield/commands/AssociateDRTRoleCommand.ts +++ b/clients/client-shield/commands/AssociateDRTRoleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateDRTRoleCommandInput = AssociateDRTRoleRequest; @@ -67,14 +67,14 @@ export class AssociateDRTRoleCommand extends $Command< private serialize( input: AssociateDRTRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateDRTRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateDRTRoleCommand(output, context); } diff --git a/clients/client-shield/commands/CreateProtectionCommand.ts b/clients/client-shield/commands/CreateProtectionCommand.ts index 015d06a90b33..dceb77d1e700 100644 --- a/clients/client-shield/commands/CreateProtectionCommand.ts +++ b/clients/client-shield/commands/CreateProtectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateProtectionCommandInput = CreateProtectionRequest; @@ -67,14 +67,14 @@ export class CreateProtectionCommand extends $Command< private serialize( input: CreateProtectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateProtectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateProtectionCommand(output, context); } diff --git a/clients/client-shield/commands/CreateSubscriptionCommand.ts b/clients/client-shield/commands/CreateSubscriptionCommand.ts index 3a5041f60f8b..f9b9d483389f 100644 --- a/clients/client-shield/commands/CreateSubscriptionCommand.ts +++ b/clients/client-shield/commands/CreateSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSubscriptionCommandInput = CreateSubscriptionRequest; @@ -67,14 +67,14 @@ export class CreateSubscriptionCommand extends $Command< private serialize( input: CreateSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSubscriptionCommand(output, context); } diff --git a/clients/client-shield/commands/DeleteProtectionCommand.ts b/clients/client-shield/commands/DeleteProtectionCommand.ts index a9326f1168e6..66907dc20f84 100644 --- a/clients/client-shield/commands/DeleteProtectionCommand.ts +++ b/clients/client-shield/commands/DeleteProtectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteProtectionCommandInput = DeleteProtectionRequest; @@ -67,14 +67,14 @@ export class DeleteProtectionCommand extends $Command< private serialize( input: DeleteProtectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteProtectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteProtectionCommand(output, context); } diff --git a/clients/client-shield/commands/DeleteSubscriptionCommand.ts b/clients/client-shield/commands/DeleteSubscriptionCommand.ts index a1410a847419..d8fe99f17f91 100644 --- a/clients/client-shield/commands/DeleteSubscriptionCommand.ts +++ b/clients/client-shield/commands/DeleteSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSubscriptionCommandInput = DeleteSubscriptionRequest; @@ -67,14 +67,14 @@ export class DeleteSubscriptionCommand extends $Command< private serialize( input: DeleteSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSubscriptionCommand(output, context); } diff --git a/clients/client-shield/commands/DescribeAttackCommand.ts b/clients/client-shield/commands/DescribeAttackCommand.ts index 2ba3c48690f8..1151de17345a 100644 --- a/clients/client-shield/commands/DescribeAttackCommand.ts +++ b/clients/client-shield/commands/DescribeAttackCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAttackCommandInput = DescribeAttackRequest; @@ -64,14 +64,14 @@ export class DescribeAttackCommand extends $Command< private serialize( input: DescribeAttackCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAttackCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAttackCommand(output, context); } diff --git a/clients/client-shield/commands/DescribeDRTAccessCommand.ts b/clients/client-shield/commands/DescribeDRTAccessCommand.ts index 3c42135dca79..149a78ce69d7 100644 --- a/clients/client-shield/commands/DescribeDRTAccessCommand.ts +++ b/clients/client-shield/commands/DescribeDRTAccessCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDRTAccessCommandInput = DescribeDRTAccessRequest; @@ -67,14 +67,14 @@ export class DescribeDRTAccessCommand extends $Command< private serialize( input: DescribeDRTAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDRTAccessCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDRTAccessCommand(output, context); } diff --git a/clients/client-shield/commands/DescribeEmergencyContactSettingsCommand.ts b/clients/client-shield/commands/DescribeEmergencyContactSettingsCommand.ts index cb2894e81969..b2362bdb7c95 100644 --- a/clients/client-shield/commands/DescribeEmergencyContactSettingsCommand.ts +++ b/clients/client-shield/commands/DescribeEmergencyContactSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEmergencyContactSettingsCommandInput = DescribeEmergencyContactSettingsRequest; @@ -70,7 +70,7 @@ export class DescribeEmergencyContactSettingsCommand extends $Command< private serialize( input: DescribeEmergencyContactSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEmergencyContactSettingsCommand( input, @@ -80,7 +80,7 @@ export class DescribeEmergencyContactSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEmergencyContactSettingsCommand( output, diff --git a/clients/client-shield/commands/DescribeProtectionCommand.ts b/clients/client-shield/commands/DescribeProtectionCommand.ts index 96a789c82a0b..0171bd02af04 100644 --- a/clients/client-shield/commands/DescribeProtectionCommand.ts +++ b/clients/client-shield/commands/DescribeProtectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeProtectionCommandInput = DescribeProtectionRequest; @@ -67,14 +67,14 @@ export class DescribeProtectionCommand extends $Command< private serialize( input: DescribeProtectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeProtectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeProtectionCommand(output, context); } diff --git a/clients/client-shield/commands/DescribeSubscriptionCommand.ts b/clients/client-shield/commands/DescribeSubscriptionCommand.ts index 316474e2f6d5..4378ef579403 100644 --- a/clients/client-shield/commands/DescribeSubscriptionCommand.ts +++ b/clients/client-shield/commands/DescribeSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSubscriptionCommandInput = DescribeSubscriptionRequest; @@ -70,14 +70,14 @@ export class DescribeSubscriptionCommand extends $Command< private serialize( input: DescribeSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSubscriptionCommand(output, context); } diff --git a/clients/client-shield/commands/DisassociateDRTLogBucketCommand.ts b/clients/client-shield/commands/DisassociateDRTLogBucketCommand.ts index d33ab64d99c7..ea7231b72303 100644 --- a/clients/client-shield/commands/DisassociateDRTLogBucketCommand.ts +++ b/clients/client-shield/commands/DisassociateDRTLogBucketCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateDRTLogBucketCommandInput = DisassociateDRTLogBucketRequest; @@ -70,14 +70,14 @@ export class DisassociateDRTLogBucketCommand extends $Command< private serialize( input: DisassociateDRTLogBucketCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateDRTLogBucketCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateDRTLogBucketCommand( output, diff --git a/clients/client-shield/commands/DisassociateDRTRoleCommand.ts b/clients/client-shield/commands/DisassociateDRTRoleCommand.ts index ab17fc823d92..ab2933389c29 100644 --- a/clients/client-shield/commands/DisassociateDRTRoleCommand.ts +++ b/clients/client-shield/commands/DisassociateDRTRoleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateDRTRoleCommandInput = DisassociateDRTRoleRequest; @@ -70,14 +70,14 @@ export class DisassociateDRTRoleCommand extends $Command< private serialize( input: DisassociateDRTRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateDRTRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateDRTRoleCommand(output, context); } diff --git a/clients/client-shield/commands/GetSubscriptionStateCommand.ts b/clients/client-shield/commands/GetSubscriptionStateCommand.ts index f584f0a780ce..d954885486e7 100644 --- a/clients/client-shield/commands/GetSubscriptionStateCommand.ts +++ b/clients/client-shield/commands/GetSubscriptionStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSubscriptionStateCommandInput = GetSubscriptionStateRequest; @@ -70,14 +70,14 @@ export class GetSubscriptionStateCommand extends $Command< private serialize( input: GetSubscriptionStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSubscriptionStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSubscriptionStateCommand(output, context); } diff --git a/clients/client-shield/commands/ListAttacksCommand.ts b/clients/client-shield/commands/ListAttacksCommand.ts index 97ec0acd58c7..e7f88c6b03e9 100644 --- a/clients/client-shield/commands/ListAttacksCommand.ts +++ b/clients/client-shield/commands/ListAttacksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAttacksCommandInput = ListAttacksRequest; @@ -64,14 +64,14 @@ export class ListAttacksCommand extends $Command< private serialize( input: ListAttacksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAttacksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAttacksCommand(output, context); } diff --git a/clients/client-shield/commands/ListProtectionsCommand.ts b/clients/client-shield/commands/ListProtectionsCommand.ts index 84ece17f0808..5c76a6a8f3e3 100644 --- a/clients/client-shield/commands/ListProtectionsCommand.ts +++ b/clients/client-shield/commands/ListProtectionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListProtectionsCommandInput = ListProtectionsRequest; @@ -67,14 +67,14 @@ export class ListProtectionsCommand extends $Command< private serialize( input: ListProtectionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListProtectionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListProtectionsCommand(output, context); } diff --git a/clients/client-shield/commands/UpdateEmergencyContactSettingsCommand.ts b/clients/client-shield/commands/UpdateEmergencyContactSettingsCommand.ts index 40c5b6d4c0db..8061893f4a54 100644 --- a/clients/client-shield/commands/UpdateEmergencyContactSettingsCommand.ts +++ b/clients/client-shield/commands/UpdateEmergencyContactSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateEmergencyContactSettingsCommandInput = UpdateEmergencyContactSettingsRequest; @@ -70,7 +70,7 @@ export class UpdateEmergencyContactSettingsCommand extends $Command< private serialize( input: UpdateEmergencyContactSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateEmergencyContactSettingsCommand( input, @@ -80,7 +80,7 @@ export class UpdateEmergencyContactSettingsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateEmergencyContactSettingsCommand( output, diff --git a/clients/client-shield/commands/UpdateSubscriptionCommand.ts b/clients/client-shield/commands/UpdateSubscriptionCommand.ts index 1416c9f014c9..5003bc32a145 100644 --- a/clients/client-shield/commands/UpdateSubscriptionCommand.ts +++ b/clients/client-shield/commands/UpdateSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSubscriptionCommandInput = UpdateSubscriptionRequest; @@ -67,14 +67,14 @@ export class UpdateSubscriptionCommand extends $Command< private serialize( input: UpdateSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSubscriptionCommand(output, context); } diff --git a/clients/client-shield/protocols/Aws_json1_1.ts b/clients/client-shield/protocols/Aws_json1_1.ts index a61789e6d764..cd1db697df5d 100644 --- a/clients/client-shield/protocols/Aws_json1_1.ts +++ b/clients/client-shield/protocols/Aws_json1_1.ts @@ -3182,6 +3182,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-signer/commands/CancelSigningProfileCommand.ts b/clients/client-signer/commands/CancelSigningProfileCommand.ts index 49ef501eeaf5..039f8b46d947 100644 --- a/clients/client-signer/commands/CancelSigningProfileCommand.ts +++ b/clients/client-signer/commands/CancelSigningProfileCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelSigningProfileCommandInput = CancelSigningProfileRequest; @@ -68,14 +68,14 @@ export class CancelSigningProfileCommand extends $Command< private serialize( input: CancelSigningProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CancelSigningProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CancelSigningProfileCommand( output, diff --git a/clients/client-signer/commands/DescribeSigningJobCommand.ts b/clients/client-signer/commands/DescribeSigningJobCommand.ts index 57e31b223fc4..c2ba31b0ef7e 100644 --- a/clients/client-signer/commands/DescribeSigningJobCommand.ts +++ b/clients/client-signer/commands/DescribeSigningJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSigningJobCommandInput = DescribeSigningJobRequest; @@ -67,14 +67,14 @@ export class DescribeSigningJobCommand extends $Command< private serialize( input: DescribeSigningJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeSigningJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeSigningJobCommand(output, context); } diff --git a/clients/client-signer/commands/GetSigningPlatformCommand.ts b/clients/client-signer/commands/GetSigningPlatformCommand.ts index 67698a692768..ef90e1c8db02 100644 --- a/clients/client-signer/commands/GetSigningPlatformCommand.ts +++ b/clients/client-signer/commands/GetSigningPlatformCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSigningPlatformCommandInput = GetSigningPlatformRequest; @@ -67,14 +67,14 @@ export class GetSigningPlatformCommand extends $Command< private serialize( input: GetSigningPlatformCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSigningPlatformCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSigningPlatformCommand(output, context); } diff --git a/clients/client-signer/commands/GetSigningProfileCommand.ts b/clients/client-signer/commands/GetSigningProfileCommand.ts index 90c7228b26f2..2c69ad5c5853 100644 --- a/clients/client-signer/commands/GetSigningProfileCommand.ts +++ b/clients/client-signer/commands/GetSigningProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSigningProfileCommandInput = GetSigningProfileRequest; @@ -67,14 +67,14 @@ export class GetSigningProfileCommand extends $Command< private serialize( input: GetSigningProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSigningProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSigningProfileCommand(output, context); } diff --git a/clients/client-signer/commands/ListSigningJobsCommand.ts b/clients/client-signer/commands/ListSigningJobsCommand.ts index 292681082ac6..0cf6cebf6ef9 100644 --- a/clients/client-signer/commands/ListSigningJobsCommand.ts +++ b/clients/client-signer/commands/ListSigningJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSigningJobsCommandInput = ListSigningJobsRequest; @@ -67,14 +67,14 @@ export class ListSigningJobsCommand extends $Command< private serialize( input: ListSigningJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSigningJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSigningJobsCommand(output, context); } diff --git a/clients/client-signer/commands/ListSigningPlatformsCommand.ts b/clients/client-signer/commands/ListSigningPlatformsCommand.ts index 56bf579206a3..b51468b43073 100644 --- a/clients/client-signer/commands/ListSigningPlatformsCommand.ts +++ b/clients/client-signer/commands/ListSigningPlatformsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSigningPlatformsCommandInput = ListSigningPlatformsRequest; @@ -70,14 +70,14 @@ export class ListSigningPlatformsCommand extends $Command< private serialize( input: ListSigningPlatformsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSigningPlatformsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSigningPlatformsCommand( output, diff --git a/clients/client-signer/commands/ListSigningProfilesCommand.ts b/clients/client-signer/commands/ListSigningProfilesCommand.ts index cbffe5601594..4debb7a9eb90 100644 --- a/clients/client-signer/commands/ListSigningProfilesCommand.ts +++ b/clients/client-signer/commands/ListSigningProfilesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSigningProfilesCommandInput = ListSigningProfilesRequest; @@ -70,14 +70,14 @@ export class ListSigningProfilesCommand extends $Command< private serialize( input: ListSigningProfilesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListSigningProfilesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListSigningProfilesCommand( output, diff --git a/clients/client-signer/commands/ListTagsForResourceCommand.ts b/clients/client-signer/commands/ListTagsForResourceCommand.ts index 3608601b4f76..39a0532e961a 100644 --- a/clients/client-signer/commands/ListTagsForResourceCommand.ts +++ b/clients/client-signer/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListTagsForResourceCommand( output, diff --git a/clients/client-signer/commands/PutSigningProfileCommand.ts b/clients/client-signer/commands/PutSigningProfileCommand.ts index 4e823bcf672d..9bf05c39d1b5 100644 --- a/clients/client-signer/commands/PutSigningProfileCommand.ts +++ b/clients/client-signer/commands/PutSigningProfileCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutSigningProfileCommandInput = PutSigningProfileRequest; @@ -67,14 +67,14 @@ export class PutSigningProfileCommand extends $Command< private serialize( input: PutSigningProfileCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutSigningProfileCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutSigningProfileCommand(output, context); } diff --git a/clients/client-signer/commands/StartSigningJobCommand.ts b/clients/client-signer/commands/StartSigningJobCommand.ts index 52fee11dd085..c126036a3b72 100644 --- a/clients/client-signer/commands/StartSigningJobCommand.ts +++ b/clients/client-signer/commands/StartSigningJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartSigningJobCommandInput = StartSigningJobRequest; @@ -67,14 +67,14 @@ export class StartSigningJobCommand extends $Command< private serialize( input: StartSigningJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartSigningJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartSigningJobCommand(output, context); } diff --git a/clients/client-signer/commands/TagResourceCommand.ts b/clients/client-signer/commands/TagResourceCommand.ts index e42a0120f95a..600a208aaaaf 100644 --- a/clients/client-signer/commands/TagResourceCommand.ts +++ b/clients/client-signer/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1TagResourceCommand(output, context); } diff --git a/clients/client-signer/commands/UntagResourceCommand.ts b/clients/client-signer/commands/UntagResourceCommand.ts index 57284f2bab05..e87a1a957d25 100644 --- a/clients/client-signer/commands/UntagResourceCommand.ts +++ b/clients/client-signer/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UntagResourceCommand(output, context); } diff --git a/clients/client-signer/protocols/Aws_restJson1_1.ts b/clients/client-signer/protocols/Aws_restJson1_1.ts index e3ae3dde0f73..d6a8264e7349 100644 --- a/clients/client-signer/protocols/Aws_restJson1_1.ts +++ b/clients/client-signer/protocols/Aws_restJson1_1.ts @@ -2236,6 +2236,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-sms/commands/CreateAppCommand.ts b/clients/client-sms/commands/CreateAppCommand.ts index 4a8b300400ec..864eab207508 100644 --- a/clients/client-sms/commands/CreateAppCommand.ts +++ b/clients/client-sms/commands/CreateAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAppCommandInput = CreateAppRequest; @@ -64,14 +64,14 @@ export class CreateAppCommand extends $Command< private serialize( input: CreateAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAppCommand(output, context); } diff --git a/clients/client-sms/commands/CreateReplicationJobCommand.ts b/clients/client-sms/commands/CreateReplicationJobCommand.ts index d60583739c34..9b2afb9a8a66 100644 --- a/clients/client-sms/commands/CreateReplicationJobCommand.ts +++ b/clients/client-sms/commands/CreateReplicationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateReplicationJobCommandInput = CreateReplicationJobRequest; @@ -70,14 +70,14 @@ export class CreateReplicationJobCommand extends $Command< private serialize( input: CreateReplicationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateReplicationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateReplicationJobCommand(output, context); } diff --git a/clients/client-sms/commands/DeleteAppCommand.ts b/clients/client-sms/commands/DeleteAppCommand.ts index 1cc3c57406d3..963dcafa7eda 100644 --- a/clients/client-sms/commands/DeleteAppCommand.ts +++ b/clients/client-sms/commands/DeleteAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAppCommandInput = DeleteAppRequest; @@ -64,14 +64,14 @@ export class DeleteAppCommand extends $Command< private serialize( input: DeleteAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAppCommand(output, context); } diff --git a/clients/client-sms/commands/DeleteAppLaunchConfigurationCommand.ts b/clients/client-sms/commands/DeleteAppLaunchConfigurationCommand.ts index 4a8233053b7f..2ae0c0450937 100644 --- a/clients/client-sms/commands/DeleteAppLaunchConfigurationCommand.ts +++ b/clients/client-sms/commands/DeleteAppLaunchConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAppLaunchConfigurationCommandInput = DeleteAppLaunchConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteAppLaunchConfigurationCommand extends $Command< private serialize( input: DeleteAppLaunchConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAppLaunchConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteAppLaunchConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAppLaunchConfigurationCommand( output, diff --git a/clients/client-sms/commands/DeleteAppReplicationConfigurationCommand.ts b/clients/client-sms/commands/DeleteAppReplicationConfigurationCommand.ts index fe7f09e8901e..e57376ebe46b 100644 --- a/clients/client-sms/commands/DeleteAppReplicationConfigurationCommand.ts +++ b/clients/client-sms/commands/DeleteAppReplicationConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAppReplicationConfigurationCommandInput = DeleteAppReplicationConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteAppReplicationConfigurationCommand extends $Command< private serialize( input: DeleteAppReplicationConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAppReplicationConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteAppReplicationConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAppReplicationConfigurationCommand( output, diff --git a/clients/client-sms/commands/DeleteReplicationJobCommand.ts b/clients/client-sms/commands/DeleteReplicationJobCommand.ts index 019449a01fd5..461d1901e3d8 100644 --- a/clients/client-sms/commands/DeleteReplicationJobCommand.ts +++ b/clients/client-sms/commands/DeleteReplicationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteReplicationJobCommandInput = DeleteReplicationJobRequest; @@ -70,14 +70,14 @@ export class DeleteReplicationJobCommand extends $Command< private serialize( input: DeleteReplicationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteReplicationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteReplicationJobCommand(output, context); } diff --git a/clients/client-sms/commands/DeleteServerCatalogCommand.ts b/clients/client-sms/commands/DeleteServerCatalogCommand.ts index 8d838b20eb49..5f99f3a88770 100644 --- a/clients/client-sms/commands/DeleteServerCatalogCommand.ts +++ b/clients/client-sms/commands/DeleteServerCatalogCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteServerCatalogCommandInput = DeleteServerCatalogRequest; @@ -70,14 +70,14 @@ export class DeleteServerCatalogCommand extends $Command< private serialize( input: DeleteServerCatalogCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteServerCatalogCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteServerCatalogCommand(output, context); } diff --git a/clients/client-sms/commands/DisassociateConnectorCommand.ts b/clients/client-sms/commands/DisassociateConnectorCommand.ts index b6ecc93325dc..24e009caa5a6 100644 --- a/clients/client-sms/commands/DisassociateConnectorCommand.ts +++ b/clients/client-sms/commands/DisassociateConnectorCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateConnectorCommandInput = DisassociateConnectorRequest; @@ -70,14 +70,14 @@ export class DisassociateConnectorCommand extends $Command< private serialize( input: DisassociateConnectorCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateConnectorCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateConnectorCommand(output, context); } diff --git a/clients/client-sms/commands/GenerateChangeSetCommand.ts b/clients/client-sms/commands/GenerateChangeSetCommand.ts index c8bc478feee5..5b407e54ca00 100644 --- a/clients/client-sms/commands/GenerateChangeSetCommand.ts +++ b/clients/client-sms/commands/GenerateChangeSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateChangeSetCommandInput = GenerateChangeSetRequest; @@ -67,14 +67,14 @@ export class GenerateChangeSetCommand extends $Command< private serialize( input: GenerateChangeSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GenerateChangeSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GenerateChangeSetCommand(output, context); } diff --git a/clients/client-sms/commands/GenerateTemplateCommand.ts b/clients/client-sms/commands/GenerateTemplateCommand.ts index c7df35378428..35d407c12d1e 100644 --- a/clients/client-sms/commands/GenerateTemplateCommand.ts +++ b/clients/client-sms/commands/GenerateTemplateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GenerateTemplateCommandInput = GenerateTemplateRequest; @@ -67,14 +67,14 @@ export class GenerateTemplateCommand extends $Command< private serialize( input: GenerateTemplateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GenerateTemplateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GenerateTemplateCommand(output, context); } diff --git a/clients/client-sms/commands/GetAppCommand.ts b/clients/client-sms/commands/GetAppCommand.ts index 79fcad8f4266..f67b52c91c0f 100644 --- a/clients/client-sms/commands/GetAppCommand.ts +++ b/clients/client-sms/commands/GetAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAppCommandInput = GetAppRequest; @@ -64,14 +64,14 @@ export class GetAppCommand extends $Command< private serialize( input: GetAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAppCommand(output, context); } diff --git a/clients/client-sms/commands/GetAppLaunchConfigurationCommand.ts b/clients/client-sms/commands/GetAppLaunchConfigurationCommand.ts index 5b4cd96a52c0..927b8adbc439 100644 --- a/clients/client-sms/commands/GetAppLaunchConfigurationCommand.ts +++ b/clients/client-sms/commands/GetAppLaunchConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAppLaunchConfigurationCommandInput = GetAppLaunchConfigurationRequest; @@ -70,14 +70,14 @@ export class GetAppLaunchConfigurationCommand extends $Command< private serialize( input: GetAppLaunchConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAppLaunchConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAppLaunchConfigurationCommand( output, diff --git a/clients/client-sms/commands/GetAppReplicationConfigurationCommand.ts b/clients/client-sms/commands/GetAppReplicationConfigurationCommand.ts index 8883cc827c10..097db08a1b1c 100644 --- a/clients/client-sms/commands/GetAppReplicationConfigurationCommand.ts +++ b/clients/client-sms/commands/GetAppReplicationConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAppReplicationConfigurationCommandInput = GetAppReplicationConfigurationRequest; @@ -70,7 +70,7 @@ export class GetAppReplicationConfigurationCommand extends $Command< private serialize( input: GetAppReplicationConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAppReplicationConfigurationCommand( input, @@ -80,7 +80,7 @@ export class GetAppReplicationConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAppReplicationConfigurationCommand( output, diff --git a/clients/client-sms/commands/GetConnectorsCommand.ts b/clients/client-sms/commands/GetConnectorsCommand.ts index c0d3e4d04aec..b6a2a9860c19 100644 --- a/clients/client-sms/commands/GetConnectorsCommand.ts +++ b/clients/client-sms/commands/GetConnectorsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConnectorsCommandInput = GetConnectorsRequest; @@ -64,14 +64,14 @@ export class GetConnectorsCommand extends $Command< private serialize( input: GetConnectorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetConnectorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetConnectorsCommand(output, context); } diff --git a/clients/client-sms/commands/GetReplicationJobsCommand.ts b/clients/client-sms/commands/GetReplicationJobsCommand.ts index 2b7cc0b6f7c0..ab7c41a49250 100644 --- a/clients/client-sms/commands/GetReplicationJobsCommand.ts +++ b/clients/client-sms/commands/GetReplicationJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetReplicationJobsCommandInput = GetReplicationJobsRequest; @@ -67,14 +67,14 @@ export class GetReplicationJobsCommand extends $Command< private serialize( input: GetReplicationJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetReplicationJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetReplicationJobsCommand(output, context); } diff --git a/clients/client-sms/commands/GetReplicationRunsCommand.ts b/clients/client-sms/commands/GetReplicationRunsCommand.ts index 8de5b7306583..55c4f294d1f9 100644 --- a/clients/client-sms/commands/GetReplicationRunsCommand.ts +++ b/clients/client-sms/commands/GetReplicationRunsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetReplicationRunsCommandInput = GetReplicationRunsRequest; @@ -67,14 +67,14 @@ export class GetReplicationRunsCommand extends $Command< private serialize( input: GetReplicationRunsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetReplicationRunsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetReplicationRunsCommand(output, context); } diff --git a/clients/client-sms/commands/GetServersCommand.ts b/clients/client-sms/commands/GetServersCommand.ts index 02708420b0f7..e83594508b42 100644 --- a/clients/client-sms/commands/GetServersCommand.ts +++ b/clients/client-sms/commands/GetServersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServersCommandInput = GetServersRequest; @@ -64,14 +64,14 @@ export class GetServersCommand extends $Command< private serialize( input: GetServersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetServersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetServersCommand(output, context); } diff --git a/clients/client-sms/commands/ImportServerCatalogCommand.ts b/clients/client-sms/commands/ImportServerCatalogCommand.ts index 16e88503e9a5..f40e57252a8f 100644 --- a/clients/client-sms/commands/ImportServerCatalogCommand.ts +++ b/clients/client-sms/commands/ImportServerCatalogCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportServerCatalogCommandInput = ImportServerCatalogRequest; @@ -70,14 +70,14 @@ export class ImportServerCatalogCommand extends $Command< private serialize( input: ImportServerCatalogCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportServerCatalogCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportServerCatalogCommand(output, context); } diff --git a/clients/client-sms/commands/LaunchAppCommand.ts b/clients/client-sms/commands/LaunchAppCommand.ts index 420a6358c2c4..e72d3c32d973 100644 --- a/clients/client-sms/commands/LaunchAppCommand.ts +++ b/clients/client-sms/commands/LaunchAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type LaunchAppCommandInput = LaunchAppRequest; @@ -64,14 +64,14 @@ export class LaunchAppCommand extends $Command< private serialize( input: LaunchAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1LaunchAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1LaunchAppCommand(output, context); } diff --git a/clients/client-sms/commands/ListAppsCommand.ts b/clients/client-sms/commands/ListAppsCommand.ts index d84dd7f8ed84..76e4fcc6cac4 100644 --- a/clients/client-sms/commands/ListAppsCommand.ts +++ b/clients/client-sms/commands/ListAppsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAppsCommandInput = ListAppsRequest; @@ -64,14 +64,14 @@ export class ListAppsCommand extends $Command< private serialize( input: ListAppsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAppsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAppsCommand(output, context); } diff --git a/clients/client-sms/commands/PutAppLaunchConfigurationCommand.ts b/clients/client-sms/commands/PutAppLaunchConfigurationCommand.ts index 018c97cf5d1d..1b6796d5c23b 100644 --- a/clients/client-sms/commands/PutAppLaunchConfigurationCommand.ts +++ b/clients/client-sms/commands/PutAppLaunchConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAppLaunchConfigurationCommandInput = PutAppLaunchConfigurationRequest; @@ -70,14 +70,14 @@ export class PutAppLaunchConfigurationCommand extends $Command< private serialize( input: PutAppLaunchConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutAppLaunchConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutAppLaunchConfigurationCommand( output, diff --git a/clients/client-sms/commands/PutAppReplicationConfigurationCommand.ts b/clients/client-sms/commands/PutAppReplicationConfigurationCommand.ts index d93624956605..b2dc09c63335 100644 --- a/clients/client-sms/commands/PutAppReplicationConfigurationCommand.ts +++ b/clients/client-sms/commands/PutAppReplicationConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutAppReplicationConfigurationCommandInput = PutAppReplicationConfigurationRequest; @@ -70,7 +70,7 @@ export class PutAppReplicationConfigurationCommand extends $Command< private serialize( input: PutAppReplicationConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutAppReplicationConfigurationCommand( input, @@ -80,7 +80,7 @@ export class PutAppReplicationConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutAppReplicationConfigurationCommand( output, diff --git a/clients/client-sms/commands/StartAppReplicationCommand.ts b/clients/client-sms/commands/StartAppReplicationCommand.ts index 5e5a2528601b..15d88381ef55 100644 --- a/clients/client-sms/commands/StartAppReplicationCommand.ts +++ b/clients/client-sms/commands/StartAppReplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartAppReplicationCommandInput = StartAppReplicationRequest; @@ -70,14 +70,14 @@ export class StartAppReplicationCommand extends $Command< private serialize( input: StartAppReplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartAppReplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartAppReplicationCommand(output, context); } diff --git a/clients/client-sms/commands/StartOnDemandReplicationRunCommand.ts b/clients/client-sms/commands/StartOnDemandReplicationRunCommand.ts index dd9feb31ce41..39ccc8996970 100644 --- a/clients/client-sms/commands/StartOnDemandReplicationRunCommand.ts +++ b/clients/client-sms/commands/StartOnDemandReplicationRunCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartOnDemandReplicationRunCommandInput = StartOnDemandReplicationRunRequest; @@ -70,7 +70,7 @@ export class StartOnDemandReplicationRunCommand extends $Command< private serialize( input: StartOnDemandReplicationRunCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartOnDemandReplicationRunCommand( input, @@ -80,7 +80,7 @@ export class StartOnDemandReplicationRunCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartOnDemandReplicationRunCommand( output, diff --git a/clients/client-sms/commands/StopAppReplicationCommand.ts b/clients/client-sms/commands/StopAppReplicationCommand.ts index 01661bb875dd..29849e1a8957 100644 --- a/clients/client-sms/commands/StopAppReplicationCommand.ts +++ b/clients/client-sms/commands/StopAppReplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopAppReplicationCommandInput = StopAppReplicationRequest; @@ -67,14 +67,14 @@ export class StopAppReplicationCommand extends $Command< private serialize( input: StopAppReplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopAppReplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopAppReplicationCommand(output, context); } diff --git a/clients/client-sms/commands/TerminateAppCommand.ts b/clients/client-sms/commands/TerminateAppCommand.ts index 40eadaf31054..27b4b0eab79a 100644 --- a/clients/client-sms/commands/TerminateAppCommand.ts +++ b/clients/client-sms/commands/TerminateAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TerminateAppCommandInput = TerminateAppRequest; @@ -64,14 +64,14 @@ export class TerminateAppCommand extends $Command< private serialize( input: TerminateAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TerminateAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TerminateAppCommand(output, context); } diff --git a/clients/client-sms/commands/UpdateAppCommand.ts b/clients/client-sms/commands/UpdateAppCommand.ts index 5ef36a8d40b1..1644cc557014 100644 --- a/clients/client-sms/commands/UpdateAppCommand.ts +++ b/clients/client-sms/commands/UpdateAppCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAppCommandInput = UpdateAppRequest; @@ -64,14 +64,14 @@ export class UpdateAppCommand extends $Command< private serialize( input: UpdateAppCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAppCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAppCommand(output, context); } diff --git a/clients/client-sms/commands/UpdateReplicationJobCommand.ts b/clients/client-sms/commands/UpdateReplicationJobCommand.ts index 57dc8c789616..10041d8cd34a 100644 --- a/clients/client-sms/commands/UpdateReplicationJobCommand.ts +++ b/clients/client-sms/commands/UpdateReplicationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateReplicationJobCommandInput = UpdateReplicationJobRequest; @@ -70,14 +70,14 @@ export class UpdateReplicationJobCommand extends $Command< private serialize( input: UpdateReplicationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateReplicationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateReplicationJobCommand(output, context); } diff --git a/clients/client-sms/protocols/Aws_json1_1.ts b/clients/client-sms/protocols/Aws_json1_1.ts index 96a6f4665823..f40185f02204 100644 --- a/clients/client-sms/protocols/Aws_json1_1.ts +++ b/clients/client-sms/protocols/Aws_json1_1.ts @@ -5400,6 +5400,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-snowball/commands/CancelClusterCommand.ts b/clients/client-snowball/commands/CancelClusterCommand.ts index 029332e129a1..e7097f24a221 100644 --- a/clients/client-snowball/commands/CancelClusterCommand.ts +++ b/clients/client-snowball/commands/CancelClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelClusterCommandInput = CancelClusterRequest; @@ -64,14 +64,14 @@ export class CancelClusterCommand extends $Command< private serialize( input: CancelClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelClusterCommand(output, context); } diff --git a/clients/client-snowball/commands/CancelJobCommand.ts b/clients/client-snowball/commands/CancelJobCommand.ts index b7120174059d..9a0b98e2f386 100644 --- a/clients/client-snowball/commands/CancelJobCommand.ts +++ b/clients/client-snowball/commands/CancelJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelJobCommandInput = CancelJobRequest; @@ -64,14 +64,14 @@ export class CancelJobCommand extends $Command< private serialize( input: CancelJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelJobCommand(output, context); } diff --git a/clients/client-snowball/commands/CreateAddressCommand.ts b/clients/client-snowball/commands/CreateAddressCommand.ts index 905f19664ac0..62926e1fa064 100644 --- a/clients/client-snowball/commands/CreateAddressCommand.ts +++ b/clients/client-snowball/commands/CreateAddressCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAddressCommandInput = CreateAddressRequest; @@ -64,14 +64,14 @@ export class CreateAddressCommand extends $Command< private serialize( input: CreateAddressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAddressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAddressCommand(output, context); } diff --git a/clients/client-snowball/commands/CreateClusterCommand.ts b/clients/client-snowball/commands/CreateClusterCommand.ts index 9335ddf11691..29d2002480c8 100644 --- a/clients/client-snowball/commands/CreateClusterCommand.ts +++ b/clients/client-snowball/commands/CreateClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateClusterCommandInput = CreateClusterRequest; @@ -64,14 +64,14 @@ export class CreateClusterCommand extends $Command< private serialize( input: CreateClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateClusterCommand(output, context); } diff --git a/clients/client-snowball/commands/CreateJobCommand.ts b/clients/client-snowball/commands/CreateJobCommand.ts index 74857967cf08..19cf77f75154 100644 --- a/clients/client-snowball/commands/CreateJobCommand.ts +++ b/clients/client-snowball/commands/CreateJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateJobCommandInput = CreateJobRequest; @@ -64,14 +64,14 @@ export class CreateJobCommand extends $Command< private serialize( input: CreateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateJobCommand(output, context); } diff --git a/clients/client-snowball/commands/DescribeAddressCommand.ts b/clients/client-snowball/commands/DescribeAddressCommand.ts index 3807237a4ede..4167c958d49f 100644 --- a/clients/client-snowball/commands/DescribeAddressCommand.ts +++ b/clients/client-snowball/commands/DescribeAddressCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAddressCommandInput = DescribeAddressRequest; @@ -64,14 +64,14 @@ export class DescribeAddressCommand extends $Command< private serialize( input: DescribeAddressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAddressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAddressCommand(output, context); } diff --git a/clients/client-snowball/commands/DescribeAddressesCommand.ts b/clients/client-snowball/commands/DescribeAddressesCommand.ts index 3c2b363f6a07..44a307442a64 100644 --- a/clients/client-snowball/commands/DescribeAddressesCommand.ts +++ b/clients/client-snowball/commands/DescribeAddressesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAddressesCommandInput = DescribeAddressesRequest; @@ -67,14 +67,14 @@ export class DescribeAddressesCommand extends $Command< private serialize( input: DescribeAddressesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAddressesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAddressesCommand(output, context); } diff --git a/clients/client-snowball/commands/DescribeClusterCommand.ts b/clients/client-snowball/commands/DescribeClusterCommand.ts index a9398cb96161..965af5781ade 100644 --- a/clients/client-snowball/commands/DescribeClusterCommand.ts +++ b/clients/client-snowball/commands/DescribeClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClusterCommandInput = DescribeClusterRequest; @@ -64,14 +64,14 @@ export class DescribeClusterCommand extends $Command< private serialize( input: DescribeClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeClusterCommand(output, context); } diff --git a/clients/client-snowball/commands/DescribeJobCommand.ts b/clients/client-snowball/commands/DescribeJobCommand.ts index 92eaba802366..1fcd01518845 100644 --- a/clients/client-snowball/commands/DescribeJobCommand.ts +++ b/clients/client-snowball/commands/DescribeJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeJobCommandInput = DescribeJobRequest; @@ -64,14 +64,14 @@ export class DescribeJobCommand extends $Command< private serialize( input: DescribeJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeJobCommand(output, context); } diff --git a/clients/client-snowball/commands/GetJobManifestCommand.ts b/clients/client-snowball/commands/GetJobManifestCommand.ts index 4a77dd25ffe4..e129c405eb4e 100644 --- a/clients/client-snowball/commands/GetJobManifestCommand.ts +++ b/clients/client-snowball/commands/GetJobManifestCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobManifestCommandInput = GetJobManifestRequest; @@ -64,14 +64,14 @@ export class GetJobManifestCommand extends $Command< private serialize( input: GetJobManifestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetJobManifestCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetJobManifestCommand(output, context); } diff --git a/clients/client-snowball/commands/GetJobUnlockCodeCommand.ts b/clients/client-snowball/commands/GetJobUnlockCodeCommand.ts index 438e6a170cc0..dda1350e7a7a 100644 --- a/clients/client-snowball/commands/GetJobUnlockCodeCommand.ts +++ b/clients/client-snowball/commands/GetJobUnlockCodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetJobUnlockCodeCommandInput = GetJobUnlockCodeRequest; @@ -67,14 +67,14 @@ export class GetJobUnlockCodeCommand extends $Command< private serialize( input: GetJobUnlockCodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetJobUnlockCodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetJobUnlockCodeCommand(output, context); } diff --git a/clients/client-snowball/commands/GetSnowballUsageCommand.ts b/clients/client-snowball/commands/GetSnowballUsageCommand.ts index 29df26533aff..5fe69cee8840 100644 --- a/clients/client-snowball/commands/GetSnowballUsageCommand.ts +++ b/clients/client-snowball/commands/GetSnowballUsageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSnowballUsageCommandInput = GetSnowballUsageRequest; @@ -67,14 +67,14 @@ export class GetSnowballUsageCommand extends $Command< private serialize( input: GetSnowballUsageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSnowballUsageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSnowballUsageCommand(output, context); } diff --git a/clients/client-snowball/commands/GetSoftwareUpdatesCommand.ts b/clients/client-snowball/commands/GetSoftwareUpdatesCommand.ts index 3cb6656b6dfd..5cd651a90200 100644 --- a/clients/client-snowball/commands/GetSoftwareUpdatesCommand.ts +++ b/clients/client-snowball/commands/GetSoftwareUpdatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSoftwareUpdatesCommandInput = GetSoftwareUpdatesRequest; @@ -67,14 +67,14 @@ export class GetSoftwareUpdatesCommand extends $Command< private serialize( input: GetSoftwareUpdatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSoftwareUpdatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSoftwareUpdatesCommand(output, context); } diff --git a/clients/client-snowball/commands/ListClusterJobsCommand.ts b/clients/client-snowball/commands/ListClusterJobsCommand.ts index 7746742de50b..8c47c13b150d 100644 --- a/clients/client-snowball/commands/ListClusterJobsCommand.ts +++ b/clients/client-snowball/commands/ListClusterJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListClusterJobsCommandInput = ListClusterJobsRequest; @@ -64,14 +64,14 @@ export class ListClusterJobsCommand extends $Command< private serialize( input: ListClusterJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListClusterJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListClusterJobsCommand(output, context); } diff --git a/clients/client-snowball/commands/ListClustersCommand.ts b/clients/client-snowball/commands/ListClustersCommand.ts index c9a2ebe9d5af..cd0e7d99f53e 100644 --- a/clients/client-snowball/commands/ListClustersCommand.ts +++ b/clients/client-snowball/commands/ListClustersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListClustersCommandInput = ListClustersRequest; @@ -64,14 +64,14 @@ export class ListClustersCommand extends $Command< private serialize( input: ListClustersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListClustersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListClustersCommand(output, context); } diff --git a/clients/client-snowball/commands/ListCompatibleImagesCommand.ts b/clients/client-snowball/commands/ListCompatibleImagesCommand.ts index 9f7559be3ed8..6d1b6a20080c 100644 --- a/clients/client-snowball/commands/ListCompatibleImagesCommand.ts +++ b/clients/client-snowball/commands/ListCompatibleImagesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCompatibleImagesCommandInput = ListCompatibleImagesRequest; @@ -70,14 +70,14 @@ export class ListCompatibleImagesCommand extends $Command< private serialize( input: ListCompatibleImagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCompatibleImagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCompatibleImagesCommand(output, context); } diff --git a/clients/client-snowball/commands/ListJobsCommand.ts b/clients/client-snowball/commands/ListJobsCommand.ts index 19aa2672c85a..b11274cb28e8 100644 --- a/clients/client-snowball/commands/ListJobsCommand.ts +++ b/clients/client-snowball/commands/ListJobsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListJobsCommandInput = ListJobsRequest; @@ -64,14 +64,14 @@ export class ListJobsCommand extends $Command< private serialize( input: ListJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListJobsCommand(output, context); } diff --git a/clients/client-snowball/commands/UpdateClusterCommand.ts b/clients/client-snowball/commands/UpdateClusterCommand.ts index 930f0faac6b9..b66c3fa4688d 100644 --- a/clients/client-snowball/commands/UpdateClusterCommand.ts +++ b/clients/client-snowball/commands/UpdateClusterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateClusterCommandInput = UpdateClusterRequest; @@ -64,14 +64,14 @@ export class UpdateClusterCommand extends $Command< private serialize( input: UpdateClusterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateClusterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateClusterCommand(output, context); } diff --git a/clients/client-snowball/commands/UpdateJobCommand.ts b/clients/client-snowball/commands/UpdateJobCommand.ts index 5519ed057618..196583e7f5df 100644 --- a/clients/client-snowball/commands/UpdateJobCommand.ts +++ b/clients/client-snowball/commands/UpdateJobCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateJobCommandInput = UpdateJobRequest; @@ -64,14 +64,14 @@ export class UpdateJobCommand extends $Command< private serialize( input: UpdateJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateJobCommand(output, context); } diff --git a/clients/client-snowball/protocols/Aws_json1_1.ts b/clients/client-snowball/protocols/Aws_json1_1.ts index 4869357a40dd..4c8919fbff9e 100644 --- a/clients/client-snowball/protocols/Aws_json1_1.ts +++ b/clients/client-snowball/protocols/Aws_json1_1.ts @@ -3523,6 +3523,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-sns/commands/AddPermissionCommand.ts b/clients/client-sns/commands/AddPermissionCommand.ts index 42fca392eb71..bb61f6cbc716 100644 --- a/clients/client-sns/commands/AddPermissionCommand.ts +++ b/clients/client-sns/commands/AddPermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddPermissionCommandInput = AddPermissionInput; @@ -65,14 +65,14 @@ export class AddPermissionCommand extends $Command< private serialize( input: AddPermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddPermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddPermissionCommand(output, context); } diff --git a/clients/client-sns/commands/CheckIfPhoneNumberIsOptedOutCommand.ts b/clients/client-sns/commands/CheckIfPhoneNumberIsOptedOutCommand.ts index cdd499b26b48..35728412e1fc 100644 --- a/clients/client-sns/commands/CheckIfPhoneNumberIsOptedOutCommand.ts +++ b/clients/client-sns/commands/CheckIfPhoneNumberIsOptedOutCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CheckIfPhoneNumberIsOptedOutCommandInput = CheckIfPhoneNumberIsOptedOutInput; @@ -70,7 +70,7 @@ export class CheckIfPhoneNumberIsOptedOutCommand extends $Command< private serialize( input: CheckIfPhoneNumberIsOptedOutCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCheckIfPhoneNumberIsOptedOutCommand( input, @@ -80,7 +80,7 @@ export class CheckIfPhoneNumberIsOptedOutCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCheckIfPhoneNumberIsOptedOutCommand( output, diff --git a/clients/client-sns/commands/ConfirmSubscriptionCommand.ts b/clients/client-sns/commands/ConfirmSubscriptionCommand.ts index b82c1deb959e..42d13f02bec1 100644 --- a/clients/client-sns/commands/ConfirmSubscriptionCommand.ts +++ b/clients/client-sns/commands/ConfirmSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ConfirmSubscriptionCommandInput = ConfirmSubscriptionInput; @@ -70,14 +70,14 @@ export class ConfirmSubscriptionCommand extends $Command< private serialize( input: ConfirmSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryConfirmSubscriptionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryConfirmSubscriptionCommand(output, context); } diff --git a/clients/client-sns/commands/CreatePlatformApplicationCommand.ts b/clients/client-sns/commands/CreatePlatformApplicationCommand.ts index b22edc1c1943..223a0982fdde 100644 --- a/clients/client-sns/commands/CreatePlatformApplicationCommand.ts +++ b/clients/client-sns/commands/CreatePlatformApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePlatformApplicationCommandInput = CreatePlatformApplicationInput; @@ -70,14 +70,14 @@ export class CreatePlatformApplicationCommand extends $Command< private serialize( input: CreatePlatformApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreatePlatformApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreatePlatformApplicationCommand( output, diff --git a/clients/client-sns/commands/CreatePlatformEndpointCommand.ts b/clients/client-sns/commands/CreatePlatformEndpointCommand.ts index 6114a247ddd5..dd90e376fabc 100644 --- a/clients/client-sns/commands/CreatePlatformEndpointCommand.ts +++ b/clients/client-sns/commands/CreatePlatformEndpointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePlatformEndpointCommandInput = CreatePlatformEndpointInput; @@ -70,14 +70,14 @@ export class CreatePlatformEndpointCommand extends $Command< private serialize( input: CreatePlatformEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreatePlatformEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreatePlatformEndpointCommand(output, context); } diff --git a/clients/client-sns/commands/CreateTopicCommand.ts b/clients/client-sns/commands/CreateTopicCommand.ts index 297ff4ef3ce5..60f1aacc64dd 100644 --- a/clients/client-sns/commands/CreateTopicCommand.ts +++ b/clients/client-sns/commands/CreateTopicCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTopicCommandInput = CreateTopicInput; @@ -64,14 +64,14 @@ export class CreateTopicCommand extends $Command< private serialize( input: CreateTopicCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateTopicCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateTopicCommand(output, context); } diff --git a/clients/client-sns/commands/DeleteEndpointCommand.ts b/clients/client-sns/commands/DeleteEndpointCommand.ts index cde1ca5e99c3..1ce82f3a6f0f 100644 --- a/clients/client-sns/commands/DeleteEndpointCommand.ts +++ b/clients/client-sns/commands/DeleteEndpointCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteEndpointCommandInput = DeleteEndpointInput; @@ -65,14 +65,14 @@ export class DeleteEndpointCommand extends $Command< private serialize( input: DeleteEndpointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteEndpointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteEndpointCommand(output, context); } diff --git a/clients/client-sns/commands/DeletePlatformApplicationCommand.ts b/clients/client-sns/commands/DeletePlatformApplicationCommand.ts index 91347b690b3d..72d7f54e6034 100644 --- a/clients/client-sns/commands/DeletePlatformApplicationCommand.ts +++ b/clients/client-sns/commands/DeletePlatformApplicationCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePlatformApplicationCommandInput = DeletePlatformApplicationInput; @@ -68,14 +68,14 @@ export class DeletePlatformApplicationCommand extends $Command< private serialize( input: DeletePlatformApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeletePlatformApplicationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeletePlatformApplicationCommand( output, diff --git a/clients/client-sns/commands/DeleteTopicCommand.ts b/clients/client-sns/commands/DeleteTopicCommand.ts index 551f6a5e9325..b64094a2d7da 100644 --- a/clients/client-sns/commands/DeleteTopicCommand.ts +++ b/clients/client-sns/commands/DeleteTopicCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTopicCommandInput = DeleteTopicInput; @@ -65,14 +65,14 @@ export class DeleteTopicCommand extends $Command< private serialize( input: DeleteTopicCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteTopicCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteTopicCommand(output, context); } diff --git a/clients/client-sns/commands/GetEndpointAttributesCommand.ts b/clients/client-sns/commands/GetEndpointAttributesCommand.ts index 903f678c644c..51461881498f 100644 --- a/clients/client-sns/commands/GetEndpointAttributesCommand.ts +++ b/clients/client-sns/commands/GetEndpointAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEndpointAttributesCommandInput = GetEndpointAttributesInput; @@ -70,14 +70,14 @@ export class GetEndpointAttributesCommand extends $Command< private serialize( input: GetEndpointAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetEndpointAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetEndpointAttributesCommand(output, context); } diff --git a/clients/client-sns/commands/GetPlatformApplicationAttributesCommand.ts b/clients/client-sns/commands/GetPlatformApplicationAttributesCommand.ts index eb36674e9314..15cc8ace91d5 100644 --- a/clients/client-sns/commands/GetPlatformApplicationAttributesCommand.ts +++ b/clients/client-sns/commands/GetPlatformApplicationAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPlatformApplicationAttributesCommandInput = GetPlatformApplicationAttributesInput; @@ -70,7 +70,7 @@ export class GetPlatformApplicationAttributesCommand extends $Command< private serialize( input: GetPlatformApplicationAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetPlatformApplicationAttributesCommand( input, @@ -80,7 +80,7 @@ export class GetPlatformApplicationAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetPlatformApplicationAttributesCommand( output, diff --git a/clients/client-sns/commands/GetSMSAttributesCommand.ts b/clients/client-sns/commands/GetSMSAttributesCommand.ts index bb06bb8118a3..fb1993b656c9 100644 --- a/clients/client-sns/commands/GetSMSAttributesCommand.ts +++ b/clients/client-sns/commands/GetSMSAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSMSAttributesCommandInput = GetSMSAttributesInput; @@ -67,14 +67,14 @@ export class GetSMSAttributesCommand extends $Command< private serialize( input: GetSMSAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetSMSAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetSMSAttributesCommand(output, context); } diff --git a/clients/client-sns/commands/GetSubscriptionAttributesCommand.ts b/clients/client-sns/commands/GetSubscriptionAttributesCommand.ts index f9916057799a..0e3b75ade125 100644 --- a/clients/client-sns/commands/GetSubscriptionAttributesCommand.ts +++ b/clients/client-sns/commands/GetSubscriptionAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSubscriptionAttributesCommandInput = GetSubscriptionAttributesInput; @@ -70,14 +70,14 @@ export class GetSubscriptionAttributesCommand extends $Command< private serialize( input: GetSubscriptionAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetSubscriptionAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetSubscriptionAttributesCommand( output, diff --git a/clients/client-sns/commands/GetTopicAttributesCommand.ts b/clients/client-sns/commands/GetTopicAttributesCommand.ts index c4299c933a10..e341d8590cfd 100644 --- a/clients/client-sns/commands/GetTopicAttributesCommand.ts +++ b/clients/client-sns/commands/GetTopicAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTopicAttributesCommandInput = GetTopicAttributesInput; @@ -67,14 +67,14 @@ export class GetTopicAttributesCommand extends $Command< private serialize( input: GetTopicAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetTopicAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetTopicAttributesCommand(output, context); } diff --git a/clients/client-sns/commands/ListEndpointsByPlatformApplicationCommand.ts b/clients/client-sns/commands/ListEndpointsByPlatformApplicationCommand.ts index 3a0b15c1815b..6e12df91a3dc 100644 --- a/clients/client-sns/commands/ListEndpointsByPlatformApplicationCommand.ts +++ b/clients/client-sns/commands/ListEndpointsByPlatformApplicationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListEndpointsByPlatformApplicationCommandInput = ListEndpointsByPlatformApplicationInput; @@ -70,7 +70,7 @@ export class ListEndpointsByPlatformApplicationCommand extends $Command< private serialize( input: ListEndpointsByPlatformApplicationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListEndpointsByPlatformApplicationCommand( input, @@ -80,7 +80,7 @@ export class ListEndpointsByPlatformApplicationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListEndpointsByPlatformApplicationCommand( output, diff --git a/clients/client-sns/commands/ListPhoneNumbersOptedOutCommand.ts b/clients/client-sns/commands/ListPhoneNumbersOptedOutCommand.ts index 7dcd9aaa6cc3..5a8e973b35dc 100644 --- a/clients/client-sns/commands/ListPhoneNumbersOptedOutCommand.ts +++ b/clients/client-sns/commands/ListPhoneNumbersOptedOutCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPhoneNumbersOptedOutCommandInput = ListPhoneNumbersOptedOutInput; @@ -70,14 +70,14 @@ export class ListPhoneNumbersOptedOutCommand extends $Command< private serialize( input: ListPhoneNumbersOptedOutCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListPhoneNumbersOptedOutCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListPhoneNumbersOptedOutCommand(output, context); } diff --git a/clients/client-sns/commands/ListPlatformApplicationsCommand.ts b/clients/client-sns/commands/ListPlatformApplicationsCommand.ts index 1a69d54b9cb1..8d62d29e9e5c 100644 --- a/clients/client-sns/commands/ListPlatformApplicationsCommand.ts +++ b/clients/client-sns/commands/ListPlatformApplicationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListPlatformApplicationsCommandInput = ListPlatformApplicationsInput; @@ -70,14 +70,14 @@ export class ListPlatformApplicationsCommand extends $Command< private serialize( input: ListPlatformApplicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListPlatformApplicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListPlatformApplicationsCommand(output, context); } diff --git a/clients/client-sns/commands/ListSubscriptionsByTopicCommand.ts b/clients/client-sns/commands/ListSubscriptionsByTopicCommand.ts index fbfb7f5cf656..7dba167547ea 100644 --- a/clients/client-sns/commands/ListSubscriptionsByTopicCommand.ts +++ b/clients/client-sns/commands/ListSubscriptionsByTopicCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSubscriptionsByTopicCommandInput = ListSubscriptionsByTopicInput; @@ -70,14 +70,14 @@ export class ListSubscriptionsByTopicCommand extends $Command< private serialize( input: ListSubscriptionsByTopicCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListSubscriptionsByTopicCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListSubscriptionsByTopicCommand(output, context); } diff --git a/clients/client-sns/commands/ListSubscriptionsCommand.ts b/clients/client-sns/commands/ListSubscriptionsCommand.ts index b2c4afc6f247..eeab90ab0d48 100644 --- a/clients/client-sns/commands/ListSubscriptionsCommand.ts +++ b/clients/client-sns/commands/ListSubscriptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSubscriptionsCommandInput = ListSubscriptionsInput; @@ -67,14 +67,14 @@ export class ListSubscriptionsCommand extends $Command< private serialize( input: ListSubscriptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListSubscriptionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListSubscriptionsCommand(output, context); } diff --git a/clients/client-sns/commands/ListTagsForResourceCommand.ts b/clients/client-sns/commands/ListTagsForResourceCommand.ts index a679147627c1..63b0bd0b2de5 100644 --- a/clients/client-sns/commands/ListTagsForResourceCommand.ts +++ b/clients/client-sns/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTagsForResourceCommand(output, context); } diff --git a/clients/client-sns/commands/ListTopicsCommand.ts b/clients/client-sns/commands/ListTopicsCommand.ts index 8a63b26c9c05..6822ebca6236 100644 --- a/clients/client-sns/commands/ListTopicsCommand.ts +++ b/clients/client-sns/commands/ListTopicsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTopicsCommandInput = ListTopicsInput; @@ -64,14 +64,14 @@ export class ListTopicsCommand extends $Command< private serialize( input: ListTopicsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListTopicsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListTopicsCommand(output, context); } diff --git a/clients/client-sns/commands/OptInPhoneNumberCommand.ts b/clients/client-sns/commands/OptInPhoneNumberCommand.ts index bf0105ce3939..5c80744f84b8 100644 --- a/clients/client-sns/commands/OptInPhoneNumberCommand.ts +++ b/clients/client-sns/commands/OptInPhoneNumberCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type OptInPhoneNumberCommandInput = OptInPhoneNumberInput; @@ -67,14 +67,14 @@ export class OptInPhoneNumberCommand extends $Command< private serialize( input: OptInPhoneNumberCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryOptInPhoneNumberCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryOptInPhoneNumberCommand(output, context); } diff --git a/clients/client-sns/commands/PublishCommand.ts b/clients/client-sns/commands/PublishCommand.ts index d14e68f16235..f4d5effab357 100644 --- a/clients/client-sns/commands/PublishCommand.ts +++ b/clients/client-sns/commands/PublishCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PublishCommandInput = PublishInput; @@ -64,14 +64,14 @@ export class PublishCommand extends $Command< private serialize( input: PublishCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPublishCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPublishCommand(output, context); } diff --git a/clients/client-sns/commands/RemovePermissionCommand.ts b/clients/client-sns/commands/RemovePermissionCommand.ts index 3f130f62f6a6..c5f35f3f7c4c 100644 --- a/clients/client-sns/commands/RemovePermissionCommand.ts +++ b/clients/client-sns/commands/RemovePermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemovePermissionCommandInput = RemovePermissionInput; @@ -65,14 +65,14 @@ export class RemovePermissionCommand extends $Command< private serialize( input: RemovePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemovePermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemovePermissionCommand(output, context); } diff --git a/clients/client-sns/commands/SetEndpointAttributesCommand.ts b/clients/client-sns/commands/SetEndpointAttributesCommand.ts index 72d164713fcd..0961d048f017 100644 --- a/clients/client-sns/commands/SetEndpointAttributesCommand.ts +++ b/clients/client-sns/commands/SetEndpointAttributesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetEndpointAttributesCommandInput = SetEndpointAttributesInput; @@ -68,14 +68,14 @@ export class SetEndpointAttributesCommand extends $Command< private serialize( input: SetEndpointAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetEndpointAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetEndpointAttributesCommand(output, context); } diff --git a/clients/client-sns/commands/SetPlatformApplicationAttributesCommand.ts b/clients/client-sns/commands/SetPlatformApplicationAttributesCommand.ts index d8a3f5a79b1a..5885c15ff949 100644 --- a/clients/client-sns/commands/SetPlatformApplicationAttributesCommand.ts +++ b/clients/client-sns/commands/SetPlatformApplicationAttributesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetPlatformApplicationAttributesCommandInput = SetPlatformApplicationAttributesInput; @@ -68,7 +68,7 @@ export class SetPlatformApplicationAttributesCommand extends $Command< private serialize( input: SetPlatformApplicationAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetPlatformApplicationAttributesCommand( input, @@ -78,7 +78,7 @@ export class SetPlatformApplicationAttributesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetPlatformApplicationAttributesCommand( output, diff --git a/clients/client-sns/commands/SetSMSAttributesCommand.ts b/clients/client-sns/commands/SetSMSAttributesCommand.ts index dc7c75f1d4a5..0e61cc024363 100644 --- a/clients/client-sns/commands/SetSMSAttributesCommand.ts +++ b/clients/client-sns/commands/SetSMSAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetSMSAttributesCommandInput = SetSMSAttributesInput; @@ -67,14 +67,14 @@ export class SetSMSAttributesCommand extends $Command< private serialize( input: SetSMSAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetSMSAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetSMSAttributesCommand(output, context); } diff --git a/clients/client-sns/commands/SetSubscriptionAttributesCommand.ts b/clients/client-sns/commands/SetSubscriptionAttributesCommand.ts index 83f9084d015c..4e036c3f2df5 100644 --- a/clients/client-sns/commands/SetSubscriptionAttributesCommand.ts +++ b/clients/client-sns/commands/SetSubscriptionAttributesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetSubscriptionAttributesCommandInput = SetSubscriptionAttributesInput; @@ -68,14 +68,14 @@ export class SetSubscriptionAttributesCommand extends $Command< private serialize( input: SetSubscriptionAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetSubscriptionAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetSubscriptionAttributesCommand( output, diff --git a/clients/client-sns/commands/SetTopicAttributesCommand.ts b/clients/client-sns/commands/SetTopicAttributesCommand.ts index d3372f8143fa..170051688a33 100644 --- a/clients/client-sns/commands/SetTopicAttributesCommand.ts +++ b/clients/client-sns/commands/SetTopicAttributesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetTopicAttributesCommandInput = SetTopicAttributesInput; @@ -65,14 +65,14 @@ export class SetTopicAttributesCommand extends $Command< private serialize( input: SetTopicAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetTopicAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetTopicAttributesCommand(output, context); } diff --git a/clients/client-sns/commands/SubscribeCommand.ts b/clients/client-sns/commands/SubscribeCommand.ts index f5ae79065365..d02608ba9c85 100644 --- a/clients/client-sns/commands/SubscribeCommand.ts +++ b/clients/client-sns/commands/SubscribeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SubscribeCommandInput = SubscribeInput; @@ -64,14 +64,14 @@ export class SubscribeCommand extends $Command< private serialize( input: SubscribeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySubscribeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySubscribeCommand(output, context); } diff --git a/clients/client-sns/commands/TagResourceCommand.ts b/clients/client-sns/commands/TagResourceCommand.ts index 8d503f36ee77..0f6ea6023459 100644 --- a/clients/client-sns/commands/TagResourceCommand.ts +++ b/clients/client-sns/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryTagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryTagResourceCommand(output, context); } diff --git a/clients/client-sns/commands/UnsubscribeCommand.ts b/clients/client-sns/commands/UnsubscribeCommand.ts index f242ba071e2e..a1444a7d31dc 100644 --- a/clients/client-sns/commands/UnsubscribeCommand.ts +++ b/clients/client-sns/commands/UnsubscribeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UnsubscribeCommandInput = UnsubscribeInput; @@ -65,14 +65,14 @@ export class UnsubscribeCommand extends $Command< private serialize( input: UnsubscribeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUnsubscribeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUnsubscribeCommand(output, context); } diff --git a/clients/client-sns/commands/UntagResourceCommand.ts b/clients/client-sns/commands/UntagResourceCommand.ts index 6430d6766691..3e4e1913266a 100644 --- a/clients/client-sns/commands/UntagResourceCommand.ts +++ b/clients/client-sns/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUntagResourceCommand(output, context); } diff --git a/clients/client-sns/protocols/Aws_query.ts b/clients/client-sns/protocols/Aws_query.ts index 5969abbdf344..56a2af14236c 100644 --- a/clients/client-sns/protocols/Aws_query.ts +++ b/clients/client-sns/protocols/Aws_query.ts @@ -5720,6 +5720,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-sqs/commands/AddPermissionCommand.ts b/clients/client-sqs/commands/AddPermissionCommand.ts index d3e362d3030b..4d2c54500f9d 100644 --- a/clients/client-sqs/commands/AddPermissionCommand.ts +++ b/clients/client-sqs/commands/AddPermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddPermissionCommandInput = AddPermissionRequest; @@ -65,14 +65,14 @@ export class AddPermissionCommand extends $Command< private serialize( input: AddPermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAddPermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAddPermissionCommand(output, context); } diff --git a/clients/client-sqs/commands/ChangeMessageVisibilityBatchCommand.ts b/clients/client-sqs/commands/ChangeMessageVisibilityBatchCommand.ts index 88b8bb471564..42fe36f29062 100644 --- a/clients/client-sqs/commands/ChangeMessageVisibilityBatchCommand.ts +++ b/clients/client-sqs/commands/ChangeMessageVisibilityBatchCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ChangeMessageVisibilityBatchCommandInput = ChangeMessageVisibilityBatchRequest; @@ -70,7 +70,7 @@ export class ChangeMessageVisibilityBatchCommand extends $Command< private serialize( input: ChangeMessageVisibilityBatchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryChangeMessageVisibilityBatchCommand( input, @@ -80,7 +80,7 @@ export class ChangeMessageVisibilityBatchCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryChangeMessageVisibilityBatchCommand( output, diff --git a/clients/client-sqs/commands/ChangeMessageVisibilityCommand.ts b/clients/client-sqs/commands/ChangeMessageVisibilityCommand.ts index 8c93d033108c..fe6c5cc7d469 100644 --- a/clients/client-sqs/commands/ChangeMessageVisibilityCommand.ts +++ b/clients/client-sqs/commands/ChangeMessageVisibilityCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ChangeMessageVisibilityCommandInput = ChangeMessageVisibilityRequest; @@ -68,14 +68,14 @@ export class ChangeMessageVisibilityCommand extends $Command< private serialize( input: ChangeMessageVisibilityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryChangeMessageVisibilityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryChangeMessageVisibilityCommand(output, context); } diff --git a/clients/client-sqs/commands/CreateQueueCommand.ts b/clients/client-sqs/commands/CreateQueueCommand.ts index 1ac06722b87b..5a98a532d7a8 100644 --- a/clients/client-sqs/commands/CreateQueueCommand.ts +++ b/clients/client-sqs/commands/CreateQueueCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateQueueCommandInput = CreateQueueRequest; @@ -64,14 +64,14 @@ export class CreateQueueCommand extends $Command< private serialize( input: CreateQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryCreateQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryCreateQueueCommand(output, context); } diff --git a/clients/client-sqs/commands/DeleteMessageBatchCommand.ts b/clients/client-sqs/commands/DeleteMessageBatchCommand.ts index 4e1c033ddc14..5a282ff6ecf9 100644 --- a/clients/client-sqs/commands/DeleteMessageBatchCommand.ts +++ b/clients/client-sqs/commands/DeleteMessageBatchCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMessageBatchCommandInput = DeleteMessageBatchRequest; @@ -67,14 +67,14 @@ export class DeleteMessageBatchCommand extends $Command< private serialize( input: DeleteMessageBatchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteMessageBatchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteMessageBatchCommand(output, context); } diff --git a/clients/client-sqs/commands/DeleteMessageCommand.ts b/clients/client-sqs/commands/DeleteMessageCommand.ts index 56e30a164298..182cfa9e990b 100644 --- a/clients/client-sqs/commands/DeleteMessageCommand.ts +++ b/clients/client-sqs/commands/DeleteMessageCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMessageCommandInput = DeleteMessageRequest; @@ -65,14 +65,14 @@ export class DeleteMessageCommand extends $Command< private serialize( input: DeleteMessageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteMessageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteMessageCommand(output, context); } diff --git a/clients/client-sqs/commands/DeleteQueueCommand.ts b/clients/client-sqs/commands/DeleteQueueCommand.ts index 8c876e68f8c4..b1ac472cd8f2 100644 --- a/clients/client-sqs/commands/DeleteQueueCommand.ts +++ b/clients/client-sqs/commands/DeleteQueueCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteQueueCommandInput = DeleteQueueRequest; @@ -65,14 +65,14 @@ export class DeleteQueueCommand extends $Command< private serialize( input: DeleteQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDeleteQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDeleteQueueCommand(output, context); } diff --git a/clients/client-sqs/commands/GetQueueAttributesCommand.ts b/clients/client-sqs/commands/GetQueueAttributesCommand.ts index 98873ab13b9c..73e340a60842 100644 --- a/clients/client-sqs/commands/GetQueueAttributesCommand.ts +++ b/clients/client-sqs/commands/GetQueueAttributesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetQueueAttributesCommandInput = GetQueueAttributesRequest; @@ -67,14 +67,14 @@ export class GetQueueAttributesCommand extends $Command< private serialize( input: GetQueueAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetQueueAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetQueueAttributesCommand(output, context); } diff --git a/clients/client-sqs/commands/GetQueueUrlCommand.ts b/clients/client-sqs/commands/GetQueueUrlCommand.ts index 41b7f8a80ad9..fc20fe2a1a8e 100644 --- a/clients/client-sqs/commands/GetQueueUrlCommand.ts +++ b/clients/client-sqs/commands/GetQueueUrlCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetQueueUrlCommandInput = GetQueueUrlRequest; @@ -64,14 +64,14 @@ export class GetQueueUrlCommand extends $Command< private serialize( input: GetQueueUrlCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetQueueUrlCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetQueueUrlCommand(output, context); } diff --git a/clients/client-sqs/commands/ListDeadLetterSourceQueuesCommand.ts b/clients/client-sqs/commands/ListDeadLetterSourceQueuesCommand.ts index c3e660d6314b..f915dce004af 100644 --- a/clients/client-sqs/commands/ListDeadLetterSourceQueuesCommand.ts +++ b/clients/client-sqs/commands/ListDeadLetterSourceQueuesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDeadLetterSourceQueuesCommandInput = ListDeadLetterSourceQueuesRequest; @@ -70,14 +70,14 @@ export class ListDeadLetterSourceQueuesCommand extends $Command< private serialize( input: ListDeadLetterSourceQueuesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListDeadLetterSourceQueuesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListDeadLetterSourceQueuesCommand( output, diff --git a/clients/client-sqs/commands/ListQueueTagsCommand.ts b/clients/client-sqs/commands/ListQueueTagsCommand.ts index e44ddc104a14..6431b109a0ab 100644 --- a/clients/client-sqs/commands/ListQueueTagsCommand.ts +++ b/clients/client-sqs/commands/ListQueueTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListQueueTagsCommandInput = ListQueueTagsRequest; @@ -64,14 +64,14 @@ export class ListQueueTagsCommand extends $Command< private serialize( input: ListQueueTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListQueueTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListQueueTagsCommand(output, context); } diff --git a/clients/client-sqs/commands/ListQueuesCommand.ts b/clients/client-sqs/commands/ListQueuesCommand.ts index 28ec1f3570ff..66dbeda07973 100644 --- a/clients/client-sqs/commands/ListQueuesCommand.ts +++ b/clients/client-sqs/commands/ListQueuesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListQueuesCommandInput = ListQueuesRequest; @@ -64,14 +64,14 @@ export class ListQueuesCommand extends $Command< private serialize( input: ListQueuesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryListQueuesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryListQueuesCommand(output, context); } diff --git a/clients/client-sqs/commands/PurgeQueueCommand.ts b/clients/client-sqs/commands/PurgeQueueCommand.ts index dfaa3098a253..96670015b24b 100644 --- a/clients/client-sqs/commands/PurgeQueueCommand.ts +++ b/clients/client-sqs/commands/PurgeQueueCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PurgeQueueCommandInput = PurgeQueueRequest; @@ -65,14 +65,14 @@ export class PurgeQueueCommand extends $Command< private serialize( input: PurgeQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryPurgeQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryPurgeQueueCommand(output, context); } diff --git a/clients/client-sqs/commands/ReceiveMessageCommand.ts b/clients/client-sqs/commands/ReceiveMessageCommand.ts index 41a0f8b11a09..d3d4543f0532 100644 --- a/clients/client-sqs/commands/ReceiveMessageCommand.ts +++ b/clients/client-sqs/commands/ReceiveMessageCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ReceiveMessageCommandInput = ReceiveMessageRequest; @@ -66,14 +66,14 @@ export class ReceiveMessageCommand extends $Command< private serialize( input: ReceiveMessageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryReceiveMessageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryReceiveMessageCommand(output, context); } diff --git a/clients/client-sqs/commands/RemovePermissionCommand.ts b/clients/client-sqs/commands/RemovePermissionCommand.ts index ee088809e359..2589e0051c33 100644 --- a/clients/client-sqs/commands/RemovePermissionCommand.ts +++ b/clients/client-sqs/commands/RemovePermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemovePermissionCommandInput = RemovePermissionRequest; @@ -65,14 +65,14 @@ export class RemovePermissionCommand extends $Command< private serialize( input: RemovePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryRemovePermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryRemovePermissionCommand(output, context); } diff --git a/clients/client-sqs/commands/SendMessageBatchCommand.ts b/clients/client-sqs/commands/SendMessageBatchCommand.ts index b5a11c5c03e8..c7dff0989a11 100644 --- a/clients/client-sqs/commands/SendMessageBatchCommand.ts +++ b/clients/client-sqs/commands/SendMessageBatchCommand.ts @@ -23,8 +23,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendMessageBatchCommandInput = SendMessageBatchRequest; @@ -69,14 +69,14 @@ export class SendMessageBatchCommand extends $Command< private serialize( input: SendMessageBatchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySendMessageBatchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySendMessageBatchCommand(output, context); } diff --git a/clients/client-sqs/commands/SendMessageCommand.ts b/clients/client-sqs/commands/SendMessageCommand.ts index f58966993664..f1e092911cb3 100644 --- a/clients/client-sqs/commands/SendMessageCommand.ts +++ b/clients/client-sqs/commands/SendMessageCommand.ts @@ -20,8 +20,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendMessageCommandInput = SendMessageRequest; @@ -66,14 +66,14 @@ export class SendMessageCommand extends $Command< private serialize( input: SendMessageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySendMessageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySendMessageCommand(output, context); } diff --git a/clients/client-sqs/commands/SetQueueAttributesCommand.ts b/clients/client-sqs/commands/SetQueueAttributesCommand.ts index 0da0aa058c27..9b813528dab0 100644 --- a/clients/client-sqs/commands/SetQueueAttributesCommand.ts +++ b/clients/client-sqs/commands/SetQueueAttributesCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetQueueAttributesCommandInput = SetQueueAttributesRequest; @@ -65,14 +65,14 @@ export class SetQueueAttributesCommand extends $Command< private serialize( input: SetQueueAttributesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_querySetQueueAttributesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_querySetQueueAttributesCommand(output, context); } diff --git a/clients/client-sqs/commands/TagQueueCommand.ts b/clients/client-sqs/commands/TagQueueCommand.ts index 2536370ce442..ed1dc209ce52 100644 --- a/clients/client-sqs/commands/TagQueueCommand.ts +++ b/clients/client-sqs/commands/TagQueueCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagQueueCommandInput = TagQueueRequest; @@ -65,14 +65,14 @@ export class TagQueueCommand extends $Command< private serialize( input: TagQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryTagQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryTagQueueCommand(output, context); } diff --git a/clients/client-sqs/commands/UntagQueueCommand.ts b/clients/client-sqs/commands/UntagQueueCommand.ts index 9b384ac6a9f4..e3e9aa8472d0 100644 --- a/clients/client-sqs/commands/UntagQueueCommand.ts +++ b/clients/client-sqs/commands/UntagQueueCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagQueueCommandInput = UntagQueueRequest; @@ -65,14 +65,14 @@ export class UntagQueueCommand extends $Command< private serialize( input: UntagQueueCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryUntagQueueCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryUntagQueueCommand(output, context); } diff --git a/clients/client-sqs/protocols/Aws_query.ts b/clients/client-sqs/protocols/Aws_query.ts index 8c428e9d3d44..90a497cb2311 100644 --- a/clients/client-sqs/protocols/Aws_query.ts +++ b/clients/client-sqs/protocols/Aws_query.ts @@ -3497,6 +3497,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-ssm/commands/AddTagsToResourceCommand.ts b/clients/client-ssm/commands/AddTagsToResourceCommand.ts index cd74bdf17ffd..4e710d6c462d 100644 --- a/clients/client-ssm/commands/AddTagsToResourceCommand.ts +++ b/clients/client-ssm/commands/AddTagsToResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToResourceCommandInput = AddTagsToResourceRequest; @@ -67,14 +67,14 @@ export class AddTagsToResourceCommand extends $Command< private serialize( input: AddTagsToResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsToResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsToResourceCommand(output, context); } diff --git a/clients/client-ssm/commands/CancelCommandCommand.ts b/clients/client-ssm/commands/CancelCommandCommand.ts index 7d821fb1d792..3b60257d4999 100644 --- a/clients/client-ssm/commands/CancelCommandCommand.ts +++ b/clients/client-ssm/commands/CancelCommandCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelCommandCommandInput = CancelCommandRequest; @@ -64,14 +64,14 @@ export class CancelCommandCommand extends $Command< private serialize( input: CancelCommandCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelCommandCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelCommandCommand(output, context); } diff --git a/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts b/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts index 88122668d803..fb9d61a5ab28 100644 --- a/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts +++ b/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelMaintenanceWindowExecutionCommandInput = CancelMaintenanceWindowExecutionRequest; @@ -70,7 +70,7 @@ export class CancelMaintenanceWindowExecutionCommand extends $Command< private serialize( input: CancelMaintenanceWindowExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelMaintenanceWindowExecutionCommand( input, @@ -80,7 +80,7 @@ export class CancelMaintenanceWindowExecutionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelMaintenanceWindowExecutionCommand( output, diff --git a/clients/client-ssm/commands/CreateActivationCommand.ts b/clients/client-ssm/commands/CreateActivationCommand.ts index e96a650f06ef..35cc78fe52be 100644 --- a/clients/client-ssm/commands/CreateActivationCommand.ts +++ b/clients/client-ssm/commands/CreateActivationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateActivationCommandInput = CreateActivationRequest; @@ -67,14 +67,14 @@ export class CreateActivationCommand extends $Command< private serialize( input: CreateActivationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateActivationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateActivationCommand(output, context); } diff --git a/clients/client-ssm/commands/CreateAssociationBatchCommand.ts b/clients/client-ssm/commands/CreateAssociationBatchCommand.ts index cd1cfda157e3..14d6ba82a6b6 100644 --- a/clients/client-ssm/commands/CreateAssociationBatchCommand.ts +++ b/clients/client-ssm/commands/CreateAssociationBatchCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAssociationBatchCommandInput = CreateAssociationBatchRequest; @@ -70,14 +70,14 @@ export class CreateAssociationBatchCommand extends $Command< private serialize( input: CreateAssociationBatchCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAssociationBatchCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAssociationBatchCommand(output, context); } diff --git a/clients/client-ssm/commands/CreateAssociationCommand.ts b/clients/client-ssm/commands/CreateAssociationCommand.ts index 72ff9fe5c273..a24572935496 100644 --- a/clients/client-ssm/commands/CreateAssociationCommand.ts +++ b/clients/client-ssm/commands/CreateAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAssociationCommandInput = CreateAssociationRequest; @@ -67,14 +67,14 @@ export class CreateAssociationCommand extends $Command< private serialize( input: CreateAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAssociationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAssociationCommand(output, context); } diff --git a/clients/client-ssm/commands/CreateDocumentCommand.ts b/clients/client-ssm/commands/CreateDocumentCommand.ts index 606b2aae64cf..557bec496ebd 100644 --- a/clients/client-ssm/commands/CreateDocumentCommand.ts +++ b/clients/client-ssm/commands/CreateDocumentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateDocumentCommandInput = CreateDocumentRequest; @@ -64,14 +64,14 @@ export class CreateDocumentCommand extends $Command< private serialize( input: CreateDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateDocumentCommand(output, context); } diff --git a/clients/client-ssm/commands/CreateMaintenanceWindowCommand.ts b/clients/client-ssm/commands/CreateMaintenanceWindowCommand.ts index 142343fcda99..aca2225faa32 100644 --- a/clients/client-ssm/commands/CreateMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/CreateMaintenanceWindowCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateMaintenanceWindowCommandInput = CreateMaintenanceWindowRequest; @@ -70,14 +70,14 @@ export class CreateMaintenanceWindowCommand extends $Command< private serialize( input: CreateMaintenanceWindowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateMaintenanceWindowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateMaintenanceWindowCommand( output, diff --git a/clients/client-ssm/commands/CreateOpsItemCommand.ts b/clients/client-ssm/commands/CreateOpsItemCommand.ts index 3341d48f53db..c6cd43472ffa 100644 --- a/clients/client-ssm/commands/CreateOpsItemCommand.ts +++ b/clients/client-ssm/commands/CreateOpsItemCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateOpsItemCommandInput = CreateOpsItemRequest; @@ -64,14 +64,14 @@ export class CreateOpsItemCommand extends $Command< private serialize( input: CreateOpsItemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateOpsItemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateOpsItemCommand(output, context); } diff --git a/clients/client-ssm/commands/CreatePatchBaselineCommand.ts b/clients/client-ssm/commands/CreatePatchBaselineCommand.ts index a27404be3b14..e83112045d3f 100644 --- a/clients/client-ssm/commands/CreatePatchBaselineCommand.ts +++ b/clients/client-ssm/commands/CreatePatchBaselineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreatePatchBaselineCommandInput = CreatePatchBaselineRequest; @@ -70,14 +70,14 @@ export class CreatePatchBaselineCommand extends $Command< private serialize( input: CreatePatchBaselineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreatePatchBaselineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreatePatchBaselineCommand(output, context); } diff --git a/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts b/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts index 4d5479a87598..685a28ae2658 100644 --- a/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts +++ b/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateResourceDataSyncCommandInput = CreateResourceDataSyncRequest; @@ -70,14 +70,14 @@ export class CreateResourceDataSyncCommand extends $Command< private serialize( input: CreateResourceDataSyncCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateResourceDataSyncCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateResourceDataSyncCommand(output, context); } diff --git a/clients/client-ssm/commands/DeleteActivationCommand.ts b/clients/client-ssm/commands/DeleteActivationCommand.ts index 314f6f9c1839..9bb083d98b08 100644 --- a/clients/client-ssm/commands/DeleteActivationCommand.ts +++ b/clients/client-ssm/commands/DeleteActivationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteActivationCommandInput = DeleteActivationRequest; @@ -67,14 +67,14 @@ export class DeleteActivationCommand extends $Command< private serialize( input: DeleteActivationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteActivationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteActivationCommand(output, context); } diff --git a/clients/client-ssm/commands/DeleteAssociationCommand.ts b/clients/client-ssm/commands/DeleteAssociationCommand.ts index 08d93a72432b..b567171915f4 100644 --- a/clients/client-ssm/commands/DeleteAssociationCommand.ts +++ b/clients/client-ssm/commands/DeleteAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAssociationCommandInput = DeleteAssociationRequest; @@ -67,14 +67,14 @@ export class DeleteAssociationCommand extends $Command< private serialize( input: DeleteAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAssociationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAssociationCommand(output, context); } diff --git a/clients/client-ssm/commands/DeleteDocumentCommand.ts b/clients/client-ssm/commands/DeleteDocumentCommand.ts index 56af97c277ef..a1843aa9a05d 100644 --- a/clients/client-ssm/commands/DeleteDocumentCommand.ts +++ b/clients/client-ssm/commands/DeleteDocumentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDocumentCommandInput = DeleteDocumentRequest; @@ -64,14 +64,14 @@ export class DeleteDocumentCommand extends $Command< private serialize( input: DeleteDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteDocumentCommand(output, context); } diff --git a/clients/client-ssm/commands/DeleteInventoryCommand.ts b/clients/client-ssm/commands/DeleteInventoryCommand.ts index 08cd2dd67932..0279ca4abe22 100644 --- a/clients/client-ssm/commands/DeleteInventoryCommand.ts +++ b/clients/client-ssm/commands/DeleteInventoryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteInventoryCommandInput = DeleteInventoryRequest; @@ -64,14 +64,14 @@ export class DeleteInventoryCommand extends $Command< private serialize( input: DeleteInventoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteInventoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteInventoryCommand(output, context); } diff --git a/clients/client-ssm/commands/DeleteMaintenanceWindowCommand.ts b/clients/client-ssm/commands/DeleteMaintenanceWindowCommand.ts index ca1c5b913a0f..2a8d3a2a62b2 100644 --- a/clients/client-ssm/commands/DeleteMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/DeleteMaintenanceWindowCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMaintenanceWindowCommandInput = DeleteMaintenanceWindowRequest; @@ -70,14 +70,14 @@ export class DeleteMaintenanceWindowCommand extends $Command< private serialize( input: DeleteMaintenanceWindowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteMaintenanceWindowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteMaintenanceWindowCommand( output, diff --git a/clients/client-ssm/commands/DeleteParameterCommand.ts b/clients/client-ssm/commands/DeleteParameterCommand.ts index 9be49723afc6..805c08dfd128 100644 --- a/clients/client-ssm/commands/DeleteParameterCommand.ts +++ b/clients/client-ssm/commands/DeleteParameterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteParameterCommandInput = DeleteParameterRequest; @@ -64,14 +64,14 @@ export class DeleteParameterCommand extends $Command< private serialize( input: DeleteParameterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteParameterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteParameterCommand(output, context); } diff --git a/clients/client-ssm/commands/DeleteParametersCommand.ts b/clients/client-ssm/commands/DeleteParametersCommand.ts index 2c82411d8dfd..08922dfe619c 100644 --- a/clients/client-ssm/commands/DeleteParametersCommand.ts +++ b/clients/client-ssm/commands/DeleteParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteParametersCommandInput = DeleteParametersRequest; @@ -67,14 +67,14 @@ export class DeleteParametersCommand extends $Command< private serialize( input: DeleteParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteParametersCommand(output, context); } diff --git a/clients/client-ssm/commands/DeletePatchBaselineCommand.ts b/clients/client-ssm/commands/DeletePatchBaselineCommand.ts index 40ebde64b5af..8710c20eab49 100644 --- a/clients/client-ssm/commands/DeletePatchBaselineCommand.ts +++ b/clients/client-ssm/commands/DeletePatchBaselineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePatchBaselineCommandInput = DeletePatchBaselineRequest; @@ -70,14 +70,14 @@ export class DeletePatchBaselineCommand extends $Command< private serialize( input: DeletePatchBaselineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePatchBaselineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePatchBaselineCommand(output, context); } diff --git a/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts b/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts index f419e03845bf..57db550264dd 100644 --- a/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts +++ b/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResourceDataSyncCommandInput = DeleteResourceDataSyncRequest; @@ -70,14 +70,14 @@ export class DeleteResourceDataSyncCommand extends $Command< private serialize( input: DeleteResourceDataSyncCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteResourceDataSyncCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteResourceDataSyncCommand(output, context); } diff --git a/clients/client-ssm/commands/DeregisterManagedInstanceCommand.ts b/clients/client-ssm/commands/DeregisterManagedInstanceCommand.ts index 0feead687e01..3004bac2f360 100644 --- a/clients/client-ssm/commands/DeregisterManagedInstanceCommand.ts +++ b/clients/client-ssm/commands/DeregisterManagedInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterManagedInstanceCommandInput = DeregisterManagedInstanceRequest; @@ -70,14 +70,14 @@ export class DeregisterManagedInstanceCommand extends $Command< private serialize( input: DeregisterManagedInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterManagedInstanceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterManagedInstanceCommand( output, diff --git a/clients/client-ssm/commands/DeregisterPatchBaselineForPatchGroupCommand.ts b/clients/client-ssm/commands/DeregisterPatchBaselineForPatchGroupCommand.ts index 454769a843cb..3f0e23663b8d 100644 --- a/clients/client-ssm/commands/DeregisterPatchBaselineForPatchGroupCommand.ts +++ b/clients/client-ssm/commands/DeregisterPatchBaselineForPatchGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterPatchBaselineForPatchGroupCommandInput = DeregisterPatchBaselineForPatchGroupRequest; @@ -72,7 +72,7 @@ export class DeregisterPatchBaselineForPatchGroupCommand extends $Command< private serialize( input: DeregisterPatchBaselineForPatchGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommand( input, @@ -82,7 +82,7 @@ export class DeregisterPatchBaselineForPatchGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommand( output, diff --git a/clients/client-ssm/commands/DeregisterTargetFromMaintenanceWindowCommand.ts b/clients/client-ssm/commands/DeregisterTargetFromMaintenanceWindowCommand.ts index cac7120f8b0b..1439449131ed 100644 --- a/clients/client-ssm/commands/DeregisterTargetFromMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/DeregisterTargetFromMaintenanceWindowCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterTargetFromMaintenanceWindowCommandInput = DeregisterTargetFromMaintenanceWindowRequest; @@ -72,7 +72,7 @@ export class DeregisterTargetFromMaintenanceWindowCommand extends $Command< private serialize( input: DeregisterTargetFromMaintenanceWindowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommand( input, @@ -82,7 +82,7 @@ export class DeregisterTargetFromMaintenanceWindowCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommand( output, diff --git a/clients/client-ssm/commands/DeregisterTaskFromMaintenanceWindowCommand.ts b/clients/client-ssm/commands/DeregisterTaskFromMaintenanceWindowCommand.ts index 27a015ef26b4..fd0cce002289 100644 --- a/clients/client-ssm/commands/DeregisterTaskFromMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/DeregisterTaskFromMaintenanceWindowCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterTaskFromMaintenanceWindowCommandInput = DeregisterTaskFromMaintenanceWindowRequest; @@ -70,7 +70,7 @@ export class DeregisterTaskFromMaintenanceWindowCommand extends $Command< private serialize( input: DeregisterTaskFromMaintenanceWindowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterTaskFromMaintenanceWindowCommand( input, @@ -80,7 +80,7 @@ export class DeregisterTaskFromMaintenanceWindowCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterTaskFromMaintenanceWindowCommand( output, diff --git a/clients/client-ssm/commands/DescribeActivationsCommand.ts b/clients/client-ssm/commands/DescribeActivationsCommand.ts index b19f1c5fa3db..1632ffc2b377 100644 --- a/clients/client-ssm/commands/DescribeActivationsCommand.ts +++ b/clients/client-ssm/commands/DescribeActivationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeActivationsCommandInput = DescribeActivationsRequest; @@ -70,14 +70,14 @@ export class DescribeActivationsCommand extends $Command< private serialize( input: DescribeActivationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeActivationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeActivationsCommand(output, context); } diff --git a/clients/client-ssm/commands/DescribeAssociationCommand.ts b/clients/client-ssm/commands/DescribeAssociationCommand.ts index 1190a33c3d3a..31c050ea6ad0 100644 --- a/clients/client-ssm/commands/DescribeAssociationCommand.ts +++ b/clients/client-ssm/commands/DescribeAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAssociationCommandInput = DescribeAssociationRequest; @@ -70,14 +70,14 @@ export class DescribeAssociationCommand extends $Command< private serialize( input: DescribeAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAssociationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAssociationCommand(output, context); } diff --git a/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts b/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts index f1c2c50d1590..b4cb3403d698 100644 --- a/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts +++ b/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAssociationExecutionTargetsCommandInput = DescribeAssociationExecutionTargetsRequest; @@ -70,7 +70,7 @@ export class DescribeAssociationExecutionTargetsCommand extends $Command< private serialize( input: DescribeAssociationExecutionTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAssociationExecutionTargetsCommand( input, @@ -80,7 +80,7 @@ export class DescribeAssociationExecutionTargetsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAssociationExecutionTargetsCommand( output, diff --git a/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts b/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts index 1cb0a90a5d4e..70d70edb89da 100644 --- a/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts +++ b/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAssociationExecutionsCommandInput = DescribeAssociationExecutionsRequest; @@ -70,7 +70,7 @@ export class DescribeAssociationExecutionsCommand extends $Command< private serialize( input: DescribeAssociationExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAssociationExecutionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeAssociationExecutionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAssociationExecutionsCommand( output, diff --git a/clients/client-ssm/commands/DescribeAutomationExecutionsCommand.ts b/clients/client-ssm/commands/DescribeAutomationExecutionsCommand.ts index e76813067402..c28e61e142dc 100644 --- a/clients/client-ssm/commands/DescribeAutomationExecutionsCommand.ts +++ b/clients/client-ssm/commands/DescribeAutomationExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAutomationExecutionsCommandInput = DescribeAutomationExecutionsRequest; @@ -70,7 +70,7 @@ export class DescribeAutomationExecutionsCommand extends $Command< private serialize( input: DescribeAutomationExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAutomationExecutionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeAutomationExecutionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAutomationExecutionsCommand( output, diff --git a/clients/client-ssm/commands/DescribeAutomationStepExecutionsCommand.ts b/clients/client-ssm/commands/DescribeAutomationStepExecutionsCommand.ts index 1148ee81371f..d84f6dcf441e 100644 --- a/clients/client-ssm/commands/DescribeAutomationStepExecutionsCommand.ts +++ b/clients/client-ssm/commands/DescribeAutomationStepExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAutomationStepExecutionsCommandInput = DescribeAutomationStepExecutionsRequest; @@ -70,7 +70,7 @@ export class DescribeAutomationStepExecutionsCommand extends $Command< private serialize( input: DescribeAutomationStepExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAutomationStepExecutionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeAutomationStepExecutionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAutomationStepExecutionsCommand( output, diff --git a/clients/client-ssm/commands/DescribeAvailablePatchesCommand.ts b/clients/client-ssm/commands/DescribeAvailablePatchesCommand.ts index 47bd39fa336c..4a25cc726029 100644 --- a/clients/client-ssm/commands/DescribeAvailablePatchesCommand.ts +++ b/clients/client-ssm/commands/DescribeAvailablePatchesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAvailablePatchesCommandInput = DescribeAvailablePatchesRequest; @@ -70,14 +70,14 @@ export class DescribeAvailablePatchesCommand extends $Command< private serialize( input: DescribeAvailablePatchesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAvailablePatchesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAvailablePatchesCommand( output, diff --git a/clients/client-ssm/commands/DescribeDocumentCommand.ts b/clients/client-ssm/commands/DescribeDocumentCommand.ts index 71c47a140e1c..3fb34dfd0c3c 100644 --- a/clients/client-ssm/commands/DescribeDocumentCommand.ts +++ b/clients/client-ssm/commands/DescribeDocumentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDocumentCommandInput = DescribeDocumentRequest; @@ -67,14 +67,14 @@ export class DescribeDocumentCommand extends $Command< private serialize( input: DescribeDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDocumentCommand(output, context); } diff --git a/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts b/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts index 0304fff958cc..89b34cf6f572 100644 --- a/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts +++ b/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDocumentPermissionCommandInput = DescribeDocumentPermissionRequest; @@ -70,7 +70,7 @@ export class DescribeDocumentPermissionCommand extends $Command< private serialize( input: DescribeDocumentPermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeDocumentPermissionCommand( input, @@ -80,7 +80,7 @@ export class DescribeDocumentPermissionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeDocumentPermissionCommand( output, diff --git a/clients/client-ssm/commands/DescribeEffectiveInstanceAssociationsCommand.ts b/clients/client-ssm/commands/DescribeEffectiveInstanceAssociationsCommand.ts index 45edfe782a90..be300285872e 100644 --- a/clients/client-ssm/commands/DescribeEffectiveInstanceAssociationsCommand.ts +++ b/clients/client-ssm/commands/DescribeEffectiveInstanceAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEffectiveInstanceAssociationsCommandInput = DescribeEffectiveInstanceAssociationsRequest; @@ -72,7 +72,7 @@ export class DescribeEffectiveInstanceAssociationsCommand extends $Command< private serialize( input: DescribeEffectiveInstanceAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEffectiveInstanceAssociationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeEffectiveInstanceAssociationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEffectiveInstanceAssociationsCommand( output, diff --git a/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts b/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts index 447db0a7d19a..9796b325efbf 100644 --- a/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts +++ b/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeEffectivePatchesForPatchBaselineCommandInput = DescribeEffectivePatchesForPatchBaselineRequest; @@ -72,7 +72,7 @@ export class DescribeEffectivePatchesForPatchBaselineCommand extends $Command< private serialize( input: DescribeEffectivePatchesForPatchBaselineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeEffectivePatchesForPatchBaselineCommand( input, @@ -82,7 +82,7 @@ export class DescribeEffectivePatchesForPatchBaselineCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeEffectivePatchesForPatchBaselineCommand( output, diff --git a/clients/client-ssm/commands/DescribeInstanceAssociationsStatusCommand.ts b/clients/client-ssm/commands/DescribeInstanceAssociationsStatusCommand.ts index 257a2f033e48..321da45f7bf6 100644 --- a/clients/client-ssm/commands/DescribeInstanceAssociationsStatusCommand.ts +++ b/clients/client-ssm/commands/DescribeInstanceAssociationsStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstanceAssociationsStatusCommandInput = DescribeInstanceAssociationsStatusRequest; @@ -70,7 +70,7 @@ export class DescribeInstanceAssociationsStatusCommand extends $Command< private serialize( input: DescribeInstanceAssociationsStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeInstanceAssociationsStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribeInstanceAssociationsStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeInstanceAssociationsStatusCommand( output, diff --git a/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts b/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts index 491fc1ff4563..7c9dd9e87972 100644 --- a/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts +++ b/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstanceInformationCommandInput = DescribeInstanceInformationRequest; @@ -70,7 +70,7 @@ export class DescribeInstanceInformationCommand extends $Command< private serialize( input: DescribeInstanceInformationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeInstanceInformationCommand( input, @@ -80,7 +80,7 @@ export class DescribeInstanceInformationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeInstanceInformationCommand( output, diff --git a/clients/client-ssm/commands/DescribeInstancePatchStatesCommand.ts b/clients/client-ssm/commands/DescribeInstancePatchStatesCommand.ts index 743e57838f91..7a6827611c8a 100644 --- a/clients/client-ssm/commands/DescribeInstancePatchStatesCommand.ts +++ b/clients/client-ssm/commands/DescribeInstancePatchStatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstancePatchStatesCommandInput = DescribeInstancePatchStatesRequest; @@ -70,7 +70,7 @@ export class DescribeInstancePatchStatesCommand extends $Command< private serialize( input: DescribeInstancePatchStatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeInstancePatchStatesCommand( input, @@ -80,7 +80,7 @@ export class DescribeInstancePatchStatesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeInstancePatchStatesCommand( output, diff --git a/clients/client-ssm/commands/DescribeInstancePatchStatesForPatchGroupCommand.ts b/clients/client-ssm/commands/DescribeInstancePatchStatesForPatchGroupCommand.ts index 5f14e6e05474..c9cdefbfc970 100644 --- a/clients/client-ssm/commands/DescribeInstancePatchStatesForPatchGroupCommand.ts +++ b/clients/client-ssm/commands/DescribeInstancePatchStatesForPatchGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstancePatchStatesForPatchGroupCommandInput = DescribeInstancePatchStatesForPatchGroupRequest; @@ -72,7 +72,7 @@ export class DescribeInstancePatchStatesForPatchGroupCommand extends $Command< private serialize( input: DescribeInstancePatchStatesForPatchGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeInstancePatchStatesForPatchGroupCommand( input, @@ -82,7 +82,7 @@ export class DescribeInstancePatchStatesForPatchGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeInstancePatchStatesForPatchGroupCommand( output, diff --git a/clients/client-ssm/commands/DescribeInstancePatchesCommand.ts b/clients/client-ssm/commands/DescribeInstancePatchesCommand.ts index 91e1f6d54908..e5e3024f05ca 100644 --- a/clients/client-ssm/commands/DescribeInstancePatchesCommand.ts +++ b/clients/client-ssm/commands/DescribeInstancePatchesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInstancePatchesCommandInput = DescribeInstancePatchesRequest; @@ -70,14 +70,14 @@ export class DescribeInstancePatchesCommand extends $Command< private serialize( input: DescribeInstancePatchesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeInstancePatchesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeInstancePatchesCommand( output, diff --git a/clients/client-ssm/commands/DescribeInventoryDeletionsCommand.ts b/clients/client-ssm/commands/DescribeInventoryDeletionsCommand.ts index a60b2a390ab6..ed3c966840c7 100644 --- a/clients/client-ssm/commands/DescribeInventoryDeletionsCommand.ts +++ b/clients/client-ssm/commands/DescribeInventoryDeletionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeInventoryDeletionsCommandInput = DescribeInventoryDeletionsRequest; @@ -70,7 +70,7 @@ export class DescribeInventoryDeletionsCommand extends $Command< private serialize( input: DescribeInventoryDeletionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeInventoryDeletionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeInventoryDeletionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeInventoryDeletionsCommand( output, diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.ts index 8687c4d8243b..cb0c8a4f0902 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput = DescribeMaintenanceWindowExecutionTaskInvocationsRequest; @@ -72,7 +72,7 @@ export class DescribeMaintenanceWindowExecutionTaskInvocationsCommand extends $C private serialize( input: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsCommand( input, @@ -82,7 +82,7 @@ export class DescribeMaintenanceWindowExecutionTaskInvocationsCommand extends $C private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsCommand( output, diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTasksCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTasksCommand.ts index 3ef36484fd99..d14af3f5853e 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTasksCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMaintenanceWindowExecutionTasksCommandInput = DescribeMaintenanceWindowExecutionTasksRequest; @@ -72,7 +72,7 @@ export class DescribeMaintenanceWindowExecutionTasksCommand extends $Command< private serialize( input: DescribeMaintenanceWindowExecutionTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMaintenanceWindowExecutionTasksCommand( input, @@ -82,7 +82,7 @@ export class DescribeMaintenanceWindowExecutionTasksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMaintenanceWindowExecutionTasksCommand( output, diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionsCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionsCommand.ts index 2d977ae4dc31..f99b5f943e41 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionsCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMaintenanceWindowExecutionsCommandInput = DescribeMaintenanceWindowExecutionsRequest; @@ -70,7 +70,7 @@ export class DescribeMaintenanceWindowExecutionsCommand extends $Command< private serialize( input: DescribeMaintenanceWindowExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMaintenanceWindowExecutionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeMaintenanceWindowExecutionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMaintenanceWindowExecutionsCommand( output, diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowScheduleCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowScheduleCommand.ts index 6d7811ea4334..b650095c586a 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowScheduleCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMaintenanceWindowScheduleCommandInput = DescribeMaintenanceWindowScheduleRequest; @@ -70,7 +70,7 @@ export class DescribeMaintenanceWindowScheduleCommand extends $Command< private serialize( input: DescribeMaintenanceWindowScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMaintenanceWindowScheduleCommand( input, @@ -80,7 +80,7 @@ export class DescribeMaintenanceWindowScheduleCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMaintenanceWindowScheduleCommand( output, diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowTargetsCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowTargetsCommand.ts index 0e0628d8117b..92b9b3148939 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowTargetsCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMaintenanceWindowTargetsCommandInput = DescribeMaintenanceWindowTargetsRequest; @@ -70,7 +70,7 @@ export class DescribeMaintenanceWindowTargetsCommand extends $Command< private serialize( input: DescribeMaintenanceWindowTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMaintenanceWindowTargetsCommand( input, @@ -80,7 +80,7 @@ export class DescribeMaintenanceWindowTargetsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMaintenanceWindowTargetsCommand( output, diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts index c49b1441e5a9..6525a4b38ea6 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMaintenanceWindowTasksCommandInput = DescribeMaintenanceWindowTasksRequest; @@ -70,7 +70,7 @@ export class DescribeMaintenanceWindowTasksCommand extends $Command< private serialize( input: DescribeMaintenanceWindowTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMaintenanceWindowTasksCommand( input, @@ -80,7 +80,7 @@ export class DescribeMaintenanceWindowTasksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMaintenanceWindowTasksCommand( output, diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts index 66b32ce3085f..d91c21ea895a 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMaintenanceWindowsCommandInput = DescribeMaintenanceWindowsRequest; @@ -70,7 +70,7 @@ export class DescribeMaintenanceWindowsCommand extends $Command< private serialize( input: DescribeMaintenanceWindowsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMaintenanceWindowsCommand( input, @@ -80,7 +80,7 @@ export class DescribeMaintenanceWindowsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMaintenanceWindowsCommand( output, diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowsForTargetCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowsForTargetCommand.ts index 95f0c7e91dc7..6904e36a7071 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowsForTargetCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowsForTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMaintenanceWindowsForTargetCommandInput = DescribeMaintenanceWindowsForTargetRequest; @@ -70,7 +70,7 @@ export class DescribeMaintenanceWindowsForTargetCommand extends $Command< private serialize( input: DescribeMaintenanceWindowsForTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMaintenanceWindowsForTargetCommand( input, @@ -80,7 +80,7 @@ export class DescribeMaintenanceWindowsForTargetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMaintenanceWindowsForTargetCommand( output, diff --git a/clients/client-ssm/commands/DescribeOpsItemsCommand.ts b/clients/client-ssm/commands/DescribeOpsItemsCommand.ts index 1135ca8f2c65..8b6e0153d546 100644 --- a/clients/client-ssm/commands/DescribeOpsItemsCommand.ts +++ b/clients/client-ssm/commands/DescribeOpsItemsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOpsItemsCommandInput = DescribeOpsItemsRequest; @@ -67,14 +67,14 @@ export class DescribeOpsItemsCommand extends $Command< private serialize( input: DescribeOpsItemsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeOpsItemsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeOpsItemsCommand(output, context); } diff --git a/clients/client-ssm/commands/DescribeParametersCommand.ts b/clients/client-ssm/commands/DescribeParametersCommand.ts index 3676e68e0fe5..9ccfbe35df15 100644 --- a/clients/client-ssm/commands/DescribeParametersCommand.ts +++ b/clients/client-ssm/commands/DescribeParametersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeParametersCommandInput = DescribeParametersRequest; @@ -67,14 +67,14 @@ export class DescribeParametersCommand extends $Command< private serialize( input: DescribeParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeParametersCommand(output, context); } diff --git a/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts b/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts index 81db7de520c2..e51d098ec4d0 100644 --- a/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts +++ b/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePatchBaselinesCommandInput = DescribePatchBaselinesRequest; @@ -70,14 +70,14 @@ export class DescribePatchBaselinesCommand extends $Command< private serialize( input: DescribePatchBaselinesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePatchBaselinesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePatchBaselinesCommand(output, context); } diff --git a/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts b/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts index 45d72e6c5ba4..51ed4ed4e602 100644 --- a/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts +++ b/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePatchGroupStateCommandInput = DescribePatchGroupStateRequest; @@ -70,14 +70,14 @@ export class DescribePatchGroupStateCommand extends $Command< private serialize( input: DescribePatchGroupStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePatchGroupStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePatchGroupStateCommand( output, diff --git a/clients/client-ssm/commands/DescribePatchGroupsCommand.ts b/clients/client-ssm/commands/DescribePatchGroupsCommand.ts index 59acc8f844c7..0462b72092db 100644 --- a/clients/client-ssm/commands/DescribePatchGroupsCommand.ts +++ b/clients/client-ssm/commands/DescribePatchGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePatchGroupsCommandInput = DescribePatchGroupsRequest; @@ -70,14 +70,14 @@ export class DescribePatchGroupsCommand extends $Command< private serialize( input: DescribePatchGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePatchGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePatchGroupsCommand(output, context); } diff --git a/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts b/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts index 4afb10401600..4e73c6435af6 100644 --- a/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts +++ b/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribePatchPropertiesCommandInput = DescribePatchPropertiesRequest; @@ -70,14 +70,14 @@ export class DescribePatchPropertiesCommand extends $Command< private serialize( input: DescribePatchPropertiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribePatchPropertiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribePatchPropertiesCommand( output, diff --git a/clients/client-ssm/commands/DescribeSessionsCommand.ts b/clients/client-ssm/commands/DescribeSessionsCommand.ts index 7a3b265be659..5019dcc72bc6 100644 --- a/clients/client-ssm/commands/DescribeSessionsCommand.ts +++ b/clients/client-ssm/commands/DescribeSessionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSessionsCommandInput = DescribeSessionsRequest; @@ -67,14 +67,14 @@ export class DescribeSessionsCommand extends $Command< private serialize( input: DescribeSessionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSessionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSessionsCommand(output, context); } diff --git a/clients/client-ssm/commands/GetAutomationExecutionCommand.ts b/clients/client-ssm/commands/GetAutomationExecutionCommand.ts index f8983edd5257..c46aaf1bbc26 100644 --- a/clients/client-ssm/commands/GetAutomationExecutionCommand.ts +++ b/clients/client-ssm/commands/GetAutomationExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAutomationExecutionCommandInput = GetAutomationExecutionRequest; @@ -70,14 +70,14 @@ export class GetAutomationExecutionCommand extends $Command< private serialize( input: GetAutomationExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetAutomationExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetAutomationExecutionCommand(output, context); } diff --git a/clients/client-ssm/commands/GetCalendarStateCommand.ts b/clients/client-ssm/commands/GetCalendarStateCommand.ts index eaaabeb451f7..53796e0590f2 100644 --- a/clients/client-ssm/commands/GetCalendarStateCommand.ts +++ b/clients/client-ssm/commands/GetCalendarStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCalendarStateCommandInput = GetCalendarStateRequest; @@ -67,14 +67,14 @@ export class GetCalendarStateCommand extends $Command< private serialize( input: GetCalendarStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCalendarStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCalendarStateCommand(output, context); } diff --git a/clients/client-ssm/commands/GetCommandInvocationCommand.ts b/clients/client-ssm/commands/GetCommandInvocationCommand.ts index e24d8f7b4399..d497aa87ccee 100644 --- a/clients/client-ssm/commands/GetCommandInvocationCommand.ts +++ b/clients/client-ssm/commands/GetCommandInvocationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCommandInvocationCommandInput = GetCommandInvocationRequest; @@ -70,14 +70,14 @@ export class GetCommandInvocationCommand extends $Command< private serialize( input: GetCommandInvocationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetCommandInvocationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetCommandInvocationCommand(output, context); } diff --git a/clients/client-ssm/commands/GetConnectionStatusCommand.ts b/clients/client-ssm/commands/GetConnectionStatusCommand.ts index 0f14ff09b728..6ad0274e087b 100644 --- a/clients/client-ssm/commands/GetConnectionStatusCommand.ts +++ b/clients/client-ssm/commands/GetConnectionStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetConnectionStatusCommandInput = GetConnectionStatusRequest; @@ -70,14 +70,14 @@ export class GetConnectionStatusCommand extends $Command< private serialize( input: GetConnectionStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetConnectionStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetConnectionStatusCommand(output, context); } diff --git a/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts b/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts index bde595e5bc8b..3f1876eb6d71 100644 --- a/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts +++ b/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDefaultPatchBaselineCommandInput = GetDefaultPatchBaselineRequest; @@ -70,14 +70,14 @@ export class GetDefaultPatchBaselineCommand extends $Command< private serialize( input: GetDefaultPatchBaselineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDefaultPatchBaselineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDefaultPatchBaselineCommand( output, diff --git a/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts b/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts index 075c0d3007a2..229d50cd9416 100644 --- a/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts +++ b/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDeployablePatchSnapshotForInstanceCommandInput = GetDeployablePatchSnapshotForInstanceRequest; @@ -72,7 +72,7 @@ export class GetDeployablePatchSnapshotForInstanceCommand extends $Command< private serialize( input: GetDeployablePatchSnapshotForInstanceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDeployablePatchSnapshotForInstanceCommand( input, @@ -82,7 +82,7 @@ export class GetDeployablePatchSnapshotForInstanceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDeployablePatchSnapshotForInstanceCommand( output, diff --git a/clients/client-ssm/commands/GetDocumentCommand.ts b/clients/client-ssm/commands/GetDocumentCommand.ts index 795b82797a22..375867b54e14 100644 --- a/clients/client-ssm/commands/GetDocumentCommand.ts +++ b/clients/client-ssm/commands/GetDocumentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDocumentCommandInput = GetDocumentRequest; @@ -64,14 +64,14 @@ export class GetDocumentCommand extends $Command< private serialize( input: GetDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDocumentCommand(output, context); } diff --git a/clients/client-ssm/commands/GetInventoryCommand.ts b/clients/client-ssm/commands/GetInventoryCommand.ts index 073904d8e5fa..c6a09b2a5260 100644 --- a/clients/client-ssm/commands/GetInventoryCommand.ts +++ b/clients/client-ssm/commands/GetInventoryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInventoryCommandInput = GetInventoryRequest; @@ -64,14 +64,14 @@ export class GetInventoryCommand extends $Command< private serialize( input: GetInventoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInventoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInventoryCommand(output, context); } diff --git a/clients/client-ssm/commands/GetInventorySchemaCommand.ts b/clients/client-ssm/commands/GetInventorySchemaCommand.ts index 417728513452..7fdfc06fae36 100644 --- a/clients/client-ssm/commands/GetInventorySchemaCommand.ts +++ b/clients/client-ssm/commands/GetInventorySchemaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetInventorySchemaCommandInput = GetInventorySchemaRequest; @@ -67,14 +67,14 @@ export class GetInventorySchemaCommand extends $Command< private serialize( input: GetInventorySchemaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetInventorySchemaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetInventorySchemaCommand(output, context); } diff --git a/clients/client-ssm/commands/GetMaintenanceWindowCommand.ts b/clients/client-ssm/commands/GetMaintenanceWindowCommand.ts index 483075ab150a..d542794b480d 100644 --- a/clients/client-ssm/commands/GetMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/GetMaintenanceWindowCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMaintenanceWindowCommandInput = GetMaintenanceWindowRequest; @@ -70,14 +70,14 @@ export class GetMaintenanceWindowCommand extends $Command< private serialize( input: GetMaintenanceWindowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMaintenanceWindowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMaintenanceWindowCommand(output, context); } diff --git a/clients/client-ssm/commands/GetMaintenanceWindowExecutionCommand.ts b/clients/client-ssm/commands/GetMaintenanceWindowExecutionCommand.ts index 8fd67f5fff61..d90821db678c 100644 --- a/clients/client-ssm/commands/GetMaintenanceWindowExecutionCommand.ts +++ b/clients/client-ssm/commands/GetMaintenanceWindowExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMaintenanceWindowExecutionCommandInput = GetMaintenanceWindowExecutionRequest; @@ -70,7 +70,7 @@ export class GetMaintenanceWindowExecutionCommand extends $Command< private serialize( input: GetMaintenanceWindowExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMaintenanceWindowExecutionCommand( input, @@ -80,7 +80,7 @@ export class GetMaintenanceWindowExecutionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMaintenanceWindowExecutionCommand( output, diff --git a/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskCommand.ts b/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskCommand.ts index b4591ad4709f..b5a2c6551bb5 100644 --- a/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskCommand.ts +++ b/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMaintenanceWindowExecutionTaskCommandInput = GetMaintenanceWindowExecutionTaskRequest; @@ -70,7 +70,7 @@ export class GetMaintenanceWindowExecutionTaskCommand extends $Command< private serialize( input: GetMaintenanceWindowExecutionTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMaintenanceWindowExecutionTaskCommand( input, @@ -80,7 +80,7 @@ export class GetMaintenanceWindowExecutionTaskCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMaintenanceWindowExecutionTaskCommand( output, diff --git a/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.ts b/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.ts index a24abc59c761..90f83983a524 100644 --- a/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.ts +++ b/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMaintenanceWindowExecutionTaskInvocationCommandInput = GetMaintenanceWindowExecutionTaskInvocationRequest; @@ -72,7 +72,7 @@ export class GetMaintenanceWindowExecutionTaskInvocationCommand extends $Command private serialize( input: GetMaintenanceWindowExecutionTaskInvocationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationCommand( input, @@ -82,7 +82,7 @@ export class GetMaintenanceWindowExecutionTaskInvocationCommand extends $Command private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationCommand( output, diff --git a/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts b/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts index ce3702d194b0..1bdb361ac375 100644 --- a/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts +++ b/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMaintenanceWindowTaskCommandInput = GetMaintenanceWindowTaskRequest; @@ -70,14 +70,14 @@ export class GetMaintenanceWindowTaskCommand extends $Command< private serialize( input: GetMaintenanceWindowTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMaintenanceWindowTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMaintenanceWindowTaskCommand( output, diff --git a/clients/client-ssm/commands/GetOpsItemCommand.ts b/clients/client-ssm/commands/GetOpsItemCommand.ts index be8d57154ba0..4443294273c6 100644 --- a/clients/client-ssm/commands/GetOpsItemCommand.ts +++ b/clients/client-ssm/commands/GetOpsItemCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOpsItemCommandInput = GetOpsItemRequest; @@ -64,14 +64,14 @@ export class GetOpsItemCommand extends $Command< private serialize( input: GetOpsItemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOpsItemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOpsItemCommand(output, context); } diff --git a/clients/client-ssm/commands/GetOpsSummaryCommand.ts b/clients/client-ssm/commands/GetOpsSummaryCommand.ts index da17d7c197e6..7c5a7294f00e 100644 --- a/clients/client-ssm/commands/GetOpsSummaryCommand.ts +++ b/clients/client-ssm/commands/GetOpsSummaryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetOpsSummaryCommandInput = GetOpsSummaryRequest; @@ -64,14 +64,14 @@ export class GetOpsSummaryCommand extends $Command< private serialize( input: GetOpsSummaryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetOpsSummaryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetOpsSummaryCommand(output, context); } diff --git a/clients/client-ssm/commands/GetParameterCommand.ts b/clients/client-ssm/commands/GetParameterCommand.ts index 381fc43e2595..92a22e32b0be 100644 --- a/clients/client-ssm/commands/GetParameterCommand.ts +++ b/clients/client-ssm/commands/GetParameterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetParameterCommandInput = GetParameterRequest; @@ -64,14 +64,14 @@ export class GetParameterCommand extends $Command< private serialize( input: GetParameterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetParameterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetParameterCommand(output, context); } diff --git a/clients/client-ssm/commands/GetParameterHistoryCommand.ts b/clients/client-ssm/commands/GetParameterHistoryCommand.ts index 41da60fdf461..f449d34cadb3 100644 --- a/clients/client-ssm/commands/GetParameterHistoryCommand.ts +++ b/clients/client-ssm/commands/GetParameterHistoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetParameterHistoryCommandInput = GetParameterHistoryRequest; @@ -70,14 +70,14 @@ export class GetParameterHistoryCommand extends $Command< private serialize( input: GetParameterHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetParameterHistoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetParameterHistoryCommand(output, context); } diff --git a/clients/client-ssm/commands/GetParametersByPathCommand.ts b/clients/client-ssm/commands/GetParametersByPathCommand.ts index e4e107d17a53..20c316f043e1 100644 --- a/clients/client-ssm/commands/GetParametersByPathCommand.ts +++ b/clients/client-ssm/commands/GetParametersByPathCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetParametersByPathCommandInput = GetParametersByPathRequest; @@ -70,14 +70,14 @@ export class GetParametersByPathCommand extends $Command< private serialize( input: GetParametersByPathCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetParametersByPathCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetParametersByPathCommand(output, context); } diff --git a/clients/client-ssm/commands/GetParametersCommand.ts b/clients/client-ssm/commands/GetParametersCommand.ts index 243f9f631d05..eec9f1afb0a6 100644 --- a/clients/client-ssm/commands/GetParametersCommand.ts +++ b/clients/client-ssm/commands/GetParametersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetParametersCommandInput = GetParametersRequest; @@ -64,14 +64,14 @@ export class GetParametersCommand extends $Command< private serialize( input: GetParametersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetParametersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetParametersCommand(output, context); } diff --git a/clients/client-ssm/commands/GetPatchBaselineCommand.ts b/clients/client-ssm/commands/GetPatchBaselineCommand.ts index 7a1762bd16ac..d38e4bd13fd6 100644 --- a/clients/client-ssm/commands/GetPatchBaselineCommand.ts +++ b/clients/client-ssm/commands/GetPatchBaselineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPatchBaselineCommandInput = GetPatchBaselineRequest; @@ -67,14 +67,14 @@ export class GetPatchBaselineCommand extends $Command< private serialize( input: GetPatchBaselineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPatchBaselineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPatchBaselineCommand(output, context); } diff --git a/clients/client-ssm/commands/GetPatchBaselineForPatchGroupCommand.ts b/clients/client-ssm/commands/GetPatchBaselineForPatchGroupCommand.ts index bf4c8afd058c..9bc4fbecb839 100644 --- a/clients/client-ssm/commands/GetPatchBaselineForPatchGroupCommand.ts +++ b/clients/client-ssm/commands/GetPatchBaselineForPatchGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPatchBaselineForPatchGroupCommandInput = GetPatchBaselineForPatchGroupRequest; @@ -70,7 +70,7 @@ export class GetPatchBaselineForPatchGroupCommand extends $Command< private serialize( input: GetPatchBaselineForPatchGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPatchBaselineForPatchGroupCommand( input, @@ -80,7 +80,7 @@ export class GetPatchBaselineForPatchGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPatchBaselineForPatchGroupCommand( output, diff --git a/clients/client-ssm/commands/GetServiceSettingCommand.ts b/clients/client-ssm/commands/GetServiceSettingCommand.ts index 594ce2b07908..d004d7a06bc5 100644 --- a/clients/client-ssm/commands/GetServiceSettingCommand.ts +++ b/clients/client-ssm/commands/GetServiceSettingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServiceSettingCommandInput = GetServiceSettingRequest; @@ -67,14 +67,14 @@ export class GetServiceSettingCommand extends $Command< private serialize( input: GetServiceSettingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetServiceSettingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetServiceSettingCommand(output, context); } diff --git a/clients/client-ssm/commands/LabelParameterVersionCommand.ts b/clients/client-ssm/commands/LabelParameterVersionCommand.ts index c2f66914c049..d5d016cd5807 100644 --- a/clients/client-ssm/commands/LabelParameterVersionCommand.ts +++ b/clients/client-ssm/commands/LabelParameterVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type LabelParameterVersionCommandInput = LabelParameterVersionRequest; @@ -70,14 +70,14 @@ export class LabelParameterVersionCommand extends $Command< private serialize( input: LabelParameterVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1LabelParameterVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1LabelParameterVersionCommand(output, context); } diff --git a/clients/client-ssm/commands/ListAssociationVersionsCommand.ts b/clients/client-ssm/commands/ListAssociationVersionsCommand.ts index 21517ccf6fd1..18c6661f7f67 100644 --- a/clients/client-ssm/commands/ListAssociationVersionsCommand.ts +++ b/clients/client-ssm/commands/ListAssociationVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssociationVersionsCommandInput = ListAssociationVersionsRequest; @@ -70,14 +70,14 @@ export class ListAssociationVersionsCommand extends $Command< private serialize( input: ListAssociationVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAssociationVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAssociationVersionsCommand( output, diff --git a/clients/client-ssm/commands/ListAssociationsCommand.ts b/clients/client-ssm/commands/ListAssociationsCommand.ts index 20bef2e2a3fc..1d6300ab5d69 100644 --- a/clients/client-ssm/commands/ListAssociationsCommand.ts +++ b/clients/client-ssm/commands/ListAssociationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAssociationsCommandInput = ListAssociationsRequest; @@ -67,14 +67,14 @@ export class ListAssociationsCommand extends $Command< private serialize( input: ListAssociationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAssociationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAssociationsCommand(output, context); } diff --git a/clients/client-ssm/commands/ListCommandInvocationsCommand.ts b/clients/client-ssm/commands/ListCommandInvocationsCommand.ts index 1174a785bf01..87ae1f0a1e43 100644 --- a/clients/client-ssm/commands/ListCommandInvocationsCommand.ts +++ b/clients/client-ssm/commands/ListCommandInvocationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCommandInvocationsCommandInput = ListCommandInvocationsRequest; @@ -70,14 +70,14 @@ export class ListCommandInvocationsCommand extends $Command< private serialize( input: ListCommandInvocationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCommandInvocationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCommandInvocationsCommand(output, context); } diff --git a/clients/client-ssm/commands/ListCommandsCommand.ts b/clients/client-ssm/commands/ListCommandsCommand.ts index 802c924a2e85..b442b6f40859 100644 --- a/clients/client-ssm/commands/ListCommandsCommand.ts +++ b/clients/client-ssm/commands/ListCommandsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListCommandsCommandInput = ListCommandsRequest; @@ -64,14 +64,14 @@ export class ListCommandsCommand extends $Command< private serialize( input: ListCommandsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListCommandsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListCommandsCommand(output, context); } diff --git a/clients/client-ssm/commands/ListComplianceItemsCommand.ts b/clients/client-ssm/commands/ListComplianceItemsCommand.ts index 25b03a20126d..4c9e89807731 100644 --- a/clients/client-ssm/commands/ListComplianceItemsCommand.ts +++ b/clients/client-ssm/commands/ListComplianceItemsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListComplianceItemsCommandInput = ListComplianceItemsRequest; @@ -70,14 +70,14 @@ export class ListComplianceItemsCommand extends $Command< private serialize( input: ListComplianceItemsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListComplianceItemsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListComplianceItemsCommand(output, context); } diff --git a/clients/client-ssm/commands/ListComplianceSummariesCommand.ts b/clients/client-ssm/commands/ListComplianceSummariesCommand.ts index 9e994e5a2bb5..9ed4819d06a4 100644 --- a/clients/client-ssm/commands/ListComplianceSummariesCommand.ts +++ b/clients/client-ssm/commands/ListComplianceSummariesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListComplianceSummariesCommandInput = ListComplianceSummariesRequest; @@ -70,14 +70,14 @@ export class ListComplianceSummariesCommand extends $Command< private serialize( input: ListComplianceSummariesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListComplianceSummariesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListComplianceSummariesCommand( output, diff --git a/clients/client-ssm/commands/ListDocumentVersionsCommand.ts b/clients/client-ssm/commands/ListDocumentVersionsCommand.ts index 861f201aaebf..dc29c6d5ddb3 100644 --- a/clients/client-ssm/commands/ListDocumentVersionsCommand.ts +++ b/clients/client-ssm/commands/ListDocumentVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDocumentVersionsCommandInput = ListDocumentVersionsRequest; @@ -70,14 +70,14 @@ export class ListDocumentVersionsCommand extends $Command< private serialize( input: ListDocumentVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDocumentVersionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDocumentVersionsCommand(output, context); } diff --git a/clients/client-ssm/commands/ListDocumentsCommand.ts b/clients/client-ssm/commands/ListDocumentsCommand.ts index 1b1563f72afa..1a679ba19526 100644 --- a/clients/client-ssm/commands/ListDocumentsCommand.ts +++ b/clients/client-ssm/commands/ListDocumentsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDocumentsCommandInput = ListDocumentsRequest; @@ -64,14 +64,14 @@ export class ListDocumentsCommand extends $Command< private serialize( input: ListDocumentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListDocumentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListDocumentsCommand(output, context); } diff --git a/clients/client-ssm/commands/ListInventoryEntriesCommand.ts b/clients/client-ssm/commands/ListInventoryEntriesCommand.ts index 2113de77b1ed..d123d2b1080f 100644 --- a/clients/client-ssm/commands/ListInventoryEntriesCommand.ts +++ b/clients/client-ssm/commands/ListInventoryEntriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListInventoryEntriesCommandInput = ListInventoryEntriesRequest; @@ -70,14 +70,14 @@ export class ListInventoryEntriesCommand extends $Command< private serialize( input: ListInventoryEntriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListInventoryEntriesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListInventoryEntriesCommand(output, context); } diff --git a/clients/client-ssm/commands/ListResourceComplianceSummariesCommand.ts b/clients/client-ssm/commands/ListResourceComplianceSummariesCommand.ts index b6cd3542d0a9..bbc809533acc 100644 --- a/clients/client-ssm/commands/ListResourceComplianceSummariesCommand.ts +++ b/clients/client-ssm/commands/ListResourceComplianceSummariesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourceComplianceSummariesCommandInput = ListResourceComplianceSummariesRequest; @@ -70,7 +70,7 @@ export class ListResourceComplianceSummariesCommand extends $Command< private serialize( input: ListResourceComplianceSummariesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourceComplianceSummariesCommand( input, @@ -80,7 +80,7 @@ export class ListResourceComplianceSummariesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourceComplianceSummariesCommand( output, diff --git a/clients/client-ssm/commands/ListResourceDataSyncCommand.ts b/clients/client-ssm/commands/ListResourceDataSyncCommand.ts index 87db39615e3c..257eb38f8792 100644 --- a/clients/client-ssm/commands/ListResourceDataSyncCommand.ts +++ b/clients/client-ssm/commands/ListResourceDataSyncCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourceDataSyncCommandInput = ListResourceDataSyncRequest; @@ -70,14 +70,14 @@ export class ListResourceDataSyncCommand extends $Command< private serialize( input: ListResourceDataSyncCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourceDataSyncCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourceDataSyncCommand(output, context); } diff --git a/clients/client-ssm/commands/ListTagsForResourceCommand.ts b/clients/client-ssm/commands/ListTagsForResourceCommand.ts index 5706ebc2fe81..6c94010644f2 100644 --- a/clients/client-ssm/commands/ListTagsForResourceCommand.ts +++ b/clients/client-ssm/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts b/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts index 9c35cf7957ab..e91e672bfec5 100644 --- a/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts +++ b/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyDocumentPermissionCommandInput = ModifyDocumentPermissionRequest; @@ -70,14 +70,14 @@ export class ModifyDocumentPermissionCommand extends $Command< private serialize( input: ModifyDocumentPermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyDocumentPermissionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyDocumentPermissionCommand( output, diff --git a/clients/client-ssm/commands/PutComplianceItemsCommand.ts b/clients/client-ssm/commands/PutComplianceItemsCommand.ts index aedd730185fa..e8a2925b84fb 100644 --- a/clients/client-ssm/commands/PutComplianceItemsCommand.ts +++ b/clients/client-ssm/commands/PutComplianceItemsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutComplianceItemsCommandInput = PutComplianceItemsRequest; @@ -67,14 +67,14 @@ export class PutComplianceItemsCommand extends $Command< private serialize( input: PutComplianceItemsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutComplianceItemsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutComplianceItemsCommand(output, context); } diff --git a/clients/client-ssm/commands/PutInventoryCommand.ts b/clients/client-ssm/commands/PutInventoryCommand.ts index a20b626788e3..5f0e523cf457 100644 --- a/clients/client-ssm/commands/PutInventoryCommand.ts +++ b/clients/client-ssm/commands/PutInventoryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutInventoryCommandInput = PutInventoryRequest; @@ -64,14 +64,14 @@ export class PutInventoryCommand extends $Command< private serialize( input: PutInventoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutInventoryCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutInventoryCommand(output, context); } diff --git a/clients/client-ssm/commands/PutParameterCommand.ts b/clients/client-ssm/commands/PutParameterCommand.ts index 1594c8c8781d..815b4194ad20 100644 --- a/clients/client-ssm/commands/PutParameterCommand.ts +++ b/clients/client-ssm/commands/PutParameterCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutParameterCommandInput = PutParameterRequest; @@ -64,14 +64,14 @@ export class PutParameterCommand extends $Command< private serialize( input: PutParameterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutParameterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutParameterCommand(output, context); } diff --git a/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts b/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts index adeab339dbc5..9a8923dff449 100644 --- a/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts +++ b/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterDefaultPatchBaselineCommandInput = RegisterDefaultPatchBaselineRequest; @@ -70,7 +70,7 @@ export class RegisterDefaultPatchBaselineCommand extends $Command< private serialize( input: RegisterDefaultPatchBaselineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterDefaultPatchBaselineCommand( input, @@ -80,7 +80,7 @@ export class RegisterDefaultPatchBaselineCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterDefaultPatchBaselineCommand( output, diff --git a/clients/client-ssm/commands/RegisterPatchBaselineForPatchGroupCommand.ts b/clients/client-ssm/commands/RegisterPatchBaselineForPatchGroupCommand.ts index 3a1624bc7bb3..24262bd5596e 100644 --- a/clients/client-ssm/commands/RegisterPatchBaselineForPatchGroupCommand.ts +++ b/clients/client-ssm/commands/RegisterPatchBaselineForPatchGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterPatchBaselineForPatchGroupCommandInput = RegisterPatchBaselineForPatchGroupRequest; @@ -70,7 +70,7 @@ export class RegisterPatchBaselineForPatchGroupCommand extends $Command< private serialize( input: RegisterPatchBaselineForPatchGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterPatchBaselineForPatchGroupCommand( input, @@ -80,7 +80,7 @@ export class RegisterPatchBaselineForPatchGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterPatchBaselineForPatchGroupCommand( output, diff --git a/clients/client-ssm/commands/RegisterTargetWithMaintenanceWindowCommand.ts b/clients/client-ssm/commands/RegisterTargetWithMaintenanceWindowCommand.ts index b9eb805b5d25..5b0116ea3b9e 100644 --- a/clients/client-ssm/commands/RegisterTargetWithMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/RegisterTargetWithMaintenanceWindowCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterTargetWithMaintenanceWindowCommandInput = RegisterTargetWithMaintenanceWindowRequest; @@ -70,7 +70,7 @@ export class RegisterTargetWithMaintenanceWindowCommand extends $Command< private serialize( input: RegisterTargetWithMaintenanceWindowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterTargetWithMaintenanceWindowCommand( input, @@ -80,7 +80,7 @@ export class RegisterTargetWithMaintenanceWindowCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterTargetWithMaintenanceWindowCommand( output, diff --git a/clients/client-ssm/commands/RegisterTaskWithMaintenanceWindowCommand.ts b/clients/client-ssm/commands/RegisterTaskWithMaintenanceWindowCommand.ts index 77b03967dcfa..bde3b5b1bb8d 100644 --- a/clients/client-ssm/commands/RegisterTaskWithMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/RegisterTaskWithMaintenanceWindowCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterTaskWithMaintenanceWindowCommandInput = RegisterTaskWithMaintenanceWindowRequest; @@ -70,7 +70,7 @@ export class RegisterTaskWithMaintenanceWindowCommand extends $Command< private serialize( input: RegisterTaskWithMaintenanceWindowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterTaskWithMaintenanceWindowCommand( input, @@ -80,7 +80,7 @@ export class RegisterTaskWithMaintenanceWindowCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterTaskWithMaintenanceWindowCommand( output, diff --git a/clients/client-ssm/commands/RemoveTagsFromResourceCommand.ts b/clients/client-ssm/commands/RemoveTagsFromResourceCommand.ts index c82020633c03..1415d1a9936a 100644 --- a/clients/client-ssm/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-ssm/commands/RemoveTagsFromResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromResourceCommandInput = RemoveTagsFromResourceRequest; @@ -70,14 +70,14 @@ export class RemoveTagsFromResourceCommand extends $Command< private serialize( input: RemoveTagsFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTagsFromResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTagsFromResourceCommand(output, context); } diff --git a/clients/client-ssm/commands/ResetServiceSettingCommand.ts b/clients/client-ssm/commands/ResetServiceSettingCommand.ts index cc039822f3dd..60ce70429a90 100644 --- a/clients/client-ssm/commands/ResetServiceSettingCommand.ts +++ b/clients/client-ssm/commands/ResetServiceSettingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetServiceSettingCommandInput = ResetServiceSettingRequest; @@ -70,14 +70,14 @@ export class ResetServiceSettingCommand extends $Command< private serialize( input: ResetServiceSettingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResetServiceSettingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResetServiceSettingCommand(output, context); } diff --git a/clients/client-ssm/commands/ResumeSessionCommand.ts b/clients/client-ssm/commands/ResumeSessionCommand.ts index 3c022dd394e3..e7be0cd9cf42 100644 --- a/clients/client-ssm/commands/ResumeSessionCommand.ts +++ b/clients/client-ssm/commands/ResumeSessionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResumeSessionCommandInput = ResumeSessionRequest; @@ -64,14 +64,14 @@ export class ResumeSessionCommand extends $Command< private serialize( input: ResumeSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResumeSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResumeSessionCommand(output, context); } diff --git a/clients/client-ssm/commands/SendAutomationSignalCommand.ts b/clients/client-ssm/commands/SendAutomationSignalCommand.ts index b4187789d649..62d34a94095f 100644 --- a/clients/client-ssm/commands/SendAutomationSignalCommand.ts +++ b/clients/client-ssm/commands/SendAutomationSignalCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendAutomationSignalCommandInput = SendAutomationSignalRequest; @@ -70,14 +70,14 @@ export class SendAutomationSignalCommand extends $Command< private serialize( input: SendAutomationSignalCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SendAutomationSignalCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SendAutomationSignalCommand(output, context); } diff --git a/clients/client-ssm/commands/SendCommandCommand.ts b/clients/client-ssm/commands/SendCommandCommand.ts index daf5c5c9f053..a75c9a5ce720 100644 --- a/clients/client-ssm/commands/SendCommandCommand.ts +++ b/clients/client-ssm/commands/SendCommandCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SendCommandCommandInput = SendCommandRequest; @@ -64,14 +64,14 @@ export class SendCommandCommand extends $Command< private serialize( input: SendCommandCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SendCommandCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SendCommandCommand(output, context); } diff --git a/clients/client-ssm/commands/StartAssociationsOnceCommand.ts b/clients/client-ssm/commands/StartAssociationsOnceCommand.ts index 2b16c11cb881..beeeb32e2e63 100644 --- a/clients/client-ssm/commands/StartAssociationsOnceCommand.ts +++ b/clients/client-ssm/commands/StartAssociationsOnceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartAssociationsOnceCommandInput = StartAssociationsOnceRequest; @@ -70,14 +70,14 @@ export class StartAssociationsOnceCommand extends $Command< private serialize( input: StartAssociationsOnceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartAssociationsOnceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartAssociationsOnceCommand(output, context); } diff --git a/clients/client-ssm/commands/StartAutomationExecutionCommand.ts b/clients/client-ssm/commands/StartAutomationExecutionCommand.ts index 6dd69d59fa13..55cd431ef77f 100644 --- a/clients/client-ssm/commands/StartAutomationExecutionCommand.ts +++ b/clients/client-ssm/commands/StartAutomationExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartAutomationExecutionCommandInput = StartAutomationExecutionRequest; @@ -70,14 +70,14 @@ export class StartAutomationExecutionCommand extends $Command< private serialize( input: StartAutomationExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartAutomationExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartAutomationExecutionCommand( output, diff --git a/clients/client-ssm/commands/StartSessionCommand.ts b/clients/client-ssm/commands/StartSessionCommand.ts index fba9460461f1..bd4186ff5f41 100644 --- a/clients/client-ssm/commands/StartSessionCommand.ts +++ b/clients/client-ssm/commands/StartSessionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartSessionCommandInput = StartSessionRequest; @@ -64,14 +64,14 @@ export class StartSessionCommand extends $Command< private serialize( input: StartSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartSessionCommand(output, context); } diff --git a/clients/client-ssm/commands/StopAutomationExecutionCommand.ts b/clients/client-ssm/commands/StopAutomationExecutionCommand.ts index ac724e0a5aef..8eabcab76869 100644 --- a/clients/client-ssm/commands/StopAutomationExecutionCommand.ts +++ b/clients/client-ssm/commands/StopAutomationExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopAutomationExecutionCommandInput = StopAutomationExecutionRequest; @@ -70,14 +70,14 @@ export class StopAutomationExecutionCommand extends $Command< private serialize( input: StopAutomationExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopAutomationExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopAutomationExecutionCommand( output, diff --git a/clients/client-ssm/commands/TerminateSessionCommand.ts b/clients/client-ssm/commands/TerminateSessionCommand.ts index f06f3b9d155d..a2972e325311 100644 --- a/clients/client-ssm/commands/TerminateSessionCommand.ts +++ b/clients/client-ssm/commands/TerminateSessionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TerminateSessionCommandInput = TerminateSessionRequest; @@ -67,14 +67,14 @@ export class TerminateSessionCommand extends $Command< private serialize( input: TerminateSessionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TerminateSessionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TerminateSessionCommand(output, context); } diff --git a/clients/client-ssm/commands/UpdateAssociationCommand.ts b/clients/client-ssm/commands/UpdateAssociationCommand.ts index 650b732267e8..cbf84c55791e 100644 --- a/clients/client-ssm/commands/UpdateAssociationCommand.ts +++ b/clients/client-ssm/commands/UpdateAssociationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAssociationCommandInput = UpdateAssociationRequest; @@ -67,14 +67,14 @@ export class UpdateAssociationCommand extends $Command< private serialize( input: UpdateAssociationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAssociationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAssociationCommand(output, context); } diff --git a/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts b/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts index f97db58c14a4..262b483900c1 100644 --- a/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts +++ b/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAssociationStatusCommandInput = UpdateAssociationStatusRequest; @@ -70,14 +70,14 @@ export class UpdateAssociationStatusCommand extends $Command< private serialize( input: UpdateAssociationStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateAssociationStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateAssociationStatusCommand( output, diff --git a/clients/client-ssm/commands/UpdateDocumentCommand.ts b/clients/client-ssm/commands/UpdateDocumentCommand.ts index 108e322bb0c2..5fad4e9d693e 100644 --- a/clients/client-ssm/commands/UpdateDocumentCommand.ts +++ b/clients/client-ssm/commands/UpdateDocumentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDocumentCommandInput = UpdateDocumentRequest; @@ -64,14 +64,14 @@ export class UpdateDocumentCommand extends $Command< private serialize( input: UpdateDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDocumentCommand(output, context); } diff --git a/clients/client-ssm/commands/UpdateDocumentDefaultVersionCommand.ts b/clients/client-ssm/commands/UpdateDocumentDefaultVersionCommand.ts index 248c7420b919..e082155ad46d 100644 --- a/clients/client-ssm/commands/UpdateDocumentDefaultVersionCommand.ts +++ b/clients/client-ssm/commands/UpdateDocumentDefaultVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDocumentDefaultVersionCommandInput = UpdateDocumentDefaultVersionRequest; @@ -70,7 +70,7 @@ export class UpdateDocumentDefaultVersionCommand extends $Command< private serialize( input: UpdateDocumentDefaultVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateDocumentDefaultVersionCommand( input, @@ -80,7 +80,7 @@ export class UpdateDocumentDefaultVersionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateDocumentDefaultVersionCommand( output, diff --git a/clients/client-ssm/commands/UpdateMaintenanceWindowCommand.ts b/clients/client-ssm/commands/UpdateMaintenanceWindowCommand.ts index 18839707f374..5f16d9cfc1af 100644 --- a/clients/client-ssm/commands/UpdateMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/UpdateMaintenanceWindowCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMaintenanceWindowCommandInput = UpdateMaintenanceWindowRequest; @@ -70,14 +70,14 @@ export class UpdateMaintenanceWindowCommand extends $Command< private serialize( input: UpdateMaintenanceWindowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateMaintenanceWindowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateMaintenanceWindowCommand( output, diff --git a/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts b/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts index 4256c21d8f26..743d08e01245 100644 --- a/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts +++ b/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMaintenanceWindowTargetCommandInput = UpdateMaintenanceWindowTargetRequest; @@ -70,7 +70,7 @@ export class UpdateMaintenanceWindowTargetCommand extends $Command< private serialize( input: UpdateMaintenanceWindowTargetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateMaintenanceWindowTargetCommand( input, @@ -80,7 +80,7 @@ export class UpdateMaintenanceWindowTargetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateMaintenanceWindowTargetCommand( output, diff --git a/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts b/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts index a34814e7537a..b6555149e802 100644 --- a/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts +++ b/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMaintenanceWindowTaskCommandInput = UpdateMaintenanceWindowTaskRequest; @@ -70,7 +70,7 @@ export class UpdateMaintenanceWindowTaskCommand extends $Command< private serialize( input: UpdateMaintenanceWindowTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateMaintenanceWindowTaskCommand( input, @@ -80,7 +80,7 @@ export class UpdateMaintenanceWindowTaskCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateMaintenanceWindowTaskCommand( output, diff --git a/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts b/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts index 1093c10d4c88..966303101401 100644 --- a/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts +++ b/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateManagedInstanceRoleCommandInput = UpdateManagedInstanceRoleRequest; @@ -70,14 +70,14 @@ export class UpdateManagedInstanceRoleCommand extends $Command< private serialize( input: UpdateManagedInstanceRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateManagedInstanceRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateManagedInstanceRoleCommand( output, diff --git a/clients/client-ssm/commands/UpdateOpsItemCommand.ts b/clients/client-ssm/commands/UpdateOpsItemCommand.ts index 4cbb99441ebd..adae2d6d1c7f 100644 --- a/clients/client-ssm/commands/UpdateOpsItemCommand.ts +++ b/clients/client-ssm/commands/UpdateOpsItemCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateOpsItemCommandInput = UpdateOpsItemRequest; @@ -64,14 +64,14 @@ export class UpdateOpsItemCommand extends $Command< private serialize( input: UpdateOpsItemCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateOpsItemCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateOpsItemCommand(output, context); } diff --git a/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts b/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts index 075517b4d96f..047acc53c926 100644 --- a/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts +++ b/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePatchBaselineCommandInput = UpdatePatchBaselineRequest; @@ -70,14 +70,14 @@ export class UpdatePatchBaselineCommand extends $Command< private serialize( input: UpdatePatchBaselineCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdatePatchBaselineCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdatePatchBaselineCommand(output, context); } diff --git a/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts b/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts index 655ac34d544e..843ff330209a 100644 --- a/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts +++ b/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateResourceDataSyncCommandInput = UpdateResourceDataSyncRequest; @@ -70,14 +70,14 @@ export class UpdateResourceDataSyncCommand extends $Command< private serialize( input: UpdateResourceDataSyncCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateResourceDataSyncCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateResourceDataSyncCommand(output, context); } diff --git a/clients/client-ssm/commands/UpdateServiceSettingCommand.ts b/clients/client-ssm/commands/UpdateServiceSettingCommand.ts index 181704c94e8b..9e338b85260c 100644 --- a/clients/client-ssm/commands/UpdateServiceSettingCommand.ts +++ b/clients/client-ssm/commands/UpdateServiceSettingCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServiceSettingCommandInput = UpdateServiceSettingRequest; @@ -70,14 +70,14 @@ export class UpdateServiceSettingCommand extends $Command< private serialize( input: UpdateServiceSettingCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateServiceSettingCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateServiceSettingCommand(output, context); } diff --git a/clients/client-ssm/protocols/Aws_json1_1.ts b/clients/client-ssm/protocols/Aws_json1_1.ts index da9f8b999032..e3680fb3ef9e 100644 --- a/clients/client-ssm/protocols/Aws_json1_1.ts +++ b/clients/client-ssm/protocols/Aws_json1_1.ts @@ -28919,6 +28919,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-sso-oidc/commands/CreateTokenCommand.ts b/clients/client-sso-oidc/commands/CreateTokenCommand.ts index b18503389f9f..f57c4b166a7a 100644 --- a/clients/client-sso-oidc/commands/CreateTokenCommand.ts +++ b/clients/client-sso-oidc/commands/CreateTokenCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTokenCommandInput = CreateTokenRequest; @@ -64,14 +64,14 @@ export class CreateTokenCommand extends $Command< private serialize( input: CreateTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateTokenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateTokenCommand(output, context); } diff --git a/clients/client-sso-oidc/commands/RegisterClientCommand.ts b/clients/client-sso-oidc/commands/RegisterClientCommand.ts index c2ace87843d2..0780a468d0b4 100644 --- a/clients/client-sso-oidc/commands/RegisterClientCommand.ts +++ b/clients/client-sso-oidc/commands/RegisterClientCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterClientCommandInput = RegisterClientRequest; @@ -64,14 +64,14 @@ export class RegisterClientCommand extends $Command< private serialize( input: RegisterClientCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RegisterClientCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RegisterClientCommand(output, context); } diff --git a/clients/client-sso-oidc/commands/StartDeviceAuthorizationCommand.ts b/clients/client-sso-oidc/commands/StartDeviceAuthorizationCommand.ts index 991e194192c6..38111e03ca3f 100644 --- a/clients/client-sso-oidc/commands/StartDeviceAuthorizationCommand.ts +++ b/clients/client-sso-oidc/commands/StartDeviceAuthorizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDeviceAuthorizationCommandInput = StartDeviceAuthorizationRequest; @@ -70,7 +70,7 @@ export class StartDeviceAuthorizationCommand extends $Command< private serialize( input: StartDeviceAuthorizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartDeviceAuthorizationCommand( input, @@ -80,7 +80,7 @@ export class StartDeviceAuthorizationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1StartDeviceAuthorizationCommand( output, diff --git a/clients/client-sso-oidc/protocols/Aws_restJson1_1.ts b/clients/client-sso-oidc/protocols/Aws_restJson1_1.ts index a201d9f5200d..74d51176db86 100644 --- a/clients/client-sso-oidc/protocols/Aws_restJson1_1.ts +++ b/clients/client-sso-oidc/protocols/Aws_restJson1_1.ts @@ -760,6 +760,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-sso/commands/GetRoleCredentialsCommand.ts b/clients/client-sso/commands/GetRoleCredentialsCommand.ts index 591660718cb0..8d2968a29671 100644 --- a/clients/client-sso/commands/GetRoleCredentialsCommand.ts +++ b/clients/client-sso/commands/GetRoleCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRoleCredentialsCommandInput = GetRoleCredentialsRequest; @@ -67,14 +67,14 @@ export class GetRoleCredentialsCommand extends $Command< private serialize( input: GetRoleCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRoleCredentialsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRoleCredentialsCommand(output, context); } diff --git a/clients/client-sso/commands/ListAccountRolesCommand.ts b/clients/client-sso/commands/ListAccountRolesCommand.ts index cdbaddf05b4f..b5b30e93b7cb 100644 --- a/clients/client-sso/commands/ListAccountRolesCommand.ts +++ b/clients/client-sso/commands/ListAccountRolesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAccountRolesCommandInput = ListAccountRolesRequest; @@ -67,14 +67,14 @@ export class ListAccountRolesCommand extends $Command< private serialize( input: ListAccountRolesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAccountRolesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAccountRolesCommand(output, context); } diff --git a/clients/client-sso/commands/ListAccountsCommand.ts b/clients/client-sso/commands/ListAccountsCommand.ts index 2d66f072f13e..19644cafbc7b 100644 --- a/clients/client-sso/commands/ListAccountsCommand.ts +++ b/clients/client-sso/commands/ListAccountsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAccountsCommandInput = ListAccountsRequest; @@ -64,14 +64,14 @@ export class ListAccountsCommand extends $Command< private serialize( input: ListAccountsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListAccountsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListAccountsCommand(output, context); } diff --git a/clients/client-sso/commands/LogoutCommand.ts b/clients/client-sso/commands/LogoutCommand.ts index 7c1fc1b4d7ad..3a396a886083 100644 --- a/clients/client-sso/commands/LogoutCommand.ts +++ b/clients/client-sso/commands/LogoutCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type LogoutCommandInput = LogoutRequest; @@ -65,14 +65,14 @@ export class LogoutCommand extends $Command< private serialize( input: LogoutCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1LogoutCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1LogoutCommand(output, context); } diff --git a/clients/client-sso/protocols/Aws_restJson1_1.ts b/clients/client-sso/protocols/Aws_restJson1_1.ts index 7bc5386bd794..2e5569c613b3 100644 --- a/clients/client-sso/protocols/Aws_restJson1_1.ts +++ b/clients/client-sso/protocols/Aws_restJson1_1.ts @@ -625,6 +625,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-storage-gateway/commands/ActivateGatewayCommand.ts b/clients/client-storage-gateway/commands/ActivateGatewayCommand.ts index c5ff10c54830..d759444b67b4 100644 --- a/clients/client-storage-gateway/commands/ActivateGatewayCommand.ts +++ b/clients/client-storage-gateway/commands/ActivateGatewayCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ActivateGatewayCommandInput = ActivateGatewayInput; @@ -64,14 +64,14 @@ export class ActivateGatewayCommand extends $Command< private serialize( input: ActivateGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ActivateGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ActivateGatewayCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/AddCacheCommand.ts b/clients/client-storage-gateway/commands/AddCacheCommand.ts index 79772fa692f9..3286c6de4598 100644 --- a/clients/client-storage-gateway/commands/AddCacheCommand.ts +++ b/clients/client-storage-gateway/commands/AddCacheCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddCacheCommandInput = AddCacheInput; @@ -64,14 +64,14 @@ export class AddCacheCommand extends $Command< private serialize( input: AddCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddCacheCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddCacheCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/AddTagsToResourceCommand.ts b/clients/client-storage-gateway/commands/AddTagsToResourceCommand.ts index 1dc1a9079fcb..45730c2b5a9c 100644 --- a/clients/client-storage-gateway/commands/AddTagsToResourceCommand.ts +++ b/clients/client-storage-gateway/commands/AddTagsToResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddTagsToResourceCommandInput = AddTagsToResourceInput; @@ -67,14 +67,14 @@ export class AddTagsToResourceCommand extends $Command< private serialize( input: AddTagsToResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddTagsToResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddTagsToResourceCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/AddUploadBufferCommand.ts b/clients/client-storage-gateway/commands/AddUploadBufferCommand.ts index 46e8ed44c62b..c94612a79821 100644 --- a/clients/client-storage-gateway/commands/AddUploadBufferCommand.ts +++ b/clients/client-storage-gateway/commands/AddUploadBufferCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddUploadBufferCommandInput = AddUploadBufferInput; @@ -64,14 +64,14 @@ export class AddUploadBufferCommand extends $Command< private serialize( input: AddUploadBufferCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddUploadBufferCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddUploadBufferCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/AddWorkingStorageCommand.ts b/clients/client-storage-gateway/commands/AddWorkingStorageCommand.ts index 99347536b887..9b366affdf8e 100644 --- a/clients/client-storage-gateway/commands/AddWorkingStorageCommand.ts +++ b/clients/client-storage-gateway/commands/AddWorkingStorageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddWorkingStorageCommandInput = AddWorkingStorageInput; @@ -67,14 +67,14 @@ export class AddWorkingStorageCommand extends $Command< private serialize( input: AddWorkingStorageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddWorkingStorageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddWorkingStorageCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/AssignTapePoolCommand.ts b/clients/client-storage-gateway/commands/AssignTapePoolCommand.ts index a884d57089e5..6797cdc3f708 100644 --- a/clients/client-storage-gateway/commands/AssignTapePoolCommand.ts +++ b/clients/client-storage-gateway/commands/AssignTapePoolCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssignTapePoolCommandInput = AssignTapePoolInput; @@ -64,14 +64,14 @@ export class AssignTapePoolCommand extends $Command< private serialize( input: AssignTapePoolCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssignTapePoolCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssignTapePoolCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/AttachVolumeCommand.ts b/clients/client-storage-gateway/commands/AttachVolumeCommand.ts index 6b855c39880a..9574f87e34b0 100644 --- a/clients/client-storage-gateway/commands/AttachVolumeCommand.ts +++ b/clients/client-storage-gateway/commands/AttachVolumeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AttachVolumeCommandInput = AttachVolumeInput; @@ -64,14 +64,14 @@ export class AttachVolumeCommand extends $Command< private serialize( input: AttachVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AttachVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AttachVolumeCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/CancelArchivalCommand.ts b/clients/client-storage-gateway/commands/CancelArchivalCommand.ts index 2c8b65566039..2c84f3fc3dca 100644 --- a/clients/client-storage-gateway/commands/CancelArchivalCommand.ts +++ b/clients/client-storage-gateway/commands/CancelArchivalCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelArchivalCommandInput = CancelArchivalInput; @@ -64,14 +64,14 @@ export class CancelArchivalCommand extends $Command< private serialize( input: CancelArchivalCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelArchivalCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelArchivalCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/CancelRetrievalCommand.ts b/clients/client-storage-gateway/commands/CancelRetrievalCommand.ts index 232fca4cbc4d..a2ad6b4635ec 100644 --- a/clients/client-storage-gateway/commands/CancelRetrievalCommand.ts +++ b/clients/client-storage-gateway/commands/CancelRetrievalCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CancelRetrievalCommandInput = CancelRetrievalInput; @@ -64,14 +64,14 @@ export class CancelRetrievalCommand extends $Command< private serialize( input: CancelRetrievalCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CancelRetrievalCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CancelRetrievalCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/CreateCachediSCSIVolumeCommand.ts b/clients/client-storage-gateway/commands/CreateCachediSCSIVolumeCommand.ts index 9c63d676a378..fdcbeb9e9675 100644 --- a/clients/client-storage-gateway/commands/CreateCachediSCSIVolumeCommand.ts +++ b/clients/client-storage-gateway/commands/CreateCachediSCSIVolumeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCachediSCSIVolumeCommandInput = CreateCachediSCSIVolumeInput; @@ -70,14 +70,14 @@ export class CreateCachediSCSIVolumeCommand extends $Command< private serialize( input: CreateCachediSCSIVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCachediSCSIVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCachediSCSIVolumeCommand( output, diff --git a/clients/client-storage-gateway/commands/CreateNFSFileShareCommand.ts b/clients/client-storage-gateway/commands/CreateNFSFileShareCommand.ts index 22b639e4f3e0..a9b634ef799e 100644 --- a/clients/client-storage-gateway/commands/CreateNFSFileShareCommand.ts +++ b/clients/client-storage-gateway/commands/CreateNFSFileShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNFSFileShareCommandInput = CreateNFSFileShareInput; @@ -67,14 +67,14 @@ export class CreateNFSFileShareCommand extends $Command< private serialize( input: CreateNFSFileShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateNFSFileShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateNFSFileShareCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/CreateSMBFileShareCommand.ts b/clients/client-storage-gateway/commands/CreateSMBFileShareCommand.ts index 20b23f81fd29..49ca7a30bb05 100644 --- a/clients/client-storage-gateway/commands/CreateSMBFileShareCommand.ts +++ b/clients/client-storage-gateway/commands/CreateSMBFileShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSMBFileShareCommandInput = CreateSMBFileShareInput; @@ -67,14 +67,14 @@ export class CreateSMBFileShareCommand extends $Command< private serialize( input: CreateSMBFileShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSMBFileShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSMBFileShareCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/CreateSnapshotCommand.ts b/clients/client-storage-gateway/commands/CreateSnapshotCommand.ts index b828cbeec1bc..cc5ad8eca72d 100644 --- a/clients/client-storage-gateway/commands/CreateSnapshotCommand.ts +++ b/clients/client-storage-gateway/commands/CreateSnapshotCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSnapshotCommandInput = CreateSnapshotInput; @@ -64,14 +64,14 @@ export class CreateSnapshotCommand extends $Command< private serialize( input: CreateSnapshotCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSnapshotCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSnapshotCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts b/clients/client-storage-gateway/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts index 7d8eff0acf60..46e2e614cbec 100644 --- a/clients/client-storage-gateway/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts +++ b/clients/client-storage-gateway/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSnapshotFromVolumeRecoveryPointCommandInput = CreateSnapshotFromVolumeRecoveryPointInput; @@ -72,7 +72,7 @@ export class CreateSnapshotFromVolumeRecoveryPointCommand extends $Command< private serialize( input: CreateSnapshotFromVolumeRecoveryPointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSnapshotFromVolumeRecoveryPointCommand( input, @@ -82,7 +82,7 @@ export class CreateSnapshotFromVolumeRecoveryPointCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSnapshotFromVolumeRecoveryPointCommand( output, diff --git a/clients/client-storage-gateway/commands/CreateStorediSCSIVolumeCommand.ts b/clients/client-storage-gateway/commands/CreateStorediSCSIVolumeCommand.ts index f89e70c07e3f..19b726e549d3 100644 --- a/clients/client-storage-gateway/commands/CreateStorediSCSIVolumeCommand.ts +++ b/clients/client-storage-gateway/commands/CreateStorediSCSIVolumeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateStorediSCSIVolumeCommandInput = CreateStorediSCSIVolumeInput; @@ -70,14 +70,14 @@ export class CreateStorediSCSIVolumeCommand extends $Command< private serialize( input: CreateStorediSCSIVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateStorediSCSIVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateStorediSCSIVolumeCommand( output, diff --git a/clients/client-storage-gateway/commands/CreateTapeWithBarcodeCommand.ts b/clients/client-storage-gateway/commands/CreateTapeWithBarcodeCommand.ts index 206051a10292..f7d5fee366ec 100644 --- a/clients/client-storage-gateway/commands/CreateTapeWithBarcodeCommand.ts +++ b/clients/client-storage-gateway/commands/CreateTapeWithBarcodeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTapeWithBarcodeCommandInput = CreateTapeWithBarcodeInput; @@ -70,14 +70,14 @@ export class CreateTapeWithBarcodeCommand extends $Command< private serialize( input: CreateTapeWithBarcodeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTapeWithBarcodeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTapeWithBarcodeCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/CreateTapesCommand.ts b/clients/client-storage-gateway/commands/CreateTapesCommand.ts index 9031a0d2b26b..081faaa20ff9 100644 --- a/clients/client-storage-gateway/commands/CreateTapesCommand.ts +++ b/clients/client-storage-gateway/commands/CreateTapesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTapesCommandInput = CreateTapesInput; @@ -64,14 +64,14 @@ export class CreateTapesCommand extends $Command< private serialize( input: CreateTapesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTapesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTapesCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DeleteBandwidthRateLimitCommand.ts b/clients/client-storage-gateway/commands/DeleteBandwidthRateLimitCommand.ts index f741a2a13c82..087bc1703631 100644 --- a/clients/client-storage-gateway/commands/DeleteBandwidthRateLimitCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteBandwidthRateLimitCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteBandwidthRateLimitCommandInput = DeleteBandwidthRateLimitInput; @@ -70,14 +70,14 @@ export class DeleteBandwidthRateLimitCommand extends $Command< private serialize( input: DeleteBandwidthRateLimitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteBandwidthRateLimitCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteBandwidthRateLimitCommand( output, diff --git a/clients/client-storage-gateway/commands/DeleteChapCredentialsCommand.ts b/clients/client-storage-gateway/commands/DeleteChapCredentialsCommand.ts index b617beb13efc..ad8b97028d66 100644 --- a/clients/client-storage-gateway/commands/DeleteChapCredentialsCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteChapCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteChapCredentialsCommandInput = DeleteChapCredentialsInput; @@ -70,14 +70,14 @@ export class DeleteChapCredentialsCommand extends $Command< private serialize( input: DeleteChapCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteChapCredentialsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteChapCredentialsCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DeleteFileShareCommand.ts b/clients/client-storage-gateway/commands/DeleteFileShareCommand.ts index 8a1a742cad97..60ef2587b7e9 100644 --- a/clients/client-storage-gateway/commands/DeleteFileShareCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteFileShareCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFileShareCommandInput = DeleteFileShareInput; @@ -64,14 +64,14 @@ export class DeleteFileShareCommand extends $Command< private serialize( input: DeleteFileShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteFileShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteFileShareCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DeleteGatewayCommand.ts b/clients/client-storage-gateway/commands/DeleteGatewayCommand.ts index 8e28da03238c..1e39d0e2e38f 100644 --- a/clients/client-storage-gateway/commands/DeleteGatewayCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteGatewayCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGatewayCommandInput = DeleteGatewayInput; @@ -64,14 +64,14 @@ export class DeleteGatewayCommand extends $Command< private serialize( input: DeleteGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteGatewayCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DeleteSnapshotScheduleCommand.ts b/clients/client-storage-gateway/commands/DeleteSnapshotScheduleCommand.ts index 47f905e86340..66bbb4764d42 100644 --- a/clients/client-storage-gateway/commands/DeleteSnapshotScheduleCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteSnapshotScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSnapshotScheduleCommandInput = DeleteSnapshotScheduleInput; @@ -70,14 +70,14 @@ export class DeleteSnapshotScheduleCommand extends $Command< private serialize( input: DeleteSnapshotScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSnapshotScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSnapshotScheduleCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DeleteTapeArchiveCommand.ts b/clients/client-storage-gateway/commands/DeleteTapeArchiveCommand.ts index 3c0ac8a7c2f4..0e224498ed62 100644 --- a/clients/client-storage-gateway/commands/DeleteTapeArchiveCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteTapeArchiveCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTapeArchiveCommandInput = DeleteTapeArchiveInput; @@ -67,14 +67,14 @@ export class DeleteTapeArchiveCommand extends $Command< private serialize( input: DeleteTapeArchiveCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTapeArchiveCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTapeArchiveCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DeleteTapeCommand.ts b/clients/client-storage-gateway/commands/DeleteTapeCommand.ts index 18e2b55cc5d6..1c3b0dba98c8 100644 --- a/clients/client-storage-gateway/commands/DeleteTapeCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteTapeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTapeCommandInput = DeleteTapeInput; @@ -64,14 +64,14 @@ export class DeleteTapeCommand extends $Command< private serialize( input: DeleteTapeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTapeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTapeCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DeleteVolumeCommand.ts b/clients/client-storage-gateway/commands/DeleteVolumeCommand.ts index ef85c32bdfbd..b73ade5466ff 100644 --- a/clients/client-storage-gateway/commands/DeleteVolumeCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteVolumeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVolumeCommandInput = DeleteVolumeInput; @@ -64,14 +64,14 @@ export class DeleteVolumeCommand extends $Command< private serialize( input: DeleteVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteVolumeCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DescribeAvailabilityMonitorTestCommand.ts b/clients/client-storage-gateway/commands/DescribeAvailabilityMonitorTestCommand.ts index 7d30213a15b5..c15c97543d46 100644 --- a/clients/client-storage-gateway/commands/DescribeAvailabilityMonitorTestCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeAvailabilityMonitorTestCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAvailabilityMonitorTestCommandInput = DescribeAvailabilityMonitorTestInput; @@ -70,7 +70,7 @@ export class DescribeAvailabilityMonitorTestCommand extends $Command< private serialize( input: DescribeAvailabilityMonitorTestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAvailabilityMonitorTestCommand( input, @@ -80,7 +80,7 @@ export class DescribeAvailabilityMonitorTestCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAvailabilityMonitorTestCommand( output, diff --git a/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitCommand.ts b/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitCommand.ts index 9d68ba34b7bf..d6c2fe950309 100644 --- a/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeBandwidthRateLimitCommandInput = DescribeBandwidthRateLimitInput; @@ -70,7 +70,7 @@ export class DescribeBandwidthRateLimitCommand extends $Command< private serialize( input: DescribeBandwidthRateLimitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeBandwidthRateLimitCommand( input, @@ -80,7 +80,7 @@ export class DescribeBandwidthRateLimitCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeBandwidthRateLimitCommand( output, diff --git a/clients/client-storage-gateway/commands/DescribeCacheCommand.ts b/clients/client-storage-gateway/commands/DescribeCacheCommand.ts index 319e74142a56..40f8646f3912 100644 --- a/clients/client-storage-gateway/commands/DescribeCacheCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeCacheCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCacheCommandInput = DescribeCacheInput; @@ -64,14 +64,14 @@ export class DescribeCacheCommand extends $Command< private serialize( input: DescribeCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCacheCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCacheCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DescribeCachediSCSIVolumesCommand.ts b/clients/client-storage-gateway/commands/DescribeCachediSCSIVolumesCommand.ts index 6450465bd817..4c1c0ce6aa51 100644 --- a/clients/client-storage-gateway/commands/DescribeCachediSCSIVolumesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeCachediSCSIVolumesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCachediSCSIVolumesCommandInput = DescribeCachediSCSIVolumesInput; @@ -70,7 +70,7 @@ export class DescribeCachediSCSIVolumesCommand extends $Command< private serialize( input: DescribeCachediSCSIVolumesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCachediSCSIVolumesCommand( input, @@ -80,7 +80,7 @@ export class DescribeCachediSCSIVolumesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCachediSCSIVolumesCommand( output, diff --git a/clients/client-storage-gateway/commands/DescribeChapCredentialsCommand.ts b/clients/client-storage-gateway/commands/DescribeChapCredentialsCommand.ts index 0dbc1b794ba8..59a899f05e53 100644 --- a/clients/client-storage-gateway/commands/DescribeChapCredentialsCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeChapCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeChapCredentialsCommandInput = DescribeChapCredentialsInput; @@ -70,14 +70,14 @@ export class DescribeChapCredentialsCommand extends $Command< private serialize( input: DescribeChapCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeChapCredentialsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeChapCredentialsCommand( output, diff --git a/clients/client-storage-gateway/commands/DescribeGatewayInformationCommand.ts b/clients/client-storage-gateway/commands/DescribeGatewayInformationCommand.ts index ccca7137833a..0b680909e76f 100644 --- a/clients/client-storage-gateway/commands/DescribeGatewayInformationCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeGatewayInformationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGatewayInformationCommandInput = DescribeGatewayInformationInput; @@ -70,7 +70,7 @@ export class DescribeGatewayInformationCommand extends $Command< private serialize( input: DescribeGatewayInformationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeGatewayInformationCommand( input, @@ -80,7 +80,7 @@ export class DescribeGatewayInformationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeGatewayInformationCommand( output, diff --git a/clients/client-storage-gateway/commands/DescribeMaintenanceStartTimeCommand.ts b/clients/client-storage-gateway/commands/DescribeMaintenanceStartTimeCommand.ts index efb667e4745d..cbe7ec3d61a0 100644 --- a/clients/client-storage-gateway/commands/DescribeMaintenanceStartTimeCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeMaintenanceStartTimeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeMaintenanceStartTimeCommandInput = DescribeMaintenanceStartTimeInput; @@ -70,7 +70,7 @@ export class DescribeMaintenanceStartTimeCommand extends $Command< private serialize( input: DescribeMaintenanceStartTimeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeMaintenanceStartTimeCommand( input, @@ -80,7 +80,7 @@ export class DescribeMaintenanceStartTimeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeMaintenanceStartTimeCommand( output, diff --git a/clients/client-storage-gateway/commands/DescribeNFSFileSharesCommand.ts b/clients/client-storage-gateway/commands/DescribeNFSFileSharesCommand.ts index 1b0fb0b99d80..cbc8243502bf 100644 --- a/clients/client-storage-gateway/commands/DescribeNFSFileSharesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeNFSFileSharesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNFSFileSharesCommandInput = DescribeNFSFileSharesInput; @@ -70,14 +70,14 @@ export class DescribeNFSFileSharesCommand extends $Command< private serialize( input: DescribeNFSFileSharesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeNFSFileSharesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeNFSFileSharesCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DescribeSMBFileSharesCommand.ts b/clients/client-storage-gateway/commands/DescribeSMBFileSharesCommand.ts index 69012a6a5930..fc3a8386b931 100644 --- a/clients/client-storage-gateway/commands/DescribeSMBFileSharesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeSMBFileSharesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSMBFileSharesCommandInput = DescribeSMBFileSharesInput; @@ -70,14 +70,14 @@ export class DescribeSMBFileSharesCommand extends $Command< private serialize( input: DescribeSMBFileSharesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSMBFileSharesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSMBFileSharesCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DescribeSMBSettingsCommand.ts b/clients/client-storage-gateway/commands/DescribeSMBSettingsCommand.ts index 0d0ac8d4f4ed..e267ea1c0808 100644 --- a/clients/client-storage-gateway/commands/DescribeSMBSettingsCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeSMBSettingsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSMBSettingsCommandInput = DescribeSMBSettingsInput; @@ -70,14 +70,14 @@ export class DescribeSMBSettingsCommand extends $Command< private serialize( input: DescribeSMBSettingsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSMBSettingsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSMBSettingsCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DescribeSnapshotScheduleCommand.ts b/clients/client-storage-gateway/commands/DescribeSnapshotScheduleCommand.ts index 2546017f928d..12d39128d0e6 100644 --- a/clients/client-storage-gateway/commands/DescribeSnapshotScheduleCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeSnapshotScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSnapshotScheduleCommandInput = DescribeSnapshotScheduleInput; @@ -70,14 +70,14 @@ export class DescribeSnapshotScheduleCommand extends $Command< private serialize( input: DescribeSnapshotScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSnapshotScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSnapshotScheduleCommand( output, diff --git a/clients/client-storage-gateway/commands/DescribeStorediSCSIVolumesCommand.ts b/clients/client-storage-gateway/commands/DescribeStorediSCSIVolumesCommand.ts index 28c20907eab1..bcf916c49460 100644 --- a/clients/client-storage-gateway/commands/DescribeStorediSCSIVolumesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeStorediSCSIVolumesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeStorediSCSIVolumesCommandInput = DescribeStorediSCSIVolumesInput; @@ -70,7 +70,7 @@ export class DescribeStorediSCSIVolumesCommand extends $Command< private serialize( input: DescribeStorediSCSIVolumesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeStorediSCSIVolumesCommand( input, @@ -80,7 +80,7 @@ export class DescribeStorediSCSIVolumesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeStorediSCSIVolumesCommand( output, diff --git a/clients/client-storage-gateway/commands/DescribeTapeArchivesCommand.ts b/clients/client-storage-gateway/commands/DescribeTapeArchivesCommand.ts index 880052f3a692..f8f965a3a2be 100644 --- a/clients/client-storage-gateway/commands/DescribeTapeArchivesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeTapeArchivesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTapeArchivesCommandInput = DescribeTapeArchivesInput; @@ -70,14 +70,14 @@ export class DescribeTapeArchivesCommand extends $Command< private serialize( input: DescribeTapeArchivesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTapeArchivesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTapeArchivesCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DescribeTapeRecoveryPointsCommand.ts b/clients/client-storage-gateway/commands/DescribeTapeRecoveryPointsCommand.ts index 388a7b1447a6..ccf85bfa1cd2 100644 --- a/clients/client-storage-gateway/commands/DescribeTapeRecoveryPointsCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeTapeRecoveryPointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTapeRecoveryPointsCommandInput = DescribeTapeRecoveryPointsInput; @@ -70,7 +70,7 @@ export class DescribeTapeRecoveryPointsCommand extends $Command< private serialize( input: DescribeTapeRecoveryPointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTapeRecoveryPointsCommand( input, @@ -80,7 +80,7 @@ export class DescribeTapeRecoveryPointsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTapeRecoveryPointsCommand( output, diff --git a/clients/client-storage-gateway/commands/DescribeTapesCommand.ts b/clients/client-storage-gateway/commands/DescribeTapesCommand.ts index 2a5565ea3a3a..cff659dfa8db 100644 --- a/clients/client-storage-gateway/commands/DescribeTapesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeTapesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTapesCommandInput = DescribeTapesInput; @@ -64,14 +64,14 @@ export class DescribeTapesCommand extends $Command< private serialize( input: DescribeTapesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTapesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTapesCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DescribeUploadBufferCommand.ts b/clients/client-storage-gateway/commands/DescribeUploadBufferCommand.ts index 074c0e5f3efc..07f024fb448a 100644 --- a/clients/client-storage-gateway/commands/DescribeUploadBufferCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeUploadBufferCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUploadBufferCommandInput = DescribeUploadBufferInput; @@ -70,14 +70,14 @@ export class DescribeUploadBufferCommand extends $Command< private serialize( input: DescribeUploadBufferCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUploadBufferCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUploadBufferCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DescribeVTLDevicesCommand.ts b/clients/client-storage-gateway/commands/DescribeVTLDevicesCommand.ts index e3b5fdeac3f5..bb17b70d4947 100644 --- a/clients/client-storage-gateway/commands/DescribeVTLDevicesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeVTLDevicesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeVTLDevicesCommandInput = DescribeVTLDevicesInput; @@ -67,14 +67,14 @@ export class DescribeVTLDevicesCommand extends $Command< private serialize( input: DescribeVTLDevicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeVTLDevicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeVTLDevicesCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DescribeWorkingStorageCommand.ts b/clients/client-storage-gateway/commands/DescribeWorkingStorageCommand.ts index cac805a2faa4..846dbd9ade87 100644 --- a/clients/client-storage-gateway/commands/DescribeWorkingStorageCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeWorkingStorageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWorkingStorageCommandInput = DescribeWorkingStorageInput; @@ -70,14 +70,14 @@ export class DescribeWorkingStorageCommand extends $Command< private serialize( input: DescribeWorkingStorageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeWorkingStorageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeWorkingStorageCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DetachVolumeCommand.ts b/clients/client-storage-gateway/commands/DetachVolumeCommand.ts index dab49929d372..818bb60e8de6 100644 --- a/clients/client-storage-gateway/commands/DetachVolumeCommand.ts +++ b/clients/client-storage-gateway/commands/DetachVolumeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetachVolumeCommandInput = DetachVolumeInput; @@ -64,14 +64,14 @@ export class DetachVolumeCommand extends $Command< private serialize( input: DetachVolumeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetachVolumeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetachVolumeCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/DisableGatewayCommand.ts b/clients/client-storage-gateway/commands/DisableGatewayCommand.ts index 6707dd072d80..269970f3d9e1 100644 --- a/clients/client-storage-gateway/commands/DisableGatewayCommand.ts +++ b/clients/client-storage-gateway/commands/DisableGatewayCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisableGatewayCommandInput = DisableGatewayInput; @@ -64,14 +64,14 @@ export class DisableGatewayCommand extends $Command< private serialize( input: DisableGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisableGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisableGatewayCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/JoinDomainCommand.ts b/clients/client-storage-gateway/commands/JoinDomainCommand.ts index 101e8f44a120..ff056885c410 100644 --- a/clients/client-storage-gateway/commands/JoinDomainCommand.ts +++ b/clients/client-storage-gateway/commands/JoinDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type JoinDomainCommandInput = JoinDomainInput; @@ -64,14 +64,14 @@ export class JoinDomainCommand extends $Command< private serialize( input: JoinDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1JoinDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1JoinDomainCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/ListFileSharesCommand.ts b/clients/client-storage-gateway/commands/ListFileSharesCommand.ts index 08ec8d012354..1722b5211580 100644 --- a/clients/client-storage-gateway/commands/ListFileSharesCommand.ts +++ b/clients/client-storage-gateway/commands/ListFileSharesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFileSharesCommandInput = ListFileSharesInput; @@ -64,14 +64,14 @@ export class ListFileSharesCommand extends $Command< private serialize( input: ListFileSharesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListFileSharesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListFileSharesCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/ListGatewaysCommand.ts b/clients/client-storage-gateway/commands/ListGatewaysCommand.ts index 3e1248bd3e25..0c3ae3ae0c81 100644 --- a/clients/client-storage-gateway/commands/ListGatewaysCommand.ts +++ b/clients/client-storage-gateway/commands/ListGatewaysCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGatewaysCommandInput = ListGatewaysInput; @@ -64,14 +64,14 @@ export class ListGatewaysCommand extends $Command< private serialize( input: ListGatewaysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListGatewaysCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListGatewaysCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/ListLocalDisksCommand.ts b/clients/client-storage-gateway/commands/ListLocalDisksCommand.ts index 022efbb74275..377bfbc5600a 100644 --- a/clients/client-storage-gateway/commands/ListLocalDisksCommand.ts +++ b/clients/client-storage-gateway/commands/ListLocalDisksCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLocalDisksCommandInput = ListLocalDisksInput; @@ -64,14 +64,14 @@ export class ListLocalDisksCommand extends $Command< private serialize( input: ListLocalDisksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLocalDisksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLocalDisksCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/ListTagsForResourceCommand.ts b/clients/client-storage-gateway/commands/ListTagsForResourceCommand.ts index 98073fde9027..477285cd5cb3 100644 --- a/clients/client-storage-gateway/commands/ListTagsForResourceCommand.ts +++ b/clients/client-storage-gateway/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/ListTapesCommand.ts b/clients/client-storage-gateway/commands/ListTapesCommand.ts index d623516c74d6..231d75d6a2da 100644 --- a/clients/client-storage-gateway/commands/ListTapesCommand.ts +++ b/clients/client-storage-gateway/commands/ListTapesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTapesCommandInput = ListTapesInput; @@ -64,14 +64,14 @@ export class ListTapesCommand extends $Command< private serialize( input: ListTapesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTapesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTapesCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/ListVolumeInitiatorsCommand.ts b/clients/client-storage-gateway/commands/ListVolumeInitiatorsCommand.ts index 88fe3f6750d5..cf7c64cb6473 100644 --- a/clients/client-storage-gateway/commands/ListVolumeInitiatorsCommand.ts +++ b/clients/client-storage-gateway/commands/ListVolumeInitiatorsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVolumeInitiatorsCommandInput = ListVolumeInitiatorsInput; @@ -70,14 +70,14 @@ export class ListVolumeInitiatorsCommand extends $Command< private serialize( input: ListVolumeInitiatorsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListVolumeInitiatorsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListVolumeInitiatorsCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/ListVolumeRecoveryPointsCommand.ts b/clients/client-storage-gateway/commands/ListVolumeRecoveryPointsCommand.ts index 9ca2e695a9f8..658e488933f2 100644 --- a/clients/client-storage-gateway/commands/ListVolumeRecoveryPointsCommand.ts +++ b/clients/client-storage-gateway/commands/ListVolumeRecoveryPointsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVolumeRecoveryPointsCommandInput = ListVolumeRecoveryPointsInput; @@ -70,14 +70,14 @@ export class ListVolumeRecoveryPointsCommand extends $Command< private serialize( input: ListVolumeRecoveryPointsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListVolumeRecoveryPointsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListVolumeRecoveryPointsCommand( output, diff --git a/clients/client-storage-gateway/commands/ListVolumesCommand.ts b/clients/client-storage-gateway/commands/ListVolumesCommand.ts index 74ed307c01df..3878f05e7410 100644 --- a/clients/client-storage-gateway/commands/ListVolumesCommand.ts +++ b/clients/client-storage-gateway/commands/ListVolumesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVolumesCommandInput = ListVolumesInput; @@ -64,14 +64,14 @@ export class ListVolumesCommand extends $Command< private serialize( input: ListVolumesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListVolumesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListVolumesCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/NotifyWhenUploadedCommand.ts b/clients/client-storage-gateway/commands/NotifyWhenUploadedCommand.ts index aee188145763..fc471544a42f 100644 --- a/clients/client-storage-gateway/commands/NotifyWhenUploadedCommand.ts +++ b/clients/client-storage-gateway/commands/NotifyWhenUploadedCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type NotifyWhenUploadedCommandInput = NotifyWhenUploadedInput; @@ -67,14 +67,14 @@ export class NotifyWhenUploadedCommand extends $Command< private serialize( input: NotifyWhenUploadedCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1NotifyWhenUploadedCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1NotifyWhenUploadedCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/RefreshCacheCommand.ts b/clients/client-storage-gateway/commands/RefreshCacheCommand.ts index f51ba96bc1d6..c10b3cd213d9 100644 --- a/clients/client-storage-gateway/commands/RefreshCacheCommand.ts +++ b/clients/client-storage-gateway/commands/RefreshCacheCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RefreshCacheCommandInput = RefreshCacheInput; @@ -64,14 +64,14 @@ export class RefreshCacheCommand extends $Command< private serialize( input: RefreshCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RefreshCacheCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RefreshCacheCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/RemoveTagsFromResourceCommand.ts b/clients/client-storage-gateway/commands/RemoveTagsFromResourceCommand.ts index acdbb5448124..9f19cb6218cd 100644 --- a/clients/client-storage-gateway/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-storage-gateway/commands/RemoveTagsFromResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveTagsFromResourceCommandInput = RemoveTagsFromResourceInput; @@ -70,14 +70,14 @@ export class RemoveTagsFromResourceCommand extends $Command< private serialize( input: RemoveTagsFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RemoveTagsFromResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RemoveTagsFromResourceCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/ResetCacheCommand.ts b/clients/client-storage-gateway/commands/ResetCacheCommand.ts index 8b166af8a1f1..b96635ad4839 100644 --- a/clients/client-storage-gateway/commands/ResetCacheCommand.ts +++ b/clients/client-storage-gateway/commands/ResetCacheCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetCacheCommandInput = ResetCacheInput; @@ -64,14 +64,14 @@ export class ResetCacheCommand extends $Command< private serialize( input: ResetCacheCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResetCacheCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResetCacheCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/RetrieveTapeArchiveCommand.ts b/clients/client-storage-gateway/commands/RetrieveTapeArchiveCommand.ts index e3ed43431865..9672613a35d1 100644 --- a/clients/client-storage-gateway/commands/RetrieveTapeArchiveCommand.ts +++ b/clients/client-storage-gateway/commands/RetrieveTapeArchiveCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RetrieveTapeArchiveCommandInput = RetrieveTapeArchiveInput; @@ -70,14 +70,14 @@ export class RetrieveTapeArchiveCommand extends $Command< private serialize( input: RetrieveTapeArchiveCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RetrieveTapeArchiveCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RetrieveTapeArchiveCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/RetrieveTapeRecoveryPointCommand.ts b/clients/client-storage-gateway/commands/RetrieveTapeRecoveryPointCommand.ts index 109b8e797efb..c5a0be71cd14 100644 --- a/clients/client-storage-gateway/commands/RetrieveTapeRecoveryPointCommand.ts +++ b/clients/client-storage-gateway/commands/RetrieveTapeRecoveryPointCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RetrieveTapeRecoveryPointCommandInput = RetrieveTapeRecoveryPointInput; @@ -70,14 +70,14 @@ export class RetrieveTapeRecoveryPointCommand extends $Command< private serialize( input: RetrieveTapeRecoveryPointCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RetrieveTapeRecoveryPointCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RetrieveTapeRecoveryPointCommand( output, diff --git a/clients/client-storage-gateway/commands/SetLocalConsolePasswordCommand.ts b/clients/client-storage-gateway/commands/SetLocalConsolePasswordCommand.ts index fb6d117558b8..ba1a88a96434 100644 --- a/clients/client-storage-gateway/commands/SetLocalConsolePasswordCommand.ts +++ b/clients/client-storage-gateway/commands/SetLocalConsolePasswordCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetLocalConsolePasswordCommandInput = SetLocalConsolePasswordInput; @@ -70,14 +70,14 @@ export class SetLocalConsolePasswordCommand extends $Command< private serialize( input: SetLocalConsolePasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetLocalConsolePasswordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetLocalConsolePasswordCommand( output, diff --git a/clients/client-storage-gateway/commands/SetSMBGuestPasswordCommand.ts b/clients/client-storage-gateway/commands/SetSMBGuestPasswordCommand.ts index 4cab918fbd90..73e613245017 100644 --- a/clients/client-storage-gateway/commands/SetSMBGuestPasswordCommand.ts +++ b/clients/client-storage-gateway/commands/SetSMBGuestPasswordCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SetSMBGuestPasswordCommandInput = SetSMBGuestPasswordInput; @@ -70,14 +70,14 @@ export class SetSMBGuestPasswordCommand extends $Command< private serialize( input: SetSMBGuestPasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1SetSMBGuestPasswordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1SetSMBGuestPasswordCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/ShutdownGatewayCommand.ts b/clients/client-storage-gateway/commands/ShutdownGatewayCommand.ts index f13dd60cc58f..bc8df7674690 100644 --- a/clients/client-storage-gateway/commands/ShutdownGatewayCommand.ts +++ b/clients/client-storage-gateway/commands/ShutdownGatewayCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ShutdownGatewayCommandInput = ShutdownGatewayInput; @@ -64,14 +64,14 @@ export class ShutdownGatewayCommand extends $Command< private serialize( input: ShutdownGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ShutdownGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ShutdownGatewayCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/StartAvailabilityMonitorTestCommand.ts b/clients/client-storage-gateway/commands/StartAvailabilityMonitorTestCommand.ts index e66ed7cc1a45..9752ff798e6b 100644 --- a/clients/client-storage-gateway/commands/StartAvailabilityMonitorTestCommand.ts +++ b/clients/client-storage-gateway/commands/StartAvailabilityMonitorTestCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartAvailabilityMonitorTestCommandInput = StartAvailabilityMonitorTestInput; @@ -70,7 +70,7 @@ export class StartAvailabilityMonitorTestCommand extends $Command< private serialize( input: StartAvailabilityMonitorTestCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartAvailabilityMonitorTestCommand( input, @@ -80,7 +80,7 @@ export class StartAvailabilityMonitorTestCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartAvailabilityMonitorTestCommand( output, diff --git a/clients/client-storage-gateway/commands/StartGatewayCommand.ts b/clients/client-storage-gateway/commands/StartGatewayCommand.ts index 25e0136dfbe1..0d5889d4407f 100644 --- a/clients/client-storage-gateway/commands/StartGatewayCommand.ts +++ b/clients/client-storage-gateway/commands/StartGatewayCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartGatewayCommandInput = StartGatewayInput; @@ -64,14 +64,14 @@ export class StartGatewayCommand extends $Command< private serialize( input: StartGatewayCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartGatewayCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartGatewayCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitCommand.ts b/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitCommand.ts index 85e17a8df1cb..a9ca325b09be 100644 --- a/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateBandwidthRateLimitCommandInput = UpdateBandwidthRateLimitInput; @@ -70,14 +70,14 @@ export class UpdateBandwidthRateLimitCommand extends $Command< private serialize( input: UpdateBandwidthRateLimitCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateBandwidthRateLimitCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateBandwidthRateLimitCommand( output, diff --git a/clients/client-storage-gateway/commands/UpdateChapCredentialsCommand.ts b/clients/client-storage-gateway/commands/UpdateChapCredentialsCommand.ts index 66b559bffac6..74958c0b301a 100644 --- a/clients/client-storage-gateway/commands/UpdateChapCredentialsCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateChapCredentialsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateChapCredentialsCommandInput = UpdateChapCredentialsInput; @@ -70,14 +70,14 @@ export class UpdateChapCredentialsCommand extends $Command< private serialize( input: UpdateChapCredentialsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateChapCredentialsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateChapCredentialsCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/UpdateGatewayInformationCommand.ts b/clients/client-storage-gateway/commands/UpdateGatewayInformationCommand.ts index 2a3b5f5e8bb9..0cd0a4d468a1 100644 --- a/clients/client-storage-gateway/commands/UpdateGatewayInformationCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateGatewayInformationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGatewayInformationCommandInput = UpdateGatewayInformationInput; @@ -70,14 +70,14 @@ export class UpdateGatewayInformationCommand extends $Command< private serialize( input: UpdateGatewayInformationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateGatewayInformationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateGatewayInformationCommand( output, diff --git a/clients/client-storage-gateway/commands/UpdateGatewaySoftwareNowCommand.ts b/clients/client-storage-gateway/commands/UpdateGatewaySoftwareNowCommand.ts index 5d877e898e3e..e41577b6bad9 100644 --- a/clients/client-storage-gateway/commands/UpdateGatewaySoftwareNowCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateGatewaySoftwareNowCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGatewaySoftwareNowCommandInput = UpdateGatewaySoftwareNowInput; @@ -70,14 +70,14 @@ export class UpdateGatewaySoftwareNowCommand extends $Command< private serialize( input: UpdateGatewaySoftwareNowCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateGatewaySoftwareNowCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateGatewaySoftwareNowCommand( output, diff --git a/clients/client-storage-gateway/commands/UpdateMaintenanceStartTimeCommand.ts b/clients/client-storage-gateway/commands/UpdateMaintenanceStartTimeCommand.ts index 03b2aee38891..179aea48e04b 100644 --- a/clients/client-storage-gateway/commands/UpdateMaintenanceStartTimeCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateMaintenanceStartTimeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMaintenanceStartTimeCommandInput = UpdateMaintenanceStartTimeInput; @@ -70,7 +70,7 @@ export class UpdateMaintenanceStartTimeCommand extends $Command< private serialize( input: UpdateMaintenanceStartTimeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateMaintenanceStartTimeCommand( input, @@ -80,7 +80,7 @@ export class UpdateMaintenanceStartTimeCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateMaintenanceStartTimeCommand( output, diff --git a/clients/client-storage-gateway/commands/UpdateNFSFileShareCommand.ts b/clients/client-storage-gateway/commands/UpdateNFSFileShareCommand.ts index aada759f7316..57e4919630e9 100644 --- a/clients/client-storage-gateway/commands/UpdateNFSFileShareCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateNFSFileShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateNFSFileShareCommandInput = UpdateNFSFileShareInput; @@ -67,14 +67,14 @@ export class UpdateNFSFileShareCommand extends $Command< private serialize( input: UpdateNFSFileShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateNFSFileShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateNFSFileShareCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/UpdateSMBFileShareCommand.ts b/clients/client-storage-gateway/commands/UpdateSMBFileShareCommand.ts index feec8ef63758..7ec985d2f142 100644 --- a/clients/client-storage-gateway/commands/UpdateSMBFileShareCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateSMBFileShareCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSMBFileShareCommandInput = UpdateSMBFileShareInput; @@ -67,14 +67,14 @@ export class UpdateSMBFileShareCommand extends $Command< private serialize( input: UpdateSMBFileShareCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSMBFileShareCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSMBFileShareCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/UpdateSMBSecurityStrategyCommand.ts b/clients/client-storage-gateway/commands/UpdateSMBSecurityStrategyCommand.ts index f646a5b0262d..83641407cc1d 100644 --- a/clients/client-storage-gateway/commands/UpdateSMBSecurityStrategyCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateSMBSecurityStrategyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSMBSecurityStrategyCommandInput = UpdateSMBSecurityStrategyInput; @@ -70,14 +70,14 @@ export class UpdateSMBSecurityStrategyCommand extends $Command< private serialize( input: UpdateSMBSecurityStrategyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSMBSecurityStrategyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSMBSecurityStrategyCommand( output, diff --git a/clients/client-storage-gateway/commands/UpdateSnapshotScheduleCommand.ts b/clients/client-storage-gateway/commands/UpdateSnapshotScheduleCommand.ts index 6cc4ff7141ba..c93e50ae8b26 100644 --- a/clients/client-storage-gateway/commands/UpdateSnapshotScheduleCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateSnapshotScheduleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSnapshotScheduleCommandInput = UpdateSnapshotScheduleInput; @@ -70,14 +70,14 @@ export class UpdateSnapshotScheduleCommand extends $Command< private serialize( input: UpdateSnapshotScheduleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSnapshotScheduleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSnapshotScheduleCommand(output, context); } diff --git a/clients/client-storage-gateway/commands/UpdateVTLDeviceTypeCommand.ts b/clients/client-storage-gateway/commands/UpdateVTLDeviceTypeCommand.ts index b80e75c96c1c..a90987514845 100644 --- a/clients/client-storage-gateway/commands/UpdateVTLDeviceTypeCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateVTLDeviceTypeCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVTLDeviceTypeCommandInput = UpdateVTLDeviceTypeInput; @@ -70,14 +70,14 @@ export class UpdateVTLDeviceTypeCommand extends $Command< private serialize( input: UpdateVTLDeviceTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateVTLDeviceTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateVTLDeviceTypeCommand(output, context); } diff --git a/clients/client-storage-gateway/protocols/Aws_json1_1.ts b/clients/client-storage-gateway/protocols/Aws_json1_1.ts index 3c8b6ee71a27..ee80bb5a6a25 100644 --- a/clients/client-storage-gateway/protocols/Aws_json1_1.ts +++ b/clients/client-storage-gateway/protocols/Aws_json1_1.ts @@ -10718,6 +10718,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-sts/commands/AssumeRoleCommand.ts b/clients/client-sts/commands/AssumeRoleCommand.ts index 1f3c26e23c7d..2b41eb9e5aa0 100644 --- a/clients/client-sts/commands/AssumeRoleCommand.ts +++ b/clients/client-sts/commands/AssumeRoleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssumeRoleCommandInput = AssumeRoleRequest; @@ -64,14 +64,14 @@ export class AssumeRoleCommand extends $Command< private serialize( input: AssumeRoleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAssumeRoleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAssumeRoleCommand(output, context); } diff --git a/clients/client-sts/commands/AssumeRoleWithSAMLCommand.ts b/clients/client-sts/commands/AssumeRoleWithSAMLCommand.ts index cb26e8824eb2..dba80e2f1fc1 100644 --- a/clients/client-sts/commands/AssumeRoleWithSAMLCommand.ts +++ b/clients/client-sts/commands/AssumeRoleWithSAMLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssumeRoleWithSAMLCommandInput = AssumeRoleWithSAMLRequest; @@ -67,14 +67,14 @@ export class AssumeRoleWithSAMLCommand extends $Command< private serialize( input: AssumeRoleWithSAMLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAssumeRoleWithSAMLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAssumeRoleWithSAMLCommand(output, context); } diff --git a/clients/client-sts/commands/AssumeRoleWithWebIdentityCommand.ts b/clients/client-sts/commands/AssumeRoleWithWebIdentityCommand.ts index 67ae22371100..7f732b29ea4d 100644 --- a/clients/client-sts/commands/AssumeRoleWithWebIdentityCommand.ts +++ b/clients/client-sts/commands/AssumeRoleWithWebIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssumeRoleWithWebIdentityCommandInput = AssumeRoleWithWebIdentityRequest; @@ -70,14 +70,14 @@ export class AssumeRoleWithWebIdentityCommand extends $Command< private serialize( input: AssumeRoleWithWebIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryAssumeRoleWithWebIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryAssumeRoleWithWebIdentityCommand( output, diff --git a/clients/client-sts/commands/DecodeAuthorizationMessageCommand.ts b/clients/client-sts/commands/DecodeAuthorizationMessageCommand.ts index da60fd141d51..a610c46b2adf 100644 --- a/clients/client-sts/commands/DecodeAuthorizationMessageCommand.ts +++ b/clients/client-sts/commands/DecodeAuthorizationMessageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DecodeAuthorizationMessageCommandInput = DecodeAuthorizationMessageRequest; @@ -70,14 +70,14 @@ export class DecodeAuthorizationMessageCommand extends $Command< private serialize( input: DecodeAuthorizationMessageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryDecodeAuthorizationMessageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryDecodeAuthorizationMessageCommand( output, diff --git a/clients/client-sts/commands/GetAccessKeyInfoCommand.ts b/clients/client-sts/commands/GetAccessKeyInfoCommand.ts index f3090557fc75..6c952e23f2d9 100644 --- a/clients/client-sts/commands/GetAccessKeyInfoCommand.ts +++ b/clients/client-sts/commands/GetAccessKeyInfoCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetAccessKeyInfoCommandInput = GetAccessKeyInfoRequest; @@ -67,14 +67,14 @@ export class GetAccessKeyInfoCommand extends $Command< private serialize( input: GetAccessKeyInfoCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetAccessKeyInfoCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetAccessKeyInfoCommand(output, context); } diff --git a/clients/client-sts/commands/GetCallerIdentityCommand.ts b/clients/client-sts/commands/GetCallerIdentityCommand.ts index ace17517993b..4ab0fceb9ab0 100644 --- a/clients/client-sts/commands/GetCallerIdentityCommand.ts +++ b/clients/client-sts/commands/GetCallerIdentityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCallerIdentityCommandInput = GetCallerIdentityRequest; @@ -67,14 +67,14 @@ export class GetCallerIdentityCommand extends $Command< private serialize( input: GetCallerIdentityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetCallerIdentityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetCallerIdentityCommand(output, context); } diff --git a/clients/client-sts/commands/GetFederationTokenCommand.ts b/clients/client-sts/commands/GetFederationTokenCommand.ts index 2245292c7884..15779e54cbe6 100644 --- a/clients/client-sts/commands/GetFederationTokenCommand.ts +++ b/clients/client-sts/commands/GetFederationTokenCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFederationTokenCommandInput = GetFederationTokenRequest; @@ -67,14 +67,14 @@ export class GetFederationTokenCommand extends $Command< private serialize( input: GetFederationTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetFederationTokenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetFederationTokenCommand(output, context); } diff --git a/clients/client-sts/commands/GetSessionTokenCommand.ts b/clients/client-sts/commands/GetSessionTokenCommand.ts index ea4730a50bd6..ec31e9fabd22 100644 --- a/clients/client-sts/commands/GetSessionTokenCommand.ts +++ b/clients/client-sts/commands/GetSessionTokenCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSessionTokenCommandInput = GetSessionTokenRequest; @@ -67,14 +67,14 @@ export class GetSessionTokenCommand extends $Command< private serialize( input: GetSessionTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_queryGetSessionTokenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_queryGetSessionTokenCommand(output, context); } diff --git a/clients/client-sts/protocols/Aws_query.ts b/clients/client-sts/protocols/Aws_query.ts index 87c0943ba751..0a29d4875039 100644 --- a/clients/client-sts/protocols/Aws_query.ts +++ b/clients/client-sts/protocols/Aws_query.ts @@ -1590,6 +1590,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-support/commands/AddAttachmentsToSetCommand.ts b/clients/client-support/commands/AddAttachmentsToSetCommand.ts index 8cbe997b444e..72c3c9a72484 100644 --- a/clients/client-support/commands/AddAttachmentsToSetCommand.ts +++ b/clients/client-support/commands/AddAttachmentsToSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddAttachmentsToSetCommandInput = AddAttachmentsToSetRequest; @@ -70,14 +70,14 @@ export class AddAttachmentsToSetCommand extends $Command< private serialize( input: AddAttachmentsToSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddAttachmentsToSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddAttachmentsToSetCommand(output, context); } diff --git a/clients/client-support/commands/AddCommunicationToCaseCommand.ts b/clients/client-support/commands/AddCommunicationToCaseCommand.ts index 8f9fc9084f84..7d5c50974d41 100644 --- a/clients/client-support/commands/AddCommunicationToCaseCommand.ts +++ b/clients/client-support/commands/AddCommunicationToCaseCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddCommunicationToCaseCommandInput = AddCommunicationToCaseRequest; @@ -70,14 +70,14 @@ export class AddCommunicationToCaseCommand extends $Command< private serialize( input: AddCommunicationToCaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AddCommunicationToCaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AddCommunicationToCaseCommand(output, context); } diff --git a/clients/client-support/commands/CreateCaseCommand.ts b/clients/client-support/commands/CreateCaseCommand.ts index 49a0973754ad..4cb949e58d38 100644 --- a/clients/client-support/commands/CreateCaseCommand.ts +++ b/clients/client-support/commands/CreateCaseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCaseCommandInput = CreateCaseRequest; @@ -64,14 +64,14 @@ export class CreateCaseCommand extends $Command< private serialize( input: CreateCaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateCaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateCaseCommand(output, context); } diff --git a/clients/client-support/commands/DescribeAttachmentCommand.ts b/clients/client-support/commands/DescribeAttachmentCommand.ts index 6cd826e79a9c..0e824e92f28f 100644 --- a/clients/client-support/commands/DescribeAttachmentCommand.ts +++ b/clients/client-support/commands/DescribeAttachmentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAttachmentCommandInput = DescribeAttachmentRequest; @@ -67,14 +67,14 @@ export class DescribeAttachmentCommand extends $Command< private serialize( input: DescribeAttachmentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAttachmentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAttachmentCommand(output, context); } diff --git a/clients/client-support/commands/DescribeCasesCommand.ts b/clients/client-support/commands/DescribeCasesCommand.ts index 761f16a600d8..fc7113bdb5f9 100644 --- a/clients/client-support/commands/DescribeCasesCommand.ts +++ b/clients/client-support/commands/DescribeCasesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCasesCommandInput = DescribeCasesRequest; @@ -64,14 +64,14 @@ export class DescribeCasesCommand extends $Command< private serialize( input: DescribeCasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCasesCommand(output, context); } diff --git a/clients/client-support/commands/DescribeCommunicationsCommand.ts b/clients/client-support/commands/DescribeCommunicationsCommand.ts index 89608e67774a..c1b31b3ea444 100644 --- a/clients/client-support/commands/DescribeCommunicationsCommand.ts +++ b/clients/client-support/commands/DescribeCommunicationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCommunicationsCommandInput = DescribeCommunicationsRequest; @@ -70,14 +70,14 @@ export class DescribeCommunicationsCommand extends $Command< private serialize( input: DescribeCommunicationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeCommunicationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeCommunicationsCommand(output, context); } diff --git a/clients/client-support/commands/DescribeServicesCommand.ts b/clients/client-support/commands/DescribeServicesCommand.ts index 52178c47471e..646c14e70685 100644 --- a/clients/client-support/commands/DescribeServicesCommand.ts +++ b/clients/client-support/commands/DescribeServicesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeServicesCommandInput = DescribeServicesRequest; @@ -67,14 +67,14 @@ export class DescribeServicesCommand extends $Command< private serialize( input: DescribeServicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeServicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeServicesCommand(output, context); } diff --git a/clients/client-support/commands/DescribeSeverityLevelsCommand.ts b/clients/client-support/commands/DescribeSeverityLevelsCommand.ts index 96e6d32bc254..da8406153196 100644 --- a/clients/client-support/commands/DescribeSeverityLevelsCommand.ts +++ b/clients/client-support/commands/DescribeSeverityLevelsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeSeverityLevelsCommandInput = DescribeSeverityLevelsRequest; @@ -70,14 +70,14 @@ export class DescribeSeverityLevelsCommand extends $Command< private serialize( input: DescribeSeverityLevelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeSeverityLevelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeSeverityLevelsCommand(output, context); } diff --git a/clients/client-support/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.ts b/clients/client-support/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.ts index c42812f7fd5f..c1dd455e2cbe 100644 --- a/clients/client-support/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.ts +++ b/clients/client-support/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrustedAdvisorCheckRefreshStatusesCommandInput = DescribeTrustedAdvisorCheckRefreshStatusesRequest; @@ -72,7 +72,7 @@ export class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends $Command< private serialize( input: DescribeTrustedAdvisorCheckRefreshStatusesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommand( input, @@ -82,7 +82,7 @@ export class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommand( output, diff --git a/clients/client-support/commands/DescribeTrustedAdvisorCheckResultCommand.ts b/clients/client-support/commands/DescribeTrustedAdvisorCheckResultCommand.ts index 95c7cb2f3c0b..692c04f227d1 100644 --- a/clients/client-support/commands/DescribeTrustedAdvisorCheckResultCommand.ts +++ b/clients/client-support/commands/DescribeTrustedAdvisorCheckResultCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrustedAdvisorCheckResultCommandInput = DescribeTrustedAdvisorCheckResultRequest; @@ -70,7 +70,7 @@ export class DescribeTrustedAdvisorCheckResultCommand extends $Command< private serialize( input: DescribeTrustedAdvisorCheckResultCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTrustedAdvisorCheckResultCommand( input, @@ -80,7 +80,7 @@ export class DescribeTrustedAdvisorCheckResultCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommand( output, diff --git a/clients/client-support/commands/DescribeTrustedAdvisorCheckSummariesCommand.ts b/clients/client-support/commands/DescribeTrustedAdvisorCheckSummariesCommand.ts index 4625c99ecdc7..5f5cfd4d3f68 100644 --- a/clients/client-support/commands/DescribeTrustedAdvisorCheckSummariesCommand.ts +++ b/clients/client-support/commands/DescribeTrustedAdvisorCheckSummariesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrustedAdvisorCheckSummariesCommandInput = DescribeTrustedAdvisorCheckSummariesRequest; @@ -72,7 +72,7 @@ export class DescribeTrustedAdvisorCheckSummariesCommand extends $Command< private serialize( input: DescribeTrustedAdvisorCheckSummariesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommand( input, @@ -82,7 +82,7 @@ export class DescribeTrustedAdvisorCheckSummariesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommand( output, diff --git a/clients/client-support/commands/DescribeTrustedAdvisorChecksCommand.ts b/clients/client-support/commands/DescribeTrustedAdvisorChecksCommand.ts index 665850f1765e..348994533019 100644 --- a/clients/client-support/commands/DescribeTrustedAdvisorChecksCommand.ts +++ b/clients/client-support/commands/DescribeTrustedAdvisorChecksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTrustedAdvisorChecksCommandInput = DescribeTrustedAdvisorChecksRequest; @@ -70,7 +70,7 @@ export class DescribeTrustedAdvisorChecksCommand extends $Command< private serialize( input: DescribeTrustedAdvisorChecksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTrustedAdvisorChecksCommand( input, @@ -80,7 +80,7 @@ export class DescribeTrustedAdvisorChecksCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTrustedAdvisorChecksCommand( output, diff --git a/clients/client-support/commands/RefreshTrustedAdvisorCheckCommand.ts b/clients/client-support/commands/RefreshTrustedAdvisorCheckCommand.ts index 8da92078a8c6..e268224cef35 100644 --- a/clients/client-support/commands/RefreshTrustedAdvisorCheckCommand.ts +++ b/clients/client-support/commands/RefreshTrustedAdvisorCheckCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RefreshTrustedAdvisorCheckCommandInput = RefreshTrustedAdvisorCheckRequest; @@ -70,7 +70,7 @@ export class RefreshTrustedAdvisorCheckCommand extends $Command< private serialize( input: RefreshTrustedAdvisorCheckCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RefreshTrustedAdvisorCheckCommand( input, @@ -80,7 +80,7 @@ export class RefreshTrustedAdvisorCheckCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RefreshTrustedAdvisorCheckCommand( output, diff --git a/clients/client-support/commands/ResolveCaseCommand.ts b/clients/client-support/commands/ResolveCaseCommand.ts index efce764eaa8e..f6e04db20e4d 100644 --- a/clients/client-support/commands/ResolveCaseCommand.ts +++ b/clients/client-support/commands/ResolveCaseCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResolveCaseCommandInput = ResolveCaseRequest; @@ -64,14 +64,14 @@ export class ResolveCaseCommand extends $Command< private serialize( input: ResolveCaseCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResolveCaseCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResolveCaseCommand(output, context); } diff --git a/clients/client-support/protocols/Aws_json1_1.ts b/clients/client-support/protocols/Aws_json1_1.ts index 5ef59dbb5d45..4ebd775579d4 100644 --- a/clients/client-support/protocols/Aws_json1_1.ts +++ b/clients/client-support/protocols/Aws_json1_1.ts @@ -2705,6 +2705,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-swf/commands/CountClosedWorkflowExecutionsCommand.ts b/clients/client-swf/commands/CountClosedWorkflowExecutionsCommand.ts index 9a0287a3f25b..656d6836a091 100644 --- a/clients/client-swf/commands/CountClosedWorkflowExecutionsCommand.ts +++ b/clients/client-swf/commands/CountClosedWorkflowExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CountClosedWorkflowExecutionsCommandInput = CountClosedWorkflowExecutionsInput; @@ -70,7 +70,7 @@ export class CountClosedWorkflowExecutionsCommand extends $Command< private serialize( input: CountClosedWorkflowExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0CountClosedWorkflowExecutionsCommand( input, @@ -80,7 +80,7 @@ export class CountClosedWorkflowExecutionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0CountClosedWorkflowExecutionsCommand( output, diff --git a/clients/client-swf/commands/CountOpenWorkflowExecutionsCommand.ts b/clients/client-swf/commands/CountOpenWorkflowExecutionsCommand.ts index 0f7a648b20d6..ebbb531d8732 100644 --- a/clients/client-swf/commands/CountOpenWorkflowExecutionsCommand.ts +++ b/clients/client-swf/commands/CountOpenWorkflowExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CountOpenWorkflowExecutionsCommandInput = CountOpenWorkflowExecutionsInput; @@ -70,7 +70,7 @@ export class CountOpenWorkflowExecutionsCommand extends $Command< private serialize( input: CountOpenWorkflowExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0CountOpenWorkflowExecutionsCommand( input, @@ -80,7 +80,7 @@ export class CountOpenWorkflowExecutionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0CountOpenWorkflowExecutionsCommand( output, diff --git a/clients/client-swf/commands/CountPendingActivityTasksCommand.ts b/clients/client-swf/commands/CountPendingActivityTasksCommand.ts index 3fc183a7af5a..45eb3e49299f 100644 --- a/clients/client-swf/commands/CountPendingActivityTasksCommand.ts +++ b/clients/client-swf/commands/CountPendingActivityTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CountPendingActivityTasksCommandInput = CountPendingActivityTasksInput; @@ -70,14 +70,14 @@ export class CountPendingActivityTasksCommand extends $Command< private serialize( input: CountPendingActivityTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0CountPendingActivityTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0CountPendingActivityTasksCommand( output, diff --git a/clients/client-swf/commands/CountPendingDecisionTasksCommand.ts b/clients/client-swf/commands/CountPendingDecisionTasksCommand.ts index 72e363a04687..7af14fa233cb 100644 --- a/clients/client-swf/commands/CountPendingDecisionTasksCommand.ts +++ b/clients/client-swf/commands/CountPendingDecisionTasksCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CountPendingDecisionTasksCommandInput = CountPendingDecisionTasksInput; @@ -70,14 +70,14 @@ export class CountPendingDecisionTasksCommand extends $Command< private serialize( input: CountPendingDecisionTasksCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0CountPendingDecisionTasksCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0CountPendingDecisionTasksCommand( output, diff --git a/clients/client-swf/commands/DeprecateActivityTypeCommand.ts b/clients/client-swf/commands/DeprecateActivityTypeCommand.ts index 2d4fa943b307..b5600f63e073 100644 --- a/clients/client-swf/commands/DeprecateActivityTypeCommand.ts +++ b/clients/client-swf/commands/DeprecateActivityTypeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeprecateActivityTypeCommandInput = DeprecateActivityTypeInput; @@ -68,14 +68,14 @@ export class DeprecateActivityTypeCommand extends $Command< private serialize( input: DeprecateActivityTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DeprecateActivityTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DeprecateActivityTypeCommand(output, context); } diff --git a/clients/client-swf/commands/DeprecateDomainCommand.ts b/clients/client-swf/commands/DeprecateDomainCommand.ts index d310963f1b56..c7b468ad1847 100644 --- a/clients/client-swf/commands/DeprecateDomainCommand.ts +++ b/clients/client-swf/commands/DeprecateDomainCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeprecateDomainCommandInput = DeprecateDomainInput; @@ -65,14 +65,14 @@ export class DeprecateDomainCommand extends $Command< private serialize( input: DeprecateDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DeprecateDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DeprecateDomainCommand(output, context); } diff --git a/clients/client-swf/commands/DeprecateWorkflowTypeCommand.ts b/clients/client-swf/commands/DeprecateWorkflowTypeCommand.ts index b7955af1d341..6e287964191b 100644 --- a/clients/client-swf/commands/DeprecateWorkflowTypeCommand.ts +++ b/clients/client-swf/commands/DeprecateWorkflowTypeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeprecateWorkflowTypeCommandInput = DeprecateWorkflowTypeInput; @@ -68,14 +68,14 @@ export class DeprecateWorkflowTypeCommand extends $Command< private serialize( input: DeprecateWorkflowTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DeprecateWorkflowTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DeprecateWorkflowTypeCommand(output, context); } diff --git a/clients/client-swf/commands/DescribeActivityTypeCommand.ts b/clients/client-swf/commands/DescribeActivityTypeCommand.ts index 8543f543baa4..0f0ae1644f69 100644 --- a/clients/client-swf/commands/DescribeActivityTypeCommand.ts +++ b/clients/client-swf/commands/DescribeActivityTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeActivityTypeCommandInput = DescribeActivityTypeInput; @@ -67,14 +67,14 @@ export class DescribeActivityTypeCommand extends $Command< private serialize( input: DescribeActivityTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeActivityTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeActivityTypeCommand(output, context); } diff --git a/clients/client-swf/commands/DescribeDomainCommand.ts b/clients/client-swf/commands/DescribeDomainCommand.ts index a3894f6c056c..8d34eea2b431 100644 --- a/clients/client-swf/commands/DescribeDomainCommand.ts +++ b/clients/client-swf/commands/DescribeDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDomainCommandInput = DescribeDomainInput; @@ -64,14 +64,14 @@ export class DescribeDomainCommand extends $Command< private serialize( input: DescribeDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeDomainCommand(output, context); } diff --git a/clients/client-swf/commands/DescribeWorkflowExecutionCommand.ts b/clients/client-swf/commands/DescribeWorkflowExecutionCommand.ts index c5432c134693..32399493c72c 100644 --- a/clients/client-swf/commands/DescribeWorkflowExecutionCommand.ts +++ b/clients/client-swf/commands/DescribeWorkflowExecutionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWorkflowExecutionCommandInput = DescribeWorkflowExecutionInput; @@ -70,14 +70,14 @@ export class DescribeWorkflowExecutionCommand extends $Command< private serialize( input: DescribeWorkflowExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeWorkflowExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeWorkflowExecutionCommand( output, diff --git a/clients/client-swf/commands/DescribeWorkflowTypeCommand.ts b/clients/client-swf/commands/DescribeWorkflowTypeCommand.ts index 80797e064733..b2081425349f 100644 --- a/clients/client-swf/commands/DescribeWorkflowTypeCommand.ts +++ b/clients/client-swf/commands/DescribeWorkflowTypeCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWorkflowTypeCommandInput = DescribeWorkflowTypeInput; @@ -67,14 +67,14 @@ export class DescribeWorkflowTypeCommand extends $Command< private serialize( input: DescribeWorkflowTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0DescribeWorkflowTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0DescribeWorkflowTypeCommand(output, context); } diff --git a/clients/client-swf/commands/GetWorkflowExecutionHistoryCommand.ts b/clients/client-swf/commands/GetWorkflowExecutionHistoryCommand.ts index 7a34f11f7360..17826c52927e 100644 --- a/clients/client-swf/commands/GetWorkflowExecutionHistoryCommand.ts +++ b/clients/client-swf/commands/GetWorkflowExecutionHistoryCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWorkflowExecutionHistoryCommandInput = GetWorkflowExecutionHistoryInput; @@ -67,7 +67,7 @@ export class GetWorkflowExecutionHistoryCommand extends $Command< private serialize( input: GetWorkflowExecutionHistoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0GetWorkflowExecutionHistoryCommand( input, @@ -77,7 +77,7 @@ export class GetWorkflowExecutionHistoryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0GetWorkflowExecutionHistoryCommand( output, diff --git a/clients/client-swf/commands/ListActivityTypesCommand.ts b/clients/client-swf/commands/ListActivityTypesCommand.ts index 48b606877d24..ae1fac30ee8c 100644 --- a/clients/client-swf/commands/ListActivityTypesCommand.ts +++ b/clients/client-swf/commands/ListActivityTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListActivityTypesCommandInput = ListActivityTypesInput; @@ -64,14 +64,14 @@ export class ListActivityTypesCommand extends $Command< private serialize( input: ListActivityTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListActivityTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListActivityTypesCommand(output, context); } diff --git a/clients/client-swf/commands/ListClosedWorkflowExecutionsCommand.ts b/clients/client-swf/commands/ListClosedWorkflowExecutionsCommand.ts index 3d97b28ebcd1..90f3cf0589bb 100644 --- a/clients/client-swf/commands/ListClosedWorkflowExecutionsCommand.ts +++ b/clients/client-swf/commands/ListClosedWorkflowExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListClosedWorkflowExecutionsCommandInput = ListClosedWorkflowExecutionsInput; @@ -70,7 +70,7 @@ export class ListClosedWorkflowExecutionsCommand extends $Command< private serialize( input: ListClosedWorkflowExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListClosedWorkflowExecutionsCommand( input, @@ -80,7 +80,7 @@ export class ListClosedWorkflowExecutionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListClosedWorkflowExecutionsCommand( output, diff --git a/clients/client-swf/commands/ListDomainsCommand.ts b/clients/client-swf/commands/ListDomainsCommand.ts index 77eacfd5f760..cdff7f1d344c 100644 --- a/clients/client-swf/commands/ListDomainsCommand.ts +++ b/clients/client-swf/commands/ListDomainsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDomainsCommandInput = ListDomainsInput; @@ -64,14 +64,14 @@ export class ListDomainsCommand extends $Command< private serialize( input: ListDomainsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListDomainsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListDomainsCommand(output, context); } diff --git a/clients/client-swf/commands/ListOpenWorkflowExecutionsCommand.ts b/clients/client-swf/commands/ListOpenWorkflowExecutionsCommand.ts index 8f65530fd4d3..f2a3695f6023 100644 --- a/clients/client-swf/commands/ListOpenWorkflowExecutionsCommand.ts +++ b/clients/client-swf/commands/ListOpenWorkflowExecutionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOpenWorkflowExecutionsCommandInput = ListOpenWorkflowExecutionsInput; @@ -70,7 +70,7 @@ export class ListOpenWorkflowExecutionsCommand extends $Command< private serialize( input: ListOpenWorkflowExecutionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListOpenWorkflowExecutionsCommand( input, @@ -80,7 +80,7 @@ export class ListOpenWorkflowExecutionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListOpenWorkflowExecutionsCommand( output, diff --git a/clients/client-swf/commands/ListTagsForResourceCommand.ts b/clients/client-swf/commands/ListTagsForResourceCommand.ts index addbe35e322c..bcb0e9a2ce95 100644 --- a/clients/client-swf/commands/ListTagsForResourceCommand.ts +++ b/clients/client-swf/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceInput; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListTagsForResourceCommand(output, context); } diff --git a/clients/client-swf/commands/ListWorkflowTypesCommand.ts b/clients/client-swf/commands/ListWorkflowTypesCommand.ts index a4b4e945ca98..7c4d0f184a41 100644 --- a/clients/client-swf/commands/ListWorkflowTypesCommand.ts +++ b/clients/client-swf/commands/ListWorkflowTypesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWorkflowTypesCommandInput = ListWorkflowTypesInput; @@ -64,14 +64,14 @@ export class ListWorkflowTypesCommand extends $Command< private serialize( input: ListWorkflowTypesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0ListWorkflowTypesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0ListWorkflowTypesCommand(output, context); } diff --git a/clients/client-swf/commands/PollForActivityTaskCommand.ts b/clients/client-swf/commands/PollForActivityTaskCommand.ts index 43e2b730fd77..d93dd5ab9831 100644 --- a/clients/client-swf/commands/PollForActivityTaskCommand.ts +++ b/clients/client-swf/commands/PollForActivityTaskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PollForActivityTaskCommandInput = PollForActivityTaskInput; @@ -67,14 +67,14 @@ export class PollForActivityTaskCommand extends $Command< private serialize( input: PollForActivityTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0PollForActivityTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0PollForActivityTaskCommand(output, context); } diff --git a/clients/client-swf/commands/PollForDecisionTaskCommand.ts b/clients/client-swf/commands/PollForDecisionTaskCommand.ts index 006a9b3e1360..52f497a93340 100644 --- a/clients/client-swf/commands/PollForDecisionTaskCommand.ts +++ b/clients/client-swf/commands/PollForDecisionTaskCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PollForDecisionTaskCommandInput = PollForDecisionTaskInput; @@ -67,14 +67,14 @@ export class PollForDecisionTaskCommand extends $Command< private serialize( input: PollForDecisionTaskCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0PollForDecisionTaskCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0PollForDecisionTaskCommand(output, context); } diff --git a/clients/client-swf/commands/RecordActivityTaskHeartbeatCommand.ts b/clients/client-swf/commands/RecordActivityTaskHeartbeatCommand.ts index fb7292e1d502..0b3a2ac5c2a8 100644 --- a/clients/client-swf/commands/RecordActivityTaskHeartbeatCommand.ts +++ b/clients/client-swf/commands/RecordActivityTaskHeartbeatCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RecordActivityTaskHeartbeatCommandInput = RecordActivityTaskHeartbeatInput; @@ -70,7 +70,7 @@ export class RecordActivityTaskHeartbeatCommand extends $Command< private serialize( input: RecordActivityTaskHeartbeatCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0RecordActivityTaskHeartbeatCommand( input, @@ -80,7 +80,7 @@ export class RecordActivityTaskHeartbeatCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0RecordActivityTaskHeartbeatCommand( output, diff --git a/clients/client-swf/commands/RegisterActivityTypeCommand.ts b/clients/client-swf/commands/RegisterActivityTypeCommand.ts index d7bbd82540fe..55a0ec528b05 100644 --- a/clients/client-swf/commands/RegisterActivityTypeCommand.ts +++ b/clients/client-swf/commands/RegisterActivityTypeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterActivityTypeCommandInput = RegisterActivityTypeInput; @@ -68,14 +68,14 @@ export class RegisterActivityTypeCommand extends $Command< private serialize( input: RegisterActivityTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0RegisterActivityTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0RegisterActivityTypeCommand(output, context); } diff --git a/clients/client-swf/commands/RegisterDomainCommand.ts b/clients/client-swf/commands/RegisterDomainCommand.ts index 764989766dde..8202583e2460 100644 --- a/clients/client-swf/commands/RegisterDomainCommand.ts +++ b/clients/client-swf/commands/RegisterDomainCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterDomainCommandInput = RegisterDomainInput; @@ -65,14 +65,14 @@ export class RegisterDomainCommand extends $Command< private serialize( input: RegisterDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0RegisterDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0RegisterDomainCommand(output, context); } diff --git a/clients/client-swf/commands/RegisterWorkflowTypeCommand.ts b/clients/client-swf/commands/RegisterWorkflowTypeCommand.ts index 73b5725dcebb..872ca28549e6 100644 --- a/clients/client-swf/commands/RegisterWorkflowTypeCommand.ts +++ b/clients/client-swf/commands/RegisterWorkflowTypeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterWorkflowTypeCommandInput = RegisterWorkflowTypeInput; @@ -68,14 +68,14 @@ export class RegisterWorkflowTypeCommand extends $Command< private serialize( input: RegisterWorkflowTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0RegisterWorkflowTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0RegisterWorkflowTypeCommand(output, context); } diff --git a/clients/client-swf/commands/RequestCancelWorkflowExecutionCommand.ts b/clients/client-swf/commands/RequestCancelWorkflowExecutionCommand.ts index 48bee2fbe80c..f00afdc910a3 100644 --- a/clients/client-swf/commands/RequestCancelWorkflowExecutionCommand.ts +++ b/clients/client-swf/commands/RequestCancelWorkflowExecutionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RequestCancelWorkflowExecutionCommandInput = RequestCancelWorkflowExecutionInput; @@ -68,7 +68,7 @@ export class RequestCancelWorkflowExecutionCommand extends $Command< private serialize( input: RequestCancelWorkflowExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0RequestCancelWorkflowExecutionCommand( input, @@ -78,7 +78,7 @@ export class RequestCancelWorkflowExecutionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0RequestCancelWorkflowExecutionCommand( output, diff --git a/clients/client-swf/commands/RespondActivityTaskCanceledCommand.ts b/clients/client-swf/commands/RespondActivityTaskCanceledCommand.ts index ffeb23774f8f..5df5039d9e08 100644 --- a/clients/client-swf/commands/RespondActivityTaskCanceledCommand.ts +++ b/clients/client-swf/commands/RespondActivityTaskCanceledCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RespondActivityTaskCanceledCommandInput = RespondActivityTaskCanceledInput; @@ -68,7 +68,7 @@ export class RespondActivityTaskCanceledCommand extends $Command< private serialize( input: RespondActivityTaskCanceledCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0RespondActivityTaskCanceledCommand( input, @@ -78,7 +78,7 @@ export class RespondActivityTaskCanceledCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0RespondActivityTaskCanceledCommand( output, diff --git a/clients/client-swf/commands/RespondActivityTaskCompletedCommand.ts b/clients/client-swf/commands/RespondActivityTaskCompletedCommand.ts index c3de61343ca2..c192ebcf5f8f 100644 --- a/clients/client-swf/commands/RespondActivityTaskCompletedCommand.ts +++ b/clients/client-swf/commands/RespondActivityTaskCompletedCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RespondActivityTaskCompletedCommandInput = RespondActivityTaskCompletedInput; @@ -68,7 +68,7 @@ export class RespondActivityTaskCompletedCommand extends $Command< private serialize( input: RespondActivityTaskCompletedCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0RespondActivityTaskCompletedCommand( input, @@ -78,7 +78,7 @@ export class RespondActivityTaskCompletedCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0RespondActivityTaskCompletedCommand( output, diff --git a/clients/client-swf/commands/RespondActivityTaskFailedCommand.ts b/clients/client-swf/commands/RespondActivityTaskFailedCommand.ts index bae7732d7f1b..401050db7a8b 100644 --- a/clients/client-swf/commands/RespondActivityTaskFailedCommand.ts +++ b/clients/client-swf/commands/RespondActivityTaskFailedCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RespondActivityTaskFailedCommandInput = RespondActivityTaskFailedInput; @@ -68,14 +68,14 @@ export class RespondActivityTaskFailedCommand extends $Command< private serialize( input: RespondActivityTaskFailedCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0RespondActivityTaskFailedCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0RespondActivityTaskFailedCommand( output, diff --git a/clients/client-swf/commands/RespondDecisionTaskCompletedCommand.ts b/clients/client-swf/commands/RespondDecisionTaskCompletedCommand.ts index 02ce324bba66..ea699e30c06a 100644 --- a/clients/client-swf/commands/RespondDecisionTaskCompletedCommand.ts +++ b/clients/client-swf/commands/RespondDecisionTaskCompletedCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RespondDecisionTaskCompletedCommandInput = RespondDecisionTaskCompletedInput; @@ -68,7 +68,7 @@ export class RespondDecisionTaskCompletedCommand extends $Command< private serialize( input: RespondDecisionTaskCompletedCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0RespondDecisionTaskCompletedCommand( input, @@ -78,7 +78,7 @@ export class RespondDecisionTaskCompletedCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0RespondDecisionTaskCompletedCommand( output, diff --git a/clients/client-swf/commands/SignalWorkflowExecutionCommand.ts b/clients/client-swf/commands/SignalWorkflowExecutionCommand.ts index 384018a87ab3..b67a259178d3 100644 --- a/clients/client-swf/commands/SignalWorkflowExecutionCommand.ts +++ b/clients/client-swf/commands/SignalWorkflowExecutionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SignalWorkflowExecutionCommandInput = SignalWorkflowExecutionInput; @@ -68,14 +68,14 @@ export class SignalWorkflowExecutionCommand extends $Command< private serialize( input: SignalWorkflowExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0SignalWorkflowExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0SignalWorkflowExecutionCommand( output, diff --git a/clients/client-swf/commands/StartWorkflowExecutionCommand.ts b/clients/client-swf/commands/StartWorkflowExecutionCommand.ts index 59b15d14cd95..1b2aff5f99dc 100644 --- a/clients/client-swf/commands/StartWorkflowExecutionCommand.ts +++ b/clients/client-swf/commands/StartWorkflowExecutionCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartWorkflowExecutionCommandInput = StartWorkflowExecutionInput; @@ -67,14 +67,14 @@ export class StartWorkflowExecutionCommand extends $Command< private serialize( input: StartWorkflowExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0StartWorkflowExecutionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0StartWorkflowExecutionCommand(output, context); } diff --git a/clients/client-swf/commands/TagResourceCommand.ts b/clients/client-swf/commands/TagResourceCommand.ts index a3566462312f..1da94a57e6a7 100644 --- a/clients/client-swf/commands/TagResourceCommand.ts +++ b/clients/client-swf/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceInput; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0TagResourceCommand(output, context); } diff --git a/clients/client-swf/commands/TerminateWorkflowExecutionCommand.ts b/clients/client-swf/commands/TerminateWorkflowExecutionCommand.ts index a31ffb435f7a..e303bd9eb9eb 100644 --- a/clients/client-swf/commands/TerminateWorkflowExecutionCommand.ts +++ b/clients/client-swf/commands/TerminateWorkflowExecutionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TerminateWorkflowExecutionCommandInput = TerminateWorkflowExecutionInput; @@ -68,7 +68,7 @@ export class TerminateWorkflowExecutionCommand extends $Command< private serialize( input: TerminateWorkflowExecutionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0TerminateWorkflowExecutionCommand( input, @@ -78,7 +78,7 @@ export class TerminateWorkflowExecutionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0TerminateWorkflowExecutionCommand( output, diff --git a/clients/client-swf/commands/UndeprecateActivityTypeCommand.ts b/clients/client-swf/commands/UndeprecateActivityTypeCommand.ts index 9ffe63c4da1d..a5e47f3729a5 100644 --- a/clients/client-swf/commands/UndeprecateActivityTypeCommand.ts +++ b/clients/client-swf/commands/UndeprecateActivityTypeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UndeprecateActivityTypeCommandInput = UndeprecateActivityTypeInput; @@ -68,14 +68,14 @@ export class UndeprecateActivityTypeCommand extends $Command< private serialize( input: UndeprecateActivityTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UndeprecateActivityTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UndeprecateActivityTypeCommand( output, diff --git a/clients/client-swf/commands/UndeprecateDomainCommand.ts b/clients/client-swf/commands/UndeprecateDomainCommand.ts index 3e8df3cd1702..0b7cfa6cd506 100644 --- a/clients/client-swf/commands/UndeprecateDomainCommand.ts +++ b/clients/client-swf/commands/UndeprecateDomainCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UndeprecateDomainCommandInput = UndeprecateDomainInput; @@ -65,14 +65,14 @@ export class UndeprecateDomainCommand extends $Command< private serialize( input: UndeprecateDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UndeprecateDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UndeprecateDomainCommand(output, context); } diff --git a/clients/client-swf/commands/UndeprecateWorkflowTypeCommand.ts b/clients/client-swf/commands/UndeprecateWorkflowTypeCommand.ts index 6d6e83ca94e5..cc7d29ec305b 100644 --- a/clients/client-swf/commands/UndeprecateWorkflowTypeCommand.ts +++ b/clients/client-swf/commands/UndeprecateWorkflowTypeCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UndeprecateWorkflowTypeCommandInput = UndeprecateWorkflowTypeInput; @@ -68,14 +68,14 @@ export class UndeprecateWorkflowTypeCommand extends $Command< private serialize( input: UndeprecateWorkflowTypeCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UndeprecateWorkflowTypeCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UndeprecateWorkflowTypeCommand( output, diff --git a/clients/client-swf/commands/UntagResourceCommand.ts b/clients/client-swf/commands/UntagResourceCommand.ts index ab1a71450a74..70efb9e1e0a5 100644 --- a/clients/client-swf/commands/UntagResourceCommand.ts +++ b/clients/client-swf/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceInput; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_0UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_0UntagResourceCommand(output, context); } diff --git a/clients/client-swf/protocols/Aws_json1_0.ts b/clients/client-swf/protocols/Aws_json1_0.ts index 1b8ca9de3a4b..8edb56e7da92 100644 --- a/clients/client-swf/protocols/Aws_json1_0.ts +++ b/clients/client-swf/protocols/Aws_json1_0.ts @@ -8290,6 +8290,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-textract/commands/AnalyzeDocumentCommand.ts b/clients/client-textract/commands/AnalyzeDocumentCommand.ts index 715f4c0a35cf..1d53f79bc24b 100644 --- a/clients/client-textract/commands/AnalyzeDocumentCommand.ts +++ b/clients/client-textract/commands/AnalyzeDocumentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AnalyzeDocumentCommandInput = AnalyzeDocumentRequest; @@ -67,14 +67,14 @@ export class AnalyzeDocumentCommand extends $Command< private serialize( input: AnalyzeDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AnalyzeDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AnalyzeDocumentCommand(output, context); } diff --git a/clients/client-textract/commands/DetectDocumentTextCommand.ts b/clients/client-textract/commands/DetectDocumentTextCommand.ts index 0b8e08e16ad6..da1284c7fdf6 100644 --- a/clients/client-textract/commands/DetectDocumentTextCommand.ts +++ b/clients/client-textract/commands/DetectDocumentTextCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DetectDocumentTextCommandInput = DetectDocumentTextRequest; @@ -67,14 +67,14 @@ export class DetectDocumentTextCommand extends $Command< private serialize( input: DetectDocumentTextCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DetectDocumentTextCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DetectDocumentTextCommand(output, context); } diff --git a/clients/client-textract/commands/GetDocumentAnalysisCommand.ts b/clients/client-textract/commands/GetDocumentAnalysisCommand.ts index 61ce3a156e5c..6d5e34b7ff64 100644 --- a/clients/client-textract/commands/GetDocumentAnalysisCommand.ts +++ b/clients/client-textract/commands/GetDocumentAnalysisCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDocumentAnalysisCommandInput = GetDocumentAnalysisRequest; @@ -70,14 +70,14 @@ export class GetDocumentAnalysisCommand extends $Command< private serialize( input: GetDocumentAnalysisCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDocumentAnalysisCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDocumentAnalysisCommand(output, context); } diff --git a/clients/client-textract/commands/GetDocumentTextDetectionCommand.ts b/clients/client-textract/commands/GetDocumentTextDetectionCommand.ts index 1b8ae5499396..e073b260347e 100644 --- a/clients/client-textract/commands/GetDocumentTextDetectionCommand.ts +++ b/clients/client-textract/commands/GetDocumentTextDetectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDocumentTextDetectionCommandInput = GetDocumentTextDetectionRequest; @@ -70,14 +70,14 @@ export class GetDocumentTextDetectionCommand extends $Command< private serialize( input: GetDocumentTextDetectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetDocumentTextDetectionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetDocumentTextDetectionCommand( output, diff --git a/clients/client-textract/commands/StartDocumentAnalysisCommand.ts b/clients/client-textract/commands/StartDocumentAnalysisCommand.ts index b5dcb7da56d5..2ba4e45583bc 100644 --- a/clients/client-textract/commands/StartDocumentAnalysisCommand.ts +++ b/clients/client-textract/commands/StartDocumentAnalysisCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDocumentAnalysisCommandInput = StartDocumentAnalysisRequest; @@ -70,14 +70,14 @@ export class StartDocumentAnalysisCommand extends $Command< private serialize( input: StartDocumentAnalysisCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartDocumentAnalysisCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartDocumentAnalysisCommand(output, context); } diff --git a/clients/client-textract/commands/StartDocumentTextDetectionCommand.ts b/clients/client-textract/commands/StartDocumentTextDetectionCommand.ts index 6f3204e29bc5..5cc3d7ddb228 100644 --- a/clients/client-textract/commands/StartDocumentTextDetectionCommand.ts +++ b/clients/client-textract/commands/StartDocumentTextDetectionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartDocumentTextDetectionCommandInput = StartDocumentTextDetectionRequest; @@ -70,7 +70,7 @@ export class StartDocumentTextDetectionCommand extends $Command< private serialize( input: StartDocumentTextDetectionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartDocumentTextDetectionCommand( input, @@ -80,7 +80,7 @@ export class StartDocumentTextDetectionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartDocumentTextDetectionCommand( output, diff --git a/clients/client-textract/protocols/Aws_json1_1.ts b/clients/client-textract/protocols/Aws_json1_1.ts index 4b463021e774..dd4282c48d17 100644 --- a/clients/client-textract/protocols/Aws_json1_1.ts +++ b/clients/client-textract/protocols/Aws_json1_1.ts @@ -2070,6 +2070,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-transcribe-streaming/TranscribeStreamingClient.ts b/clients/client-transcribe-streaming/TranscribeStreamingClient.ts index 4363e4344c23..c95f61a7da49 100644 --- a/clients/client-transcribe-streaming/TranscribeStreamingClient.ts +++ b/clients/client-transcribe-streaming/TranscribeStreamingClient.ts @@ -11,6 +11,11 @@ import { resolveEndpointsConfig, resolveRegionConfig } from "@aws-sdk/config-resolver"; +import { + EventStreamSerdeInputConfig, + EventStreamSerdeResolvedConfig, + resolveEventStreamSerdeConfig +} from "@aws-sdk/eventstream-serde-config-resolver"; import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length"; import { HostHeaderInputConfig, @@ -47,6 +52,7 @@ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, + EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Provider as __Provider, @@ -141,6 +147,11 @@ export interface ClientDefaults * Fetch related hostname, signing name or signing region with given region. */ regionInfoProvider?: RegionInfoProvider; + + /** + * The function that provides necessary utilities for generating and signing event stream + */ + eventStreamSerdeProvider?: __EventStreamSerdeProvider; } export type TranscribeStreamingClientConfig = Partial< @@ -152,7 +163,8 @@ export type TranscribeStreamingClientConfig = Partial< AwsAuthInputConfig & RetryInputConfig & UserAgentInputConfig & - HostHeaderInputConfig; + HostHeaderInputConfig & + EventStreamSerdeInputConfig; export type TranscribeStreamingClientResolvedConfig = __SmithyResolvedConfiguration< __HttpHandlerOptions @@ -163,7 +175,8 @@ export type TranscribeStreamingClientResolvedConfig = __SmithyResolvedConfigurat AwsAuthResolvedConfig & RetryResolvedConfig & UserAgentResolvedConfig & - HostHeaderResolvedConfig; + HostHeaderResolvedConfig & + EventStreamSerdeResolvedConfig; /** *

Operations and objects for transcribing streaming speech to text.

@@ -187,8 +200,9 @@ export class TranscribeStreamingClient extends __Client< let _config_4 = resolveRetryConfig(_config_3); let _config_5 = resolveUserAgentConfig(_config_4); let _config_6 = resolveHostHeaderConfig(_config_5); - super(_config_6); - this.config = _config_6; + let _config_7 = resolveEventStreamSerdeConfig(_config_6); + super(_config_7); + this.config = _config_7; this.middlewareStack.use(getAwsAuthPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); diff --git a/clients/client-transcribe-streaming/commands/StartStreamTranscriptionCommand.ts b/clients/client-transcribe-streaming/commands/StartStreamTranscriptionCommand.ts index 0f6d73b12933..8b9cf7ad8436 100644 --- a/clients/client-transcribe-streaming/commands/StartStreamTranscriptionCommand.ts +++ b/clients/client-transcribe-streaming/commands/StartStreamTranscriptionCommand.ts @@ -22,8 +22,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + EventStreamSerdeContext as __EventStreamSerdeContext, + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartStreamTranscriptionCommandInput = StartStreamTranscriptionRequest; @@ -70,7 +71,7 @@ export class StartStreamTranscriptionCommand extends $Command< private serialize( input: StartStreamTranscriptionCommandInput, - context: SerdeContext + context: __SerdeContext & __EventStreamSerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1StartStreamTranscriptionCommand( input, @@ -80,7 +81,7 @@ export class StartStreamTranscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext & __EventStreamSerdeContext ): Promise { return deserializeAws_restJson1_1StartStreamTranscriptionCommand( output, diff --git a/clients/client-transcribe-streaming/models/index.ts b/clients/client-transcribe-streaming/models/index.ts index 65fd32c809ea..db5c1221a400 100644 --- a/clients/client-transcribe-streaming/models/index.ts +++ b/clients/client-transcribe-streaming/models/index.ts @@ -251,7 +251,7 @@ export interface StartStreamTranscriptionRequest { *

PCM-encoded stream of audio blobs. The audio stream is encoded as an HTTP2 data * frame.

*/ - AudioStream?: AudioStream; + AudioStream?: AsyncIterable; /** *

Indicates the source language used in the input audio stream.

@@ -319,7 +319,7 @@ export interface StartStreamTranscriptionResponse extends $MetadataBearer { /** *

Represents the stream of transcription events from Amazon Transcribe to your application.

*/ - TranscriptResultStream?: TranscriptResultStream; + TranscriptResultStream?: AsyncIterable; /** *

The name of the vocabulary used when processing the job.

diff --git a/clients/client-transcribe-streaming/package.json b/clients/client-transcribe-streaming/package.json index 54e7709a70dd..e6a5d8f8c5ff 100644 --- a/clients/client-transcribe-streaming/package.json +++ b/clients/client-transcribe-streaming/package.json @@ -31,6 +31,9 @@ "@aws-crypto/sha256-browser": "^1.0.0-alpha.0", "@aws-sdk/config-resolver": "^1.0.0-alpha.11", "@aws-sdk/credential-provider-node": "^1.0.0-alpha.5", + "@aws-sdk/eventstream-serde-browser": "^1.0.0-alpha.0", + "@aws-sdk/eventstream-serde-config-resolver": "^1.0.0-alpha.0", + "@aws-sdk/eventstream-serde-node": "^1.0.0-alpha.0", "@aws-sdk/fetch-http-handler": "^1.0.0-alpha.7", "@aws-sdk/hash-node": "^1.0.0-alpha.4", "@aws-sdk/invalid-dependency": "^1.0.0-alpha.2", diff --git a/clients/client-transcribe-streaming/protocols/Aws_restJson1_1.ts b/clients/client-transcribe-streaming/protocols/Aws_restJson1_1.ts index 18dcc6ce6ee3..5750d1a0a2cf 100644 --- a/clients/client-transcribe-streaming/protocols/Aws_restJson1_1.ts +++ b/clients/client-transcribe-streaming/protocols/Aws_restJson1_1.ts @@ -23,6 +23,8 @@ import { import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client"; import { Endpoint as __Endpoint, + EventStreamSerdeContext as __EventStreamSerdeContext, + Message as __Message, MetadataBearer as __MetadataBearer, ResponseMetadata as __ResponseMetadata, SerdeContext as __SerdeContext @@ -30,7 +32,7 @@ import { export async function serializeAws_restJson1_1StartStreamTranscriptionCommand( input: StartStreamTranscriptionCommandInput, - context: __SerdeContext + context: __SerdeContext & __EventStreamSerdeContext ): Promise<__HttpRequest> { const headers: any = {}; headers["Content-Type"] = ""; @@ -54,7 +56,9 @@ export async function serializeAws_restJson1_1StartStreamTranscriptionCommand( let resolvedPath = "/stream-transcription"; let body: any; if (input.AudioStream !== undefined) { - body = serializeAws_restJson1_1AudioStream(input.AudioStream, context); + body = context.eventStreamMarshaller.serialize(input.AudioStream, event => + serializeAws_restJson1_1AudioStream_event(event, context) + ); } if (body === undefined) { body = {}; @@ -72,7 +76,7 @@ export async function serializeAws_restJson1_1StartStreamTranscriptionCommand( export async function deserializeAws_restJson1_1StartStreamTranscriptionCommand( output: __HttpResponse, - context: __SerdeContext + context: __SerdeContext & __EventStreamSerdeContext ): Promise { if (output.statusCode !== 200 && output.statusCode >= 400) { return deserializeAws_restJson1_1StartStreamTranscriptionCommandError( @@ -113,11 +117,31 @@ export async function deserializeAws_restJson1_1StartStreamTranscriptionCommand( contents.VocabularyName = output.headers["x-amzn-transcribe-vocabulary-name"]; } - const data: any = await parseBody(output.body, context); - contents.TranscriptResultStream = deserializeAws_restJson1_1TranscriptResultStream( - data, - context + const data: any = context.eventStreamMarshaller.deserialize( + output.body, + async event => { + const eventName = Object.keys(event)[0]; + const eventHeaders = Object.entries(event[eventName].headers).reduce( + (accummulator, curr) => { + accummulator[curr[0]] = curr[1].value; + return accummulator; + }, + {} as { [key: string]: any } + ); + const eventMessage = { + headers: eventHeaders, + body: event[eventName].body + }; + const parsedEvent = { + [eventName]: eventMessage + }; + return await deserializeAws_restJson1_1TranscriptResultStream_event( + parsedEvent, + context + ); + } ); + contents.TranscriptResultStream = data; return Promise.resolve(contents); } @@ -176,6 +200,120 @@ async function deserializeAws_restJson1_1StartStreamTranscriptionCommandError( return Promise.reject(Object.assign(new Error(message), response)); } +const serializeAws_restJson1_1AudioStream_event = ( + input: any, + context: __SerdeContext +): __Message => { + return AudioStream.visit(input, { + AudioEvent: value => + serializeAws_restJson1_1AudioEvent_event(value, context), + _: value => value as any + }); +}; +const deserializeAws_restJson1_1TranscriptResultStream_event = async ( + output: any, + context: __SerdeContext +): Promise => { + if (output["BadRequestException"] !== undefined) { + return { + BadRequestException: await deserializeAws_restJson1_1BadRequestException_event( + output["BadRequestException"], + context + ) + }; + } + if (output["ConflictException"] !== undefined) { + return { + ConflictException: await deserializeAws_restJson1_1ConflictException_event( + output["ConflictException"], + context + ) + }; + } + if (output["InternalFailureException"] !== undefined) { + return { + InternalFailureException: await deserializeAws_restJson1_1InternalFailureException_event( + output["InternalFailureException"], + context + ) + }; + } + if (output["LimitExceededException"] !== undefined) { + return { + LimitExceededException: await deserializeAws_restJson1_1LimitExceededException_event( + output["LimitExceededException"], + context + ) + }; + } + if (output["TranscriptEvent"] !== undefined) { + return { + TranscriptEvent: await deserializeAws_restJson1_1TranscriptEvent_event( + output["TranscriptEvent"], + context + ) + }; + } + return { $unknown: output }; +}; +const serializeAws_restJson1_1AudioEvent_event = ( + input: AudioEvent, + context: __SerdeContext +): __Message => { + const message: __Message = { + headers: { + ":event-type": { type: "string", value: "AudioEvent" }, + ":message-type": { type: "string", value: "event" } + }, + body: new Uint8Array() + }; + message.body = input.AudioChunk || message.body; + return message; +}; +const deserializeAws_restJson1_1BadRequestException_event = async ( + output: any, + context: __SerdeContext +): Promise => { + return deserializeAws_restJson1_1BadRequestExceptionResponse(output, context); +}; +const deserializeAws_restJson1_1ConflictException_event = async ( + output: any, + context: __SerdeContext +): Promise => { + return deserializeAws_restJson1_1ConflictExceptionResponse(output, context); +}; +const deserializeAws_restJson1_1InternalFailureException_event = async ( + output: any, + context: __SerdeContext +): Promise => { + return deserializeAws_restJson1_1InternalFailureExceptionResponse( + output, + context + ); +}; +const deserializeAws_restJson1_1LimitExceededException_event = async ( + output: any, + context: __SerdeContext +): Promise => { + return deserializeAws_restJson1_1LimitExceededExceptionResponse( + output, + context + ); +}; +const deserializeAws_restJson1_1TranscriptEvent_event = async ( + output: any, + context: __SerdeContext +): Promise => { + let contents: TranscriptEvent = { + __type: "TranscriptEvent" + } as any; + const data: any = await parseBody(output.body, context); + contents = { + ...contents, + ...deserializeAws_restJson1_1TranscriptEvent(data, context) + } as any; + return contents; +}; const deserializeAws_restJson1_1BadRequestExceptionResponse = async ( output: any, context: __SerdeContext @@ -292,48 +430,6 @@ const deserializeAws_restJson1_1AlternativeList = ( ); }; -const deserializeAws_restJson1_1BadRequestException = ( - output: any, - context: __SerdeContext -): BadRequestException => { - let contents: any = { - __type: "BadRequestException", - Message: undefined - }; - if (output.Message !== undefined && output.Message !== null) { - contents.Message = output.Message; - } - return contents; -}; - -const deserializeAws_restJson1_1ConflictException = ( - output: any, - context: __SerdeContext -): ConflictException => { - let contents: any = { - __type: "ConflictException", - Message: undefined - }; - if (output.Message !== undefined && output.Message !== null) { - contents.Message = output.Message; - } - return contents; -}; - -const deserializeAws_restJson1_1InternalFailureException = ( - output: any, - context: __SerdeContext -): InternalFailureException => { - let contents: any = { - __type: "InternalFailureException", - Message: undefined - }; - if (output.Message !== undefined && output.Message !== null) { - contents.Message = output.Message; - } - return contents; -}; - const deserializeAws_restJson1_1Item = ( output: any, context: __SerdeContext @@ -369,20 +465,6 @@ const deserializeAws_restJson1_1ItemList = ( ); }; -const deserializeAws_restJson1_1LimitExceededException = ( - output: any, - context: __SerdeContext -): LimitExceededException => { - let contents: any = { - __type: "LimitExceededException", - Message: undefined - }; - if (output.Message !== undefined && output.Message !== null) { - contents.Message = output.Message; - } - return contents; -}; - const deserializeAws_restJson1_1Result = ( output: any, context: __SerdeContext @@ -459,66 +541,6 @@ const deserializeAws_restJson1_1TranscriptEvent = ( return contents; }; -const deserializeAws_restJson1_1TranscriptResultStream = ( - output: any, - context: __SerdeContext -): TranscriptResultStream => { - if ( - output.BadRequestException !== undefined && - output.BadRequestException !== null - ) { - return { - BadRequestException: deserializeAws_restJson1_1BadRequestException( - output.BadRequestException, - context - ) - }; - } - if ( - output.ConflictException !== undefined && - output.ConflictException !== null - ) { - return { - ConflictException: deserializeAws_restJson1_1ConflictException( - output.ConflictException, - context - ) - }; - } - if ( - output.InternalFailureException !== undefined && - output.InternalFailureException !== null - ) { - return { - InternalFailureException: deserializeAws_restJson1_1InternalFailureException( - output.InternalFailureException, - context - ) - }; - } - if ( - output.LimitExceededException !== undefined && - output.LimitExceededException !== null - ) { - return { - LimitExceededException: deserializeAws_restJson1_1LimitExceededException( - output.LimitExceededException, - context - ) - }; - } - if (output.TranscriptEvent !== undefined && output.TranscriptEvent !== null) { - return { - TranscriptEvent: deserializeAws_restJson1_1TranscriptEvent( - output.TranscriptEvent, - context - ) - }; - } - const key = Object.keys(output)[0]; - return { $unknown: [key, output[key]] }; -}; - const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ httpStatusCode: output.statusCode, httpHeaders: output.headers, @@ -530,6 +552,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-transcribe-streaming/runtimeConfig.browser.ts b/clients/client-transcribe-streaming/runtimeConfig.browser.ts index f3a0cf98076a..6fbb56f9be8f 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.browser.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.browser.ts @@ -1,3 +1,4 @@ +import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-browser"; import { invalidFunction } from "@aws-sdk/invalid-dependency"; import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler"; @@ -25,5 +26,6 @@ export const ClientDefaultValues: Required = { defaultUserAgent: defaultUserAgent(name, version), runtime: "browser", credentialDefaultProvider: invalidFunction("Credential is missing") as any, - regionDefaultProvider: invalidFunction("Region is missing") as any + regionDefaultProvider: invalidFunction("Region is missing") as any, + eventStreamSerdeProvider }; diff --git a/clients/client-transcribe-streaming/runtimeConfig.rn.ts b/clients/client-transcribe-streaming/runtimeConfig.rn.ts index db211b478043..946a8316ed75 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.rn.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.rn.ts @@ -1,3 +1,4 @@ +import { invalidFunction } from "@aws-sdk/invalid-dependency"; import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler"; import { streamCollector } from "@aws-sdk/stream-collector-rn"; import { parseUrl } from "@aws-sdk/url-parser-node"; @@ -11,5 +12,8 @@ export const ClientDefaultValues: Required = { streamCollector, urlParser: parseUrl, defaultUserAgent: `aws-sdk-js-v3-react-native-${name}/${version}`, - runtime: "react-native" + runtime: "react-native", + eventStreamSerdeProvider: invalidFunction( + "event stream is not supported in ReactNative" + ) as any }; diff --git a/clients/client-transcribe-streaming/runtimeConfig.ts b/clients/client-transcribe-streaming/runtimeConfig.ts index b86788340350..3d7281026cae 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.ts @@ -1,4 +1,5 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; +import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-node"; import { defaultProvider as regionDefaultProvider } from "@aws-sdk/region-provider"; import { Hash } from "@aws-sdk/hash-node"; import { NodeHttpHandler } from "@aws-sdk/node-http-handler"; @@ -26,5 +27,6 @@ export const ClientDefaultValues: Required = { defaultUserAgent: defaultUserAgent(name, version), runtime: "node", credentialDefaultProvider, - regionDefaultProvider + regionDefaultProvider, + eventStreamSerdeProvider }; diff --git a/clients/client-transcribe/commands/CreateVocabularyCommand.ts b/clients/client-transcribe/commands/CreateVocabularyCommand.ts index 2919ff2fcaae..2c0d077d2846 100644 --- a/clients/client-transcribe/commands/CreateVocabularyCommand.ts +++ b/clients/client-transcribe/commands/CreateVocabularyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVocabularyCommandInput = CreateVocabularyRequest; @@ -67,14 +67,14 @@ export class CreateVocabularyCommand extends $Command< private serialize( input: CreateVocabularyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateVocabularyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateVocabularyCommand(output, context); } diff --git a/clients/client-transcribe/commands/CreateVocabularyFilterCommand.ts b/clients/client-transcribe/commands/CreateVocabularyFilterCommand.ts index 166b5c4cbadd..d33773176dd5 100644 --- a/clients/client-transcribe/commands/CreateVocabularyFilterCommand.ts +++ b/clients/client-transcribe/commands/CreateVocabularyFilterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateVocabularyFilterCommandInput = CreateVocabularyFilterRequest; @@ -70,14 +70,14 @@ export class CreateVocabularyFilterCommand extends $Command< private serialize( input: CreateVocabularyFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateVocabularyFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateVocabularyFilterCommand(output, context); } diff --git a/clients/client-transcribe/commands/DeleteTranscriptionJobCommand.ts b/clients/client-transcribe/commands/DeleteTranscriptionJobCommand.ts index de01e94a8a4e..0d0785760981 100644 --- a/clients/client-transcribe/commands/DeleteTranscriptionJobCommand.ts +++ b/clients/client-transcribe/commands/DeleteTranscriptionJobCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTranscriptionJobCommandInput = DeleteTranscriptionJobRequest; @@ -68,14 +68,14 @@ export class DeleteTranscriptionJobCommand extends $Command< private serialize( input: DeleteTranscriptionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTranscriptionJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTranscriptionJobCommand(output, context); } diff --git a/clients/client-transcribe/commands/DeleteVocabularyCommand.ts b/clients/client-transcribe/commands/DeleteVocabularyCommand.ts index 745177feea9b..bbbab67fd77b 100644 --- a/clients/client-transcribe/commands/DeleteVocabularyCommand.ts +++ b/clients/client-transcribe/commands/DeleteVocabularyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVocabularyCommandInput = DeleteVocabularyRequest; @@ -65,14 +65,14 @@ export class DeleteVocabularyCommand extends $Command< private serialize( input: DeleteVocabularyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteVocabularyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteVocabularyCommand(output, context); } diff --git a/clients/client-transcribe/commands/DeleteVocabularyFilterCommand.ts b/clients/client-transcribe/commands/DeleteVocabularyFilterCommand.ts index 9b804ef1c511..11150720bf15 100644 --- a/clients/client-transcribe/commands/DeleteVocabularyFilterCommand.ts +++ b/clients/client-transcribe/commands/DeleteVocabularyFilterCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteVocabularyFilterCommandInput = DeleteVocabularyFilterRequest; @@ -68,14 +68,14 @@ export class DeleteVocabularyFilterCommand extends $Command< private serialize( input: DeleteVocabularyFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteVocabularyFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteVocabularyFilterCommand(output, context); } diff --git a/clients/client-transcribe/commands/GetTranscriptionJobCommand.ts b/clients/client-transcribe/commands/GetTranscriptionJobCommand.ts index 4029d0e61fdf..b2f97cbc6a7f 100644 --- a/clients/client-transcribe/commands/GetTranscriptionJobCommand.ts +++ b/clients/client-transcribe/commands/GetTranscriptionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTranscriptionJobCommandInput = GetTranscriptionJobRequest; @@ -70,14 +70,14 @@ export class GetTranscriptionJobCommand extends $Command< private serialize( input: GetTranscriptionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTranscriptionJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTranscriptionJobCommand(output, context); } diff --git a/clients/client-transcribe/commands/GetVocabularyCommand.ts b/clients/client-transcribe/commands/GetVocabularyCommand.ts index 905f8aab5a61..5a728a134138 100644 --- a/clients/client-transcribe/commands/GetVocabularyCommand.ts +++ b/clients/client-transcribe/commands/GetVocabularyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVocabularyCommandInput = GetVocabularyRequest; @@ -64,14 +64,14 @@ export class GetVocabularyCommand extends $Command< private serialize( input: GetVocabularyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetVocabularyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetVocabularyCommand(output, context); } diff --git a/clients/client-transcribe/commands/GetVocabularyFilterCommand.ts b/clients/client-transcribe/commands/GetVocabularyFilterCommand.ts index e0e4df8d98f9..63c01a53bfa4 100644 --- a/clients/client-transcribe/commands/GetVocabularyFilterCommand.ts +++ b/clients/client-transcribe/commands/GetVocabularyFilterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetVocabularyFilterCommandInput = GetVocabularyFilterRequest; @@ -70,14 +70,14 @@ export class GetVocabularyFilterCommand extends $Command< private serialize( input: GetVocabularyFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetVocabularyFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetVocabularyFilterCommand(output, context); } diff --git a/clients/client-transcribe/commands/ListTranscriptionJobsCommand.ts b/clients/client-transcribe/commands/ListTranscriptionJobsCommand.ts index 5fcb55baa50c..53e0bb5f2c23 100644 --- a/clients/client-transcribe/commands/ListTranscriptionJobsCommand.ts +++ b/clients/client-transcribe/commands/ListTranscriptionJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTranscriptionJobsCommandInput = ListTranscriptionJobsRequest; @@ -70,14 +70,14 @@ export class ListTranscriptionJobsCommand extends $Command< private serialize( input: ListTranscriptionJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTranscriptionJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTranscriptionJobsCommand(output, context); } diff --git a/clients/client-transcribe/commands/ListVocabulariesCommand.ts b/clients/client-transcribe/commands/ListVocabulariesCommand.ts index 04a03e66a6f8..8cd43e761521 100644 --- a/clients/client-transcribe/commands/ListVocabulariesCommand.ts +++ b/clients/client-transcribe/commands/ListVocabulariesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVocabulariesCommandInput = ListVocabulariesRequest; @@ -67,14 +67,14 @@ export class ListVocabulariesCommand extends $Command< private serialize( input: ListVocabulariesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListVocabulariesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListVocabulariesCommand(output, context); } diff --git a/clients/client-transcribe/commands/ListVocabularyFiltersCommand.ts b/clients/client-transcribe/commands/ListVocabularyFiltersCommand.ts index 5c3c33cba001..040b160d3911 100644 --- a/clients/client-transcribe/commands/ListVocabularyFiltersCommand.ts +++ b/clients/client-transcribe/commands/ListVocabularyFiltersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListVocabularyFiltersCommandInput = ListVocabularyFiltersRequest; @@ -70,14 +70,14 @@ export class ListVocabularyFiltersCommand extends $Command< private serialize( input: ListVocabularyFiltersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListVocabularyFiltersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListVocabularyFiltersCommand(output, context); } diff --git a/clients/client-transcribe/commands/StartTranscriptionJobCommand.ts b/clients/client-transcribe/commands/StartTranscriptionJobCommand.ts index c260d490ad92..956ba9197858 100644 --- a/clients/client-transcribe/commands/StartTranscriptionJobCommand.ts +++ b/clients/client-transcribe/commands/StartTranscriptionJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartTranscriptionJobCommandInput = StartTranscriptionJobRequest; @@ -70,14 +70,14 @@ export class StartTranscriptionJobCommand extends $Command< private serialize( input: StartTranscriptionJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartTranscriptionJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartTranscriptionJobCommand(output, context); } diff --git a/clients/client-transcribe/commands/UpdateVocabularyCommand.ts b/clients/client-transcribe/commands/UpdateVocabularyCommand.ts index 3c741e9e2fcb..c3a150558b86 100644 --- a/clients/client-transcribe/commands/UpdateVocabularyCommand.ts +++ b/clients/client-transcribe/commands/UpdateVocabularyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVocabularyCommandInput = UpdateVocabularyRequest; @@ -67,14 +67,14 @@ export class UpdateVocabularyCommand extends $Command< private serialize( input: UpdateVocabularyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateVocabularyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateVocabularyCommand(output, context); } diff --git a/clients/client-transcribe/commands/UpdateVocabularyFilterCommand.ts b/clients/client-transcribe/commands/UpdateVocabularyFilterCommand.ts index 2362811106ca..4333f07f2011 100644 --- a/clients/client-transcribe/commands/UpdateVocabularyFilterCommand.ts +++ b/clients/client-transcribe/commands/UpdateVocabularyFilterCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateVocabularyFilterCommandInput = UpdateVocabularyFilterRequest; @@ -70,14 +70,14 @@ export class UpdateVocabularyFilterCommand extends $Command< private serialize( input: UpdateVocabularyFilterCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateVocabularyFilterCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateVocabularyFilterCommand(output, context); } diff --git a/clients/client-transcribe/protocols/Aws_json1_1.ts b/clients/client-transcribe/protocols/Aws_json1_1.ts index 4a59962678d2..3d61521e88ea 100644 --- a/clients/client-transcribe/protocols/Aws_json1_1.ts +++ b/clients/client-transcribe/protocols/Aws_json1_1.ts @@ -2523,6 +2523,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-transfer/commands/CreateServerCommand.ts b/clients/client-transfer/commands/CreateServerCommand.ts index bb22af7ecb39..b8b70e0fdb9d 100644 --- a/clients/client-transfer/commands/CreateServerCommand.ts +++ b/clients/client-transfer/commands/CreateServerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateServerCommandInput = CreateServerRequest; @@ -64,14 +64,14 @@ export class CreateServerCommand extends $Command< private serialize( input: CreateServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateServerCommand(output, context); } diff --git a/clients/client-transfer/commands/CreateUserCommand.ts b/clients/client-transfer/commands/CreateUserCommand.ts index bc6049703759..f20a9d602ce9 100644 --- a/clients/client-transfer/commands/CreateUserCommand.ts +++ b/clients/client-transfer/commands/CreateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserCommandInput = CreateUserRequest; @@ -64,14 +64,14 @@ export class CreateUserCommand extends $Command< private serialize( input: CreateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserCommand(output, context); } diff --git a/clients/client-transfer/commands/DeleteServerCommand.ts b/clients/client-transfer/commands/DeleteServerCommand.ts index a264d12fd7d4..c7be43687c9e 100644 --- a/clients/client-transfer/commands/DeleteServerCommand.ts +++ b/clients/client-transfer/commands/DeleteServerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteServerCommandInput = DeleteServerRequest; @@ -65,14 +65,14 @@ export class DeleteServerCommand extends $Command< private serialize( input: DeleteServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteServerCommand(output, context); } diff --git a/clients/client-transfer/commands/DeleteSshPublicKeyCommand.ts b/clients/client-transfer/commands/DeleteSshPublicKeyCommand.ts index b1766bf5db57..8e469a3d5a25 100644 --- a/clients/client-transfer/commands/DeleteSshPublicKeyCommand.ts +++ b/clients/client-transfer/commands/DeleteSshPublicKeyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSshPublicKeyCommandInput = DeleteSshPublicKeyRequest; @@ -65,14 +65,14 @@ export class DeleteSshPublicKeyCommand extends $Command< private serialize( input: DeleteSshPublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSshPublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSshPublicKeyCommand(output, context); } diff --git a/clients/client-transfer/commands/DeleteUserCommand.ts b/clients/client-transfer/commands/DeleteUserCommand.ts index 1db46a628709..249362038ae0 100644 --- a/clients/client-transfer/commands/DeleteUserCommand.ts +++ b/clients/client-transfer/commands/DeleteUserCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserCommandInput = DeleteUserRequest; @@ -65,14 +65,14 @@ export class DeleteUserCommand extends $Command< private serialize( input: DeleteUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserCommand(output, context); } diff --git a/clients/client-transfer/commands/DescribeServerCommand.ts b/clients/client-transfer/commands/DescribeServerCommand.ts index 5ab0e19ca837..336fb9aeecc5 100644 --- a/clients/client-transfer/commands/DescribeServerCommand.ts +++ b/clients/client-transfer/commands/DescribeServerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeServerCommandInput = DescribeServerRequest; @@ -64,14 +64,14 @@ export class DescribeServerCommand extends $Command< private serialize( input: DescribeServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeServerCommand(output, context); } diff --git a/clients/client-transfer/commands/DescribeUserCommand.ts b/clients/client-transfer/commands/DescribeUserCommand.ts index 452969e6e80b..046117d9dc6c 100644 --- a/clients/client-transfer/commands/DescribeUserCommand.ts +++ b/clients/client-transfer/commands/DescribeUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserCommandInput = DescribeUserRequest; @@ -64,14 +64,14 @@ export class DescribeUserCommand extends $Command< private serialize( input: DescribeUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUserCommand(output, context); } diff --git a/clients/client-transfer/commands/ImportSshPublicKeyCommand.ts b/clients/client-transfer/commands/ImportSshPublicKeyCommand.ts index a4d7694d761f..230fe9472798 100644 --- a/clients/client-transfer/commands/ImportSshPublicKeyCommand.ts +++ b/clients/client-transfer/commands/ImportSshPublicKeyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportSshPublicKeyCommandInput = ImportSshPublicKeyRequest; @@ -67,14 +67,14 @@ export class ImportSshPublicKeyCommand extends $Command< private serialize( input: ImportSshPublicKeyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportSshPublicKeyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportSshPublicKeyCommand(output, context); } diff --git a/clients/client-transfer/commands/ListServersCommand.ts b/clients/client-transfer/commands/ListServersCommand.ts index f015c906e7a8..b6bf847b32b6 100644 --- a/clients/client-transfer/commands/ListServersCommand.ts +++ b/clients/client-transfer/commands/ListServersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListServersCommandInput = ListServersRequest; @@ -64,14 +64,14 @@ export class ListServersCommand extends $Command< private serialize( input: ListServersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListServersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListServersCommand(output, context); } diff --git a/clients/client-transfer/commands/ListTagsForResourceCommand.ts b/clients/client-transfer/commands/ListTagsForResourceCommand.ts index 195aef2b419a..8c965e1b50a9 100644 --- a/clients/client-transfer/commands/ListTagsForResourceCommand.ts +++ b/clients/client-transfer/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-transfer/commands/ListUsersCommand.ts b/clients/client-transfer/commands/ListUsersCommand.ts index 9c2780655672..44020e060d34 100644 --- a/clients/client-transfer/commands/ListUsersCommand.ts +++ b/clients/client-transfer/commands/ListUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUsersCommandInput = ListUsersRequest; @@ -64,14 +64,14 @@ export class ListUsersCommand extends $Command< private serialize( input: ListUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUsersCommand(output, context); } diff --git a/clients/client-transfer/commands/StartServerCommand.ts b/clients/client-transfer/commands/StartServerCommand.ts index 2f4168102b5e..572ad18652ab 100644 --- a/clients/client-transfer/commands/StartServerCommand.ts +++ b/clients/client-transfer/commands/StartServerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartServerCommandInput = StartServerRequest; @@ -65,14 +65,14 @@ export class StartServerCommand extends $Command< private serialize( input: StartServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartServerCommand(output, context); } diff --git a/clients/client-transfer/commands/StopServerCommand.ts b/clients/client-transfer/commands/StopServerCommand.ts index 526292fb574a..6f960580b6f1 100644 --- a/clients/client-transfer/commands/StopServerCommand.ts +++ b/clients/client-transfer/commands/StopServerCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopServerCommandInput = StopServerRequest; @@ -65,14 +65,14 @@ export class StopServerCommand extends $Command< private serialize( input: StopServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopServerCommand(output, context); } diff --git a/clients/client-transfer/commands/TagResourceCommand.ts b/clients/client-transfer/commands/TagResourceCommand.ts index d726f83f3cd7..fb1d1b2941c4 100644 --- a/clients/client-transfer/commands/TagResourceCommand.ts +++ b/clients/client-transfer/commands/TagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -65,14 +65,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-transfer/commands/TestIdentityProviderCommand.ts b/clients/client-transfer/commands/TestIdentityProviderCommand.ts index 340f3d1cd6a8..70b2377123e1 100644 --- a/clients/client-transfer/commands/TestIdentityProviderCommand.ts +++ b/clients/client-transfer/commands/TestIdentityProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TestIdentityProviderCommandInput = TestIdentityProviderRequest; @@ -70,14 +70,14 @@ export class TestIdentityProviderCommand extends $Command< private serialize( input: TestIdentityProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TestIdentityProviderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TestIdentityProviderCommand(output, context); } diff --git a/clients/client-transfer/commands/UntagResourceCommand.ts b/clients/client-transfer/commands/UntagResourceCommand.ts index a07fcefffdcb..c9b96da1692c 100644 --- a/clients/client-transfer/commands/UntagResourceCommand.ts +++ b/clients/client-transfer/commands/UntagResourceCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -65,14 +65,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-transfer/commands/UpdateServerCommand.ts b/clients/client-transfer/commands/UpdateServerCommand.ts index efc184179a1b..e028ca73096e 100644 --- a/clients/client-transfer/commands/UpdateServerCommand.ts +++ b/clients/client-transfer/commands/UpdateServerCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateServerCommandInput = UpdateServerRequest; @@ -64,14 +64,14 @@ export class UpdateServerCommand extends $Command< private serialize( input: UpdateServerCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateServerCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateServerCommand(output, context); } diff --git a/clients/client-transfer/commands/UpdateUserCommand.ts b/clients/client-transfer/commands/UpdateUserCommand.ts index 8c45eab4005d..145add25ae11 100644 --- a/clients/client-transfer/commands/UpdateUserCommand.ts +++ b/clients/client-transfer/commands/UpdateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserCommandInput = UpdateUserRequest; @@ -64,14 +64,14 @@ export class UpdateUserCommand extends $Command< private serialize( input: UpdateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateUserCommand(output, context); } diff --git a/clients/client-transfer/protocols/Aws_json1_1.ts b/clients/client-transfer/protocols/Aws_json1_1.ts index 29d58a805360..1fb97fa48ce1 100644 --- a/clients/client-transfer/protocols/Aws_json1_1.ts +++ b/clients/client-transfer/protocols/Aws_json1_1.ts @@ -3141,6 +3141,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-translate/commands/DeleteTerminologyCommand.ts b/clients/client-translate/commands/DeleteTerminologyCommand.ts index 5307a1de8049..63f93a966901 100644 --- a/clients/client-translate/commands/DeleteTerminologyCommand.ts +++ b/clients/client-translate/commands/DeleteTerminologyCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTerminologyCommandInput = DeleteTerminologyRequest; @@ -65,14 +65,14 @@ export class DeleteTerminologyCommand extends $Command< private serialize( input: DeleteTerminologyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTerminologyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTerminologyCommand(output, context); } diff --git a/clients/client-translate/commands/DescribeTextTranslationJobCommand.ts b/clients/client-translate/commands/DescribeTextTranslationJobCommand.ts index 4599c3d582d4..5f6f9453367d 100644 --- a/clients/client-translate/commands/DescribeTextTranslationJobCommand.ts +++ b/clients/client-translate/commands/DescribeTextTranslationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTextTranslationJobCommandInput = DescribeTextTranslationJobRequest; @@ -70,7 +70,7 @@ export class DescribeTextTranslationJobCommand extends $Command< private serialize( input: DescribeTextTranslationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTextTranslationJobCommand( input, @@ -80,7 +80,7 @@ export class DescribeTextTranslationJobCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTextTranslationJobCommand( output, diff --git a/clients/client-translate/commands/GetTerminologyCommand.ts b/clients/client-translate/commands/GetTerminologyCommand.ts index e6620d7e3c21..5d3073177513 100644 --- a/clients/client-translate/commands/GetTerminologyCommand.ts +++ b/clients/client-translate/commands/GetTerminologyCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTerminologyCommandInput = GetTerminologyRequest; @@ -64,14 +64,14 @@ export class GetTerminologyCommand extends $Command< private serialize( input: GetTerminologyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetTerminologyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetTerminologyCommand(output, context); } diff --git a/clients/client-translate/commands/ImportTerminologyCommand.ts b/clients/client-translate/commands/ImportTerminologyCommand.ts index d2b7d8be222f..4c5e0947aece 100644 --- a/clients/client-translate/commands/ImportTerminologyCommand.ts +++ b/clients/client-translate/commands/ImportTerminologyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportTerminologyCommandInput = ImportTerminologyRequest; @@ -67,14 +67,14 @@ export class ImportTerminologyCommand extends $Command< private serialize( input: ImportTerminologyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportTerminologyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportTerminologyCommand(output, context); } diff --git a/clients/client-translate/commands/ListTerminologiesCommand.ts b/clients/client-translate/commands/ListTerminologiesCommand.ts index 6a8197e4259c..d1cc0ba890c3 100644 --- a/clients/client-translate/commands/ListTerminologiesCommand.ts +++ b/clients/client-translate/commands/ListTerminologiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTerminologiesCommandInput = ListTerminologiesRequest; @@ -67,14 +67,14 @@ export class ListTerminologiesCommand extends $Command< private serialize( input: ListTerminologiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTerminologiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTerminologiesCommand(output, context); } diff --git a/clients/client-translate/commands/ListTextTranslationJobsCommand.ts b/clients/client-translate/commands/ListTextTranslationJobsCommand.ts index f431300162eb..894da076d5be 100644 --- a/clients/client-translate/commands/ListTextTranslationJobsCommand.ts +++ b/clients/client-translate/commands/ListTextTranslationJobsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTextTranslationJobsCommandInput = ListTextTranslationJobsRequest; @@ -70,14 +70,14 @@ export class ListTextTranslationJobsCommand extends $Command< private serialize( input: ListTextTranslationJobsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTextTranslationJobsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTextTranslationJobsCommand( output, diff --git a/clients/client-translate/commands/StartTextTranslationJobCommand.ts b/clients/client-translate/commands/StartTextTranslationJobCommand.ts index 08d0e3908a32..66f5082e7551 100644 --- a/clients/client-translate/commands/StartTextTranslationJobCommand.ts +++ b/clients/client-translate/commands/StartTextTranslationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartTextTranslationJobCommandInput = StartTextTranslationJobRequest; @@ -70,14 +70,14 @@ export class StartTextTranslationJobCommand extends $Command< private serialize( input: StartTextTranslationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartTextTranslationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartTextTranslationJobCommand( output, diff --git a/clients/client-translate/commands/StopTextTranslationJobCommand.ts b/clients/client-translate/commands/StopTextTranslationJobCommand.ts index 1c4e41f4ac97..b86948eced45 100644 --- a/clients/client-translate/commands/StopTextTranslationJobCommand.ts +++ b/clients/client-translate/commands/StopTextTranslationJobCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopTextTranslationJobCommandInput = StopTextTranslationJobRequest; @@ -70,14 +70,14 @@ export class StopTextTranslationJobCommand extends $Command< private serialize( input: StopTextTranslationJobCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopTextTranslationJobCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopTextTranslationJobCommand(output, context); } diff --git a/clients/client-translate/commands/TranslateTextCommand.ts b/clients/client-translate/commands/TranslateTextCommand.ts index 8dd1274292cb..48da4fde9fcb 100644 --- a/clients/client-translate/commands/TranslateTextCommand.ts +++ b/clients/client-translate/commands/TranslateTextCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TranslateTextCommandInput = TranslateTextRequest; @@ -64,14 +64,14 @@ export class TranslateTextCommand extends $Command< private serialize( input: TranslateTextCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TranslateTextCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TranslateTextCommand(output, context); } diff --git a/clients/client-translate/protocols/Aws_json1_1.ts b/clients/client-translate/protocols/Aws_json1_1.ts index 31e21a16e69f..e482bab29b64 100644 --- a/clients/client-translate/protocols/Aws_json1_1.ts +++ b/clients/client-translate/protocols/Aws_json1_1.ts @@ -2137,6 +2137,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-waf-regional/commands/AssociateWebACLCommand.ts b/clients/client-waf-regional/commands/AssociateWebACLCommand.ts index 01a195b80a89..cd69b9333cbc 100644 --- a/clients/client-waf-regional/commands/AssociateWebACLCommand.ts +++ b/clients/client-waf-regional/commands/AssociateWebACLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateWebACLCommandInput = AssociateWebACLRequest; @@ -67,14 +67,14 @@ export class AssociateWebACLCommand extends $Command< private serialize( input: AssociateWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateWebACLCommand(output, context); } diff --git a/clients/client-waf-regional/commands/CreateByteMatchSetCommand.ts b/clients/client-waf-regional/commands/CreateByteMatchSetCommand.ts index bd3258241fc4..39f6d285572c 100644 --- a/clients/client-waf-regional/commands/CreateByteMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateByteMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateByteMatchSetCommandInput = CreateByteMatchSetRequest; @@ -67,14 +67,14 @@ export class CreateByteMatchSetCommand extends $Command< private serialize( input: CreateByteMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateByteMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateByteMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/CreateGeoMatchSetCommand.ts b/clients/client-waf-regional/commands/CreateGeoMatchSetCommand.ts index 64ec0101f1ec..5ea1f50162c4 100644 --- a/clients/client-waf-regional/commands/CreateGeoMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateGeoMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGeoMatchSetCommandInput = CreateGeoMatchSetRequest; @@ -67,14 +67,14 @@ export class CreateGeoMatchSetCommand extends $Command< private serialize( input: CreateGeoMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateGeoMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateGeoMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/CreateIPSetCommand.ts b/clients/client-waf-regional/commands/CreateIPSetCommand.ts index 9b6ac7eb9d15..33a671924fea 100644 --- a/clients/client-waf-regional/commands/CreateIPSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIPSetCommandInput = CreateIPSetRequest; @@ -64,14 +64,14 @@ export class CreateIPSetCommand extends $Command< private serialize( input: CreateIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateIPSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/CreateRateBasedRuleCommand.ts b/clients/client-waf-regional/commands/CreateRateBasedRuleCommand.ts index b6126e3eb3a2..eed45842ae81 100644 --- a/clients/client-waf-regional/commands/CreateRateBasedRuleCommand.ts +++ b/clients/client-waf-regional/commands/CreateRateBasedRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRateBasedRuleCommandInput = CreateRateBasedRuleRequest; @@ -70,14 +70,14 @@ export class CreateRateBasedRuleCommand extends $Command< private serialize( input: CreateRateBasedRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRateBasedRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRateBasedRuleCommand(output, context); } diff --git a/clients/client-waf-regional/commands/CreateRegexMatchSetCommand.ts b/clients/client-waf-regional/commands/CreateRegexMatchSetCommand.ts index dea0bf0f1d5b..63771d452204 100644 --- a/clients/client-waf-regional/commands/CreateRegexMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateRegexMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRegexMatchSetCommandInput = CreateRegexMatchSetRequest; @@ -70,14 +70,14 @@ export class CreateRegexMatchSetCommand extends $Command< private serialize( input: CreateRegexMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRegexMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRegexMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/CreateRegexPatternSetCommand.ts b/clients/client-waf-regional/commands/CreateRegexPatternSetCommand.ts index 1a00102ace30..eda602a36d98 100644 --- a/clients/client-waf-regional/commands/CreateRegexPatternSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRegexPatternSetCommandInput = CreateRegexPatternSetRequest; @@ -70,14 +70,14 @@ export class CreateRegexPatternSetCommand extends $Command< private serialize( input: CreateRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRegexPatternSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/CreateRuleCommand.ts b/clients/client-waf-regional/commands/CreateRuleCommand.ts index 7d4012d6d112..a20fc3a9f127 100644 --- a/clients/client-waf-regional/commands/CreateRuleCommand.ts +++ b/clients/client-waf-regional/commands/CreateRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRuleCommandInput = CreateRuleRequest; @@ -64,14 +64,14 @@ export class CreateRuleCommand extends $Command< private serialize( input: CreateRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRuleCommand(output, context); } diff --git a/clients/client-waf-regional/commands/CreateRuleGroupCommand.ts b/clients/client-waf-regional/commands/CreateRuleGroupCommand.ts index 80bfc42bea80..a532265dd71c 100644 --- a/clients/client-waf-regional/commands/CreateRuleGroupCommand.ts +++ b/clients/client-waf-regional/commands/CreateRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRuleGroupCommandInput = CreateRuleGroupRequest; @@ -67,14 +67,14 @@ export class CreateRuleGroupCommand extends $Command< private serialize( input: CreateRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRuleGroupCommand(output, context); } diff --git a/clients/client-waf-regional/commands/CreateSizeConstraintSetCommand.ts b/clients/client-waf-regional/commands/CreateSizeConstraintSetCommand.ts index 49d2a9855b11..f22a0fd3c2b2 100644 --- a/clients/client-waf-regional/commands/CreateSizeConstraintSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateSizeConstraintSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSizeConstraintSetCommandInput = CreateSizeConstraintSetRequest; @@ -70,14 +70,14 @@ export class CreateSizeConstraintSetCommand extends $Command< private serialize( input: CreateSizeConstraintSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSizeConstraintSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSizeConstraintSetCommand( output, diff --git a/clients/client-waf-regional/commands/CreateSqlInjectionMatchSetCommand.ts b/clients/client-waf-regional/commands/CreateSqlInjectionMatchSetCommand.ts index 0286ea820b79..89f7860d64eb 100644 --- a/clients/client-waf-regional/commands/CreateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateSqlInjectionMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSqlInjectionMatchSetCommandInput = CreateSqlInjectionMatchSetRequest; @@ -70,7 +70,7 @@ export class CreateSqlInjectionMatchSetCommand extends $Command< private serialize( input: CreateSqlInjectionMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSqlInjectionMatchSetCommand( input, @@ -80,7 +80,7 @@ export class CreateSqlInjectionMatchSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSqlInjectionMatchSetCommand( output, diff --git a/clients/client-waf-regional/commands/CreateWebACLCommand.ts b/clients/client-waf-regional/commands/CreateWebACLCommand.ts index ec3d95bb7f79..5a06f2d4f8d2 100644 --- a/clients/client-waf-regional/commands/CreateWebACLCommand.ts +++ b/clients/client-waf-regional/commands/CreateWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateWebACLCommandInput = CreateWebACLRequest; @@ -64,14 +64,14 @@ export class CreateWebACLCommand extends $Command< private serialize( input: CreateWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateWebACLCommand(output, context); } diff --git a/clients/client-waf-regional/commands/CreateXssMatchSetCommand.ts b/clients/client-waf-regional/commands/CreateXssMatchSetCommand.ts index d4b3c18456a9..3e6a59af3bd4 100644 --- a/clients/client-waf-regional/commands/CreateXssMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateXssMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateXssMatchSetCommandInput = CreateXssMatchSetRequest; @@ -67,14 +67,14 @@ export class CreateXssMatchSetCommand extends $Command< private serialize( input: CreateXssMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateXssMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateXssMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DeleteByteMatchSetCommand.ts b/clients/client-waf-regional/commands/DeleteByteMatchSetCommand.ts index 7ed7408e1be2..d286f75491da 100644 --- a/clients/client-waf-regional/commands/DeleteByteMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteByteMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteByteMatchSetCommandInput = DeleteByteMatchSetRequest; @@ -67,14 +67,14 @@ export class DeleteByteMatchSetCommand extends $Command< private serialize( input: DeleteByteMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteByteMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteByteMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DeleteGeoMatchSetCommand.ts b/clients/client-waf-regional/commands/DeleteGeoMatchSetCommand.ts index c606bd985956..6b6477500b14 100644 --- a/clients/client-waf-regional/commands/DeleteGeoMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteGeoMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGeoMatchSetCommandInput = DeleteGeoMatchSetRequest; @@ -67,14 +67,14 @@ export class DeleteGeoMatchSetCommand extends $Command< private serialize( input: DeleteGeoMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteGeoMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteGeoMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DeleteIPSetCommand.ts b/clients/client-waf-regional/commands/DeleteIPSetCommand.ts index 36cea7b30fe3..86bc709757ef 100644 --- a/clients/client-waf-regional/commands/DeleteIPSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIPSetCommandInput = DeleteIPSetRequest; @@ -64,14 +64,14 @@ export class DeleteIPSetCommand extends $Command< private serialize( input: DeleteIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteIPSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DeleteLoggingConfigurationCommand.ts b/clients/client-waf-regional/commands/DeleteLoggingConfigurationCommand.ts index 07083a51d71b..1bd27bfa7c22 100644 --- a/clients/client-waf-regional/commands/DeleteLoggingConfigurationCommand.ts +++ b/clients/client-waf-regional/commands/DeleteLoggingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLoggingConfigurationCommandInput = DeleteLoggingConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteLoggingConfigurationCommand extends $Command< private serialize( input: DeleteLoggingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLoggingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteLoggingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLoggingConfigurationCommand( output, diff --git a/clients/client-waf-regional/commands/DeletePermissionPolicyCommand.ts b/clients/client-waf-regional/commands/DeletePermissionPolicyCommand.ts index 6bdc90ef1606..13b391cce8e6 100644 --- a/clients/client-waf-regional/commands/DeletePermissionPolicyCommand.ts +++ b/clients/client-waf-regional/commands/DeletePermissionPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePermissionPolicyCommandInput = DeletePermissionPolicyRequest; @@ -70,14 +70,14 @@ export class DeletePermissionPolicyCommand extends $Command< private serialize( input: DeletePermissionPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePermissionPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePermissionPolicyCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DeleteRateBasedRuleCommand.ts b/clients/client-waf-regional/commands/DeleteRateBasedRuleCommand.ts index 19a98dbd114f..82690686c79b 100644 --- a/clients/client-waf-regional/commands/DeleteRateBasedRuleCommand.ts +++ b/clients/client-waf-regional/commands/DeleteRateBasedRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRateBasedRuleCommandInput = DeleteRateBasedRuleRequest; @@ -70,14 +70,14 @@ export class DeleteRateBasedRuleCommand extends $Command< private serialize( input: DeleteRateBasedRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRateBasedRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRateBasedRuleCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DeleteRegexMatchSetCommand.ts b/clients/client-waf-regional/commands/DeleteRegexMatchSetCommand.ts index 7b336fcbdb49..0449f5dd7b9a 100644 --- a/clients/client-waf-regional/commands/DeleteRegexMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteRegexMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRegexMatchSetCommandInput = DeleteRegexMatchSetRequest; @@ -70,14 +70,14 @@ export class DeleteRegexMatchSetCommand extends $Command< private serialize( input: DeleteRegexMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRegexMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRegexMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DeleteRegexPatternSetCommand.ts b/clients/client-waf-regional/commands/DeleteRegexPatternSetCommand.ts index 56a1fc5a84ff..abe10202ad2a 100644 --- a/clients/client-waf-regional/commands/DeleteRegexPatternSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRegexPatternSetCommandInput = DeleteRegexPatternSetRequest; @@ -70,14 +70,14 @@ export class DeleteRegexPatternSetCommand extends $Command< private serialize( input: DeleteRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRegexPatternSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DeleteRuleCommand.ts b/clients/client-waf-regional/commands/DeleteRuleCommand.ts index aaa976a97509..e3d6bb922047 100644 --- a/clients/client-waf-regional/commands/DeleteRuleCommand.ts +++ b/clients/client-waf-regional/commands/DeleteRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRuleCommandInput = DeleteRuleRequest; @@ -64,14 +64,14 @@ export class DeleteRuleCommand extends $Command< private serialize( input: DeleteRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRuleCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DeleteRuleGroupCommand.ts b/clients/client-waf-regional/commands/DeleteRuleGroupCommand.ts index 9a2acf96d920..8adc7f221927 100644 --- a/clients/client-waf-regional/commands/DeleteRuleGroupCommand.ts +++ b/clients/client-waf-regional/commands/DeleteRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRuleGroupCommandInput = DeleteRuleGroupRequest; @@ -67,14 +67,14 @@ export class DeleteRuleGroupCommand extends $Command< private serialize( input: DeleteRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRuleGroupCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DeleteSizeConstraintSetCommand.ts b/clients/client-waf-regional/commands/DeleteSizeConstraintSetCommand.ts index d38da8833051..d884be614e90 100644 --- a/clients/client-waf-regional/commands/DeleteSizeConstraintSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteSizeConstraintSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSizeConstraintSetCommandInput = DeleteSizeConstraintSetRequest; @@ -70,14 +70,14 @@ export class DeleteSizeConstraintSetCommand extends $Command< private serialize( input: DeleteSizeConstraintSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSizeConstraintSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSizeConstraintSetCommand( output, diff --git a/clients/client-waf-regional/commands/DeleteSqlInjectionMatchSetCommand.ts b/clients/client-waf-regional/commands/DeleteSqlInjectionMatchSetCommand.ts index 27da96b9460d..be43ed24d73d 100644 --- a/clients/client-waf-regional/commands/DeleteSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteSqlInjectionMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSqlInjectionMatchSetCommandInput = DeleteSqlInjectionMatchSetRequest; @@ -70,7 +70,7 @@ export class DeleteSqlInjectionMatchSetCommand extends $Command< private serialize( input: DeleteSqlInjectionMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSqlInjectionMatchSetCommand( input, @@ -80,7 +80,7 @@ export class DeleteSqlInjectionMatchSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSqlInjectionMatchSetCommand( output, diff --git a/clients/client-waf-regional/commands/DeleteWebACLCommand.ts b/clients/client-waf-regional/commands/DeleteWebACLCommand.ts index ddf8dd09d8b8..80ef07438f0c 100644 --- a/clients/client-waf-regional/commands/DeleteWebACLCommand.ts +++ b/clients/client-waf-regional/commands/DeleteWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteWebACLCommandInput = DeleteWebACLRequest; @@ -64,14 +64,14 @@ export class DeleteWebACLCommand extends $Command< private serialize( input: DeleteWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteWebACLCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DeleteXssMatchSetCommand.ts b/clients/client-waf-regional/commands/DeleteXssMatchSetCommand.ts index ac927671b343..f2991f000f50 100644 --- a/clients/client-waf-regional/commands/DeleteXssMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteXssMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteXssMatchSetCommandInput = DeleteXssMatchSetRequest; @@ -67,14 +67,14 @@ export class DeleteXssMatchSetCommand extends $Command< private serialize( input: DeleteXssMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteXssMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteXssMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/DisassociateWebACLCommand.ts b/clients/client-waf-regional/commands/DisassociateWebACLCommand.ts index 70c902370244..89fa5c37fae7 100644 --- a/clients/client-waf-regional/commands/DisassociateWebACLCommand.ts +++ b/clients/client-waf-regional/commands/DisassociateWebACLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateWebACLCommandInput = DisassociateWebACLRequest; @@ -67,14 +67,14 @@ export class DisassociateWebACLCommand extends $Command< private serialize( input: DisassociateWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateWebACLCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetByteMatchSetCommand.ts b/clients/client-waf-regional/commands/GetByteMatchSetCommand.ts index d6e8f2db7d11..0d7cce748f09 100644 --- a/clients/client-waf-regional/commands/GetByteMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/GetByteMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetByteMatchSetCommandInput = GetByteMatchSetRequest; @@ -67,14 +67,14 @@ export class GetByteMatchSetCommand extends $Command< private serialize( input: GetByteMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetByteMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetByteMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetChangeTokenCommand.ts b/clients/client-waf-regional/commands/GetChangeTokenCommand.ts index 0f2cb44cc25c..3e02a4e0b509 100644 --- a/clients/client-waf-regional/commands/GetChangeTokenCommand.ts +++ b/clients/client-waf-regional/commands/GetChangeTokenCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetChangeTokenCommandInput = GetChangeTokenRequest; @@ -64,14 +64,14 @@ export class GetChangeTokenCommand extends $Command< private serialize( input: GetChangeTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetChangeTokenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetChangeTokenCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetChangeTokenStatusCommand.ts b/clients/client-waf-regional/commands/GetChangeTokenStatusCommand.ts index 9bd31fe4087f..6957919d2808 100644 --- a/clients/client-waf-regional/commands/GetChangeTokenStatusCommand.ts +++ b/clients/client-waf-regional/commands/GetChangeTokenStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetChangeTokenStatusCommandInput = GetChangeTokenStatusRequest; @@ -70,14 +70,14 @@ export class GetChangeTokenStatusCommand extends $Command< private serialize( input: GetChangeTokenStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetChangeTokenStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetChangeTokenStatusCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetGeoMatchSetCommand.ts b/clients/client-waf-regional/commands/GetGeoMatchSetCommand.ts index 046657d7ddb1..41cd71d0ef6b 100644 --- a/clients/client-waf-regional/commands/GetGeoMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/GetGeoMatchSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGeoMatchSetCommandInput = GetGeoMatchSetRequest; @@ -64,14 +64,14 @@ export class GetGeoMatchSetCommand extends $Command< private serialize( input: GetGeoMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetGeoMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetGeoMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetIPSetCommand.ts b/clients/client-waf-regional/commands/GetIPSetCommand.ts index ac5c3947a502..11d5295dbfbc 100644 --- a/clients/client-waf-regional/commands/GetIPSetCommand.ts +++ b/clients/client-waf-regional/commands/GetIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIPSetCommandInput = GetIPSetRequest; @@ -64,14 +64,14 @@ export class GetIPSetCommand extends $Command< private serialize( input: GetIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetIPSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetLoggingConfigurationCommand.ts b/clients/client-waf-regional/commands/GetLoggingConfigurationCommand.ts index 8be392fe6670..b18ca7194279 100644 --- a/clients/client-waf-regional/commands/GetLoggingConfigurationCommand.ts +++ b/clients/client-waf-regional/commands/GetLoggingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLoggingConfigurationCommandInput = GetLoggingConfigurationRequest; @@ -70,14 +70,14 @@ export class GetLoggingConfigurationCommand extends $Command< private serialize( input: GetLoggingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLoggingConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLoggingConfigurationCommand( output, diff --git a/clients/client-waf-regional/commands/GetPermissionPolicyCommand.ts b/clients/client-waf-regional/commands/GetPermissionPolicyCommand.ts index 2b0f0679ecf1..782fa42fdb39 100644 --- a/clients/client-waf-regional/commands/GetPermissionPolicyCommand.ts +++ b/clients/client-waf-regional/commands/GetPermissionPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPermissionPolicyCommandInput = GetPermissionPolicyRequest; @@ -70,14 +70,14 @@ export class GetPermissionPolicyCommand extends $Command< private serialize( input: GetPermissionPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPermissionPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPermissionPolicyCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetRateBasedRuleCommand.ts b/clients/client-waf-regional/commands/GetRateBasedRuleCommand.ts index 3452be6fd7f6..d76528e11a14 100644 --- a/clients/client-waf-regional/commands/GetRateBasedRuleCommand.ts +++ b/clients/client-waf-regional/commands/GetRateBasedRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRateBasedRuleCommandInput = GetRateBasedRuleRequest; @@ -67,14 +67,14 @@ export class GetRateBasedRuleCommand extends $Command< private serialize( input: GetRateBasedRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRateBasedRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRateBasedRuleCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetRateBasedRuleManagedKeysCommand.ts b/clients/client-waf-regional/commands/GetRateBasedRuleManagedKeysCommand.ts index c1d14341eea0..0d85f4fbc695 100644 --- a/clients/client-waf-regional/commands/GetRateBasedRuleManagedKeysCommand.ts +++ b/clients/client-waf-regional/commands/GetRateBasedRuleManagedKeysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRateBasedRuleManagedKeysCommandInput = GetRateBasedRuleManagedKeysRequest; @@ -70,7 +70,7 @@ export class GetRateBasedRuleManagedKeysCommand extends $Command< private serialize( input: GetRateBasedRuleManagedKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRateBasedRuleManagedKeysCommand( input, @@ -80,7 +80,7 @@ export class GetRateBasedRuleManagedKeysCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRateBasedRuleManagedKeysCommand( output, diff --git a/clients/client-waf-regional/commands/GetRegexMatchSetCommand.ts b/clients/client-waf-regional/commands/GetRegexMatchSetCommand.ts index 85f5d3722c1f..d20c8f355897 100644 --- a/clients/client-waf-regional/commands/GetRegexMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/GetRegexMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRegexMatchSetCommandInput = GetRegexMatchSetRequest; @@ -67,14 +67,14 @@ export class GetRegexMatchSetCommand extends $Command< private serialize( input: GetRegexMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRegexMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRegexMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetRegexPatternSetCommand.ts b/clients/client-waf-regional/commands/GetRegexPatternSetCommand.ts index 76d7d5a9b838..8e697521a20e 100644 --- a/clients/client-waf-regional/commands/GetRegexPatternSetCommand.ts +++ b/clients/client-waf-regional/commands/GetRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRegexPatternSetCommandInput = GetRegexPatternSetRequest; @@ -67,14 +67,14 @@ export class GetRegexPatternSetCommand extends $Command< private serialize( input: GetRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRegexPatternSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetRuleCommand.ts b/clients/client-waf-regional/commands/GetRuleCommand.ts index 1142fefddf99..e6e79f28ae71 100644 --- a/clients/client-waf-regional/commands/GetRuleCommand.ts +++ b/clients/client-waf-regional/commands/GetRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRuleCommandInput = GetRuleRequest; @@ -64,14 +64,14 @@ export class GetRuleCommand extends $Command< private serialize( input: GetRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRuleCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetRuleGroupCommand.ts b/clients/client-waf-regional/commands/GetRuleGroupCommand.ts index ac70e678d83a..3a183cbbdc8b 100644 --- a/clients/client-waf-regional/commands/GetRuleGroupCommand.ts +++ b/clients/client-waf-regional/commands/GetRuleGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRuleGroupCommandInput = GetRuleGroupRequest; @@ -64,14 +64,14 @@ export class GetRuleGroupCommand extends $Command< private serialize( input: GetRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRuleGroupCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetSampledRequestsCommand.ts b/clients/client-waf-regional/commands/GetSampledRequestsCommand.ts index 9e1a4341a989..2b73e95a193e 100644 --- a/clients/client-waf-regional/commands/GetSampledRequestsCommand.ts +++ b/clients/client-waf-regional/commands/GetSampledRequestsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSampledRequestsCommandInput = GetSampledRequestsRequest; @@ -67,14 +67,14 @@ export class GetSampledRequestsCommand extends $Command< private serialize( input: GetSampledRequestsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSampledRequestsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSampledRequestsCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetSizeConstraintSetCommand.ts b/clients/client-waf-regional/commands/GetSizeConstraintSetCommand.ts index 356f7c0a9c5e..06c36b4785c0 100644 --- a/clients/client-waf-regional/commands/GetSizeConstraintSetCommand.ts +++ b/clients/client-waf-regional/commands/GetSizeConstraintSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSizeConstraintSetCommandInput = GetSizeConstraintSetRequest; @@ -70,14 +70,14 @@ export class GetSizeConstraintSetCommand extends $Command< private serialize( input: GetSizeConstraintSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSizeConstraintSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSizeConstraintSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetSqlInjectionMatchSetCommand.ts b/clients/client-waf-regional/commands/GetSqlInjectionMatchSetCommand.ts index 1385e7bbc447..6b467a1f3176 100644 --- a/clients/client-waf-regional/commands/GetSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/GetSqlInjectionMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSqlInjectionMatchSetCommandInput = GetSqlInjectionMatchSetRequest; @@ -70,14 +70,14 @@ export class GetSqlInjectionMatchSetCommand extends $Command< private serialize( input: GetSqlInjectionMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSqlInjectionMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSqlInjectionMatchSetCommand( output, diff --git a/clients/client-waf-regional/commands/GetWebACLCommand.ts b/clients/client-waf-regional/commands/GetWebACLCommand.ts index 699d3001a8ca..ad8c9a38df7b 100644 --- a/clients/client-waf-regional/commands/GetWebACLCommand.ts +++ b/clients/client-waf-regional/commands/GetWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWebACLCommandInput = GetWebACLRequest; @@ -64,14 +64,14 @@ export class GetWebACLCommand extends $Command< private serialize( input: GetWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetWebACLCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetWebACLForResourceCommand.ts b/clients/client-waf-regional/commands/GetWebACLForResourceCommand.ts index 817c9d7e5571..feb859430688 100644 --- a/clients/client-waf-regional/commands/GetWebACLForResourceCommand.ts +++ b/clients/client-waf-regional/commands/GetWebACLForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWebACLForResourceCommandInput = GetWebACLForResourceRequest; @@ -70,14 +70,14 @@ export class GetWebACLForResourceCommand extends $Command< private serialize( input: GetWebACLForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetWebACLForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetWebACLForResourceCommand(output, context); } diff --git a/clients/client-waf-regional/commands/GetXssMatchSetCommand.ts b/clients/client-waf-regional/commands/GetXssMatchSetCommand.ts index 82ede38cd3d6..6065273c42ad 100644 --- a/clients/client-waf-regional/commands/GetXssMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/GetXssMatchSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetXssMatchSetCommandInput = GetXssMatchSetRequest; @@ -64,14 +64,14 @@ export class GetXssMatchSetCommand extends $Command< private serialize( input: GetXssMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetXssMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetXssMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListActivatedRulesInRuleGroupCommand.ts b/clients/client-waf-regional/commands/ListActivatedRulesInRuleGroupCommand.ts index 2a755df06e71..f392e4ac2419 100644 --- a/clients/client-waf-regional/commands/ListActivatedRulesInRuleGroupCommand.ts +++ b/clients/client-waf-regional/commands/ListActivatedRulesInRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListActivatedRulesInRuleGroupCommandInput = ListActivatedRulesInRuleGroupRequest; @@ -70,7 +70,7 @@ export class ListActivatedRulesInRuleGroupCommand extends $Command< private serialize( input: ListActivatedRulesInRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListActivatedRulesInRuleGroupCommand( input, @@ -80,7 +80,7 @@ export class ListActivatedRulesInRuleGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListActivatedRulesInRuleGroupCommand( output, diff --git a/clients/client-waf-regional/commands/ListByteMatchSetsCommand.ts b/clients/client-waf-regional/commands/ListByteMatchSetsCommand.ts index 0785380f0c89..bcf887ae9294 100644 --- a/clients/client-waf-regional/commands/ListByteMatchSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListByteMatchSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListByteMatchSetsCommandInput = ListByteMatchSetsRequest; @@ -67,14 +67,14 @@ export class ListByteMatchSetsCommand extends $Command< private serialize( input: ListByteMatchSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListByteMatchSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListByteMatchSetsCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListGeoMatchSetsCommand.ts b/clients/client-waf-regional/commands/ListGeoMatchSetsCommand.ts index 1590df8f79ca..85078c2eddd6 100644 --- a/clients/client-waf-regional/commands/ListGeoMatchSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListGeoMatchSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGeoMatchSetsCommandInput = ListGeoMatchSetsRequest; @@ -67,14 +67,14 @@ export class ListGeoMatchSetsCommand extends $Command< private serialize( input: ListGeoMatchSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListGeoMatchSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListGeoMatchSetsCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListIPSetsCommand.ts b/clients/client-waf-regional/commands/ListIPSetsCommand.ts index b579fa55c950..01613bc8b10c 100644 --- a/clients/client-waf-regional/commands/ListIPSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListIPSetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIPSetsCommandInput = ListIPSetsRequest; @@ -64,14 +64,14 @@ export class ListIPSetsCommand extends $Command< private serialize( input: ListIPSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListIPSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListIPSetsCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListLoggingConfigurationsCommand.ts b/clients/client-waf-regional/commands/ListLoggingConfigurationsCommand.ts index 56fbf890fa32..d45cc3b65ea0 100644 --- a/clients/client-waf-regional/commands/ListLoggingConfigurationsCommand.ts +++ b/clients/client-waf-regional/commands/ListLoggingConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLoggingConfigurationsCommandInput = ListLoggingConfigurationsRequest; @@ -70,14 +70,14 @@ export class ListLoggingConfigurationsCommand extends $Command< private serialize( input: ListLoggingConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLoggingConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLoggingConfigurationsCommand( output, diff --git a/clients/client-waf-regional/commands/ListRateBasedRulesCommand.ts b/clients/client-waf-regional/commands/ListRateBasedRulesCommand.ts index afbf489fabec..db07e6a85953 100644 --- a/clients/client-waf-regional/commands/ListRateBasedRulesCommand.ts +++ b/clients/client-waf-regional/commands/ListRateBasedRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRateBasedRulesCommandInput = ListRateBasedRulesRequest; @@ -67,14 +67,14 @@ export class ListRateBasedRulesCommand extends $Command< private serialize( input: ListRateBasedRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRateBasedRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRateBasedRulesCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListRegexMatchSetsCommand.ts b/clients/client-waf-regional/commands/ListRegexMatchSetsCommand.ts index b81d21a8be8f..6a83548ea9b7 100644 --- a/clients/client-waf-regional/commands/ListRegexMatchSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListRegexMatchSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRegexMatchSetsCommandInput = ListRegexMatchSetsRequest; @@ -67,14 +67,14 @@ export class ListRegexMatchSetsCommand extends $Command< private serialize( input: ListRegexMatchSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRegexMatchSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRegexMatchSetsCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListRegexPatternSetsCommand.ts b/clients/client-waf-regional/commands/ListRegexPatternSetsCommand.ts index fabf353f3723..638b8a44829d 100644 --- a/clients/client-waf-regional/commands/ListRegexPatternSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListRegexPatternSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRegexPatternSetsCommandInput = ListRegexPatternSetsRequest; @@ -70,14 +70,14 @@ export class ListRegexPatternSetsCommand extends $Command< private serialize( input: ListRegexPatternSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRegexPatternSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRegexPatternSetsCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListResourcesForWebACLCommand.ts b/clients/client-waf-regional/commands/ListResourcesForWebACLCommand.ts index 03af9240eabc..306d43351a68 100644 --- a/clients/client-waf-regional/commands/ListResourcesForWebACLCommand.ts +++ b/clients/client-waf-regional/commands/ListResourcesForWebACLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourcesForWebACLCommandInput = ListResourcesForWebACLRequest; @@ -70,14 +70,14 @@ export class ListResourcesForWebACLCommand extends $Command< private serialize( input: ListResourcesForWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourcesForWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourcesForWebACLCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListRuleGroupsCommand.ts b/clients/client-waf-regional/commands/ListRuleGroupsCommand.ts index 53709d729635..2d33eaf7cdf0 100644 --- a/clients/client-waf-regional/commands/ListRuleGroupsCommand.ts +++ b/clients/client-waf-regional/commands/ListRuleGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRuleGroupsCommandInput = ListRuleGroupsRequest; @@ -64,14 +64,14 @@ export class ListRuleGroupsCommand extends $Command< private serialize( input: ListRuleGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRuleGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRuleGroupsCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListRulesCommand.ts b/clients/client-waf-regional/commands/ListRulesCommand.ts index c28b611e27fb..e94a00ec04e6 100644 --- a/clients/client-waf-regional/commands/ListRulesCommand.ts +++ b/clients/client-waf-regional/commands/ListRulesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRulesCommandInput = ListRulesRequest; @@ -64,14 +64,14 @@ export class ListRulesCommand extends $Command< private serialize( input: ListRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRulesCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListSizeConstraintSetsCommand.ts b/clients/client-waf-regional/commands/ListSizeConstraintSetsCommand.ts index 798895a8027c..1a746d20d27c 100644 --- a/clients/client-waf-regional/commands/ListSizeConstraintSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListSizeConstraintSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSizeConstraintSetsCommandInput = ListSizeConstraintSetsRequest; @@ -70,14 +70,14 @@ export class ListSizeConstraintSetsCommand extends $Command< private serialize( input: ListSizeConstraintSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSizeConstraintSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSizeConstraintSetsCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListSqlInjectionMatchSetsCommand.ts b/clients/client-waf-regional/commands/ListSqlInjectionMatchSetsCommand.ts index 26a600e1fd58..4b6614ee0557 100644 --- a/clients/client-waf-regional/commands/ListSqlInjectionMatchSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListSqlInjectionMatchSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSqlInjectionMatchSetsCommandInput = ListSqlInjectionMatchSetsRequest; @@ -70,14 +70,14 @@ export class ListSqlInjectionMatchSetsCommand extends $Command< private serialize( input: ListSqlInjectionMatchSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSqlInjectionMatchSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSqlInjectionMatchSetsCommand( output, diff --git a/clients/client-waf-regional/commands/ListSubscribedRuleGroupsCommand.ts b/clients/client-waf-regional/commands/ListSubscribedRuleGroupsCommand.ts index 636175a93ac6..a0cfb3d249ca 100644 --- a/clients/client-waf-regional/commands/ListSubscribedRuleGroupsCommand.ts +++ b/clients/client-waf-regional/commands/ListSubscribedRuleGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSubscribedRuleGroupsCommandInput = ListSubscribedRuleGroupsRequest; @@ -70,14 +70,14 @@ export class ListSubscribedRuleGroupsCommand extends $Command< private serialize( input: ListSubscribedRuleGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSubscribedRuleGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSubscribedRuleGroupsCommand( output, diff --git a/clients/client-waf-regional/commands/ListTagsForResourceCommand.ts b/clients/client-waf-regional/commands/ListTagsForResourceCommand.ts index c21d69752241..7062c56803b1 100644 --- a/clients/client-waf-regional/commands/ListTagsForResourceCommand.ts +++ b/clients/client-waf-regional/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListWebACLsCommand.ts b/clients/client-waf-regional/commands/ListWebACLsCommand.ts index 8b65e2668c2e..10788bf02153 100644 --- a/clients/client-waf-regional/commands/ListWebACLsCommand.ts +++ b/clients/client-waf-regional/commands/ListWebACLsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWebACLsCommandInput = ListWebACLsRequest; @@ -64,14 +64,14 @@ export class ListWebACLsCommand extends $Command< private serialize( input: ListWebACLsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListWebACLsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListWebACLsCommand(output, context); } diff --git a/clients/client-waf-regional/commands/ListXssMatchSetsCommand.ts b/clients/client-waf-regional/commands/ListXssMatchSetsCommand.ts index 905c6a40981f..4ea8cac56b31 100644 --- a/clients/client-waf-regional/commands/ListXssMatchSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListXssMatchSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListXssMatchSetsCommandInput = ListXssMatchSetsRequest; @@ -67,14 +67,14 @@ export class ListXssMatchSetsCommand extends $Command< private serialize( input: ListXssMatchSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListXssMatchSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListXssMatchSetsCommand(output, context); } diff --git a/clients/client-waf-regional/commands/PutLoggingConfigurationCommand.ts b/clients/client-waf-regional/commands/PutLoggingConfigurationCommand.ts index 2325150490d9..ce12eedb41c0 100644 --- a/clients/client-waf-regional/commands/PutLoggingConfigurationCommand.ts +++ b/clients/client-waf-regional/commands/PutLoggingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLoggingConfigurationCommandInput = PutLoggingConfigurationRequest; @@ -70,14 +70,14 @@ export class PutLoggingConfigurationCommand extends $Command< private serialize( input: PutLoggingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutLoggingConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutLoggingConfigurationCommand( output, diff --git a/clients/client-waf-regional/commands/PutPermissionPolicyCommand.ts b/clients/client-waf-regional/commands/PutPermissionPolicyCommand.ts index b378cffb9ef0..f830072152b3 100644 --- a/clients/client-waf-regional/commands/PutPermissionPolicyCommand.ts +++ b/clients/client-waf-regional/commands/PutPermissionPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutPermissionPolicyCommandInput = PutPermissionPolicyRequest; @@ -70,14 +70,14 @@ export class PutPermissionPolicyCommand extends $Command< private serialize( input: PutPermissionPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutPermissionPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutPermissionPolicyCommand(output, context); } diff --git a/clients/client-waf-regional/commands/TagResourceCommand.ts b/clients/client-waf-regional/commands/TagResourceCommand.ts index c2af76b75300..3a7179fbbcfd 100644 --- a/clients/client-waf-regional/commands/TagResourceCommand.ts +++ b/clients/client-waf-regional/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-waf-regional/commands/UntagResourceCommand.ts b/clients/client-waf-regional/commands/UntagResourceCommand.ts index 64d06e69c165..e7f461f6dcb2 100644 --- a/clients/client-waf-regional/commands/UntagResourceCommand.ts +++ b/clients/client-waf-regional/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-waf-regional/commands/UpdateByteMatchSetCommand.ts b/clients/client-waf-regional/commands/UpdateByteMatchSetCommand.ts index 2336cfdc0fb4..e0c87f9c28bb 100644 --- a/clients/client-waf-regional/commands/UpdateByteMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateByteMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateByteMatchSetCommandInput = UpdateByteMatchSetRequest; @@ -67,14 +67,14 @@ export class UpdateByteMatchSetCommand extends $Command< private serialize( input: UpdateByteMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateByteMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateByteMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/UpdateGeoMatchSetCommand.ts b/clients/client-waf-regional/commands/UpdateGeoMatchSetCommand.ts index 359ce2ae51df..c04dfd67f726 100644 --- a/clients/client-waf-regional/commands/UpdateGeoMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateGeoMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGeoMatchSetCommandInput = UpdateGeoMatchSetRequest; @@ -67,14 +67,14 @@ export class UpdateGeoMatchSetCommand extends $Command< private serialize( input: UpdateGeoMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateGeoMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateGeoMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/UpdateIPSetCommand.ts b/clients/client-waf-regional/commands/UpdateIPSetCommand.ts index 90019af47d92..d6e343a33cff 100644 --- a/clients/client-waf-regional/commands/UpdateIPSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIPSetCommandInput = UpdateIPSetRequest; @@ -64,14 +64,14 @@ export class UpdateIPSetCommand extends $Command< private serialize( input: UpdateIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateIPSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/UpdateRateBasedRuleCommand.ts b/clients/client-waf-regional/commands/UpdateRateBasedRuleCommand.ts index fd97fdd9b6a9..45b6aa6f8b8b 100644 --- a/clients/client-waf-regional/commands/UpdateRateBasedRuleCommand.ts +++ b/clients/client-waf-regional/commands/UpdateRateBasedRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRateBasedRuleCommandInput = UpdateRateBasedRuleRequest; @@ -70,14 +70,14 @@ export class UpdateRateBasedRuleCommand extends $Command< private serialize( input: UpdateRateBasedRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRateBasedRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRateBasedRuleCommand(output, context); } diff --git a/clients/client-waf-regional/commands/UpdateRegexMatchSetCommand.ts b/clients/client-waf-regional/commands/UpdateRegexMatchSetCommand.ts index b21637f0beaa..22a175de2f2a 100644 --- a/clients/client-waf-regional/commands/UpdateRegexMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateRegexMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRegexMatchSetCommandInput = UpdateRegexMatchSetRequest; @@ -70,14 +70,14 @@ export class UpdateRegexMatchSetCommand extends $Command< private serialize( input: UpdateRegexMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRegexMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRegexMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/UpdateRegexPatternSetCommand.ts b/clients/client-waf-regional/commands/UpdateRegexPatternSetCommand.ts index 2c55b77dd486..4bb2da8d8d92 100644 --- a/clients/client-waf-regional/commands/UpdateRegexPatternSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRegexPatternSetCommandInput = UpdateRegexPatternSetRequest; @@ -70,14 +70,14 @@ export class UpdateRegexPatternSetCommand extends $Command< private serialize( input: UpdateRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRegexPatternSetCommand(output, context); } diff --git a/clients/client-waf-regional/commands/UpdateRuleCommand.ts b/clients/client-waf-regional/commands/UpdateRuleCommand.ts index 0251d4e2ea32..36887127a69c 100644 --- a/clients/client-waf-regional/commands/UpdateRuleCommand.ts +++ b/clients/client-waf-regional/commands/UpdateRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRuleCommandInput = UpdateRuleRequest; @@ -64,14 +64,14 @@ export class UpdateRuleCommand extends $Command< private serialize( input: UpdateRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRuleCommand(output, context); } diff --git a/clients/client-waf-regional/commands/UpdateRuleGroupCommand.ts b/clients/client-waf-regional/commands/UpdateRuleGroupCommand.ts index 7dea5ca2c84d..2bd292b07cbb 100644 --- a/clients/client-waf-regional/commands/UpdateRuleGroupCommand.ts +++ b/clients/client-waf-regional/commands/UpdateRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRuleGroupCommandInput = UpdateRuleGroupRequest; @@ -67,14 +67,14 @@ export class UpdateRuleGroupCommand extends $Command< private serialize( input: UpdateRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRuleGroupCommand(output, context); } diff --git a/clients/client-waf-regional/commands/UpdateSizeConstraintSetCommand.ts b/clients/client-waf-regional/commands/UpdateSizeConstraintSetCommand.ts index e76eede1962c..602b1b6723f3 100644 --- a/clients/client-waf-regional/commands/UpdateSizeConstraintSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateSizeConstraintSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSizeConstraintSetCommandInput = UpdateSizeConstraintSetRequest; @@ -70,14 +70,14 @@ export class UpdateSizeConstraintSetCommand extends $Command< private serialize( input: UpdateSizeConstraintSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSizeConstraintSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSizeConstraintSetCommand( output, diff --git a/clients/client-waf-regional/commands/UpdateSqlInjectionMatchSetCommand.ts b/clients/client-waf-regional/commands/UpdateSqlInjectionMatchSetCommand.ts index 118e50169d58..af84533a3700 100644 --- a/clients/client-waf-regional/commands/UpdateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateSqlInjectionMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSqlInjectionMatchSetCommandInput = UpdateSqlInjectionMatchSetRequest; @@ -70,7 +70,7 @@ export class UpdateSqlInjectionMatchSetCommand extends $Command< private serialize( input: UpdateSqlInjectionMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSqlInjectionMatchSetCommand( input, @@ -80,7 +80,7 @@ export class UpdateSqlInjectionMatchSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSqlInjectionMatchSetCommand( output, diff --git a/clients/client-waf-regional/commands/UpdateWebACLCommand.ts b/clients/client-waf-regional/commands/UpdateWebACLCommand.ts index 612145dca84d..340801ea25df 100644 --- a/clients/client-waf-regional/commands/UpdateWebACLCommand.ts +++ b/clients/client-waf-regional/commands/UpdateWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateWebACLCommandInput = UpdateWebACLRequest; @@ -64,14 +64,14 @@ export class UpdateWebACLCommand extends $Command< private serialize( input: UpdateWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateWebACLCommand(output, context); } diff --git a/clients/client-waf-regional/commands/UpdateXssMatchSetCommand.ts b/clients/client-waf-regional/commands/UpdateXssMatchSetCommand.ts index 4ba4268ec89c..5b82f71ac822 100644 --- a/clients/client-waf-regional/commands/UpdateXssMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateXssMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateXssMatchSetCommandInput = UpdateXssMatchSetRequest; @@ -67,14 +67,14 @@ export class UpdateXssMatchSetCommand extends $Command< private serialize( input: UpdateXssMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateXssMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateXssMatchSetCommand(output, context); } diff --git a/clients/client-waf-regional/protocols/Aws_json1_1.ts b/clients/client-waf-regional/protocols/Aws_json1_1.ts index 48520bcd871f..54e41ede3428 100644 --- a/clients/client-waf-regional/protocols/Aws_json1_1.ts +++ b/clients/client-waf-regional/protocols/Aws_json1_1.ts @@ -13598,6 +13598,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-waf/commands/CreateByteMatchSetCommand.ts b/clients/client-waf/commands/CreateByteMatchSetCommand.ts index d112c226bcfe..50adc7f9c49f 100644 --- a/clients/client-waf/commands/CreateByteMatchSetCommand.ts +++ b/clients/client-waf/commands/CreateByteMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateByteMatchSetCommandInput = CreateByteMatchSetRequest; @@ -67,14 +67,14 @@ export class CreateByteMatchSetCommand extends $Command< private serialize( input: CreateByteMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateByteMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateByteMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/CreateGeoMatchSetCommand.ts b/clients/client-waf/commands/CreateGeoMatchSetCommand.ts index 23834a1539a0..4121e856e42f 100644 --- a/clients/client-waf/commands/CreateGeoMatchSetCommand.ts +++ b/clients/client-waf/commands/CreateGeoMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGeoMatchSetCommandInput = CreateGeoMatchSetRequest; @@ -67,14 +67,14 @@ export class CreateGeoMatchSetCommand extends $Command< private serialize( input: CreateGeoMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateGeoMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateGeoMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/CreateIPSetCommand.ts b/clients/client-waf/commands/CreateIPSetCommand.ts index f0dedf41233b..74605bf195f5 100644 --- a/clients/client-waf/commands/CreateIPSetCommand.ts +++ b/clients/client-waf/commands/CreateIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIPSetCommandInput = CreateIPSetRequest; @@ -64,14 +64,14 @@ export class CreateIPSetCommand extends $Command< private serialize( input: CreateIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateIPSetCommand(output, context); } diff --git a/clients/client-waf/commands/CreateRateBasedRuleCommand.ts b/clients/client-waf/commands/CreateRateBasedRuleCommand.ts index e59e864a0426..f19cad679205 100644 --- a/clients/client-waf/commands/CreateRateBasedRuleCommand.ts +++ b/clients/client-waf/commands/CreateRateBasedRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRateBasedRuleCommandInput = CreateRateBasedRuleRequest; @@ -70,14 +70,14 @@ export class CreateRateBasedRuleCommand extends $Command< private serialize( input: CreateRateBasedRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRateBasedRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRateBasedRuleCommand(output, context); } diff --git a/clients/client-waf/commands/CreateRegexMatchSetCommand.ts b/clients/client-waf/commands/CreateRegexMatchSetCommand.ts index 7937c97d45d5..cf1513c8baf5 100644 --- a/clients/client-waf/commands/CreateRegexMatchSetCommand.ts +++ b/clients/client-waf/commands/CreateRegexMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRegexMatchSetCommandInput = CreateRegexMatchSetRequest; @@ -70,14 +70,14 @@ export class CreateRegexMatchSetCommand extends $Command< private serialize( input: CreateRegexMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRegexMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRegexMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/CreateRegexPatternSetCommand.ts b/clients/client-waf/commands/CreateRegexPatternSetCommand.ts index e173fef86676..8361bf140c51 100644 --- a/clients/client-waf/commands/CreateRegexPatternSetCommand.ts +++ b/clients/client-waf/commands/CreateRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRegexPatternSetCommandInput = CreateRegexPatternSetRequest; @@ -70,14 +70,14 @@ export class CreateRegexPatternSetCommand extends $Command< private serialize( input: CreateRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRegexPatternSetCommand(output, context); } diff --git a/clients/client-waf/commands/CreateRuleCommand.ts b/clients/client-waf/commands/CreateRuleCommand.ts index 7c839b6430b3..24414036324a 100644 --- a/clients/client-waf/commands/CreateRuleCommand.ts +++ b/clients/client-waf/commands/CreateRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRuleCommandInput = CreateRuleRequest; @@ -64,14 +64,14 @@ export class CreateRuleCommand extends $Command< private serialize( input: CreateRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRuleCommand(output, context); } diff --git a/clients/client-waf/commands/CreateRuleGroupCommand.ts b/clients/client-waf/commands/CreateRuleGroupCommand.ts index 0391b912fc61..20c00a77cf10 100644 --- a/clients/client-waf/commands/CreateRuleGroupCommand.ts +++ b/clients/client-waf/commands/CreateRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRuleGroupCommandInput = CreateRuleGroupRequest; @@ -67,14 +67,14 @@ export class CreateRuleGroupCommand extends $Command< private serialize( input: CreateRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRuleGroupCommand(output, context); } diff --git a/clients/client-waf/commands/CreateSizeConstraintSetCommand.ts b/clients/client-waf/commands/CreateSizeConstraintSetCommand.ts index 218992adfc17..657bde3ab3e6 100644 --- a/clients/client-waf/commands/CreateSizeConstraintSetCommand.ts +++ b/clients/client-waf/commands/CreateSizeConstraintSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSizeConstraintSetCommandInput = CreateSizeConstraintSetRequest; @@ -70,14 +70,14 @@ export class CreateSizeConstraintSetCommand extends $Command< private serialize( input: CreateSizeConstraintSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSizeConstraintSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSizeConstraintSetCommand( output, diff --git a/clients/client-waf/commands/CreateSqlInjectionMatchSetCommand.ts b/clients/client-waf/commands/CreateSqlInjectionMatchSetCommand.ts index bcc8c14dfd73..310cf99ab504 100644 --- a/clients/client-waf/commands/CreateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf/commands/CreateSqlInjectionMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSqlInjectionMatchSetCommandInput = CreateSqlInjectionMatchSetRequest; @@ -70,7 +70,7 @@ export class CreateSqlInjectionMatchSetCommand extends $Command< private serialize( input: CreateSqlInjectionMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateSqlInjectionMatchSetCommand( input, @@ -80,7 +80,7 @@ export class CreateSqlInjectionMatchSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateSqlInjectionMatchSetCommand( output, diff --git a/clients/client-waf/commands/CreateWebACLCommand.ts b/clients/client-waf/commands/CreateWebACLCommand.ts index cca08deb4c2c..1be1032ad110 100644 --- a/clients/client-waf/commands/CreateWebACLCommand.ts +++ b/clients/client-waf/commands/CreateWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateWebACLCommandInput = CreateWebACLRequest; @@ -64,14 +64,14 @@ export class CreateWebACLCommand extends $Command< private serialize( input: CreateWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateWebACLCommand(output, context); } diff --git a/clients/client-waf/commands/CreateXssMatchSetCommand.ts b/clients/client-waf/commands/CreateXssMatchSetCommand.ts index cdbbd4fe1c82..cad3e1096c12 100644 --- a/clients/client-waf/commands/CreateXssMatchSetCommand.ts +++ b/clients/client-waf/commands/CreateXssMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateXssMatchSetCommandInput = CreateXssMatchSetRequest; @@ -67,14 +67,14 @@ export class CreateXssMatchSetCommand extends $Command< private serialize( input: CreateXssMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateXssMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateXssMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/DeleteByteMatchSetCommand.ts b/clients/client-waf/commands/DeleteByteMatchSetCommand.ts index 0e40b980d7e9..bc559652829f 100644 --- a/clients/client-waf/commands/DeleteByteMatchSetCommand.ts +++ b/clients/client-waf/commands/DeleteByteMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteByteMatchSetCommandInput = DeleteByteMatchSetRequest; @@ -67,14 +67,14 @@ export class DeleteByteMatchSetCommand extends $Command< private serialize( input: DeleteByteMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteByteMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteByteMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/DeleteGeoMatchSetCommand.ts b/clients/client-waf/commands/DeleteGeoMatchSetCommand.ts index ce0cf59961d1..6840aea08ea5 100644 --- a/clients/client-waf/commands/DeleteGeoMatchSetCommand.ts +++ b/clients/client-waf/commands/DeleteGeoMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGeoMatchSetCommandInput = DeleteGeoMatchSetRequest; @@ -67,14 +67,14 @@ export class DeleteGeoMatchSetCommand extends $Command< private serialize( input: DeleteGeoMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteGeoMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteGeoMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/DeleteIPSetCommand.ts b/clients/client-waf/commands/DeleteIPSetCommand.ts index 0004ae3cedc5..0349c4379231 100644 --- a/clients/client-waf/commands/DeleteIPSetCommand.ts +++ b/clients/client-waf/commands/DeleteIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIPSetCommandInput = DeleteIPSetRequest; @@ -64,14 +64,14 @@ export class DeleteIPSetCommand extends $Command< private serialize( input: DeleteIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteIPSetCommand(output, context); } diff --git a/clients/client-waf/commands/DeleteLoggingConfigurationCommand.ts b/clients/client-waf/commands/DeleteLoggingConfigurationCommand.ts index c746135e6afe..6f147f1f6a22 100644 --- a/clients/client-waf/commands/DeleteLoggingConfigurationCommand.ts +++ b/clients/client-waf/commands/DeleteLoggingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLoggingConfigurationCommandInput = DeleteLoggingConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteLoggingConfigurationCommand extends $Command< private serialize( input: DeleteLoggingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLoggingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteLoggingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLoggingConfigurationCommand( output, diff --git a/clients/client-waf/commands/DeletePermissionPolicyCommand.ts b/clients/client-waf/commands/DeletePermissionPolicyCommand.ts index bf594b50239d..495309f256e3 100644 --- a/clients/client-waf/commands/DeletePermissionPolicyCommand.ts +++ b/clients/client-waf/commands/DeletePermissionPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeletePermissionPolicyCommandInput = DeletePermissionPolicyRequest; @@ -70,14 +70,14 @@ export class DeletePermissionPolicyCommand extends $Command< private serialize( input: DeletePermissionPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeletePermissionPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeletePermissionPolicyCommand(output, context); } diff --git a/clients/client-waf/commands/DeleteRateBasedRuleCommand.ts b/clients/client-waf/commands/DeleteRateBasedRuleCommand.ts index 921c8099f407..9789dbd012c2 100644 --- a/clients/client-waf/commands/DeleteRateBasedRuleCommand.ts +++ b/clients/client-waf/commands/DeleteRateBasedRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRateBasedRuleCommandInput = DeleteRateBasedRuleRequest; @@ -70,14 +70,14 @@ export class DeleteRateBasedRuleCommand extends $Command< private serialize( input: DeleteRateBasedRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRateBasedRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRateBasedRuleCommand(output, context); } diff --git a/clients/client-waf/commands/DeleteRegexMatchSetCommand.ts b/clients/client-waf/commands/DeleteRegexMatchSetCommand.ts index 492266a2157f..4b36f0f6c1f4 100644 --- a/clients/client-waf/commands/DeleteRegexMatchSetCommand.ts +++ b/clients/client-waf/commands/DeleteRegexMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRegexMatchSetCommandInput = DeleteRegexMatchSetRequest; @@ -70,14 +70,14 @@ export class DeleteRegexMatchSetCommand extends $Command< private serialize( input: DeleteRegexMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRegexMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRegexMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/DeleteRegexPatternSetCommand.ts b/clients/client-waf/commands/DeleteRegexPatternSetCommand.ts index 0b2f7222d63e..445e9ac0f410 100644 --- a/clients/client-waf/commands/DeleteRegexPatternSetCommand.ts +++ b/clients/client-waf/commands/DeleteRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRegexPatternSetCommandInput = DeleteRegexPatternSetRequest; @@ -70,14 +70,14 @@ export class DeleteRegexPatternSetCommand extends $Command< private serialize( input: DeleteRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRegexPatternSetCommand(output, context); } diff --git a/clients/client-waf/commands/DeleteRuleCommand.ts b/clients/client-waf/commands/DeleteRuleCommand.ts index 8ffeb5a97334..f655644a7af9 100644 --- a/clients/client-waf/commands/DeleteRuleCommand.ts +++ b/clients/client-waf/commands/DeleteRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRuleCommandInput = DeleteRuleRequest; @@ -64,14 +64,14 @@ export class DeleteRuleCommand extends $Command< private serialize( input: DeleteRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRuleCommand(output, context); } diff --git a/clients/client-waf/commands/DeleteRuleGroupCommand.ts b/clients/client-waf/commands/DeleteRuleGroupCommand.ts index e1d1320a3b41..54cd6fd513bc 100644 --- a/clients/client-waf/commands/DeleteRuleGroupCommand.ts +++ b/clients/client-waf/commands/DeleteRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRuleGroupCommandInput = DeleteRuleGroupRequest; @@ -67,14 +67,14 @@ export class DeleteRuleGroupCommand extends $Command< private serialize( input: DeleteRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRuleGroupCommand(output, context); } diff --git a/clients/client-waf/commands/DeleteSizeConstraintSetCommand.ts b/clients/client-waf/commands/DeleteSizeConstraintSetCommand.ts index 1ff62913070e..9c719628595b 100644 --- a/clients/client-waf/commands/DeleteSizeConstraintSetCommand.ts +++ b/clients/client-waf/commands/DeleteSizeConstraintSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSizeConstraintSetCommandInput = DeleteSizeConstraintSetRequest; @@ -70,14 +70,14 @@ export class DeleteSizeConstraintSetCommand extends $Command< private serialize( input: DeleteSizeConstraintSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSizeConstraintSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSizeConstraintSetCommand( output, diff --git a/clients/client-waf/commands/DeleteSqlInjectionMatchSetCommand.ts b/clients/client-waf/commands/DeleteSqlInjectionMatchSetCommand.ts index eb32e161fe0c..0de1e6eb3e6c 100644 --- a/clients/client-waf/commands/DeleteSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf/commands/DeleteSqlInjectionMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSqlInjectionMatchSetCommandInput = DeleteSqlInjectionMatchSetRequest; @@ -70,7 +70,7 @@ export class DeleteSqlInjectionMatchSetCommand extends $Command< private serialize( input: DeleteSqlInjectionMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteSqlInjectionMatchSetCommand( input, @@ -80,7 +80,7 @@ export class DeleteSqlInjectionMatchSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteSqlInjectionMatchSetCommand( output, diff --git a/clients/client-waf/commands/DeleteWebACLCommand.ts b/clients/client-waf/commands/DeleteWebACLCommand.ts index 9e6afec17e34..b7c8ada38262 100644 --- a/clients/client-waf/commands/DeleteWebACLCommand.ts +++ b/clients/client-waf/commands/DeleteWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteWebACLCommandInput = DeleteWebACLRequest; @@ -64,14 +64,14 @@ export class DeleteWebACLCommand extends $Command< private serialize( input: DeleteWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteWebACLCommand(output, context); } diff --git a/clients/client-waf/commands/DeleteXssMatchSetCommand.ts b/clients/client-waf/commands/DeleteXssMatchSetCommand.ts index 3df64426cbee..bddf10612850 100644 --- a/clients/client-waf/commands/DeleteXssMatchSetCommand.ts +++ b/clients/client-waf/commands/DeleteXssMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteXssMatchSetCommandInput = DeleteXssMatchSetRequest; @@ -67,14 +67,14 @@ export class DeleteXssMatchSetCommand extends $Command< private serialize( input: DeleteXssMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteXssMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteXssMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/GetByteMatchSetCommand.ts b/clients/client-waf/commands/GetByteMatchSetCommand.ts index cc4502e167c4..1a34471a90f3 100644 --- a/clients/client-waf/commands/GetByteMatchSetCommand.ts +++ b/clients/client-waf/commands/GetByteMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetByteMatchSetCommandInput = GetByteMatchSetRequest; @@ -67,14 +67,14 @@ export class GetByteMatchSetCommand extends $Command< private serialize( input: GetByteMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetByteMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetByteMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/GetChangeTokenCommand.ts b/clients/client-waf/commands/GetChangeTokenCommand.ts index 3c2b00e4c185..64ddbf1d8e99 100644 --- a/clients/client-waf/commands/GetChangeTokenCommand.ts +++ b/clients/client-waf/commands/GetChangeTokenCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetChangeTokenCommandInput = GetChangeTokenRequest; @@ -64,14 +64,14 @@ export class GetChangeTokenCommand extends $Command< private serialize( input: GetChangeTokenCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetChangeTokenCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetChangeTokenCommand(output, context); } diff --git a/clients/client-waf/commands/GetChangeTokenStatusCommand.ts b/clients/client-waf/commands/GetChangeTokenStatusCommand.ts index 1e6c2cec1c1c..079a9edc7772 100644 --- a/clients/client-waf/commands/GetChangeTokenStatusCommand.ts +++ b/clients/client-waf/commands/GetChangeTokenStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetChangeTokenStatusCommandInput = GetChangeTokenStatusRequest; @@ -70,14 +70,14 @@ export class GetChangeTokenStatusCommand extends $Command< private serialize( input: GetChangeTokenStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetChangeTokenStatusCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetChangeTokenStatusCommand(output, context); } diff --git a/clients/client-waf/commands/GetGeoMatchSetCommand.ts b/clients/client-waf/commands/GetGeoMatchSetCommand.ts index 0c67cd6c3635..af5c3874d993 100644 --- a/clients/client-waf/commands/GetGeoMatchSetCommand.ts +++ b/clients/client-waf/commands/GetGeoMatchSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGeoMatchSetCommandInput = GetGeoMatchSetRequest; @@ -64,14 +64,14 @@ export class GetGeoMatchSetCommand extends $Command< private serialize( input: GetGeoMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetGeoMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetGeoMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/GetIPSetCommand.ts b/clients/client-waf/commands/GetIPSetCommand.ts index d7ebed2f29b0..9347e5c0aaea 100644 --- a/clients/client-waf/commands/GetIPSetCommand.ts +++ b/clients/client-waf/commands/GetIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIPSetCommandInput = GetIPSetRequest; @@ -64,14 +64,14 @@ export class GetIPSetCommand extends $Command< private serialize( input: GetIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetIPSetCommand(output, context); } diff --git a/clients/client-waf/commands/GetLoggingConfigurationCommand.ts b/clients/client-waf/commands/GetLoggingConfigurationCommand.ts index d5151a50fc50..ed68de58aa3d 100644 --- a/clients/client-waf/commands/GetLoggingConfigurationCommand.ts +++ b/clients/client-waf/commands/GetLoggingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLoggingConfigurationCommandInput = GetLoggingConfigurationRequest; @@ -70,14 +70,14 @@ export class GetLoggingConfigurationCommand extends $Command< private serialize( input: GetLoggingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLoggingConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLoggingConfigurationCommand( output, diff --git a/clients/client-waf/commands/GetPermissionPolicyCommand.ts b/clients/client-waf/commands/GetPermissionPolicyCommand.ts index f8df9e0e9b40..bad7e4e1cfdc 100644 --- a/clients/client-waf/commands/GetPermissionPolicyCommand.ts +++ b/clients/client-waf/commands/GetPermissionPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetPermissionPolicyCommandInput = GetPermissionPolicyRequest; @@ -70,14 +70,14 @@ export class GetPermissionPolicyCommand extends $Command< private serialize( input: GetPermissionPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetPermissionPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetPermissionPolicyCommand(output, context); } diff --git a/clients/client-waf/commands/GetRateBasedRuleCommand.ts b/clients/client-waf/commands/GetRateBasedRuleCommand.ts index e76e8952297a..66f296650815 100644 --- a/clients/client-waf/commands/GetRateBasedRuleCommand.ts +++ b/clients/client-waf/commands/GetRateBasedRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRateBasedRuleCommandInput = GetRateBasedRuleRequest; @@ -67,14 +67,14 @@ export class GetRateBasedRuleCommand extends $Command< private serialize( input: GetRateBasedRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRateBasedRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRateBasedRuleCommand(output, context); } diff --git a/clients/client-waf/commands/GetRateBasedRuleManagedKeysCommand.ts b/clients/client-waf/commands/GetRateBasedRuleManagedKeysCommand.ts index 34c093fb1173..a73db37ac938 100644 --- a/clients/client-waf/commands/GetRateBasedRuleManagedKeysCommand.ts +++ b/clients/client-waf/commands/GetRateBasedRuleManagedKeysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRateBasedRuleManagedKeysCommandInput = GetRateBasedRuleManagedKeysRequest; @@ -70,7 +70,7 @@ export class GetRateBasedRuleManagedKeysCommand extends $Command< private serialize( input: GetRateBasedRuleManagedKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRateBasedRuleManagedKeysCommand( input, @@ -80,7 +80,7 @@ export class GetRateBasedRuleManagedKeysCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRateBasedRuleManagedKeysCommand( output, diff --git a/clients/client-waf/commands/GetRegexMatchSetCommand.ts b/clients/client-waf/commands/GetRegexMatchSetCommand.ts index f82cdd4ec2ca..46fab688198d 100644 --- a/clients/client-waf/commands/GetRegexMatchSetCommand.ts +++ b/clients/client-waf/commands/GetRegexMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRegexMatchSetCommandInput = GetRegexMatchSetRequest; @@ -67,14 +67,14 @@ export class GetRegexMatchSetCommand extends $Command< private serialize( input: GetRegexMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRegexMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRegexMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/GetRegexPatternSetCommand.ts b/clients/client-waf/commands/GetRegexPatternSetCommand.ts index b1d1b35fe8eb..069460bcd3f8 100644 --- a/clients/client-waf/commands/GetRegexPatternSetCommand.ts +++ b/clients/client-waf/commands/GetRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRegexPatternSetCommandInput = GetRegexPatternSetRequest; @@ -67,14 +67,14 @@ export class GetRegexPatternSetCommand extends $Command< private serialize( input: GetRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRegexPatternSetCommand(output, context); } diff --git a/clients/client-waf/commands/GetRuleCommand.ts b/clients/client-waf/commands/GetRuleCommand.ts index fb2706e1d7eb..935ea3842e1c 100644 --- a/clients/client-waf/commands/GetRuleCommand.ts +++ b/clients/client-waf/commands/GetRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRuleCommandInput = GetRuleRequest; @@ -64,14 +64,14 @@ export class GetRuleCommand extends $Command< private serialize( input: GetRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRuleCommand(output, context); } diff --git a/clients/client-waf/commands/GetRuleGroupCommand.ts b/clients/client-waf/commands/GetRuleGroupCommand.ts index 6693c2322463..3da9675c1057 100644 --- a/clients/client-waf/commands/GetRuleGroupCommand.ts +++ b/clients/client-waf/commands/GetRuleGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRuleGroupCommandInput = GetRuleGroupRequest; @@ -64,14 +64,14 @@ export class GetRuleGroupCommand extends $Command< private serialize( input: GetRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRuleGroupCommand(output, context); } diff --git a/clients/client-waf/commands/GetSampledRequestsCommand.ts b/clients/client-waf/commands/GetSampledRequestsCommand.ts index c2e53a1b2d2d..8d8166f0eee8 100644 --- a/clients/client-waf/commands/GetSampledRequestsCommand.ts +++ b/clients/client-waf/commands/GetSampledRequestsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSampledRequestsCommandInput = GetSampledRequestsRequest; @@ -67,14 +67,14 @@ export class GetSampledRequestsCommand extends $Command< private serialize( input: GetSampledRequestsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSampledRequestsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSampledRequestsCommand(output, context); } diff --git a/clients/client-waf/commands/GetSizeConstraintSetCommand.ts b/clients/client-waf/commands/GetSizeConstraintSetCommand.ts index e00a1cdd698d..12b9bde66c0d 100644 --- a/clients/client-waf/commands/GetSizeConstraintSetCommand.ts +++ b/clients/client-waf/commands/GetSizeConstraintSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSizeConstraintSetCommandInput = GetSizeConstraintSetRequest; @@ -70,14 +70,14 @@ export class GetSizeConstraintSetCommand extends $Command< private serialize( input: GetSizeConstraintSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSizeConstraintSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSizeConstraintSetCommand(output, context); } diff --git a/clients/client-waf/commands/GetSqlInjectionMatchSetCommand.ts b/clients/client-waf/commands/GetSqlInjectionMatchSetCommand.ts index ed4dda1a1e06..21aa44fe8bc7 100644 --- a/clients/client-waf/commands/GetSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf/commands/GetSqlInjectionMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSqlInjectionMatchSetCommandInput = GetSqlInjectionMatchSetRequest; @@ -70,14 +70,14 @@ export class GetSqlInjectionMatchSetCommand extends $Command< private serialize( input: GetSqlInjectionMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSqlInjectionMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSqlInjectionMatchSetCommand( output, diff --git a/clients/client-waf/commands/GetWebACLCommand.ts b/clients/client-waf/commands/GetWebACLCommand.ts index c4d4836df7e1..45418c184280 100644 --- a/clients/client-waf/commands/GetWebACLCommand.ts +++ b/clients/client-waf/commands/GetWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWebACLCommandInput = GetWebACLRequest; @@ -64,14 +64,14 @@ export class GetWebACLCommand extends $Command< private serialize( input: GetWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetWebACLCommand(output, context); } diff --git a/clients/client-waf/commands/GetXssMatchSetCommand.ts b/clients/client-waf/commands/GetXssMatchSetCommand.ts index d76fd0800166..80c8544181ac 100644 --- a/clients/client-waf/commands/GetXssMatchSetCommand.ts +++ b/clients/client-waf/commands/GetXssMatchSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetXssMatchSetCommandInput = GetXssMatchSetRequest; @@ -64,14 +64,14 @@ export class GetXssMatchSetCommand extends $Command< private serialize( input: GetXssMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetXssMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetXssMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/ListActivatedRulesInRuleGroupCommand.ts b/clients/client-waf/commands/ListActivatedRulesInRuleGroupCommand.ts index 0e9a60ddf1c7..9a7229a921bb 100644 --- a/clients/client-waf/commands/ListActivatedRulesInRuleGroupCommand.ts +++ b/clients/client-waf/commands/ListActivatedRulesInRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListActivatedRulesInRuleGroupCommandInput = ListActivatedRulesInRuleGroupRequest; @@ -70,7 +70,7 @@ export class ListActivatedRulesInRuleGroupCommand extends $Command< private serialize( input: ListActivatedRulesInRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListActivatedRulesInRuleGroupCommand( input, @@ -80,7 +80,7 @@ export class ListActivatedRulesInRuleGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListActivatedRulesInRuleGroupCommand( output, diff --git a/clients/client-waf/commands/ListByteMatchSetsCommand.ts b/clients/client-waf/commands/ListByteMatchSetsCommand.ts index 16d6abbca15d..a2105649ed1a 100644 --- a/clients/client-waf/commands/ListByteMatchSetsCommand.ts +++ b/clients/client-waf/commands/ListByteMatchSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListByteMatchSetsCommandInput = ListByteMatchSetsRequest; @@ -67,14 +67,14 @@ export class ListByteMatchSetsCommand extends $Command< private serialize( input: ListByteMatchSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListByteMatchSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListByteMatchSetsCommand(output, context); } diff --git a/clients/client-waf/commands/ListGeoMatchSetsCommand.ts b/clients/client-waf/commands/ListGeoMatchSetsCommand.ts index 68f15658cf57..d2e93efbf36b 100644 --- a/clients/client-waf/commands/ListGeoMatchSetsCommand.ts +++ b/clients/client-waf/commands/ListGeoMatchSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGeoMatchSetsCommandInput = ListGeoMatchSetsRequest; @@ -67,14 +67,14 @@ export class ListGeoMatchSetsCommand extends $Command< private serialize( input: ListGeoMatchSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListGeoMatchSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListGeoMatchSetsCommand(output, context); } diff --git a/clients/client-waf/commands/ListIPSetsCommand.ts b/clients/client-waf/commands/ListIPSetsCommand.ts index 5fe2e11035ad..0050d2d4b377 100644 --- a/clients/client-waf/commands/ListIPSetsCommand.ts +++ b/clients/client-waf/commands/ListIPSetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIPSetsCommandInput = ListIPSetsRequest; @@ -64,14 +64,14 @@ export class ListIPSetsCommand extends $Command< private serialize( input: ListIPSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListIPSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListIPSetsCommand(output, context); } diff --git a/clients/client-waf/commands/ListLoggingConfigurationsCommand.ts b/clients/client-waf/commands/ListLoggingConfigurationsCommand.ts index d313daffffdf..f8a01a3f3d59 100644 --- a/clients/client-waf/commands/ListLoggingConfigurationsCommand.ts +++ b/clients/client-waf/commands/ListLoggingConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLoggingConfigurationsCommandInput = ListLoggingConfigurationsRequest; @@ -70,14 +70,14 @@ export class ListLoggingConfigurationsCommand extends $Command< private serialize( input: ListLoggingConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLoggingConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLoggingConfigurationsCommand( output, diff --git a/clients/client-waf/commands/ListRateBasedRulesCommand.ts b/clients/client-waf/commands/ListRateBasedRulesCommand.ts index 56eea044bded..9ab4e147e9c0 100644 --- a/clients/client-waf/commands/ListRateBasedRulesCommand.ts +++ b/clients/client-waf/commands/ListRateBasedRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRateBasedRulesCommandInput = ListRateBasedRulesRequest; @@ -67,14 +67,14 @@ export class ListRateBasedRulesCommand extends $Command< private serialize( input: ListRateBasedRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRateBasedRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRateBasedRulesCommand(output, context); } diff --git a/clients/client-waf/commands/ListRegexMatchSetsCommand.ts b/clients/client-waf/commands/ListRegexMatchSetsCommand.ts index 73e777e3966f..f378afc02a27 100644 --- a/clients/client-waf/commands/ListRegexMatchSetsCommand.ts +++ b/clients/client-waf/commands/ListRegexMatchSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRegexMatchSetsCommandInput = ListRegexMatchSetsRequest; @@ -67,14 +67,14 @@ export class ListRegexMatchSetsCommand extends $Command< private serialize( input: ListRegexMatchSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRegexMatchSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRegexMatchSetsCommand(output, context); } diff --git a/clients/client-waf/commands/ListRegexPatternSetsCommand.ts b/clients/client-waf/commands/ListRegexPatternSetsCommand.ts index 269a13d2000d..9c3d060bfc18 100644 --- a/clients/client-waf/commands/ListRegexPatternSetsCommand.ts +++ b/clients/client-waf/commands/ListRegexPatternSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRegexPatternSetsCommandInput = ListRegexPatternSetsRequest; @@ -70,14 +70,14 @@ export class ListRegexPatternSetsCommand extends $Command< private serialize( input: ListRegexPatternSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRegexPatternSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRegexPatternSetsCommand(output, context); } diff --git a/clients/client-waf/commands/ListRuleGroupsCommand.ts b/clients/client-waf/commands/ListRuleGroupsCommand.ts index 7d06bb7e5154..b5e9f87705ab 100644 --- a/clients/client-waf/commands/ListRuleGroupsCommand.ts +++ b/clients/client-waf/commands/ListRuleGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRuleGroupsCommandInput = ListRuleGroupsRequest; @@ -64,14 +64,14 @@ export class ListRuleGroupsCommand extends $Command< private serialize( input: ListRuleGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRuleGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRuleGroupsCommand(output, context); } diff --git a/clients/client-waf/commands/ListRulesCommand.ts b/clients/client-waf/commands/ListRulesCommand.ts index edba1fa47ddf..8233cbb3bad7 100644 --- a/clients/client-waf/commands/ListRulesCommand.ts +++ b/clients/client-waf/commands/ListRulesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRulesCommandInput = ListRulesRequest; @@ -64,14 +64,14 @@ export class ListRulesCommand extends $Command< private serialize( input: ListRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRulesCommand(output, context); } diff --git a/clients/client-waf/commands/ListSizeConstraintSetsCommand.ts b/clients/client-waf/commands/ListSizeConstraintSetsCommand.ts index a843ce2474ff..e621269c4bf0 100644 --- a/clients/client-waf/commands/ListSizeConstraintSetsCommand.ts +++ b/clients/client-waf/commands/ListSizeConstraintSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSizeConstraintSetsCommandInput = ListSizeConstraintSetsRequest; @@ -70,14 +70,14 @@ export class ListSizeConstraintSetsCommand extends $Command< private serialize( input: ListSizeConstraintSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSizeConstraintSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSizeConstraintSetsCommand(output, context); } diff --git a/clients/client-waf/commands/ListSqlInjectionMatchSetsCommand.ts b/clients/client-waf/commands/ListSqlInjectionMatchSetsCommand.ts index d7053c50171c..07739762921f 100644 --- a/clients/client-waf/commands/ListSqlInjectionMatchSetsCommand.ts +++ b/clients/client-waf/commands/ListSqlInjectionMatchSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSqlInjectionMatchSetsCommandInput = ListSqlInjectionMatchSetsRequest; @@ -70,14 +70,14 @@ export class ListSqlInjectionMatchSetsCommand extends $Command< private serialize( input: ListSqlInjectionMatchSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSqlInjectionMatchSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSqlInjectionMatchSetsCommand( output, diff --git a/clients/client-waf/commands/ListSubscribedRuleGroupsCommand.ts b/clients/client-waf/commands/ListSubscribedRuleGroupsCommand.ts index c822e0929d42..30a2b3b1730f 100644 --- a/clients/client-waf/commands/ListSubscribedRuleGroupsCommand.ts +++ b/clients/client-waf/commands/ListSubscribedRuleGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListSubscribedRuleGroupsCommandInput = ListSubscribedRuleGroupsRequest; @@ -70,14 +70,14 @@ export class ListSubscribedRuleGroupsCommand extends $Command< private serialize( input: ListSubscribedRuleGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListSubscribedRuleGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListSubscribedRuleGroupsCommand( output, diff --git a/clients/client-waf/commands/ListTagsForResourceCommand.ts b/clients/client-waf/commands/ListTagsForResourceCommand.ts index 828d83852bf1..e88ca76bd7b9 100644 --- a/clients/client-waf/commands/ListTagsForResourceCommand.ts +++ b/clients/client-waf/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-waf/commands/ListWebACLsCommand.ts b/clients/client-waf/commands/ListWebACLsCommand.ts index e3b5bcab48b4..efc7b4e99b95 100644 --- a/clients/client-waf/commands/ListWebACLsCommand.ts +++ b/clients/client-waf/commands/ListWebACLsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWebACLsCommandInput = ListWebACLsRequest; @@ -64,14 +64,14 @@ export class ListWebACLsCommand extends $Command< private serialize( input: ListWebACLsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListWebACLsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListWebACLsCommand(output, context); } diff --git a/clients/client-waf/commands/ListXssMatchSetsCommand.ts b/clients/client-waf/commands/ListXssMatchSetsCommand.ts index b9d8f6f961ee..7c1bbf444987 100644 --- a/clients/client-waf/commands/ListXssMatchSetsCommand.ts +++ b/clients/client-waf/commands/ListXssMatchSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListXssMatchSetsCommandInput = ListXssMatchSetsRequest; @@ -67,14 +67,14 @@ export class ListXssMatchSetsCommand extends $Command< private serialize( input: ListXssMatchSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListXssMatchSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListXssMatchSetsCommand(output, context); } diff --git a/clients/client-waf/commands/PutLoggingConfigurationCommand.ts b/clients/client-waf/commands/PutLoggingConfigurationCommand.ts index f537526b88ba..758a37f2dfad 100644 --- a/clients/client-waf/commands/PutLoggingConfigurationCommand.ts +++ b/clients/client-waf/commands/PutLoggingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLoggingConfigurationCommandInput = PutLoggingConfigurationRequest; @@ -70,14 +70,14 @@ export class PutLoggingConfigurationCommand extends $Command< private serialize( input: PutLoggingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutLoggingConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutLoggingConfigurationCommand( output, diff --git a/clients/client-waf/commands/PutPermissionPolicyCommand.ts b/clients/client-waf/commands/PutPermissionPolicyCommand.ts index e95e9ff5612b..9c1527482fb1 100644 --- a/clients/client-waf/commands/PutPermissionPolicyCommand.ts +++ b/clients/client-waf/commands/PutPermissionPolicyCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutPermissionPolicyCommandInput = PutPermissionPolicyRequest; @@ -70,14 +70,14 @@ export class PutPermissionPolicyCommand extends $Command< private serialize( input: PutPermissionPolicyCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutPermissionPolicyCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutPermissionPolicyCommand(output, context); } diff --git a/clients/client-waf/commands/TagResourceCommand.ts b/clients/client-waf/commands/TagResourceCommand.ts index 79c4462d2773..18674c9ae376 100644 --- a/clients/client-waf/commands/TagResourceCommand.ts +++ b/clients/client-waf/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-waf/commands/UntagResourceCommand.ts b/clients/client-waf/commands/UntagResourceCommand.ts index da37b09284b2..b1906be9e33a 100644 --- a/clients/client-waf/commands/UntagResourceCommand.ts +++ b/clients/client-waf/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-waf/commands/UpdateByteMatchSetCommand.ts b/clients/client-waf/commands/UpdateByteMatchSetCommand.ts index 194de9ee77cf..bf1a99cf8fc9 100644 --- a/clients/client-waf/commands/UpdateByteMatchSetCommand.ts +++ b/clients/client-waf/commands/UpdateByteMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateByteMatchSetCommandInput = UpdateByteMatchSetRequest; @@ -67,14 +67,14 @@ export class UpdateByteMatchSetCommand extends $Command< private serialize( input: UpdateByteMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateByteMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateByteMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/UpdateGeoMatchSetCommand.ts b/clients/client-waf/commands/UpdateGeoMatchSetCommand.ts index 0698d2cc161e..8ebe82536062 100644 --- a/clients/client-waf/commands/UpdateGeoMatchSetCommand.ts +++ b/clients/client-waf/commands/UpdateGeoMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGeoMatchSetCommandInput = UpdateGeoMatchSetRequest; @@ -67,14 +67,14 @@ export class UpdateGeoMatchSetCommand extends $Command< private serialize( input: UpdateGeoMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateGeoMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateGeoMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/UpdateIPSetCommand.ts b/clients/client-waf/commands/UpdateIPSetCommand.ts index 8ba3d8225283..ac50bac1a1b1 100644 --- a/clients/client-waf/commands/UpdateIPSetCommand.ts +++ b/clients/client-waf/commands/UpdateIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIPSetCommandInput = UpdateIPSetRequest; @@ -64,14 +64,14 @@ export class UpdateIPSetCommand extends $Command< private serialize( input: UpdateIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateIPSetCommand(output, context); } diff --git a/clients/client-waf/commands/UpdateRateBasedRuleCommand.ts b/clients/client-waf/commands/UpdateRateBasedRuleCommand.ts index c8779daa195a..2a2228be7a99 100644 --- a/clients/client-waf/commands/UpdateRateBasedRuleCommand.ts +++ b/clients/client-waf/commands/UpdateRateBasedRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRateBasedRuleCommandInput = UpdateRateBasedRuleRequest; @@ -70,14 +70,14 @@ export class UpdateRateBasedRuleCommand extends $Command< private serialize( input: UpdateRateBasedRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRateBasedRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRateBasedRuleCommand(output, context); } diff --git a/clients/client-waf/commands/UpdateRegexMatchSetCommand.ts b/clients/client-waf/commands/UpdateRegexMatchSetCommand.ts index 9b561b084669..b9a776091f37 100644 --- a/clients/client-waf/commands/UpdateRegexMatchSetCommand.ts +++ b/clients/client-waf/commands/UpdateRegexMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRegexMatchSetCommandInput = UpdateRegexMatchSetRequest; @@ -70,14 +70,14 @@ export class UpdateRegexMatchSetCommand extends $Command< private serialize( input: UpdateRegexMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRegexMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRegexMatchSetCommand(output, context); } diff --git a/clients/client-waf/commands/UpdateRegexPatternSetCommand.ts b/clients/client-waf/commands/UpdateRegexPatternSetCommand.ts index ccff4bbdf678..8958eac2b944 100644 --- a/clients/client-waf/commands/UpdateRegexPatternSetCommand.ts +++ b/clients/client-waf/commands/UpdateRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRegexPatternSetCommandInput = UpdateRegexPatternSetRequest; @@ -70,14 +70,14 @@ export class UpdateRegexPatternSetCommand extends $Command< private serialize( input: UpdateRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRegexPatternSetCommand(output, context); } diff --git a/clients/client-waf/commands/UpdateRuleCommand.ts b/clients/client-waf/commands/UpdateRuleCommand.ts index 10f7054cfba3..08fcb17cc393 100644 --- a/clients/client-waf/commands/UpdateRuleCommand.ts +++ b/clients/client-waf/commands/UpdateRuleCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRuleCommandInput = UpdateRuleRequest; @@ -64,14 +64,14 @@ export class UpdateRuleCommand extends $Command< private serialize( input: UpdateRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRuleCommand(output, context); } diff --git a/clients/client-waf/commands/UpdateRuleGroupCommand.ts b/clients/client-waf/commands/UpdateRuleGroupCommand.ts index cf2d72dfa115..0a1aed6f4175 100644 --- a/clients/client-waf/commands/UpdateRuleGroupCommand.ts +++ b/clients/client-waf/commands/UpdateRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRuleGroupCommandInput = UpdateRuleGroupRequest; @@ -67,14 +67,14 @@ export class UpdateRuleGroupCommand extends $Command< private serialize( input: UpdateRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRuleGroupCommand(output, context); } diff --git a/clients/client-waf/commands/UpdateSizeConstraintSetCommand.ts b/clients/client-waf/commands/UpdateSizeConstraintSetCommand.ts index 47daa8f81d07..09c7e37e52ce 100644 --- a/clients/client-waf/commands/UpdateSizeConstraintSetCommand.ts +++ b/clients/client-waf/commands/UpdateSizeConstraintSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSizeConstraintSetCommandInput = UpdateSizeConstraintSetRequest; @@ -70,14 +70,14 @@ export class UpdateSizeConstraintSetCommand extends $Command< private serialize( input: UpdateSizeConstraintSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSizeConstraintSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSizeConstraintSetCommand( output, diff --git a/clients/client-waf/commands/UpdateSqlInjectionMatchSetCommand.ts b/clients/client-waf/commands/UpdateSqlInjectionMatchSetCommand.ts index 8636026ad5cb..3ae5d78d0cf3 100644 --- a/clients/client-waf/commands/UpdateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf/commands/UpdateSqlInjectionMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSqlInjectionMatchSetCommandInput = UpdateSqlInjectionMatchSetRequest; @@ -70,7 +70,7 @@ export class UpdateSqlInjectionMatchSetCommand extends $Command< private serialize( input: UpdateSqlInjectionMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateSqlInjectionMatchSetCommand( input, @@ -80,7 +80,7 @@ export class UpdateSqlInjectionMatchSetCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateSqlInjectionMatchSetCommand( output, diff --git a/clients/client-waf/commands/UpdateWebACLCommand.ts b/clients/client-waf/commands/UpdateWebACLCommand.ts index ff6c3653fbad..dd8299a20930 100644 --- a/clients/client-waf/commands/UpdateWebACLCommand.ts +++ b/clients/client-waf/commands/UpdateWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateWebACLCommandInput = UpdateWebACLRequest; @@ -64,14 +64,14 @@ export class UpdateWebACLCommand extends $Command< private serialize( input: UpdateWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateWebACLCommand(output, context); } diff --git a/clients/client-waf/commands/UpdateXssMatchSetCommand.ts b/clients/client-waf/commands/UpdateXssMatchSetCommand.ts index 0f27c0ff1ce8..3e70257b8b3f 100644 --- a/clients/client-waf/commands/UpdateXssMatchSetCommand.ts +++ b/clients/client-waf/commands/UpdateXssMatchSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateXssMatchSetCommandInput = UpdateXssMatchSetRequest; @@ -67,14 +67,14 @@ export class UpdateXssMatchSetCommand extends $Command< private serialize( input: UpdateXssMatchSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateXssMatchSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateXssMatchSetCommand(output, context); } diff --git a/clients/client-waf/protocols/Aws_json1_1.ts b/clients/client-waf/protocols/Aws_json1_1.ts index 5c3a85735c92..6113c7a4179d 100644 --- a/clients/client-waf/protocols/Aws_json1_1.ts +++ b/clients/client-waf/protocols/Aws_json1_1.ts @@ -13032,6 +13032,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-wafv2/commands/AssociateWebACLCommand.ts b/clients/client-wafv2/commands/AssociateWebACLCommand.ts index 3d7e5e4af60e..552a4c615ee4 100644 --- a/clients/client-wafv2/commands/AssociateWebACLCommand.ts +++ b/clients/client-wafv2/commands/AssociateWebACLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateWebACLCommandInput = AssociateWebACLRequest; @@ -67,14 +67,14 @@ export class AssociateWebACLCommand extends $Command< private serialize( input: AssociateWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateWebACLCommand(output, context); } diff --git a/clients/client-wafv2/commands/CheckCapacityCommand.ts b/clients/client-wafv2/commands/CheckCapacityCommand.ts index 46c5ad9c4037..49532b39f03a 100644 --- a/clients/client-wafv2/commands/CheckCapacityCommand.ts +++ b/clients/client-wafv2/commands/CheckCapacityCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CheckCapacityCommandInput = CheckCapacityRequest; @@ -64,14 +64,14 @@ export class CheckCapacityCommand extends $Command< private serialize( input: CheckCapacityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CheckCapacityCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CheckCapacityCommand(output, context); } diff --git a/clients/client-wafv2/commands/CreateIPSetCommand.ts b/clients/client-wafv2/commands/CreateIPSetCommand.ts index 34f80c4188da..87605640a6eb 100644 --- a/clients/client-wafv2/commands/CreateIPSetCommand.ts +++ b/clients/client-wafv2/commands/CreateIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIPSetCommandInput = CreateIPSetRequest; @@ -64,14 +64,14 @@ export class CreateIPSetCommand extends $Command< private serialize( input: CreateIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateIPSetCommand(output, context); } diff --git a/clients/client-wafv2/commands/CreateRegexPatternSetCommand.ts b/clients/client-wafv2/commands/CreateRegexPatternSetCommand.ts index 674bdb293c2c..060ae5fd932b 100644 --- a/clients/client-wafv2/commands/CreateRegexPatternSetCommand.ts +++ b/clients/client-wafv2/commands/CreateRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRegexPatternSetCommandInput = CreateRegexPatternSetRequest; @@ -70,14 +70,14 @@ export class CreateRegexPatternSetCommand extends $Command< private serialize( input: CreateRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRegexPatternSetCommand(output, context); } diff --git a/clients/client-wafv2/commands/CreateRuleGroupCommand.ts b/clients/client-wafv2/commands/CreateRuleGroupCommand.ts index 607e21293c35..cc18bb6b3fce 100644 --- a/clients/client-wafv2/commands/CreateRuleGroupCommand.ts +++ b/clients/client-wafv2/commands/CreateRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateRuleGroupCommandInput = CreateRuleGroupRequest; @@ -67,14 +67,14 @@ export class CreateRuleGroupCommand extends $Command< private serialize( input: CreateRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateRuleGroupCommand(output, context); } diff --git a/clients/client-wafv2/commands/CreateWebACLCommand.ts b/clients/client-wafv2/commands/CreateWebACLCommand.ts index 935937c37a7d..891de3041428 100644 --- a/clients/client-wafv2/commands/CreateWebACLCommand.ts +++ b/clients/client-wafv2/commands/CreateWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateWebACLCommandInput = CreateWebACLRequest; @@ -64,14 +64,14 @@ export class CreateWebACLCommand extends $Command< private serialize( input: CreateWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateWebACLCommand(output, context); } diff --git a/clients/client-wafv2/commands/DeleteIPSetCommand.ts b/clients/client-wafv2/commands/DeleteIPSetCommand.ts index 26c611152198..8a4bbaa0fce1 100644 --- a/clients/client-wafv2/commands/DeleteIPSetCommand.ts +++ b/clients/client-wafv2/commands/DeleteIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIPSetCommandInput = DeleteIPSetRequest; @@ -64,14 +64,14 @@ export class DeleteIPSetCommand extends $Command< private serialize( input: DeleteIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteIPSetCommand(output, context); } diff --git a/clients/client-wafv2/commands/DeleteLoggingConfigurationCommand.ts b/clients/client-wafv2/commands/DeleteLoggingConfigurationCommand.ts index 25d6d11e0017..e0de14e88144 100644 --- a/clients/client-wafv2/commands/DeleteLoggingConfigurationCommand.ts +++ b/clients/client-wafv2/commands/DeleteLoggingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLoggingConfigurationCommandInput = DeleteLoggingConfigurationRequest; @@ -70,7 +70,7 @@ export class DeleteLoggingConfigurationCommand extends $Command< private serialize( input: DeleteLoggingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteLoggingConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DeleteLoggingConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteLoggingConfigurationCommand( output, diff --git a/clients/client-wafv2/commands/DeleteRegexPatternSetCommand.ts b/clients/client-wafv2/commands/DeleteRegexPatternSetCommand.ts index adf9d3762f44..a4e0891aa36a 100644 --- a/clients/client-wafv2/commands/DeleteRegexPatternSetCommand.ts +++ b/clients/client-wafv2/commands/DeleteRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRegexPatternSetCommandInput = DeleteRegexPatternSetRequest; @@ -70,14 +70,14 @@ export class DeleteRegexPatternSetCommand extends $Command< private serialize( input: DeleteRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRegexPatternSetCommand(output, context); } diff --git a/clients/client-wafv2/commands/DeleteRuleGroupCommand.ts b/clients/client-wafv2/commands/DeleteRuleGroupCommand.ts index 28868ebad7b6..4c07c4a46b95 100644 --- a/clients/client-wafv2/commands/DeleteRuleGroupCommand.ts +++ b/clients/client-wafv2/commands/DeleteRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteRuleGroupCommandInput = DeleteRuleGroupRequest; @@ -67,14 +67,14 @@ export class DeleteRuleGroupCommand extends $Command< private serialize( input: DeleteRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteRuleGroupCommand(output, context); } diff --git a/clients/client-wafv2/commands/DeleteWebACLCommand.ts b/clients/client-wafv2/commands/DeleteWebACLCommand.ts index 02953ce1c551..bb9a24eef91f 100644 --- a/clients/client-wafv2/commands/DeleteWebACLCommand.ts +++ b/clients/client-wafv2/commands/DeleteWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteWebACLCommandInput = DeleteWebACLRequest; @@ -64,14 +64,14 @@ export class DeleteWebACLCommand extends $Command< private serialize( input: DeleteWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteWebACLCommand(output, context); } diff --git a/clients/client-wafv2/commands/DescribeManagedRuleGroupCommand.ts b/clients/client-wafv2/commands/DescribeManagedRuleGroupCommand.ts index 0a2a8ae6c31e..75bf85758a6c 100644 --- a/clients/client-wafv2/commands/DescribeManagedRuleGroupCommand.ts +++ b/clients/client-wafv2/commands/DescribeManagedRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeManagedRuleGroupCommandInput = DescribeManagedRuleGroupRequest; @@ -70,14 +70,14 @@ export class DescribeManagedRuleGroupCommand extends $Command< private serialize( input: DescribeManagedRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeManagedRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeManagedRuleGroupCommand( output, diff --git a/clients/client-wafv2/commands/DisassociateWebACLCommand.ts b/clients/client-wafv2/commands/DisassociateWebACLCommand.ts index fe8af13b2564..db42b59a6069 100644 --- a/clients/client-wafv2/commands/DisassociateWebACLCommand.ts +++ b/clients/client-wafv2/commands/DisassociateWebACLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateWebACLCommandInput = DisassociateWebACLRequest; @@ -67,14 +67,14 @@ export class DisassociateWebACLCommand extends $Command< private serialize( input: DisassociateWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateWebACLCommand(output, context); } diff --git a/clients/client-wafv2/commands/GetIPSetCommand.ts b/clients/client-wafv2/commands/GetIPSetCommand.ts index 3f1a96861949..a8d369d3e98b 100644 --- a/clients/client-wafv2/commands/GetIPSetCommand.ts +++ b/clients/client-wafv2/commands/GetIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetIPSetCommandInput = GetIPSetRequest; @@ -64,14 +64,14 @@ export class GetIPSetCommand extends $Command< private serialize( input: GetIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetIPSetCommand(output, context); } diff --git a/clients/client-wafv2/commands/GetLoggingConfigurationCommand.ts b/clients/client-wafv2/commands/GetLoggingConfigurationCommand.ts index da7b1d2f9746..a898601e276c 100644 --- a/clients/client-wafv2/commands/GetLoggingConfigurationCommand.ts +++ b/clients/client-wafv2/commands/GetLoggingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetLoggingConfigurationCommandInput = GetLoggingConfigurationRequest; @@ -70,14 +70,14 @@ export class GetLoggingConfigurationCommand extends $Command< private serialize( input: GetLoggingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetLoggingConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetLoggingConfigurationCommand( output, diff --git a/clients/client-wafv2/commands/GetRateBasedStatementManagedKeysCommand.ts b/clients/client-wafv2/commands/GetRateBasedStatementManagedKeysCommand.ts index f39c55bf0988..f49756fdcaf9 100644 --- a/clients/client-wafv2/commands/GetRateBasedStatementManagedKeysCommand.ts +++ b/clients/client-wafv2/commands/GetRateBasedStatementManagedKeysCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRateBasedStatementManagedKeysCommandInput = GetRateBasedStatementManagedKeysRequest; @@ -70,7 +70,7 @@ export class GetRateBasedStatementManagedKeysCommand extends $Command< private serialize( input: GetRateBasedStatementManagedKeysCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRateBasedStatementManagedKeysCommand( input, @@ -80,7 +80,7 @@ export class GetRateBasedStatementManagedKeysCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRateBasedStatementManagedKeysCommand( output, diff --git a/clients/client-wafv2/commands/GetRegexPatternSetCommand.ts b/clients/client-wafv2/commands/GetRegexPatternSetCommand.ts index 23633babc6b2..961a16281986 100644 --- a/clients/client-wafv2/commands/GetRegexPatternSetCommand.ts +++ b/clients/client-wafv2/commands/GetRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRegexPatternSetCommandInput = GetRegexPatternSetRequest; @@ -67,14 +67,14 @@ export class GetRegexPatternSetCommand extends $Command< private serialize( input: GetRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRegexPatternSetCommand(output, context); } diff --git a/clients/client-wafv2/commands/GetRuleGroupCommand.ts b/clients/client-wafv2/commands/GetRuleGroupCommand.ts index d4068793ad3a..a7d25e8a9bb3 100644 --- a/clients/client-wafv2/commands/GetRuleGroupCommand.ts +++ b/clients/client-wafv2/commands/GetRuleGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRuleGroupCommandInput = GetRuleGroupRequest; @@ -64,14 +64,14 @@ export class GetRuleGroupCommand extends $Command< private serialize( input: GetRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetRuleGroupCommand(output, context); } diff --git a/clients/client-wafv2/commands/GetSampledRequestsCommand.ts b/clients/client-wafv2/commands/GetSampledRequestsCommand.ts index 0428478c36ac..a8a34d0b8633 100644 --- a/clients/client-wafv2/commands/GetSampledRequestsCommand.ts +++ b/clients/client-wafv2/commands/GetSampledRequestsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSampledRequestsCommandInput = GetSampledRequestsRequest; @@ -67,14 +67,14 @@ export class GetSampledRequestsCommand extends $Command< private serialize( input: GetSampledRequestsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetSampledRequestsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetSampledRequestsCommand(output, context); } diff --git a/clients/client-wafv2/commands/GetWebACLCommand.ts b/clients/client-wafv2/commands/GetWebACLCommand.ts index 06b912422a32..27a34f698ca9 100644 --- a/clients/client-wafv2/commands/GetWebACLCommand.ts +++ b/clients/client-wafv2/commands/GetWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWebACLCommandInput = GetWebACLRequest; @@ -64,14 +64,14 @@ export class GetWebACLCommand extends $Command< private serialize( input: GetWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetWebACLCommand(output, context); } diff --git a/clients/client-wafv2/commands/GetWebACLForResourceCommand.ts b/clients/client-wafv2/commands/GetWebACLForResourceCommand.ts index 4869060562e7..dfbb931d06b9 100644 --- a/clients/client-wafv2/commands/GetWebACLForResourceCommand.ts +++ b/clients/client-wafv2/commands/GetWebACLForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetWebACLForResourceCommandInput = GetWebACLForResourceRequest; @@ -70,14 +70,14 @@ export class GetWebACLForResourceCommand extends $Command< private serialize( input: GetWebACLForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetWebACLForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetWebACLForResourceCommand(output, context); } diff --git a/clients/client-wafv2/commands/ListAvailableManagedRuleGroupsCommand.ts b/clients/client-wafv2/commands/ListAvailableManagedRuleGroupsCommand.ts index a10c0443932d..2fc8ac014d21 100644 --- a/clients/client-wafv2/commands/ListAvailableManagedRuleGroupsCommand.ts +++ b/clients/client-wafv2/commands/ListAvailableManagedRuleGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAvailableManagedRuleGroupsCommandInput = ListAvailableManagedRuleGroupsRequest; @@ -70,7 +70,7 @@ export class ListAvailableManagedRuleGroupsCommand extends $Command< private serialize( input: ListAvailableManagedRuleGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAvailableManagedRuleGroupsCommand( input, @@ -80,7 +80,7 @@ export class ListAvailableManagedRuleGroupsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAvailableManagedRuleGroupsCommand( output, diff --git a/clients/client-wafv2/commands/ListIPSetsCommand.ts b/clients/client-wafv2/commands/ListIPSetsCommand.ts index 8bc17f205779..d85c56c2846f 100644 --- a/clients/client-wafv2/commands/ListIPSetsCommand.ts +++ b/clients/client-wafv2/commands/ListIPSetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListIPSetsCommandInput = ListIPSetsRequest; @@ -64,14 +64,14 @@ export class ListIPSetsCommand extends $Command< private serialize( input: ListIPSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListIPSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListIPSetsCommand(output, context); } diff --git a/clients/client-wafv2/commands/ListLoggingConfigurationsCommand.ts b/clients/client-wafv2/commands/ListLoggingConfigurationsCommand.ts index 78b431283037..737a3586e76f 100644 --- a/clients/client-wafv2/commands/ListLoggingConfigurationsCommand.ts +++ b/clients/client-wafv2/commands/ListLoggingConfigurationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListLoggingConfigurationsCommandInput = ListLoggingConfigurationsRequest; @@ -70,14 +70,14 @@ export class ListLoggingConfigurationsCommand extends $Command< private serialize( input: ListLoggingConfigurationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListLoggingConfigurationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListLoggingConfigurationsCommand( output, diff --git a/clients/client-wafv2/commands/ListRegexPatternSetsCommand.ts b/clients/client-wafv2/commands/ListRegexPatternSetsCommand.ts index bff472870342..89a058c2a838 100644 --- a/clients/client-wafv2/commands/ListRegexPatternSetsCommand.ts +++ b/clients/client-wafv2/commands/ListRegexPatternSetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRegexPatternSetsCommandInput = ListRegexPatternSetsRequest; @@ -70,14 +70,14 @@ export class ListRegexPatternSetsCommand extends $Command< private serialize( input: ListRegexPatternSetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRegexPatternSetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRegexPatternSetsCommand(output, context); } diff --git a/clients/client-wafv2/commands/ListResourcesForWebACLCommand.ts b/clients/client-wafv2/commands/ListResourcesForWebACLCommand.ts index 09ae8d10d42c..36eb98ffd3d7 100644 --- a/clients/client-wafv2/commands/ListResourcesForWebACLCommand.ts +++ b/clients/client-wafv2/commands/ListResourcesForWebACLCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourcesForWebACLCommandInput = ListResourcesForWebACLRequest; @@ -70,14 +70,14 @@ export class ListResourcesForWebACLCommand extends $Command< private serialize( input: ListResourcesForWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourcesForWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourcesForWebACLCommand(output, context); } diff --git a/clients/client-wafv2/commands/ListRuleGroupsCommand.ts b/clients/client-wafv2/commands/ListRuleGroupsCommand.ts index e204df84cef4..5d7901d8944c 100644 --- a/clients/client-wafv2/commands/ListRuleGroupsCommand.ts +++ b/clients/client-wafv2/commands/ListRuleGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListRuleGroupsCommandInput = ListRuleGroupsRequest; @@ -64,14 +64,14 @@ export class ListRuleGroupsCommand extends $Command< private serialize( input: ListRuleGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListRuleGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListRuleGroupsCommand(output, context); } diff --git a/clients/client-wafv2/commands/ListTagsForResourceCommand.ts b/clients/client-wafv2/commands/ListTagsForResourceCommand.ts index 6b378eec03c0..3755643d7aa7 100644 --- a/clients/client-wafv2/commands/ListTagsForResourceCommand.ts +++ b/clients/client-wafv2/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListTagsForResourceCommandInput = ListTagsForResourceRequest; @@ -70,14 +70,14 @@ export class ListTagsForResourceCommand extends $Command< private serialize( input: ListTagsForResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListTagsForResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListTagsForResourceCommand(output, context); } diff --git a/clients/client-wafv2/commands/ListWebACLsCommand.ts b/clients/client-wafv2/commands/ListWebACLsCommand.ts index 7a2196939a20..e8f10eb54b9c 100644 --- a/clients/client-wafv2/commands/ListWebACLsCommand.ts +++ b/clients/client-wafv2/commands/ListWebACLsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWebACLsCommandInput = ListWebACLsRequest; @@ -64,14 +64,14 @@ export class ListWebACLsCommand extends $Command< private serialize( input: ListWebACLsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListWebACLsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListWebACLsCommand(output, context); } diff --git a/clients/client-wafv2/commands/PutLoggingConfigurationCommand.ts b/clients/client-wafv2/commands/PutLoggingConfigurationCommand.ts index dc2b757158a3..723f96d350b8 100644 --- a/clients/client-wafv2/commands/PutLoggingConfigurationCommand.ts +++ b/clients/client-wafv2/commands/PutLoggingConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutLoggingConfigurationCommandInput = PutLoggingConfigurationRequest; @@ -70,14 +70,14 @@ export class PutLoggingConfigurationCommand extends $Command< private serialize( input: PutLoggingConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutLoggingConfigurationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutLoggingConfigurationCommand( output, diff --git a/clients/client-wafv2/commands/TagResourceCommand.ts b/clients/client-wafv2/commands/TagResourceCommand.ts index 2b17d2c74986..03b6540563c1 100644 --- a/clients/client-wafv2/commands/TagResourceCommand.ts +++ b/clients/client-wafv2/commands/TagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TagResourceCommandInput = TagResourceRequest; @@ -64,14 +64,14 @@ export class TagResourceCommand extends $Command< private serialize( input: TagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TagResourceCommand(output, context); } diff --git a/clients/client-wafv2/commands/UntagResourceCommand.ts b/clients/client-wafv2/commands/UntagResourceCommand.ts index debb1ee52086..d0347d8f4bbf 100644 --- a/clients/client-wafv2/commands/UntagResourceCommand.ts +++ b/clients/client-wafv2/commands/UntagResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UntagResourceCommandInput = UntagResourceRequest; @@ -64,14 +64,14 @@ export class UntagResourceCommand extends $Command< private serialize( input: UntagResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UntagResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UntagResourceCommand(output, context); } diff --git a/clients/client-wafv2/commands/UpdateIPSetCommand.ts b/clients/client-wafv2/commands/UpdateIPSetCommand.ts index 5ea319b04fed..4b0cb554ae5a 100644 --- a/clients/client-wafv2/commands/UpdateIPSetCommand.ts +++ b/clients/client-wafv2/commands/UpdateIPSetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIPSetCommandInput = UpdateIPSetRequest; @@ -64,14 +64,14 @@ export class UpdateIPSetCommand extends $Command< private serialize( input: UpdateIPSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateIPSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateIPSetCommand(output, context); } diff --git a/clients/client-wafv2/commands/UpdateRegexPatternSetCommand.ts b/clients/client-wafv2/commands/UpdateRegexPatternSetCommand.ts index 6bf253721ec1..9b3ba7ad8f77 100644 --- a/clients/client-wafv2/commands/UpdateRegexPatternSetCommand.ts +++ b/clients/client-wafv2/commands/UpdateRegexPatternSetCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRegexPatternSetCommandInput = UpdateRegexPatternSetRequest; @@ -70,14 +70,14 @@ export class UpdateRegexPatternSetCommand extends $Command< private serialize( input: UpdateRegexPatternSetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRegexPatternSetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRegexPatternSetCommand(output, context); } diff --git a/clients/client-wafv2/commands/UpdateRuleGroupCommand.ts b/clients/client-wafv2/commands/UpdateRuleGroupCommand.ts index 8edd6ac1aa52..db064249c4f4 100644 --- a/clients/client-wafv2/commands/UpdateRuleGroupCommand.ts +++ b/clients/client-wafv2/commands/UpdateRuleGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRuleGroupCommandInput = UpdateRuleGroupRequest; @@ -67,14 +67,14 @@ export class UpdateRuleGroupCommand extends $Command< private serialize( input: UpdateRuleGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRuleGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRuleGroupCommand(output, context); } diff --git a/clients/client-wafv2/commands/UpdateWebACLCommand.ts b/clients/client-wafv2/commands/UpdateWebACLCommand.ts index 042934b71545..c32de017c826 100644 --- a/clients/client-wafv2/commands/UpdateWebACLCommand.ts +++ b/clients/client-wafv2/commands/UpdateWebACLCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateWebACLCommandInput = UpdateWebACLRequest; @@ -64,14 +64,14 @@ export class UpdateWebACLCommand extends $Command< private serialize( input: UpdateWebACLCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateWebACLCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateWebACLCommand(output, context); } diff --git a/clients/client-wafv2/protocols/Aws_json1_1.ts b/clients/client-wafv2/protocols/Aws_json1_1.ts index a6e6937106a2..1074cbc200f7 100644 --- a/clients/client-wafv2/protocols/Aws_json1_1.ts +++ b/clients/client-wafv2/protocols/Aws_json1_1.ts @@ -7746,6 +7746,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-workdocs/commands/AbortDocumentVersionUploadCommand.ts b/clients/client-workdocs/commands/AbortDocumentVersionUploadCommand.ts index 8fa8656c77c1..56cfe9d3e9a1 100644 --- a/clients/client-workdocs/commands/AbortDocumentVersionUploadCommand.ts +++ b/clients/client-workdocs/commands/AbortDocumentVersionUploadCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AbortDocumentVersionUploadCommandInput = AbortDocumentVersionUploadRequest; @@ -68,7 +68,7 @@ export class AbortDocumentVersionUploadCommand extends $Command< private serialize( input: AbortDocumentVersionUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AbortDocumentVersionUploadCommand( input, @@ -78,7 +78,7 @@ export class AbortDocumentVersionUploadCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AbortDocumentVersionUploadCommand( output, diff --git a/clients/client-workdocs/commands/ActivateUserCommand.ts b/clients/client-workdocs/commands/ActivateUserCommand.ts index 1a5faa3202a9..40f2157616a8 100644 --- a/clients/client-workdocs/commands/ActivateUserCommand.ts +++ b/clients/client-workdocs/commands/ActivateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ActivateUserCommandInput = ActivateUserRequest; @@ -64,14 +64,14 @@ export class ActivateUserCommand extends $Command< private serialize( input: ActivateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ActivateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ActivateUserCommand(output, context); } diff --git a/clients/client-workdocs/commands/AddResourcePermissionsCommand.ts b/clients/client-workdocs/commands/AddResourcePermissionsCommand.ts index 53753acc2546..080aa5dd8ac9 100644 --- a/clients/client-workdocs/commands/AddResourcePermissionsCommand.ts +++ b/clients/client-workdocs/commands/AddResourcePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AddResourcePermissionsCommandInput = AddResourcePermissionsRequest; @@ -70,7 +70,7 @@ export class AddResourcePermissionsCommand extends $Command< private serialize( input: AddResourcePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AddResourcePermissionsCommand( input, @@ -80,7 +80,7 @@ export class AddResourcePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AddResourcePermissionsCommand( output, diff --git a/clients/client-workdocs/commands/CreateCommentCommand.ts b/clients/client-workdocs/commands/CreateCommentCommand.ts index b5ed848f92cf..485b2cb9018a 100644 --- a/clients/client-workdocs/commands/CreateCommentCommand.ts +++ b/clients/client-workdocs/commands/CreateCommentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCommentCommandInput = CreateCommentRequest; @@ -64,14 +64,14 @@ export class CreateCommentCommand extends $Command< private serialize( input: CreateCommentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateCommentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateCommentCommand(output, context); } diff --git a/clients/client-workdocs/commands/CreateCustomMetadataCommand.ts b/clients/client-workdocs/commands/CreateCustomMetadataCommand.ts index 7fe04892bbb5..6568c72b8775 100644 --- a/clients/client-workdocs/commands/CreateCustomMetadataCommand.ts +++ b/clients/client-workdocs/commands/CreateCustomMetadataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateCustomMetadataCommandInput = CreateCustomMetadataRequest; @@ -70,14 +70,14 @@ export class CreateCustomMetadataCommand extends $Command< private serialize( input: CreateCustomMetadataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateCustomMetadataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateCustomMetadataCommand( output, diff --git a/clients/client-workdocs/commands/CreateFolderCommand.ts b/clients/client-workdocs/commands/CreateFolderCommand.ts index 1373d7cd9d42..6a91cbe8539f 100644 --- a/clients/client-workdocs/commands/CreateFolderCommand.ts +++ b/clients/client-workdocs/commands/CreateFolderCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFolderCommandInput = CreateFolderRequest; @@ -64,14 +64,14 @@ export class CreateFolderCommand extends $Command< private serialize( input: CreateFolderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFolderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFolderCommand(output, context); } diff --git a/clients/client-workdocs/commands/CreateLabelsCommand.ts b/clients/client-workdocs/commands/CreateLabelsCommand.ts index 9413dd460909..79e6ec1643d1 100644 --- a/clients/client-workdocs/commands/CreateLabelsCommand.ts +++ b/clients/client-workdocs/commands/CreateLabelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateLabelsCommandInput = CreateLabelsRequest; @@ -64,14 +64,14 @@ export class CreateLabelsCommand extends $Command< private serialize( input: CreateLabelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateLabelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateLabelsCommand(output, context); } diff --git a/clients/client-workdocs/commands/CreateNotificationSubscriptionCommand.ts b/clients/client-workdocs/commands/CreateNotificationSubscriptionCommand.ts index 1021ee8b1fa5..9f2d84aa4478 100644 --- a/clients/client-workdocs/commands/CreateNotificationSubscriptionCommand.ts +++ b/clients/client-workdocs/commands/CreateNotificationSubscriptionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateNotificationSubscriptionCommandInput = CreateNotificationSubscriptionRequest; @@ -70,7 +70,7 @@ export class CreateNotificationSubscriptionCommand extends $Command< private serialize( input: CreateNotificationSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateNotificationSubscriptionCommand( input, @@ -80,7 +80,7 @@ export class CreateNotificationSubscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateNotificationSubscriptionCommand( output, diff --git a/clients/client-workdocs/commands/CreateUserCommand.ts b/clients/client-workdocs/commands/CreateUserCommand.ts index 7e994fbf449e..75f1aeaec601 100644 --- a/clients/client-workdocs/commands/CreateUserCommand.ts +++ b/clients/client-workdocs/commands/CreateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserCommandInput = CreateUserRequest; @@ -64,14 +64,14 @@ export class CreateUserCommand extends $Command< private serialize( input: CreateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateUserCommand(output, context); } diff --git a/clients/client-workdocs/commands/DeactivateUserCommand.ts b/clients/client-workdocs/commands/DeactivateUserCommand.ts index 8e0b48a3b311..498477d67012 100644 --- a/clients/client-workdocs/commands/DeactivateUserCommand.ts +++ b/clients/client-workdocs/commands/DeactivateUserCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeactivateUserCommandInput = DeactivateUserRequest; @@ -65,14 +65,14 @@ export class DeactivateUserCommand extends $Command< private serialize( input: DeactivateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeactivateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeactivateUserCommand(output, context); } diff --git a/clients/client-workdocs/commands/DeleteCommentCommand.ts b/clients/client-workdocs/commands/DeleteCommentCommand.ts index bc1db935f0a7..c307a898dbc2 100644 --- a/clients/client-workdocs/commands/DeleteCommentCommand.ts +++ b/clients/client-workdocs/commands/DeleteCommentCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCommentCommandInput = DeleteCommentRequest; @@ -65,14 +65,14 @@ export class DeleteCommentCommand extends $Command< private serialize( input: DeleteCommentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteCommentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteCommentCommand(output, context); } diff --git a/clients/client-workdocs/commands/DeleteCustomMetadataCommand.ts b/clients/client-workdocs/commands/DeleteCustomMetadataCommand.ts index 81591334ea27..4bbce1231b1c 100644 --- a/clients/client-workdocs/commands/DeleteCustomMetadataCommand.ts +++ b/clients/client-workdocs/commands/DeleteCustomMetadataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteCustomMetadataCommandInput = DeleteCustomMetadataRequest; @@ -70,14 +70,14 @@ export class DeleteCustomMetadataCommand extends $Command< private serialize( input: DeleteCustomMetadataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteCustomMetadataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteCustomMetadataCommand( output, diff --git a/clients/client-workdocs/commands/DeleteDocumentCommand.ts b/clients/client-workdocs/commands/DeleteDocumentCommand.ts index b695bace0b90..20a16ae461d8 100644 --- a/clients/client-workdocs/commands/DeleteDocumentCommand.ts +++ b/clients/client-workdocs/commands/DeleteDocumentCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteDocumentCommandInput = DeleteDocumentRequest; @@ -65,14 +65,14 @@ export class DeleteDocumentCommand extends $Command< private serialize( input: DeleteDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteDocumentCommand(output, context); } diff --git a/clients/client-workdocs/commands/DeleteFolderCommand.ts b/clients/client-workdocs/commands/DeleteFolderCommand.ts index 5b19929d7d7c..a14fffcaa981 100644 --- a/clients/client-workdocs/commands/DeleteFolderCommand.ts +++ b/clients/client-workdocs/commands/DeleteFolderCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFolderCommandInput = DeleteFolderRequest; @@ -65,14 +65,14 @@ export class DeleteFolderCommand extends $Command< private serialize( input: DeleteFolderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFolderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFolderCommand(output, context); } diff --git a/clients/client-workdocs/commands/DeleteFolderContentsCommand.ts b/clients/client-workdocs/commands/DeleteFolderContentsCommand.ts index 6609945eb780..0a7761a0cd39 100644 --- a/clients/client-workdocs/commands/DeleteFolderContentsCommand.ts +++ b/clients/client-workdocs/commands/DeleteFolderContentsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFolderContentsCommandInput = DeleteFolderContentsRequest; @@ -68,14 +68,14 @@ export class DeleteFolderContentsCommand extends $Command< private serialize( input: DeleteFolderContentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFolderContentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFolderContentsCommand( output, diff --git a/clients/client-workdocs/commands/DeleteLabelsCommand.ts b/clients/client-workdocs/commands/DeleteLabelsCommand.ts index aef13d51d969..ab019a94ee73 100644 --- a/clients/client-workdocs/commands/DeleteLabelsCommand.ts +++ b/clients/client-workdocs/commands/DeleteLabelsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteLabelsCommandInput = DeleteLabelsRequest; @@ -64,14 +64,14 @@ export class DeleteLabelsCommand extends $Command< private serialize( input: DeleteLabelsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteLabelsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteLabelsCommand(output, context); } diff --git a/clients/client-workdocs/commands/DeleteNotificationSubscriptionCommand.ts b/clients/client-workdocs/commands/DeleteNotificationSubscriptionCommand.ts index b399cf6265c3..240db9fa3a9d 100644 --- a/clients/client-workdocs/commands/DeleteNotificationSubscriptionCommand.ts +++ b/clients/client-workdocs/commands/DeleteNotificationSubscriptionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteNotificationSubscriptionCommandInput = DeleteNotificationSubscriptionRequest; @@ -68,7 +68,7 @@ export class DeleteNotificationSubscriptionCommand extends $Command< private serialize( input: DeleteNotificationSubscriptionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteNotificationSubscriptionCommand( input, @@ -78,7 +78,7 @@ export class DeleteNotificationSubscriptionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteNotificationSubscriptionCommand( output, diff --git a/clients/client-workdocs/commands/DeleteUserCommand.ts b/clients/client-workdocs/commands/DeleteUserCommand.ts index 41d9fed0f950..726c8e88ce01 100644 --- a/clients/client-workdocs/commands/DeleteUserCommand.ts +++ b/clients/client-workdocs/commands/DeleteUserCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserCommandInput = DeleteUserRequest; @@ -65,14 +65,14 @@ export class DeleteUserCommand extends $Command< private serialize( input: DeleteUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteUserCommand(output, context); } diff --git a/clients/client-workdocs/commands/DescribeActivitiesCommand.ts b/clients/client-workdocs/commands/DescribeActivitiesCommand.ts index ca106ea233b0..ceabc60aa476 100644 --- a/clients/client-workdocs/commands/DescribeActivitiesCommand.ts +++ b/clients/client-workdocs/commands/DescribeActivitiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeActivitiesCommandInput = DescribeActivitiesRequest; @@ -67,14 +67,14 @@ export class DescribeActivitiesCommand extends $Command< private serialize( input: DescribeActivitiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeActivitiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeActivitiesCommand(output, context); } diff --git a/clients/client-workdocs/commands/DescribeCommentsCommand.ts b/clients/client-workdocs/commands/DescribeCommentsCommand.ts index a6e3a8c02fc3..1aba91cebc18 100644 --- a/clients/client-workdocs/commands/DescribeCommentsCommand.ts +++ b/clients/client-workdocs/commands/DescribeCommentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCommentsCommandInput = DescribeCommentsRequest; @@ -67,14 +67,14 @@ export class DescribeCommentsCommand extends $Command< private serialize( input: DescribeCommentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeCommentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeCommentsCommand(output, context); } diff --git a/clients/client-workdocs/commands/DescribeDocumentVersionsCommand.ts b/clients/client-workdocs/commands/DescribeDocumentVersionsCommand.ts index 3dd8d9f3e1de..a16c3efb4233 100644 --- a/clients/client-workdocs/commands/DescribeDocumentVersionsCommand.ts +++ b/clients/client-workdocs/commands/DescribeDocumentVersionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDocumentVersionsCommandInput = DescribeDocumentVersionsRequest; @@ -70,7 +70,7 @@ export class DescribeDocumentVersionsCommand extends $Command< private serialize( input: DescribeDocumentVersionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDocumentVersionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeDocumentVersionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDocumentVersionsCommand( output, diff --git a/clients/client-workdocs/commands/DescribeFolderContentsCommand.ts b/clients/client-workdocs/commands/DescribeFolderContentsCommand.ts index 6835ee24063a..056b73a7f319 100644 --- a/clients/client-workdocs/commands/DescribeFolderContentsCommand.ts +++ b/clients/client-workdocs/commands/DescribeFolderContentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFolderContentsCommandInput = DescribeFolderContentsRequest; @@ -70,7 +70,7 @@ export class DescribeFolderContentsCommand extends $Command< private serialize( input: DescribeFolderContentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeFolderContentsCommand( input, @@ -80,7 +80,7 @@ export class DescribeFolderContentsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeFolderContentsCommand( output, diff --git a/clients/client-workdocs/commands/DescribeGroupsCommand.ts b/clients/client-workdocs/commands/DescribeGroupsCommand.ts index ffc44d723541..b360e27c7487 100644 --- a/clients/client-workdocs/commands/DescribeGroupsCommand.ts +++ b/clients/client-workdocs/commands/DescribeGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGroupsCommandInput = DescribeGroupsRequest; @@ -64,14 +64,14 @@ export class DescribeGroupsCommand extends $Command< private serialize( input: DescribeGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeGroupsCommand(output, context); } diff --git a/clients/client-workdocs/commands/DescribeNotificationSubscriptionsCommand.ts b/clients/client-workdocs/commands/DescribeNotificationSubscriptionsCommand.ts index 758b7b99b84c..8903ff361563 100644 --- a/clients/client-workdocs/commands/DescribeNotificationSubscriptionsCommand.ts +++ b/clients/client-workdocs/commands/DescribeNotificationSubscriptionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeNotificationSubscriptionsCommandInput = DescribeNotificationSubscriptionsRequest; @@ -70,7 +70,7 @@ export class DescribeNotificationSubscriptionsCommand extends $Command< private serialize( input: DescribeNotificationSubscriptionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeNotificationSubscriptionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeNotificationSubscriptionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeNotificationSubscriptionsCommand( output, diff --git a/clients/client-workdocs/commands/DescribeResourcePermissionsCommand.ts b/clients/client-workdocs/commands/DescribeResourcePermissionsCommand.ts index fa8a733ccffe..24c4dd507f81 100644 --- a/clients/client-workdocs/commands/DescribeResourcePermissionsCommand.ts +++ b/clients/client-workdocs/commands/DescribeResourcePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeResourcePermissionsCommandInput = DescribeResourcePermissionsRequest; @@ -70,7 +70,7 @@ export class DescribeResourcePermissionsCommand extends $Command< private serialize( input: DescribeResourcePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeResourcePermissionsCommand( input, @@ -80,7 +80,7 @@ export class DescribeResourcePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeResourcePermissionsCommand( output, diff --git a/clients/client-workdocs/commands/DescribeRootFoldersCommand.ts b/clients/client-workdocs/commands/DescribeRootFoldersCommand.ts index 182dd4d0dd31..7921b16db416 100644 --- a/clients/client-workdocs/commands/DescribeRootFoldersCommand.ts +++ b/clients/client-workdocs/commands/DescribeRootFoldersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeRootFoldersCommandInput = DescribeRootFoldersRequest; @@ -70,14 +70,14 @@ export class DescribeRootFoldersCommand extends $Command< private serialize( input: DescribeRootFoldersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeRootFoldersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeRootFoldersCommand( output, diff --git a/clients/client-workdocs/commands/DescribeUsersCommand.ts b/clients/client-workdocs/commands/DescribeUsersCommand.ts index bd433ec9a95c..fff2da61d047 100644 --- a/clients/client-workdocs/commands/DescribeUsersCommand.ts +++ b/clients/client-workdocs/commands/DescribeUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUsersCommandInput = DescribeUsersRequest; @@ -64,14 +64,14 @@ export class DescribeUsersCommand extends $Command< private serialize( input: DescribeUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeUsersCommand(output, context); } diff --git a/clients/client-workdocs/commands/GetCurrentUserCommand.ts b/clients/client-workdocs/commands/GetCurrentUserCommand.ts index 7bd7d16e2f90..53c906590418 100644 --- a/clients/client-workdocs/commands/GetCurrentUserCommand.ts +++ b/clients/client-workdocs/commands/GetCurrentUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetCurrentUserCommandInput = GetCurrentUserRequest; @@ -64,14 +64,14 @@ export class GetCurrentUserCommand extends $Command< private serialize( input: GetCurrentUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetCurrentUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetCurrentUserCommand(output, context); } diff --git a/clients/client-workdocs/commands/GetDocumentCommand.ts b/clients/client-workdocs/commands/GetDocumentCommand.ts index 3e867a18b5cb..b071ef2be248 100644 --- a/clients/client-workdocs/commands/GetDocumentCommand.ts +++ b/clients/client-workdocs/commands/GetDocumentCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDocumentCommandInput = GetDocumentRequest; @@ -64,14 +64,14 @@ export class GetDocumentCommand extends $Command< private serialize( input: GetDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDocumentCommand(output, context); } diff --git a/clients/client-workdocs/commands/GetDocumentPathCommand.ts b/clients/client-workdocs/commands/GetDocumentPathCommand.ts index c1423f3c7b1c..d5640da115bf 100644 --- a/clients/client-workdocs/commands/GetDocumentPathCommand.ts +++ b/clients/client-workdocs/commands/GetDocumentPathCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDocumentPathCommandInput = GetDocumentPathRequest; @@ -67,14 +67,14 @@ export class GetDocumentPathCommand extends $Command< private serialize( input: GetDocumentPathCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDocumentPathCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDocumentPathCommand(output, context); } diff --git a/clients/client-workdocs/commands/GetDocumentVersionCommand.ts b/clients/client-workdocs/commands/GetDocumentVersionCommand.ts index 501c73943610..1202f4ca0ed9 100644 --- a/clients/client-workdocs/commands/GetDocumentVersionCommand.ts +++ b/clients/client-workdocs/commands/GetDocumentVersionCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetDocumentVersionCommandInput = GetDocumentVersionRequest; @@ -67,14 +67,14 @@ export class GetDocumentVersionCommand extends $Command< private serialize( input: GetDocumentVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetDocumentVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetDocumentVersionCommand(output, context); } diff --git a/clients/client-workdocs/commands/GetFolderCommand.ts b/clients/client-workdocs/commands/GetFolderCommand.ts index 81c4a61c2303..bfd686243cb3 100644 --- a/clients/client-workdocs/commands/GetFolderCommand.ts +++ b/clients/client-workdocs/commands/GetFolderCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFolderCommandInput = GetFolderRequest; @@ -64,14 +64,14 @@ export class GetFolderCommand extends $Command< private serialize( input: GetFolderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFolderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFolderCommand(output, context); } diff --git a/clients/client-workdocs/commands/GetFolderPathCommand.ts b/clients/client-workdocs/commands/GetFolderPathCommand.ts index d9678ce56cc3..b55942c1254e 100644 --- a/clients/client-workdocs/commands/GetFolderPathCommand.ts +++ b/clients/client-workdocs/commands/GetFolderPathCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetFolderPathCommandInput = GetFolderPathRequest; @@ -64,14 +64,14 @@ export class GetFolderPathCommand extends $Command< private serialize( input: GetFolderPathCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetFolderPathCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetFolderPathCommand(output, context); } diff --git a/clients/client-workdocs/commands/GetResourcesCommand.ts b/clients/client-workdocs/commands/GetResourcesCommand.ts index 00f528cc675a..ea8028ea311d 100644 --- a/clients/client-workdocs/commands/GetResourcesCommand.ts +++ b/clients/client-workdocs/commands/GetResourcesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetResourcesCommandInput = GetResourcesRequest; @@ -64,14 +64,14 @@ export class GetResourcesCommand extends $Command< private serialize( input: GetResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetResourcesCommand(output, context); } diff --git a/clients/client-workdocs/commands/InitiateDocumentVersionUploadCommand.ts b/clients/client-workdocs/commands/InitiateDocumentVersionUploadCommand.ts index 3a8b01aaa3ec..7d4706039fbc 100644 --- a/clients/client-workdocs/commands/InitiateDocumentVersionUploadCommand.ts +++ b/clients/client-workdocs/commands/InitiateDocumentVersionUploadCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type InitiateDocumentVersionUploadCommandInput = InitiateDocumentVersionUploadRequest; @@ -70,7 +70,7 @@ export class InitiateDocumentVersionUploadCommand extends $Command< private serialize( input: InitiateDocumentVersionUploadCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1InitiateDocumentVersionUploadCommand( input, @@ -80,7 +80,7 @@ export class InitiateDocumentVersionUploadCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1InitiateDocumentVersionUploadCommand( output, diff --git a/clients/client-workdocs/commands/RemoveAllResourcePermissionsCommand.ts b/clients/client-workdocs/commands/RemoveAllResourcePermissionsCommand.ts index e9ba6249bfc4..dd0ba6d9df39 100644 --- a/clients/client-workdocs/commands/RemoveAllResourcePermissionsCommand.ts +++ b/clients/client-workdocs/commands/RemoveAllResourcePermissionsCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveAllResourcePermissionsCommandInput = RemoveAllResourcePermissionsRequest; @@ -68,7 +68,7 @@ export class RemoveAllResourcePermissionsCommand extends $Command< private serialize( input: RemoveAllResourcePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RemoveAllResourcePermissionsCommand( input, @@ -78,7 +78,7 @@ export class RemoveAllResourcePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RemoveAllResourcePermissionsCommand( output, diff --git a/clients/client-workdocs/commands/RemoveResourcePermissionCommand.ts b/clients/client-workdocs/commands/RemoveResourcePermissionCommand.ts index be7794a18c1e..d3154dc99a43 100644 --- a/clients/client-workdocs/commands/RemoveResourcePermissionCommand.ts +++ b/clients/client-workdocs/commands/RemoveResourcePermissionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RemoveResourcePermissionCommandInput = RemoveResourcePermissionRequest; @@ -68,7 +68,7 @@ export class RemoveResourcePermissionCommand extends $Command< private serialize( input: RemoveResourcePermissionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RemoveResourcePermissionCommand( input, @@ -78,7 +78,7 @@ export class RemoveResourcePermissionCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RemoveResourcePermissionCommand( output, diff --git a/clients/client-workdocs/commands/UpdateDocumentCommand.ts b/clients/client-workdocs/commands/UpdateDocumentCommand.ts index 6f94f23419d1..715922f6b847 100644 --- a/clients/client-workdocs/commands/UpdateDocumentCommand.ts +++ b/clients/client-workdocs/commands/UpdateDocumentCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDocumentCommandInput = UpdateDocumentRequest; @@ -65,14 +65,14 @@ export class UpdateDocumentCommand extends $Command< private serialize( input: UpdateDocumentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDocumentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDocumentCommand(output, context); } diff --git a/clients/client-workdocs/commands/UpdateDocumentVersionCommand.ts b/clients/client-workdocs/commands/UpdateDocumentVersionCommand.ts index 3762917573c8..ff21f743535d 100644 --- a/clients/client-workdocs/commands/UpdateDocumentVersionCommand.ts +++ b/clients/client-workdocs/commands/UpdateDocumentVersionCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDocumentVersionCommandInput = UpdateDocumentVersionRequest; @@ -68,14 +68,14 @@ export class UpdateDocumentVersionCommand extends $Command< private serialize( input: UpdateDocumentVersionCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDocumentVersionCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDocumentVersionCommand( output, diff --git a/clients/client-workdocs/commands/UpdateFolderCommand.ts b/clients/client-workdocs/commands/UpdateFolderCommand.ts index 83e4524a0663..2a3163d8032b 100644 --- a/clients/client-workdocs/commands/UpdateFolderCommand.ts +++ b/clients/client-workdocs/commands/UpdateFolderCommand.ts @@ -19,9 +19,9 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer + MetadataBearer as __MetadataBearer, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFolderCommandInput = UpdateFolderRequest; @@ -65,14 +65,14 @@ export class UpdateFolderCommand extends $Command< private serialize( input: UpdateFolderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFolderCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFolderCommand(output, context); } diff --git a/clients/client-workdocs/commands/UpdateUserCommand.ts b/clients/client-workdocs/commands/UpdateUserCommand.ts index fa54a09c6361..ad602f548a30 100644 --- a/clients/client-workdocs/commands/UpdateUserCommand.ts +++ b/clients/client-workdocs/commands/UpdateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateUserCommandInput = UpdateUserRequest; @@ -64,14 +64,14 @@ export class UpdateUserCommand extends $Command< private serialize( input: UpdateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateUserCommand(output, context); } diff --git a/clients/client-workdocs/protocols/Aws_restJson1_1.ts b/clients/client-workdocs/protocols/Aws_restJson1_1.ts index 2eba6aa64897..b9bd6c36cdaa 100644 --- a/clients/client-workdocs/protocols/Aws_restJson1_1.ts +++ b/clients/client-workdocs/protocols/Aws_restJson1_1.ts @@ -7308,6 +7308,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-worklink/commands/AssociateDomainCommand.ts b/clients/client-worklink/commands/AssociateDomainCommand.ts index 0383e97d438b..4064f2b23340 100644 --- a/clients/client-worklink/commands/AssociateDomainCommand.ts +++ b/clients/client-worklink/commands/AssociateDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateDomainCommandInput = AssociateDomainRequest; @@ -67,14 +67,14 @@ export class AssociateDomainCommand extends $Command< private serialize( input: AssociateDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateDomainCommand(output, context); } diff --git a/clients/client-worklink/commands/AssociateWebsiteAuthorizationProviderCommand.ts b/clients/client-worklink/commands/AssociateWebsiteAuthorizationProviderCommand.ts index bd21ebb8fa2a..1d89d2eb5a3b 100644 --- a/clients/client-worklink/commands/AssociateWebsiteAuthorizationProviderCommand.ts +++ b/clients/client-worklink/commands/AssociateWebsiteAuthorizationProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateWebsiteAuthorizationProviderCommandInput = AssociateWebsiteAuthorizationProviderRequest; @@ -72,7 +72,7 @@ export class AssociateWebsiteAuthorizationProviderCommand extends $Command< private serialize( input: AssociateWebsiteAuthorizationProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateWebsiteAuthorizationProviderCommand( input, @@ -82,7 +82,7 @@ export class AssociateWebsiteAuthorizationProviderCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateWebsiteAuthorizationProviderCommand( output, diff --git a/clients/client-worklink/commands/AssociateWebsiteCertificateAuthorityCommand.ts b/clients/client-worklink/commands/AssociateWebsiteCertificateAuthorityCommand.ts index 49dfaa0a5350..9d8648991352 100644 --- a/clients/client-worklink/commands/AssociateWebsiteCertificateAuthorityCommand.ts +++ b/clients/client-worklink/commands/AssociateWebsiteCertificateAuthorityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateWebsiteCertificateAuthorityCommandInput = AssociateWebsiteCertificateAuthorityRequest; @@ -72,7 +72,7 @@ export class AssociateWebsiteCertificateAuthorityCommand extends $Command< private serialize( input: AssociateWebsiteCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1AssociateWebsiteCertificateAuthorityCommand( input, @@ -82,7 +82,7 @@ export class AssociateWebsiteCertificateAuthorityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1AssociateWebsiteCertificateAuthorityCommand( output, diff --git a/clients/client-worklink/commands/CreateFleetCommand.ts b/clients/client-worklink/commands/CreateFleetCommand.ts index 2f8d51b4abc9..69ec9621c883 100644 --- a/clients/client-worklink/commands/CreateFleetCommand.ts +++ b/clients/client-worklink/commands/CreateFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateFleetCommandInput = CreateFleetRequest; @@ -64,14 +64,14 @@ export class CreateFleetCommand extends $Command< private serialize( input: CreateFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateFleetCommand(output, context); } diff --git a/clients/client-worklink/commands/DeleteFleetCommand.ts b/clients/client-worklink/commands/DeleteFleetCommand.ts index 7bdd74f3b882..467185bf9c69 100644 --- a/clients/client-worklink/commands/DeleteFleetCommand.ts +++ b/clients/client-worklink/commands/DeleteFleetCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteFleetCommandInput = DeleteFleetRequest; @@ -64,14 +64,14 @@ export class DeleteFleetCommand extends $Command< private serialize( input: DeleteFleetCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteFleetCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteFleetCommand(output, context); } diff --git a/clients/client-worklink/commands/DescribeAuditStreamConfigurationCommand.ts b/clients/client-worklink/commands/DescribeAuditStreamConfigurationCommand.ts index 3553f226c666..eb0f46695f72 100644 --- a/clients/client-worklink/commands/DescribeAuditStreamConfigurationCommand.ts +++ b/clients/client-worklink/commands/DescribeAuditStreamConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAuditStreamConfigurationCommandInput = DescribeAuditStreamConfigurationRequest; @@ -70,7 +70,7 @@ export class DescribeAuditStreamConfigurationCommand extends $Command< private serialize( input: DescribeAuditStreamConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeAuditStreamConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DescribeAuditStreamConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeAuditStreamConfigurationCommand( output, diff --git a/clients/client-worklink/commands/DescribeCompanyNetworkConfigurationCommand.ts b/clients/client-worklink/commands/DescribeCompanyNetworkConfigurationCommand.ts index 2fae8b12741d..6925d86ec8b3 100644 --- a/clients/client-worklink/commands/DescribeCompanyNetworkConfigurationCommand.ts +++ b/clients/client-worklink/commands/DescribeCompanyNetworkConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeCompanyNetworkConfigurationCommandInput = DescribeCompanyNetworkConfigurationRequest; @@ -70,7 +70,7 @@ export class DescribeCompanyNetworkConfigurationCommand extends $Command< private serialize( input: DescribeCompanyNetworkConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeCompanyNetworkConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DescribeCompanyNetworkConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeCompanyNetworkConfigurationCommand( output, diff --git a/clients/client-worklink/commands/DescribeDeviceCommand.ts b/clients/client-worklink/commands/DescribeDeviceCommand.ts index ea938ca45326..c40c23a97369 100644 --- a/clients/client-worklink/commands/DescribeDeviceCommand.ts +++ b/clients/client-worklink/commands/DescribeDeviceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDeviceCommandInput = DescribeDeviceRequest; @@ -64,14 +64,14 @@ export class DescribeDeviceCommand extends $Command< private serialize( input: DescribeDeviceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDeviceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDeviceCommand(output, context); } diff --git a/clients/client-worklink/commands/DescribeDevicePolicyConfigurationCommand.ts b/clients/client-worklink/commands/DescribeDevicePolicyConfigurationCommand.ts index aaec6164ce5a..3fdc7048b49f 100644 --- a/clients/client-worklink/commands/DescribeDevicePolicyConfigurationCommand.ts +++ b/clients/client-worklink/commands/DescribeDevicePolicyConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDevicePolicyConfigurationCommandInput = DescribeDevicePolicyConfigurationRequest; @@ -70,7 +70,7 @@ export class DescribeDevicePolicyConfigurationCommand extends $Command< private serialize( input: DescribeDevicePolicyConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDevicePolicyConfigurationCommand( input, @@ -80,7 +80,7 @@ export class DescribeDevicePolicyConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDevicePolicyConfigurationCommand( output, diff --git a/clients/client-worklink/commands/DescribeDomainCommand.ts b/clients/client-worklink/commands/DescribeDomainCommand.ts index 722f7f35b82f..5f8311c059f5 100644 --- a/clients/client-worklink/commands/DescribeDomainCommand.ts +++ b/clients/client-worklink/commands/DescribeDomainCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeDomainCommandInput = DescribeDomainRequest; @@ -64,14 +64,14 @@ export class DescribeDomainCommand extends $Command< private serialize( input: DescribeDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeDomainCommand(output, context); } diff --git a/clients/client-worklink/commands/DescribeFleetMetadataCommand.ts b/clients/client-worklink/commands/DescribeFleetMetadataCommand.ts index a5e90e7065ce..21139a50aec4 100644 --- a/clients/client-worklink/commands/DescribeFleetMetadataCommand.ts +++ b/clients/client-worklink/commands/DescribeFleetMetadataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeFleetMetadataCommandInput = DescribeFleetMetadataRequest; @@ -70,14 +70,14 @@ export class DescribeFleetMetadataCommand extends $Command< private serialize( input: DescribeFleetMetadataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeFleetMetadataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeFleetMetadataCommand( output, diff --git a/clients/client-worklink/commands/DescribeIdentityProviderConfigurationCommand.ts b/clients/client-worklink/commands/DescribeIdentityProviderConfigurationCommand.ts index c42ce197bcfb..2adde652fba1 100644 --- a/clients/client-worklink/commands/DescribeIdentityProviderConfigurationCommand.ts +++ b/clients/client-worklink/commands/DescribeIdentityProviderConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIdentityProviderConfigurationCommandInput = DescribeIdentityProviderConfigurationRequest; @@ -72,7 +72,7 @@ export class DescribeIdentityProviderConfigurationCommand extends $Command< private serialize( input: DescribeIdentityProviderConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeIdentityProviderConfigurationCommand( input, @@ -82,7 +82,7 @@ export class DescribeIdentityProviderConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeIdentityProviderConfigurationCommand( output, diff --git a/clients/client-worklink/commands/DescribeWebsiteCertificateAuthorityCommand.ts b/clients/client-worklink/commands/DescribeWebsiteCertificateAuthorityCommand.ts index 573bb70213a2..9526ce4872c4 100644 --- a/clients/client-worklink/commands/DescribeWebsiteCertificateAuthorityCommand.ts +++ b/clients/client-worklink/commands/DescribeWebsiteCertificateAuthorityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWebsiteCertificateAuthorityCommandInput = DescribeWebsiteCertificateAuthorityRequest; @@ -70,7 +70,7 @@ export class DescribeWebsiteCertificateAuthorityCommand extends $Command< private serialize( input: DescribeWebsiteCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DescribeWebsiteCertificateAuthorityCommand( input, @@ -80,7 +80,7 @@ export class DescribeWebsiteCertificateAuthorityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DescribeWebsiteCertificateAuthorityCommand( output, diff --git a/clients/client-worklink/commands/DisassociateDomainCommand.ts b/clients/client-worklink/commands/DisassociateDomainCommand.ts index 12fd977bfbfa..7414160481ad 100644 --- a/clients/client-worklink/commands/DisassociateDomainCommand.ts +++ b/clients/client-worklink/commands/DisassociateDomainCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateDomainCommandInput = DisassociateDomainRequest; @@ -67,14 +67,14 @@ export class DisassociateDomainCommand extends $Command< private serialize( input: DisassociateDomainCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateDomainCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateDomainCommand(output, context); } diff --git a/clients/client-worklink/commands/DisassociateWebsiteAuthorizationProviderCommand.ts b/clients/client-worklink/commands/DisassociateWebsiteAuthorizationProviderCommand.ts index b3f8e053267f..3db5f579c066 100644 --- a/clients/client-worklink/commands/DisassociateWebsiteAuthorizationProviderCommand.ts +++ b/clients/client-worklink/commands/DisassociateWebsiteAuthorizationProviderCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateWebsiteAuthorizationProviderCommandInput = DisassociateWebsiteAuthorizationProviderRequest; @@ -72,7 +72,7 @@ export class DisassociateWebsiteAuthorizationProviderCommand extends $Command< private serialize( input: DisassociateWebsiteAuthorizationProviderCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateWebsiteAuthorizationProviderCommand( input, @@ -82,7 +82,7 @@ export class DisassociateWebsiteAuthorizationProviderCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateWebsiteAuthorizationProviderCommand( output, diff --git a/clients/client-worklink/commands/DisassociateWebsiteCertificateAuthorityCommand.ts b/clients/client-worklink/commands/DisassociateWebsiteCertificateAuthorityCommand.ts index af985e3dcb69..e84cb8f55748 100644 --- a/clients/client-worklink/commands/DisassociateWebsiteCertificateAuthorityCommand.ts +++ b/clients/client-worklink/commands/DisassociateWebsiteCertificateAuthorityCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateWebsiteCertificateAuthorityCommandInput = DisassociateWebsiteCertificateAuthorityRequest; @@ -72,7 +72,7 @@ export class DisassociateWebsiteCertificateAuthorityCommand extends $Command< private serialize( input: DisassociateWebsiteCertificateAuthorityCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DisassociateWebsiteCertificateAuthorityCommand( input, @@ -82,7 +82,7 @@ export class DisassociateWebsiteCertificateAuthorityCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DisassociateWebsiteCertificateAuthorityCommand( output, diff --git a/clients/client-worklink/commands/ListDevicesCommand.ts b/clients/client-worklink/commands/ListDevicesCommand.ts index 25dee68eba93..f37aad67808a 100644 --- a/clients/client-worklink/commands/ListDevicesCommand.ts +++ b/clients/client-worklink/commands/ListDevicesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDevicesCommandInput = ListDevicesRequest; @@ -64,14 +64,14 @@ export class ListDevicesCommand extends $Command< private serialize( input: ListDevicesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDevicesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDevicesCommand(output, context); } diff --git a/clients/client-worklink/commands/ListDomainsCommand.ts b/clients/client-worklink/commands/ListDomainsCommand.ts index 64e56811e02d..e9c3a8387f11 100644 --- a/clients/client-worklink/commands/ListDomainsCommand.ts +++ b/clients/client-worklink/commands/ListDomainsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListDomainsCommandInput = ListDomainsRequest; @@ -64,14 +64,14 @@ export class ListDomainsCommand extends $Command< private serialize( input: ListDomainsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListDomainsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListDomainsCommand(output, context); } diff --git a/clients/client-worklink/commands/ListFleetsCommand.ts b/clients/client-worklink/commands/ListFleetsCommand.ts index c16418d02d2e..8bebecb3fe56 100644 --- a/clients/client-worklink/commands/ListFleetsCommand.ts +++ b/clients/client-worklink/commands/ListFleetsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListFleetsCommandInput = ListFleetsRequest; @@ -64,14 +64,14 @@ export class ListFleetsCommand extends $Command< private serialize( input: ListFleetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListFleetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListFleetsCommand(output, context); } diff --git a/clients/client-worklink/commands/ListWebsiteAuthorizationProvidersCommand.ts b/clients/client-worklink/commands/ListWebsiteAuthorizationProvidersCommand.ts index 388e862b97f6..b663bb03da73 100644 --- a/clients/client-worklink/commands/ListWebsiteAuthorizationProvidersCommand.ts +++ b/clients/client-worklink/commands/ListWebsiteAuthorizationProvidersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWebsiteAuthorizationProvidersCommandInput = ListWebsiteAuthorizationProvidersRequest; @@ -70,7 +70,7 @@ export class ListWebsiteAuthorizationProvidersCommand extends $Command< private serialize( input: ListWebsiteAuthorizationProvidersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListWebsiteAuthorizationProvidersCommand( input, @@ -80,7 +80,7 @@ export class ListWebsiteAuthorizationProvidersCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListWebsiteAuthorizationProvidersCommand( output, diff --git a/clients/client-worklink/commands/ListWebsiteCertificateAuthoritiesCommand.ts b/clients/client-worklink/commands/ListWebsiteCertificateAuthoritiesCommand.ts index 44a2f76c7896..d6441200f092 100644 --- a/clients/client-worklink/commands/ListWebsiteCertificateAuthoritiesCommand.ts +++ b/clients/client-worklink/commands/ListWebsiteCertificateAuthoritiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListWebsiteCertificateAuthoritiesCommandInput = ListWebsiteCertificateAuthoritiesRequest; @@ -70,7 +70,7 @@ export class ListWebsiteCertificateAuthoritiesCommand extends $Command< private serialize( input: ListWebsiteCertificateAuthoritiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1ListWebsiteCertificateAuthoritiesCommand( input, @@ -80,7 +80,7 @@ export class ListWebsiteCertificateAuthoritiesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1ListWebsiteCertificateAuthoritiesCommand( output, diff --git a/clients/client-worklink/commands/RestoreDomainAccessCommand.ts b/clients/client-worklink/commands/RestoreDomainAccessCommand.ts index a108ecb75890..6a5bec8d1a0b 100644 --- a/clients/client-worklink/commands/RestoreDomainAccessCommand.ts +++ b/clients/client-worklink/commands/RestoreDomainAccessCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreDomainAccessCommandInput = RestoreDomainAccessRequest; @@ -70,14 +70,14 @@ export class RestoreDomainAccessCommand extends $Command< private serialize( input: RestoreDomainAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RestoreDomainAccessCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RestoreDomainAccessCommand( output, diff --git a/clients/client-worklink/commands/RevokeDomainAccessCommand.ts b/clients/client-worklink/commands/RevokeDomainAccessCommand.ts index a1d8725d72cd..f951321699eb 100644 --- a/clients/client-worklink/commands/RevokeDomainAccessCommand.ts +++ b/clients/client-worklink/commands/RevokeDomainAccessCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeDomainAccessCommandInput = RevokeDomainAccessRequest; @@ -67,14 +67,14 @@ export class RevokeDomainAccessCommand extends $Command< private serialize( input: RevokeDomainAccessCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1RevokeDomainAccessCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1RevokeDomainAccessCommand(output, context); } diff --git a/clients/client-worklink/commands/SignOutUserCommand.ts b/clients/client-worklink/commands/SignOutUserCommand.ts index 8c5dfa7fe9eb..4f9118760d13 100644 --- a/clients/client-worklink/commands/SignOutUserCommand.ts +++ b/clients/client-worklink/commands/SignOutUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type SignOutUserCommandInput = SignOutUserRequest; @@ -64,14 +64,14 @@ export class SignOutUserCommand extends $Command< private serialize( input: SignOutUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1SignOutUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1SignOutUserCommand(output, context); } diff --git a/clients/client-worklink/commands/UpdateAuditStreamConfigurationCommand.ts b/clients/client-worklink/commands/UpdateAuditStreamConfigurationCommand.ts index 7f3a13f02245..c82345a1c3de 100644 --- a/clients/client-worklink/commands/UpdateAuditStreamConfigurationCommand.ts +++ b/clients/client-worklink/commands/UpdateAuditStreamConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateAuditStreamConfigurationCommandInput = UpdateAuditStreamConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateAuditStreamConfigurationCommand extends $Command< private serialize( input: UpdateAuditStreamConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateAuditStreamConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateAuditStreamConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateAuditStreamConfigurationCommand( output, diff --git a/clients/client-worklink/commands/UpdateCompanyNetworkConfigurationCommand.ts b/clients/client-worklink/commands/UpdateCompanyNetworkConfigurationCommand.ts index 82f17229a5f5..99d24119d338 100644 --- a/clients/client-worklink/commands/UpdateCompanyNetworkConfigurationCommand.ts +++ b/clients/client-worklink/commands/UpdateCompanyNetworkConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateCompanyNetworkConfigurationCommandInput = UpdateCompanyNetworkConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateCompanyNetworkConfigurationCommand extends $Command< private serialize( input: UpdateCompanyNetworkConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateCompanyNetworkConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateCompanyNetworkConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateCompanyNetworkConfigurationCommand( output, diff --git a/clients/client-worklink/commands/UpdateDevicePolicyConfigurationCommand.ts b/clients/client-worklink/commands/UpdateDevicePolicyConfigurationCommand.ts index 31fe83711394..b8e18e1b4876 100644 --- a/clients/client-worklink/commands/UpdateDevicePolicyConfigurationCommand.ts +++ b/clients/client-worklink/commands/UpdateDevicePolicyConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDevicePolicyConfigurationCommandInput = UpdateDevicePolicyConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateDevicePolicyConfigurationCommand extends $Command< private serialize( input: UpdateDevicePolicyConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDevicePolicyConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateDevicePolicyConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDevicePolicyConfigurationCommand( output, diff --git a/clients/client-worklink/commands/UpdateDomainMetadataCommand.ts b/clients/client-worklink/commands/UpdateDomainMetadataCommand.ts index 1f0478edfc13..5deb1679cf50 100644 --- a/clients/client-worklink/commands/UpdateDomainMetadataCommand.ts +++ b/clients/client-worklink/commands/UpdateDomainMetadataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateDomainMetadataCommandInput = UpdateDomainMetadataRequest; @@ -70,14 +70,14 @@ export class UpdateDomainMetadataCommand extends $Command< private serialize( input: UpdateDomainMetadataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateDomainMetadataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateDomainMetadataCommand( output, diff --git a/clients/client-worklink/commands/UpdateFleetMetadataCommand.ts b/clients/client-worklink/commands/UpdateFleetMetadataCommand.ts index 52e29766655c..02e93acc49b5 100644 --- a/clients/client-worklink/commands/UpdateFleetMetadataCommand.ts +++ b/clients/client-worklink/commands/UpdateFleetMetadataCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateFleetMetadataCommandInput = UpdateFleetMetadataRequest; @@ -70,14 +70,14 @@ export class UpdateFleetMetadataCommand extends $Command< private serialize( input: UpdateFleetMetadataCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateFleetMetadataCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateFleetMetadataCommand( output, diff --git a/clients/client-worklink/commands/UpdateIdentityProviderConfigurationCommand.ts b/clients/client-worklink/commands/UpdateIdentityProviderConfigurationCommand.ts index 339c2a783d22..cf8eb0423f11 100644 --- a/clients/client-worklink/commands/UpdateIdentityProviderConfigurationCommand.ts +++ b/clients/client-worklink/commands/UpdateIdentityProviderConfigurationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateIdentityProviderConfigurationCommandInput = UpdateIdentityProviderConfigurationRequest; @@ -70,7 +70,7 @@ export class UpdateIdentityProviderConfigurationCommand extends $Command< private serialize( input: UpdateIdentityProviderConfigurationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateIdentityProviderConfigurationCommand( input, @@ -80,7 +80,7 @@ export class UpdateIdentityProviderConfigurationCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateIdentityProviderConfigurationCommand( output, diff --git a/clients/client-worklink/protocols/Aws_restJson1_1.ts b/clients/client-worklink/protocols/Aws_restJson1_1.ts index f6c2ac1a3a84..48f55f833bd5 100644 --- a/clients/client-worklink/protocols/Aws_restJson1_1.ts +++ b/clients/client-worklink/protocols/Aws_restJson1_1.ts @@ -3911,6 +3911,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-workmail/commands/AssociateDelegateToResourceCommand.ts b/clients/client-workmail/commands/AssociateDelegateToResourceCommand.ts index 1873b77153fe..22db7a6d8865 100644 --- a/clients/client-workmail/commands/AssociateDelegateToResourceCommand.ts +++ b/clients/client-workmail/commands/AssociateDelegateToResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateDelegateToResourceCommandInput = AssociateDelegateToResourceRequest; @@ -70,7 +70,7 @@ export class AssociateDelegateToResourceCommand extends $Command< private serialize( input: AssociateDelegateToResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateDelegateToResourceCommand( input, @@ -80,7 +80,7 @@ export class AssociateDelegateToResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateDelegateToResourceCommand( output, diff --git a/clients/client-workmail/commands/AssociateMemberToGroupCommand.ts b/clients/client-workmail/commands/AssociateMemberToGroupCommand.ts index d93afbd975db..4cb28d7fbb80 100644 --- a/clients/client-workmail/commands/AssociateMemberToGroupCommand.ts +++ b/clients/client-workmail/commands/AssociateMemberToGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateMemberToGroupCommandInput = AssociateMemberToGroupRequest; @@ -70,14 +70,14 @@ export class AssociateMemberToGroupCommand extends $Command< private serialize( input: AssociateMemberToGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateMemberToGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateMemberToGroupCommand(output, context); } diff --git a/clients/client-workmail/commands/CreateAliasCommand.ts b/clients/client-workmail/commands/CreateAliasCommand.ts index 71c47195d260..32ddce818629 100644 --- a/clients/client-workmail/commands/CreateAliasCommand.ts +++ b/clients/client-workmail/commands/CreateAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateAliasCommandInput = CreateAliasRequest; @@ -64,14 +64,14 @@ export class CreateAliasCommand extends $Command< private serialize( input: CreateAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateAliasCommand(output, context); } diff --git a/clients/client-workmail/commands/CreateGroupCommand.ts b/clients/client-workmail/commands/CreateGroupCommand.ts index b0d853178884..c2bed8b74026 100644 --- a/clients/client-workmail/commands/CreateGroupCommand.ts +++ b/clients/client-workmail/commands/CreateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGroupCommandInput = CreateGroupRequest; @@ -64,14 +64,14 @@ export class CreateGroupCommand extends $Command< private serialize( input: CreateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateGroupCommand(output, context); } diff --git a/clients/client-workmail/commands/CreateResourceCommand.ts b/clients/client-workmail/commands/CreateResourceCommand.ts index 0c6f386ee5a3..7b4b83c64fb6 100644 --- a/clients/client-workmail/commands/CreateResourceCommand.ts +++ b/clients/client-workmail/commands/CreateResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateResourceCommandInput = CreateResourceRequest; @@ -64,14 +64,14 @@ export class CreateResourceCommand extends $Command< private serialize( input: CreateResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateResourceCommand(output, context); } diff --git a/clients/client-workmail/commands/CreateUserCommand.ts b/clients/client-workmail/commands/CreateUserCommand.ts index 6e0e5059c32d..6ac15fd89935 100644 --- a/clients/client-workmail/commands/CreateUserCommand.ts +++ b/clients/client-workmail/commands/CreateUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateUserCommandInput = CreateUserRequest; @@ -64,14 +64,14 @@ export class CreateUserCommand extends $Command< private serialize( input: CreateUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateUserCommand(output, context); } diff --git a/clients/client-workmail/commands/DeleteAliasCommand.ts b/clients/client-workmail/commands/DeleteAliasCommand.ts index d9ad205ab13d..57886e5a72fd 100644 --- a/clients/client-workmail/commands/DeleteAliasCommand.ts +++ b/clients/client-workmail/commands/DeleteAliasCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteAliasCommandInput = DeleteAliasRequest; @@ -64,14 +64,14 @@ export class DeleteAliasCommand extends $Command< private serialize( input: DeleteAliasCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteAliasCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteAliasCommand(output, context); } diff --git a/clients/client-workmail/commands/DeleteGroupCommand.ts b/clients/client-workmail/commands/DeleteGroupCommand.ts index 7eb92ae348ea..5006fd5cbe08 100644 --- a/clients/client-workmail/commands/DeleteGroupCommand.ts +++ b/clients/client-workmail/commands/DeleteGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGroupCommandInput = DeleteGroupRequest; @@ -64,14 +64,14 @@ export class DeleteGroupCommand extends $Command< private serialize( input: DeleteGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteGroupCommand(output, context); } diff --git a/clients/client-workmail/commands/DeleteMailboxPermissionsCommand.ts b/clients/client-workmail/commands/DeleteMailboxPermissionsCommand.ts index 7ac246db492a..a810ef2e2778 100644 --- a/clients/client-workmail/commands/DeleteMailboxPermissionsCommand.ts +++ b/clients/client-workmail/commands/DeleteMailboxPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteMailboxPermissionsCommandInput = DeleteMailboxPermissionsRequest; @@ -70,14 +70,14 @@ export class DeleteMailboxPermissionsCommand extends $Command< private serialize( input: DeleteMailboxPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteMailboxPermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteMailboxPermissionsCommand( output, diff --git a/clients/client-workmail/commands/DeleteResourceCommand.ts b/clients/client-workmail/commands/DeleteResourceCommand.ts index dd7684808e1d..43796ab0dedf 100644 --- a/clients/client-workmail/commands/DeleteResourceCommand.ts +++ b/clients/client-workmail/commands/DeleteResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteResourceCommandInput = DeleteResourceRequest; @@ -64,14 +64,14 @@ export class DeleteResourceCommand extends $Command< private serialize( input: DeleteResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteResourceCommand(output, context); } diff --git a/clients/client-workmail/commands/DeleteUserCommand.ts b/clients/client-workmail/commands/DeleteUserCommand.ts index 7df4254babe2..4bbc8e1ce164 100644 --- a/clients/client-workmail/commands/DeleteUserCommand.ts +++ b/clients/client-workmail/commands/DeleteUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteUserCommandInput = DeleteUserRequest; @@ -64,14 +64,14 @@ export class DeleteUserCommand extends $Command< private serialize( input: DeleteUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteUserCommand(output, context); } diff --git a/clients/client-workmail/commands/DeregisterFromWorkMailCommand.ts b/clients/client-workmail/commands/DeregisterFromWorkMailCommand.ts index 51a9c65d908d..d3060295c63a 100644 --- a/clients/client-workmail/commands/DeregisterFromWorkMailCommand.ts +++ b/clients/client-workmail/commands/DeregisterFromWorkMailCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterFromWorkMailCommandInput = DeregisterFromWorkMailRequest; @@ -70,14 +70,14 @@ export class DeregisterFromWorkMailCommand extends $Command< private serialize( input: DeregisterFromWorkMailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterFromWorkMailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterFromWorkMailCommand(output, context); } diff --git a/clients/client-workmail/commands/DescribeGroupCommand.ts b/clients/client-workmail/commands/DescribeGroupCommand.ts index fbe6cd4c687e..1f97416c7da8 100644 --- a/clients/client-workmail/commands/DescribeGroupCommand.ts +++ b/clients/client-workmail/commands/DescribeGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeGroupCommandInput = DescribeGroupRequest; @@ -64,14 +64,14 @@ export class DescribeGroupCommand extends $Command< private serialize( input: DescribeGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeGroupCommand(output, context); } diff --git a/clients/client-workmail/commands/DescribeOrganizationCommand.ts b/clients/client-workmail/commands/DescribeOrganizationCommand.ts index 94fff3014f9d..22d10884d0c8 100644 --- a/clients/client-workmail/commands/DescribeOrganizationCommand.ts +++ b/clients/client-workmail/commands/DescribeOrganizationCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeOrganizationCommandInput = DescribeOrganizationRequest; @@ -70,14 +70,14 @@ export class DescribeOrganizationCommand extends $Command< private serialize( input: DescribeOrganizationCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeOrganizationCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeOrganizationCommand(output, context); } diff --git a/clients/client-workmail/commands/DescribeResourceCommand.ts b/clients/client-workmail/commands/DescribeResourceCommand.ts index b6b05a5db423..2c76f9e2c726 100644 --- a/clients/client-workmail/commands/DescribeResourceCommand.ts +++ b/clients/client-workmail/commands/DescribeResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeResourceCommandInput = DescribeResourceRequest; @@ -67,14 +67,14 @@ export class DescribeResourceCommand extends $Command< private serialize( input: DescribeResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeResourceCommand(output, context); } diff --git a/clients/client-workmail/commands/DescribeUserCommand.ts b/clients/client-workmail/commands/DescribeUserCommand.ts index 3389e5478ec1..3661bf5e87b4 100644 --- a/clients/client-workmail/commands/DescribeUserCommand.ts +++ b/clients/client-workmail/commands/DescribeUserCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeUserCommandInput = DescribeUserRequest; @@ -64,14 +64,14 @@ export class DescribeUserCommand extends $Command< private serialize( input: DescribeUserCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeUserCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeUserCommand(output, context); } diff --git a/clients/client-workmail/commands/DisassociateDelegateFromResourceCommand.ts b/clients/client-workmail/commands/DisassociateDelegateFromResourceCommand.ts index eecaba83598a..fee24b09a118 100644 --- a/clients/client-workmail/commands/DisassociateDelegateFromResourceCommand.ts +++ b/clients/client-workmail/commands/DisassociateDelegateFromResourceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateDelegateFromResourceCommandInput = DisassociateDelegateFromResourceRequest; @@ -70,7 +70,7 @@ export class DisassociateDelegateFromResourceCommand extends $Command< private serialize( input: DisassociateDelegateFromResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateDelegateFromResourceCommand( input, @@ -80,7 +80,7 @@ export class DisassociateDelegateFromResourceCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateDelegateFromResourceCommand( output, diff --git a/clients/client-workmail/commands/DisassociateMemberFromGroupCommand.ts b/clients/client-workmail/commands/DisassociateMemberFromGroupCommand.ts index d644f9c8d5dc..6b94490ffbe9 100644 --- a/clients/client-workmail/commands/DisassociateMemberFromGroupCommand.ts +++ b/clients/client-workmail/commands/DisassociateMemberFromGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateMemberFromGroupCommandInput = DisassociateMemberFromGroupRequest; @@ -70,7 +70,7 @@ export class DisassociateMemberFromGroupCommand extends $Command< private serialize( input: DisassociateMemberFromGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateMemberFromGroupCommand( input, @@ -80,7 +80,7 @@ export class DisassociateMemberFromGroupCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateMemberFromGroupCommand( output, diff --git a/clients/client-workmail/commands/GetMailboxDetailsCommand.ts b/clients/client-workmail/commands/GetMailboxDetailsCommand.ts index a8b759d5b6a0..bdf5d901cf7d 100644 --- a/clients/client-workmail/commands/GetMailboxDetailsCommand.ts +++ b/clients/client-workmail/commands/GetMailboxDetailsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetMailboxDetailsCommandInput = GetMailboxDetailsRequest; @@ -67,14 +67,14 @@ export class GetMailboxDetailsCommand extends $Command< private serialize( input: GetMailboxDetailsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1GetMailboxDetailsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1GetMailboxDetailsCommand(output, context); } diff --git a/clients/client-workmail/commands/ListAliasesCommand.ts b/clients/client-workmail/commands/ListAliasesCommand.ts index d1a1cd769696..fa8c71d8729e 100644 --- a/clients/client-workmail/commands/ListAliasesCommand.ts +++ b/clients/client-workmail/commands/ListAliasesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAliasesCommandInput = ListAliasesRequest; @@ -64,14 +64,14 @@ export class ListAliasesCommand extends $Command< private serialize( input: ListAliasesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAliasesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAliasesCommand(output, context); } diff --git a/clients/client-workmail/commands/ListGroupMembersCommand.ts b/clients/client-workmail/commands/ListGroupMembersCommand.ts index c838193601c2..15d464e73269 100644 --- a/clients/client-workmail/commands/ListGroupMembersCommand.ts +++ b/clients/client-workmail/commands/ListGroupMembersCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupMembersCommandInput = ListGroupMembersRequest; @@ -67,14 +67,14 @@ export class ListGroupMembersCommand extends $Command< private serialize( input: ListGroupMembersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListGroupMembersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListGroupMembersCommand(output, context); } diff --git a/clients/client-workmail/commands/ListGroupsCommand.ts b/clients/client-workmail/commands/ListGroupsCommand.ts index f089a3427418..e7a3f646f4c5 100644 --- a/clients/client-workmail/commands/ListGroupsCommand.ts +++ b/clients/client-workmail/commands/ListGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListGroupsCommandInput = ListGroupsRequest; @@ -64,14 +64,14 @@ export class ListGroupsCommand extends $Command< private serialize( input: ListGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListGroupsCommand(output, context); } diff --git a/clients/client-workmail/commands/ListMailboxPermissionsCommand.ts b/clients/client-workmail/commands/ListMailboxPermissionsCommand.ts index a973350de085..270f13822cbd 100644 --- a/clients/client-workmail/commands/ListMailboxPermissionsCommand.ts +++ b/clients/client-workmail/commands/ListMailboxPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListMailboxPermissionsCommandInput = ListMailboxPermissionsRequest; @@ -70,14 +70,14 @@ export class ListMailboxPermissionsCommand extends $Command< private serialize( input: ListMailboxPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListMailboxPermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListMailboxPermissionsCommand(output, context); } diff --git a/clients/client-workmail/commands/ListOrganizationsCommand.ts b/clients/client-workmail/commands/ListOrganizationsCommand.ts index d9b814723871..b673d4867616 100644 --- a/clients/client-workmail/commands/ListOrganizationsCommand.ts +++ b/clients/client-workmail/commands/ListOrganizationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListOrganizationsCommandInput = ListOrganizationsRequest; @@ -67,14 +67,14 @@ export class ListOrganizationsCommand extends $Command< private serialize( input: ListOrganizationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListOrganizationsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListOrganizationsCommand(output, context); } diff --git a/clients/client-workmail/commands/ListResourceDelegatesCommand.ts b/clients/client-workmail/commands/ListResourceDelegatesCommand.ts index cc3ce3499ee3..3de42f1ac27b 100644 --- a/clients/client-workmail/commands/ListResourceDelegatesCommand.ts +++ b/clients/client-workmail/commands/ListResourceDelegatesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourceDelegatesCommandInput = ListResourceDelegatesRequest; @@ -70,14 +70,14 @@ export class ListResourceDelegatesCommand extends $Command< private serialize( input: ListResourceDelegatesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourceDelegatesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourceDelegatesCommand(output, context); } diff --git a/clients/client-workmail/commands/ListResourcesCommand.ts b/clients/client-workmail/commands/ListResourcesCommand.ts index 248343aa822c..920a8b9859d0 100644 --- a/clients/client-workmail/commands/ListResourcesCommand.ts +++ b/clients/client-workmail/commands/ListResourcesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListResourcesCommandInput = ListResourcesRequest; @@ -64,14 +64,14 @@ export class ListResourcesCommand extends $Command< private serialize( input: ListResourcesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListResourcesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListResourcesCommand(output, context); } diff --git a/clients/client-workmail/commands/ListUsersCommand.ts b/clients/client-workmail/commands/ListUsersCommand.ts index 2e96e6c0346f..d72527fdc378 100644 --- a/clients/client-workmail/commands/ListUsersCommand.ts +++ b/clients/client-workmail/commands/ListUsersCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListUsersCommandInput = ListUsersRequest; @@ -64,14 +64,14 @@ export class ListUsersCommand extends $Command< private serialize( input: ListUsersCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListUsersCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListUsersCommand(output, context); } diff --git a/clients/client-workmail/commands/PutMailboxPermissionsCommand.ts b/clients/client-workmail/commands/PutMailboxPermissionsCommand.ts index 4ecbc100ee8c..486905a5e4ce 100644 --- a/clients/client-workmail/commands/PutMailboxPermissionsCommand.ts +++ b/clients/client-workmail/commands/PutMailboxPermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutMailboxPermissionsCommandInput = PutMailboxPermissionsRequest; @@ -70,14 +70,14 @@ export class PutMailboxPermissionsCommand extends $Command< private serialize( input: PutMailboxPermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1PutMailboxPermissionsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1PutMailboxPermissionsCommand(output, context); } diff --git a/clients/client-workmail/commands/RegisterToWorkMailCommand.ts b/clients/client-workmail/commands/RegisterToWorkMailCommand.ts index e9b4d60893cc..e6e1503923c2 100644 --- a/clients/client-workmail/commands/RegisterToWorkMailCommand.ts +++ b/clients/client-workmail/commands/RegisterToWorkMailCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterToWorkMailCommandInput = RegisterToWorkMailRequest; @@ -67,14 +67,14 @@ export class RegisterToWorkMailCommand extends $Command< private serialize( input: RegisterToWorkMailCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterToWorkMailCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterToWorkMailCommand(output, context); } diff --git a/clients/client-workmail/commands/ResetPasswordCommand.ts b/clients/client-workmail/commands/ResetPasswordCommand.ts index 9809d1b78f4e..38e23401b75e 100644 --- a/clients/client-workmail/commands/ResetPasswordCommand.ts +++ b/clients/client-workmail/commands/ResetPasswordCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ResetPasswordCommandInput = ResetPasswordRequest; @@ -64,14 +64,14 @@ export class ResetPasswordCommand extends $Command< private serialize( input: ResetPasswordCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ResetPasswordCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ResetPasswordCommand(output, context); } diff --git a/clients/client-workmail/commands/UpdateMailboxQuotaCommand.ts b/clients/client-workmail/commands/UpdateMailboxQuotaCommand.ts index 83b933222755..bbbcc491578b 100644 --- a/clients/client-workmail/commands/UpdateMailboxQuotaCommand.ts +++ b/clients/client-workmail/commands/UpdateMailboxQuotaCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateMailboxQuotaCommandInput = UpdateMailboxQuotaRequest; @@ -67,14 +67,14 @@ export class UpdateMailboxQuotaCommand extends $Command< private serialize( input: UpdateMailboxQuotaCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateMailboxQuotaCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateMailboxQuotaCommand(output, context); } diff --git a/clients/client-workmail/commands/UpdatePrimaryEmailAddressCommand.ts b/clients/client-workmail/commands/UpdatePrimaryEmailAddressCommand.ts index 624f3f0bd185..42b6f17d49cc 100644 --- a/clients/client-workmail/commands/UpdatePrimaryEmailAddressCommand.ts +++ b/clients/client-workmail/commands/UpdatePrimaryEmailAddressCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdatePrimaryEmailAddressCommandInput = UpdatePrimaryEmailAddressRequest; @@ -70,14 +70,14 @@ export class UpdatePrimaryEmailAddressCommand extends $Command< private serialize( input: UpdatePrimaryEmailAddressCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdatePrimaryEmailAddressCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdatePrimaryEmailAddressCommand( output, diff --git a/clients/client-workmail/commands/UpdateResourceCommand.ts b/clients/client-workmail/commands/UpdateResourceCommand.ts index 9faeb9310bdc..fa06faeb5ac5 100644 --- a/clients/client-workmail/commands/UpdateResourceCommand.ts +++ b/clients/client-workmail/commands/UpdateResourceCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateResourceCommandInput = UpdateResourceRequest; @@ -64,14 +64,14 @@ export class UpdateResourceCommand extends $Command< private serialize( input: UpdateResourceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateResourceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateResourceCommand(output, context); } diff --git a/clients/client-workmail/protocols/Aws_json1_1.ts b/clients/client-workmail/protocols/Aws_json1_1.ts index 739560c6f4d5..23276c407051 100644 --- a/clients/client-workmail/protocols/Aws_json1_1.ts +++ b/clients/client-workmail/protocols/Aws_json1_1.ts @@ -5668,6 +5668,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-workmailmessageflow/commands/GetRawMessageContentCommand.ts b/clients/client-workmailmessageflow/commands/GetRawMessageContentCommand.ts index a7a92884dec4..0ab8d0afbf99 100644 --- a/clients/client-workmailmessageflow/commands/GetRawMessageContentCommand.ts +++ b/clients/client-workmailmessageflow/commands/GetRawMessageContentCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetRawMessageContentCommandInput = GetRawMessageContentRequest; @@ -70,14 +70,14 @@ export class GetRawMessageContentCommand extends $Command< private serialize( input: GetRawMessageContentCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetRawMessageContentCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetRawMessageContentCommand( output, diff --git a/clients/client-workmailmessageflow/protocols/Aws_restJson1_1.ts b/clients/client-workmailmessageflow/protocols/Aws_restJson1_1.ts index 407cca65abc5..463ebeaf3b01 100644 --- a/clients/client-workmailmessageflow/protocols/Aws_restJson1_1.ts +++ b/clients/client-workmailmessageflow/protocols/Aws_restJson1_1.ts @@ -128,6 +128,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-workspaces/commands/AssociateIpGroupsCommand.ts b/clients/client-workspaces/commands/AssociateIpGroupsCommand.ts index 73db138d3dcb..69af6b9f6c25 100644 --- a/clients/client-workspaces/commands/AssociateIpGroupsCommand.ts +++ b/clients/client-workspaces/commands/AssociateIpGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AssociateIpGroupsCommandInput = AssociateIpGroupsRequest; @@ -67,14 +67,14 @@ export class AssociateIpGroupsCommand extends $Command< private serialize( input: AssociateIpGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AssociateIpGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AssociateIpGroupsCommand(output, context); } diff --git a/clients/client-workspaces/commands/AuthorizeIpRulesCommand.ts b/clients/client-workspaces/commands/AuthorizeIpRulesCommand.ts index 71941aa4933a..a6eeca5af71b 100644 --- a/clients/client-workspaces/commands/AuthorizeIpRulesCommand.ts +++ b/clients/client-workspaces/commands/AuthorizeIpRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type AuthorizeIpRulesCommandInput = AuthorizeIpRulesRequest; @@ -67,14 +67,14 @@ export class AuthorizeIpRulesCommand extends $Command< private serialize( input: AuthorizeIpRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1AuthorizeIpRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1AuthorizeIpRulesCommand(output, context); } diff --git a/clients/client-workspaces/commands/CopyWorkspaceImageCommand.ts b/clients/client-workspaces/commands/CopyWorkspaceImageCommand.ts index 93680ea039eb..fd34ff2b91a0 100644 --- a/clients/client-workspaces/commands/CopyWorkspaceImageCommand.ts +++ b/clients/client-workspaces/commands/CopyWorkspaceImageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CopyWorkspaceImageCommandInput = CopyWorkspaceImageRequest; @@ -67,14 +67,14 @@ export class CopyWorkspaceImageCommand extends $Command< private serialize( input: CopyWorkspaceImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CopyWorkspaceImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CopyWorkspaceImageCommand(output, context); } diff --git a/clients/client-workspaces/commands/CreateIpGroupCommand.ts b/clients/client-workspaces/commands/CreateIpGroupCommand.ts index 548522600337..48e284759da2 100644 --- a/clients/client-workspaces/commands/CreateIpGroupCommand.ts +++ b/clients/client-workspaces/commands/CreateIpGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateIpGroupCommandInput = CreateIpGroupRequest; @@ -64,14 +64,14 @@ export class CreateIpGroupCommand extends $Command< private serialize( input: CreateIpGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateIpGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateIpGroupCommand(output, context); } diff --git a/clients/client-workspaces/commands/CreateTagsCommand.ts b/clients/client-workspaces/commands/CreateTagsCommand.ts index 8cd4556b8439..699e3b7c8fef 100644 --- a/clients/client-workspaces/commands/CreateTagsCommand.ts +++ b/clients/client-workspaces/commands/CreateTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateTagsCommandInput = CreateTagsRequest; @@ -64,14 +64,14 @@ export class CreateTagsCommand extends $Command< private serialize( input: CreateTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateTagsCommand(output, context); } diff --git a/clients/client-workspaces/commands/CreateWorkspacesCommand.ts b/clients/client-workspaces/commands/CreateWorkspacesCommand.ts index b7e879eb641e..7e332c333b6f 100644 --- a/clients/client-workspaces/commands/CreateWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/CreateWorkspacesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateWorkspacesCommandInput = CreateWorkspacesRequest; @@ -67,14 +67,14 @@ export class CreateWorkspacesCommand extends $Command< private serialize( input: CreateWorkspacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1CreateWorkspacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1CreateWorkspacesCommand(output, context); } diff --git a/clients/client-workspaces/commands/DeleteIpGroupCommand.ts b/clients/client-workspaces/commands/DeleteIpGroupCommand.ts index 511c66501790..238b9e278e70 100644 --- a/clients/client-workspaces/commands/DeleteIpGroupCommand.ts +++ b/clients/client-workspaces/commands/DeleteIpGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteIpGroupCommandInput = DeleteIpGroupRequest; @@ -64,14 +64,14 @@ export class DeleteIpGroupCommand extends $Command< private serialize( input: DeleteIpGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteIpGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteIpGroupCommand(output, context); } diff --git a/clients/client-workspaces/commands/DeleteTagsCommand.ts b/clients/client-workspaces/commands/DeleteTagsCommand.ts index 043fb59ac62b..1b44bba7052c 100644 --- a/clients/client-workspaces/commands/DeleteTagsCommand.ts +++ b/clients/client-workspaces/commands/DeleteTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteTagsCommandInput = DeleteTagsRequest; @@ -64,14 +64,14 @@ export class DeleteTagsCommand extends $Command< private serialize( input: DeleteTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteTagsCommand(output, context); } diff --git a/clients/client-workspaces/commands/DeleteWorkspaceImageCommand.ts b/clients/client-workspaces/commands/DeleteWorkspaceImageCommand.ts index 431f089c18fd..893f6b0e94e1 100644 --- a/clients/client-workspaces/commands/DeleteWorkspaceImageCommand.ts +++ b/clients/client-workspaces/commands/DeleteWorkspaceImageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteWorkspaceImageCommandInput = DeleteWorkspaceImageRequest; @@ -70,14 +70,14 @@ export class DeleteWorkspaceImageCommand extends $Command< private serialize( input: DeleteWorkspaceImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeleteWorkspaceImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeleteWorkspaceImageCommand(output, context); } diff --git a/clients/client-workspaces/commands/DeregisterWorkspaceDirectoryCommand.ts b/clients/client-workspaces/commands/DeregisterWorkspaceDirectoryCommand.ts index 2a53749f162c..788587681512 100644 --- a/clients/client-workspaces/commands/DeregisterWorkspaceDirectoryCommand.ts +++ b/clients/client-workspaces/commands/DeregisterWorkspaceDirectoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeregisterWorkspaceDirectoryCommandInput = DeregisterWorkspaceDirectoryRequest; @@ -70,7 +70,7 @@ export class DeregisterWorkspaceDirectoryCommand extends $Command< private serialize( input: DeregisterWorkspaceDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DeregisterWorkspaceDirectoryCommand( input, @@ -80,7 +80,7 @@ export class DeregisterWorkspaceDirectoryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DeregisterWorkspaceDirectoryCommand( output, diff --git a/clients/client-workspaces/commands/DescribeAccountCommand.ts b/clients/client-workspaces/commands/DescribeAccountCommand.ts index 29f58a682e7f..d9fe43d72a3d 100644 --- a/clients/client-workspaces/commands/DescribeAccountCommand.ts +++ b/clients/client-workspaces/commands/DescribeAccountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountCommandInput = DescribeAccountRequest; @@ -64,14 +64,14 @@ export class DescribeAccountCommand extends $Command< private serialize( input: DescribeAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAccountCommand(output, context); } diff --git a/clients/client-workspaces/commands/DescribeAccountModificationsCommand.ts b/clients/client-workspaces/commands/DescribeAccountModificationsCommand.ts index d4a010092d31..a52a7d340ec6 100644 --- a/clients/client-workspaces/commands/DescribeAccountModificationsCommand.ts +++ b/clients/client-workspaces/commands/DescribeAccountModificationsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeAccountModificationsCommandInput = DescribeAccountModificationsRequest; @@ -70,7 +70,7 @@ export class DescribeAccountModificationsCommand extends $Command< private serialize( input: DescribeAccountModificationsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeAccountModificationsCommand( input, @@ -80,7 +80,7 @@ export class DescribeAccountModificationsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeAccountModificationsCommand( output, diff --git a/clients/client-workspaces/commands/DescribeClientPropertiesCommand.ts b/clients/client-workspaces/commands/DescribeClientPropertiesCommand.ts index 8dc05a53d49b..a0d21c59c035 100644 --- a/clients/client-workspaces/commands/DescribeClientPropertiesCommand.ts +++ b/clients/client-workspaces/commands/DescribeClientPropertiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeClientPropertiesCommandInput = DescribeClientPropertiesRequest; @@ -70,14 +70,14 @@ export class DescribeClientPropertiesCommand extends $Command< private serialize( input: DescribeClientPropertiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeClientPropertiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeClientPropertiesCommand( output, diff --git a/clients/client-workspaces/commands/DescribeIpGroupsCommand.ts b/clients/client-workspaces/commands/DescribeIpGroupsCommand.ts index e16dac90421a..662f2bece4ca 100644 --- a/clients/client-workspaces/commands/DescribeIpGroupsCommand.ts +++ b/clients/client-workspaces/commands/DescribeIpGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeIpGroupsCommandInput = DescribeIpGroupsRequest; @@ -67,14 +67,14 @@ export class DescribeIpGroupsCommand extends $Command< private serialize( input: DescribeIpGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeIpGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeIpGroupsCommand(output, context); } diff --git a/clients/client-workspaces/commands/DescribeTagsCommand.ts b/clients/client-workspaces/commands/DescribeTagsCommand.ts index fa39e332a932..2fb02d115768 100644 --- a/clients/client-workspaces/commands/DescribeTagsCommand.ts +++ b/clients/client-workspaces/commands/DescribeTagsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeTagsCommandInput = DescribeTagsRequest; @@ -64,14 +64,14 @@ export class DescribeTagsCommand extends $Command< private serialize( input: DescribeTagsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeTagsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeTagsCommand(output, context); } diff --git a/clients/client-workspaces/commands/DescribeWorkspaceBundlesCommand.ts b/clients/client-workspaces/commands/DescribeWorkspaceBundlesCommand.ts index 1bb723e0978c..6d7b4dae6f12 100644 --- a/clients/client-workspaces/commands/DescribeWorkspaceBundlesCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspaceBundlesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWorkspaceBundlesCommandInput = DescribeWorkspaceBundlesRequest; @@ -70,14 +70,14 @@ export class DescribeWorkspaceBundlesCommand extends $Command< private serialize( input: DescribeWorkspaceBundlesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeWorkspaceBundlesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeWorkspaceBundlesCommand( output, diff --git a/clients/client-workspaces/commands/DescribeWorkspaceDirectoriesCommand.ts b/clients/client-workspaces/commands/DescribeWorkspaceDirectoriesCommand.ts index cc9f71f4e284..4611abce6e50 100644 --- a/clients/client-workspaces/commands/DescribeWorkspaceDirectoriesCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspaceDirectoriesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWorkspaceDirectoriesCommandInput = DescribeWorkspaceDirectoriesRequest; @@ -70,7 +70,7 @@ export class DescribeWorkspaceDirectoriesCommand extends $Command< private serialize( input: DescribeWorkspaceDirectoriesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeWorkspaceDirectoriesCommand( input, @@ -80,7 +80,7 @@ export class DescribeWorkspaceDirectoriesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeWorkspaceDirectoriesCommand( output, diff --git a/clients/client-workspaces/commands/DescribeWorkspaceImagesCommand.ts b/clients/client-workspaces/commands/DescribeWorkspaceImagesCommand.ts index 8e00e7cad763..b9e422d7a6e7 100644 --- a/clients/client-workspaces/commands/DescribeWorkspaceImagesCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspaceImagesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWorkspaceImagesCommandInput = DescribeWorkspaceImagesRequest; @@ -70,14 +70,14 @@ export class DescribeWorkspaceImagesCommand extends $Command< private serialize( input: DescribeWorkspaceImagesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeWorkspaceImagesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeWorkspaceImagesCommand( output, diff --git a/clients/client-workspaces/commands/DescribeWorkspaceSnapshotsCommand.ts b/clients/client-workspaces/commands/DescribeWorkspaceSnapshotsCommand.ts index e6b89974da64..e00f51df3d87 100644 --- a/clients/client-workspaces/commands/DescribeWorkspaceSnapshotsCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspaceSnapshotsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWorkspaceSnapshotsCommandInput = DescribeWorkspaceSnapshotsRequest; @@ -70,7 +70,7 @@ export class DescribeWorkspaceSnapshotsCommand extends $Command< private serialize( input: DescribeWorkspaceSnapshotsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeWorkspaceSnapshotsCommand( input, @@ -80,7 +80,7 @@ export class DescribeWorkspaceSnapshotsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeWorkspaceSnapshotsCommand( output, diff --git a/clients/client-workspaces/commands/DescribeWorkspacesCommand.ts b/clients/client-workspaces/commands/DescribeWorkspacesCommand.ts index 338b26ed2dbd..36174bc10c0d 100644 --- a/clients/client-workspaces/commands/DescribeWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspacesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWorkspacesCommandInput = DescribeWorkspacesRequest; @@ -67,14 +67,14 @@ export class DescribeWorkspacesCommand extends $Command< private serialize( input: DescribeWorkspacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeWorkspacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeWorkspacesCommand(output, context); } diff --git a/clients/client-workspaces/commands/DescribeWorkspacesConnectionStatusCommand.ts b/clients/client-workspaces/commands/DescribeWorkspacesConnectionStatusCommand.ts index a960da954eda..ba50355591e8 100644 --- a/clients/client-workspaces/commands/DescribeWorkspacesConnectionStatusCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspacesConnectionStatusCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DescribeWorkspacesConnectionStatusCommandInput = DescribeWorkspacesConnectionStatusRequest; @@ -70,7 +70,7 @@ export class DescribeWorkspacesConnectionStatusCommand extends $Command< private serialize( input: DescribeWorkspacesConnectionStatusCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DescribeWorkspacesConnectionStatusCommand( input, @@ -80,7 +80,7 @@ export class DescribeWorkspacesConnectionStatusCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DescribeWorkspacesConnectionStatusCommand( output, diff --git a/clients/client-workspaces/commands/DisassociateIpGroupsCommand.ts b/clients/client-workspaces/commands/DisassociateIpGroupsCommand.ts index be1637382d8c..59b04ca8aafe 100644 --- a/clients/client-workspaces/commands/DisassociateIpGroupsCommand.ts +++ b/clients/client-workspaces/commands/DisassociateIpGroupsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DisassociateIpGroupsCommandInput = DisassociateIpGroupsRequest; @@ -70,14 +70,14 @@ export class DisassociateIpGroupsCommand extends $Command< private serialize( input: DisassociateIpGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1DisassociateIpGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1DisassociateIpGroupsCommand(output, context); } diff --git a/clients/client-workspaces/commands/ImportWorkspaceImageCommand.ts b/clients/client-workspaces/commands/ImportWorkspaceImageCommand.ts index ca217d9ac69f..e7cbbc59c95d 100644 --- a/clients/client-workspaces/commands/ImportWorkspaceImageCommand.ts +++ b/clients/client-workspaces/commands/ImportWorkspaceImageCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ImportWorkspaceImageCommandInput = ImportWorkspaceImageRequest; @@ -70,14 +70,14 @@ export class ImportWorkspaceImageCommand extends $Command< private serialize( input: ImportWorkspaceImageCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ImportWorkspaceImageCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ImportWorkspaceImageCommand(output, context); } diff --git a/clients/client-workspaces/commands/ListAvailableManagementCidrRangesCommand.ts b/clients/client-workspaces/commands/ListAvailableManagementCidrRangesCommand.ts index 3ab69254dbf3..0c93842b468f 100644 --- a/clients/client-workspaces/commands/ListAvailableManagementCidrRangesCommand.ts +++ b/clients/client-workspaces/commands/ListAvailableManagementCidrRangesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ListAvailableManagementCidrRangesCommandInput = ListAvailableManagementCidrRangesRequest; @@ -70,7 +70,7 @@ export class ListAvailableManagementCidrRangesCommand extends $Command< private serialize( input: ListAvailableManagementCidrRangesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ListAvailableManagementCidrRangesCommand( input, @@ -80,7 +80,7 @@ export class ListAvailableManagementCidrRangesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ListAvailableManagementCidrRangesCommand( output, diff --git a/clients/client-workspaces/commands/MigrateWorkspaceCommand.ts b/clients/client-workspaces/commands/MigrateWorkspaceCommand.ts index 118ff1c1b7e1..b13be876de85 100644 --- a/clients/client-workspaces/commands/MigrateWorkspaceCommand.ts +++ b/clients/client-workspaces/commands/MigrateWorkspaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type MigrateWorkspaceCommandInput = MigrateWorkspaceRequest; @@ -67,14 +67,14 @@ export class MigrateWorkspaceCommand extends $Command< private serialize( input: MigrateWorkspaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1MigrateWorkspaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1MigrateWorkspaceCommand(output, context); } diff --git a/clients/client-workspaces/commands/ModifyAccountCommand.ts b/clients/client-workspaces/commands/ModifyAccountCommand.ts index 166c034d1cdd..2d78e46deaef 100644 --- a/clients/client-workspaces/commands/ModifyAccountCommand.ts +++ b/clients/client-workspaces/commands/ModifyAccountCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyAccountCommandInput = ModifyAccountRequest; @@ -64,14 +64,14 @@ export class ModifyAccountCommand extends $Command< private serialize( input: ModifyAccountCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyAccountCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyAccountCommand(output, context); } diff --git a/clients/client-workspaces/commands/ModifyClientPropertiesCommand.ts b/clients/client-workspaces/commands/ModifyClientPropertiesCommand.ts index b8d061f7ba56..699ba30dac5d 100644 --- a/clients/client-workspaces/commands/ModifyClientPropertiesCommand.ts +++ b/clients/client-workspaces/commands/ModifyClientPropertiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyClientPropertiesCommandInput = ModifyClientPropertiesRequest; @@ -70,14 +70,14 @@ export class ModifyClientPropertiesCommand extends $Command< private serialize( input: ModifyClientPropertiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyClientPropertiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyClientPropertiesCommand(output, context); } diff --git a/clients/client-workspaces/commands/ModifySelfservicePermissionsCommand.ts b/clients/client-workspaces/commands/ModifySelfservicePermissionsCommand.ts index 4b49bc2b82ca..43b6a149484b 100644 --- a/clients/client-workspaces/commands/ModifySelfservicePermissionsCommand.ts +++ b/clients/client-workspaces/commands/ModifySelfservicePermissionsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifySelfservicePermissionsCommandInput = ModifySelfservicePermissionsRequest; @@ -70,7 +70,7 @@ export class ModifySelfservicePermissionsCommand extends $Command< private serialize( input: ModifySelfservicePermissionsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifySelfservicePermissionsCommand( input, @@ -80,7 +80,7 @@ export class ModifySelfservicePermissionsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifySelfservicePermissionsCommand( output, diff --git a/clients/client-workspaces/commands/ModifyWorkspaceAccessPropertiesCommand.ts b/clients/client-workspaces/commands/ModifyWorkspaceAccessPropertiesCommand.ts index c67c12f85a02..0750ccd82643 100644 --- a/clients/client-workspaces/commands/ModifyWorkspaceAccessPropertiesCommand.ts +++ b/clients/client-workspaces/commands/ModifyWorkspaceAccessPropertiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyWorkspaceAccessPropertiesCommandInput = ModifyWorkspaceAccessPropertiesRequest; @@ -70,7 +70,7 @@ export class ModifyWorkspaceAccessPropertiesCommand extends $Command< private serialize( input: ModifyWorkspaceAccessPropertiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand( input, @@ -80,7 +80,7 @@ export class ModifyWorkspaceAccessPropertiesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand( output, diff --git a/clients/client-workspaces/commands/ModifyWorkspaceCreationPropertiesCommand.ts b/clients/client-workspaces/commands/ModifyWorkspaceCreationPropertiesCommand.ts index 185258345288..2fab34077f75 100644 --- a/clients/client-workspaces/commands/ModifyWorkspaceCreationPropertiesCommand.ts +++ b/clients/client-workspaces/commands/ModifyWorkspaceCreationPropertiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyWorkspaceCreationPropertiesCommandInput = ModifyWorkspaceCreationPropertiesRequest; @@ -70,7 +70,7 @@ export class ModifyWorkspaceCreationPropertiesCommand extends $Command< private serialize( input: ModifyWorkspaceCreationPropertiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand( input, @@ -80,7 +80,7 @@ export class ModifyWorkspaceCreationPropertiesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand( output, diff --git a/clients/client-workspaces/commands/ModifyWorkspacePropertiesCommand.ts b/clients/client-workspaces/commands/ModifyWorkspacePropertiesCommand.ts index dd8175815f00..1e505aa436a0 100644 --- a/clients/client-workspaces/commands/ModifyWorkspacePropertiesCommand.ts +++ b/clients/client-workspaces/commands/ModifyWorkspacePropertiesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyWorkspacePropertiesCommandInput = ModifyWorkspacePropertiesRequest; @@ -70,14 +70,14 @@ export class ModifyWorkspacePropertiesCommand extends $Command< private serialize( input: ModifyWorkspacePropertiesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyWorkspacePropertiesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyWorkspacePropertiesCommand( output, diff --git a/clients/client-workspaces/commands/ModifyWorkspaceStateCommand.ts b/clients/client-workspaces/commands/ModifyWorkspaceStateCommand.ts index b2419dd28d21..b4174eab86db 100644 --- a/clients/client-workspaces/commands/ModifyWorkspaceStateCommand.ts +++ b/clients/client-workspaces/commands/ModifyWorkspaceStateCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type ModifyWorkspaceStateCommandInput = ModifyWorkspaceStateRequest; @@ -70,14 +70,14 @@ export class ModifyWorkspaceStateCommand extends $Command< private serialize( input: ModifyWorkspaceStateCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1ModifyWorkspaceStateCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1ModifyWorkspaceStateCommand(output, context); } diff --git a/clients/client-workspaces/commands/RebootWorkspacesCommand.ts b/clients/client-workspaces/commands/RebootWorkspacesCommand.ts index 98bda0129589..119f6cec94ff 100644 --- a/clients/client-workspaces/commands/RebootWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/RebootWorkspacesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebootWorkspacesCommandInput = RebootWorkspacesRequest; @@ -67,14 +67,14 @@ export class RebootWorkspacesCommand extends $Command< private serialize( input: RebootWorkspacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RebootWorkspacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RebootWorkspacesCommand(output, context); } diff --git a/clients/client-workspaces/commands/RebuildWorkspacesCommand.ts b/clients/client-workspaces/commands/RebuildWorkspacesCommand.ts index a920e7b3f128..c57649d8e277 100644 --- a/clients/client-workspaces/commands/RebuildWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/RebuildWorkspacesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RebuildWorkspacesCommandInput = RebuildWorkspacesRequest; @@ -67,14 +67,14 @@ export class RebuildWorkspacesCommand extends $Command< private serialize( input: RebuildWorkspacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RebuildWorkspacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RebuildWorkspacesCommand(output, context); } diff --git a/clients/client-workspaces/commands/RegisterWorkspaceDirectoryCommand.ts b/clients/client-workspaces/commands/RegisterWorkspaceDirectoryCommand.ts index ecf92facf4a3..576331106bef 100644 --- a/clients/client-workspaces/commands/RegisterWorkspaceDirectoryCommand.ts +++ b/clients/client-workspaces/commands/RegisterWorkspaceDirectoryCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RegisterWorkspaceDirectoryCommandInput = RegisterWorkspaceDirectoryRequest; @@ -70,7 +70,7 @@ export class RegisterWorkspaceDirectoryCommand extends $Command< private serialize( input: RegisterWorkspaceDirectoryCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RegisterWorkspaceDirectoryCommand( input, @@ -80,7 +80,7 @@ export class RegisterWorkspaceDirectoryCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RegisterWorkspaceDirectoryCommand( output, diff --git a/clients/client-workspaces/commands/RestoreWorkspaceCommand.ts b/clients/client-workspaces/commands/RestoreWorkspaceCommand.ts index 022ab3510d9b..fd289d4fb258 100644 --- a/clients/client-workspaces/commands/RestoreWorkspaceCommand.ts +++ b/clients/client-workspaces/commands/RestoreWorkspaceCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RestoreWorkspaceCommandInput = RestoreWorkspaceRequest; @@ -67,14 +67,14 @@ export class RestoreWorkspaceCommand extends $Command< private serialize( input: RestoreWorkspaceCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RestoreWorkspaceCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RestoreWorkspaceCommand(output, context); } diff --git a/clients/client-workspaces/commands/RevokeIpRulesCommand.ts b/clients/client-workspaces/commands/RevokeIpRulesCommand.ts index 360469cc63e5..c67c0d3c2fc9 100644 --- a/clients/client-workspaces/commands/RevokeIpRulesCommand.ts +++ b/clients/client-workspaces/commands/RevokeIpRulesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type RevokeIpRulesCommandInput = RevokeIpRulesRequest; @@ -64,14 +64,14 @@ export class RevokeIpRulesCommand extends $Command< private serialize( input: RevokeIpRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1RevokeIpRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1RevokeIpRulesCommand(output, context); } diff --git a/clients/client-workspaces/commands/StartWorkspacesCommand.ts b/clients/client-workspaces/commands/StartWorkspacesCommand.ts index 4e4564cf231f..17072ca72d65 100644 --- a/clients/client-workspaces/commands/StartWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/StartWorkspacesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StartWorkspacesCommandInput = StartWorkspacesRequest; @@ -64,14 +64,14 @@ export class StartWorkspacesCommand extends $Command< private serialize( input: StartWorkspacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StartWorkspacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StartWorkspacesCommand(output, context); } diff --git a/clients/client-workspaces/commands/StopWorkspacesCommand.ts b/clients/client-workspaces/commands/StopWorkspacesCommand.ts index ac2954689cca..121d4e7f51f4 100644 --- a/clients/client-workspaces/commands/StopWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/StopWorkspacesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type StopWorkspacesCommandInput = StopWorkspacesRequest; @@ -64,14 +64,14 @@ export class StopWorkspacesCommand extends $Command< private serialize( input: StopWorkspacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1StopWorkspacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1StopWorkspacesCommand(output, context); } diff --git a/clients/client-workspaces/commands/TerminateWorkspacesCommand.ts b/clients/client-workspaces/commands/TerminateWorkspacesCommand.ts index e1814dfd252f..a38a7d195467 100644 --- a/clients/client-workspaces/commands/TerminateWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/TerminateWorkspacesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type TerminateWorkspacesCommandInput = TerminateWorkspacesRequest; @@ -70,14 +70,14 @@ export class TerminateWorkspacesCommand extends $Command< private serialize( input: TerminateWorkspacesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1TerminateWorkspacesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1TerminateWorkspacesCommand(output, context); } diff --git a/clients/client-workspaces/commands/UpdateRulesOfIpGroupCommand.ts b/clients/client-workspaces/commands/UpdateRulesOfIpGroupCommand.ts index 51d833da0f20..97824cbb647f 100644 --- a/clients/client-workspaces/commands/UpdateRulesOfIpGroupCommand.ts +++ b/clients/client-workspaces/commands/UpdateRulesOfIpGroupCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateRulesOfIpGroupCommandInput = UpdateRulesOfIpGroupRequest; @@ -70,14 +70,14 @@ export class UpdateRulesOfIpGroupCommand extends $Command< private serialize( input: UpdateRulesOfIpGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_json1_1UpdateRulesOfIpGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_json1_1UpdateRulesOfIpGroupCommand(output, context); } diff --git a/clients/client-workspaces/protocols/Aws_json1_1.ts b/clients/client-workspaces/protocols/Aws_json1_1.ts index 45ccaae07b3a..de7762b4f521 100644 --- a/clients/client-workspaces/protocols/Aws_json1_1.ts +++ b/clients/client-workspaces/protocols/Aws_json1_1.ts @@ -7057,6 +7057,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) ); diff --git a/clients/client-xray/commands/BatchGetTracesCommand.ts b/clients/client-xray/commands/BatchGetTracesCommand.ts index fb33e4986130..ced5f5e19a10 100644 --- a/clients/client-xray/commands/BatchGetTracesCommand.ts +++ b/clients/client-xray/commands/BatchGetTracesCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type BatchGetTracesCommandInput = BatchGetTracesRequest; @@ -64,14 +64,14 @@ export class BatchGetTracesCommand extends $Command< private serialize( input: BatchGetTracesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1BatchGetTracesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1BatchGetTracesCommand(output, context); } diff --git a/clients/client-xray/commands/CreateGroupCommand.ts b/clients/client-xray/commands/CreateGroupCommand.ts index be6716a99cf6..ec2ba5b15a85 100644 --- a/clients/client-xray/commands/CreateGroupCommand.ts +++ b/clients/client-xray/commands/CreateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateGroupCommandInput = CreateGroupRequest; @@ -64,14 +64,14 @@ export class CreateGroupCommand extends $Command< private serialize( input: CreateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateGroupCommand(output, context); } diff --git a/clients/client-xray/commands/CreateSamplingRuleCommand.ts b/clients/client-xray/commands/CreateSamplingRuleCommand.ts index 7c2284e6d9c9..64fdeb9d6b52 100644 --- a/clients/client-xray/commands/CreateSamplingRuleCommand.ts +++ b/clients/client-xray/commands/CreateSamplingRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type CreateSamplingRuleCommandInput = CreateSamplingRuleRequest; @@ -67,14 +67,14 @@ export class CreateSamplingRuleCommand extends $Command< private serialize( input: CreateSamplingRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1CreateSamplingRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1CreateSamplingRuleCommand(output, context); } diff --git a/clients/client-xray/commands/DeleteGroupCommand.ts b/clients/client-xray/commands/DeleteGroupCommand.ts index 2ff017995c6f..138987ecbbf0 100644 --- a/clients/client-xray/commands/DeleteGroupCommand.ts +++ b/clients/client-xray/commands/DeleteGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteGroupCommandInput = DeleteGroupRequest; @@ -64,14 +64,14 @@ export class DeleteGroupCommand extends $Command< private serialize( input: DeleteGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteGroupCommand(output, context); } diff --git a/clients/client-xray/commands/DeleteSamplingRuleCommand.ts b/clients/client-xray/commands/DeleteSamplingRuleCommand.ts index 78f31eacfa2b..8c81d1341fa4 100644 --- a/clients/client-xray/commands/DeleteSamplingRuleCommand.ts +++ b/clients/client-xray/commands/DeleteSamplingRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type DeleteSamplingRuleCommandInput = DeleteSamplingRuleRequest; @@ -67,14 +67,14 @@ export class DeleteSamplingRuleCommand extends $Command< private serialize( input: DeleteSamplingRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1DeleteSamplingRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1DeleteSamplingRuleCommand(output, context); } diff --git a/clients/client-xray/commands/GetEncryptionConfigCommand.ts b/clients/client-xray/commands/GetEncryptionConfigCommand.ts index 83faeef7ad89..b3e1de9761d4 100644 --- a/clients/client-xray/commands/GetEncryptionConfigCommand.ts +++ b/clients/client-xray/commands/GetEncryptionConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetEncryptionConfigCommandInput = GetEncryptionConfigRequest; @@ -70,14 +70,14 @@ export class GetEncryptionConfigCommand extends $Command< private serialize( input: GetEncryptionConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetEncryptionConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetEncryptionConfigCommand( output, diff --git a/clients/client-xray/commands/GetGroupCommand.ts b/clients/client-xray/commands/GetGroupCommand.ts index 747bde48d5c3..c9cf74aeceff 100644 --- a/clients/client-xray/commands/GetGroupCommand.ts +++ b/clients/client-xray/commands/GetGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGroupCommandInput = GetGroupRequest; @@ -64,14 +64,14 @@ export class GetGroupCommand extends $Command< private serialize( input: GetGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGroupCommand(output, context); } diff --git a/clients/client-xray/commands/GetGroupsCommand.ts b/clients/client-xray/commands/GetGroupsCommand.ts index cdeaee17f81e..c8407a1baf0c 100644 --- a/clients/client-xray/commands/GetGroupsCommand.ts +++ b/clients/client-xray/commands/GetGroupsCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetGroupsCommandInput = GetGroupsRequest; @@ -64,14 +64,14 @@ export class GetGroupsCommand extends $Command< private serialize( input: GetGroupsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetGroupsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetGroupsCommand(output, context); } diff --git a/clients/client-xray/commands/GetSamplingRulesCommand.ts b/clients/client-xray/commands/GetSamplingRulesCommand.ts index 735cd077fa30..3e35d0ac8cc3 100644 --- a/clients/client-xray/commands/GetSamplingRulesCommand.ts +++ b/clients/client-xray/commands/GetSamplingRulesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSamplingRulesCommandInput = GetSamplingRulesRequest; @@ -67,14 +67,14 @@ export class GetSamplingRulesCommand extends $Command< private serialize( input: GetSamplingRulesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSamplingRulesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSamplingRulesCommand(output, context); } diff --git a/clients/client-xray/commands/GetSamplingStatisticSummariesCommand.ts b/clients/client-xray/commands/GetSamplingStatisticSummariesCommand.ts index b2bea90c9643..3085d66f0fce 100644 --- a/clients/client-xray/commands/GetSamplingStatisticSummariesCommand.ts +++ b/clients/client-xray/commands/GetSamplingStatisticSummariesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSamplingStatisticSummariesCommandInput = GetSamplingStatisticSummariesRequest; @@ -70,7 +70,7 @@ export class GetSamplingStatisticSummariesCommand extends $Command< private serialize( input: GetSamplingStatisticSummariesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSamplingStatisticSummariesCommand( input, @@ -80,7 +80,7 @@ export class GetSamplingStatisticSummariesCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSamplingStatisticSummariesCommand( output, diff --git a/clients/client-xray/commands/GetSamplingTargetsCommand.ts b/clients/client-xray/commands/GetSamplingTargetsCommand.ts index 1166d6df1b60..58f84b963253 100644 --- a/clients/client-xray/commands/GetSamplingTargetsCommand.ts +++ b/clients/client-xray/commands/GetSamplingTargetsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetSamplingTargetsCommandInput = GetSamplingTargetsRequest; @@ -67,14 +67,14 @@ export class GetSamplingTargetsCommand extends $Command< private serialize( input: GetSamplingTargetsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetSamplingTargetsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetSamplingTargetsCommand(output, context); } diff --git a/clients/client-xray/commands/GetServiceGraphCommand.ts b/clients/client-xray/commands/GetServiceGraphCommand.ts index b29012c97ae3..f0c01fb25b63 100644 --- a/clients/client-xray/commands/GetServiceGraphCommand.ts +++ b/clients/client-xray/commands/GetServiceGraphCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetServiceGraphCommandInput = GetServiceGraphRequest; @@ -64,14 +64,14 @@ export class GetServiceGraphCommand extends $Command< private serialize( input: GetServiceGraphCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetServiceGraphCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetServiceGraphCommand(output, context); } diff --git a/clients/client-xray/commands/GetTimeSeriesServiceStatisticsCommand.ts b/clients/client-xray/commands/GetTimeSeriesServiceStatisticsCommand.ts index 9428f89c1342..648856d82b5f 100644 --- a/clients/client-xray/commands/GetTimeSeriesServiceStatisticsCommand.ts +++ b/clients/client-xray/commands/GetTimeSeriesServiceStatisticsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTimeSeriesServiceStatisticsCommandInput = GetTimeSeriesServiceStatisticsRequest; @@ -70,7 +70,7 @@ export class GetTimeSeriesServiceStatisticsCommand extends $Command< private serialize( input: GetTimeSeriesServiceStatisticsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTimeSeriesServiceStatisticsCommand( input, @@ -80,7 +80,7 @@ export class GetTimeSeriesServiceStatisticsCommand extends $Command< private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTimeSeriesServiceStatisticsCommand( output, diff --git a/clients/client-xray/commands/GetTraceGraphCommand.ts b/clients/client-xray/commands/GetTraceGraphCommand.ts index 1e9f48f1ed52..b9de28277f65 100644 --- a/clients/client-xray/commands/GetTraceGraphCommand.ts +++ b/clients/client-xray/commands/GetTraceGraphCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTraceGraphCommandInput = GetTraceGraphRequest; @@ -64,14 +64,14 @@ export class GetTraceGraphCommand extends $Command< private serialize( input: GetTraceGraphCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTraceGraphCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTraceGraphCommand(output, context); } diff --git a/clients/client-xray/commands/GetTraceSummariesCommand.ts b/clients/client-xray/commands/GetTraceSummariesCommand.ts index a14fde744949..7e7542f312b8 100644 --- a/clients/client-xray/commands/GetTraceSummariesCommand.ts +++ b/clients/client-xray/commands/GetTraceSummariesCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type GetTraceSummariesCommandInput = GetTraceSummariesRequest; @@ -67,14 +67,14 @@ export class GetTraceSummariesCommand extends $Command< private serialize( input: GetTraceSummariesCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1GetTraceSummariesCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1GetTraceSummariesCommand(output, context); } diff --git a/clients/client-xray/commands/PutEncryptionConfigCommand.ts b/clients/client-xray/commands/PutEncryptionConfigCommand.ts index ca7ae0074759..4549047646a6 100644 --- a/clients/client-xray/commands/PutEncryptionConfigCommand.ts +++ b/clients/client-xray/commands/PutEncryptionConfigCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutEncryptionConfigCommandInput = PutEncryptionConfigRequest; @@ -70,14 +70,14 @@ export class PutEncryptionConfigCommand extends $Command< private serialize( input: PutEncryptionConfigCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutEncryptionConfigCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutEncryptionConfigCommand( output, diff --git a/clients/client-xray/commands/PutTelemetryRecordsCommand.ts b/clients/client-xray/commands/PutTelemetryRecordsCommand.ts index 44e337a1cc1c..30c6709ca760 100644 --- a/clients/client-xray/commands/PutTelemetryRecordsCommand.ts +++ b/clients/client-xray/commands/PutTelemetryRecordsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutTelemetryRecordsCommandInput = PutTelemetryRecordsRequest; @@ -70,14 +70,14 @@ export class PutTelemetryRecordsCommand extends $Command< private serialize( input: PutTelemetryRecordsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutTelemetryRecordsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutTelemetryRecordsCommand( output, diff --git a/clients/client-xray/commands/PutTraceSegmentsCommand.ts b/clients/client-xray/commands/PutTraceSegmentsCommand.ts index 5eefc52289e8..5c6ae4ed464d 100644 --- a/clients/client-xray/commands/PutTraceSegmentsCommand.ts +++ b/clients/client-xray/commands/PutTraceSegmentsCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type PutTraceSegmentsCommandInput = PutTraceSegmentsRequest; @@ -67,14 +67,14 @@ export class PutTraceSegmentsCommand extends $Command< private serialize( input: PutTraceSegmentsCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1PutTraceSegmentsCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1PutTraceSegmentsCommand(output, context); } diff --git a/clients/client-xray/commands/UpdateGroupCommand.ts b/clients/client-xray/commands/UpdateGroupCommand.ts index 3452d1b83ed8..69ad0a08a1cd 100644 --- a/clients/client-xray/commands/UpdateGroupCommand.ts +++ b/clients/client-xray/commands/UpdateGroupCommand.ts @@ -19,8 +19,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateGroupCommandInput = UpdateGroupRequest; @@ -64,14 +64,14 @@ export class UpdateGroupCommand extends $Command< private serialize( input: UpdateGroupCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateGroupCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateGroupCommand(output, context); } diff --git a/clients/client-xray/commands/UpdateSamplingRuleCommand.ts b/clients/client-xray/commands/UpdateSamplingRuleCommand.ts index 35720932daf8..a8dde67dba18 100644 --- a/clients/client-xray/commands/UpdateSamplingRuleCommand.ts +++ b/clients/client-xray/commands/UpdateSamplingRuleCommand.ts @@ -22,8 +22,8 @@ import { Handler, HandlerExecutionContext, MiddlewareStack, - SerdeContext, - HttpHandlerOptions as __HttpHandlerOptions + HttpHandlerOptions as __HttpHandlerOptions, + SerdeContext as __SerdeContext } from "@aws-sdk/types"; export type UpdateSamplingRuleCommandInput = UpdateSamplingRuleRequest; @@ -67,14 +67,14 @@ export class UpdateSamplingRuleCommand extends $Command< private serialize( input: UpdateSamplingRuleCommandInput, - context: SerdeContext + context: __SerdeContext ): Promise<__HttpRequest> { return serializeAws_restJson1_1UpdateSamplingRuleCommand(input, context); } private deserialize( output: __HttpResponse, - context: SerdeContext + context: __SerdeContext ): Promise { return deserializeAws_restJson1_1UpdateSamplingRuleCommand(output, context); } diff --git a/clients/client-xray/protocols/Aws_restJson1_1.ts b/clients/client-xray/protocols/Aws_restJson1_1.ts index 1597933e63ee..aa86a80987d1 100644 --- a/clients/client-xray/protocols/Aws_restJson1_1.ts +++ b/clients/client-xray/protocols/Aws_restJson1_1.ts @@ -3937,6 +3937,9 @@ const collectBody = ( streamBody: any, context: __SerdeContext ): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } return ( context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()) );