Skip to content

Commit

Permalink
chore: codegen for Smithy 1.0 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kstich authored and AllanZhengYP committed Jun 5, 2020
1 parent c65f730 commit e19fc4f
Show file tree
Hide file tree
Showing 2,740 changed files with 219,048 additions and 226,400 deletions.
6 changes: 3 additions & 3 deletions clients/client-accessanalyzer/AccessAnalyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
* reasoning to analyze resource-based policies in your AWS environment. An external principal
* can be another AWS account, a root user, an IAM user or role, a federated user, an AWS
* service, or an anonymous user. This guide describes the AWS IAM Access Analyzer operations that you can
* call programmatically. For general information about Access Analyzer,
* see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">AWS IAM Access Analyzer section of the IAM User Guide</a>.</p>
* call programmatically. For general information about Access Analyzer, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">AWS IAM Access Analyzer section of the IAM User Guide</a>.</p>
* <p>To start using Access Analyzer, you first need to create an analyzer.</p>
*/
export class AccessAnalyzer extends AccessAnalyzerClient {
Expand Down Expand Up @@ -138,7 +137,8 @@ export class AccessAnalyzer extends AccessAnalyzerClient {
}

/**
* <p>Creates an archive rule for the specified analyzer. Archive rules automatically archive findings that meet the criteria you define when you create the rule.</p>
* <p>Creates an archive rule for the specified analyzer. Archive rules automatically archive
* findings that meet the criteria you define when you create the rule.</p>
*/
public createArchiveRule(
args: CreateArchiveRuleCommandInput,
Expand Down
3 changes: 1 addition & 2 deletions clients/client-accessanalyzer/AccessAnalyzerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ export type AccessAnalyzerClientResolvedConfig = __SmithyResolvedConfiguration<
* reasoning to analyze resource-based policies in your AWS environment. An external principal
* can be another AWS account, a root user, an IAM user or role, a federated user, an AWS
* service, or an anonymous user. This guide describes the AWS IAM Access Analyzer operations that you can
* call programmatically. For general information about Access Analyzer,
* see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">AWS IAM Access Analyzer section of the IAM User Guide</a>.</p>
* call programmatically. For general information about Access Analyzer, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">AWS IAM Access Analyzer section of the IAM User Guide</a>.</p>
* <p>To start using Access Analyzer, you first need to create an analyzer.</p>
*/
export class AccessAnalyzerClient extends __Client<
Expand Down
10 changes: 5 additions & 5 deletions clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from "../AccessAnalyzerClient";
import { CreateAnalyzerRequest, CreateAnalyzerResponse } from "../models/index";
import {
deserializeAws_restJson1_1CreateAnalyzerCommand,
serializeAws_restJson1_1CreateAnalyzerCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1CreateAnalyzerCommand,
serializeAws_restJson1CreateAnalyzerCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -68,14 +68,14 @@ export class CreateAnalyzerCommand extends $Command<
input: CreateAnalyzerCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1CreateAnalyzerCommand(input, context);
return serializeAws_restJson1CreateAnalyzerCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<CreateAnalyzerCommandOutput> {
return deserializeAws_restJson1_1CreateAnalyzerCommand(output, context);
return deserializeAws_restJson1CreateAnalyzerCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from "../AccessAnalyzerClient";
import { CreateArchiveRuleRequest } from "../models/index";
import {
deserializeAws_restJson1_1CreateArchiveRuleCommand,
serializeAws_restJson1_1CreateArchiveRuleCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1CreateArchiveRuleCommand,
serializeAws_restJson1CreateArchiveRuleCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -67,14 +67,14 @@ export class CreateArchiveRuleCommand extends $Command<
input: CreateArchiveRuleCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1CreateArchiveRuleCommand(input, context);
return serializeAws_restJson1CreateArchiveRuleCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<CreateArchiveRuleCommandOutput> {
return deserializeAws_restJson1_1CreateArchiveRuleCommand(output, context);
return deserializeAws_restJson1CreateArchiveRuleCommand(output, context);
}

// Start section: command_body_extra
Expand Down
10 changes: 5 additions & 5 deletions clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from "../AccessAnalyzerClient";
import { DeleteAnalyzerRequest } from "../models/index";
import {
deserializeAws_restJson1_1DeleteAnalyzerCommand,
serializeAws_restJson1_1DeleteAnalyzerCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1DeleteAnalyzerCommand,
serializeAws_restJson1DeleteAnalyzerCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -67,14 +67,14 @@ export class DeleteAnalyzerCommand extends $Command<
input: DeleteAnalyzerCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1DeleteAnalyzerCommand(input, context);
return serializeAws_restJson1DeleteAnalyzerCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<DeleteAnalyzerCommandOutput> {
return deserializeAws_restJson1_1DeleteAnalyzerCommand(output, context);
return deserializeAws_restJson1DeleteAnalyzerCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from "../AccessAnalyzerClient";
import { DeleteArchiveRuleRequest } from "../models/index";
import {
deserializeAws_restJson1_1DeleteArchiveRuleCommand,
serializeAws_restJson1_1DeleteArchiveRuleCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1DeleteArchiveRuleCommand,
serializeAws_restJson1DeleteArchiveRuleCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -67,14 +67,14 @@ export class DeleteArchiveRuleCommand extends $Command<
input: DeleteArchiveRuleCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1DeleteArchiveRuleCommand(input, context);
return serializeAws_restJson1DeleteArchiveRuleCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<DeleteArchiveRuleCommandOutput> {
return deserializeAws_restJson1_1DeleteArchiveRuleCommand(output, context);
return deserializeAws_restJson1DeleteArchiveRuleCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import {
GetAnalyzedResourceResponse
} from "../models/index";
import {
deserializeAws_restJson1_1GetAnalyzedResourceCommand,
serializeAws_restJson1_1GetAnalyzedResourceCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1GetAnalyzedResourceCommand,
serializeAws_restJson1GetAnalyzedResourceCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -74,17 +74,14 @@ export class GetAnalyzedResourceCommand extends $Command<
input: GetAnalyzedResourceCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1GetAnalyzedResourceCommand(input, context);
return serializeAws_restJson1GetAnalyzedResourceCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<GetAnalyzedResourceCommandOutput> {
return deserializeAws_restJson1_1GetAnalyzedResourceCommand(
output,
context
);
return deserializeAws_restJson1GetAnalyzedResourceCommand(output, context);
}

// Start section: command_body_extra
Expand Down
10 changes: 5 additions & 5 deletions clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from "../AccessAnalyzerClient";
import { GetAnalyzerRequest, GetAnalyzerResponse } from "../models/index";
import {
deserializeAws_restJson1_1GetAnalyzerCommand,
serializeAws_restJson1_1GetAnalyzerCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1GetAnalyzerCommand,
serializeAws_restJson1GetAnalyzerCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -67,14 +67,14 @@ export class GetAnalyzerCommand extends $Command<
input: GetAnalyzerCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1GetAnalyzerCommand(input, context);
return serializeAws_restJson1GetAnalyzerCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<GetAnalyzerCommandOutput> {
return deserializeAws_restJson1_1GetAnalyzerCommand(output, context);
return deserializeAws_restJson1GetAnalyzerCommand(output, context);
}

// Start section: command_body_extra
Expand Down
10 changes: 5 additions & 5 deletions clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from "../AccessAnalyzerClient";
import { GetArchiveRuleRequest, GetArchiveRuleResponse } from "../models/index";
import {
deserializeAws_restJson1_1GetArchiveRuleCommand,
serializeAws_restJson1_1GetArchiveRuleCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1GetArchiveRuleCommand,
serializeAws_restJson1GetArchiveRuleCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -68,14 +68,14 @@ export class GetArchiveRuleCommand extends $Command<
input: GetArchiveRuleCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1GetArchiveRuleCommand(input, context);
return serializeAws_restJson1GetArchiveRuleCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<GetArchiveRuleCommandOutput> {
return deserializeAws_restJson1_1GetArchiveRuleCommand(output, context);
return deserializeAws_restJson1GetArchiveRuleCommand(output, context);
}

// Start section: command_body_extra
Expand Down
10 changes: 5 additions & 5 deletions clients/client-accessanalyzer/commands/GetFindingCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from "../AccessAnalyzerClient";
import { GetFindingRequest, GetFindingResponse } from "../models/index";
import {
deserializeAws_restJson1_1GetFindingCommand,
serializeAws_restJson1_1GetFindingCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1GetFindingCommand,
serializeAws_restJson1GetFindingCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -67,14 +67,14 @@ export class GetFindingCommand extends $Command<
input: GetFindingCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1GetFindingCommand(input, context);
return serializeAws_restJson1GetFindingCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<GetFindingCommandOutput> {
return deserializeAws_restJson1_1GetFindingCommand(output, context);
return deserializeAws_restJson1GetFindingCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import {
ListAnalyzedResourcesResponse
} from "../models/index";
import {
deserializeAws_restJson1_1ListAnalyzedResourcesCommand,
serializeAws_restJson1_1ListAnalyzedResourcesCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1ListAnalyzedResourcesCommand,
serializeAws_restJson1ListAnalyzedResourcesCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -74,14 +74,14 @@ export class ListAnalyzedResourcesCommand extends $Command<
input: ListAnalyzedResourcesCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1ListAnalyzedResourcesCommand(input, context);
return serializeAws_restJson1ListAnalyzedResourcesCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<ListAnalyzedResourcesCommandOutput> {
return deserializeAws_restJson1_1ListAnalyzedResourcesCommand(
return deserializeAws_restJson1ListAnalyzedResourcesCommand(
output,
context
);
Expand Down
10 changes: 5 additions & 5 deletions clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from "../AccessAnalyzerClient";
import { ListAnalyzersRequest, ListAnalyzersResponse } from "../models/index";
import {
deserializeAws_restJson1_1ListAnalyzersCommand,
serializeAws_restJson1_1ListAnalyzersCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1ListAnalyzersCommand,
serializeAws_restJson1ListAnalyzersCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -68,14 +68,14 @@ export class ListAnalyzersCommand extends $Command<
input: ListAnalyzersCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1ListAnalyzersCommand(input, context);
return serializeAws_restJson1ListAnalyzersCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<ListAnalyzersCommandOutput> {
return deserializeAws_restJson1_1ListAnalyzersCommand(output, context);
return deserializeAws_restJson1ListAnalyzersCommand(output, context);
}

// Start section: command_body_extra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import {
ListArchiveRulesResponse
} from "../models/index";
import {
deserializeAws_restJson1_1ListArchiveRulesCommand,
serializeAws_restJson1_1ListArchiveRulesCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1ListArchiveRulesCommand,
serializeAws_restJson1ListArchiveRulesCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -71,14 +71,14 @@ export class ListArchiveRulesCommand extends $Command<
input: ListArchiveRulesCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1ListArchiveRulesCommand(input, context);
return serializeAws_restJson1ListArchiveRulesCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<ListArchiveRulesCommandOutput> {
return deserializeAws_restJson1_1ListArchiveRulesCommand(output, context);
return deserializeAws_restJson1ListArchiveRulesCommand(output, context);
}

// Start section: command_body_extra
Expand Down
10 changes: 5 additions & 5 deletions clients/client-accessanalyzer/commands/ListFindingsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from "../AccessAnalyzerClient";
import { ListFindingsRequest, ListFindingsResponse } from "../models/index";
import {
deserializeAws_restJson1_1ListFindingsCommand,
serializeAws_restJson1_1ListFindingsCommand
} from "../protocols/Aws_restJson1_1";
deserializeAws_restJson1ListFindingsCommand,
serializeAws_restJson1ListFindingsCommand
} from "../protocols/Aws_restJson1";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import {
HttpRequest as __HttpRequest,
Expand Down Expand Up @@ -67,14 +67,14 @@ export class ListFindingsCommand extends $Command<
input: ListFindingsCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_restJson1_1ListFindingsCommand(input, context);
return serializeAws_restJson1ListFindingsCommand(input, context);
}

private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<ListFindingsCommandOutput> {
return deserializeAws_restJson1_1ListFindingsCommand(output, context);
return deserializeAws_restJson1ListFindingsCommand(output, context);
}

// Start section: command_body_extra
Expand Down

0 comments on commit e19fc4f

Please sign in to comment.