@aws-sdk/client-api-gateway 3.821.0 → 3.825.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 +12 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +5 -0
- package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +1 -0
- package/dist-types/commands/GetDomainNamesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +25 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -145,6 +145,7 @@ __export(index_exports, {
|
|
|
145
145
|
QuotaPeriodType: () => QuotaPeriodType,
|
|
146
146
|
RejectDomainNameAccessAssociationCommand: () => RejectDomainNameAccessAssociationCommand,
|
|
147
147
|
ResourceOwner: () => ResourceOwner,
|
|
148
|
+
RoutingMode: () => RoutingMode,
|
|
148
149
|
SecurityPolicy: () => SecurityPolicy,
|
|
149
150
|
ServiceUnavailableException: () => ServiceUnavailableException,
|
|
150
151
|
TagResourceCommand: () => TagResourceCommand,
|
|
@@ -545,6 +546,11 @@ var EndpointType = {
|
|
|
545
546
|
PRIVATE: "PRIVATE",
|
|
546
547
|
REGIONAL: "REGIONAL"
|
|
547
548
|
};
|
|
549
|
+
var RoutingMode = {
|
|
550
|
+
BASE_PATH_MAPPING_ONLY: "BASE_PATH_MAPPING_ONLY",
|
|
551
|
+
ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY",
|
|
552
|
+
ROUTING_RULE_THEN_BASE_PATH_MAPPING: "ROUTING_RULE_THEN_BASE_PATH_MAPPING"
|
|
553
|
+
};
|
|
548
554
|
var SecurityPolicy = {
|
|
549
555
|
TLS_1_0: "TLS_1_0",
|
|
550
556
|
TLS_1_2: "TLS_1_2"
|
|
@@ -785,6 +791,7 @@ var se_CreateDomainNameCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
785
791
|
policy: [],
|
|
786
792
|
regionalCertificateArn: [],
|
|
787
793
|
regionalCertificateName: [],
|
|
794
|
+
routingMode: [],
|
|
788
795
|
securityPolicy: [],
|
|
789
796
|
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
790
797
|
})
|
|
@@ -2592,6 +2599,7 @@ var de_CreateDomainNameCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2592
2599
|
regionalCertificateName: import_smithy_client.expectString,
|
|
2593
2600
|
regionalDomainName: import_smithy_client.expectString,
|
|
2594
2601
|
regionalHostedZoneId: import_smithy_client.expectString,
|
|
2602
|
+
routingMode: import_smithy_client.expectString,
|
|
2595
2603
|
securityPolicy: import_smithy_client.expectString,
|
|
2596
2604
|
tags: import_smithy_client._json
|
|
2597
2605
|
});
|
|
@@ -3324,6 +3332,7 @@ var de_GetDomainNameCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3324
3332
|
regionalCertificateName: import_smithy_client.expectString,
|
|
3325
3333
|
regionalDomainName: import_smithy_client.expectString,
|
|
3326
3334
|
regionalHostedZoneId: import_smithy_client.expectString,
|
|
3335
|
+
routingMode: import_smithy_client.expectString,
|
|
3327
3336
|
securityPolicy: import_smithy_client.expectString,
|
|
3328
3337
|
tags: import_smithy_client._json
|
|
3329
3338
|
});
|
|
@@ -4301,6 +4310,7 @@ var de_UpdateDomainNameCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4301
4310
|
regionalCertificateName: import_smithy_client.expectString,
|
|
4302
4311
|
regionalDomainName: import_smithy_client.expectString,
|
|
4303
4312
|
regionalHostedZoneId: import_smithy_client.expectString,
|
|
4313
|
+
routingMode: import_smithy_client.expectString,
|
|
4304
4314
|
securityPolicy: import_smithy_client.expectString,
|
|
4305
4315
|
tags: import_smithy_client._json
|
|
4306
4316
|
});
|
|
@@ -4832,6 +4842,7 @@ var de_DomainName = /* @__PURE__ */ __name((output, context) => {
|
|
|
4832
4842
|
regionalCertificateName: import_smithy_client.expectString,
|
|
4833
4843
|
regionalDomainName: import_smithy_client.expectString,
|
|
4834
4844
|
regionalHostedZoneId: import_smithy_client.expectString,
|
|
4845
|
+
routingMode: import_smithy_client.expectString,
|
|
4835
4846
|
securityPolicy: import_smithy_client.expectString,
|
|
4836
4847
|
tags: import_smithy_client._json
|
|
4837
4848
|
});
|
|
@@ -7216,6 +7227,7 @@ var paginateGetVpcLinks = (0, import_core.createPaginator)(APIGatewayClient, Get
|
|
|
7216
7227
|
DocumentationPartType,
|
|
7217
7228
|
IpAddressType,
|
|
7218
7229
|
EndpointType,
|
|
7230
|
+
RoutingMode,
|
|
7219
7231
|
SecurityPolicy,
|
|
7220
7232
|
DomainNameStatus,
|
|
7221
7233
|
ConnectionType,
|
|
@@ -137,6 +137,11 @@ export const EndpointType = {
|
|
|
137
137
|
PRIVATE: "PRIVATE",
|
|
138
138
|
REGIONAL: "REGIONAL",
|
|
139
139
|
};
|
|
140
|
+
export const RoutingMode = {
|
|
141
|
+
BASE_PATH_MAPPING_ONLY: "BASE_PATH_MAPPING_ONLY",
|
|
142
|
+
ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY",
|
|
143
|
+
ROUTING_RULE_THEN_BASE_PATH_MAPPING: "ROUTING_RULE_THEN_BASE_PATH_MAPPING",
|
|
144
|
+
};
|
|
140
145
|
export const SecurityPolicy = {
|
|
141
146
|
TLS_1_0: "TLS_1_0",
|
|
142
147
|
TLS_1_2: "TLS_1_2",
|
|
@@ -136,6 +136,7 @@ export const se_CreateDomainNameCommand = async (input, context) => {
|
|
|
136
136
|
policy: [],
|
|
137
137
|
regionalCertificateArn: [],
|
|
138
138
|
regionalCertificateName: [],
|
|
139
|
+
routingMode: [],
|
|
139
140
|
securityPolicy: [],
|
|
140
141
|
tags: (_) => _json(_),
|
|
141
142
|
}));
|
|
@@ -1857,6 +1858,7 @@ export const de_CreateDomainNameCommand = async (output, context) => {
|
|
|
1857
1858
|
regionalCertificateName: __expectString,
|
|
1858
1859
|
regionalDomainName: __expectString,
|
|
1859
1860
|
regionalHostedZoneId: __expectString,
|
|
1861
|
+
routingMode: __expectString,
|
|
1860
1862
|
securityPolicy: __expectString,
|
|
1861
1863
|
tags: _json,
|
|
1862
1864
|
});
|
|
@@ -2589,6 +2591,7 @@ export const de_GetDomainNameCommand = async (output, context) => {
|
|
|
2589
2591
|
regionalCertificateName: __expectString,
|
|
2590
2592
|
regionalDomainName: __expectString,
|
|
2591
2593
|
regionalHostedZoneId: __expectString,
|
|
2594
|
+
routingMode: __expectString,
|
|
2592
2595
|
securityPolicy: __expectString,
|
|
2593
2596
|
tags: _json,
|
|
2594
2597
|
});
|
|
@@ -3566,6 +3569,7 @@ export const de_UpdateDomainNameCommand = async (output, context) => {
|
|
|
3566
3569
|
regionalCertificateName: __expectString,
|
|
3567
3570
|
regionalDomainName: __expectString,
|
|
3568
3571
|
regionalHostedZoneId: __expectString,
|
|
3572
|
+
routingMode: __expectString,
|
|
3569
3573
|
securityPolicy: __expectString,
|
|
3570
3574
|
tags: _json,
|
|
3571
3575
|
});
|
|
@@ -4099,6 +4103,7 @@ const de_DomainName = (output, context) => {
|
|
|
4099
4103
|
regionalCertificateName: __expectString,
|
|
4100
4104
|
regionalDomainName: __expectString,
|
|
4101
4105
|
regionalHostedZoneId: __expectString,
|
|
4106
|
+
routingMode: __expectString,
|
|
4102
4107
|
securityPolicy: __expectString,
|
|
4103
4108
|
tags: _json,
|
|
4104
4109
|
});
|
|
@@ -62,6 +62,7 @@ declare const CreateDomainNameCommand_base: {
|
|
|
62
62
|
* },
|
|
63
63
|
* ownershipVerificationCertificateArn: "STRING_VALUE",
|
|
64
64
|
* policy: "STRING_VALUE",
|
|
65
|
+
* routingMode: "BASE_PATH_MAPPING_ONLY" || "ROUTING_RULE_ONLY" || "ROUTING_RULE_THEN_BASE_PATH_MAPPING",
|
|
65
66
|
* };
|
|
66
67
|
* const command = new CreateDomainNameCommand(input);
|
|
67
68
|
* const response = await client.send(command);
|
|
@@ -103,6 +104,7 @@ declare const CreateDomainNameCommand_base: {
|
|
|
103
104
|
* // ownershipVerificationCertificateArn: "STRING_VALUE",
|
|
104
105
|
* // managementPolicy: "STRING_VALUE",
|
|
105
106
|
* // policy: "STRING_VALUE",
|
|
107
|
+
* // routingMode: "BASE_PATH_MAPPING_ONLY" || "ROUTING_RULE_ONLY" || "ROUTING_RULE_THEN_BASE_PATH_MAPPING",
|
|
106
108
|
* // };
|
|
107
109
|
*
|
|
108
110
|
* ```
|
|
@@ -78,6 +78,7 @@ declare const GetDomainNameCommand_base: {
|
|
|
78
78
|
* // ownershipVerificationCertificateArn: "STRING_VALUE",
|
|
79
79
|
* // managementPolicy: "STRING_VALUE",
|
|
80
80
|
* // policy: "STRING_VALUE",
|
|
81
|
+
* // routingMode: "BASE_PATH_MAPPING_ONLY" || "ROUTING_RULE_ONLY" || "ROUTING_RULE_THEN_BASE_PATH_MAPPING",
|
|
81
82
|
* // };
|
|
82
83
|
*
|
|
83
84
|
* ```
|
|
@@ -81,6 +81,7 @@ declare const GetDomainNamesCommand_base: {
|
|
|
81
81
|
* // ownershipVerificationCertificateArn: "STRING_VALUE",
|
|
82
82
|
* // managementPolicy: "STRING_VALUE",
|
|
83
83
|
* // policy: "STRING_VALUE",
|
|
84
|
+
* // routingMode: "BASE_PATH_MAPPING_ONLY" || "ROUTING_RULE_ONLY" || "ROUTING_RULE_THEN_BASE_PATH_MAPPING",
|
|
84
85
|
* // },
|
|
85
86
|
* // ],
|
|
86
87
|
* // position: "STRING_VALUE",
|
|
@@ -86,6 +86,7 @@ declare const UpdateDomainNameCommand_base: {
|
|
|
86
86
|
* // ownershipVerificationCertificateArn: "STRING_VALUE",
|
|
87
87
|
* // managementPolicy: "STRING_VALUE",
|
|
88
88
|
* // policy: "STRING_VALUE",
|
|
89
|
+
* // routingMode: "BASE_PATH_MAPPING_ONLY" || "ROUTING_RULE_ONLY" || "ROUTING_RULE_THEN_BASE_PATH_MAPPING",
|
|
89
90
|
* // };
|
|
90
91
|
*
|
|
91
92
|
* ```
|
|
@@ -924,6 +924,19 @@ export interface MutualTlsAuthenticationInput {
|
|
|
924
924
|
*/
|
|
925
925
|
truststoreVersion?: string | undefined;
|
|
926
926
|
}
|
|
927
|
+
/**
|
|
928
|
+
* @public
|
|
929
|
+
* @enum
|
|
930
|
+
*/
|
|
931
|
+
export declare const RoutingMode: {
|
|
932
|
+
readonly BASE_PATH_MAPPING_ONLY: "BASE_PATH_MAPPING_ONLY";
|
|
933
|
+
readonly ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY";
|
|
934
|
+
readonly ROUTING_RULE_THEN_BASE_PATH_MAPPING: "ROUTING_RULE_THEN_BASE_PATH_MAPPING";
|
|
935
|
+
};
|
|
936
|
+
/**
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
939
|
+
export type RoutingMode = (typeof RoutingMode)[keyof typeof RoutingMode];
|
|
927
940
|
/**
|
|
928
941
|
* @public
|
|
929
942
|
* @enum
|
|
@@ -1017,6 +1030,13 @@ export interface CreateDomainNameRequest {
|
|
|
1017
1030
|
* @public
|
|
1018
1031
|
*/
|
|
1019
1032
|
policy?: string | undefined;
|
|
1033
|
+
/**
|
|
1034
|
+
* <p>
|
|
1035
|
+
* The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs.
|
|
1036
|
+
* </p>
|
|
1037
|
+
* @public
|
|
1038
|
+
*/
|
|
1039
|
+
routingMode?: RoutingMode | undefined;
|
|
1020
1040
|
}
|
|
1021
1041
|
/**
|
|
1022
1042
|
* @public
|
|
@@ -1180,6 +1200,11 @@ export interface DomainName {
|
|
|
1180
1200
|
* @public
|
|
1181
1201
|
*/
|
|
1182
1202
|
policy?: string | undefined;
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs.</p>
|
|
1205
|
+
* @public
|
|
1206
|
+
*/
|
|
1207
|
+
routingMode?: RoutingMode | undefined;
|
|
1183
1208
|
}
|
|
1184
1209
|
/**
|
|
1185
1210
|
* @public
|
|
@@ -266,6 +266,12 @@ export interface MutualTlsAuthenticationInput {
|
|
|
266
266
|
truststoreUri?: string | undefined;
|
|
267
267
|
truststoreVersion?: string | undefined;
|
|
268
268
|
}
|
|
269
|
+
export declare const RoutingMode: {
|
|
270
|
+
readonly BASE_PATH_MAPPING_ONLY: "BASE_PATH_MAPPING_ONLY";
|
|
271
|
+
readonly ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY";
|
|
272
|
+
readonly ROUTING_RULE_THEN_BASE_PATH_MAPPING: "ROUTING_RULE_THEN_BASE_PATH_MAPPING";
|
|
273
|
+
};
|
|
274
|
+
export type RoutingMode = (typeof RoutingMode)[keyof typeof RoutingMode];
|
|
269
275
|
export declare const SecurityPolicy: {
|
|
270
276
|
readonly TLS_1_0: "TLS_1_0";
|
|
271
277
|
readonly TLS_1_2: "TLS_1_2";
|
|
@@ -287,6 +293,7 @@ export interface CreateDomainNameRequest {
|
|
|
287
293
|
mutualTlsAuthentication?: MutualTlsAuthenticationInput | undefined;
|
|
288
294
|
ownershipVerificationCertificateArn?: string | undefined;
|
|
289
295
|
policy?: string | undefined;
|
|
296
|
+
routingMode?: RoutingMode | undefined;
|
|
290
297
|
}
|
|
291
298
|
export declare const DomainNameStatus: {
|
|
292
299
|
readonly AVAILABLE: "AVAILABLE";
|
|
@@ -324,6 +331,7 @@ export interface DomainName {
|
|
|
324
331
|
ownershipVerificationCertificateArn?: string | undefined;
|
|
325
332
|
managementPolicy?: string | undefined;
|
|
326
333
|
policy?: string | undefined;
|
|
334
|
+
routingMode?: RoutingMode | undefined;
|
|
327
335
|
}
|
|
328
336
|
export interface CreateDomainNameAccessAssociationRequest {
|
|
329
337
|
domainNameArn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-api-gateway",
|
|
3
3
|
"description": "AWS SDK for JavaScript Api Gateway Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.825.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-api-gateway",
|
|
@@ -20,39 +20,39 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.825.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.825.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
28
|
"@aws-sdk/middleware-sdk-api-gateway": "3.821.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.825.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
31
31
|
"@aws-sdk/types": "3.821.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.821.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.825.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.1.4",
|
|
36
|
-
"@smithy/core": "^3.5.
|
|
36
|
+
"@smithy/core": "^3.5.2",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.0.4",
|
|
38
38
|
"@smithy/hash-node": "^4.0.4",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
42
|
-
"@smithy/middleware-retry": "^4.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.1.10",
|
|
42
|
+
"@smithy/middleware-retry": "^4.1.11",
|
|
43
43
|
"@smithy/middleware-serde": "^4.0.8",
|
|
44
44
|
"@smithy/middleware-stack": "^4.0.4",
|
|
45
45
|
"@smithy/node-config-provider": "^4.1.3",
|
|
46
46
|
"@smithy/node-http-handler": "^4.0.6",
|
|
47
47
|
"@smithy/protocol-http": "^5.1.2",
|
|
48
|
-
"@smithy/smithy-client": "^4.4.
|
|
48
|
+
"@smithy/smithy-client": "^4.4.2",
|
|
49
49
|
"@smithy/types": "^4.3.1",
|
|
50
50
|
"@smithy/url-parser": "^4.0.4",
|
|
51
51
|
"@smithy/util-base64": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.0.18",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.0.18",
|
|
56
56
|
"@smithy/util-endpoints": "^3.0.6",
|
|
57
57
|
"@smithy/util-middleware": "^4.0.4",
|
|
58
58
|
"@smithy/util-retry": "^4.0.5",
|