@aws-sdk/client-api-gateway 3.777.0 → 3.782.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 +6 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/CreateRestApiCommand.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/GetRestApiCommand.d.ts +1 -0
- package/dist-types/commands/GetRestApisCommand.d.ts +1 -0
- package/dist-types/commands/ImportRestApiCommand.d.ts +1 -0
- package/dist-types/commands/PutRestApiCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRestApiCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +24 -5
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -130,6 +130,7 @@ __export(index_exports, {
|
|
|
130
130
|
ImportDocumentationPartsCommand: () => ImportDocumentationPartsCommand,
|
|
131
131
|
ImportRestApiCommand: () => ImportRestApiCommand,
|
|
132
132
|
IntegrationType: () => IntegrationType,
|
|
133
|
+
IpAddressType: () => IpAddressType,
|
|
133
134
|
LimitExceededException: () => LimitExceededException,
|
|
134
135
|
LocationStatusType: () => LocationStatusType,
|
|
135
136
|
NotFoundException: () => NotFoundException,
|
|
@@ -535,6 +536,10 @@ var DocumentationPartType = {
|
|
|
535
536
|
RESPONSE_BODY: "RESPONSE_BODY",
|
|
536
537
|
RESPONSE_HEADER: "RESPONSE_HEADER"
|
|
537
538
|
};
|
|
539
|
+
var IpAddressType = {
|
|
540
|
+
dualstack: "dualstack",
|
|
541
|
+
ipv4: "ipv4"
|
|
542
|
+
};
|
|
538
543
|
var EndpointType = {
|
|
539
544
|
EDGE: "EDGE",
|
|
540
545
|
PRIVATE: "PRIVATE",
|
|
@@ -7209,6 +7214,7 @@ var paginateGetVpcLinks = (0, import_core.createPaginator)(APIGatewayClient, Get
|
|
|
7209
7214
|
CacheClusterSize,
|
|
7210
7215
|
ServiceUnavailableException,
|
|
7211
7216
|
DocumentationPartType,
|
|
7217
|
+
IpAddressType,
|
|
7212
7218
|
EndpointType,
|
|
7213
7219
|
SecurityPolicy,
|
|
7214
7220
|
DomainNameStatus,
|
|
@@ -128,6 +128,10 @@ export const DocumentationPartType = {
|
|
|
128
128
|
RESPONSE_BODY: "RESPONSE_BODY",
|
|
129
129
|
RESPONSE_HEADER: "RESPONSE_HEADER",
|
|
130
130
|
};
|
|
131
|
+
export const IpAddressType = {
|
|
132
|
+
dualstack: "dualstack",
|
|
133
|
+
ipv4: "ipv4",
|
|
134
|
+
};
|
|
131
135
|
export const EndpointType = {
|
|
132
136
|
EDGE: "EDGE",
|
|
133
137
|
PRIVATE: "PRIVATE",
|
|
@@ -47,6 +47,7 @@ declare const CreateDomainNameCommand_base: {
|
|
|
47
47
|
* types: [ // ListOfEndpointType
|
|
48
48
|
* "REGIONAL" || "EDGE" || "PRIVATE",
|
|
49
49
|
* ],
|
|
50
|
+
* ipAddressType: "ipv4" || "dualstack",
|
|
50
51
|
* vpcEndpointIds: [ // ListOfString
|
|
51
52
|
* "STRING_VALUE",
|
|
52
53
|
* ],
|
|
@@ -81,6 +82,7 @@ declare const CreateDomainNameCommand_base: {
|
|
|
81
82
|
* // types: [ // ListOfEndpointType
|
|
82
83
|
* // "REGIONAL" || "EDGE" || "PRIVATE",
|
|
83
84
|
* // ],
|
|
85
|
+
* // ipAddressType: "ipv4" || "dualstack",
|
|
84
86
|
* // vpcEndpointIds: [ // ListOfString
|
|
85
87
|
* // "STRING_VALUE",
|
|
86
88
|
* // ],
|
|
@@ -48,6 +48,7 @@ declare const CreateRestApiCommand_base: {
|
|
|
48
48
|
* types: [ // ListOfEndpointType
|
|
49
49
|
* "REGIONAL" || "EDGE" || "PRIVATE",
|
|
50
50
|
* ],
|
|
51
|
+
* ipAddressType: "ipv4" || "dualstack",
|
|
51
52
|
* vpcEndpointIds: [
|
|
52
53
|
* "STRING_VALUE",
|
|
53
54
|
* ],
|
|
@@ -78,6 +79,7 @@ declare const CreateRestApiCommand_base: {
|
|
|
78
79
|
* // types: [ // ListOfEndpointType
|
|
79
80
|
* // "REGIONAL" || "EDGE" || "PRIVATE",
|
|
80
81
|
* // ],
|
|
82
|
+
* // ipAddressType: "ipv4" || "dualstack",
|
|
81
83
|
* // vpcEndpointIds: [
|
|
82
84
|
* // "STRING_VALUE",
|
|
83
85
|
* // ],
|
|
@@ -854,6 +854,18 @@ export interface DocumentationVersion {
|
|
|
854
854
|
*/
|
|
855
855
|
description?: string | undefined;
|
|
856
856
|
}
|
|
857
|
+
/**
|
|
858
|
+
* @public
|
|
859
|
+
* @enum
|
|
860
|
+
*/
|
|
861
|
+
export declare const IpAddressType: {
|
|
862
|
+
readonly dualstack: "dualstack";
|
|
863
|
+
readonly ipv4: "ipv4";
|
|
864
|
+
};
|
|
865
|
+
/**
|
|
866
|
+
* @public
|
|
867
|
+
*/
|
|
868
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
857
869
|
/**
|
|
858
870
|
* @public
|
|
859
871
|
* @enum
|
|
@@ -868,7 +880,7 @@ export declare const EndpointType: {
|
|
|
868
880
|
*/
|
|
869
881
|
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
870
882
|
/**
|
|
871
|
-
* <p>The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has. </p>
|
|
883
|
+
* <p>The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has and the IP address types that can invoke it. </p>
|
|
872
884
|
* @public
|
|
873
885
|
*/
|
|
874
886
|
export interface EndpointConfiguration {
|
|
@@ -877,6 +889,13 @@ export interface EndpointConfiguration {
|
|
|
877
889
|
* @public
|
|
878
890
|
*/
|
|
879
891
|
types?: EndpointType[] | undefined;
|
|
892
|
+
/**
|
|
893
|
+
* <p>The IP address types that can invoke an API (RestApi) or a DomainName. Use <code>ipv4</code> to allow only IPv4 addresses to
|
|
894
|
+
* invoke an API or DomainName, or use <code>dualstack</code> to allow both IPv4 and IPv6 addresses to invoke an API or a DomainName. For the
|
|
895
|
+
* <code>PRIVATE</code> endpoint type, only <code>dualstack</code> is supported.</p>
|
|
896
|
+
* @public
|
|
897
|
+
*/
|
|
898
|
+
ipAddressType?: IpAddressType | undefined;
|
|
880
899
|
/**
|
|
881
900
|
* <p>A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for <code>PRIVATE</code> endpoint type.</p>
|
|
882
901
|
* @public
|
|
@@ -963,7 +982,7 @@ export interface CreateDomainNameRequest {
|
|
|
963
982
|
*/
|
|
964
983
|
regionalCertificateArn?: string | undefined;
|
|
965
984
|
/**
|
|
966
|
-
* <p>The endpoint configuration of this DomainName showing the endpoint types of the domain name. </p>
|
|
985
|
+
* <p>The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name. </p>
|
|
967
986
|
* @public
|
|
968
987
|
*/
|
|
969
988
|
endpointConfiguration?: EndpointConfiguration | undefined;
|
|
@@ -1111,7 +1130,7 @@ export interface DomainName {
|
|
|
1111
1130
|
*/
|
|
1112
1131
|
distributionHostedZoneId?: string | undefined;
|
|
1113
1132
|
/**
|
|
1114
|
-
* <p>The endpoint configuration of this DomainName showing the endpoint types of the domain name. </p>
|
|
1133
|
+
* <p>The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name. </p>
|
|
1115
1134
|
* @public
|
|
1116
1135
|
*/
|
|
1117
1136
|
endpointConfiguration?: EndpointConfiguration | undefined;
|
|
@@ -1736,7 +1755,7 @@ export interface CreateRestApiRequest {
|
|
|
1736
1755
|
*/
|
|
1737
1756
|
apiKeySource?: ApiKeySourceType | undefined;
|
|
1738
1757
|
/**
|
|
1739
|
-
* <p>The endpoint configuration of this RestApi showing the endpoint types of the API. </p>
|
|
1758
|
+
* <p>The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API. </p>
|
|
1740
1759
|
* @public
|
|
1741
1760
|
*/
|
|
1742
1761
|
endpointConfiguration?: EndpointConfiguration | undefined;
|
|
@@ -1813,7 +1832,7 @@ export interface RestApi {
|
|
|
1813
1832
|
*/
|
|
1814
1833
|
apiKeySource?: ApiKeySourceType | undefined;
|
|
1815
1834
|
/**
|
|
1816
|
-
* <p>The endpoint configuration of this RestApi showing the endpoint types of the API. </p>
|
|
1835
|
+
* <p>The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API. </p>
|
|
1817
1836
|
* @public
|
|
1818
1837
|
*/
|
|
1819
1838
|
endpointConfiguration?: EndpointConfiguration | undefined;
|
|
@@ -246,6 +246,11 @@ export interface DocumentationVersion {
|
|
|
246
246
|
createdDate?: Date | undefined;
|
|
247
247
|
description?: string | undefined;
|
|
248
248
|
}
|
|
249
|
+
export declare const IpAddressType: {
|
|
250
|
+
readonly dualstack: "dualstack";
|
|
251
|
+
readonly ipv4: "ipv4";
|
|
252
|
+
};
|
|
253
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
249
254
|
export declare const EndpointType: {
|
|
250
255
|
readonly EDGE: "EDGE";
|
|
251
256
|
readonly PRIVATE: "PRIVATE";
|
|
@@ -254,6 +259,7 @@ export declare const EndpointType: {
|
|
|
254
259
|
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
255
260
|
export interface EndpointConfiguration {
|
|
256
261
|
types?: EndpointType[] | undefined;
|
|
262
|
+
ipAddressType?: IpAddressType | undefined;
|
|
257
263
|
vpcEndpointIds?: string[] | undefined;
|
|
258
264
|
}
|
|
259
265
|
export interface MutualTlsAuthenticationInput {
|
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.782.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",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.782.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
28
|
"@aws-sdk/middleware-sdk-api-gateway": "3.775.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.782.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
31
31
|
"@aws-sdk/types": "3.775.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.782.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.782.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.1.0",
|
|
36
36
|
"@smithy/core": "^3.2.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.0.2",
|