@aws-sdk/client-api-gateway 3.775.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.
Files changed (129) hide show
  1. package/dist-cjs/index.js +6 -0
  2. package/dist-es/models/models_0.js +4 -0
  3. package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -0
  4. package/dist-types/commands/CreateAuthorizerCommand.d.ts +1 -0
  5. package/dist-types/commands/CreateBasePathMappingCommand.d.ts +1 -0
  6. package/dist-types/commands/CreateDeploymentCommand.d.ts +1 -0
  7. package/dist-types/commands/CreateDocumentationPartCommand.d.ts +1 -0
  8. package/dist-types/commands/CreateDocumentationVersionCommand.d.ts +1 -0
  9. package/dist-types/commands/CreateDomainNameAccessAssociationCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateDomainNameCommand.d.ts +3 -0
  11. package/dist-types/commands/CreateModelCommand.d.ts +1 -0
  12. package/dist-types/commands/CreateRequestValidatorCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateResourceCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateRestApiCommand.d.ts +3 -0
  15. package/dist-types/commands/CreateStageCommand.d.ts +1 -0
  16. package/dist-types/commands/CreateUsagePlanCommand.d.ts +1 -0
  17. package/dist-types/commands/CreateUsagePlanKeyCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateVpcLinkCommand.d.ts +1 -0
  19. package/dist-types/commands/DeleteApiKeyCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -0
  21. package/dist-types/commands/DeleteBasePathMappingCommand.d.ts +1 -0
  22. package/dist-types/commands/DeleteClientCertificateCommand.d.ts +1 -0
  23. package/dist-types/commands/DeleteDeploymentCommand.d.ts +1 -0
  24. package/dist-types/commands/DeleteDocumentationPartCommand.d.ts +1 -0
  25. package/dist-types/commands/DeleteDocumentationVersionCommand.d.ts +1 -0
  26. package/dist-types/commands/DeleteDomainNameAccessAssociationCommand.d.ts +1 -0
  27. package/dist-types/commands/DeleteDomainNameCommand.d.ts +1 -0
  28. package/dist-types/commands/DeleteGatewayResponseCommand.d.ts +1 -0
  29. package/dist-types/commands/DeleteIntegrationCommand.d.ts +1 -0
  30. package/dist-types/commands/DeleteIntegrationResponseCommand.d.ts +1 -0
  31. package/dist-types/commands/DeleteMethodCommand.d.ts +1 -0
  32. package/dist-types/commands/DeleteMethodResponseCommand.d.ts +1 -0
  33. package/dist-types/commands/DeleteModelCommand.d.ts +1 -0
  34. package/dist-types/commands/DeleteRequestValidatorCommand.d.ts +1 -0
  35. package/dist-types/commands/DeleteResourceCommand.d.ts +1 -0
  36. package/dist-types/commands/DeleteRestApiCommand.d.ts +1 -0
  37. package/dist-types/commands/DeleteStageCommand.d.ts +1 -0
  38. package/dist-types/commands/DeleteUsagePlanCommand.d.ts +1 -0
  39. package/dist-types/commands/DeleteUsagePlanKeyCommand.d.ts +1 -0
  40. package/dist-types/commands/DeleteVpcLinkCommand.d.ts +1 -0
  41. package/dist-types/commands/FlushStageAuthorizersCacheCommand.d.ts +1 -0
  42. package/dist-types/commands/FlushStageCacheCommand.d.ts +1 -0
  43. package/dist-types/commands/GenerateClientCertificateCommand.d.ts +1 -0
  44. package/dist-types/commands/GetAccountCommand.d.ts +1 -0
  45. package/dist-types/commands/GetApiKeyCommand.d.ts +1 -0
  46. package/dist-types/commands/GetApiKeysCommand.d.ts +1 -0
  47. package/dist-types/commands/GetAuthorizerCommand.d.ts +1 -0
  48. package/dist-types/commands/GetAuthorizersCommand.d.ts +1 -0
  49. package/dist-types/commands/GetBasePathMappingCommand.d.ts +1 -0
  50. package/dist-types/commands/GetBasePathMappingsCommand.d.ts +1 -0
  51. package/dist-types/commands/GetClientCertificateCommand.d.ts +1 -0
  52. package/dist-types/commands/GetClientCertificatesCommand.d.ts +1 -0
  53. package/dist-types/commands/GetDeploymentCommand.d.ts +1 -0
  54. package/dist-types/commands/GetDeploymentsCommand.d.ts +1 -0
  55. package/dist-types/commands/GetDocumentationPartCommand.d.ts +1 -0
  56. package/dist-types/commands/GetDocumentationPartsCommand.d.ts +1 -0
  57. package/dist-types/commands/GetDocumentationVersionCommand.d.ts +1 -0
  58. package/dist-types/commands/GetDocumentationVersionsCommand.d.ts +1 -0
  59. package/dist-types/commands/GetDomainNameAccessAssociationsCommand.d.ts +1 -0
  60. package/dist-types/commands/GetDomainNameCommand.d.ts +2 -0
  61. package/dist-types/commands/GetDomainNamesCommand.d.ts +2 -0
  62. package/dist-types/commands/GetExportCommand.d.ts +1 -0
  63. package/dist-types/commands/GetGatewayResponseCommand.d.ts +1 -0
  64. package/dist-types/commands/GetGatewayResponsesCommand.d.ts +1 -0
  65. package/dist-types/commands/GetIntegrationCommand.d.ts +1 -0
  66. package/dist-types/commands/GetIntegrationResponseCommand.d.ts +1 -0
  67. package/dist-types/commands/GetMethodCommand.d.ts +1 -0
  68. package/dist-types/commands/GetMethodResponseCommand.d.ts +1 -0
  69. package/dist-types/commands/GetModelCommand.d.ts +1 -0
  70. package/dist-types/commands/GetModelTemplateCommand.d.ts +1 -0
  71. package/dist-types/commands/GetModelsCommand.d.ts +1 -0
  72. package/dist-types/commands/GetRequestValidatorCommand.d.ts +1 -0
  73. package/dist-types/commands/GetRequestValidatorsCommand.d.ts +1 -0
  74. package/dist-types/commands/GetResourceCommand.d.ts +1 -0
  75. package/dist-types/commands/GetResourcesCommand.d.ts +1 -0
  76. package/dist-types/commands/GetRestApiCommand.d.ts +2 -0
  77. package/dist-types/commands/GetRestApisCommand.d.ts +2 -0
  78. package/dist-types/commands/GetSdkCommand.d.ts +1 -0
  79. package/dist-types/commands/GetSdkTypeCommand.d.ts +1 -0
  80. package/dist-types/commands/GetSdkTypesCommand.d.ts +1 -0
  81. package/dist-types/commands/GetStageCommand.d.ts +1 -0
  82. package/dist-types/commands/GetStagesCommand.d.ts +1 -0
  83. package/dist-types/commands/GetTagsCommand.d.ts +1 -0
  84. package/dist-types/commands/GetUsageCommand.d.ts +1 -0
  85. package/dist-types/commands/GetUsagePlanCommand.d.ts +1 -0
  86. package/dist-types/commands/GetUsagePlanKeyCommand.d.ts +1 -0
  87. package/dist-types/commands/GetUsagePlanKeysCommand.d.ts +1 -0
  88. package/dist-types/commands/GetUsagePlansCommand.d.ts +1 -0
  89. package/dist-types/commands/GetVpcLinkCommand.d.ts +1 -0
  90. package/dist-types/commands/GetVpcLinksCommand.d.ts +1 -0
  91. package/dist-types/commands/ImportApiKeysCommand.d.ts +1 -0
  92. package/dist-types/commands/ImportDocumentationPartsCommand.d.ts +1 -0
  93. package/dist-types/commands/ImportRestApiCommand.d.ts +2 -0
  94. package/dist-types/commands/PutGatewayResponseCommand.d.ts +1 -0
  95. package/dist-types/commands/PutIntegrationCommand.d.ts +1 -0
  96. package/dist-types/commands/PutIntegrationResponseCommand.d.ts +1 -0
  97. package/dist-types/commands/PutMethodCommand.d.ts +1 -0
  98. package/dist-types/commands/PutMethodResponseCommand.d.ts +1 -0
  99. package/dist-types/commands/PutRestApiCommand.d.ts +2 -0
  100. package/dist-types/commands/RejectDomainNameAccessAssociationCommand.d.ts +1 -0
  101. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  102. package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +1 -0
  103. package/dist-types/commands/TestInvokeMethodCommand.d.ts +1 -0
  104. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  105. package/dist-types/commands/UpdateAccountCommand.d.ts +1 -0
  106. package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -0
  107. package/dist-types/commands/UpdateAuthorizerCommand.d.ts +1 -0
  108. package/dist-types/commands/UpdateBasePathMappingCommand.d.ts +1 -0
  109. package/dist-types/commands/UpdateClientCertificateCommand.d.ts +1 -0
  110. package/dist-types/commands/UpdateDeploymentCommand.d.ts +1 -0
  111. package/dist-types/commands/UpdateDocumentationPartCommand.d.ts +1 -0
  112. package/dist-types/commands/UpdateDocumentationVersionCommand.d.ts +1 -0
  113. package/dist-types/commands/UpdateDomainNameCommand.d.ts +2 -0
  114. package/dist-types/commands/UpdateGatewayResponseCommand.d.ts +1 -0
  115. package/dist-types/commands/UpdateIntegrationCommand.d.ts +1 -0
  116. package/dist-types/commands/UpdateIntegrationResponseCommand.d.ts +1 -0
  117. package/dist-types/commands/UpdateMethodCommand.d.ts +1 -0
  118. package/dist-types/commands/UpdateMethodResponseCommand.d.ts +1 -0
  119. package/dist-types/commands/UpdateModelCommand.d.ts +1 -0
  120. package/dist-types/commands/UpdateRequestValidatorCommand.d.ts +1 -0
  121. package/dist-types/commands/UpdateResourceCommand.d.ts +1 -0
  122. package/dist-types/commands/UpdateRestApiCommand.d.ts +2 -0
  123. package/dist-types/commands/UpdateStageCommand.d.ts +1 -0
  124. package/dist-types/commands/UpdateUsageCommand.d.ts +1 -0
  125. package/dist-types/commands/UpdateUsagePlanCommand.d.ts +1 -0
  126. package/dist-types/commands/UpdateVpcLinkCommand.d.ts +1 -0
  127. package/dist-types/models/models_0.d.ts +24 -5
  128. package/dist-types/ts3.4/models/models_0.d.ts +6 -0
  129. package/package.json +2 -2
@@ -90,6 +90,7 @@ declare const UpdateVpcLinkCommand_base: {
90
90
  * @throws {@link APIGatewayServiceException}
91
91
  * <p>Base exception class for all service exceptions from APIGateway service.</p>
92
92
  *
93
+ *
93
94
  * @public
94
95
  */
95
96
  export declare class UpdateVpcLinkCommand extends UpdateVpcLinkCommand_base {
@@ -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.775.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",
@@ -21,7 +21,7 @@
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.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.777.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",