Skip to content

Commit 9888192

Browse files
committed
chore(codegen): sync for thinner command classes, endpoint parameter type fix
1 parent 14dc3ae commit 9888192

21,214 files changed

Lines changed: 153649 additions & 427710 deletions

File tree

Some content is hidden

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

clients/client-accessanalyzer/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
"@aws-sdk/core": "workspace:^3.974.25",
2323
"@aws-sdk/credential-provider-node": "workspace:^3.972.60",
2424
"@aws-sdk/types": "workspace:^3.973.14",
25-
"@smithy/core": "^3.28.0",
26-
"@smithy/fetch-http-handler": "^5.6.1",
27-
"@smithy/node-http-handler": "^4.9.1",
28-
"@smithy/types": "^4.15.0",
25+
"@smithy/core": "^3.29.0",
26+
"@smithy/fetch-http-handler": "^5.6.2",
27+
"@smithy/node-http-handler": "^4.9.2",
28+
"@smithy/types": "^4.15.1",
2929
"tslib": "^2.6.2"
3030
},
3131
"devDependencies": {
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// smithy-typescript generated code
2+
import { makeBuilder } from "@smithy/core/client";
3+
import { getEndpointPlugin } from "@smithy/core/endpoints";
4+
import type { EndpointParameterInstructions } from "@smithy/types";
5+
6+
import type { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./AccessAnalyzerClient";
7+
import { commonParams } from "./endpoint/EndpointParameters";
8+
9+
10+
/**
11+
* @internal
12+
*/
13+
export const command = makeBuilder<AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>(commonParams, "AccessAnalyzer", "AccessAnalyzerClient", getEndpointPlugin);
14+
15+
/**
16+
* @internal
17+
*/
18+
export const _ep0: EndpointParameterInstructions = {};
19+
20+
/**
21+
* @internal
22+
*/
23+
export const _mw0 = (Command: any, cs: any, config: any, o: any) => [
24+
];

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

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
// smithy-typescript generated code
2-
import { Command as $Command } from "@smithy/core/client";
3-
import { getEndpointPlugin } from "@smithy/core/endpoints";
42
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
53

6-
import type {
7-
AccessAnalyzerClientResolvedConfig,
8-
ServiceInputTypes,
9-
ServiceOutputTypes,
10-
} from "../AccessAnalyzerClient";
11-
import { commonParams } from "../endpoint/EndpointParameters";
4+
import { _ep0, _mw0, command } from "../commandBuilder";
125
import type { ApplyArchiveRuleRequest } from "../models/models_0";
136
import { ApplyArchiveRule$ } from "../schemas/schemas_0";
147

158
/**
169
* @public
1710
*/
1811
export type { __MetadataBearer };
19-
export { $Command };
2012
/**
2113
* @public
2214
*
@@ -78,22 +70,12 @@ export interface ApplyArchiveRuleCommandOutput extends __MetadataBearer {}
7870
*
7971
* @public
8072
*/
81-
export class ApplyArchiveRuleCommand extends $Command
82-
.classBuilder<
83-
ApplyArchiveRuleCommandInput,
84-
ApplyArchiveRuleCommandOutput,
85-
AccessAnalyzerClientResolvedConfig,
86-
ServiceInputTypes,
87-
ServiceOutputTypes
88-
>()
89-
.ep(commonParams)
90-
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
91-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
92-
})
93-
.s("AccessAnalyzer", "ApplyArchiveRule", {})
94-
.n("AccessAnalyzerClient", "ApplyArchiveRuleCommand")
95-
.sc(ApplyArchiveRule$)
96-
.build() {
73+
export class ApplyArchiveRuleCommand extends command<ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput>(
74+
_ep0,
75+
_mw0,
76+
"ApplyArchiveRule",
77+
ApplyArchiveRule$
78+
) {
9779
/** @internal type navigation helper, not in runtime. */
9880
protected declare static __types: {
9981
api: {

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

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
// smithy-typescript generated code
2-
import { Command as $Command } from "@smithy/core/client";
3-
import { getEndpointPlugin } from "@smithy/core/endpoints";
42
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
53

6-
import type {
7-
AccessAnalyzerClientResolvedConfig,
8-
ServiceInputTypes,
9-
ServiceOutputTypes,
10-
} from "../AccessAnalyzerClient";
11-
import { commonParams } from "../endpoint/EndpointParameters";
4+
import { _ep0, _mw0, command } from "../commandBuilder";
125
import type { CancelPolicyGenerationRequest, CancelPolicyGenerationResponse } from "../models/models_0";
136
import { CancelPolicyGeneration$ } from "../schemas/schemas_0";
147

158
/**
169
* @public
1710
*/
1811
export type { __MetadataBearer };
19-
export { $Command };
2012
/**
2113
* @public
2214
*
@@ -73,22 +65,12 @@ export interface CancelPolicyGenerationCommandOutput extends CancelPolicyGenerat
7365
*
7466
* @public
7567
*/
76-
export class CancelPolicyGenerationCommand extends $Command
77-
.classBuilder<
78-
CancelPolicyGenerationCommandInput,
79-
CancelPolicyGenerationCommandOutput,
80-
AccessAnalyzerClientResolvedConfig,
81-
ServiceInputTypes,
82-
ServiceOutputTypes
83-
>()
84-
.ep(commonParams)
85-
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
86-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
87-
})
88-
.s("AccessAnalyzer", "CancelPolicyGeneration", {})
89-
.n("AccessAnalyzerClient", "CancelPolicyGenerationCommand")
90-
.sc(CancelPolicyGeneration$)
91-
.build() {
68+
export class CancelPolicyGenerationCommand extends command<CancelPolicyGenerationCommandInput, CancelPolicyGenerationCommandOutput>(
69+
_ep0,
70+
_mw0,
71+
"CancelPolicyGeneration",
72+
CancelPolicyGeneration$
73+
) {
9274
/** @internal type navigation helper, not in runtime. */
9375
protected declare static __types: {
9476
api: {

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

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
// smithy-typescript generated code
2-
import { Command as $Command } from "@smithy/core/client";
3-
import { getEndpointPlugin } from "@smithy/core/endpoints";
42
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
53

6-
import type {
7-
AccessAnalyzerClientResolvedConfig,
8-
ServiceInputTypes,
9-
ServiceOutputTypes,
10-
} from "../AccessAnalyzerClient";
11-
import { commonParams } from "../endpoint/EndpointParameters";
4+
import { _ep0, _mw0, command } from "../commandBuilder";
125
import type { CheckAccessNotGrantedRequest, CheckAccessNotGrantedResponse } from "../models/models_0";
136
import { CheckAccessNotGranted$ } from "../schemas/schemas_0";
147

158
/**
169
* @public
1710
*/
1811
export type { __MetadataBearer };
19-
export { $Command };
2012
/**
2113
* @public
2214
*
@@ -179,22 +171,12 @@ export interface CheckAccessNotGrantedCommandOutput extends CheckAccessNotGrante
179171
*
180172
* @public
181173
*/
182-
export class CheckAccessNotGrantedCommand extends $Command
183-
.classBuilder<
184-
CheckAccessNotGrantedCommandInput,
185-
CheckAccessNotGrantedCommandOutput,
186-
AccessAnalyzerClientResolvedConfig,
187-
ServiceInputTypes,
188-
ServiceOutputTypes
189-
>()
190-
.ep(commonParams)
191-
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
192-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
193-
})
194-
.s("AccessAnalyzer", "CheckAccessNotGranted", {})
195-
.n("AccessAnalyzerClient", "CheckAccessNotGrantedCommand")
196-
.sc(CheckAccessNotGranted$)
197-
.build() {
174+
export class CheckAccessNotGrantedCommand extends command<CheckAccessNotGrantedCommandInput, CheckAccessNotGrantedCommandOutput>(
175+
_ep0,
176+
_mw0,
177+
"CheckAccessNotGranted",
178+
CheckAccessNotGranted$
179+
) {
198180
/** @internal type navigation helper, not in runtime. */
199181
protected declare static __types: {
200182
api: {

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

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
// smithy-typescript generated code
2-
import { Command as $Command } from "@smithy/core/client";
3-
import { getEndpointPlugin } from "@smithy/core/endpoints";
42
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
53

6-
import type {
7-
AccessAnalyzerClientResolvedConfig,
8-
ServiceInputTypes,
9-
ServiceOutputTypes,
10-
} from "../AccessAnalyzerClient";
11-
import { commonParams } from "../endpoint/EndpointParameters";
4+
import { _ep0, _mw0, command } from "../commandBuilder";
125
import type { CheckNoNewAccessRequest, CheckNoNewAccessResponse } from "../models/models_0";
136
import { CheckNoNewAccess$ } from "../schemas/schemas_0";
147

158
/**
169
* @public
1710
*/
1811
export type { __MetadataBearer };
19-
export { $Command };
2012
/**
2113
* @public
2214
*
@@ -91,22 +83,12 @@ export interface CheckNoNewAccessCommandOutput extends CheckNoNewAccessResponse,
9183
*
9284
* @public
9385
*/
94-
export class CheckNoNewAccessCommand extends $Command
95-
.classBuilder<
96-
CheckNoNewAccessCommandInput,
97-
CheckNoNewAccessCommandOutput,
98-
AccessAnalyzerClientResolvedConfig,
99-
ServiceInputTypes,
100-
ServiceOutputTypes
101-
>()
102-
.ep(commonParams)
103-
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
104-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
105-
})
106-
.s("AccessAnalyzer", "CheckNoNewAccess", {})
107-
.n("AccessAnalyzerClient", "CheckNoNewAccessCommand")
108-
.sc(CheckNoNewAccess$)
109-
.build() {
86+
export class CheckNoNewAccessCommand extends command<CheckNoNewAccessCommandInput, CheckNoNewAccessCommandOutput>(
87+
_ep0,
88+
_mw0,
89+
"CheckNoNewAccess",
90+
CheckNoNewAccess$
91+
) {
11092
/** @internal type navigation helper, not in runtime. */
11193
protected declare static __types: {
11294
api: {

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

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
// smithy-typescript generated code
2-
import { Command as $Command } from "@smithy/core/client";
3-
import { getEndpointPlugin } from "@smithy/core/endpoints";
42
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
53

6-
import type {
7-
AccessAnalyzerClientResolvedConfig,
8-
ServiceInputTypes,
9-
ServiceOutputTypes,
10-
} from "../AccessAnalyzerClient";
11-
import { commonParams } from "../endpoint/EndpointParameters";
4+
import { _ep0, _mw0, command } from "../commandBuilder";
125
import type { CheckNoPublicAccessRequest, CheckNoPublicAccessResponse } from "../models/models_0";
136
import { CheckNoPublicAccess$ } from "../schemas/schemas_0";
147

158
/**
169
* @public
1710
*/
1811
export type { __MetadataBearer };
19-
export { $Command };
2012
/**
2113
* @public
2214
*
@@ -131,22 +123,12 @@ export interface CheckNoPublicAccessCommandOutput extends CheckNoPublicAccessRes
131123
*
132124
* @public
133125
*/
134-
export class CheckNoPublicAccessCommand extends $Command
135-
.classBuilder<
136-
CheckNoPublicAccessCommandInput,
137-
CheckNoPublicAccessCommandOutput,
138-
AccessAnalyzerClientResolvedConfig,
139-
ServiceInputTypes,
140-
ServiceOutputTypes
141-
>()
142-
.ep(commonParams)
143-
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
144-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
145-
})
146-
.s("AccessAnalyzer", "CheckNoPublicAccess", {})
147-
.n("AccessAnalyzerClient", "CheckNoPublicAccessCommand")
148-
.sc(CheckNoPublicAccess$)
149-
.build() {
126+
export class CheckNoPublicAccessCommand extends command<CheckNoPublicAccessCommandInput, CheckNoPublicAccessCommandOutput>(
127+
_ep0,
128+
_mw0,
129+
"CheckNoPublicAccess",
130+
CheckNoPublicAccess$
131+
) {
150132
/** @internal type navigation helper, not in runtime. */
151133
protected declare static __types: {
152134
api: {

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

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
// smithy-typescript generated code
2-
import { Command as $Command } from "@smithy/core/client";
3-
import { getEndpointPlugin } from "@smithy/core/endpoints";
42
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
53

6-
import type {
7-
AccessAnalyzerClientResolvedConfig,
8-
ServiceInputTypes,
9-
ServiceOutputTypes,
10-
} from "../AccessAnalyzerClient";
11-
import { commonParams } from "../endpoint/EndpointParameters";
4+
import { _ep0, _mw0, command } from "../commandBuilder";
125
import type { CreateAccessPreviewRequest, CreateAccessPreviewResponse } from "../models/models_0";
136
import { CreateAccessPreview$ } from "../schemas/schemas_0";
147

158
/**
169
* @public
1710
*/
1811
export type { __MetadataBearer };
19-
export { $Command };
2012
/**
2113
* @public
2214
*
@@ -211,22 +203,12 @@ export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewRes
211203
*
212204
* @public
213205
*/
214-
export class CreateAccessPreviewCommand extends $Command
215-
.classBuilder<
216-
CreateAccessPreviewCommandInput,
217-
CreateAccessPreviewCommandOutput,
218-
AccessAnalyzerClientResolvedConfig,
219-
ServiceInputTypes,
220-
ServiceOutputTypes
221-
>()
222-
.ep(commonParams)
223-
.m(function (this: any, Command: any, cs: any, config: AccessAnalyzerClientResolvedConfig, o: any) {
224-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
225-
})
226-
.s("AccessAnalyzer", "CreateAccessPreview", {})
227-
.n("AccessAnalyzerClient", "CreateAccessPreviewCommand")
228-
.sc(CreateAccessPreview$)
229-
.build() {
206+
export class CreateAccessPreviewCommand extends command<CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput>(
207+
_ep0,
208+
_mw0,
209+
"CreateAccessPreview",
210+
CreateAccessPreview$
211+
) {
230212
/** @internal type navigation helper, not in runtime. */
231213
protected declare static __types: {
232214
api: {

0 commit comments

Comments
 (0)