Skip to content

Commit

Permalink
feat(codegen): shorten internal serde fn names
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Apr 5, 2023
1 parent 39c4488 commit f2e8a11
Show file tree
Hide file tree
Showing 13,816 changed files with 557,704 additions and 384,439 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 @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { ApplyArchiveRuleRequest } from "../models/models_0";
import {
deserializeAws_restJson1ApplyArchiveRuleCommand,
serializeAws_restJson1ApplyArchiveRuleCommand,
} from "../protocols/Aws_restJson1";
import { de_ApplyArchiveRuleCommand, se_ApplyArchiveRuleCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -138,14 +135,14 @@ export class ApplyArchiveRuleCommand extends $Command<
* @internal
*/
private serialize(input: ApplyArchiveRuleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1ApplyArchiveRuleCommand(input, context);
return se_ApplyArchiveRuleCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ApplyArchiveRuleCommandOutput> {
return deserializeAws_restJson1ApplyArchiveRuleCommand(output, context);
return de_ApplyArchiveRuleCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { CancelPolicyGenerationRequest, CancelPolicyGenerationResponse } from "../models/models_0";
import {
deserializeAws_restJson1CancelPolicyGenerationCommand,
serializeAws_restJson1CancelPolicyGenerationCommand,
} from "../protocols/Aws_restJson1";
import { de_CancelPolicyGenerationCommand, se_CancelPolicyGenerationCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -132,14 +129,14 @@ export class CancelPolicyGenerationCommand extends $Command<
* @internal
*/
private serialize(input: CancelPolicyGenerationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1CancelPolicyGenerationCommand(input, context);
return se_CancelPolicyGenerationCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelPolicyGenerationCommandOutput> {
return deserializeAws_restJson1CancelPolicyGenerationCommand(output, context);
return de_CancelPolicyGenerationCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { CreateAccessPreviewRequest, CreateAccessPreviewResponse } from "../models/models_0";
import {
deserializeAws_restJson1CreateAccessPreviewCommand,
serializeAws_restJson1CreateAccessPreviewCommand,
} from "../protocols/Aws_restJson1";
import { de_CreateAccessPreviewCommand, se_CreateAccessPreviewCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -249,14 +246,14 @@ export class CreateAccessPreviewCommand extends $Command<
* @internal
*/
private serialize(input: CreateAccessPreviewCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1CreateAccessPreviewCommand(input, context);
return se_CreateAccessPreviewCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAccessPreviewCommandOutput> {
return deserializeAws_restJson1CreateAccessPreviewCommand(output, context);
return de_CreateAccessPreviewCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { CreateAnalyzerRequest, CreateAnalyzerResponse } from "../models/models_0";
import {
deserializeAws_restJson1CreateAnalyzerCommand,
serializeAws_restJson1CreateAnalyzerCommand,
} from "../protocols/Aws_restJson1";
import { de_CreateAnalyzerCommand, se_CreateAnalyzerCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -162,14 +159,14 @@ export class CreateAnalyzerCommand extends $Command<
* @internal
*/
private serialize(input: CreateAnalyzerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1CreateAnalyzerCommand(input, context);
return se_CreateAnalyzerCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAnalyzerCommandOutput> {
return deserializeAws_restJson1CreateAnalyzerCommand(output, context);
return de_CreateAnalyzerCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { CreateArchiveRuleRequest } from "../models/models_0";
import {
deserializeAws_restJson1CreateArchiveRuleCommand,
serializeAws_restJson1CreateArchiveRuleCommand,
} from "../protocols/Aws_restJson1";
import { de_CreateArchiveRuleCommand, se_CreateArchiveRuleCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -159,14 +156,14 @@ export class CreateArchiveRuleCommand extends $Command<
* @internal
*/
private serialize(input: CreateArchiveRuleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1CreateArchiveRuleCommand(input, context);
return se_CreateArchiveRuleCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateArchiveRuleCommandOutput> {
return deserializeAws_restJson1CreateArchiveRuleCommand(output, context);
return de_CreateArchiveRuleCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { DeleteAnalyzerRequest } from "../models/models_0";
import {
deserializeAws_restJson1DeleteAnalyzerCommand,
serializeAws_restJson1DeleteAnalyzerCommand,
} from "../protocols/Aws_restJson1";
import { de_DeleteAnalyzerCommand, se_DeleteAnalyzerCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -138,14 +135,14 @@ export class DeleteAnalyzerCommand extends $Command<
* @internal
*/
private serialize(input: DeleteAnalyzerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1DeleteAnalyzerCommand(input, context);
return se_DeleteAnalyzerCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAnalyzerCommandOutput> {
return deserializeAws_restJson1DeleteAnalyzerCommand(output, context);
return de_DeleteAnalyzerCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { DeleteArchiveRuleRequest } from "../models/models_0";
import {
deserializeAws_restJson1DeleteArchiveRuleCommand,
serializeAws_restJson1DeleteArchiveRuleCommand,
} from "../protocols/Aws_restJson1";
import { de_DeleteArchiveRuleCommand, se_DeleteArchiveRuleCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -137,14 +134,14 @@ export class DeleteArchiveRuleCommand extends $Command<
* @internal
*/
private serialize(input: DeleteArchiveRuleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1DeleteArchiveRuleCommand(input, context);
return se_DeleteArchiveRuleCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteArchiveRuleCommandOutput> {
return deserializeAws_restJson1DeleteArchiveRuleCommand(output, context);
return de_DeleteArchiveRuleCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { GetAccessPreviewRequest, GetAccessPreviewResponse } from "../models/models_0";
import {
deserializeAws_restJson1GetAccessPreviewCommand,
serializeAws_restJson1GetAccessPreviewCommand,
} from "../protocols/Aws_restJson1";
import { de_GetAccessPreviewCommand, se_GetAccessPreviewCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -136,14 +133,14 @@ export class GetAccessPreviewCommand extends $Command<
* @internal
*/
private serialize(input: GetAccessPreviewCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1GetAccessPreviewCommand(input, context);
return se_GetAccessPreviewCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetAccessPreviewCommandOutput> {
return deserializeAws_restJson1GetAccessPreviewCommand(output, context);
return de_GetAccessPreviewCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { GetAnalyzedResourceRequest, GetAnalyzedResourceResponse } from "../models/models_0";
import {
deserializeAws_restJson1GetAnalyzedResourceCommand,
serializeAws_restJson1GetAnalyzedResourceCommand,
} from "../protocols/Aws_restJson1";
import { de_GetAnalyzedResourceCommand, se_GetAnalyzedResourceCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -136,14 +133,14 @@ export class GetAnalyzedResourceCommand extends $Command<
* @internal
*/
private serialize(input: GetAnalyzedResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1GetAnalyzedResourceCommand(input, context);
return se_GetAnalyzedResourceCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetAnalyzedResourceCommandOutput> {
return deserializeAws_restJson1GetAnalyzedResourceCommand(output, context);
return de_GetAnalyzedResourceCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { GetAnalyzerRequest, GetAnalyzerResponse } from "../models/models_0";
import {
deserializeAws_restJson1GetAnalyzerCommand,
serializeAws_restJson1GetAnalyzerCommand,
} from "../protocols/Aws_restJson1";
import { de_GetAnalyzerCommand, se_GetAnalyzerCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -133,14 +130,14 @@ export class GetAnalyzerCommand extends $Command<
* @internal
*/
private serialize(input: GetAnalyzerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1GetAnalyzerCommand(input, context);
return se_GetAnalyzerCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetAnalyzerCommandOutput> {
return deserializeAws_restJson1GetAnalyzerCommand(output, context);
return de_GetAnalyzerCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { GetArchiveRuleRequest, GetArchiveRuleResponse } from "../models/models_0";
import {
deserializeAws_restJson1GetArchiveRuleCommand,
serializeAws_restJson1GetArchiveRuleCommand,
} from "../protocols/Aws_restJson1";
import { de_GetArchiveRuleCommand, se_GetArchiveRuleCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -137,14 +134,14 @@ export class GetArchiveRuleCommand extends $Command<
* @internal
*/
private serialize(input: GetArchiveRuleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1GetArchiveRuleCommand(input, context);
return se_GetArchiveRuleCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetArchiveRuleCommandOutput> {
return deserializeAws_restJson1GetArchiveRuleCommand(output, context);
return de_GetArchiveRuleCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { GetFindingRequest, GetFindingResponse } from "../models/models_0";
import {
deserializeAws_restJson1GetFindingCommand,
serializeAws_restJson1GetFindingCommand,
} from "../protocols/Aws_restJson1";
import { de_GetFindingCommand, se_GetFindingCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -134,14 +131,14 @@ export class GetFindingCommand extends $Command<
* @internal
*/
private serialize(input: GetFindingCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1GetFindingCommand(input, context);
return se_GetFindingCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetFindingCommandOutput> {
return deserializeAws_restJson1GetFindingCommand(output, context);
return de_GetFindingCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import {

import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
import { GetGeneratedPolicyRequest, GetGeneratedPolicyResponse } from "../models/models_0";
import {
deserializeAws_restJson1GetGeneratedPolicyCommand,
serializeAws_restJson1GetGeneratedPolicyCommand,
} from "../protocols/Aws_restJson1";
import { de_GetGeneratedPolicyCommand, se_GetGeneratedPolicyCommand } from "../protocols/Aws_restJson1";

/**
* @public
Expand Down Expand Up @@ -135,14 +132,14 @@ export class GetGeneratedPolicyCommand extends $Command<
* @internal
*/
private serialize(input: GetGeneratedPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_restJson1GetGeneratedPolicyCommand(input, context);
return se_GetGeneratedPolicyCommand(input, context);
}

/**
* @internal
*/
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetGeneratedPolicyCommandOutput> {
return deserializeAws_restJson1GetGeneratedPolicyCommand(output, context);
return de_GetGeneratedPolicyCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Loading

0 comments on commit f2e8a11

Please sign in to comment.