Skip to content

Commit ef7808c

Browse files
committed
chore: codegen
1 parent d9c5305 commit ef7808c

File tree

9,662 files changed

+521324
-747110
lines changed

Some content is hidden

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

9,662 files changed

+521324
-747110
lines changed

clients/client-accessanalyzer/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
"@smithy/util-middleware": "^4.2.4",
5757
"@smithy/util-retry": "^4.2.4",
5858
"@smithy/util-utf8": "^4.2.0",
59-
"@smithy/uuid": "^1.1.0",
6059
"tslib": "^2.6.2"
6160
},
6261
"devDependencies": {

clients/client-accessanalyzer/src/AccessAnalyzerClient.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
getHttpAuthSchemeEndpointRuleSetPlugin,
2020
getHttpSigningPlugin,
2121
} from "@smithy/core";
22+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
2223
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
2324
import { EndpointInputConfig, EndpointResolvedConfig, resolveEndpointConfig } from "@smithy/middleware-endpoint";
2425
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
@@ -34,11 +35,14 @@ import {
3435
BodyLengthCalculator as __BodyLengthCalculator,
3536
CheckOptionalClientConfig as __CheckOptionalClientConfig,
3637
ChecksumConstructor as __ChecksumConstructor,
38+
ClientProtocol,
3739
Decoder as __Decoder,
3840
Encoder as __Encoder,
3941
EndpointV2 as __EndpointV2,
4042
HashConstructor as __HashConstructor,
4143
HttpHandlerOptions as __HttpHandlerOptions,
44+
HttpRequest,
45+
HttpResponse,
4246
Logger as __Logger,
4347
Provider as __Provider,
4448
Provider,
@@ -369,6 +373,16 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
369373
*/
370374
extensions?: RuntimeExtension[];
371375

376+
/**
377+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
378+
* may be overridden. A default will always be set by the client.
379+
* Available options depend on the service's supported protocols and will not be validated by
380+
* the client.
381+
* @alpha
382+
*
383+
*/
384+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
385+
372386
/**
373387
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
374388
*/
@@ -442,6 +456,7 @@ export class AccessAnalyzerClient extends __Client<
442456
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
443457
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
444458
this.config = _config_8;
459+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
445460
this.middlewareStack.use(getUserAgentPlugin(this.config));
446461
this.middlewareStack.use(getRetryPlugin(this.config));
447462
this.middlewareStack.use(getContentLengthPlugin(this.config));

clients/client-accessanalyzer/src/commands/ApplyArchiveRuleCommand.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
// smithy-typescript generated code
22
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3-
import { getSerdePlugin } from "@smithy/middleware-serde";
43
import { Command as $Command } from "@smithy/smithy-client";
54
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
65

76
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
87
import { commonParams } from "../endpoint/EndpointParameters";
98
import { ApplyArchiveRuleRequest } from "../models/models_0";
10-
import { de_ApplyArchiveRuleCommand, se_ApplyArchiveRuleCommand } from "../protocols/Aws_restJson1";
9+
import { ApplyArchiveRule } from "../schemas/schemas_0";
1110

1211
/**
1312
* @public
@@ -85,16 +84,11 @@ export class ApplyArchiveRuleCommand extends $Command
8584
>()
8685
.ep(commonParams)
8786
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
88-
return [
89-
getSerdePlugin(config, this.serialize, this.deserialize),
90-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
91-
];
87+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
9288
})
9389
.s("AccessAnalyzer", "ApplyArchiveRule", {})
9490
.n("AccessAnalyzerClient", "ApplyArchiveRuleCommand")
95-
.f(void 0, void 0)
96-
.ser(se_ApplyArchiveRuleCommand)
97-
.de(de_ApplyArchiveRuleCommand)
91+
.sc(ApplyArchiveRule)
9892
.build() {
9993
/** @internal type navigation helper, not in runtime. */
10094
protected declare static __types: {

clients/client-accessanalyzer/src/commands/CancelPolicyGenerationCommand.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
// smithy-typescript generated code
22
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3-
import { getSerdePlugin } from "@smithy/middleware-serde";
43
import { Command as $Command } from "@smithy/smithy-client";
54
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
65

76
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
87
import { commonParams } from "../endpoint/EndpointParameters";
98
import { CancelPolicyGenerationRequest, CancelPolicyGenerationResponse } from "../models/models_0";
10-
import { de_CancelPolicyGenerationCommand, se_CancelPolicyGenerationCommand } from "../protocols/Aws_restJson1";
9+
import { CancelPolicyGeneration } from "../schemas/schemas_0";
1110

1211
/**
1312
* @public
@@ -80,16 +79,11 @@ export class CancelPolicyGenerationCommand extends $Command
8079
>()
8180
.ep(commonParams)
8281
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
83-
return [
84-
getSerdePlugin(config, this.serialize, this.deserialize),
85-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
86-
];
82+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
8783
})
8884
.s("AccessAnalyzer", "CancelPolicyGeneration", {})
8985
.n("AccessAnalyzerClient", "CancelPolicyGenerationCommand")
90-
.f(void 0, void 0)
91-
.ser(se_CancelPolicyGenerationCommand)
92-
.de(de_CancelPolicyGenerationCommand)
86+
.sc(CancelPolicyGeneration)
9387
.build() {
9488
/** @internal type navigation helper, not in runtime. */
9589
protected declare static __types: {

clients/client-accessanalyzer/src/commands/CheckAccessNotGrantedCommand.ts

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
// smithy-typescript generated code
22
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3-
import { getSerdePlugin } from "@smithy/middleware-serde";
43
import { Command as $Command } from "@smithy/smithy-client";
54
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
65

76
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
87
import { commonParams } from "../endpoint/EndpointParameters";
9-
import {
10-
CheckAccessNotGrantedRequest,
11-
CheckAccessNotGrantedRequestFilterSensitiveLog,
12-
CheckAccessNotGrantedResponse,
13-
} from "../models/models_0";
14-
import { de_CheckAccessNotGrantedCommand, se_CheckAccessNotGrantedCommand } from "../protocols/Aws_restJson1";
8+
import { CheckAccessNotGrantedRequest, CheckAccessNotGrantedResponse } from "../models/models_0";
9+
import { CheckAccessNotGranted } from "../schemas/schemas_0";
1510

1611
/**
1712
* @public
@@ -190,16 +185,11 @@ export class CheckAccessNotGrantedCommand extends $Command
190185
>()
191186
.ep(commonParams)
192187
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
193-
return [
194-
getSerdePlugin(config, this.serialize, this.deserialize),
195-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
196-
];
188+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
197189
})
198190
.s("AccessAnalyzer", "CheckAccessNotGranted", {})
199191
.n("AccessAnalyzerClient", "CheckAccessNotGrantedCommand")
200-
.f(CheckAccessNotGrantedRequestFilterSensitiveLog, void 0)
201-
.ser(se_CheckAccessNotGrantedCommand)
202-
.de(de_CheckAccessNotGrantedCommand)
192+
.sc(CheckAccessNotGranted)
203193
.build() {
204194
/** @internal type navigation helper, not in runtime. */
205195
protected declare static __types: {

clients/client-accessanalyzer/src/commands/CheckNoNewAccessCommand.ts

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
// smithy-typescript generated code
22
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3-
import { getSerdePlugin } from "@smithy/middleware-serde";
43
import { Command as $Command } from "@smithy/smithy-client";
54
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
65

76
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
87
import { commonParams } from "../endpoint/EndpointParameters";
9-
import {
10-
CheckNoNewAccessRequest,
11-
CheckNoNewAccessRequestFilterSensitiveLog,
12-
CheckNoNewAccessResponse,
13-
} from "../models/models_0";
14-
import { de_CheckNoNewAccessCommand, se_CheckNoNewAccessCommand } from "../protocols/Aws_restJson1";
8+
import { CheckNoNewAccessRequest, CheckNoNewAccessResponse } from "../models/models_0";
9+
import { CheckNoNewAccess } from "../schemas/schemas_0";
1510

1611
/**
1712
* @public
@@ -102,16 +97,11 @@ export class CheckNoNewAccessCommand extends $Command
10297
>()
10398
.ep(commonParams)
10499
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
105-
return [
106-
getSerdePlugin(config, this.serialize, this.deserialize),
107-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
108-
];
100+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
109101
})
110102
.s("AccessAnalyzer", "CheckNoNewAccess", {})
111103
.n("AccessAnalyzerClient", "CheckNoNewAccessCommand")
112-
.f(CheckNoNewAccessRequestFilterSensitiveLog, void 0)
113-
.ser(se_CheckNoNewAccessCommand)
114-
.de(de_CheckNoNewAccessCommand)
104+
.sc(CheckNoNewAccess)
115105
.build() {
116106
/** @internal type navigation helper, not in runtime. */
117107
protected declare static __types: {

clients/client-accessanalyzer/src/commands/CheckNoPublicAccessCommand.ts

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
// smithy-typescript generated code
22
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3-
import { getSerdePlugin } from "@smithy/middleware-serde";
43
import { Command as $Command } from "@smithy/smithy-client";
54
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
65

76
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
87
import { commonParams } from "../endpoint/EndpointParameters";
9-
import {
10-
CheckNoPublicAccessRequest,
11-
CheckNoPublicAccessRequestFilterSensitiveLog,
12-
CheckNoPublicAccessResponse,
13-
} from "../models/models_0";
14-
import { de_CheckNoPublicAccessCommand, se_CheckNoPublicAccessCommand } from "../protocols/Aws_restJson1";
8+
import { CheckNoPublicAccessRequest, CheckNoPublicAccessResponse } from "../models/models_0";
9+
import { CheckNoPublicAccess } from "../schemas/schemas_0";
1510

1611
/**
1712
* @public
@@ -142,16 +137,11 @@ export class CheckNoPublicAccessCommand extends $Command
142137
>()
143138
.ep(commonParams)
144139
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
145-
return [
146-
getSerdePlugin(config, this.serialize, this.deserialize),
147-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
148-
];
140+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
149141
})
150142
.s("AccessAnalyzer", "CheckNoPublicAccess", {})
151143
.n("AccessAnalyzerClient", "CheckNoPublicAccessCommand")
152-
.f(CheckNoPublicAccessRequestFilterSensitiveLog, void 0)
153-
.ser(se_CheckNoPublicAccessCommand)
154-
.de(de_CheckNoPublicAccessCommand)
144+
.sc(CheckNoPublicAccess)
155145
.build() {
156146
/** @internal type navigation helper, not in runtime. */
157147
protected declare static __types: {

clients/client-accessanalyzer/src/commands/CreateAccessPreviewCommand.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
// smithy-typescript generated code
22
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3-
import { getSerdePlugin } from "@smithy/middleware-serde";
43
import { Command as $Command } from "@smithy/smithy-client";
54
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
65

76
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
87
import { commonParams } from "../endpoint/EndpointParameters";
98
import { CreateAccessPreviewRequest, CreateAccessPreviewResponse } from "../models/models_0";
10-
import { de_CreateAccessPreviewCommand, se_CreateAccessPreviewCommand } from "../protocols/Aws_restJson1";
9+
import { CreateAccessPreview } from "../schemas/schemas_0";
1110

1211
/**
1312
* @public
@@ -218,16 +217,11 @@ export class CreateAccessPreviewCommand extends $Command
218217
>()
219218
.ep(commonParams)
220219
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
221-
return [
222-
getSerdePlugin(config, this.serialize, this.deserialize),
223-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
224-
];
220+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
225221
})
226222
.s("AccessAnalyzer", "CreateAccessPreview", {})
227223
.n("AccessAnalyzerClient", "CreateAccessPreviewCommand")
228-
.f(void 0, void 0)
229-
.ser(se_CreateAccessPreviewCommand)
230-
.de(de_CreateAccessPreviewCommand)
224+
.sc(CreateAccessPreview)
231225
.build() {
232226
/** @internal type navigation helper, not in runtime. */
233227
protected declare static __types: {

clients/client-accessanalyzer/src/commands/CreateAnalyzerCommand.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
// smithy-typescript generated code
22
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3-
import { getSerdePlugin } from "@smithy/middleware-serde";
43
import { Command as $Command } from "@smithy/smithy-client";
54
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
65

76
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
87
import { commonParams } from "../endpoint/EndpointParameters";
98
import { CreateAnalyzerRequest, CreateAnalyzerResponse } from "../models/models_0";
10-
import { de_CreateAnalyzerCommand, se_CreateAnalyzerCommand } from "../protocols/Aws_restJson1";
9+
import { CreateAnalyzer } from "../schemas/schemas_0";
1110

1211
/**
1312
* @public
@@ -148,16 +147,11 @@ export class CreateAnalyzerCommand extends $Command
148147
>()
149148
.ep(commonParams)
150149
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
151-
return [
152-
getSerdePlugin(config, this.serialize, this.deserialize),
153-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
154-
];
150+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155151
})
156152
.s("AccessAnalyzer", "CreateAnalyzer", {})
157153
.n("AccessAnalyzerClient", "CreateAnalyzerCommand")
158-
.f(void 0, void 0)
159-
.ser(se_CreateAnalyzerCommand)
160-
.de(de_CreateAnalyzerCommand)
154+
.sc(CreateAnalyzer)
161155
.build() {
162156
/** @internal type navigation helper, not in runtime. */
163157
protected declare static __types: {

clients/client-accessanalyzer/src/commands/CreateArchiveRuleCommand.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
// smithy-typescript generated code
22
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3-
import { getSerdePlugin } from "@smithy/middleware-serde";
43
import { Command as $Command } from "@smithy/smithy-client";
54
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
65

76
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
87
import { commonParams } from "../endpoint/EndpointParameters";
98
import { CreateArchiveRuleRequest } from "../models/models_0";
10-
import { de_CreateArchiveRuleCommand, se_CreateArchiveRuleCommand } from "../protocols/Aws_restJson1";
9+
import { CreateArchiveRule } from "../schemas/schemas_0";
1110

1211
/**
1312
* @public
@@ -105,16 +104,11 @@ export class CreateArchiveRuleCommand extends $Command
105104
>()
106105
.ep(commonParams)
107106
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
108-
return [
109-
getSerdePlugin(config, this.serialize, this.deserialize),
110-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
111-
];
107+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
112108
})
113109
.s("AccessAnalyzer", "CreateArchiveRule", {})
114110
.n("AccessAnalyzerClient", "CreateArchiveRuleCommand")
115-
.f(void 0, void 0)
116-
.ser(se_CreateArchiveRuleCommand)
117-
.de(de_CreateArchiveRuleCommand)
111+
.sc(CreateArchiveRule)
118112
.build() {
119113
/** @internal type navigation helper, not in runtime. */
120114
protected declare static __types: {

0 commit comments

Comments
 (0)