Skip to content

Commit e19fc4f

Browse files
kstichAllanZhengYP
authored andcommitted
chore: codegen for Smithy 1.0 updates
1 parent c65f730 commit e19fc4f

File tree

2,740 files changed

+219048
-226400
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,740 files changed

+219048
-226400
lines changed

clients/client-accessanalyzer/AccessAnalyzer.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
9797
* reasoning to analyze resource-based policies in your AWS environment. An external principal
9898
* can be another AWS account, a root user, an IAM user or role, a federated user, an AWS
9999
* service, or an anonymous user. This guide describes the AWS IAM Access Analyzer operations that you can
100-
* call programmatically. For general information about Access Analyzer,
101-
* 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>
100+
* 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>
102101
* <p>To start using Access Analyzer, you first need to create an analyzer.</p>
103102
*/
104103
export class AccessAnalyzer extends AccessAnalyzerClient {
@@ -138,7 +137,8 @@ export class AccessAnalyzer extends AccessAnalyzerClient {
138137
}
139138

140139
/**
141-
* <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>
140+
* <p>Creates an archive rule for the specified analyzer. Archive rules automatically archive
141+
* findings that meet the criteria you define when you create the rule.</p>
142142
*/
143143
public createArchiveRule(
144144
args: CreateArchiveRuleCommandInput,

clients/client-accessanalyzer/AccessAnalyzerClient.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,7 @@ export type AccessAnalyzerClientResolvedConfig = __SmithyResolvedConfiguration<
275275
* reasoning to analyze resource-based policies in your AWS environment. An external principal
276276
* can be another AWS account, a root user, an IAM user or role, a federated user, an AWS
277277
* service, or an anonymous user. This guide describes the AWS IAM Access Analyzer operations that you can
278-
* call programmatically. For general information about Access Analyzer,
279-
* 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>
278+
* 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>
280279
* <p>To start using Access Analyzer, you first need to create an analyzer.</p>
281280
*/
282281
export class AccessAnalyzerClient extends __Client<

clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
} from "../AccessAnalyzerClient";
66
import { CreateAnalyzerRequest, CreateAnalyzerResponse } from "../models/index";
77
import {
8-
deserializeAws_restJson1_1CreateAnalyzerCommand,
9-
serializeAws_restJson1_1CreateAnalyzerCommand
10-
} from "../protocols/Aws_restJson1_1";
8+
deserializeAws_restJson1CreateAnalyzerCommand,
9+
serializeAws_restJson1CreateAnalyzerCommand
10+
} from "../protocols/Aws_restJson1";
1111
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1212
import {
1313
HttpRequest as __HttpRequest,
@@ -68,14 +68,14 @@ export class CreateAnalyzerCommand extends $Command<
6868
input: CreateAnalyzerCommandInput,
6969
context: __SerdeContext
7070
): Promise<__HttpRequest> {
71-
return serializeAws_restJson1_1CreateAnalyzerCommand(input, context);
71+
return serializeAws_restJson1CreateAnalyzerCommand(input, context);
7272
}
7373

7474
private deserialize(
7575
output: __HttpResponse,
7676
context: __SerdeContext
7777
): Promise<CreateAnalyzerCommandOutput> {
78-
return deserializeAws_restJson1_1CreateAnalyzerCommand(output, context);
78+
return deserializeAws_restJson1CreateAnalyzerCommand(output, context);
7979
}
8080

8181
// Start section: command_body_extra

clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
} from "../AccessAnalyzerClient";
66
import { CreateArchiveRuleRequest } from "../models/index";
77
import {
8-
deserializeAws_restJson1_1CreateArchiveRuleCommand,
9-
serializeAws_restJson1_1CreateArchiveRuleCommand
10-
} from "../protocols/Aws_restJson1_1";
8+
deserializeAws_restJson1CreateArchiveRuleCommand,
9+
serializeAws_restJson1CreateArchiveRuleCommand
10+
} from "../protocols/Aws_restJson1";
1111
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1212
import {
1313
HttpRequest as __HttpRequest,
@@ -67,14 +67,14 @@ export class CreateArchiveRuleCommand extends $Command<
6767
input: CreateArchiveRuleCommandInput,
6868
context: __SerdeContext
6969
): Promise<__HttpRequest> {
70-
return serializeAws_restJson1_1CreateArchiveRuleCommand(input, context);
70+
return serializeAws_restJson1CreateArchiveRuleCommand(input, context);
7171
}
7272

7373
private deserialize(
7474
output: __HttpResponse,
7575
context: __SerdeContext
7676
): Promise<CreateArchiveRuleCommandOutput> {
77-
return deserializeAws_restJson1_1CreateArchiveRuleCommand(output, context);
77+
return deserializeAws_restJson1CreateArchiveRuleCommand(output, context);
7878
}
7979

8080
// Start section: command_body_extra

clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
} from "../AccessAnalyzerClient";
66
import { DeleteAnalyzerRequest } from "../models/index";
77
import {
8-
deserializeAws_restJson1_1DeleteAnalyzerCommand,
9-
serializeAws_restJson1_1DeleteAnalyzerCommand
10-
} from "../protocols/Aws_restJson1_1";
8+
deserializeAws_restJson1DeleteAnalyzerCommand,
9+
serializeAws_restJson1DeleteAnalyzerCommand
10+
} from "../protocols/Aws_restJson1";
1111
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1212
import {
1313
HttpRequest as __HttpRequest,
@@ -67,14 +67,14 @@ export class DeleteAnalyzerCommand extends $Command<
6767
input: DeleteAnalyzerCommandInput,
6868
context: __SerdeContext
6969
): Promise<__HttpRequest> {
70-
return serializeAws_restJson1_1DeleteAnalyzerCommand(input, context);
70+
return serializeAws_restJson1DeleteAnalyzerCommand(input, context);
7171
}
7272

7373
private deserialize(
7474
output: __HttpResponse,
7575
context: __SerdeContext
7676
): Promise<DeleteAnalyzerCommandOutput> {
77-
return deserializeAws_restJson1_1DeleteAnalyzerCommand(output, context);
77+
return deserializeAws_restJson1DeleteAnalyzerCommand(output, context);
7878
}
7979

8080
// Start section: command_body_extra

clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
} from "../AccessAnalyzerClient";
66
import { DeleteArchiveRuleRequest } from "../models/index";
77
import {
8-
deserializeAws_restJson1_1DeleteArchiveRuleCommand,
9-
serializeAws_restJson1_1DeleteArchiveRuleCommand
10-
} from "../protocols/Aws_restJson1_1";
8+
deserializeAws_restJson1DeleteArchiveRuleCommand,
9+
serializeAws_restJson1DeleteArchiveRuleCommand
10+
} from "../protocols/Aws_restJson1";
1111
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1212
import {
1313
HttpRequest as __HttpRequest,
@@ -67,14 +67,14 @@ export class DeleteArchiveRuleCommand extends $Command<
6767
input: DeleteArchiveRuleCommandInput,
6868
context: __SerdeContext
6969
): Promise<__HttpRequest> {
70-
return serializeAws_restJson1_1DeleteArchiveRuleCommand(input, context);
70+
return serializeAws_restJson1DeleteArchiveRuleCommand(input, context);
7171
}
7272

7373
private deserialize(
7474
output: __HttpResponse,
7575
context: __SerdeContext
7676
): Promise<DeleteArchiveRuleCommandOutput> {
77-
return deserializeAws_restJson1_1DeleteArchiveRuleCommand(output, context);
77+
return deserializeAws_restJson1DeleteArchiveRuleCommand(output, context);
7878
}
7979

8080
// Start section: command_body_extra

clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts

+5-8
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import {
88
GetAnalyzedResourceResponse
99
} from "../models/index";
1010
import {
11-
deserializeAws_restJson1_1GetAnalyzedResourceCommand,
12-
serializeAws_restJson1_1GetAnalyzedResourceCommand
13-
} from "../protocols/Aws_restJson1_1";
11+
deserializeAws_restJson1GetAnalyzedResourceCommand,
12+
serializeAws_restJson1GetAnalyzedResourceCommand
13+
} from "../protocols/Aws_restJson1";
1414
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1515
import {
1616
HttpRequest as __HttpRequest,
@@ -74,17 +74,14 @@ export class GetAnalyzedResourceCommand extends $Command<
7474
input: GetAnalyzedResourceCommandInput,
7575
context: __SerdeContext
7676
): Promise<__HttpRequest> {
77-
return serializeAws_restJson1_1GetAnalyzedResourceCommand(input, context);
77+
return serializeAws_restJson1GetAnalyzedResourceCommand(input, context);
7878
}
7979

8080
private deserialize(
8181
output: __HttpResponse,
8282
context: __SerdeContext
8383
): Promise<GetAnalyzedResourceCommandOutput> {
84-
return deserializeAws_restJson1_1GetAnalyzedResourceCommand(
85-
output,
86-
context
87-
);
84+
return deserializeAws_restJson1GetAnalyzedResourceCommand(output, context);
8885
}
8986

9087
// Start section: command_body_extra

clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
} from "../AccessAnalyzerClient";
66
import { GetAnalyzerRequest, GetAnalyzerResponse } from "../models/index";
77
import {
8-
deserializeAws_restJson1_1GetAnalyzerCommand,
9-
serializeAws_restJson1_1GetAnalyzerCommand
10-
} from "../protocols/Aws_restJson1_1";
8+
deserializeAws_restJson1GetAnalyzerCommand,
9+
serializeAws_restJson1GetAnalyzerCommand
10+
} from "../protocols/Aws_restJson1";
1111
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1212
import {
1313
HttpRequest as __HttpRequest,
@@ -67,14 +67,14 @@ export class GetAnalyzerCommand extends $Command<
6767
input: GetAnalyzerCommandInput,
6868
context: __SerdeContext
6969
): Promise<__HttpRequest> {
70-
return serializeAws_restJson1_1GetAnalyzerCommand(input, context);
70+
return serializeAws_restJson1GetAnalyzerCommand(input, context);
7171
}
7272

7373
private deserialize(
7474
output: __HttpResponse,
7575
context: __SerdeContext
7676
): Promise<GetAnalyzerCommandOutput> {
77-
return deserializeAws_restJson1_1GetAnalyzerCommand(output, context);
77+
return deserializeAws_restJson1GetAnalyzerCommand(output, context);
7878
}
7979

8080
// Start section: command_body_extra

clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
} from "../AccessAnalyzerClient";
66
import { GetArchiveRuleRequest, GetArchiveRuleResponse } from "../models/index";
77
import {
8-
deserializeAws_restJson1_1GetArchiveRuleCommand,
9-
serializeAws_restJson1_1GetArchiveRuleCommand
10-
} from "../protocols/Aws_restJson1_1";
8+
deserializeAws_restJson1GetArchiveRuleCommand,
9+
serializeAws_restJson1GetArchiveRuleCommand
10+
} from "../protocols/Aws_restJson1";
1111
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1212
import {
1313
HttpRequest as __HttpRequest,
@@ -68,14 +68,14 @@ export class GetArchiveRuleCommand extends $Command<
6868
input: GetArchiveRuleCommandInput,
6969
context: __SerdeContext
7070
): Promise<__HttpRequest> {
71-
return serializeAws_restJson1_1GetArchiveRuleCommand(input, context);
71+
return serializeAws_restJson1GetArchiveRuleCommand(input, context);
7272
}
7373

7474
private deserialize(
7575
output: __HttpResponse,
7676
context: __SerdeContext
7777
): Promise<GetArchiveRuleCommandOutput> {
78-
return deserializeAws_restJson1_1GetArchiveRuleCommand(output, context);
78+
return deserializeAws_restJson1GetArchiveRuleCommand(output, context);
7979
}
8080

8181
// Start section: command_body_extra

clients/client-accessanalyzer/commands/GetFindingCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
} from "../AccessAnalyzerClient";
66
import { GetFindingRequest, GetFindingResponse } from "../models/index";
77
import {
8-
deserializeAws_restJson1_1GetFindingCommand,
9-
serializeAws_restJson1_1GetFindingCommand
10-
} from "../protocols/Aws_restJson1_1";
8+
deserializeAws_restJson1GetFindingCommand,
9+
serializeAws_restJson1GetFindingCommand
10+
} from "../protocols/Aws_restJson1";
1111
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1212
import {
1313
HttpRequest as __HttpRequest,
@@ -67,14 +67,14 @@ export class GetFindingCommand extends $Command<
6767
input: GetFindingCommandInput,
6868
context: __SerdeContext
6969
): Promise<__HttpRequest> {
70-
return serializeAws_restJson1_1GetFindingCommand(input, context);
70+
return serializeAws_restJson1GetFindingCommand(input, context);
7171
}
7272

7373
private deserialize(
7474
output: __HttpResponse,
7575
context: __SerdeContext
7676
): Promise<GetFindingCommandOutput> {
77-
return deserializeAws_restJson1_1GetFindingCommand(output, context);
77+
return deserializeAws_restJson1GetFindingCommand(output, context);
7878
}
7979

8080
// Start section: command_body_extra

clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import {
88
ListAnalyzedResourcesResponse
99
} from "../models/index";
1010
import {
11-
deserializeAws_restJson1_1ListAnalyzedResourcesCommand,
12-
serializeAws_restJson1_1ListAnalyzedResourcesCommand
13-
} from "../protocols/Aws_restJson1_1";
11+
deserializeAws_restJson1ListAnalyzedResourcesCommand,
12+
serializeAws_restJson1ListAnalyzedResourcesCommand
13+
} from "../protocols/Aws_restJson1";
1414
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1515
import {
1616
HttpRequest as __HttpRequest,
@@ -74,14 +74,14 @@ export class ListAnalyzedResourcesCommand extends $Command<
7474
input: ListAnalyzedResourcesCommandInput,
7575
context: __SerdeContext
7676
): Promise<__HttpRequest> {
77-
return serializeAws_restJson1_1ListAnalyzedResourcesCommand(input, context);
77+
return serializeAws_restJson1ListAnalyzedResourcesCommand(input, context);
7878
}
7979

8080
private deserialize(
8181
output: __HttpResponse,
8282
context: __SerdeContext
8383
): Promise<ListAnalyzedResourcesCommandOutput> {
84-
return deserializeAws_restJson1_1ListAnalyzedResourcesCommand(
84+
return deserializeAws_restJson1ListAnalyzedResourcesCommand(
8585
output,
8686
context
8787
);

clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
} from "../AccessAnalyzerClient";
66
import { ListAnalyzersRequest, ListAnalyzersResponse } from "../models/index";
77
import {
8-
deserializeAws_restJson1_1ListAnalyzersCommand,
9-
serializeAws_restJson1_1ListAnalyzersCommand
10-
} from "../protocols/Aws_restJson1_1";
8+
deserializeAws_restJson1ListAnalyzersCommand,
9+
serializeAws_restJson1ListAnalyzersCommand
10+
} from "../protocols/Aws_restJson1";
1111
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1212
import {
1313
HttpRequest as __HttpRequest,
@@ -68,14 +68,14 @@ export class ListAnalyzersCommand extends $Command<
6868
input: ListAnalyzersCommandInput,
6969
context: __SerdeContext
7070
): Promise<__HttpRequest> {
71-
return serializeAws_restJson1_1ListAnalyzersCommand(input, context);
71+
return serializeAws_restJson1ListAnalyzersCommand(input, context);
7272
}
7373

7474
private deserialize(
7575
output: __HttpResponse,
7676
context: __SerdeContext
7777
): Promise<ListAnalyzersCommandOutput> {
78-
return deserializeAws_restJson1_1ListAnalyzersCommand(output, context);
78+
return deserializeAws_restJson1ListAnalyzersCommand(output, context);
7979
}
8080

8181
// Start section: command_body_extra

clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import {
88
ListArchiveRulesResponse
99
} from "../models/index";
1010
import {
11-
deserializeAws_restJson1_1ListArchiveRulesCommand,
12-
serializeAws_restJson1_1ListArchiveRulesCommand
13-
} from "../protocols/Aws_restJson1_1";
11+
deserializeAws_restJson1ListArchiveRulesCommand,
12+
serializeAws_restJson1ListArchiveRulesCommand
13+
} from "../protocols/Aws_restJson1";
1414
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1515
import {
1616
HttpRequest as __HttpRequest,
@@ -71,14 +71,14 @@ export class ListArchiveRulesCommand extends $Command<
7171
input: ListArchiveRulesCommandInput,
7272
context: __SerdeContext
7373
): Promise<__HttpRequest> {
74-
return serializeAws_restJson1_1ListArchiveRulesCommand(input, context);
74+
return serializeAws_restJson1ListArchiveRulesCommand(input, context);
7575
}
7676

7777
private deserialize(
7878
output: __HttpResponse,
7979
context: __SerdeContext
8080
): Promise<ListArchiveRulesCommandOutput> {
81-
return deserializeAws_restJson1_1ListArchiveRulesCommand(output, context);
81+
return deserializeAws_restJson1ListArchiveRulesCommand(output, context);
8282
}
8383

8484
// Start section: command_body_extra

clients/client-accessanalyzer/commands/ListFindingsCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
} from "../AccessAnalyzerClient";
66
import { ListFindingsRequest, ListFindingsResponse } from "../models/index";
77
import {
8-
deserializeAws_restJson1_1ListFindingsCommand,
9-
serializeAws_restJson1_1ListFindingsCommand
10-
} from "../protocols/Aws_restJson1_1";
8+
deserializeAws_restJson1ListFindingsCommand,
9+
serializeAws_restJson1ListFindingsCommand
10+
} from "../protocols/Aws_restJson1";
1111
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
1212
import {
1313
HttpRequest as __HttpRequest,
@@ -67,14 +67,14 @@ export class ListFindingsCommand extends $Command<
6767
input: ListFindingsCommandInput,
6868
context: __SerdeContext
6969
): Promise<__HttpRequest> {
70-
return serializeAws_restJson1_1ListFindingsCommand(input, context);
70+
return serializeAws_restJson1ListFindingsCommand(input, context);
7171
}
7272

7373
private deserialize(
7474
output: __HttpResponse,
7575
context: __SerdeContext
7676
): Promise<ListFindingsCommandOutput> {
77-
return deserializeAws_restJson1_1ListFindingsCommand(output, context);
77+
return deserializeAws_restJson1ListFindingsCommand(output, context);
7878
}
7979

8080
// Start section: command_body_extra

0 commit comments

Comments
 (0)