@aws-sdk/client-apprunner 3.198.0 → 3.200.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist-cjs/AppRunner.js +75 -0
- package/dist-cjs/commands/CreateVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/DeleteVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/DescribeVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/ListVpcIngressConnectionsCommand.js +46 -0
- package/dist-cjs/commands/UpdateVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +82 -3
- package/dist-cjs/pagination/ListVpcIngressConnectionsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +416 -2
- package/dist-es/AppRunner.js +75 -0
- package/dist-es/commands/CreateVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/DeleteVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/DescribeVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/ListVpcIngressConnectionsCommand.js +42 -0
- package/dist-es/commands/UpdateVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +63 -0
- package/dist-es/pagination/ListVpcIngressConnectionsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +404 -0
- package/dist-types/AppRunner.d.ts +79 -0
- package/dist-types/AppRunnerClient.d.ts +7 -2
- package/dist-types/commands/CreateVpcIngressConnectionCommand.d.ts +37 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteVpcIngressConnectionCommand.d.ts +60 -0
- package/dist-types/commands/DescribeVpcIngressConnectionCommand.d.ts +37 -0
- package/dist-types/commands/ListVpcIngressConnectionsCommand.d.ts +37 -0
- package/dist-types/commands/UpdateVpcIngressConnectionCommand.d.ts +54 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +335 -2
- package/dist-types/pagination/ListVpcIngressConnectionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +15 -0
- package/dist-types/ts3.4/AppRunner.d.ts +85 -0
- package/dist-types/ts3.4/AppRunnerClient.d.ts +32 -2
- package/dist-types/ts3.4/commands/CreateVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVpcIngressConnectionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +133 -1
- package/dist-types/ts3.4/pagination/ListVpcIngressConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
- package/package.json +29 -29
package/dist-es/AppRunner.js
CHANGED
|
@@ -5,16 +5,19 @@ import { CreateConnectionCommand, } from "./commands/CreateConnectionCommand";
|
|
|
5
5
|
import { CreateObservabilityConfigurationCommand, } from "./commands/CreateObservabilityConfigurationCommand";
|
|
6
6
|
import { CreateServiceCommand, } from "./commands/CreateServiceCommand";
|
|
7
7
|
import { CreateVpcConnectorCommand, } from "./commands/CreateVpcConnectorCommand";
|
|
8
|
+
import { CreateVpcIngressConnectionCommand, } from "./commands/CreateVpcIngressConnectionCommand";
|
|
8
9
|
import { DeleteAutoScalingConfigurationCommand, } from "./commands/DeleteAutoScalingConfigurationCommand";
|
|
9
10
|
import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
|
|
10
11
|
import { DeleteObservabilityConfigurationCommand, } from "./commands/DeleteObservabilityConfigurationCommand";
|
|
11
12
|
import { DeleteServiceCommand, } from "./commands/DeleteServiceCommand";
|
|
12
13
|
import { DeleteVpcConnectorCommand, } from "./commands/DeleteVpcConnectorCommand";
|
|
14
|
+
import { DeleteVpcIngressConnectionCommand, } from "./commands/DeleteVpcIngressConnectionCommand";
|
|
13
15
|
import { DescribeAutoScalingConfigurationCommand, } from "./commands/DescribeAutoScalingConfigurationCommand";
|
|
14
16
|
import { DescribeCustomDomainsCommand, } from "./commands/DescribeCustomDomainsCommand";
|
|
15
17
|
import { DescribeObservabilityConfigurationCommand, } from "./commands/DescribeObservabilityConfigurationCommand";
|
|
16
18
|
import { DescribeServiceCommand, } from "./commands/DescribeServiceCommand";
|
|
17
19
|
import { DescribeVpcConnectorCommand, } from "./commands/DescribeVpcConnectorCommand";
|
|
20
|
+
import { DescribeVpcIngressConnectionCommand, } from "./commands/DescribeVpcIngressConnectionCommand";
|
|
18
21
|
import { DisassociateCustomDomainCommand, } from "./commands/DisassociateCustomDomainCommand";
|
|
19
22
|
import { ListAutoScalingConfigurationsCommand, } from "./commands/ListAutoScalingConfigurationsCommand";
|
|
20
23
|
import { ListConnectionsCommand, } from "./commands/ListConnectionsCommand";
|
|
@@ -23,12 +26,14 @@ import { ListOperationsCommand, } from "./commands/ListOperationsCommand";
|
|
|
23
26
|
import { ListServicesCommand, } from "./commands/ListServicesCommand";
|
|
24
27
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
25
28
|
import { ListVpcConnectorsCommand, } from "./commands/ListVpcConnectorsCommand";
|
|
29
|
+
import { ListVpcIngressConnectionsCommand, } from "./commands/ListVpcIngressConnectionsCommand";
|
|
26
30
|
import { PauseServiceCommand, } from "./commands/PauseServiceCommand";
|
|
27
31
|
import { ResumeServiceCommand, } from "./commands/ResumeServiceCommand";
|
|
28
32
|
import { StartDeploymentCommand, } from "./commands/StartDeploymentCommand";
|
|
29
33
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
30
34
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
31
35
|
import { UpdateServiceCommand, } from "./commands/UpdateServiceCommand";
|
|
36
|
+
import { UpdateVpcIngressConnectionCommand, } from "./commands/UpdateVpcIngressConnectionCommand";
|
|
32
37
|
export class AppRunner extends AppRunnerClient {
|
|
33
38
|
associateCustomDomain(args, optionsOrCb, cb) {
|
|
34
39
|
const command = new AssociateCustomDomainCommand(args);
|
|
@@ -114,6 +119,20 @@ export class AppRunner extends AppRunnerClient {
|
|
|
114
119
|
return this.send(command, optionsOrCb);
|
|
115
120
|
}
|
|
116
121
|
}
|
|
122
|
+
createVpcIngressConnection(args, optionsOrCb, cb) {
|
|
123
|
+
const command = new CreateVpcIngressConnectionCommand(args);
|
|
124
|
+
if (typeof optionsOrCb === "function") {
|
|
125
|
+
this.send(command, optionsOrCb);
|
|
126
|
+
}
|
|
127
|
+
else if (typeof cb === "function") {
|
|
128
|
+
if (typeof optionsOrCb !== "object")
|
|
129
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
130
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
return this.send(command, optionsOrCb);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
117
136
|
deleteAutoScalingConfiguration(args, optionsOrCb, cb) {
|
|
118
137
|
const command = new DeleteAutoScalingConfigurationCommand(args);
|
|
119
138
|
if (typeof optionsOrCb === "function") {
|
|
@@ -184,6 +203,20 @@ export class AppRunner extends AppRunnerClient {
|
|
|
184
203
|
return this.send(command, optionsOrCb);
|
|
185
204
|
}
|
|
186
205
|
}
|
|
206
|
+
deleteVpcIngressConnection(args, optionsOrCb, cb) {
|
|
207
|
+
const command = new DeleteVpcIngressConnectionCommand(args);
|
|
208
|
+
if (typeof optionsOrCb === "function") {
|
|
209
|
+
this.send(command, optionsOrCb);
|
|
210
|
+
}
|
|
211
|
+
else if (typeof cb === "function") {
|
|
212
|
+
if (typeof optionsOrCb !== "object")
|
|
213
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
214
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
215
|
+
}
|
|
216
|
+
else {
|
|
217
|
+
return this.send(command, optionsOrCb);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
187
220
|
describeAutoScalingConfiguration(args, optionsOrCb, cb) {
|
|
188
221
|
const command = new DescribeAutoScalingConfigurationCommand(args);
|
|
189
222
|
if (typeof optionsOrCb === "function") {
|
|
@@ -254,6 +287,20 @@ export class AppRunner extends AppRunnerClient {
|
|
|
254
287
|
return this.send(command, optionsOrCb);
|
|
255
288
|
}
|
|
256
289
|
}
|
|
290
|
+
describeVpcIngressConnection(args, optionsOrCb, cb) {
|
|
291
|
+
const command = new DescribeVpcIngressConnectionCommand(args);
|
|
292
|
+
if (typeof optionsOrCb === "function") {
|
|
293
|
+
this.send(command, optionsOrCb);
|
|
294
|
+
}
|
|
295
|
+
else if (typeof cb === "function") {
|
|
296
|
+
if (typeof optionsOrCb !== "object")
|
|
297
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
298
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
return this.send(command, optionsOrCb);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
257
304
|
disassociateCustomDomain(args, optionsOrCb, cb) {
|
|
258
305
|
const command = new DisassociateCustomDomainCommand(args);
|
|
259
306
|
if (typeof optionsOrCb === "function") {
|
|
@@ -366,6 +413,20 @@ export class AppRunner extends AppRunnerClient {
|
|
|
366
413
|
return this.send(command, optionsOrCb);
|
|
367
414
|
}
|
|
368
415
|
}
|
|
416
|
+
listVpcIngressConnections(args, optionsOrCb, cb) {
|
|
417
|
+
const command = new ListVpcIngressConnectionsCommand(args);
|
|
418
|
+
if (typeof optionsOrCb === "function") {
|
|
419
|
+
this.send(command, optionsOrCb);
|
|
420
|
+
}
|
|
421
|
+
else if (typeof cb === "function") {
|
|
422
|
+
if (typeof optionsOrCb !== "object")
|
|
423
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
424
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
425
|
+
}
|
|
426
|
+
else {
|
|
427
|
+
return this.send(command, optionsOrCb);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
369
430
|
pauseService(args, optionsOrCb, cb) {
|
|
370
431
|
const command = new PauseServiceCommand(args);
|
|
371
432
|
if (typeof optionsOrCb === "function") {
|
|
@@ -450,4 +511,18 @@ export class AppRunner extends AppRunnerClient {
|
|
|
450
511
|
return this.send(command, optionsOrCb);
|
|
451
512
|
}
|
|
452
513
|
}
|
|
514
|
+
updateVpcIngressConnection(args, optionsOrCb, cb) {
|
|
515
|
+
const command = new UpdateVpcIngressConnectionCommand(args);
|
|
516
|
+
if (typeof optionsOrCb === "function") {
|
|
517
|
+
this.send(command, optionsOrCb);
|
|
518
|
+
}
|
|
519
|
+
else if (typeof cb === "function") {
|
|
520
|
+
if (typeof optionsOrCb !== "object")
|
|
521
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
522
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
523
|
+
}
|
|
524
|
+
else {
|
|
525
|
+
return this.send(command, optionsOrCb);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
453
528
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateVpcIngressConnectionRequestFilterSensitiveLog, CreateVpcIngressConnectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0CreateVpcIngressConnectionCommand, serializeAws_json1_0CreateVpcIngressConnectionCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class CreateVpcIngressConnectionCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateVpcIngressConnectionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppRunnerClient";
|
|
25
|
+
const commandName = "CreateVpcIngressConnectionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateVpcIngressConnectionRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: CreateVpcIngressConnectionResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0CreateVpcIngressConnectionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0CreateVpcIngressConnectionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteVpcIngressConnectionRequestFilterSensitiveLog, DeleteVpcIngressConnectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0DeleteVpcIngressConnectionCommand, serializeAws_json1_0DeleteVpcIngressConnectionCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class DeleteVpcIngressConnectionCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteVpcIngressConnectionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppRunnerClient";
|
|
25
|
+
const commandName = "DeleteVpcIngressConnectionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeleteVpcIngressConnectionRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DeleteVpcIngressConnectionResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0DeleteVpcIngressConnectionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0DeleteVpcIngressConnectionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeVpcIngressConnectionRequestFilterSensitiveLog, DescribeVpcIngressConnectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0DescribeVpcIngressConnectionCommand, serializeAws_json1_0DescribeVpcIngressConnectionCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class DescribeVpcIngressConnectionCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeVpcIngressConnectionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppRunnerClient";
|
|
25
|
+
const commandName = "DescribeVpcIngressConnectionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DescribeVpcIngressConnectionRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DescribeVpcIngressConnectionResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0DescribeVpcIngressConnectionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0DescribeVpcIngressConnectionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListVpcIngressConnectionsRequestFilterSensitiveLog, ListVpcIngressConnectionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0ListVpcIngressConnectionsCommand, serializeAws_json1_0ListVpcIngressConnectionsCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class ListVpcIngressConnectionsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListVpcIngressConnectionsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppRunnerClient";
|
|
25
|
+
const commandName = "ListVpcIngressConnectionsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: ListVpcIngressConnectionsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: ListVpcIngressConnectionsResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0ListVpcIngressConnectionsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0ListVpcIngressConnectionsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateVpcIngressConnectionRequestFilterSensitiveLog, UpdateVpcIngressConnectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0UpdateVpcIngressConnectionCommand, serializeAws_json1_0UpdateVpcIngressConnectionCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class UpdateVpcIngressConnectionCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateVpcIngressConnectionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppRunnerClient";
|
|
25
|
+
const commandName = "UpdateVpcIngressConnectionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateVpcIngressConnectionRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateVpcIngressConnectionResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0UpdateVpcIngressConnectionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0UpdateVpcIngressConnectionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -4,16 +4,19 @@ export * from "./CreateConnectionCommand";
|
|
|
4
4
|
export * from "./CreateObservabilityConfigurationCommand";
|
|
5
5
|
export * from "./CreateServiceCommand";
|
|
6
6
|
export * from "./CreateVpcConnectorCommand";
|
|
7
|
+
export * from "./CreateVpcIngressConnectionCommand";
|
|
7
8
|
export * from "./DeleteAutoScalingConfigurationCommand";
|
|
8
9
|
export * from "./DeleteConnectionCommand";
|
|
9
10
|
export * from "./DeleteObservabilityConfigurationCommand";
|
|
10
11
|
export * from "./DeleteServiceCommand";
|
|
11
12
|
export * from "./DeleteVpcConnectorCommand";
|
|
13
|
+
export * from "./DeleteVpcIngressConnectionCommand";
|
|
12
14
|
export * from "./DescribeAutoScalingConfigurationCommand";
|
|
13
15
|
export * from "./DescribeCustomDomainsCommand";
|
|
14
16
|
export * from "./DescribeObservabilityConfigurationCommand";
|
|
15
17
|
export * from "./DescribeServiceCommand";
|
|
16
18
|
export * from "./DescribeVpcConnectorCommand";
|
|
19
|
+
export * from "./DescribeVpcIngressConnectionCommand";
|
|
17
20
|
export * from "./DisassociateCustomDomainCommand";
|
|
18
21
|
export * from "./ListAutoScalingConfigurationsCommand";
|
|
19
22
|
export * from "./ListConnectionsCommand";
|
|
@@ -22,9 +25,11 @@ export * from "./ListOperationsCommand";
|
|
|
22
25
|
export * from "./ListServicesCommand";
|
|
23
26
|
export * from "./ListTagsForResourceCommand";
|
|
24
27
|
export * from "./ListVpcConnectorsCommand";
|
|
28
|
+
export * from "./ListVpcIngressConnectionsCommand";
|
|
25
29
|
export * from "./PauseServiceCommand";
|
|
26
30
|
export * from "./ResumeServiceCommand";
|
|
27
31
|
export * from "./StartDeploymentCommand";
|
|
28
32
|
export * from "./TagResourceCommand";
|
|
29
33
|
export * from "./UntagResourceCommand";
|
|
30
34
|
export * from "./UpdateServiceCommand";
|
|
35
|
+
export * from "./UpdateVpcIngressConnectionCommand";
|
|
@@ -107,10 +107,14 @@ export var Runtime;
|
|
|
107
107
|
(function (Runtime) {
|
|
108
108
|
Runtime["CORRETTO_11"] = "CORRETTO_11";
|
|
109
109
|
Runtime["CORRETTO_8"] = "CORRETTO_8";
|
|
110
|
+
Runtime["DOTNET_6"] = "DOTNET_6";
|
|
111
|
+
Runtime["GO_1"] = "GO_1";
|
|
110
112
|
Runtime["NODEJS_12"] = "NODEJS_12";
|
|
111
113
|
Runtime["NODEJS_14"] = "NODEJS_14";
|
|
112
114
|
Runtime["NODEJS_16"] = "NODEJS_16";
|
|
115
|
+
Runtime["PHP_81"] = "PHP_81";
|
|
113
116
|
Runtime["PYTHON_3"] = "PYTHON_3";
|
|
117
|
+
Runtime["RUBY_31"] = "RUBY_31";
|
|
114
118
|
})(Runtime || (Runtime = {}));
|
|
115
119
|
export var ConfigurationSource;
|
|
116
120
|
(function (ConfigurationSource) {
|
|
@@ -140,6 +144,17 @@ export var VpcConnectorStatus;
|
|
|
140
144
|
VpcConnectorStatus["ACTIVE"] = "ACTIVE";
|
|
141
145
|
VpcConnectorStatus["INACTIVE"] = "INACTIVE";
|
|
142
146
|
})(VpcConnectorStatus || (VpcConnectorStatus = {}));
|
|
147
|
+
export var VpcIngressConnectionStatus;
|
|
148
|
+
(function (VpcIngressConnectionStatus) {
|
|
149
|
+
VpcIngressConnectionStatus["AVAILABLE"] = "AVAILABLE";
|
|
150
|
+
VpcIngressConnectionStatus["DELETED"] = "DELETED";
|
|
151
|
+
VpcIngressConnectionStatus["FAILED_CREATION"] = "FAILED_CREATION";
|
|
152
|
+
VpcIngressConnectionStatus["FAILED_DELETION"] = "FAILED_DELETION";
|
|
153
|
+
VpcIngressConnectionStatus["FAILED_UPDATE"] = "FAILED_UPDATE";
|
|
154
|
+
VpcIngressConnectionStatus["PENDING_CREATION"] = "PENDING_CREATION";
|
|
155
|
+
VpcIngressConnectionStatus["PENDING_DELETION"] = "PENDING_DELETION";
|
|
156
|
+
VpcIngressConnectionStatus["PENDING_UPDATE"] = "PENDING_UPDATE";
|
|
157
|
+
})(VpcIngressConnectionStatus || (VpcIngressConnectionStatus = {}));
|
|
143
158
|
export class ResourceNotFoundException extends __BaseException {
|
|
144
159
|
constructor(opts) {
|
|
145
160
|
super({
|
|
@@ -180,6 +195,9 @@ export const CertificateValidationRecordFilterSensitiveLog = (obj) => ({
|
|
|
180
195
|
export const CustomDomainFilterSensitiveLog = (obj) => ({
|
|
181
196
|
...obj,
|
|
182
197
|
});
|
|
198
|
+
export const VpcDNSTargetFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
});
|
|
183
201
|
export const AssociateCustomDomainResponseFilterSensitiveLog = (obj) => ({
|
|
184
202
|
...obj,
|
|
185
203
|
});
|
|
@@ -228,6 +246,9 @@ export const InstanceConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
228
246
|
export const EgressConfigurationFilterSensitiveLog = (obj) => ({
|
|
229
247
|
...obj,
|
|
230
248
|
});
|
|
249
|
+
export const IngressConfigurationFilterSensitiveLog = (obj) => ({
|
|
250
|
+
...obj,
|
|
251
|
+
});
|
|
231
252
|
export const NetworkConfigurationFilterSensitiveLog = (obj) => ({
|
|
232
253
|
...obj,
|
|
233
254
|
});
|
|
@@ -298,6 +319,18 @@ export const VpcConnectorFilterSensitiveLog = (obj) => ({
|
|
|
298
319
|
export const CreateVpcConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
299
320
|
...obj,
|
|
300
321
|
});
|
|
322
|
+
export const IngressVpcConfigurationFilterSensitiveLog = (obj) => ({
|
|
323
|
+
...obj,
|
|
324
|
+
});
|
|
325
|
+
export const CreateVpcIngressConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
326
|
+
...obj,
|
|
327
|
+
});
|
|
328
|
+
export const VpcIngressConnectionFilterSensitiveLog = (obj) => ({
|
|
329
|
+
...obj,
|
|
330
|
+
});
|
|
331
|
+
export const CreateVpcIngressConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
332
|
+
...obj,
|
|
333
|
+
});
|
|
301
334
|
export const DeleteAutoScalingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
302
335
|
...obj,
|
|
303
336
|
});
|
|
@@ -329,6 +362,12 @@ export const DeleteVpcConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
|
329
362
|
export const DeleteVpcConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
330
363
|
...obj,
|
|
331
364
|
});
|
|
365
|
+
export const DeleteVpcIngressConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
366
|
+
...obj,
|
|
367
|
+
});
|
|
368
|
+
export const DeleteVpcIngressConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
369
|
+
...obj,
|
|
370
|
+
});
|
|
332
371
|
export const DescribeAutoScalingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
333
372
|
...obj,
|
|
334
373
|
});
|
|
@@ -360,6 +399,12 @@ export const DescribeVpcConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
|
360
399
|
export const DescribeVpcConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
361
400
|
...obj,
|
|
362
401
|
});
|
|
402
|
+
export const DescribeVpcIngressConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
403
|
+
...obj,
|
|
404
|
+
});
|
|
405
|
+
export const DescribeVpcIngressConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
406
|
+
...obj,
|
|
407
|
+
});
|
|
363
408
|
export const DisassociateCustomDomainRequestFilterSensitiveLog = (obj) => ({
|
|
364
409
|
...obj,
|
|
365
410
|
});
|
|
@@ -420,6 +465,18 @@ export const ListVpcConnectorsRequestFilterSensitiveLog = (obj) => ({
|
|
|
420
465
|
export const ListVpcConnectorsResponseFilterSensitiveLog = (obj) => ({
|
|
421
466
|
...obj,
|
|
422
467
|
});
|
|
468
|
+
export const ListVpcIngressConnectionsFilterFilterSensitiveLog = (obj) => ({
|
|
469
|
+
...obj,
|
|
470
|
+
});
|
|
471
|
+
export const ListVpcIngressConnectionsRequestFilterSensitiveLog = (obj) => ({
|
|
472
|
+
...obj,
|
|
473
|
+
});
|
|
474
|
+
export const VpcIngressConnectionSummaryFilterSensitiveLog = (obj) => ({
|
|
475
|
+
...obj,
|
|
476
|
+
});
|
|
477
|
+
export const ListVpcIngressConnectionsResponseFilterSensitiveLog = (obj) => ({
|
|
478
|
+
...obj,
|
|
479
|
+
});
|
|
423
480
|
export const PauseServiceRequestFilterSensitiveLog = (obj) => ({
|
|
424
481
|
...obj,
|
|
425
482
|
});
|
|
@@ -462,3 +519,9 @@ export const UpdateServiceResponseFilterSensitiveLog = (obj) => ({
|
|
|
462
519
|
...obj,
|
|
463
520
|
...(obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }),
|
|
464
521
|
});
|
|
522
|
+
export const UpdateVpcIngressConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
523
|
+
...obj,
|
|
524
|
+
});
|
|
525
|
+
export const UpdateVpcIngressConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
526
|
+
...obj,
|
|
527
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AppRunner } from "../AppRunner";
|
|
2
|
+
import { AppRunnerClient } from "../AppRunnerClient";
|
|
3
|
+
import { ListVpcIngressConnectionsCommand, } from "../commands/ListVpcIngressConnectionsCommand";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListVpcIngressConnectionsCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listVpcIngressConnections(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListVpcIngressConnections(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.NextToken = token;
|
|
16
|
+
input["MaxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof AppRunner) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof AppRunnerClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.NextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|