@aws-sdk/client-apprunner 3.51.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 +11 -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 +33 -33
package/dist-es/AppRunner.js
CHANGED
|
@@ -4,18 +4,22 @@ import { AssociateCustomDomainCommand, } from "./commands/AssociateCustomDomainC
|
|
|
4
4
|
import { CreateAutoScalingConfigurationCommand, } from "./commands/CreateAutoScalingConfigurationCommand";
|
|
5
5
|
import { CreateConnectionCommand, } from "./commands/CreateConnectionCommand";
|
|
6
6
|
import { CreateServiceCommand, } from "./commands/CreateServiceCommand";
|
|
7
|
+
import { CreateVpcConnectorCommand, } from "./commands/CreateVpcConnectorCommand";
|
|
7
8
|
import { DeleteAutoScalingConfigurationCommand, } from "./commands/DeleteAutoScalingConfigurationCommand";
|
|
8
9
|
import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
|
|
9
10
|
import { DeleteServiceCommand, } from "./commands/DeleteServiceCommand";
|
|
11
|
+
import { DeleteVpcConnectorCommand, } from "./commands/DeleteVpcConnectorCommand";
|
|
10
12
|
import { DescribeAutoScalingConfigurationCommand, } from "./commands/DescribeAutoScalingConfigurationCommand";
|
|
11
13
|
import { DescribeCustomDomainsCommand, } from "./commands/DescribeCustomDomainsCommand";
|
|
12
14
|
import { DescribeServiceCommand, } from "./commands/DescribeServiceCommand";
|
|
15
|
+
import { DescribeVpcConnectorCommand, } from "./commands/DescribeVpcConnectorCommand";
|
|
13
16
|
import { DisassociateCustomDomainCommand, } from "./commands/DisassociateCustomDomainCommand";
|
|
14
17
|
import { ListAutoScalingConfigurationsCommand, } from "./commands/ListAutoScalingConfigurationsCommand";
|
|
15
18
|
import { ListConnectionsCommand, } from "./commands/ListConnectionsCommand";
|
|
16
19
|
import { ListOperationsCommand, } from "./commands/ListOperationsCommand";
|
|
17
20
|
import { ListServicesCommand, } from "./commands/ListServicesCommand";
|
|
18
21
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
22
|
+
import { ListVpcConnectorsCommand, } from "./commands/ListVpcConnectorsCommand";
|
|
19
23
|
import { PauseServiceCommand, } from "./commands/PauseServiceCommand";
|
|
20
24
|
import { ResumeServiceCommand, } from "./commands/ResumeServiceCommand";
|
|
21
25
|
import { StartDeploymentCommand, } from "./commands/StartDeploymentCommand";
|
|
@@ -83,6 +87,20 @@ var AppRunner = (function (_super) {
|
|
|
83
87
|
return this.send(command, optionsOrCb);
|
|
84
88
|
}
|
|
85
89
|
};
|
|
90
|
+
AppRunner.prototype.createVpcConnector = function (args, optionsOrCb, cb) {
|
|
91
|
+
var command = new CreateVpcConnectorCommand(args);
|
|
92
|
+
if (typeof optionsOrCb === "function") {
|
|
93
|
+
this.send(command, optionsOrCb);
|
|
94
|
+
}
|
|
95
|
+
else if (typeof cb === "function") {
|
|
96
|
+
if (typeof optionsOrCb !== "object")
|
|
97
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
98
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
return this.send(command, optionsOrCb);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
86
104
|
AppRunner.prototype.deleteAutoScalingConfiguration = function (args, optionsOrCb, cb) {
|
|
87
105
|
var command = new DeleteAutoScalingConfigurationCommand(args);
|
|
88
106
|
if (typeof optionsOrCb === "function") {
|
|
@@ -125,6 +143,20 @@ var AppRunner = (function (_super) {
|
|
|
125
143
|
return this.send(command, optionsOrCb);
|
|
126
144
|
}
|
|
127
145
|
};
|
|
146
|
+
AppRunner.prototype.deleteVpcConnector = function (args, optionsOrCb, cb) {
|
|
147
|
+
var command = new DeleteVpcConnectorCommand(args);
|
|
148
|
+
if (typeof optionsOrCb === "function") {
|
|
149
|
+
this.send(command, optionsOrCb);
|
|
150
|
+
}
|
|
151
|
+
else if (typeof cb === "function") {
|
|
152
|
+
if (typeof optionsOrCb !== "object")
|
|
153
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
154
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
return this.send(command, optionsOrCb);
|
|
158
|
+
}
|
|
159
|
+
};
|
|
128
160
|
AppRunner.prototype.describeAutoScalingConfiguration = function (args, optionsOrCb, cb) {
|
|
129
161
|
var command = new DescribeAutoScalingConfigurationCommand(args);
|
|
130
162
|
if (typeof optionsOrCb === "function") {
|
|
@@ -167,6 +199,20 @@ var AppRunner = (function (_super) {
|
|
|
167
199
|
return this.send(command, optionsOrCb);
|
|
168
200
|
}
|
|
169
201
|
};
|
|
202
|
+
AppRunner.prototype.describeVpcConnector = function (args, optionsOrCb, cb) {
|
|
203
|
+
var command = new DescribeVpcConnectorCommand(args);
|
|
204
|
+
if (typeof optionsOrCb === "function") {
|
|
205
|
+
this.send(command, optionsOrCb);
|
|
206
|
+
}
|
|
207
|
+
else if (typeof cb === "function") {
|
|
208
|
+
if (typeof optionsOrCb !== "object")
|
|
209
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
210
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
return this.send(command, optionsOrCb);
|
|
214
|
+
}
|
|
215
|
+
};
|
|
170
216
|
AppRunner.prototype.disassociateCustomDomain = function (args, optionsOrCb, cb) {
|
|
171
217
|
var command = new DisassociateCustomDomainCommand(args);
|
|
172
218
|
if (typeof optionsOrCb === "function") {
|
|
@@ -251,6 +297,20 @@ var AppRunner = (function (_super) {
|
|
|
251
297
|
return this.send(command, optionsOrCb);
|
|
252
298
|
}
|
|
253
299
|
};
|
|
300
|
+
AppRunner.prototype.listVpcConnectors = function (args, optionsOrCb, cb) {
|
|
301
|
+
var command = new ListVpcConnectorsCommand(args);
|
|
302
|
+
if (typeof optionsOrCb === "function") {
|
|
303
|
+
this.send(command, optionsOrCb);
|
|
304
|
+
}
|
|
305
|
+
else if (typeof cb === "function") {
|
|
306
|
+
if (typeof optionsOrCb !== "object")
|
|
307
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
308
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
309
|
+
}
|
|
310
|
+
else {
|
|
311
|
+
return this.send(command, optionsOrCb);
|
|
312
|
+
}
|
|
313
|
+
};
|
|
254
314
|
AppRunner.prototype.pauseService = function (args, optionsOrCb, cb) {
|
|
255
315
|
var command = new PauseServiceCommand(args);
|
|
256
316
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateVpcConnectorRequest, CreateVpcConnectorResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0CreateVpcConnectorCommand, serializeAws_json1_0CreateVpcConnectorCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
var CreateVpcConnectorCommand = (function (_super) {
|
|
7
|
+
__extends(CreateVpcConnectorCommand, _super);
|
|
8
|
+
function CreateVpcConnectorCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateVpcConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppRunnerClient";
|
|
18
|
+
var commandName = "CreateVpcConnectorCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateVpcConnectorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateVpcConnectorResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateVpcConnectorCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_0CreateVpcConnectorCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateVpcConnectorCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_0CreateVpcConnectorCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateVpcConnectorCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateVpcConnectorCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteVpcConnectorRequest, DeleteVpcConnectorResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0DeleteVpcConnectorCommand, serializeAws_json1_0DeleteVpcConnectorCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
var DeleteVpcConnectorCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteVpcConnectorCommand, _super);
|
|
8
|
+
function DeleteVpcConnectorCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteVpcConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppRunnerClient";
|
|
18
|
+
var commandName = "DeleteVpcConnectorCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteVpcConnectorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteVpcConnectorResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteVpcConnectorCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_0DeleteVpcConnectorCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteVpcConnectorCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_0DeleteVpcConnectorCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteVpcConnectorCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteVpcConnectorCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeVpcConnectorRequest, DescribeVpcConnectorResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0DescribeVpcConnectorCommand, serializeAws_json1_0DescribeVpcConnectorCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
var DescribeVpcConnectorCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeVpcConnectorCommand, _super);
|
|
8
|
+
function DescribeVpcConnectorCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeVpcConnectorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppRunnerClient";
|
|
18
|
+
var commandName = "DescribeVpcConnectorCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeVpcConnectorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeVpcConnectorResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeVpcConnectorCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_0DescribeVpcConnectorCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeVpcConnectorCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_0DescribeVpcConnectorCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeVpcConnectorCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeVpcConnectorCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListVpcConnectorsRequest, ListVpcConnectorsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0ListVpcConnectorsCommand, serializeAws_json1_0ListVpcConnectorsCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
var ListVpcConnectorsCommand = (function (_super) {
|
|
7
|
+
__extends(ListVpcConnectorsCommand, _super);
|
|
8
|
+
function ListVpcConnectorsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListVpcConnectorsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppRunnerClient";
|
|
18
|
+
var commandName = "ListVpcConnectorsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListVpcConnectorsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListVpcConnectorsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListVpcConnectorsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_0ListVpcConnectorsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListVpcConnectorsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_0ListVpcConnectorsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListVpcConnectorsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListVpcConnectorsCommand };
|
|
@@ -2,18 +2,22 @@ export * from "./AssociateCustomDomainCommand";
|
|
|
2
2
|
export * from "./CreateAutoScalingConfigurationCommand";
|
|
3
3
|
export * from "./CreateConnectionCommand";
|
|
4
4
|
export * from "./CreateServiceCommand";
|
|
5
|
+
export * from "./CreateVpcConnectorCommand";
|
|
5
6
|
export * from "./DeleteAutoScalingConfigurationCommand";
|
|
6
7
|
export * from "./DeleteConnectionCommand";
|
|
7
8
|
export * from "./DeleteServiceCommand";
|
|
9
|
+
export * from "./DeleteVpcConnectorCommand";
|
|
8
10
|
export * from "./DescribeAutoScalingConfigurationCommand";
|
|
9
11
|
export * from "./DescribeCustomDomainsCommand";
|
|
10
12
|
export * from "./DescribeServiceCommand";
|
|
13
|
+
export * from "./DescribeVpcConnectorCommand";
|
|
11
14
|
export * from "./DisassociateCustomDomainCommand";
|
|
12
15
|
export * from "./ListAutoScalingConfigurationsCommand";
|
|
13
16
|
export * from "./ListConnectionsCommand";
|
|
14
17
|
export * from "./ListOperationsCommand";
|
|
15
18
|
export * from "./ListServicesCommand";
|
|
16
19
|
export * from "./ListTagsForResourceCommand";
|
|
20
|
+
export * from "./ListVpcConnectorsCommand";
|
|
17
21
|
export * from "./PauseServiceCommand";
|
|
18
22
|
export * from "./ResumeServiceCommand";
|
|
19
23
|
export * from "./StartDeploymentCommand";
|
|
@@ -93,6 +93,19 @@ export var InstanceConfiguration;
|
|
|
93
93
|
(function (InstanceConfiguration) {
|
|
94
94
|
InstanceConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
95
95
|
})(InstanceConfiguration || (InstanceConfiguration = {}));
|
|
96
|
+
export var EgressType;
|
|
97
|
+
(function (EgressType) {
|
|
98
|
+
EgressType["DEFAULT"] = "DEFAULT";
|
|
99
|
+
EgressType["VPC"] = "VPC";
|
|
100
|
+
})(EgressType || (EgressType = {}));
|
|
101
|
+
export var EgressConfiguration;
|
|
102
|
+
(function (EgressConfiguration) {
|
|
103
|
+
EgressConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
104
|
+
})(EgressConfiguration || (EgressConfiguration = {}));
|
|
105
|
+
export var NetworkConfiguration;
|
|
106
|
+
(function (NetworkConfiguration) {
|
|
107
|
+
NetworkConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
108
|
+
})(NetworkConfiguration || (NetworkConfiguration = {}));
|
|
96
109
|
export var AuthenticationConfiguration;
|
|
97
110
|
(function (AuthenticationConfiguration) {
|
|
98
111
|
AuthenticationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -131,7 +144,7 @@ export var CodeRepository;
|
|
|
131
144
|
})(CodeRepository || (CodeRepository = {}));
|
|
132
145
|
export var ImageConfiguration;
|
|
133
146
|
(function (ImageConfiguration) {
|
|
134
|
-
ImageConfiguration.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: SENSITIVE_STRING }))); };
|
|
147
|
+
ImageConfiguration.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: SENSITIVE_STRING })), (obj.StartCommand && { StartCommand: SENSITIVE_STRING }))); };
|
|
135
148
|
})(ImageConfiguration || (ImageConfiguration = {}));
|
|
136
149
|
export var ImageRepositoryType;
|
|
137
150
|
(function (ImageRepositoryType) {
|
|
@@ -177,6 +190,23 @@ export var CreateServiceResponse;
|
|
|
177
190
|
(function (CreateServiceResponse) {
|
|
178
191
|
CreateServiceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }))); };
|
|
179
192
|
})(CreateServiceResponse || (CreateServiceResponse = {}));
|
|
193
|
+
export var CreateVpcConnectorRequest;
|
|
194
|
+
(function (CreateVpcConnectorRequest) {
|
|
195
|
+
CreateVpcConnectorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
+
})(CreateVpcConnectorRequest || (CreateVpcConnectorRequest = {}));
|
|
197
|
+
export var VpcConnectorStatus;
|
|
198
|
+
(function (VpcConnectorStatus) {
|
|
199
|
+
VpcConnectorStatus["ACTIVE"] = "ACTIVE";
|
|
200
|
+
VpcConnectorStatus["INACTIVE"] = "INACTIVE";
|
|
201
|
+
})(VpcConnectorStatus || (VpcConnectorStatus = {}));
|
|
202
|
+
export var VpcConnector;
|
|
203
|
+
(function (VpcConnector) {
|
|
204
|
+
VpcConnector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
205
|
+
})(VpcConnector || (VpcConnector = {}));
|
|
206
|
+
export var CreateVpcConnectorResponse;
|
|
207
|
+
(function (CreateVpcConnectorResponse) {
|
|
208
|
+
CreateVpcConnectorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
209
|
+
})(CreateVpcConnectorResponse || (CreateVpcConnectorResponse = {}));
|
|
180
210
|
export var DeleteAutoScalingConfigurationRequest;
|
|
181
211
|
(function (DeleteAutoScalingConfigurationRequest) {
|
|
182
212
|
DeleteAutoScalingConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -201,6 +231,14 @@ export var DeleteServiceResponse;
|
|
|
201
231
|
(function (DeleteServiceResponse) {
|
|
202
232
|
DeleteServiceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }))); };
|
|
203
233
|
})(DeleteServiceResponse || (DeleteServiceResponse = {}));
|
|
234
|
+
export var DeleteVpcConnectorRequest;
|
|
235
|
+
(function (DeleteVpcConnectorRequest) {
|
|
236
|
+
DeleteVpcConnectorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
+
})(DeleteVpcConnectorRequest || (DeleteVpcConnectorRequest = {}));
|
|
238
|
+
export var DeleteVpcConnectorResponse;
|
|
239
|
+
(function (DeleteVpcConnectorResponse) {
|
|
240
|
+
DeleteVpcConnectorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
241
|
+
})(DeleteVpcConnectorResponse || (DeleteVpcConnectorResponse = {}));
|
|
204
242
|
export var DescribeAutoScalingConfigurationRequest;
|
|
205
243
|
(function (DescribeAutoScalingConfigurationRequest) {
|
|
206
244
|
DescribeAutoScalingConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -225,6 +263,14 @@ export var DescribeServiceResponse;
|
|
|
225
263
|
(function (DescribeServiceResponse) {
|
|
226
264
|
DescribeServiceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }))); };
|
|
227
265
|
})(DescribeServiceResponse || (DescribeServiceResponse = {}));
|
|
266
|
+
export var DescribeVpcConnectorRequest;
|
|
267
|
+
(function (DescribeVpcConnectorRequest) {
|
|
268
|
+
DescribeVpcConnectorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
269
|
+
})(DescribeVpcConnectorRequest || (DescribeVpcConnectorRequest = {}));
|
|
270
|
+
export var DescribeVpcConnectorResponse;
|
|
271
|
+
(function (DescribeVpcConnectorResponse) {
|
|
272
|
+
DescribeVpcConnectorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
273
|
+
})(DescribeVpcConnectorResponse || (DescribeVpcConnectorResponse = {}));
|
|
228
274
|
export var DisassociateCustomDomainRequest;
|
|
229
275
|
(function (DisassociateCustomDomainRequest) {
|
|
230
276
|
DisassociateCustomDomainRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -303,6 +349,14 @@ export var ListTagsForResourceResponse;
|
|
|
303
349
|
(function (ListTagsForResourceResponse) {
|
|
304
350
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
305
351
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
352
|
+
export var ListVpcConnectorsRequest;
|
|
353
|
+
(function (ListVpcConnectorsRequest) {
|
|
354
|
+
ListVpcConnectorsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
355
|
+
})(ListVpcConnectorsRequest || (ListVpcConnectorsRequest = {}));
|
|
356
|
+
export var ListVpcConnectorsResponse;
|
|
357
|
+
(function (ListVpcConnectorsResponse) {
|
|
358
|
+
ListVpcConnectorsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
359
|
+
})(ListVpcConnectorsResponse || (ListVpcConnectorsResponse = {}));
|
|
306
360
|
export var PauseServiceRequest;
|
|
307
361
|
(function (PauseServiceRequest) {
|
|
308
362
|
PauseServiceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { AppRunner } from "../AppRunner";
|
|
3
|
+
import { AppRunnerClient } from "../AppRunnerClient";
|
|
4
|
+
import { ListVpcConnectorsCommand, } from "../commands/ListVpcConnectorsCommand";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListVpcConnectorsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listVpcConnectors.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListVpcConnectors(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListVpcConnectors_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof AppRunner)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof AppRunnerClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|