@aws-sdk/client-api-gateway 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 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
  * // ],
@@ -57,6 +57,7 @@ declare const GetDomainNameCommand_base: {
57
57
  * // types: [ // ListOfEndpointType
58
58
  * // "REGIONAL" || "EDGE" || "PRIVATE",
59
59
  * // ],
60
+ * // ipAddressType: "ipv4" || "dualstack",
60
61
  * // vpcEndpointIds: [ // ListOfString
61
62
  * // "STRING_VALUE",
62
63
  * // ],
@@ -60,6 +60,7 @@ declare const GetDomainNamesCommand_base: {
60
60
  * // types: [ // ListOfEndpointType
61
61
  * // "REGIONAL" || "EDGE" || "PRIVATE",
62
62
  * // ],
63
+ * // ipAddressType: "ipv4" || "dualstack",
63
64
  * // vpcEndpointIds: [ // ListOfString
64
65
  * // "STRING_VALUE",
65
66
  * // ],
@@ -57,6 +57,7 @@ declare const GetRestApiCommand_base: {
57
57
  * // types: [ // ListOfEndpointType
58
58
  * // "REGIONAL" || "EDGE" || "PRIVATE",
59
59
  * // ],
60
+ * // ipAddressType: "ipv4" || "dualstack",
60
61
  * // vpcEndpointIds: [
61
62
  * // "STRING_VALUE",
62
63
  * // ],
@@ -60,6 +60,7 @@ declare const GetRestApisCommand_base: {
60
60
  * // types: [ // ListOfEndpointType
61
61
  * // "REGIONAL" || "EDGE" || "PRIVATE",
62
62
  * // ],
63
+ * // ipAddressType: "ipv4" || "dualstack",
63
64
  * // vpcEndpointIds: [
64
65
  * // "STRING_VALUE",
65
66
  * // ],
@@ -67,6 +67,7 @@ declare const ImportRestApiCommand_base: {
67
67
  * // types: [ // ListOfEndpointType
68
68
  * // "REGIONAL" || "EDGE" || "PRIVATE",
69
69
  * // ],
70
+ * // ipAddressType: "ipv4" || "dualstack",
70
71
  * // vpcEndpointIds: [
71
72
  * // "STRING_VALUE",
72
73
  * // ],
@@ -70,6 +70,7 @@ declare const PutRestApiCommand_base: {
70
70
  * // types: [ // ListOfEndpointType
71
71
  * // "REGIONAL" || "EDGE" || "PRIVATE",
72
72
  * // ],
73
+ * // ipAddressType: "ipv4" || "dualstack",
73
74
  * // vpcEndpointIds: [
74
75
  * // "STRING_VALUE",
75
76
  * // ],
@@ -65,6 +65,7 @@ declare const UpdateDomainNameCommand_base: {
65
65
  * // types: [ // ListOfEndpointType
66
66
  * // "REGIONAL" || "EDGE" || "PRIVATE",
67
67
  * // ],
68
+ * // ipAddressType: "ipv4" || "dualstack",
68
69
  * // vpcEndpointIds: [ // ListOfString
69
70
  * // "STRING_VALUE",
70
71
  * // ],
@@ -65,6 +65,7 @@ declare const UpdateRestApiCommand_base: {
65
65
  * // types: [ // ListOfEndpointType
66
66
  * // "REGIONAL" || "EDGE" || "PRIVATE",
67
67
  * // ],
68
+ * // ipAddressType: "ipv4" || "dualstack",
68
69
  * // vpcEndpointIds: [
69
70
  * // "STRING_VALUE",
70
71
  * // ],
@@ -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.777.0",
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-api-gateway",