@aws-sdk/client-apigatewayv2 3.777.0 → 3.778.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/dist-cjs/index.js +16 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +10 -0
- package/dist-types/commands/CreateApiCommand.d.ts +2 -0
- package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/GetApiCommand.d.ts +1 -0
- package/dist-types/commands/GetApisCommand.d.ts +1 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +1 -0
- package/dist-types/commands/GetDomainNamesCommand.d.ts +1 -0
- package/dist-types/commands/ImportApiCommand.d.ts +1 -0
- package/dist-types/commands/ReimportApiCommand.d.ts +1 -0
- package/dist-types/commands/UpdateApiCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +57 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -91,6 +91,7 @@ __export(index_exports, {
|
|
|
91
91
|
GetVpcLinksCommand: () => GetVpcLinksCommand,
|
|
92
92
|
ImportApiCommand: () => ImportApiCommand,
|
|
93
93
|
IntegrationType: () => IntegrationType,
|
|
94
|
+
IpAddressType: () => IpAddressType,
|
|
94
95
|
LoggingLevel: () => LoggingLevel,
|
|
95
96
|
NotFoundException: () => NotFoundException,
|
|
96
97
|
PassthroughBehavior: () => PassthroughBehavior,
|
|
@@ -289,6 +290,10 @@ var ApiGatewayV2ServiceException = class _ApiGatewayV2ServiceException extends i
|
|
|
289
290
|
};
|
|
290
291
|
|
|
291
292
|
// src/models/models_0.ts
|
|
293
|
+
var IpAddressType = {
|
|
294
|
+
dualstack: "dualstack",
|
|
295
|
+
ipv4: "ipv4"
|
|
296
|
+
};
|
|
292
297
|
var ProtocolType = {
|
|
293
298
|
HTTP: "HTTP",
|
|
294
299
|
WEBSOCKET: "WEBSOCKET"
|
|
@@ -502,6 +507,7 @@ var se_CreateApiCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
502
507
|
description: [, , `Description`],
|
|
503
508
|
disableExecuteApiEndpoint: [, , `DisableExecuteApiEndpoint`],
|
|
504
509
|
disableSchemaValidation: [, , `DisableSchemaValidation`],
|
|
510
|
+
ipAddressType: [, , `IpAddressType`],
|
|
505
511
|
name: [, , `Name`],
|
|
506
512
|
protocolType: [, , `ProtocolType`],
|
|
507
513
|
routeKey: [, , `RouteKey`],
|
|
@@ -1315,6 +1321,7 @@ var se_UpdateApiCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1315
1321
|
description: [, , `Description`],
|
|
1316
1322
|
disableExecuteApiEndpoint: [, , `DisableExecuteApiEndpoint`],
|
|
1317
1323
|
disableSchemaValidation: [, , `DisableSchemaValidation`],
|
|
1324
|
+
ipAddressType: [, , `IpAddressType`],
|
|
1318
1325
|
name: [, , `Name`],
|
|
1319
1326
|
routeKey: [, , `RouteKey`],
|
|
1320
1327
|
routeSelectionExpression: [, , `RouteSelectionExpression`],
|
|
@@ -1586,6 +1593,7 @@ var de_CreateApiCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1586
1593
|
DisableExecuteApiEndpoint: [, import_smithy_client.expectBoolean, `disableExecuteApiEndpoint`],
|
|
1587
1594
|
DisableSchemaValidation: [, import_smithy_client.expectBoolean, `disableSchemaValidation`],
|
|
1588
1595
|
ImportInfo: [, import_smithy_client._json, `importInfo`],
|
|
1596
|
+
IpAddressType: [, import_smithy_client.expectString, `ipAddressType`],
|
|
1589
1597
|
Name: [, import_smithy_client.expectString, `name`],
|
|
1590
1598
|
ProtocolType: [, import_smithy_client.expectString, `protocolType`],
|
|
1591
1599
|
RouteSelectionExpression: [, import_smithy_client.expectString, `routeSelectionExpression`],
|
|
@@ -2027,6 +2035,7 @@ var de_GetApiCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2027
2035
|
DisableExecuteApiEndpoint: [, import_smithy_client.expectBoolean, `disableExecuteApiEndpoint`],
|
|
2028
2036
|
DisableSchemaValidation: [, import_smithy_client.expectBoolean, `disableSchemaValidation`],
|
|
2029
2037
|
ImportInfo: [, import_smithy_client._json, `importInfo`],
|
|
2038
|
+
IpAddressType: [, import_smithy_client.expectString, `ipAddressType`],
|
|
2030
2039
|
Name: [, import_smithy_client.expectString, `name`],
|
|
2031
2040
|
ProtocolType: [, import_smithy_client.expectString, `protocolType`],
|
|
2032
2041
|
RouteSelectionExpression: [, import_smithy_client.expectString, `routeSelectionExpression`],
|
|
@@ -2505,6 +2514,7 @@ var de_ImportApiCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2505
2514
|
DisableExecuteApiEndpoint: [, import_smithy_client.expectBoolean, `disableExecuteApiEndpoint`],
|
|
2506
2515
|
DisableSchemaValidation: [, import_smithy_client.expectBoolean, `disableSchemaValidation`],
|
|
2507
2516
|
ImportInfo: [, import_smithy_client._json, `importInfo`],
|
|
2517
|
+
IpAddressType: [, import_smithy_client.expectString, `ipAddressType`],
|
|
2508
2518
|
Name: [, import_smithy_client.expectString, `name`],
|
|
2509
2519
|
ProtocolType: [, import_smithy_client.expectString, `protocolType`],
|
|
2510
2520
|
RouteSelectionExpression: [, import_smithy_client.expectString, `routeSelectionExpression`],
|
|
@@ -2534,6 +2544,7 @@ var de_ReimportApiCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2534
2544
|
DisableExecuteApiEndpoint: [, import_smithy_client.expectBoolean, `disableExecuteApiEndpoint`],
|
|
2535
2545
|
DisableSchemaValidation: [, import_smithy_client.expectBoolean, `disableSchemaValidation`],
|
|
2536
2546
|
ImportInfo: [, import_smithy_client._json, `importInfo`],
|
|
2547
|
+
IpAddressType: [, import_smithy_client.expectString, `ipAddressType`],
|
|
2537
2548
|
Name: [, import_smithy_client.expectString, `name`],
|
|
2538
2549
|
ProtocolType: [, import_smithy_client.expectString, `protocolType`],
|
|
2539
2550
|
RouteSelectionExpression: [, import_smithy_client.expectString, `routeSelectionExpression`],
|
|
@@ -2593,6 +2604,7 @@ var de_UpdateApiCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2593
2604
|
DisableExecuteApiEndpoint: [, import_smithy_client.expectBoolean, `disableExecuteApiEndpoint`],
|
|
2594
2605
|
DisableSchemaValidation: [, import_smithy_client.expectBoolean, `disableSchemaValidation`],
|
|
2595
2606
|
ImportInfo: [, import_smithy_client._json, `importInfo`],
|
|
2607
|
+
IpAddressType: [, import_smithy_client.expectString, `ipAddressType`],
|
|
2596
2608
|
Name: [, import_smithy_client.expectString, `name`],
|
|
2597
2609
|
ProtocolType: [, import_smithy_client.expectString, `protocolType`],
|
|
2598
2610
|
RouteSelectionExpression: [, import_smithy_client.expectString, `routeSelectionExpression`],
|
|
@@ -2969,6 +2981,7 @@ var se_DomainNameConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
|
2969
2981
|
domainNameStatusMessage: [, , `DomainNameStatusMessage`],
|
|
2970
2982
|
endpointType: [, , `EndpointType`],
|
|
2971
2983
|
hostedZoneId: [, , `HostedZoneId`],
|
|
2984
|
+
ipAddressType: [, , `IpAddressType`],
|
|
2972
2985
|
ownershipVerificationCertificateArn: [, , `OwnershipVerificationCertificateArn`],
|
|
2973
2986
|
securityPolicy: [, , `SecurityPolicy`]
|
|
2974
2987
|
});
|
|
@@ -3117,6 +3130,7 @@ var de_Api = /* @__PURE__ */ __name((output, context) => {
|
|
|
3117
3130
|
DisableExecuteApiEndpoint: [, import_smithy_client.expectBoolean, `disableExecuteApiEndpoint`],
|
|
3118
3131
|
DisableSchemaValidation: [, import_smithy_client.expectBoolean, `disableSchemaValidation`],
|
|
3119
3132
|
ImportInfo: [, import_smithy_client._json, `importInfo`],
|
|
3133
|
+
IpAddressType: [, import_smithy_client.expectString, `ipAddressType`],
|
|
3120
3134
|
Name: [, import_smithy_client.expectString, `name`],
|
|
3121
3135
|
ProtocolType: [, import_smithy_client.expectString, `protocolType`],
|
|
3122
3136
|
RouteSelectionExpression: [, import_smithy_client.expectString, `routeSelectionExpression`],
|
|
@@ -3191,6 +3205,7 @@ var de_DomainNameConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
|
3191
3205
|
DomainNameStatusMessage: [, import_smithy_client.expectString, `domainNameStatusMessage`],
|
|
3192
3206
|
EndpointType: [, import_smithy_client.expectString, `endpointType`],
|
|
3193
3207
|
HostedZoneId: [, import_smithy_client.expectString, `hostedZoneId`],
|
|
3208
|
+
IpAddressType: [, import_smithy_client.expectString, `ipAddressType`],
|
|
3194
3209
|
OwnershipVerificationCertificateArn: [, import_smithy_client.expectString, `ownershipVerificationCertificateArn`],
|
|
3195
3210
|
SecurityPolicy: [, import_smithy_client.expectString, `securityPolicy`]
|
|
3196
3211
|
});
|
|
@@ -4614,6 +4629,7 @@ var ApiGatewayV2 = class extends ApiGatewayV2Client {
|
|
|
4614
4629
|
UpdateRouteResponseCommand,
|
|
4615
4630
|
UpdateStageCommand,
|
|
4616
4631
|
UpdateVpcLinkCommand,
|
|
4632
|
+
IpAddressType,
|
|
4617
4633
|
ProtocolType,
|
|
4618
4634
|
AuthorizerType,
|
|
4619
4635
|
DeploymentStatus,
|
|
@@ -17,6 +17,7 @@ export const se_CreateApiCommand = async (input, context) => {
|
|
|
17
17
|
description: [, , `Description`],
|
|
18
18
|
disableExecuteApiEndpoint: [, , `DisableExecuteApiEndpoint`],
|
|
19
19
|
disableSchemaValidation: [, , `DisableSchemaValidation`],
|
|
20
|
+
ipAddressType: [, , `IpAddressType`],
|
|
20
21
|
name: [, , `Name`],
|
|
21
22
|
protocolType: [, , `ProtocolType`],
|
|
22
23
|
routeKey: [, , `RouteKey`],
|
|
@@ -800,6 +801,7 @@ export const se_UpdateApiCommand = async (input, context) => {
|
|
|
800
801
|
description: [, , `Description`],
|
|
801
802
|
disableExecuteApiEndpoint: [, , `DisableExecuteApiEndpoint`],
|
|
802
803
|
disableSchemaValidation: [, , `DisableSchemaValidation`],
|
|
804
|
+
ipAddressType: [, , `IpAddressType`],
|
|
803
805
|
name: [, , `Name`],
|
|
804
806
|
routeKey: [, , `RouteKey`],
|
|
805
807
|
routeSelectionExpression: [, , `RouteSelectionExpression`],
|
|
@@ -1048,6 +1050,7 @@ export const de_CreateApiCommand = async (output, context) => {
|
|
|
1048
1050
|
DisableExecuteApiEndpoint: [, __expectBoolean, `disableExecuteApiEndpoint`],
|
|
1049
1051
|
DisableSchemaValidation: [, __expectBoolean, `disableSchemaValidation`],
|
|
1050
1052
|
ImportInfo: [, _json, `importInfo`],
|
|
1053
|
+
IpAddressType: [, __expectString, `ipAddressType`],
|
|
1051
1054
|
Name: [, __expectString, `name`],
|
|
1052
1055
|
ProtocolType: [, __expectString, `protocolType`],
|
|
1053
1056
|
RouteSelectionExpression: [, __expectString, `routeSelectionExpression`],
|
|
@@ -1489,6 +1492,7 @@ export const de_GetApiCommand = async (output, context) => {
|
|
|
1489
1492
|
DisableExecuteApiEndpoint: [, __expectBoolean, `disableExecuteApiEndpoint`],
|
|
1490
1493
|
DisableSchemaValidation: [, __expectBoolean, `disableSchemaValidation`],
|
|
1491
1494
|
ImportInfo: [, _json, `importInfo`],
|
|
1495
|
+
IpAddressType: [, __expectString, `ipAddressType`],
|
|
1492
1496
|
Name: [, __expectString, `name`],
|
|
1493
1497
|
ProtocolType: [, __expectString, `protocolType`],
|
|
1494
1498
|
RouteSelectionExpression: [, __expectString, `routeSelectionExpression`],
|
|
@@ -1967,6 +1971,7 @@ export const de_ImportApiCommand = async (output, context) => {
|
|
|
1967
1971
|
DisableExecuteApiEndpoint: [, __expectBoolean, `disableExecuteApiEndpoint`],
|
|
1968
1972
|
DisableSchemaValidation: [, __expectBoolean, `disableSchemaValidation`],
|
|
1969
1973
|
ImportInfo: [, _json, `importInfo`],
|
|
1974
|
+
IpAddressType: [, __expectString, `ipAddressType`],
|
|
1970
1975
|
Name: [, __expectString, `name`],
|
|
1971
1976
|
ProtocolType: [, __expectString, `protocolType`],
|
|
1972
1977
|
RouteSelectionExpression: [, __expectString, `routeSelectionExpression`],
|
|
@@ -1996,6 +2001,7 @@ export const de_ReimportApiCommand = async (output, context) => {
|
|
|
1996
2001
|
DisableExecuteApiEndpoint: [, __expectBoolean, `disableExecuteApiEndpoint`],
|
|
1997
2002
|
DisableSchemaValidation: [, __expectBoolean, `disableSchemaValidation`],
|
|
1998
2003
|
ImportInfo: [, _json, `importInfo`],
|
|
2004
|
+
IpAddressType: [, __expectString, `ipAddressType`],
|
|
1999
2005
|
Name: [, __expectString, `name`],
|
|
2000
2006
|
ProtocolType: [, __expectString, `protocolType`],
|
|
2001
2007
|
RouteSelectionExpression: [, __expectString, `routeSelectionExpression`],
|
|
@@ -2055,6 +2061,7 @@ export const de_UpdateApiCommand = async (output, context) => {
|
|
|
2055
2061
|
DisableExecuteApiEndpoint: [, __expectBoolean, `disableExecuteApiEndpoint`],
|
|
2056
2062
|
DisableSchemaValidation: [, __expectBoolean, `disableSchemaValidation`],
|
|
2057
2063
|
ImportInfo: [, _json, `importInfo`],
|
|
2064
|
+
IpAddressType: [, __expectString, `ipAddressType`],
|
|
2058
2065
|
Name: [, __expectString, `name`],
|
|
2059
2066
|
ProtocolType: [, __expectString, `protocolType`],
|
|
2060
2067
|
RouteSelectionExpression: [, __expectString, `routeSelectionExpression`],
|
|
@@ -2431,6 +2438,7 @@ const se_DomainNameConfiguration = (input, context) => {
|
|
|
2431
2438
|
domainNameStatusMessage: [, , `DomainNameStatusMessage`],
|
|
2432
2439
|
endpointType: [, , `EndpointType`],
|
|
2433
2440
|
hostedZoneId: [, , `HostedZoneId`],
|
|
2441
|
+
ipAddressType: [, , `IpAddressType`],
|
|
2434
2442
|
ownershipVerificationCertificateArn: [, , `OwnershipVerificationCertificateArn`],
|
|
2435
2443
|
securityPolicy: [, , `SecurityPolicy`],
|
|
2436
2444
|
});
|
|
@@ -2605,6 +2613,7 @@ const de_Api = (output, context) => {
|
|
|
2605
2613
|
DisableExecuteApiEndpoint: [, __expectBoolean, `disableExecuteApiEndpoint`],
|
|
2606
2614
|
DisableSchemaValidation: [, __expectBoolean, `disableSchemaValidation`],
|
|
2607
2615
|
ImportInfo: [, _json, `importInfo`],
|
|
2616
|
+
IpAddressType: [, __expectString, `ipAddressType`],
|
|
2608
2617
|
Name: [, __expectString, `name`],
|
|
2609
2618
|
ProtocolType: [, __expectString, `protocolType`],
|
|
2610
2619
|
RouteSelectionExpression: [, __expectString, `routeSelectionExpression`],
|
|
@@ -2679,6 +2688,7 @@ const de_DomainNameConfiguration = (output, context) => {
|
|
|
2679
2688
|
DomainNameStatusMessage: [, __expectString, `domainNameStatusMessage`],
|
|
2680
2689
|
EndpointType: [, __expectString, `endpointType`],
|
|
2681
2690
|
HostedZoneId: [, __expectString, `hostedZoneId`],
|
|
2691
|
+
IpAddressType: [, __expectString, `ipAddressType`],
|
|
2682
2692
|
OwnershipVerificationCertificateArn: [, __expectString, `ownershipVerificationCertificateArn`],
|
|
2683
2693
|
SecurityPolicy: [, __expectString, `securityPolicy`],
|
|
2684
2694
|
});
|
|
@@ -56,6 +56,7 @@ declare const CreateApiCommand_base: {
|
|
|
56
56
|
* Description: "STRING_VALUE",
|
|
57
57
|
* DisableSchemaValidation: true || false,
|
|
58
58
|
* DisableExecuteApiEndpoint: true || false,
|
|
59
|
+
* IpAddressType: "ipv4" || "dualstack",
|
|
59
60
|
* Name: "STRING_VALUE", // required
|
|
60
61
|
* ProtocolType: "WEBSOCKET" || "HTTP", // required
|
|
61
62
|
* RouteKey: "STRING_VALUE",
|
|
@@ -96,6 +97,7 @@ declare const CreateApiCommand_base: {
|
|
|
96
97
|
* // ImportInfo: [ // __listOf__string
|
|
97
98
|
* // "STRING_VALUE",
|
|
98
99
|
* // ],
|
|
100
|
+
* // IpAddressType: "ipv4" || "dualstack",
|
|
99
101
|
* // Name: "STRING_VALUE",
|
|
100
102
|
* // ProtocolType: "WEBSOCKET" || "HTTP",
|
|
101
103
|
* // RouteSelectionExpression: "STRING_VALUE",
|
|
@@ -46,6 +46,7 @@ declare const CreateDomainNameCommand_base: {
|
|
|
46
46
|
* DomainNameStatusMessage: "STRING_VALUE",
|
|
47
47
|
* EndpointType: "REGIONAL" || "EDGE",
|
|
48
48
|
* HostedZoneId: "STRING_VALUE",
|
|
49
|
+
* IpAddressType: "ipv4" || "dualstack",
|
|
49
50
|
* SecurityPolicy: "TLS_1_0" || "TLS_1_2",
|
|
50
51
|
* OwnershipVerificationCertificateArn: "STRING_VALUE",
|
|
51
52
|
* },
|
|
@@ -73,6 +74,7 @@ declare const CreateDomainNameCommand_base: {
|
|
|
73
74
|
* // DomainNameStatusMessage: "STRING_VALUE",
|
|
74
75
|
* // EndpointType: "REGIONAL" || "EDGE",
|
|
75
76
|
* // HostedZoneId: "STRING_VALUE",
|
|
77
|
+
* // IpAddressType: "ipv4" || "dualstack",
|
|
76
78
|
* // SecurityPolicy: "TLS_1_0" || "TLS_1_2",
|
|
77
79
|
* // OwnershipVerificationCertificateArn: "STRING_VALUE",
|
|
78
80
|
* // },
|
|
@@ -67,6 +67,7 @@ declare const GetApiCommand_base: {
|
|
|
67
67
|
* // ImportInfo: [ // __listOf__string
|
|
68
68
|
* // "STRING_VALUE",
|
|
69
69
|
* // ],
|
|
70
|
+
* // IpAddressType: "ipv4" || "dualstack",
|
|
70
71
|
* // Name: "STRING_VALUE",
|
|
71
72
|
* // ProtocolType: "WEBSOCKET" || "HTTP",
|
|
72
73
|
* // RouteSelectionExpression: "STRING_VALUE",
|
|
@@ -70,6 +70,7 @@ declare const GetApisCommand_base: {
|
|
|
70
70
|
* // ImportInfo: [ // __listOf__string
|
|
71
71
|
* // "STRING_VALUE",
|
|
72
72
|
* // ],
|
|
73
|
+
* // IpAddressType: "ipv4" || "dualstack",
|
|
73
74
|
* // Name: "STRING_VALUE", // required
|
|
74
75
|
* // ProtocolType: "WEBSOCKET" || "HTTP", // required
|
|
75
76
|
* // RouteSelectionExpression: "STRING_VALUE", // required
|
|
@@ -52,6 +52,7 @@ declare const GetDomainNameCommand_base: {
|
|
|
52
52
|
* // DomainNameStatusMessage: "STRING_VALUE",
|
|
53
53
|
* // EndpointType: "REGIONAL" || "EDGE",
|
|
54
54
|
* // HostedZoneId: "STRING_VALUE",
|
|
55
|
+
* // IpAddressType: "ipv4" || "dualstack",
|
|
55
56
|
* // SecurityPolicy: "TLS_1_0" || "TLS_1_2",
|
|
56
57
|
* // OwnershipVerificationCertificateArn: "STRING_VALUE",
|
|
57
58
|
* // },
|
|
@@ -55,6 +55,7 @@ declare const GetDomainNamesCommand_base: {
|
|
|
55
55
|
* // DomainNameStatusMessage: "STRING_VALUE",
|
|
56
56
|
* // EndpointType: "REGIONAL" || "EDGE",
|
|
57
57
|
* // HostedZoneId: "STRING_VALUE",
|
|
58
|
+
* // IpAddressType: "ipv4" || "dualstack",
|
|
58
59
|
* // SecurityPolicy: "TLS_1_0" || "TLS_1_2",
|
|
59
60
|
* // OwnershipVerificationCertificateArn: "STRING_VALUE",
|
|
60
61
|
* // },
|
|
@@ -69,6 +69,7 @@ declare const ImportApiCommand_base: {
|
|
|
69
69
|
* // ImportInfo: [ // __listOf__string
|
|
70
70
|
* // "STRING_VALUE",
|
|
71
71
|
* // ],
|
|
72
|
+
* // IpAddressType: "ipv4" || "dualstack",
|
|
72
73
|
* // Name: "STRING_VALUE",
|
|
73
74
|
* // ProtocolType: "WEBSOCKET" || "HTTP",
|
|
74
75
|
* // RouteSelectionExpression: "STRING_VALUE",
|
|
@@ -70,6 +70,7 @@ declare const ReimportApiCommand_base: {
|
|
|
70
70
|
* // ImportInfo: [ // __listOf__string
|
|
71
71
|
* // "STRING_VALUE",
|
|
72
72
|
* // ],
|
|
73
|
+
* // IpAddressType: "ipv4" || "dualstack",
|
|
73
74
|
* // Name: "STRING_VALUE",
|
|
74
75
|
* // ProtocolType: "WEBSOCKET" || "HTTP",
|
|
75
76
|
* // RouteSelectionExpression: "STRING_VALUE",
|
|
@@ -57,6 +57,7 @@ declare const UpdateApiCommand_base: {
|
|
|
57
57
|
* Description: "STRING_VALUE",
|
|
58
58
|
* DisableSchemaValidation: true || false,
|
|
59
59
|
* DisableExecuteApiEndpoint: true || false,
|
|
60
|
+
* IpAddressType: "ipv4" || "dualstack",
|
|
60
61
|
* Name: "STRING_VALUE",
|
|
61
62
|
* RouteKey: "STRING_VALUE",
|
|
62
63
|
* RouteSelectionExpression: "STRING_VALUE",
|
|
@@ -93,6 +94,7 @@ declare const UpdateApiCommand_base: {
|
|
|
93
94
|
* // ImportInfo: [ // __listOf__string
|
|
94
95
|
* // "STRING_VALUE",
|
|
95
96
|
* // ],
|
|
97
|
+
* // IpAddressType: "ipv4" || "dualstack",
|
|
96
98
|
* // Name: "STRING_VALUE",
|
|
97
99
|
* // ProtocolType: "WEBSOCKET" || "HTTP",
|
|
98
100
|
* // RouteSelectionExpression: "STRING_VALUE",
|
|
@@ -46,6 +46,7 @@ declare const UpdateDomainNameCommand_base: {
|
|
|
46
46
|
* DomainNameStatusMessage: "STRING_VALUE",
|
|
47
47
|
* EndpointType: "REGIONAL" || "EDGE",
|
|
48
48
|
* HostedZoneId: "STRING_VALUE",
|
|
49
|
+
* IpAddressType: "ipv4" || "dualstack",
|
|
49
50
|
* SecurityPolicy: "TLS_1_0" || "TLS_1_2",
|
|
50
51
|
* OwnershipVerificationCertificateArn: "STRING_VALUE",
|
|
51
52
|
* },
|
|
@@ -70,6 +71,7 @@ declare const UpdateDomainNameCommand_base: {
|
|
|
70
71
|
* // DomainNameStatusMessage: "STRING_VALUE",
|
|
71
72
|
* // EndpointType: "REGIONAL" || "EDGE",
|
|
72
73
|
* // HostedZoneId: "STRING_VALUE",
|
|
74
|
+
* // IpAddressType: "ipv4" || "dualstack",
|
|
73
75
|
* // SecurityPolicy: "TLS_1_0" || "TLS_1_2",
|
|
74
76
|
* // OwnershipVerificationCertificateArn: "STRING_VALUE",
|
|
75
77
|
* // },
|
|
@@ -36,6 +36,18 @@ export interface Cors {
|
|
|
36
36
|
*/
|
|
37
37
|
MaxAge?: number | undefined;
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @enum
|
|
42
|
+
*/
|
|
43
|
+
export declare const IpAddressType: {
|
|
44
|
+
readonly dualstack: "dualstack";
|
|
45
|
+
readonly ipv4: "ipv4";
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
39
51
|
/**
|
|
40
52
|
* @public
|
|
41
53
|
* @enum
|
|
@@ -103,6 +115,11 @@ export interface Api {
|
|
|
103
115
|
* @public
|
|
104
116
|
*/
|
|
105
117
|
ImportInfo?: string[] | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* <p>The IP address types that can invoke the API.</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
IpAddressType?: IpAddressType | undefined;
|
|
106
123
|
/**
|
|
107
124
|
* <p>The name of the API.</p>
|
|
108
125
|
* @public
|
|
@@ -383,6 +400,11 @@ export interface DomainNameConfiguration {
|
|
|
383
400
|
* @public
|
|
384
401
|
*/
|
|
385
402
|
HostedZoneId?: string | undefined;
|
|
403
|
+
/**
|
|
404
|
+
* <p>The IP address types that can invoke the domain name. Use ipv4 to allow only IPv4 addresses to invoke your domain name, or use dualstack to allow both IPv4 and IPv6 addresses to invoke your domain name.</p>
|
|
405
|
+
* @public
|
|
406
|
+
*/
|
|
407
|
+
IpAddressType?: IpAddressType | undefined;
|
|
386
408
|
/**
|
|
387
409
|
* <p>The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.</p>
|
|
388
410
|
* @public
|
|
@@ -1107,6 +1129,11 @@ export interface CreateApiRequest {
|
|
|
1107
1129
|
* @public
|
|
1108
1130
|
*/
|
|
1109
1131
|
DisableExecuteApiEndpoint?: boolean | undefined;
|
|
1132
|
+
/**
|
|
1133
|
+
* <p>The IP address types that can invoke the API.</p>
|
|
1134
|
+
* @public
|
|
1135
|
+
*/
|
|
1136
|
+
IpAddressType?: IpAddressType | undefined;
|
|
1110
1137
|
/**
|
|
1111
1138
|
* <p>The name of the API.</p>
|
|
1112
1139
|
* @public
|
|
@@ -1197,6 +1224,11 @@ export interface CreateApiResponse {
|
|
|
1197
1224
|
* @public
|
|
1198
1225
|
*/
|
|
1199
1226
|
ImportInfo?: string[] | undefined;
|
|
1227
|
+
/**
|
|
1228
|
+
* <p>The IP address types that can invoke the API.</p>
|
|
1229
|
+
* @public
|
|
1230
|
+
*/
|
|
1231
|
+
IpAddressType?: IpAddressType | undefined;
|
|
1200
1232
|
/**
|
|
1201
1233
|
* <p>The name of the API.</p>
|
|
1202
1234
|
* @public
|
|
@@ -2700,6 +2732,11 @@ export interface GetApiResponse {
|
|
|
2700
2732
|
* @public
|
|
2701
2733
|
*/
|
|
2702
2734
|
ImportInfo?: string[] | undefined;
|
|
2735
|
+
/**
|
|
2736
|
+
* <p>The IP address types that can invoke the API.</p>
|
|
2737
|
+
* @public
|
|
2738
|
+
*/
|
|
2739
|
+
IpAddressType?: IpAddressType | undefined;
|
|
2703
2740
|
/**
|
|
2704
2741
|
* <p>The name of the API.</p>
|
|
2705
2742
|
* @public
|
|
@@ -3982,6 +4019,11 @@ export interface ImportApiResponse {
|
|
|
3982
4019
|
* @public
|
|
3983
4020
|
*/
|
|
3984
4021
|
ImportInfo?: string[] | undefined;
|
|
4022
|
+
/**
|
|
4023
|
+
* <p>The IP address types that can invoke the API.</p>
|
|
4024
|
+
* @public
|
|
4025
|
+
*/
|
|
4026
|
+
IpAddressType?: IpAddressType | undefined;
|
|
3985
4027
|
/**
|
|
3986
4028
|
* <p>The name of the API.</p>
|
|
3987
4029
|
* @public
|
|
@@ -4093,6 +4135,11 @@ export interface ReimportApiResponse {
|
|
|
4093
4135
|
* @public
|
|
4094
4136
|
*/
|
|
4095
4137
|
ImportInfo?: string[] | undefined;
|
|
4138
|
+
/**
|
|
4139
|
+
* <p>The IP address types that can invoke the API.</p>
|
|
4140
|
+
* @public
|
|
4141
|
+
*/
|
|
4142
|
+
IpAddressType?: IpAddressType | undefined;
|
|
4096
4143
|
/**
|
|
4097
4144
|
* <p>The name of the API.</p>
|
|
4098
4145
|
* @public
|
|
@@ -4215,6 +4262,11 @@ export interface UpdateApiRequest {
|
|
|
4215
4262
|
* @public
|
|
4216
4263
|
*/
|
|
4217
4264
|
DisableExecuteApiEndpoint?: boolean | undefined;
|
|
4265
|
+
/**
|
|
4266
|
+
* <p>The IP address types that can invoke your API or domain name.</p>
|
|
4267
|
+
* @public
|
|
4268
|
+
*/
|
|
4269
|
+
IpAddressType?: IpAddressType | undefined;
|
|
4218
4270
|
/**
|
|
4219
4271
|
* <p>The name of the API.</p>
|
|
4220
4272
|
* @public
|
|
@@ -4295,6 +4347,11 @@ export interface UpdateApiResponse {
|
|
|
4295
4347
|
* @public
|
|
4296
4348
|
*/
|
|
4297
4349
|
ImportInfo?: string[] | undefined;
|
|
4350
|
+
/**
|
|
4351
|
+
* <p>The IP address types that can invoke the API.</p>
|
|
4352
|
+
* @public
|
|
4353
|
+
*/
|
|
4354
|
+
IpAddressType?: IpAddressType | undefined;
|
|
4298
4355
|
/**
|
|
4299
4356
|
* <p>The name of the API.</p>
|
|
4300
4357
|
* @public
|
|
@@ -8,6 +8,11 @@ export interface Cors {
|
|
|
8
8
|
ExposeHeaders?: string[] | undefined;
|
|
9
9
|
MaxAge?: number | undefined;
|
|
10
10
|
}
|
|
11
|
+
export declare const IpAddressType: {
|
|
12
|
+
readonly dualstack: "dualstack";
|
|
13
|
+
readonly ipv4: "ipv4";
|
|
14
|
+
};
|
|
15
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
11
16
|
export declare const ProtocolType: {
|
|
12
17
|
readonly HTTP: "HTTP";
|
|
13
18
|
readonly WEBSOCKET: "WEBSOCKET";
|
|
@@ -24,6 +29,7 @@ export interface Api {
|
|
|
24
29
|
DisableSchemaValidation?: boolean | undefined;
|
|
25
30
|
DisableExecuteApiEndpoint?: boolean | undefined;
|
|
26
31
|
ImportInfo?: string[] | undefined;
|
|
32
|
+
IpAddressType?: IpAddressType | undefined;
|
|
27
33
|
Name: string | undefined;
|
|
28
34
|
ProtocolType: ProtocolType | undefined;
|
|
29
35
|
RouteSelectionExpression: string | undefined;
|
|
@@ -103,6 +109,7 @@ export interface DomainNameConfiguration {
|
|
|
103
109
|
DomainNameStatusMessage?: string | undefined;
|
|
104
110
|
EndpointType?: EndpointType | undefined;
|
|
105
111
|
HostedZoneId?: string | undefined;
|
|
112
|
+
IpAddressType?: IpAddressType | undefined;
|
|
106
113
|
SecurityPolicy?: SecurityPolicy | undefined;
|
|
107
114
|
OwnershipVerificationCertificateArn?: string | undefined;
|
|
108
115
|
}
|
|
@@ -305,6 +312,7 @@ export interface CreateApiRequest {
|
|
|
305
312
|
Description?: string | undefined;
|
|
306
313
|
DisableSchemaValidation?: boolean | undefined;
|
|
307
314
|
DisableExecuteApiEndpoint?: boolean | undefined;
|
|
315
|
+
IpAddressType?: IpAddressType | undefined;
|
|
308
316
|
Name: string | undefined;
|
|
309
317
|
ProtocolType: ProtocolType | undefined;
|
|
310
318
|
RouteKey?: string | undefined;
|
|
@@ -324,6 +332,7 @@ export interface CreateApiResponse {
|
|
|
324
332
|
DisableSchemaValidation?: boolean | undefined;
|
|
325
333
|
DisableExecuteApiEndpoint?: boolean | undefined;
|
|
326
334
|
ImportInfo?: string[] | undefined;
|
|
335
|
+
IpAddressType?: IpAddressType | undefined;
|
|
327
336
|
Name?: string | undefined;
|
|
328
337
|
ProtocolType?: ProtocolType | undefined;
|
|
329
338
|
RouteSelectionExpression?: string | undefined;
|
|
@@ -671,6 +680,7 @@ export interface GetApiResponse {
|
|
|
671
680
|
DisableSchemaValidation?: boolean | undefined;
|
|
672
681
|
DisableExecuteApiEndpoint?: boolean | undefined;
|
|
673
682
|
ImportInfo?: string[] | undefined;
|
|
683
|
+
IpAddressType?: IpAddressType | undefined;
|
|
674
684
|
Name?: string | undefined;
|
|
675
685
|
ProtocolType?: ProtocolType | undefined;
|
|
676
686
|
RouteSelectionExpression?: string | undefined;
|
|
@@ -978,6 +988,7 @@ export interface ImportApiResponse {
|
|
|
978
988
|
DisableSchemaValidation?: boolean | undefined;
|
|
979
989
|
DisableExecuteApiEndpoint?: boolean | undefined;
|
|
980
990
|
ImportInfo?: string[] | undefined;
|
|
991
|
+
IpAddressType?: IpAddressType | undefined;
|
|
981
992
|
Name?: string | undefined;
|
|
982
993
|
ProtocolType?: ProtocolType | undefined;
|
|
983
994
|
RouteSelectionExpression?: string | undefined;
|
|
@@ -1002,6 +1013,7 @@ export interface ReimportApiResponse {
|
|
|
1002
1013
|
DisableSchemaValidation?: boolean | undefined;
|
|
1003
1014
|
DisableExecuteApiEndpoint?: boolean | undefined;
|
|
1004
1015
|
ImportInfo?: string[] | undefined;
|
|
1016
|
+
IpAddressType?: IpAddressType | undefined;
|
|
1005
1017
|
Name?: string | undefined;
|
|
1006
1018
|
ProtocolType?: ProtocolType | undefined;
|
|
1007
1019
|
RouteSelectionExpression?: string | undefined;
|
|
@@ -1030,6 +1042,7 @@ export interface UpdateApiRequest {
|
|
|
1030
1042
|
Description?: string | undefined;
|
|
1031
1043
|
DisableSchemaValidation?: boolean | undefined;
|
|
1032
1044
|
DisableExecuteApiEndpoint?: boolean | undefined;
|
|
1045
|
+
IpAddressType?: IpAddressType | undefined;
|
|
1033
1046
|
Name?: string | undefined;
|
|
1034
1047
|
RouteKey?: string | undefined;
|
|
1035
1048
|
RouteSelectionExpression?: string | undefined;
|
|
@@ -1047,6 +1060,7 @@ export interface UpdateApiResponse {
|
|
|
1047
1060
|
DisableSchemaValidation?: boolean | undefined;
|
|
1048
1061
|
DisableExecuteApiEndpoint?: boolean | undefined;
|
|
1049
1062
|
ImportInfo?: string[] | undefined;
|
|
1063
|
+
IpAddressType?: IpAddressType | undefined;
|
|
1050
1064
|
Name?: string | undefined;
|
|
1051
1065
|
ProtocolType?: ProtocolType | undefined;
|
|
1052
1066
|
RouteSelectionExpression?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-apigatewayv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Apigatewayv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.778.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-apigatewayv2",
|