Skip to content

Commit

Permalink
chore: codegen for event stream support (#937)
Browse files Browse the repository at this point in the history
* feat: add event stream serde dependencies([#824](#824))
* support eventstream traits([smithy-typescript#110](smithy-lang/smithy-typescript#110))
  • Loading branch information
AllanZhengYP authored Feb 17, 2020
1 parent 08f8213 commit 3dfe61b
Show file tree
Hide file tree
Showing 7,372 changed files with 29,559 additions and 28,841 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<CreateAnalyzerCommandOutput> {
return deserializeAws_restJson1_1CreateAnalyzerCommand(output, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,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;
Expand Down Expand Up @@ -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<CreateArchiveRuleCommandOutput> {
return deserializeAws_restJson1_1CreateArchiveRuleCommand(output, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,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;
Expand Down Expand Up @@ -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<DeleteAnalyzerCommandOutput> {
return deserializeAws_restJson1_1DeleteAnalyzerCommand(output, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,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;
Expand Down Expand Up @@ -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<DeleteArchiveRuleCommandOutput> {
return deserializeAws_restJson1_1DeleteArchiveRuleCommand(output, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<GetAnalyzedResourceCommandOutput> {
return deserializeAws_restJson1_1GetAnalyzedResourceCommand(
output,
Expand Down
8 changes: 4 additions & 4 deletions clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<GetAnalyzerCommandOutput> {
return deserializeAws_restJson1_1GetAnalyzerCommand(output, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<GetArchiveRuleCommandOutput> {
return deserializeAws_restJson1_1GetArchiveRuleCommand(output, context);
}
Expand Down
8 changes: 4 additions & 4 deletions clients/client-accessanalyzer/commands/GetFindingCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<GetFindingCommandOutput> {
return deserializeAws_restJson1_1GetFindingCommand(output, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<ListAnalyzedResourcesCommandOutput> {
return deserializeAws_restJson1_1ListAnalyzedResourcesCommand(
output,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<ListAnalyzersCommandOutput> {
return deserializeAws_restJson1_1ListAnalyzersCommand(output, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<ListArchiveRulesCommandOutput> {
return deserializeAws_restJson1_1ListArchiveRulesCommand(output, context);
}
Expand Down
8 changes: 4 additions & 4 deletions clients/client-accessanalyzer/commands/ListFindingsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<ListFindingsCommandOutput> {
return deserializeAws_restJson1_1ListFindingsCommand(output, context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<ListTagsForResourceCommandOutput> {
return deserializeAws_restJson1_1ListTagsForResourceCommand(
output,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,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;
Expand Down Expand Up @@ -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<StartResourceScanCommandOutput> {
return deserializeAws_restJson1_1StartResourceScanCommand(output, context);
}
Expand Down
Loading

0 comments on commit 3dfe61b

Please sign in to comment.