@aws-sdk/client-apprunner 3.199.0 → 3.201.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist-cjs/AppRunner.js +75 -0
- package/dist-cjs/commands/CreateVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/DeleteVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/DescribeVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/ListVpcIngressConnectionsCommand.js +46 -0
- package/dist-cjs/commands/UpdateVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/models/models_0.js +78 -3
- package/dist-cjs/pagination/ListVpcIngressConnectionsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +421 -11
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/dist-es/AppRunner.js +75 -0
- package/dist-es/commands/CreateVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/DeleteVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/DescribeVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/ListVpcIngressConnectionsCommand.js +42 -0
- package/dist-es/commands/UpdateVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +59 -0
- package/dist-es/pagination/ListVpcIngressConnectionsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +404 -0
- package/dist-types/AppRunner.d.ts +79 -0
- package/dist-types/AppRunnerClient.d.ts +7 -2
- package/dist-types/commands/CreateVpcIngressConnectionCommand.d.ts +37 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteVpcIngressConnectionCommand.d.ts +60 -0
- package/dist-types/commands/DescribeVpcIngressConnectionCommand.d.ts +37 -0
- package/dist-types/commands/ListVpcIngressConnectionsCommand.d.ts +37 -0
- package/dist-types/commands/UpdateVpcIngressConnectionCommand.d.ts +54 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +330 -1
- package/dist-types/pagination/ListVpcIngressConnectionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +15 -0
- package/dist-types/ts3.4/AppRunner.d.ts +85 -0
- package/dist-types/ts3.4/AppRunnerClient.d.ts +32 -2
- package/dist-types/ts3.4/commands/CreateVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVpcIngressConnectionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +129 -1
- package/dist-types/ts3.4/pagination/ListVpcIngressConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
- package/package.json +33 -33
|
@@ -144,6 +144,17 @@ export var VpcConnectorStatus;
|
|
|
144
144
|
VpcConnectorStatus["ACTIVE"] = "ACTIVE";
|
|
145
145
|
VpcConnectorStatus["INACTIVE"] = "INACTIVE";
|
|
146
146
|
})(VpcConnectorStatus || (VpcConnectorStatus = {}));
|
|
147
|
+
export var VpcIngressConnectionStatus;
|
|
148
|
+
(function (VpcIngressConnectionStatus) {
|
|
149
|
+
VpcIngressConnectionStatus["AVAILABLE"] = "AVAILABLE";
|
|
150
|
+
VpcIngressConnectionStatus["DELETED"] = "DELETED";
|
|
151
|
+
VpcIngressConnectionStatus["FAILED_CREATION"] = "FAILED_CREATION";
|
|
152
|
+
VpcIngressConnectionStatus["FAILED_DELETION"] = "FAILED_DELETION";
|
|
153
|
+
VpcIngressConnectionStatus["FAILED_UPDATE"] = "FAILED_UPDATE";
|
|
154
|
+
VpcIngressConnectionStatus["PENDING_CREATION"] = "PENDING_CREATION";
|
|
155
|
+
VpcIngressConnectionStatus["PENDING_DELETION"] = "PENDING_DELETION";
|
|
156
|
+
VpcIngressConnectionStatus["PENDING_UPDATE"] = "PENDING_UPDATE";
|
|
157
|
+
})(VpcIngressConnectionStatus || (VpcIngressConnectionStatus = {}));
|
|
147
158
|
export class ResourceNotFoundException extends __BaseException {
|
|
148
159
|
constructor(opts) {
|
|
149
160
|
super({
|
|
@@ -184,6 +195,9 @@ export const CertificateValidationRecordFilterSensitiveLog = (obj) => ({
|
|
|
184
195
|
export const CustomDomainFilterSensitiveLog = (obj) => ({
|
|
185
196
|
...obj,
|
|
186
197
|
});
|
|
198
|
+
export const VpcDNSTargetFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
});
|
|
187
201
|
export const AssociateCustomDomainResponseFilterSensitiveLog = (obj) => ({
|
|
188
202
|
...obj,
|
|
189
203
|
});
|
|
@@ -232,6 +246,9 @@ export const InstanceConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
232
246
|
export const EgressConfigurationFilterSensitiveLog = (obj) => ({
|
|
233
247
|
...obj,
|
|
234
248
|
});
|
|
249
|
+
export const IngressConfigurationFilterSensitiveLog = (obj) => ({
|
|
250
|
+
...obj,
|
|
251
|
+
});
|
|
235
252
|
export const NetworkConfigurationFilterSensitiveLog = (obj) => ({
|
|
236
253
|
...obj,
|
|
237
254
|
});
|
|
@@ -302,6 +319,18 @@ export const VpcConnectorFilterSensitiveLog = (obj) => ({
|
|
|
302
319
|
export const CreateVpcConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
303
320
|
...obj,
|
|
304
321
|
});
|
|
322
|
+
export const IngressVpcConfigurationFilterSensitiveLog = (obj) => ({
|
|
323
|
+
...obj,
|
|
324
|
+
});
|
|
325
|
+
export const CreateVpcIngressConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
326
|
+
...obj,
|
|
327
|
+
});
|
|
328
|
+
export const VpcIngressConnectionFilterSensitiveLog = (obj) => ({
|
|
329
|
+
...obj,
|
|
330
|
+
});
|
|
331
|
+
export const CreateVpcIngressConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
332
|
+
...obj,
|
|
333
|
+
});
|
|
305
334
|
export const DeleteAutoScalingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
306
335
|
...obj,
|
|
307
336
|
});
|
|
@@ -333,6 +362,12 @@ export const DeleteVpcConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
|
333
362
|
export const DeleteVpcConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
334
363
|
...obj,
|
|
335
364
|
});
|
|
365
|
+
export const DeleteVpcIngressConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
366
|
+
...obj,
|
|
367
|
+
});
|
|
368
|
+
export const DeleteVpcIngressConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
369
|
+
...obj,
|
|
370
|
+
});
|
|
336
371
|
export const DescribeAutoScalingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
337
372
|
...obj,
|
|
338
373
|
});
|
|
@@ -364,6 +399,12 @@ export const DescribeVpcConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
|
364
399
|
export const DescribeVpcConnectorResponseFilterSensitiveLog = (obj) => ({
|
|
365
400
|
...obj,
|
|
366
401
|
});
|
|
402
|
+
export const DescribeVpcIngressConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
403
|
+
...obj,
|
|
404
|
+
});
|
|
405
|
+
export const DescribeVpcIngressConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
406
|
+
...obj,
|
|
407
|
+
});
|
|
367
408
|
export const DisassociateCustomDomainRequestFilterSensitiveLog = (obj) => ({
|
|
368
409
|
...obj,
|
|
369
410
|
});
|
|
@@ -424,6 +465,18 @@ export const ListVpcConnectorsRequestFilterSensitiveLog = (obj) => ({
|
|
|
424
465
|
export const ListVpcConnectorsResponseFilterSensitiveLog = (obj) => ({
|
|
425
466
|
...obj,
|
|
426
467
|
});
|
|
468
|
+
export const ListVpcIngressConnectionsFilterFilterSensitiveLog = (obj) => ({
|
|
469
|
+
...obj,
|
|
470
|
+
});
|
|
471
|
+
export const ListVpcIngressConnectionsRequestFilterSensitiveLog = (obj) => ({
|
|
472
|
+
...obj,
|
|
473
|
+
});
|
|
474
|
+
export const VpcIngressConnectionSummaryFilterSensitiveLog = (obj) => ({
|
|
475
|
+
...obj,
|
|
476
|
+
});
|
|
477
|
+
export const ListVpcIngressConnectionsResponseFilterSensitiveLog = (obj) => ({
|
|
478
|
+
...obj,
|
|
479
|
+
});
|
|
427
480
|
export const PauseServiceRequestFilterSensitiveLog = (obj) => ({
|
|
428
481
|
...obj,
|
|
429
482
|
});
|
|
@@ -466,3 +519,9 @@ export const UpdateServiceResponseFilterSensitiveLog = (obj) => ({
|
|
|
466
519
|
...obj,
|
|
467
520
|
...(obj.Service && { Service: ServiceFilterSensitiveLog(obj.Service) }),
|
|
468
521
|
});
|
|
522
|
+
export const UpdateVpcIngressConnectionRequestFilterSensitiveLog = (obj) => ({
|
|
523
|
+
...obj,
|
|
524
|
+
});
|
|
525
|
+
export const UpdateVpcIngressConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
526
|
+
...obj,
|
|
527
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AppRunner } from "../AppRunner";
|
|
2
|
+
import { AppRunnerClient } from "../AppRunnerClient";
|
|
3
|
+
import { ListVpcIngressConnectionsCommand, } from "../commands/ListVpcIngressConnectionsCommand";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListVpcIngressConnectionsCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listVpcIngressConnections(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListVpcIngressConnections(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.NextToken = token;
|
|
16
|
+
input["MaxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof AppRunner) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof AppRunnerClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.NextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|