@aws-sdk/client-apprunner 3.50.0 → 3.53.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.
Files changed (87) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist-cjs/AppRunner.js +60 -0
  3. package/dist-cjs/commands/CreateVpcConnectorCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteVpcConnectorCommand.js +36 -0
  5. package/dist-cjs/commands/DescribeVpcConnectorCommand.js +36 -0
  6. package/dist-cjs/commands/ListVpcConnectorsCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/index.js +3 -0
  9. package/dist-cjs/models/AppRunnerServiceException.js +11 -0
  10. package/dist-cjs/models/models_0.js +153 -2
  11. package/dist-cjs/pagination/ListVpcConnectorsPaginator.js +35 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_json1_0.js +544 -675
  14. package/dist-es/AppRunner.js +60 -0
  15. package/dist-es/commands/CreateVpcConnectorCommand.js +39 -0
  16. package/dist-es/commands/DeleteVpcConnectorCommand.js +39 -0
  17. package/dist-es/commands/DescribeVpcConnectorCommand.js +39 -0
  18. package/dist-es/commands/ListVpcConnectorsCommand.js +39 -0
  19. package/dist-es/commands/index.js +4 -0
  20. package/dist-es/index.js +1 -0
  21. package/dist-es/models/AppRunnerServiceException.js +12 -0
  22. package/dist-es/models/models_0.js +125 -2
  23. package/dist-es/pagination/ListVpcConnectorsPaginator.js +74 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_json1_0.js +844 -759
  26. package/dist-types/AppRunner.d.ts +33 -3
  27. package/dist-types/AppRunnerClient.d.ts +6 -2
  28. package/dist-types/commands/CreateAutoScalingConfigurationCommand.d.ts +3 -3
  29. package/dist-types/commands/CreateVpcConnectorCommand.d.ts +36 -0
  30. package/dist-types/commands/DeleteVpcConnectorCommand.d.ts +36 -0
  31. package/dist-types/commands/DescribeVpcConnectorCommand.d.ts +35 -0
  32. package/dist-types/commands/ListVpcConnectorsCommand.d.ts +35 -0
  33. package/dist-types/commands/index.d.ts +4 -0
  34. package/dist-types/index.d.ts +1 -0
  35. package/dist-types/models/AppRunnerServiceException.d.ts +10 -0
  36. package/dist-types/models/models_0.d.ts +294 -27
  37. package/dist-types/pagination/ListVpcConnectorsPaginator.d.ts +4 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/protocols/Aws_json1_0.d.ts +12 -0
  40. package/dist-types/ts3.4/AppRunner.d.ts +135 -0
  41. package/dist-types/ts3.4/AppRunnerClient.d.ts +99 -0
  42. package/dist-types/ts3.4/commands/AssociateCustomDomainCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/CreateAutoScalingConfigurationCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/CreateVpcConnectorCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/DeleteAutoScalingConfigurationCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/DeleteVpcConnectorCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/DescribeAutoScalingConfigurationCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/DescribeCustomDomainsCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/DescribeServiceCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/DescribeVpcConnectorCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/DisassociateCustomDomainCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/ListAutoScalingConfigurationsCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/ListVpcConnectorsCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/PauseServiceCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ResumeServiceCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  69. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  70. package/dist-types/ts3.4/index.d.ts +6 -0
  71. package/dist-types/ts3.4/models/AppRunnerServiceException.d.ts +6 -0
  72. package/dist-types/ts3.4/models/index.d.ts +1 -0
  73. package/dist-types/ts3.4/models/models_0.d.ts +1027 -0
  74. package/dist-types/ts3.4/pagination/DescribeCustomDomainsPaginator.d.ts +4 -0
  75. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  76. package/dist-types/ts3.4/pagination/ListAutoScalingConfigurationsPaginator.d.ts +4 -0
  77. package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +4 -0
  78. package/dist-types/ts3.4/pagination/ListOperationsPaginator.d.ts +4 -0
  79. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +4 -0
  80. package/dist-types/ts3.4/pagination/ListVpcConnectorsPaginator.d.ts +4 -0
  81. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  82. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +80 -0
  83. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  84. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  85. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  86. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  87. package/package.json +33 -33
@@ -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";
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./AppRunnerClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { AppRunnerServiceException } from "./models/AppRunnerServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var AppRunnerServiceException = (function (_super) {
4
+ __extends(AppRunnerServiceException, _super);
5
+ function AppRunnerServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, AppRunnerServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return AppRunnerServiceException;
11
+ }(__ServiceException));
12
+ export { AppRunnerServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { AppRunnerServiceException as __BaseException } from "./AppRunnerServiceException";
3
4
  export var AssociateCustomDomainRequest;
4
5
  (function (AssociateCustomDomainRequest) {
5
6
  AssociateCustomDomainRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -32,6 +33,45 @@ export var AssociateCustomDomainResponse;
32
33
  (function (AssociateCustomDomainResponse) {
33
34
  AssociateCustomDomainResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
34
35
  })(AssociateCustomDomainResponse || (AssociateCustomDomainResponse = {}));
36
+ var InternalServiceErrorException = (function (_super) {
37
+ __extends(InternalServiceErrorException, _super);
38
+ function InternalServiceErrorException(opts) {
39
+ var _this = _super.call(this, __assign({ name: "InternalServiceErrorException", $fault: "server" }, opts)) || this;
40
+ _this.name = "InternalServiceErrorException";
41
+ _this.$fault = "server";
42
+ Object.setPrototypeOf(_this, InternalServiceErrorException.prototype);
43
+ _this.Message = opts.Message;
44
+ return _this;
45
+ }
46
+ return InternalServiceErrorException;
47
+ }(__BaseException));
48
+ export { InternalServiceErrorException };
49
+ var InvalidRequestException = (function (_super) {
50
+ __extends(InvalidRequestException, _super);
51
+ function InvalidRequestException(opts) {
52
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
53
+ _this.name = "InvalidRequestException";
54
+ _this.$fault = "client";
55
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
56
+ _this.Message = opts.Message;
57
+ return _this;
58
+ }
59
+ return InvalidRequestException;
60
+ }(__BaseException));
61
+ export { InvalidRequestException };
62
+ var InvalidStateException = (function (_super) {
63
+ __extends(InvalidStateException, _super);
64
+ function InvalidStateException(opts) {
65
+ var _this = _super.call(this, __assign({ name: "InvalidStateException", $fault: "client" }, opts)) || this;
66
+ _this.name = "InvalidStateException";
67
+ _this.$fault = "client";
68
+ Object.setPrototypeOf(_this, InvalidStateException.prototype);
69
+ _this.Message = opts.Message;
70
+ return _this;
71
+ }
72
+ return InvalidStateException;
73
+ }(__BaseException));
74
+ export { InvalidStateException };
35
75
  export var Tag;
36
76
  (function (Tag) {
37
77
  Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -53,6 +93,19 @@ export var CreateAutoScalingConfigurationResponse;
53
93
  (function (CreateAutoScalingConfigurationResponse) {
54
94
  CreateAutoScalingConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
55
95
  })(CreateAutoScalingConfigurationResponse || (CreateAutoScalingConfigurationResponse = {}));
96
+ var ServiceQuotaExceededException = (function (_super) {
97
+ __extends(ServiceQuotaExceededException, _super);
98
+ function ServiceQuotaExceededException(opts) {
99
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
100
+ _this.name = "ServiceQuotaExceededException";
101
+ _this.$fault = "client";
102
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
103
+ _this.Message = opts.Message;
104
+ return _this;
105
+ }
106
+ return ServiceQuotaExceededException;
107
+ }(__BaseException));
108
+ export { ServiceQuotaExceededException };
56
109
  export var ProviderType;
57
110
  (function (ProviderType) {
58
111
  ProviderType["GITHUB"] = "GITHUB";
@@ -93,13 +146,29 @@ export var InstanceConfiguration;
93
146
  (function (InstanceConfiguration) {
94
147
  InstanceConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
95
148
  })(InstanceConfiguration || (InstanceConfiguration = {}));
149
+ export var EgressType;
150
+ (function (EgressType) {
151
+ EgressType["DEFAULT"] = "DEFAULT";
152
+ EgressType["VPC"] = "VPC";
153
+ })(EgressType || (EgressType = {}));
154
+ export var EgressConfiguration;
155
+ (function (EgressConfiguration) {
156
+ EgressConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
157
+ })(EgressConfiguration || (EgressConfiguration = {}));
158
+ export var NetworkConfiguration;
159
+ (function (NetworkConfiguration) {
160
+ NetworkConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
161
+ })(NetworkConfiguration || (NetworkConfiguration = {}));
96
162
  export var AuthenticationConfiguration;
97
163
  (function (AuthenticationConfiguration) {
98
164
  AuthenticationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
99
165
  })(AuthenticationConfiguration || (AuthenticationConfiguration = {}));
100
166
  export var Runtime;
101
167
  (function (Runtime) {
168
+ Runtime["CORRETTO_11"] = "CORRETTO_11";
169
+ Runtime["CORRETTO_8"] = "CORRETTO_8";
102
170
  Runtime["NODEJS_12"] = "NODEJS_12";
171
+ Runtime["NODEJS_14"] = "NODEJS_14";
103
172
  Runtime["PYTHON_3"] = "PYTHON_3";
104
173
  })(Runtime || (Runtime = {}));
105
174
  export var CodeConfigurationValues;
@@ -131,7 +200,7 @@ export var CodeRepository;
131
200
  })(CodeRepository || (CodeRepository = {}));
132
201
  export var ImageConfiguration;
133
202
  (function (ImageConfiguration) {
134
- ImageConfiguration.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: SENSITIVE_STRING }))); };
203
+ ImageConfiguration.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: SENSITIVE_STRING })), (obj.StartCommand && { StartCommand: SENSITIVE_STRING }))); };
135
204
  })(ImageConfiguration || (ImageConfiguration = {}));
136
205
  export var ImageRepositoryType;
137
206
  (function (ImageRepositoryType) {
@@ -177,6 +246,23 @@ export var CreateServiceResponse;
177
246
  (function (CreateServiceResponse) {
178
247
  CreateServiceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }))); };
179
248
  })(CreateServiceResponse || (CreateServiceResponse = {}));
249
+ export var CreateVpcConnectorRequest;
250
+ (function (CreateVpcConnectorRequest) {
251
+ CreateVpcConnectorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
252
+ })(CreateVpcConnectorRequest || (CreateVpcConnectorRequest = {}));
253
+ export var VpcConnectorStatus;
254
+ (function (VpcConnectorStatus) {
255
+ VpcConnectorStatus["ACTIVE"] = "ACTIVE";
256
+ VpcConnectorStatus["INACTIVE"] = "INACTIVE";
257
+ })(VpcConnectorStatus || (VpcConnectorStatus = {}));
258
+ export var VpcConnector;
259
+ (function (VpcConnector) {
260
+ VpcConnector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
261
+ })(VpcConnector || (VpcConnector = {}));
262
+ export var CreateVpcConnectorResponse;
263
+ (function (CreateVpcConnectorResponse) {
264
+ CreateVpcConnectorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
265
+ })(CreateVpcConnectorResponse || (CreateVpcConnectorResponse = {}));
180
266
  export var DeleteAutoScalingConfigurationRequest;
181
267
  (function (DeleteAutoScalingConfigurationRequest) {
182
268
  DeleteAutoScalingConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -185,6 +271,19 @@ export var DeleteAutoScalingConfigurationResponse;
185
271
  (function (DeleteAutoScalingConfigurationResponse) {
186
272
  DeleteAutoScalingConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
187
273
  })(DeleteAutoScalingConfigurationResponse || (DeleteAutoScalingConfigurationResponse = {}));
274
+ var ResourceNotFoundException = (function (_super) {
275
+ __extends(ResourceNotFoundException, _super);
276
+ function ResourceNotFoundException(opts) {
277
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
278
+ _this.name = "ResourceNotFoundException";
279
+ _this.$fault = "client";
280
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
281
+ _this.Message = opts.Message;
282
+ return _this;
283
+ }
284
+ return ResourceNotFoundException;
285
+ }(__BaseException));
286
+ export { ResourceNotFoundException };
188
287
  export var DeleteConnectionRequest;
189
288
  (function (DeleteConnectionRequest) {
190
289
  DeleteConnectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -201,6 +300,14 @@ export var DeleteServiceResponse;
201
300
  (function (DeleteServiceResponse) {
202
301
  DeleteServiceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }))); };
203
302
  })(DeleteServiceResponse || (DeleteServiceResponse = {}));
303
+ export var DeleteVpcConnectorRequest;
304
+ (function (DeleteVpcConnectorRequest) {
305
+ DeleteVpcConnectorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
306
+ })(DeleteVpcConnectorRequest || (DeleteVpcConnectorRequest = {}));
307
+ export var DeleteVpcConnectorResponse;
308
+ (function (DeleteVpcConnectorResponse) {
309
+ DeleteVpcConnectorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
310
+ })(DeleteVpcConnectorResponse || (DeleteVpcConnectorResponse = {}));
204
311
  export var DescribeAutoScalingConfigurationRequest;
205
312
  (function (DescribeAutoScalingConfigurationRequest) {
206
313
  DescribeAutoScalingConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -225,6 +332,14 @@ export var DescribeServiceResponse;
225
332
  (function (DescribeServiceResponse) {
226
333
  DescribeServiceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Service && { Service: Service.filterSensitiveLog(obj.Service) }))); };
227
334
  })(DescribeServiceResponse || (DescribeServiceResponse = {}));
335
+ export var DescribeVpcConnectorRequest;
336
+ (function (DescribeVpcConnectorRequest) {
337
+ DescribeVpcConnectorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
338
+ })(DescribeVpcConnectorRequest || (DescribeVpcConnectorRequest = {}));
339
+ export var DescribeVpcConnectorResponse;
340
+ (function (DescribeVpcConnectorResponse) {
341
+ DescribeVpcConnectorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
342
+ })(DescribeVpcConnectorResponse || (DescribeVpcConnectorResponse = {}));
228
343
  export var DisassociateCustomDomainRequest;
229
344
  (function (DisassociateCustomDomainRequest) {
230
345
  DisassociateCustomDomainRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -303,6 +418,14 @@ export var ListTagsForResourceResponse;
303
418
  (function (ListTagsForResourceResponse) {
304
419
  ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
305
420
  })(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
421
+ export var ListVpcConnectorsRequest;
422
+ (function (ListVpcConnectorsRequest) {
423
+ ListVpcConnectorsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
424
+ })(ListVpcConnectorsRequest || (ListVpcConnectorsRequest = {}));
425
+ export var ListVpcConnectorsResponse;
426
+ (function (ListVpcConnectorsResponse) {
427
+ ListVpcConnectorsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
428
+ })(ListVpcConnectorsResponse || (ListVpcConnectorsResponse = {}));
306
429
  export var PauseServiceRequest;
307
430
  (function (PauseServiceRequest) {
308
431
  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
+ }
@@ -4,3 +4,4 @@ export * from "./ListAutoScalingConfigurationsPaginator";
4
4
  export * from "./ListConnectionsPaginator";
5
5
  export * from "./ListOperationsPaginator";
6
6
  export * from "./ListServicesPaginator";
7
+ export * from "./ListVpcConnectorsPaginator";