@aws-sdk/client-apprunner 3.51.0 → 3.54.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 +34 -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/endpoints.js +29 -1
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AppRunnerServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +153 -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 +544 -675
- 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/endpoints.js +29 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/AppRunnerServiceException.js +12 -0
- package/dist-es/models/models_0.js +125 -2
- package/dist-es/pagination/ListVpcConnectorsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +844 -759
- package/dist-types/AppRunner.d.ts +33 -3
- package/dist-types/AppRunnerClient.d.ts +8 -4
- 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/index.d.ts +1 -0
- package/dist-types/models/AppRunnerServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +294 -27
- 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/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/AppRunner.d.ts +20 -0
- package/dist-types/ts3.4/AppRunnerClient.d.ts +8 -4
- 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/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AppRunnerServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +161 -16
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,40 @@
|
|
|
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.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
23
|
+
* **clients:** update clients as of 2022/02/23 ([#3356](https://github.com/aws/aws-sdk-js-v3/issues/3356)) ([b6b2e25](https://github.com/aws/aws-sdk-js-v3/commit/b6b2e258add12c73d807483ca078401a6d84a12b))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* **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))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
6
40
|
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
41
|
|
|
8
42
|
**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);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -2,7 +2,32 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const regionHash = {
|
|
5
|
+
const regionHash = {
|
|
6
|
+
"us-east-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "apprunner-fips.us-east-1.amazonaws.com",
|
|
10
|
+
tags: ["fips"],
|
|
11
|
+
},
|
|
12
|
+
],
|
|
13
|
+
},
|
|
14
|
+
"us-east-2": {
|
|
15
|
+
variants: [
|
|
16
|
+
{
|
|
17
|
+
hostname: "apprunner-fips.us-east-2.amazonaws.com",
|
|
18
|
+
tags: ["fips"],
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
"us-west-2": {
|
|
23
|
+
variants: [
|
|
24
|
+
{
|
|
25
|
+
hostname: "apprunner-fips.us-west-2.amazonaws.com",
|
|
26
|
+
tags: ["fips"],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
};
|
|
6
31
|
const partitionHash = {
|
|
7
32
|
aws: {
|
|
8
33
|
regions: [
|
|
@@ -22,6 +47,9 @@ const partitionHash = {
|
|
|
22
47
|
"eu-west-1",
|
|
23
48
|
"eu-west-2",
|
|
24
49
|
"eu-west-3",
|
|
50
|
+
"fips-us-east-1",
|
|
51
|
+
"fips-us-east-2",
|
|
52
|
+
"fips-us-west-2",
|
|
25
53
|
"me-south-1",
|
|
26
54
|
"sa-east-1",
|
|
27
55
|
"us-east-1",
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppRunnerServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./AppRunner"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./AppRunnerClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var AppRunnerServiceException_1 = require("./models/AppRunnerServiceException");
|
|
11
|
+
Object.defineProperty(exports, "AppRunnerServiceException", { enumerable: true, get: function () { return AppRunnerServiceException_1.AppRunnerServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppRunnerServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class AppRunnerServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, AppRunnerServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.AppRunnerServiceException = AppRunnerServiceException;
|
|
@@ -1,8 +1,9 @@
|
|
|
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.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.ServiceQuotaExceededException = exports.CreateAutoScalingConfigurationResponse = exports.AutoScalingConfiguration = exports.AutoScalingConfigurationStatus = exports.CreateAutoScalingConfigurationRequest = exports.Tag = exports.InvalidStateException = exports.InvalidRequestException = exports.InternalServiceErrorException = 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 = exports.DeleteServiceResponse = exports.DeleteServiceRequest = exports.DeleteConnectionResponse = exports.DeleteConnectionRequest = exports.ResourceNotFoundException = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const AppRunnerServiceException_1 = require("./AppRunnerServiceException");
|
|
6
7
|
var AssociateCustomDomainRequest;
|
|
7
8
|
(function (AssociateCustomDomainRequest) {
|
|
8
9
|
AssociateCustomDomainRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -43,6 +44,48 @@ var AssociateCustomDomainResponse;
|
|
|
43
44
|
...obj,
|
|
44
45
|
});
|
|
45
46
|
})(AssociateCustomDomainResponse = exports.AssociateCustomDomainResponse || (exports.AssociateCustomDomainResponse = {}));
|
|
47
|
+
class InternalServiceErrorException extends AppRunnerServiceException_1.AppRunnerServiceException {
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InternalServiceErrorException",
|
|
51
|
+
$fault: "server",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
this.name = "InternalServiceErrorException";
|
|
55
|
+
this.$fault = "server";
|
|
56
|
+
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
57
|
+
this.Message = opts.Message;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.InternalServiceErrorException = InternalServiceErrorException;
|
|
61
|
+
class InvalidRequestException extends AppRunnerServiceException_1.AppRunnerServiceException {
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "InvalidRequestException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
this.name = "InvalidRequestException";
|
|
69
|
+
this.$fault = "client";
|
|
70
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
71
|
+
this.Message = opts.Message;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
75
|
+
class InvalidStateException extends AppRunnerServiceException_1.AppRunnerServiceException {
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "InvalidStateException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
this.name = "InvalidStateException";
|
|
83
|
+
this.$fault = "client";
|
|
84
|
+
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
85
|
+
this.Message = opts.Message;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.InvalidStateException = InvalidStateException;
|
|
46
89
|
var Tag;
|
|
47
90
|
(function (Tag) {
|
|
48
91
|
Tag.filterSensitiveLog = (obj) => ({
|
|
@@ -72,6 +115,20 @@ var CreateAutoScalingConfigurationResponse;
|
|
|
72
115
|
...obj,
|
|
73
116
|
});
|
|
74
117
|
})(CreateAutoScalingConfigurationResponse = exports.CreateAutoScalingConfigurationResponse || (exports.CreateAutoScalingConfigurationResponse = {}));
|
|
118
|
+
class ServiceQuotaExceededException extends AppRunnerServiceException_1.AppRunnerServiceException {
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "ServiceQuotaExceededException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
this.name = "ServiceQuotaExceededException";
|
|
126
|
+
this.$fault = "client";
|
|
127
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
128
|
+
this.Message = opts.Message;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
75
132
|
var ProviderType;
|
|
76
133
|
(function (ProviderType) {
|
|
77
134
|
ProviderType["GITHUB"] = "GITHUB";
|
|
@@ -124,6 +181,23 @@ var InstanceConfiguration;
|
|
|
124
181
|
...obj,
|
|
125
182
|
});
|
|
126
183
|
})(InstanceConfiguration = exports.InstanceConfiguration || (exports.InstanceConfiguration = {}));
|
|
184
|
+
var EgressType;
|
|
185
|
+
(function (EgressType) {
|
|
186
|
+
EgressType["DEFAULT"] = "DEFAULT";
|
|
187
|
+
EgressType["VPC"] = "VPC";
|
|
188
|
+
})(EgressType = exports.EgressType || (exports.EgressType = {}));
|
|
189
|
+
var EgressConfiguration;
|
|
190
|
+
(function (EgressConfiguration) {
|
|
191
|
+
EgressConfiguration.filterSensitiveLog = (obj) => ({
|
|
192
|
+
...obj,
|
|
193
|
+
});
|
|
194
|
+
})(EgressConfiguration = exports.EgressConfiguration || (exports.EgressConfiguration = {}));
|
|
195
|
+
var NetworkConfiguration;
|
|
196
|
+
(function (NetworkConfiguration) {
|
|
197
|
+
NetworkConfiguration.filterSensitiveLog = (obj) => ({
|
|
198
|
+
...obj,
|
|
199
|
+
});
|
|
200
|
+
})(NetworkConfiguration = exports.NetworkConfiguration || (exports.NetworkConfiguration = {}));
|
|
127
201
|
var AuthenticationConfiguration;
|
|
128
202
|
(function (AuthenticationConfiguration) {
|
|
129
203
|
AuthenticationConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -132,7 +206,10 @@ var AuthenticationConfiguration;
|
|
|
132
206
|
})(AuthenticationConfiguration = exports.AuthenticationConfiguration || (exports.AuthenticationConfiguration = {}));
|
|
133
207
|
var Runtime;
|
|
134
208
|
(function (Runtime) {
|
|
209
|
+
Runtime["CORRETTO_11"] = "CORRETTO_11";
|
|
210
|
+
Runtime["CORRETTO_8"] = "CORRETTO_8";
|
|
135
211
|
Runtime["NODEJS_12"] = "NODEJS_12";
|
|
212
|
+
Runtime["NODEJS_14"] = "NODEJS_14";
|
|
136
213
|
Runtime["PYTHON_3"] = "PYTHON_3";
|
|
137
214
|
})(Runtime = exports.Runtime || (exports.Runtime = {}));
|
|
138
215
|
var CodeConfigurationValues;
|
|
@@ -180,6 +257,7 @@ var ImageConfiguration;
|
|
|
180
257
|
ImageConfiguration.filterSensitiveLog = (obj) => ({
|
|
181
258
|
...obj,
|
|
182
259
|
...(obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: smithy_client_1.SENSITIVE_STRING }),
|
|
260
|
+
...(obj.StartCommand && { StartCommand: smithy_client_1.SENSITIVE_STRING }),
|
|
183
261
|
});
|
|
184
262
|
})(ImageConfiguration = exports.ImageConfiguration || (exports.ImageConfiguration = {}));
|
|
185
263
|
var ImageRepositoryType;
|
|
@@ -244,6 +322,29 @@ var CreateServiceResponse;
|
|
|
244
322
|
...(obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }),
|
|
245
323
|
});
|
|
246
324
|
})(CreateServiceResponse = exports.CreateServiceResponse || (exports.CreateServiceResponse = {}));
|
|
325
|
+
var CreateVpcConnectorRequest;
|
|
326
|
+
(function (CreateVpcConnectorRequest) {
|
|
327
|
+
CreateVpcConnectorRequest.filterSensitiveLog = (obj) => ({
|
|
328
|
+
...obj,
|
|
329
|
+
});
|
|
330
|
+
})(CreateVpcConnectorRequest = exports.CreateVpcConnectorRequest || (exports.CreateVpcConnectorRequest = {}));
|
|
331
|
+
var VpcConnectorStatus;
|
|
332
|
+
(function (VpcConnectorStatus) {
|
|
333
|
+
VpcConnectorStatus["ACTIVE"] = "ACTIVE";
|
|
334
|
+
VpcConnectorStatus["INACTIVE"] = "INACTIVE";
|
|
335
|
+
})(VpcConnectorStatus = exports.VpcConnectorStatus || (exports.VpcConnectorStatus = {}));
|
|
336
|
+
var VpcConnector;
|
|
337
|
+
(function (VpcConnector) {
|
|
338
|
+
VpcConnector.filterSensitiveLog = (obj) => ({
|
|
339
|
+
...obj,
|
|
340
|
+
});
|
|
341
|
+
})(VpcConnector = exports.VpcConnector || (exports.VpcConnector = {}));
|
|
342
|
+
var CreateVpcConnectorResponse;
|
|
343
|
+
(function (CreateVpcConnectorResponse) {
|
|
344
|
+
CreateVpcConnectorResponse.filterSensitiveLog = (obj) => ({
|
|
345
|
+
...obj,
|
|
346
|
+
});
|
|
347
|
+
})(CreateVpcConnectorResponse = exports.CreateVpcConnectorResponse || (exports.CreateVpcConnectorResponse = {}));
|
|
247
348
|
var DeleteAutoScalingConfigurationRequest;
|
|
248
349
|
(function (DeleteAutoScalingConfigurationRequest) {
|
|
249
350
|
DeleteAutoScalingConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -256,6 +357,20 @@ var DeleteAutoScalingConfigurationResponse;
|
|
|
256
357
|
...obj,
|
|
257
358
|
});
|
|
258
359
|
})(DeleteAutoScalingConfigurationResponse = exports.DeleteAutoScalingConfigurationResponse || (exports.DeleteAutoScalingConfigurationResponse = {}));
|
|
360
|
+
class ResourceNotFoundException extends AppRunnerServiceException_1.AppRunnerServiceException {
|
|
361
|
+
constructor(opts) {
|
|
362
|
+
super({
|
|
363
|
+
name: "ResourceNotFoundException",
|
|
364
|
+
$fault: "client",
|
|
365
|
+
...opts,
|
|
366
|
+
});
|
|
367
|
+
this.name = "ResourceNotFoundException";
|
|
368
|
+
this.$fault = "client";
|
|
369
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
370
|
+
this.Message = opts.Message;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
259
374
|
var DeleteConnectionRequest;
|
|
260
375
|
(function (DeleteConnectionRequest) {
|
|
261
376
|
DeleteConnectionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -281,6 +396,18 @@ var DeleteServiceResponse;
|
|
|
281
396
|
...(obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }),
|
|
282
397
|
});
|
|
283
398
|
})(DeleteServiceResponse = exports.DeleteServiceResponse || (exports.DeleteServiceResponse = {}));
|
|
399
|
+
var DeleteVpcConnectorRequest;
|
|
400
|
+
(function (DeleteVpcConnectorRequest) {
|
|
401
|
+
DeleteVpcConnectorRequest.filterSensitiveLog = (obj) => ({
|
|
402
|
+
...obj,
|
|
403
|
+
});
|
|
404
|
+
})(DeleteVpcConnectorRequest = exports.DeleteVpcConnectorRequest || (exports.DeleteVpcConnectorRequest = {}));
|
|
405
|
+
var DeleteVpcConnectorResponse;
|
|
406
|
+
(function (DeleteVpcConnectorResponse) {
|
|
407
|
+
DeleteVpcConnectorResponse.filterSensitiveLog = (obj) => ({
|
|
408
|
+
...obj,
|
|
409
|
+
});
|
|
410
|
+
})(DeleteVpcConnectorResponse = exports.DeleteVpcConnectorResponse || (exports.DeleteVpcConnectorResponse = {}));
|
|
284
411
|
var DescribeAutoScalingConfigurationRequest;
|
|
285
412
|
(function (DescribeAutoScalingConfigurationRequest) {
|
|
286
413
|
DescribeAutoScalingConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -318,6 +445,18 @@ var DescribeServiceResponse;
|
|
|
318
445
|
...(obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }),
|
|
319
446
|
});
|
|
320
447
|
})(DescribeServiceResponse = exports.DescribeServiceResponse || (exports.DescribeServiceResponse = {}));
|
|
448
|
+
var DescribeVpcConnectorRequest;
|
|
449
|
+
(function (DescribeVpcConnectorRequest) {
|
|
450
|
+
DescribeVpcConnectorRequest.filterSensitiveLog = (obj) => ({
|
|
451
|
+
...obj,
|
|
452
|
+
});
|
|
453
|
+
})(DescribeVpcConnectorRequest = exports.DescribeVpcConnectorRequest || (exports.DescribeVpcConnectorRequest = {}));
|
|
454
|
+
var DescribeVpcConnectorResponse;
|
|
455
|
+
(function (DescribeVpcConnectorResponse) {
|
|
456
|
+
DescribeVpcConnectorResponse.filterSensitiveLog = (obj) => ({
|
|
457
|
+
...obj,
|
|
458
|
+
});
|
|
459
|
+
})(DescribeVpcConnectorResponse = exports.DescribeVpcConnectorResponse || (exports.DescribeVpcConnectorResponse = {}));
|
|
321
460
|
var DisassociateCustomDomainRequest;
|
|
322
461
|
(function (DisassociateCustomDomainRequest) {
|
|
323
462
|
DisassociateCustomDomainRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -426,6 +565,18 @@ var ListTagsForResourceResponse;
|
|
|
426
565
|
...obj,
|
|
427
566
|
});
|
|
428
567
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
568
|
+
var ListVpcConnectorsRequest;
|
|
569
|
+
(function (ListVpcConnectorsRequest) {
|
|
570
|
+
ListVpcConnectorsRequest.filterSensitiveLog = (obj) => ({
|
|
571
|
+
...obj,
|
|
572
|
+
});
|
|
573
|
+
})(ListVpcConnectorsRequest = exports.ListVpcConnectorsRequest || (exports.ListVpcConnectorsRequest = {}));
|
|
574
|
+
var ListVpcConnectorsResponse;
|
|
575
|
+
(function (ListVpcConnectorsResponse) {
|
|
576
|
+
ListVpcConnectorsResponse.filterSensitiveLog = (obj) => ({
|
|
577
|
+
...obj,
|
|
578
|
+
});
|
|
579
|
+
})(ListVpcConnectorsResponse = exports.ListVpcConnectorsResponse || (exports.ListVpcConnectorsResponse = {}));
|
|
429
580
|
var PauseServiceRequest;
|
|
430
581
|
(function (PauseServiceRequest) {
|
|
431
582
|
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;
|