@aws-sdk/client-apprunner 3.48.0 → 3.52.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 +35 -0
- package/dist-cjs/AppRunner.js +60 -0
- package/dist-cjs/commands/CreateVpcConnectorCommand.js +36 -0
- package/dist-cjs/commands/DeleteVpcConnectorCommand.js +36 -0
- package/dist-cjs/commands/DescribeVpcConnectorCommand.js +36 -0
- package/dist-cjs/commands/ListVpcConnectorsCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +79 -2
- package/dist-cjs/pagination/ListVpcConnectorsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +435 -1
- package/dist-es/AppRunner.js +60 -0
- package/dist-es/commands/CreateVpcConnectorCommand.js +39 -0
- package/dist-es/commands/DeleteVpcConnectorCommand.js +39 -0
- package/dist-es/commands/DescribeVpcConnectorCommand.js +39 -0
- package/dist-es/commands/ListVpcConnectorsCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +55 -1
- package/dist-es/pagination/ListVpcConnectorsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +456 -2
- package/dist-types/AppRunner.d.ts +33 -3
- package/dist-types/AppRunnerClient.d.ts +6 -2
- package/dist-types/commands/CreateAutoScalingConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/CreateVpcConnectorCommand.d.ts +36 -0
- package/dist-types/commands/DeleteVpcConnectorCommand.d.ts +36 -0
- package/dist-types/commands/DescribeVpcConnectorCommand.d.ts +35 -0
- package/dist-types/commands/ListVpcConnectorsCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +254 -11
- package/dist-types/pagination/ListVpcConnectorsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +12 -0
- package/dist-types/ts3.4/AppRunner.d.ts +20 -0
- package/dist-types/ts3.4/AppRunnerClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/CreateVpcConnectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteVpcConnectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeVpcConnectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListVpcConnectorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +131 -0
- package/dist-types/ts3.4/pagination/ListVpcConnectorsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/package.json +40 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-apprunner
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-apprunner
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @aws-sdk/client-apprunner
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
42
|
|
|
8
43
|
**Note:** Version bump only for package @aws-sdk/client-apprunner
|
package/dist-cjs/AppRunner.js
CHANGED
|
@@ -6,18 +6,22 @@ const AssociateCustomDomainCommand_1 = require("./commands/AssociateCustomDomain
|
|
|
6
6
|
const CreateAutoScalingConfigurationCommand_1 = require("./commands/CreateAutoScalingConfigurationCommand");
|
|
7
7
|
const CreateConnectionCommand_1 = require("./commands/CreateConnectionCommand");
|
|
8
8
|
const CreateServiceCommand_1 = require("./commands/CreateServiceCommand");
|
|
9
|
+
const CreateVpcConnectorCommand_1 = require("./commands/CreateVpcConnectorCommand");
|
|
9
10
|
const DeleteAutoScalingConfigurationCommand_1 = require("./commands/DeleteAutoScalingConfigurationCommand");
|
|
10
11
|
const DeleteConnectionCommand_1 = require("./commands/DeleteConnectionCommand");
|
|
11
12
|
const DeleteServiceCommand_1 = require("./commands/DeleteServiceCommand");
|
|
13
|
+
const DeleteVpcConnectorCommand_1 = require("./commands/DeleteVpcConnectorCommand");
|
|
12
14
|
const DescribeAutoScalingConfigurationCommand_1 = require("./commands/DescribeAutoScalingConfigurationCommand");
|
|
13
15
|
const DescribeCustomDomainsCommand_1 = require("./commands/DescribeCustomDomainsCommand");
|
|
14
16
|
const DescribeServiceCommand_1 = require("./commands/DescribeServiceCommand");
|
|
17
|
+
const DescribeVpcConnectorCommand_1 = require("./commands/DescribeVpcConnectorCommand");
|
|
15
18
|
const DisassociateCustomDomainCommand_1 = require("./commands/DisassociateCustomDomainCommand");
|
|
16
19
|
const ListAutoScalingConfigurationsCommand_1 = require("./commands/ListAutoScalingConfigurationsCommand");
|
|
17
20
|
const ListConnectionsCommand_1 = require("./commands/ListConnectionsCommand");
|
|
18
21
|
const ListOperationsCommand_1 = require("./commands/ListOperationsCommand");
|
|
19
22
|
const ListServicesCommand_1 = require("./commands/ListServicesCommand");
|
|
20
23
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
24
|
+
const ListVpcConnectorsCommand_1 = require("./commands/ListVpcConnectorsCommand");
|
|
21
25
|
const PauseServiceCommand_1 = require("./commands/PauseServiceCommand");
|
|
22
26
|
const ResumeServiceCommand_1 = require("./commands/ResumeServiceCommand");
|
|
23
27
|
const StartDeploymentCommand_1 = require("./commands/StartDeploymentCommand");
|
|
@@ -81,6 +85,20 @@ class AppRunner extends AppRunnerClient_1.AppRunnerClient {
|
|
|
81
85
|
return this.send(command, optionsOrCb);
|
|
82
86
|
}
|
|
83
87
|
}
|
|
88
|
+
createVpcConnector(args, optionsOrCb, cb) {
|
|
89
|
+
const command = new CreateVpcConnectorCommand_1.CreateVpcConnectorCommand(args);
|
|
90
|
+
if (typeof optionsOrCb === "function") {
|
|
91
|
+
this.send(command, optionsOrCb);
|
|
92
|
+
}
|
|
93
|
+
else if (typeof cb === "function") {
|
|
94
|
+
if (typeof optionsOrCb !== "object")
|
|
95
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
96
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
return this.send(command, optionsOrCb);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
84
102
|
deleteAutoScalingConfiguration(args, optionsOrCb, cb) {
|
|
85
103
|
const command = new DeleteAutoScalingConfigurationCommand_1.DeleteAutoScalingConfigurationCommand(args);
|
|
86
104
|
if (typeof optionsOrCb === "function") {
|
|
@@ -123,6 +141,20 @@ class AppRunner extends AppRunnerClient_1.AppRunnerClient {
|
|
|
123
141
|
return this.send(command, optionsOrCb);
|
|
124
142
|
}
|
|
125
143
|
}
|
|
144
|
+
deleteVpcConnector(args, optionsOrCb, cb) {
|
|
145
|
+
const command = new DeleteVpcConnectorCommand_1.DeleteVpcConnectorCommand(args);
|
|
146
|
+
if (typeof optionsOrCb === "function") {
|
|
147
|
+
this.send(command, optionsOrCb);
|
|
148
|
+
}
|
|
149
|
+
else if (typeof cb === "function") {
|
|
150
|
+
if (typeof optionsOrCb !== "object")
|
|
151
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
152
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
return this.send(command, optionsOrCb);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
126
158
|
describeAutoScalingConfiguration(args, optionsOrCb, cb) {
|
|
127
159
|
const command = new DescribeAutoScalingConfigurationCommand_1.DescribeAutoScalingConfigurationCommand(args);
|
|
128
160
|
if (typeof optionsOrCb === "function") {
|
|
@@ -165,6 +197,20 @@ class AppRunner extends AppRunnerClient_1.AppRunnerClient {
|
|
|
165
197
|
return this.send(command, optionsOrCb);
|
|
166
198
|
}
|
|
167
199
|
}
|
|
200
|
+
describeVpcConnector(args, optionsOrCb, cb) {
|
|
201
|
+
const command = new DescribeVpcConnectorCommand_1.DescribeVpcConnectorCommand(args);
|
|
202
|
+
if (typeof optionsOrCb === "function") {
|
|
203
|
+
this.send(command, optionsOrCb);
|
|
204
|
+
}
|
|
205
|
+
else if (typeof cb === "function") {
|
|
206
|
+
if (typeof optionsOrCb !== "object")
|
|
207
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
208
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
return this.send(command, optionsOrCb);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
168
214
|
disassociateCustomDomain(args, optionsOrCb, cb) {
|
|
169
215
|
const command = new DisassociateCustomDomainCommand_1.DisassociateCustomDomainCommand(args);
|
|
170
216
|
if (typeof optionsOrCb === "function") {
|
|
@@ -249,6 +295,20 @@ class AppRunner extends AppRunnerClient_1.AppRunnerClient {
|
|
|
249
295
|
return this.send(command, optionsOrCb);
|
|
250
296
|
}
|
|
251
297
|
}
|
|
298
|
+
listVpcConnectors(args, optionsOrCb, cb) {
|
|
299
|
+
const command = new ListVpcConnectorsCommand_1.ListVpcConnectorsCommand(args);
|
|
300
|
+
if (typeof optionsOrCb === "function") {
|
|
301
|
+
this.send(command, optionsOrCb);
|
|
302
|
+
}
|
|
303
|
+
else if (typeof cb === "function") {
|
|
304
|
+
if (typeof optionsOrCb !== "object")
|
|
305
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
306
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
307
|
+
}
|
|
308
|
+
else {
|
|
309
|
+
return this.send(command, optionsOrCb);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
252
312
|
pauseService(args, optionsOrCb, cb) {
|
|
253
313
|
const command = new PauseServiceCommand_1.PauseServiceCommand(args);
|
|
254
314
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateVpcConnectorCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
class CreateVpcConnectorCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppRunnerClient";
|
|
18
|
+
const commandName = "CreateVpcConnectorCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateVpcConnectorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateVpcConnectorResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_0_1.serializeAws_json1_0CreateVpcConnectorCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_0_1.deserializeAws_json1_0CreateVpcConnectorCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateVpcConnectorCommand = CreateVpcConnectorCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteVpcConnectorCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
class DeleteVpcConnectorCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppRunnerClient";
|
|
18
|
+
const commandName = "DeleteVpcConnectorCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteVpcConnectorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteVpcConnectorResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_0_1.serializeAws_json1_0DeleteVpcConnectorCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_0_1.deserializeAws_json1_0DeleteVpcConnectorCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteVpcConnectorCommand = DeleteVpcConnectorCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeVpcConnectorCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
class DescribeVpcConnectorCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppRunnerClient";
|
|
18
|
+
const commandName = "DescribeVpcConnectorCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeVpcConnectorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeVpcConnectorResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_0_1.serializeAws_json1_0DescribeVpcConnectorCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_0_1.deserializeAws_json1_0DescribeVpcConnectorCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeVpcConnectorCommand = DescribeVpcConnectorCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListVpcConnectorsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
+
class ListVpcConnectorsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppRunnerClient";
|
|
18
|
+
const commandName = "ListVpcConnectorsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListVpcConnectorsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListVpcConnectorsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_0_1.serializeAws_json1_0ListVpcConnectorsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_0_1.deserializeAws_json1_0ListVpcConnectorsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListVpcConnectorsCommand = ListVpcConnectorsCommand;
|
|
@@ -5,18 +5,22 @@ tslib_1.__exportStar(require("./AssociateCustomDomainCommand"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./CreateAutoScalingConfigurationCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./CreateConnectionCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./CreateServiceCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateVpcConnectorCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./DeleteAutoScalingConfigurationCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./DeleteConnectionCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./DeleteServiceCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeleteVpcConnectorCommand"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./DescribeAutoScalingConfigurationCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./DescribeCustomDomainsCommand"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./DescribeServiceCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DescribeVpcConnectorCommand"), exports);
|
|
14
17
|
tslib_1.__exportStar(require("./DisassociateCustomDomainCommand"), exports);
|
|
15
18
|
tslib_1.__exportStar(require("./ListAutoScalingConfigurationsCommand"), exports);
|
|
16
19
|
tslib_1.__exportStar(require("./ListConnectionsCommand"), exports);
|
|
17
20
|
tslib_1.__exportStar(require("./ListOperationsCommand"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./ListServicesCommand"), exports);
|
|
19
22
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListVpcConnectorsCommand"), exports);
|
|
20
24
|
tslib_1.__exportStar(require("./PauseServiceCommand"), exports);
|
|
21
25
|
tslib_1.__exportStar(require("./ResumeServiceCommand"), exports);
|
|
22
26
|
tslib_1.__exportStar(require("./StartDeploymentCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateServiceResponse = exports.UpdateServiceRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartDeploymentResponse = exports.StartDeploymentRequest = exports.ResumeServiceResponse = exports.ResumeServiceRequest = exports.PauseServiceResponse = exports.PauseServiceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServicesResponse = exports.ServiceSummary = exports.ListServicesRequest = exports.ListOperationsResponse = exports.OperationSummary = exports.OperationType = exports.OperationStatus = exports.ListOperationsRequest = exports.ListConnectionsResponse = exports.ConnectionSummary = exports.ListConnectionsRequest = exports.ListAutoScalingConfigurationsResponse = exports.ListAutoScalingConfigurationsRequest = exports.DisassociateCustomDomainResponse = void 0;
|
|
3
|
+
exports.DeleteServiceResponse = exports.DeleteServiceRequest = exports.DeleteConnectionResponse = exports.DeleteConnectionRequest = exports.DeleteAutoScalingConfigurationResponse = exports.DeleteAutoScalingConfigurationRequest = exports.CreateVpcConnectorResponse = exports.VpcConnector = exports.VpcConnectorStatus = exports.CreateVpcConnectorRequest = exports.CreateServiceResponse = exports.Service = exports.ServiceStatus = exports.AutoScalingConfigurationSummary = exports.CreateServiceRequest = exports.SourceConfiguration = exports.ImageRepository = exports.ImageRepositoryType = exports.ImageConfiguration = exports.CodeRepository = exports.SourceCodeVersion = exports.SourceCodeVersionType = exports.CodeConfiguration = exports.ConfigurationSource = exports.CodeConfigurationValues = exports.Runtime = exports.AuthenticationConfiguration = exports.NetworkConfiguration = exports.EgressConfiguration = exports.EgressType = exports.InstanceConfiguration = exports.HealthCheckConfiguration = exports.HealthCheckProtocol = exports.EncryptionConfiguration = exports.CreateConnectionResponse = exports.Connection = exports.ConnectionStatus = exports.CreateConnectionRequest = exports.ProviderType = exports.CreateAutoScalingConfigurationResponse = exports.AutoScalingConfiguration = exports.AutoScalingConfigurationStatus = exports.CreateAutoScalingConfigurationRequest = exports.Tag = exports.AssociateCustomDomainResponse = exports.CustomDomain = exports.CustomDomainAssociationStatus = exports.CertificateValidationRecord = exports.CertificateValidationRecordStatus = exports.AssociateCustomDomainRequest = void 0;
|
|
4
|
+
exports.UpdateServiceResponse = exports.UpdateServiceRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartDeploymentResponse = exports.StartDeploymentRequest = exports.ResumeServiceResponse = exports.ResumeServiceRequest = exports.PauseServiceResponse = exports.PauseServiceRequest = exports.ListVpcConnectorsResponse = exports.ListVpcConnectorsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServicesResponse = exports.ServiceSummary = exports.ListServicesRequest = exports.ListOperationsResponse = exports.OperationSummary = exports.OperationType = exports.OperationStatus = exports.ListOperationsRequest = exports.ListConnectionsResponse = exports.ConnectionSummary = exports.ListConnectionsRequest = exports.ListAutoScalingConfigurationsResponse = exports.ListAutoScalingConfigurationsRequest = exports.DisassociateCustomDomainResponse = exports.DisassociateCustomDomainRequest = exports.DescribeVpcConnectorResponse = exports.DescribeVpcConnectorRequest = exports.DescribeServiceResponse = exports.DescribeServiceRequest = exports.DescribeCustomDomainsResponse = exports.DescribeCustomDomainsRequest = exports.DescribeAutoScalingConfigurationResponse = exports.DescribeAutoScalingConfigurationRequest = exports.DeleteVpcConnectorResponse = exports.DeleteVpcConnectorRequest = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
var AssociateCustomDomainRequest;
|
|
7
7
|
(function (AssociateCustomDomainRequest) {
|
|
@@ -124,6 +124,23 @@ var InstanceConfiguration;
|
|
|
124
124
|
...obj,
|
|
125
125
|
});
|
|
126
126
|
})(InstanceConfiguration = exports.InstanceConfiguration || (exports.InstanceConfiguration = {}));
|
|
127
|
+
var EgressType;
|
|
128
|
+
(function (EgressType) {
|
|
129
|
+
EgressType["DEFAULT"] = "DEFAULT";
|
|
130
|
+
EgressType["VPC"] = "VPC";
|
|
131
|
+
})(EgressType = exports.EgressType || (exports.EgressType = {}));
|
|
132
|
+
var EgressConfiguration;
|
|
133
|
+
(function (EgressConfiguration) {
|
|
134
|
+
EgressConfiguration.filterSensitiveLog = (obj) => ({
|
|
135
|
+
...obj,
|
|
136
|
+
});
|
|
137
|
+
})(EgressConfiguration = exports.EgressConfiguration || (exports.EgressConfiguration = {}));
|
|
138
|
+
var NetworkConfiguration;
|
|
139
|
+
(function (NetworkConfiguration) {
|
|
140
|
+
NetworkConfiguration.filterSensitiveLog = (obj) => ({
|
|
141
|
+
...obj,
|
|
142
|
+
});
|
|
143
|
+
})(NetworkConfiguration = exports.NetworkConfiguration || (exports.NetworkConfiguration = {}));
|
|
127
144
|
var AuthenticationConfiguration;
|
|
128
145
|
(function (AuthenticationConfiguration) {
|
|
129
146
|
AuthenticationConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -180,6 +197,7 @@ var ImageConfiguration;
|
|
|
180
197
|
ImageConfiguration.filterSensitiveLog = (obj) => ({
|
|
181
198
|
...obj,
|
|
182
199
|
...(obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: smithy_client_1.SENSITIVE_STRING }),
|
|
200
|
+
...(obj.StartCommand && { StartCommand: smithy_client_1.SENSITIVE_STRING }),
|
|
183
201
|
});
|
|
184
202
|
})(ImageConfiguration = exports.ImageConfiguration || (exports.ImageConfiguration = {}));
|
|
185
203
|
var ImageRepositoryType;
|
|
@@ -244,6 +262,29 @@ var CreateServiceResponse;
|
|
|
244
262
|
...(obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }),
|
|
245
263
|
});
|
|
246
264
|
})(CreateServiceResponse = exports.CreateServiceResponse || (exports.CreateServiceResponse = {}));
|
|
265
|
+
var CreateVpcConnectorRequest;
|
|
266
|
+
(function (CreateVpcConnectorRequest) {
|
|
267
|
+
CreateVpcConnectorRequest.filterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
});
|
|
270
|
+
})(CreateVpcConnectorRequest = exports.CreateVpcConnectorRequest || (exports.CreateVpcConnectorRequest = {}));
|
|
271
|
+
var VpcConnectorStatus;
|
|
272
|
+
(function (VpcConnectorStatus) {
|
|
273
|
+
VpcConnectorStatus["ACTIVE"] = "ACTIVE";
|
|
274
|
+
VpcConnectorStatus["INACTIVE"] = "INACTIVE";
|
|
275
|
+
})(VpcConnectorStatus = exports.VpcConnectorStatus || (exports.VpcConnectorStatus = {}));
|
|
276
|
+
var VpcConnector;
|
|
277
|
+
(function (VpcConnector) {
|
|
278
|
+
VpcConnector.filterSensitiveLog = (obj) => ({
|
|
279
|
+
...obj,
|
|
280
|
+
});
|
|
281
|
+
})(VpcConnector = exports.VpcConnector || (exports.VpcConnector = {}));
|
|
282
|
+
var CreateVpcConnectorResponse;
|
|
283
|
+
(function (CreateVpcConnectorResponse) {
|
|
284
|
+
CreateVpcConnectorResponse.filterSensitiveLog = (obj) => ({
|
|
285
|
+
...obj,
|
|
286
|
+
});
|
|
287
|
+
})(CreateVpcConnectorResponse = exports.CreateVpcConnectorResponse || (exports.CreateVpcConnectorResponse = {}));
|
|
247
288
|
var DeleteAutoScalingConfigurationRequest;
|
|
248
289
|
(function (DeleteAutoScalingConfigurationRequest) {
|
|
249
290
|
DeleteAutoScalingConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -281,6 +322,18 @@ var DeleteServiceResponse;
|
|
|
281
322
|
...(obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }),
|
|
282
323
|
});
|
|
283
324
|
})(DeleteServiceResponse = exports.DeleteServiceResponse || (exports.DeleteServiceResponse = {}));
|
|
325
|
+
var DeleteVpcConnectorRequest;
|
|
326
|
+
(function (DeleteVpcConnectorRequest) {
|
|
327
|
+
DeleteVpcConnectorRequest.filterSensitiveLog = (obj) => ({
|
|
328
|
+
...obj,
|
|
329
|
+
});
|
|
330
|
+
})(DeleteVpcConnectorRequest = exports.DeleteVpcConnectorRequest || (exports.DeleteVpcConnectorRequest = {}));
|
|
331
|
+
var DeleteVpcConnectorResponse;
|
|
332
|
+
(function (DeleteVpcConnectorResponse) {
|
|
333
|
+
DeleteVpcConnectorResponse.filterSensitiveLog = (obj) => ({
|
|
334
|
+
...obj,
|
|
335
|
+
});
|
|
336
|
+
})(DeleteVpcConnectorResponse = exports.DeleteVpcConnectorResponse || (exports.DeleteVpcConnectorResponse = {}));
|
|
284
337
|
var DescribeAutoScalingConfigurationRequest;
|
|
285
338
|
(function (DescribeAutoScalingConfigurationRequest) {
|
|
286
339
|
DescribeAutoScalingConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -318,6 +371,18 @@ var DescribeServiceResponse;
|
|
|
318
371
|
...(obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }),
|
|
319
372
|
});
|
|
320
373
|
})(DescribeServiceResponse = exports.DescribeServiceResponse || (exports.DescribeServiceResponse = {}));
|
|
374
|
+
var DescribeVpcConnectorRequest;
|
|
375
|
+
(function (DescribeVpcConnectorRequest) {
|
|
376
|
+
DescribeVpcConnectorRequest.filterSensitiveLog = (obj) => ({
|
|
377
|
+
...obj,
|
|
378
|
+
});
|
|
379
|
+
})(DescribeVpcConnectorRequest = exports.DescribeVpcConnectorRequest || (exports.DescribeVpcConnectorRequest = {}));
|
|
380
|
+
var DescribeVpcConnectorResponse;
|
|
381
|
+
(function (DescribeVpcConnectorResponse) {
|
|
382
|
+
DescribeVpcConnectorResponse.filterSensitiveLog = (obj) => ({
|
|
383
|
+
...obj,
|
|
384
|
+
});
|
|
385
|
+
})(DescribeVpcConnectorResponse = exports.DescribeVpcConnectorResponse || (exports.DescribeVpcConnectorResponse = {}));
|
|
321
386
|
var DisassociateCustomDomainRequest;
|
|
322
387
|
(function (DisassociateCustomDomainRequest) {
|
|
323
388
|
DisassociateCustomDomainRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -426,6 +491,18 @@ var ListTagsForResourceResponse;
|
|
|
426
491
|
...obj,
|
|
427
492
|
});
|
|
428
493
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
494
|
+
var ListVpcConnectorsRequest;
|
|
495
|
+
(function (ListVpcConnectorsRequest) {
|
|
496
|
+
ListVpcConnectorsRequest.filterSensitiveLog = (obj) => ({
|
|
497
|
+
...obj,
|
|
498
|
+
});
|
|
499
|
+
})(ListVpcConnectorsRequest = exports.ListVpcConnectorsRequest || (exports.ListVpcConnectorsRequest = {}));
|
|
500
|
+
var ListVpcConnectorsResponse;
|
|
501
|
+
(function (ListVpcConnectorsResponse) {
|
|
502
|
+
ListVpcConnectorsResponse.filterSensitiveLog = (obj) => ({
|
|
503
|
+
...obj,
|
|
504
|
+
});
|
|
505
|
+
})(ListVpcConnectorsResponse = exports.ListVpcConnectorsResponse || (exports.ListVpcConnectorsResponse = {}));
|
|
429
506
|
var PauseServiceRequest;
|
|
430
507
|
(function (PauseServiceRequest) {
|
|
431
508
|
PauseServiceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListVpcConnectors = void 0;
|
|
4
|
+
const AppRunner_1 = require("../AppRunner");
|
|
5
|
+
const AppRunnerClient_1 = require("../AppRunnerClient");
|
|
6
|
+
const ListVpcConnectorsCommand_1 = require("../commands/ListVpcConnectorsCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListVpcConnectorsCommand_1.ListVpcConnectorsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listVpcConnectors(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListVpcConnectors(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof AppRunner_1.AppRunner) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof AppRunnerClient_1.AppRunnerClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListVpcConnectors = paginateListVpcConnectors;
|
|
@@ -7,3 +7,4 @@ tslib_1.__exportStar(require("./ListAutoScalingConfigurationsPaginator"), export
|
|
|
7
7
|
tslib_1.__exportStar(require("./ListConnectionsPaginator"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./ListOperationsPaginator"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./ListServicesPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListVpcConnectorsPaginator"), exports);
|