@aws-sdk/client-apigatewayv2 3.95.0 → 3.105.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-apigatewayv2
20
+
21
+
22
+
23
+
24
+
25
+ # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-apigatewayv2
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-apigatewayv2
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class ApiGatewayV2Client extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
+ const smithy_client_2 = require("@aws-sdk/smithy-client");
20
21
  const getRuntimeConfig = (config) => {
21
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
23
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
24
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
25
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
26
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var ApiGatewayV2Client = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
16
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
19
21
  var defaultsMode = resolveDefaultsModeConfig(config);
20
22
  var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
23
  var clientSharedValues = getSharedRuntimeConfig(config);
@@ -98,9 +98,7 @@ export interface Api {
98
98
  /**
99
99
  * <p>A collection of tags associated with the API.</p>
100
100
  */
101
- Tags?: {
102
- [key: string]: string;
103
- };
101
+ Tags?: Record<string, string>;
104
102
  /**
105
103
  * <p>A version identifier for the API.</p>
106
104
  */
@@ -371,9 +369,7 @@ export interface DomainName {
371
369
  /**
372
370
  * <p>The collection of tags associated with a domain name.</p>
373
371
  */
374
- Tags?: {
375
- [key: string]: string;
376
- };
372
+ Tags?: Record<string, string>;
377
373
  }
378
374
  export declare namespace DomainName {
379
375
  /**
@@ -484,23 +480,15 @@ export interface Integration {
484
480
  * <replaceable>{name}</replaceable>
485
481
  * must be a valid and unique method request parameter name.</p> <p>For HTTP API integrations with a specified integrationSubtype, request parameters are a key-value map specifying parameters that are passed to AWS_PROXY integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html">Working with AWS service integrations for HTTP APIs</a>.</p> <p>For HTTP API itegrations, without a specified integrationSubtype request parameters are a key-value map specifying how to transform HTTP requests before sending them to backend integrations. The key should follow the pattern &lt;action&gt;:&lt;header|querystring|path&gt;.&lt;location&gt;. The action can be append, overwrite or remove. For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
486
482
  */
487
- RequestParameters?: {
488
- [key: string]: string;
489
- };
483
+ RequestParameters?: Record<string, string>;
490
484
  /**
491
485
  * <p>Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. Supported only for WebSocket APIs.</p>
492
486
  */
493
- RequestTemplates?: {
494
- [key: string]: string;
495
- };
487
+ RequestTemplates?: Record<string, string>;
496
488
  /**
497
489
  * <p>Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match pattern &lt;action&gt;:&lt;header&gt;.&lt;location&gt; or overwrite.statuscode. The action can be append, overwrite or remove. The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
498
490
  */
499
- ResponseParameters?: {
500
- [key: string]: {
501
- [key: string]: string;
502
- };
503
- };
491
+ ResponseParameters?: Record<string, Record<string, string>>;
504
492
  /**
505
493
  * <p>The template selection expression for the integration. Supported only for WebSocket APIs.</p>
506
494
  */
@@ -539,15 +527,11 @@ export interface IntegrationResponse {
539
527
  /**
540
528
  * <p>A key-value map specifying response parameters that are passed to the method response from the backend. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.</p>
541
529
  */
542
- ResponseParameters?: {
543
- [key: string]: string;
544
- };
530
+ ResponseParameters?: Record<string, string>;
545
531
  /**
546
532
  * <p>The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.</p>
547
533
  */
548
- ResponseTemplates?: {
549
- [key: string]: string;
550
- };
534
+ ResponseTemplates?: Record<string, string>;
551
535
  /**
552
536
  * <p>The template selection expressions for the integration response.</p>
553
537
  */
@@ -646,15 +630,11 @@ export interface Route {
646
630
  /**
647
631
  * <p>The request models for the route. Supported only for WebSocket APIs.</p>
648
632
  */
649
- RequestModels?: {
650
- [key: string]: string;
651
- };
633
+ RequestModels?: Record<string, string>;
652
634
  /**
653
635
  * <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
654
636
  */
655
- RequestParameters?: {
656
- [key: string]: ParameterConstraints;
657
- };
637
+ RequestParameters?: Record<string, ParameterConstraints>;
658
638
  /**
659
639
  * <p>The route ID.</p>
660
640
  */
@@ -689,15 +669,11 @@ export interface RouteResponse {
689
669
  /**
690
670
  * <p>Represents the response models of a route response.</p>
691
671
  */
692
- ResponseModels?: {
693
- [key: string]: string;
694
- };
672
+ ResponseModels?: Record<string, string>;
695
673
  /**
696
674
  * <p>Represents the response parameters of a route response.</p>
697
675
  */
698
- ResponseParameters?: {
699
- [key: string]: ParameterConstraints;
700
- };
676
+ ResponseParameters?: Record<string, ParameterConstraints>;
701
677
  /**
702
678
  * <p>Represents the identifier of a route response.</p>
703
679
  */
@@ -815,9 +791,7 @@ export interface Stage {
815
791
  /**
816
792
  * <p>Route settings for the stage, by routeKey.</p>
817
793
  */
818
- RouteSettings?: {
819
- [key: string]: RouteSettings;
820
- };
794
+ RouteSettings?: Record<string, RouteSettings>;
821
795
  /**
822
796
  * <p>The name of the stage.</p>
823
797
  */
@@ -825,15 +799,11 @@ export interface Stage {
825
799
  /**
826
800
  * <p>A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&amp;=,]+.</p>
827
801
  */
828
- StageVariables?: {
829
- [key: string]: string;
830
- };
802
+ StageVariables?: Record<string, string>;
831
803
  /**
832
804
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
833
805
  */
834
- Tags?: {
835
- [key: string]: string;
836
- };
806
+ Tags?: Record<string, string>;
837
807
  }
838
808
  export declare namespace Stage {
839
809
  /**
@@ -874,9 +844,7 @@ export interface VpcLink {
874
844
  /**
875
845
  * <p>Tags for the VPC link.</p>
876
846
  */
877
- Tags?: {
878
- [key: string]: string;
879
- };
847
+ Tags?: Record<string, string>;
880
848
  /**
881
849
  * <p>The ID of the VPC link.</p>
882
850
  */
@@ -986,9 +954,7 @@ export interface CreateApiRequest {
986
954
  /**
987
955
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
988
956
  */
989
- Tags?: {
990
- [key: string]: string;
991
- };
957
+ Tags?: Record<string, string>;
992
958
  /**
993
959
  * <p>This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs.</p>
994
960
  */
@@ -1060,9 +1026,7 @@ export interface CreateApiResponse {
1060
1026
  /**
1061
1027
  * <p>A collection of tags associated with the API.</p>
1062
1028
  */
1063
- Tags?: {
1064
- [key: string]: string;
1065
- };
1029
+ Tags?: Record<string, string>;
1066
1030
  /**
1067
1031
  * <p>A version identifier for the API.</p>
1068
1032
  */
@@ -1366,9 +1330,7 @@ export interface CreateDomainNameRequest {
1366
1330
  /**
1367
1331
  * <p>The collection of tags associated with a domain name.</p>
1368
1332
  */
1369
- Tags?: {
1370
- [key: string]: string;
1371
- };
1333
+ Tags?: Record<string, string>;
1372
1334
  }
1373
1335
  export declare namespace CreateDomainNameRequest {
1374
1336
  /**
@@ -1396,9 +1358,7 @@ export interface CreateDomainNameResponse {
1396
1358
  /**
1397
1359
  * <p>The collection of tags associated with a domain name.</p>
1398
1360
  */
1399
- Tags?: {
1400
- [key: string]: string;
1401
- };
1361
+ Tags?: Record<string, string>;
1402
1362
  }
1403
1363
  export declare namespace CreateDomainNameResponse {
1404
1364
  /**
@@ -1481,23 +1441,15 @@ export interface CreateIntegrationRequest {
1481
1441
  * <replaceable>{name}</replaceable>
1482
1442
  * must be a valid and unique method request parameter name.</p> <p>For HTTP API integrations with a specified integrationSubtype, request parameters are a key-value map specifying parameters that are passed to AWS_PROXY integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html">Working with AWS service integrations for HTTP APIs</a>.</p> <p>For HTTP API integrations without a specified integrationSubtype request parameters are a key-value map specifying how to transform HTTP requests before sending them to the backend. The key should follow the pattern &lt;action&gt;:&lt;header|querystring|path&gt;.&lt;location&gt; where action can be append, overwrite or remove. For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
1483
1443
  */
1484
- RequestParameters?: {
1485
- [key: string]: string;
1486
- };
1444
+ RequestParameters?: Record<string, string>;
1487
1445
  /**
1488
1446
  * <p>Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. Supported only for WebSocket APIs.</p>
1489
1447
  */
1490
- RequestTemplates?: {
1491
- [key: string]: string;
1492
- };
1448
+ RequestTemplates?: Record<string, string>;
1493
1449
  /**
1494
1450
  * <p>Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match pattern &lt;action&gt;:&lt;header&gt;.&lt;location&gt; or overwrite.statuscode. The action can be append, overwrite or remove. The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
1495
1451
  */
1496
- ResponseParameters?: {
1497
- [key: string]: {
1498
- [key: string]: string;
1499
- };
1500
- };
1452
+ ResponseParameters?: Record<string, Record<string, string>>;
1501
1453
  /**
1502
1454
  * <p>The template selection expression for the integration.</p>
1503
1455
  */
@@ -1582,23 +1534,15 @@ export interface CreateIntegrationResult {
1582
1534
  * <replaceable>{name}</replaceable>
1583
1535
  * must be a valid and unique method request parameter name.</p> <p>For HTTP API integrations with a specified integrationSubtype, request parameters are a key-value map specifying parameters that are passed to AWS_PROXY integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html">Working with AWS service integrations for HTTP APIs</a>.</p> <p>For HTTP API itegrations, without a specified integrationSubtype request parameters are a key-value map specifying how to transform HTTP requests before sending them to backend integrations. The key should follow the pattern &lt;action&gt;:&lt;header|querystring|path&gt;.&lt;location&gt;. The action can be append, overwrite or remove. For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
1584
1536
  */
1585
- RequestParameters?: {
1586
- [key: string]: string;
1587
- };
1537
+ RequestParameters?: Record<string, string>;
1588
1538
  /**
1589
1539
  * <p>Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. Supported only for WebSocket APIs.</p>
1590
1540
  */
1591
- RequestTemplates?: {
1592
- [key: string]: string;
1593
- };
1541
+ RequestTemplates?: Record<string, string>;
1594
1542
  /**
1595
1543
  * <p>Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match pattern &lt;action&gt;:&lt;header&gt;.&lt;location&gt; or overwrite.statuscode. The action can be append, overwrite or remove. The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
1596
1544
  */
1597
- ResponseParameters?: {
1598
- [key: string]: {
1599
- [key: string]: string;
1600
- };
1601
- };
1545
+ ResponseParameters?: Record<string, Record<string, string>>;
1602
1546
  /**
1603
1547
  * <p>The template selection expression for the integration. Supported only for WebSocket APIs.</p>
1604
1548
  */
@@ -1641,15 +1585,11 @@ export interface CreateIntegrationResponseRequest {
1641
1585
  /**
1642
1586
  * <p>A key-value map specifying response parameters that are passed to the method response from the backend. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where {name} is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where {name} is a valid and unique response header name and {JSON-expression} is a valid JSON expression without the $ prefix.</p>
1643
1587
  */
1644
- ResponseParameters?: {
1645
- [key: string]: string;
1646
- };
1588
+ ResponseParameters?: Record<string, string>;
1647
1589
  /**
1648
1590
  * <p>The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.</p>
1649
1591
  */
1650
- ResponseTemplates?: {
1651
- [key: string]: string;
1652
- };
1592
+ ResponseTemplates?: Record<string, string>;
1653
1593
  /**
1654
1594
  * <p>The template selection expression for the integration response. Supported only for WebSocket APIs.</p>
1655
1595
  */
@@ -1677,15 +1617,11 @@ export interface CreateIntegrationResponseResponse {
1677
1617
  /**
1678
1618
  * <p>A key-value map specifying response parameters that are passed to the method response from the backend. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.</p>
1679
1619
  */
1680
- ResponseParameters?: {
1681
- [key: string]: string;
1682
- };
1620
+ ResponseParameters?: Record<string, string>;
1683
1621
  /**
1684
1622
  * <p>The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.</p>
1685
1623
  */
1686
- ResponseTemplates?: {
1687
- [key: string]: string;
1688
- };
1624
+ ResponseTemplates?: Record<string, string>;
1689
1625
  /**
1690
1626
  * <p>The template selection expressions for the integration response.</p>
1691
1627
  */
@@ -1791,15 +1727,11 @@ export interface CreateRouteRequest {
1791
1727
  /**
1792
1728
  * <p>The request models for the route. Supported only for WebSocket APIs.</p>
1793
1729
  */
1794
- RequestModels?: {
1795
- [key: string]: string;
1796
- };
1730
+ RequestModels?: Record<string, string>;
1797
1731
  /**
1798
1732
  * <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
1799
1733
  */
1800
- RequestParameters?: {
1801
- [key: string]: ParameterConstraints;
1802
- };
1734
+ RequestParameters?: Record<string, ParameterConstraints>;
1803
1735
  /**
1804
1736
  * <p>The route key for the route.</p>
1805
1737
  */
@@ -1851,15 +1783,11 @@ export interface CreateRouteResult {
1851
1783
  /**
1852
1784
  * <p>The request models for the route. Supported only for WebSocket APIs.</p>
1853
1785
  */
1854
- RequestModels?: {
1855
- [key: string]: string;
1856
- };
1786
+ RequestModels?: Record<string, string>;
1857
1787
  /**
1858
1788
  * <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
1859
1789
  */
1860
- RequestParameters?: {
1861
- [key: string]: ParameterConstraints;
1862
- };
1790
+ RequestParameters?: Record<string, ParameterConstraints>;
1863
1791
  /**
1864
1792
  * <p>The route ID.</p>
1865
1793
  */
@@ -1898,15 +1826,11 @@ export interface CreateRouteResponseRequest {
1898
1826
  /**
1899
1827
  * <p>The response models for the route response.</p>
1900
1828
  */
1901
- ResponseModels?: {
1902
- [key: string]: string;
1903
- };
1829
+ ResponseModels?: Record<string, string>;
1904
1830
  /**
1905
1831
  * <p>The route response parameters.</p>
1906
1832
  */
1907
- ResponseParameters?: {
1908
- [key: string]: ParameterConstraints;
1909
- };
1833
+ ResponseParameters?: Record<string, ParameterConstraints>;
1910
1834
  /**
1911
1835
  * <p>The route ID.</p>
1912
1836
  */
@@ -1930,15 +1854,11 @@ export interface CreateRouteResponseResponse {
1930
1854
  /**
1931
1855
  * <p>Represents the response models of a route response.</p>
1932
1856
  */
1933
- ResponseModels?: {
1934
- [key: string]: string;
1935
- };
1857
+ ResponseModels?: Record<string, string>;
1936
1858
  /**
1937
1859
  * <p>Represents the response parameters of a route response.</p>
1938
1860
  */
1939
- ResponseParameters?: {
1940
- [key: string]: ParameterConstraints;
1941
- };
1861
+ ResponseParameters?: Record<string, ParameterConstraints>;
1942
1862
  /**
1943
1863
  * <p>Represents the identifier of a route response.</p>
1944
1864
  */
@@ -1989,9 +1909,7 @@ export interface CreateStageRequest {
1989
1909
  /**
1990
1910
  * <p>Route settings for the stage, by routeKey.</p>
1991
1911
  */
1992
- RouteSettings?: {
1993
- [key: string]: RouteSettings;
1994
- };
1912
+ RouteSettings?: Record<string, RouteSettings>;
1995
1913
  /**
1996
1914
  * <p>The name of the stage.</p>
1997
1915
  */
@@ -1999,15 +1917,11 @@ export interface CreateStageRequest {
1999
1917
  /**
2000
1918
  * <p>A map that defines the stage variables for a Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&amp;=,]+.</p>
2001
1919
  */
2002
- StageVariables?: {
2003
- [key: string]: string;
2004
- };
1920
+ StageVariables?: Record<string, string>;
2005
1921
  /**
2006
1922
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
2007
1923
  */
2008
- Tags?: {
2009
- [key: string]: string;
2010
- };
1924
+ Tags?: Record<string, string>;
2011
1925
  }
2012
1926
  export declare namespace CreateStageRequest {
2013
1927
  /**
@@ -2059,9 +1973,7 @@ export interface CreateStageResponse {
2059
1973
  /**
2060
1974
  * <p>Route settings for the stage, by routeKey.</p>
2061
1975
  */
2062
- RouteSettings?: {
2063
- [key: string]: RouteSettings;
2064
- };
1976
+ RouteSettings?: Record<string, RouteSettings>;
2065
1977
  /**
2066
1978
  * <p>The name of the stage.</p>
2067
1979
  */
@@ -2069,15 +1981,11 @@ export interface CreateStageResponse {
2069
1981
  /**
2070
1982
  * <p>A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&amp;=,]+.</p>
2071
1983
  */
2072
- StageVariables?: {
2073
- [key: string]: string;
2074
- };
1984
+ StageVariables?: Record<string, string>;
2075
1985
  /**
2076
1986
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
2077
1987
  */
2078
- Tags?: {
2079
- [key: string]: string;
2080
- };
1988
+ Tags?: Record<string, string>;
2081
1989
  }
2082
1990
  export declare namespace CreateStageResponse {
2083
1991
  /**
@@ -2104,9 +2012,7 @@ export interface CreateVpcLinkRequest {
2104
2012
  /**
2105
2013
  * <p>A list of tags.</p>
2106
2014
  */
2107
- Tags?: {
2108
- [key: string]: string;
2109
- };
2015
+ Tags?: Record<string, string>;
2110
2016
  }
2111
2017
  export declare namespace CreateVpcLinkRequest {
2112
2018
  /**
@@ -2134,9 +2040,7 @@ export interface CreateVpcLinkResponse {
2134
2040
  /**
2135
2041
  * <p>Tags for the VPC link.</p>
2136
2042
  */
2137
- Tags?: {
2138
- [key: string]: string;
2139
- };
2043
+ Tags?: Record<string, string>;
2140
2044
  /**
2141
2045
  * <p>The ID of the VPC link.</p>
2142
2046
  */
@@ -2536,9 +2440,7 @@ export interface GetApiResponse {
2536
2440
  /**
2537
2441
  * <p>A collection of tags associated with the API.</p>
2538
2442
  */
2539
- Tags?: {
2540
- [key: string]: string;
2541
- };
2443
+ Tags?: Record<string, string>;
2542
2444
  /**
2543
2445
  * <p>A version identifier for the API.</p>
2544
2446
  */
@@ -2883,9 +2785,7 @@ export interface GetDomainNameResponse {
2883
2785
  /**
2884
2786
  * <p>The collection of tags associated with a domain name.</p>
2885
2787
  */
2886
- Tags?: {
2887
- [key: string]: string;
2888
- };
2788
+ Tags?: Record<string, string>;
2889
2789
  }
2890
2790
  export declare namespace GetDomainNameResponse {
2891
2791
  /**
@@ -3006,23 +2906,15 @@ export interface GetIntegrationResult {
3006
2906
  * <replaceable>{name}</replaceable>
3007
2907
  * must be a valid and unique method request parameter name.</p> <p>For HTTP API integrations with a specified integrationSubtype, request parameters are a key-value map specifying parameters that are passed to AWS_PROXY integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html">Working with AWS service integrations for HTTP APIs</a>.</p> <p>For HTTP API itegrations, without a specified integrationSubtype request parameters are a key-value map specifying how to transform HTTP requests before sending them to backend integrations. The key should follow the pattern &lt;action&gt;:&lt;header|querystring|path&gt;.&lt;location&gt;. The action can be append, overwrite or remove. For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
3008
2908
  */
3009
- RequestParameters?: {
3010
- [key: string]: string;
3011
- };
2909
+ RequestParameters?: Record<string, string>;
3012
2910
  /**
3013
2911
  * <p>Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. Supported only for WebSocket APIs.</p>
3014
2912
  */
3015
- RequestTemplates?: {
3016
- [key: string]: string;
3017
- };
2913
+ RequestTemplates?: Record<string, string>;
3018
2914
  /**
3019
2915
  * <p>Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match pattern &lt;action&gt;:&lt;header&gt;.&lt;location&gt; or overwrite.statuscode. The action can be append, overwrite or remove. The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
3020
2916
  */
3021
- ResponseParameters?: {
3022
- [key: string]: {
3023
- [key: string]: string;
3024
- };
3025
- };
2917
+ ResponseParameters?: Record<string, Record<string, string>>;
3026
2918
  /**
3027
2919
  * <p>The template selection expression for the integration. Supported only for WebSocket APIs.</p>
3028
2920
  */
@@ -3078,15 +2970,11 @@ export interface GetIntegrationResponseResponse {
3078
2970
  /**
3079
2971
  * <p>A key-value map specifying response parameters that are passed to the method response from the backend. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.</p>
3080
2972
  */
3081
- ResponseParameters?: {
3082
- [key: string]: string;
3083
- };
2973
+ ResponseParameters?: Record<string, string>;
3084
2974
  /**
3085
2975
  * <p>The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.</p>
3086
2976
  */
3087
- ResponseTemplates?: {
3088
- [key: string]: string;
3089
- };
2977
+ ResponseTemplates?: Record<string, string>;
3090
2978
  /**
3091
2979
  * <p>The template selection expressions for the integration response.</p>
3092
2980
  */
@@ -3330,15 +3218,11 @@ export interface GetRouteResult {
3330
3218
  /**
3331
3219
  * <p>The request models for the route. Supported only for WebSocket APIs.</p>
3332
3220
  */
3333
- RequestModels?: {
3334
- [key: string]: string;
3335
- };
3221
+ RequestModels?: Record<string, string>;
3336
3222
  /**
3337
3223
  * <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
3338
3224
  */
3339
- RequestParameters?: {
3340
- [key: string]: ParameterConstraints;
3341
- };
3225
+ RequestParameters?: Record<string, ParameterConstraints>;
3342
3226
  /**
3343
3227
  * <p>The route ID.</p>
3344
3228
  */
@@ -3390,15 +3274,11 @@ export interface GetRouteResponseResponse {
3390
3274
  /**
3391
3275
  * <p>Represents the response models of a route response.</p>
3392
3276
  */
3393
- ResponseModels?: {
3394
- [key: string]: string;
3395
- };
3277
+ ResponseModels?: Record<string, string>;
3396
3278
  /**
3397
3279
  * <p>Represents the response parameters of a route response.</p>
3398
3280
  */
3399
- ResponseParameters?: {
3400
- [key: string]: ParameterConstraints;
3401
- };
3281
+ ResponseParameters?: Record<string, ParameterConstraints>;
3402
3282
  /**
3403
3283
  * <p>Represents the identifier of a route response.</p>
3404
3284
  */
@@ -3550,9 +3430,7 @@ export interface GetStageResponse {
3550
3430
  /**
3551
3431
  * <p>Route settings for the stage, by routeKey.</p>
3552
3432
  */
3553
- RouteSettings?: {
3554
- [key: string]: RouteSettings;
3555
- };
3433
+ RouteSettings?: Record<string, RouteSettings>;
3556
3434
  /**
3557
3435
  * <p>The name of the stage.</p>
3558
3436
  */
@@ -3560,15 +3438,11 @@ export interface GetStageResponse {
3560
3438
  /**
3561
3439
  * <p>A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&amp;=,]+.</p>
3562
3440
  */
3563
- StageVariables?: {
3564
- [key: string]: string;
3565
- };
3441
+ StageVariables?: Record<string, string>;
3566
3442
  /**
3567
3443
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
3568
3444
  */
3569
- Tags?: {
3570
- [key: string]: string;
3571
- };
3445
+ Tags?: Record<string, string>;
3572
3446
  }
3573
3447
  export declare namespace GetStageResponse {
3574
3448
  /**
@@ -3628,9 +3502,7 @@ export interface GetTagsResponse {
3628
3502
  /**
3629
3503
  * <p>Represents a collection of tags associated with the resource.</p>
3630
3504
  */
3631
- Tags?: {
3632
- [key: string]: string;
3633
- };
3505
+ Tags?: Record<string, string>;
3634
3506
  }
3635
3507
  export declare namespace GetTagsResponse {
3636
3508
  /**
@@ -3670,9 +3542,7 @@ export interface GetVpcLinkResponse {
3670
3542
  /**
3671
3543
  * <p>Tags for the VPC link.</p>
3672
3544
  */
3673
- Tags?: {
3674
- [key: string]: string;
3675
- };
3545
+ Tags?: Record<string, string>;
3676
3546
  /**
3677
3547
  * <p>The ID of the VPC link.</p>
3678
3548
  */
@@ -3807,9 +3677,7 @@ export interface ImportApiResponse {
3807
3677
  /**
3808
3678
  * <p>A collection of tags associated with the API.</p>
3809
3679
  */
3810
- Tags?: {
3811
- [key: string]: string;
3812
- };
3680
+ Tags?: Record<string, string>;
3813
3681
  /**
3814
3682
  * <p>A version identifier for the API.</p>
3815
3683
  */
@@ -3908,9 +3776,7 @@ export interface ReimportApiResponse {
3908
3776
  /**
3909
3777
  * <p>A collection of tags associated with the API.</p>
3910
3778
  */
3911
- Tags?: {
3912
- [key: string]: string;
3913
- };
3779
+ Tags?: Record<string, string>;
3914
3780
  /**
3915
3781
  * <p>A version identifier for the API.</p>
3916
3782
  */
@@ -3953,9 +3819,7 @@ export interface TagResourceRequest {
3953
3819
  /**
3954
3820
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
3955
3821
  */
3956
- Tags?: {
3957
- [key: string]: string;
3958
- };
3822
+ Tags?: Record<string, string>;
3959
3823
  }
3960
3824
  export declare namespace TagResourceRequest {
3961
3825
  /**
@@ -4102,9 +3966,7 @@ export interface UpdateApiResponse {
4102
3966
  /**
4103
3967
  * <p>A collection of tags associated with the API.</p>
4104
3968
  */
4105
- Tags?: {
4106
- [key: string]: string;
4107
- };
3969
+ Tags?: Record<string, string>;
4108
3970
  /**
4109
3971
  * <p>A version identifier for the API.</p>
4110
3972
  */
@@ -4386,9 +4248,7 @@ export interface UpdateDomainNameResponse {
4386
4248
  /**
4387
4249
  * <p>The collection of tags associated with a domain name.</p>
4388
4250
  */
4389
- Tags?: {
4390
- [key: string]: string;
4391
- };
4251
+ Tags?: Record<string, string>;
4392
4252
  }
4393
4253
  export declare namespace UpdateDomainNameResponse {
4394
4254
  /**
@@ -4460,23 +4320,15 @@ export interface UpdateIntegrationRequest {
4460
4320
  * <replaceable>{name}</replaceable>
4461
4321
  * must be a valid and unique method request parameter name.</p> <p>For HTTP API integrations with a specified integrationSubtype, request parameters are a key-value map specifying parameters that are passed to AWS_PROXY integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html">Working with AWS service integrations for HTTP APIs</a>.</p> <p>For HTTP API integrations, without a specified integrationSubtype request parameters are a key-value map specifying how to transform HTTP requests before sending them to the backend. The key should follow the pattern &lt;action&gt;:&lt;header|querystring|path&gt;.&lt;location&gt; where action can be append, overwrite or remove. For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.">Transforming API requests and responses</a>.</p>
4462
4322
  */
4463
- RequestParameters?: {
4464
- [key: string]: string;
4465
- };
4323
+ RequestParameters?: Record<string, string>;
4466
4324
  /**
4467
4325
  * <p>Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. Supported only for WebSocket APIs.</p>
4468
4326
  */
4469
- RequestTemplates?: {
4470
- [key: string]: string;
4471
- };
4327
+ RequestTemplates?: Record<string, string>;
4472
4328
  /**
4473
4329
  * <p>Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match pattern &lt;action&gt;:&lt;header&gt;.&lt;location&gt; or overwrite.statuscode. The action can be append, overwrite or remove. The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
4474
4330
  */
4475
- ResponseParameters?: {
4476
- [key: string]: {
4477
- [key: string]: string;
4478
- };
4479
- };
4331
+ ResponseParameters?: Record<string, Record<string, string>>;
4480
4332
  /**
4481
4333
  * <p>The template selection expression for the integration.</p>
4482
4334
  */
@@ -4561,23 +4413,15 @@ export interface UpdateIntegrationResult {
4561
4413
  * <replaceable>{name}</replaceable>
4562
4414
  * must be a valid and unique method request parameter name.</p> <p>For HTTP API integrations with a specified integrationSubtype, request parameters are a key-value map specifying parameters that are passed to AWS_PROXY integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html">Working with AWS service integrations for HTTP APIs</a>.</p> <p>For HTTP API itegrations, without a specified integrationSubtype request parameters are a key-value map specifying how to transform HTTP requests before sending them to backend integrations. The key should follow the pattern &lt;action&gt;:&lt;header|querystring|path&gt;.&lt;location&gt;. The action can be append, overwrite or remove. For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
4563
4415
  */
4564
- RequestParameters?: {
4565
- [key: string]: string;
4566
- };
4416
+ RequestParameters?: Record<string, string>;
4567
4417
  /**
4568
4418
  * <p>Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. Supported only for WebSocket APIs.</p>
4569
4419
  */
4570
- RequestTemplates?: {
4571
- [key: string]: string;
4572
- };
4420
+ RequestTemplates?: Record<string, string>;
4573
4421
  /**
4574
4422
  * <p>Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match pattern &lt;action&gt;:&lt;header&gt;.&lt;location&gt; or overwrite.statuscode. The action can be append, overwrite or remove. The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html">Transforming API requests and responses</a>.</p>
4575
4423
  */
4576
- ResponseParameters?: {
4577
- [key: string]: {
4578
- [key: string]: string;
4579
- };
4580
- };
4424
+ ResponseParameters?: Record<string, Record<string, string>>;
4581
4425
  /**
4582
4426
  * <p>The template selection expression for the integration. Supported only for WebSocket APIs.</p>
4583
4427
  */
@@ -4631,15 +4475,11 @@ export interface UpdateIntegrationResponseRequest {
4631
4475
  * <replaceable>{JSON-expression}</replaceable>
4632
4476
  * is a valid JSON expression without the $ prefix.</p>
4633
4477
  */
4634
- ResponseParameters?: {
4635
- [key: string]: string;
4636
- };
4478
+ ResponseParameters?: Record<string, string>;
4637
4479
  /**
4638
4480
  * <p>The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.</p>
4639
4481
  */
4640
- ResponseTemplates?: {
4641
- [key: string]: string;
4642
- };
4482
+ ResponseTemplates?: Record<string, string>;
4643
4483
  /**
4644
4484
  * <p>The template selection expression for the integration response. Supported only for WebSocket APIs.</p>
4645
4485
  */
@@ -4667,15 +4507,11 @@ export interface UpdateIntegrationResponseResponse {
4667
4507
  /**
4668
4508
  * <p>A key-value map specifying response parameters that are passed to the method response from the backend. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.</p>
4669
4509
  */
4670
- ResponseParameters?: {
4671
- [key: string]: string;
4672
- };
4510
+ ResponseParameters?: Record<string, string>;
4673
4511
  /**
4674
4512
  * <p>The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.</p>
4675
4513
  */
4676
- ResponseTemplates?: {
4677
- [key: string]: string;
4678
- };
4514
+ ResponseTemplates?: Record<string, string>;
4679
4515
  /**
4680
4516
  * <p>The template selection expressions for the integration response.</p>
4681
4517
  */
@@ -4785,15 +4621,11 @@ export interface UpdateRouteRequest {
4785
4621
  /**
4786
4622
  * <p>The request models for the route. Supported only for WebSocket APIs.</p>
4787
4623
  */
4788
- RequestModels?: {
4789
- [key: string]: string;
4790
- };
4624
+ RequestModels?: Record<string, string>;
4791
4625
  /**
4792
4626
  * <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
4793
4627
  */
4794
- RequestParameters?: {
4795
- [key: string]: ParameterConstraints;
4796
- };
4628
+ RequestParameters?: Record<string, ParameterConstraints>;
4797
4629
  /**
4798
4630
  * <p>The route ID.</p>
4799
4631
  */
@@ -4849,15 +4681,11 @@ export interface UpdateRouteResult {
4849
4681
  /**
4850
4682
  * <p>The request models for the route. Supported only for WebSocket APIs.</p>
4851
4683
  */
4852
- RequestModels?: {
4853
- [key: string]: string;
4854
- };
4684
+ RequestModels?: Record<string, string>;
4855
4685
  /**
4856
4686
  * <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
4857
4687
  */
4858
- RequestParameters?: {
4859
- [key: string]: ParameterConstraints;
4860
- };
4688
+ RequestParameters?: Record<string, ParameterConstraints>;
4861
4689
  /**
4862
4690
  * <p>The route ID.</p>
4863
4691
  */
@@ -4896,15 +4724,11 @@ export interface UpdateRouteResponseRequest {
4896
4724
  /**
4897
4725
  * <p>The response models for the route response.</p>
4898
4726
  */
4899
- ResponseModels?: {
4900
- [key: string]: string;
4901
- };
4727
+ ResponseModels?: Record<string, string>;
4902
4728
  /**
4903
4729
  * <p>The route response parameters.</p>
4904
4730
  */
4905
- ResponseParameters?: {
4906
- [key: string]: ParameterConstraints;
4907
- };
4731
+ ResponseParameters?: Record<string, ParameterConstraints>;
4908
4732
  /**
4909
4733
  * <p>The route ID.</p>
4910
4734
  */
@@ -4932,15 +4756,11 @@ export interface UpdateRouteResponseResponse {
4932
4756
  /**
4933
4757
  * <p>Represents the response models of a route response.</p>
4934
4758
  */
4935
- ResponseModels?: {
4936
- [key: string]: string;
4937
- };
4759
+ ResponseModels?: Record<string, string>;
4938
4760
  /**
4939
4761
  * <p>Represents the response parameters of a route response.</p>
4940
4762
  */
4941
- ResponseParameters?: {
4942
- [key: string]: ParameterConstraints;
4943
- };
4763
+ ResponseParameters?: Record<string, ParameterConstraints>;
4944
4764
  /**
4945
4765
  * <p>Represents the identifier of a route response.</p>
4946
4766
  */
@@ -4991,9 +4811,7 @@ export interface UpdateStageRequest {
4991
4811
  /**
4992
4812
  * <p>Route settings for the stage.</p>
4993
4813
  */
4994
- RouteSettings?: {
4995
- [key: string]: RouteSettings;
4996
- };
4814
+ RouteSettings?: Record<string, RouteSettings>;
4997
4815
  /**
4998
4816
  * <p>The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.</p>
4999
4817
  */
@@ -5001,9 +4819,7 @@ export interface UpdateStageRequest {
5001
4819
  /**
5002
4820
  * <p>A map that defines the stage variables for a Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&amp;=,]+.</p>
5003
4821
  */
5004
- StageVariables?: {
5005
- [key: string]: string;
5006
- };
4822
+ StageVariables?: Record<string, string>;
5007
4823
  }
5008
4824
  export declare namespace UpdateStageRequest {
5009
4825
  /**
@@ -5055,9 +4871,7 @@ export interface UpdateStageResponse {
5055
4871
  /**
5056
4872
  * <p>Route settings for the stage, by routeKey.</p>
5057
4873
  */
5058
- RouteSettings?: {
5059
- [key: string]: RouteSettings;
5060
- };
4874
+ RouteSettings?: Record<string, RouteSettings>;
5061
4875
  /**
5062
4876
  * <p>The name of the stage.</p>
5063
4877
  */
@@ -5065,15 +4879,11 @@ export interface UpdateStageResponse {
5065
4879
  /**
5066
4880
  * <p>A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&amp;=,]+.</p>
5067
4881
  */
5068
- StageVariables?: {
5069
- [key: string]: string;
5070
- };
4882
+ StageVariables?: Record<string, string>;
5071
4883
  /**
5072
4884
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
5073
4885
  */
5074
- Tags?: {
5075
- [key: string]: string;
5076
- };
4886
+ Tags?: Record<string, string>;
5077
4887
  }
5078
4888
  export declare namespace UpdateStageResponse {
5079
4889
  /**
@@ -5120,9 +4930,7 @@ export interface UpdateVpcLinkResponse {
5120
4930
  /**
5121
4931
  * <p>Tags for the VPC link.</p>
5122
4932
  */
5123
- Tags?: {
5124
- [key: string]: string;
5125
- };
4933
+ Tags?: Record<string, string>;
5126
4934
  /**
5127
4935
  * <p>The ID of the VPC link.</p>
5128
4936
  */
@@ -52,9 +52,7 @@ export interface Api {
52
52
 
53
53
  RouteSelectionExpression: string | undefined;
54
54
 
55
- Tags?: {
56
- [key: string]: string;
57
- };
55
+ Tags?: Record<string, string>;
58
56
 
59
57
  Version?: string;
60
58
 
@@ -211,9 +209,7 @@ export interface DomainName {
211
209
 
212
210
  MutualTlsAuthentication?: MutualTlsAuthentication;
213
211
 
214
- Tags?: {
215
- [key: string]: string;
216
- };
212
+ Tags?: Record<string, string>;
217
213
  }
218
214
  export declare namespace DomainName {
219
215
 
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.95.0",
4
+ "version": "3.105.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,15 +18,16 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.95.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.95.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",
@@ -35,15 +36,15 @@
35
36
  "@aws-sdk/node-config-provider": "3.80.0",
36
37
  "@aws-sdk/node-http-handler": "3.94.0",
37
38
  "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.85.0",
39
+ "@aws-sdk/smithy-client": "3.99.0",
39
40
  "@aws-sdk/types": "3.78.0",
40
41
  "@aws-sdk/url-parser": "3.78.0",
41
42
  "@aws-sdk/util-base64-browser": "3.58.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.85.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.85.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.99.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
48
  "@aws-sdk/util-user-agent-browser": "3.78.0",
48
49
  "@aws-sdk/util-user-agent-node": "3.80.0",
49
50
  "@aws-sdk/util-utf8-browser": "3.55.0",