@aws-sdk/client-api-gateway 3.100.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,17 @@
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
+
6
17
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-api-gateway
@@ -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_sdk_api_gateway_1 = require("@aws-sdk/middleware-sdk-api-gateway");
10
11
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
@@ -27,6 +28,7 @@ class APIGatewayClient extends smithy_client_1.Client {
27
28
  this.middlewareStack.use((0, middleware_sdk_api_gateway_1.getAcceptHeaderPlugin)(this.config));
28
29
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
29
30
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
31
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
30
32
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
31
33
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
32
34
  }
@@ -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 { getAcceptHeaderPlugin } from "@aws-sdk/middleware-sdk-api-gateway";
8
9
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
@@ -27,6 +28,7 @@ var APIGatewayClient = (function (_super) {
27
28
  _this.middlewareStack.use(getAcceptHeaderPlugin(_this.config));
28
29
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
29
30
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
31
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
32
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
33
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
34
  return _this;
@@ -108,9 +108,7 @@ export interface ApiKey {
108
108
  /**
109
109
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
110
110
  */
111
- tags?: {
112
- [key: string]: string;
113
- };
111
+ tags?: Record<string, string>;
114
112
  }
115
113
  export declare namespace ApiKey {
116
114
  /**
@@ -182,9 +180,7 @@ export interface ApiStage {
182
180
  /**
183
181
  * <p>Map containing method level throttling information for API stage in a usage plan.</p>
184
182
  */
185
- throttle?: {
186
- [key: string]: ThrottleSettings;
187
- };
183
+ throttle?: Record<string, ThrottleSettings>;
188
184
  }
189
185
  export declare namespace ApiStage {
190
186
  /**
@@ -357,9 +353,7 @@ export interface CreateApiKeyRequest {
357
353
  /**
358
354
  * <p>The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with <code>aws:</code>. The tag value can be up to 256 characters.</p>
359
355
  */
360
- tags?: {
361
- [key: string]: string;
362
- };
356
+ tags?: Record<string, string>;
363
357
  }
364
358
  export declare namespace CreateApiKeyRequest {
365
359
  /**
@@ -551,9 +545,7 @@ export interface DeploymentCanarySettings {
551
545
  /**
552
546
  * <p>A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.</p>
553
547
  */
554
- stageVariableOverrides?: {
555
- [key: string]: string;
556
- };
548
+ stageVariableOverrides?: Record<string, string>;
557
549
  /**
558
550
  * <p>A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.</p>
559
551
  */
@@ -598,9 +590,7 @@ export interface CreateDeploymentRequest {
598
590
  * with the new deployment. Variable names can have alphanumeric and underscore characters, and the values
599
591
  * must match <code>[A-Za-z0-9-._~:/?#&=,]+</code>.</p>
600
592
  */
601
- variables?: {
602
- [key: string]: string;
603
- };
593
+ variables?: Record<string, string>;
604
594
  /**
605
595
  * <p>The input configuration for the canary deployment when the deployment is a canary release deployment. </p>
606
596
  */
@@ -654,11 +644,7 @@ export interface Deployment {
654
644
  /**
655
645
  * <p>A summary of the RestApi at the date and time that the deployment resource was created.</p>
656
646
  */
657
- apiSummary?: {
658
- [key: string]: {
659
- [key: string]: MethodSnapshot;
660
- };
661
- };
647
+ apiSummary?: Record<string, Record<string, MethodSnapshot>>;
662
648
  }
663
649
  export declare namespace Deployment {
664
650
  /**
@@ -908,9 +894,7 @@ export interface CreateDomainNameRequest {
908
894
  /**
909
895
  * <p>The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with <code>aws:</code>. The tag value can be up to 256 characters.</p>
910
896
  */
911
- tags?: {
912
- [key: string]: string;
913
- };
897
+ tags?: Record<string, string>;
914
898
  /**
915
899
  * <p>The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are <code>TLS_1_0</code> and <code>TLS_1_2</code>.</p>
916
900
  */
@@ -1036,9 +1020,7 @@ export interface DomainName {
1036
1020
  /**
1037
1021
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
1038
1022
  */
1039
- tags?: {
1040
- [key: string]: string;
1041
- };
1023
+ tags?: Record<string, string>;
1042
1024
  /**
1043
1025
  * <p>The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway
1044
1026
  * performs two-way authentication between the client and the server. Clients must present a
@@ -1221,15 +1203,11 @@ export interface IntegrationResponse {
1221
1203
  * <p>A key-value map specifying response parameters that are passed to the method response from the back end.
1222
1204
  * 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 <code>method.response.header.{name}</code>, where <code>name</code> is a valid and unique header name. The mapped non-static value must match the pattern of <code>integration.response.header.{name}</code> or <code>integration.response.body.{JSON-expression}</code>, where <code>name</code> is a valid and unique response header name and <code>JSON-expression</code> is a valid JSON expression without the <code>$</code> prefix.</p>
1223
1205
  */
1224
- responseParameters?: {
1225
- [key: string]: string;
1226
- };
1206
+ responseParameters?: Record<string, string>;
1227
1207
  /**
1228
1208
  * <p>Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.</p>
1229
1209
  */
1230
- responseTemplates?: {
1231
- [key: string]: string;
1232
- };
1210
+ responseTemplates?: Record<string, string>;
1233
1211
  /**
1234
1212
  * <p>Specifies how to handle response payload content type conversions. Supported values are <code>CONVERT_TO_BINARY</code> and <code>CONVERT_TO_TEXT</code>, with the following behaviors:</p>
1235
1213
  *
@@ -1320,15 +1298,11 @@ export interface Integration {
1320
1298
  /**
1321
1299
  * <p>A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of <code>method.request.{location}.{name}</code>, where <code>location</code> is <code>querystring</code>, <code>path</code>, or <code>header</code> and <code>name</code> must be a valid and unique method request parameter name.</p>
1322
1300
  */
1323
- requestParameters?: {
1324
- [key: string]: string;
1325
- };
1301
+ requestParameters?: Record<string, string>;
1326
1302
  /**
1327
1303
  * <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.</p>
1328
1304
  */
1329
- requestTemplates?: {
1330
- [key: string]: string;
1331
- };
1305
+ requestTemplates?: Record<string, string>;
1332
1306
  /**
1333
1307
  * <p>Specifies how the method request body of an unmapped content type will be passed through
1334
1308
  * the integration request to the back end without transformation. A content type is unmapped if
@@ -1368,9 +1342,7 @@ export interface Integration {
1368
1342
  /**
1369
1343
  * <p>Specifies the integration's responses.</p>
1370
1344
  */
1371
- integrationResponses?: {
1372
- [key: string]: IntegrationResponse;
1373
- };
1345
+ integrationResponses?: Record<string, IntegrationResponse>;
1374
1346
  /**
1375
1347
  * <p>Specifies the TLS configuration for an integration.</p>
1376
1348
  */
@@ -1393,15 +1365,11 @@ export interface MethodResponse {
1393
1365
  /**
1394
1366
  * <p>A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern <code>method.response.header.{name}</code>, where <code>name</code> is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in <code>integration.response.header.{name}</code>, a static value enclosed within a pair of single quotes (e.g., <code>'application/json'</code>), or a JSON expression from the back-end response payload in the form of <code>integration.response.body.{JSON-expression}</code>, where <code>JSON-expression</code> is a valid JSON expression without the <code>$</code> prefix.)</p>
1395
1367
  */
1396
- responseParameters?: {
1397
- [key: string]: boolean;
1398
- };
1368
+ responseParameters?: Record<string, boolean>;
1399
1369
  /**
1400
1370
  * <p>Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.</p>
1401
1371
  */
1402
- responseModels?: {
1403
- [key: string]: string;
1404
- };
1372
+ responseModels?: Record<string, string>;
1405
1373
  }
1406
1374
  export declare namespace MethodResponse {
1407
1375
  /**
@@ -1447,21 +1415,15 @@ export interface Method {
1447
1415
  /**
1448
1416
  * <p>A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of <code>method.request.{location}.{name}</code>, where <code>location</code> is <code>querystring</code>, <code>path</code>, or <code>header</code> and <code>name</code> is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (<code>true</code>) or optional (<code>false</code>). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.</p>
1449
1417
  */
1450
- requestParameters?: {
1451
- [key: string]: boolean;
1452
- };
1418
+ requestParameters?: Record<string, boolean>;
1453
1419
  /**
1454
1420
  * <p>A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).</p>
1455
1421
  */
1456
- requestModels?: {
1457
- [key: string]: string;
1458
- };
1422
+ requestModels?: Record<string, string>;
1459
1423
  /**
1460
1424
  * <p>Gets a method response associated with a given HTTP status code. </p>
1461
1425
  */
1462
- methodResponses?: {
1463
- [key: string]: MethodResponse;
1464
- };
1426
+ methodResponses?: Record<string, MethodResponse>;
1465
1427
  /**
1466
1428
  * <p>Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.</p>
1467
1429
  */
@@ -1500,9 +1462,7 @@ export interface Resource {
1500
1462
  /**
1501
1463
  * <p>Gets an API resource's method of a given HTTP verb.</p>
1502
1464
  */
1503
- resourceMethods?: {
1504
- [key: string]: Method;
1505
- };
1465
+ resourceMethods?: Record<string, Method>;
1506
1466
  }
1507
1467
  export declare namespace Resource {
1508
1468
  /**
@@ -1556,9 +1516,7 @@ export interface CreateRestApiRequest {
1556
1516
  /**
1557
1517
  * <p>The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with <code>aws:</code>. The tag value can be up to 256 characters.</p>
1558
1518
  */
1559
- tags?: {
1560
- [key: string]: string;
1561
- };
1519
+ tags?: Record<string, string>;
1562
1520
  /**
1563
1521
  * <p>Specifies whether clients can invoke your API by using the default <code>execute-api</code> endpoint.
1564
1522
  * By default, clients can invoke your API with the default
@@ -1627,9 +1585,7 @@ export interface RestApi {
1627
1585
  /**
1628
1586
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
1629
1587
  */
1630
- tags?: {
1631
- [key: string]: string;
1632
- };
1588
+ tags?: Record<string, string>;
1633
1589
  /**
1634
1590
  * <p>Specifies whether clients can invoke your API by using the default <code>execute-api</code> endpoint.
1635
1591
  * By default, clients can invoke your API with the default
@@ -1659,9 +1615,7 @@ export interface CanarySettings {
1659
1615
  /**
1660
1616
  * <p>Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.</p>
1661
1617
  */
1662
- stageVariableOverrides?: {
1663
- [key: string]: string;
1664
- };
1618
+ stageVariableOverrides?: Record<string, string>;
1665
1619
  /**
1666
1620
  * <p>A Boolean flag to indicate whether the canary deployment uses the stage cache or not.</p>
1667
1621
  */
@@ -1706,9 +1660,7 @@ export interface CreateStageRequest {
1706
1660
  * can have alphanumeric and underscore characters, and the values must match
1707
1661
  * <code>[A-Za-z0-9-._~:/?#&=,]+</code>.</p>
1708
1662
  */
1709
- variables?: {
1710
- [key: string]: string;
1711
- };
1663
+ variables?: Record<string, string>;
1712
1664
  /**
1713
1665
  * <p>The version of the associated API documentation.</p>
1714
1666
  */
@@ -1724,9 +1676,7 @@ export interface CreateStageRequest {
1724
1676
  /**
1725
1677
  * <p>The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with <code>aws:</code>. The tag value can be up to 256 characters.</p>
1726
1678
  */
1727
- tags?: {
1728
- [key: string]: string;
1729
- };
1679
+ tags?: Record<string, string>;
1730
1680
  }
1731
1681
  export declare namespace CreateStageRequest {
1732
1682
  /**
@@ -1832,16 +1782,12 @@ export interface Stage {
1832
1782
  /**
1833
1783
  * <p>A map that defines the method settings for a Stage resource. Keys (designated as <code>/{method_setting_key</code> below) are method paths defined as <code>{resource_path}/{http_method}</code> for an individual method override, or <code>/\*\/\*</code> for overriding all methods in the stage. </p>
1834
1784
  */
1835
- methodSettings?: {
1836
- [key: string]: MethodSetting;
1837
- };
1785
+ methodSettings?: Record<string, MethodSetting>;
1838
1786
  /**
1839
1787
  * <p>A map that defines the stage variables for a Stage resource. Variable names can
1840
1788
  * have alphanumeric and underscore characters, and the values must match <code>[A-Za-z0-9-._~:/?#&=,]+</code>.</p>
1841
1789
  */
1842
- variables?: {
1843
- [key: string]: string;
1844
- };
1790
+ variables?: Record<string, string>;
1845
1791
  /**
1846
1792
  * <p>The version of the associated API documentation.</p>
1847
1793
  */
@@ -1865,9 +1811,7 @@ export interface Stage {
1865
1811
  /**
1866
1812
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
1867
1813
  */
1868
- tags?: {
1869
- [key: string]: string;
1870
- };
1814
+ tags?: Record<string, string>;
1871
1815
  /**
1872
1816
  * <p>The timestamp when the stage was created.</p>
1873
1817
  */
@@ -1938,9 +1882,7 @@ export interface CreateUsagePlanRequest {
1938
1882
  /**
1939
1883
  * <p>The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with <code>aws:</code>. The tag value can be up to 256 characters.</p>
1940
1884
  */
1941
- tags?: {
1942
- [key: string]: string;
1943
- };
1885
+ tags?: Record<string, string>;
1944
1886
  }
1945
1887
  export declare namespace CreateUsagePlanRequest {
1946
1888
  /**
@@ -1986,9 +1928,7 @@ export interface UsagePlan {
1986
1928
  /**
1987
1929
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
1988
1930
  */
1989
- tags?: {
1990
- [key: string]: string;
1991
- };
1931
+ tags?: Record<string, string>;
1992
1932
  }
1993
1933
  export declare namespace UsagePlan {
1994
1934
  /**
@@ -2065,9 +2005,7 @@ export interface CreateVpcLinkRequest {
2065
2005
  /**
2066
2006
  * <p>The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with <code>aws:</code>. The tag value can be up to 256 characters.</p>
2067
2007
  */
2068
- tags?: {
2069
- [key: string]: string;
2070
- };
2008
+ tags?: Record<string, string>;
2071
2009
  }
2072
2010
  export declare namespace CreateVpcLinkRequest {
2073
2011
  /**
@@ -2112,9 +2050,7 @@ export interface VpcLink {
2112
2050
  /**
2113
2051
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
2114
2052
  */
2115
- tags?: {
2116
- [key: string]: string;
2117
- };
2053
+ tags?: Record<string, string>;
2118
2054
  }
2119
2055
  export declare namespace VpcLink {
2120
2056
  /**
@@ -2610,9 +2546,7 @@ export interface ClientCertificate {
2610
2546
  /**
2611
2547
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
2612
2548
  */
2613
- tags?: {
2614
- [key: string]: string;
2615
- };
2549
+ tags?: Record<string, string>;
2616
2550
  }
2617
2551
  export declare namespace ClientCertificate {
2618
2552
  /**
@@ -2631,9 +2565,7 @@ export interface GenerateClientCertificateRequest {
2631
2565
  /**
2632
2566
  * <p>The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with <code>aws:</code>. The tag value can be up to 256 characters.</p>
2633
2567
  */
2634
- tags?: {
2635
- [key: string]: string;
2636
- };
2568
+ tags?: Record<string, string>;
2637
2569
  }
2638
2570
  export declare namespace GenerateClientCertificateRequest {
2639
2571
  /**
@@ -3161,9 +3093,7 @@ export interface GetExportRequest {
3161
3093
  * <p>A key-value map of query string parameters that specify properties of the export, depending on the requested <code>exportType</code>. For <code>exportType</code>
3162
3094
  * <code>oas30</code> and <code>swagger</code>, any combination of the following parameters are supported: <code>extensions='integrations'</code> or <code>extensions='apigateway'</code> will export the API with x-amazon-apigateway-integration extensions. <code>extensions='authorizers'</code> will export the API with x-amazon-apigateway-authorizer extensions. <code>postman</code> will export the API with Postman extensions, allowing for import to the Postman tool</p>
3163
3095
  */
3164
- parameters?: {
3165
- [key: string]: string;
3166
- };
3096
+ parameters?: Record<string, string>;
3167
3097
  /**
3168
3098
  * <p>The content-type of the export, for example <code>application/json</code>. Currently <code>application/json</code> and <code>application/yaml</code> are supported for <code>exportType</code> of<code>oas30</code> and <code>swagger</code>. This should be specified in the <code>Accept</code> header for direct API requests.</p>
3169
3099
  */
@@ -3191,15 +3121,11 @@ export interface GatewayResponse {
3191
3121
  * <p>Response parameters (paths, query strings and headers) of the GatewayResponse as a
3192
3122
  * string-to-string map of key-value pairs.</p>
3193
3123
  */
3194
- responseParameters?: {
3195
- [key: string]: string;
3196
- };
3124
+ responseParameters?: Record<string, string>;
3197
3125
  /**
3198
3126
  * <p>Response templates of the GatewayResponse as a string-to-string map of key-value pairs.</p>
3199
3127
  */
3200
- responseTemplates?: {
3201
- [key: string]: string;
3202
- };
3128
+ responseTemplates?: Record<string, string>;
3203
3129
  /**
3204
3130
  * <p>A Boolean flag to indicate whether this GatewayResponse is the default gateway response (<code>true</code>) or not (<code>false</code>). A default gateway response is one generated by API Gateway without any customization by an API developer. </p>
3205
3131
  */
@@ -3673,9 +3599,7 @@ export interface GetSdkRequest {
3673
3599
  /**
3674
3600
  * <p>A string-to-string key-value map of query parameters <code>sdkType</code>-dependent properties of the SDK. For <code>sdkType</code> of <code>objectivec</code> or <code>swift</code>, a parameter named <code>classPrefix</code> is required. For <code>sdkType</code> of <code>android</code>, parameters named <code>groupId</code>, <code>artifactId</code>, <code>artifactVersion</code>, and <code>invokerPackage</code> are required. For <code>sdkType</code> of <code>java</code>, parameters named <code>serviceName</code> and <code>javaPackageName</code> are required. </p>
3675
3601
  */
3676
- parameters?: {
3677
- [key: string]: string;
3678
- };
3602
+ parameters?: Record<string, string>;
3679
3603
  }
3680
3604
  export declare namespace GetSdkRequest {
3681
3605
  /**
@@ -3896,9 +3820,7 @@ export interface Tags {
3896
3820
  /**
3897
3821
  * <p>The collection of tags. Each tag element is associated with a given resource.</p>
3898
3822
  */
3899
- tags?: {
3900
- [key: string]: string;
3901
- };
3823
+ tags?: Record<string, string>;
3902
3824
  }
3903
3825
  export declare namespace Tags {
3904
3826
  /**
@@ -3960,9 +3882,7 @@ export interface Usage {
3960
3882
  /**
3961
3883
  * <p>The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, <code>{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}</code>, where <code>{api_key}</code> stands for an API key value and the daily log entry is of the format <code>[used quota, remaining quota]</code>.</p>
3962
3884
  */
3963
- items?: {
3964
- [key: string]: number[][];
3965
- };
3885
+ items?: Record<string, number[][]>;
3966
3886
  /**
3967
3887
  * <p>The current pagination position in the paged result set.</p>
3968
3888
  */
@@ -4239,9 +4159,7 @@ export interface ImportRestApiRequest {
4239
4159
  * <p>For example, the AWS CLI command to exclude documentation from the imported API is:</p>
4240
4160
  * <p>The AWS CLI command to set the regional endpoint on the imported API is:</p>
4241
4161
  */
4242
- parameters?: {
4243
- [key: string]: string;
4244
- };
4162
+ parameters?: Record<string, string>;
4245
4163
  /**
4246
4164
  * <p>The POST request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.</p>
4247
4165
  */
@@ -4272,15 +4190,11 @@ export interface PutGatewayResponseRequest {
4272
4190
  /**
4273
4191
  * <p>Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.</p>
4274
4192
  */
4275
- responseParameters?: {
4276
- [key: string]: string;
4277
- };
4193
+ responseParameters?: Record<string, string>;
4278
4194
  /**
4279
4195
  * <p>Response templates of the GatewayResponse as a string-to-string map of key-value pairs.</p>
4280
4196
  */
4281
- responseTemplates?: {
4282
- [key: string]: string;
4283
- };
4197
+ responseTemplates?: Record<string, string>;
4284
4198
  }
4285
4199
  export declare namespace PutGatewayResponseRequest {
4286
4200
  /**
@@ -4346,15 +4260,11 @@ export interface PutIntegrationRequest {
4346
4260
  /**
4347
4261
  * <p>A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of <code>method.request.{location}.{name}</code>, where <code>location</code> is <code>querystring</code>, <code>path</code>, or <code>header</code> and <code>name</code> must be a valid and unique method request parameter name.</p>
4348
4262
  */
4349
- requestParameters?: {
4350
- [key: string]: string;
4351
- };
4263
+ requestParameters?: Record<string, string>;
4352
4264
  /**
4353
4265
  * <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.</p>
4354
4266
  */
4355
- requestTemplates?: {
4356
- [key: string]: string;
4357
- };
4267
+ requestTemplates?: Record<string, string>;
4358
4268
  /**
4359
4269
  * <p>Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the <code>requestTemplates</code> property on the Integration resource. There are three valid values: <code>WHEN_NO_MATCH</code>, <code>WHEN_NO_TEMPLATES</code>, and <code>NEVER</code>.
4360
4270
  * </p>
@@ -4417,15 +4327,11 @@ export interface PutIntegrationResponseRequest {
4417
4327
  * <p>A key-value map specifying response parameters that are passed to the method response from the back end.
4418
4328
  * 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 <code>method.response.header.{name}</code>, where <code>name</code> is a valid and unique header name. The mapped non-static value must match the pattern of <code>integration.response.header.{name}</code> or <code>integration.response.body.{JSON-expression}</code>, where <code>name</code> must be a valid and unique response header name and <code>JSON-expression</code> a valid JSON expression without the <code>$</code> prefix.</p>
4419
4329
  */
4420
- responseParameters?: {
4421
- [key: string]: string;
4422
- };
4330
+ responseParameters?: Record<string, string>;
4423
4331
  /**
4424
4332
  * <p>Specifies a put integration response's templates.</p>
4425
4333
  */
4426
- responseTemplates?: {
4427
- [key: string]: string;
4428
- };
4334
+ responseTemplates?: Record<string, string>;
4429
4335
  /**
4430
4336
  * <p>Specifies how to handle response payload content type conversions. Supported values are <code>CONVERT_TO_BINARY</code> and <code>CONVERT_TO_TEXT</code>, with the following behaviors:</p>
4431
4337
  *
@@ -4474,15 +4380,11 @@ export interface PutMethodRequest {
4474
4380
  /**
4475
4381
  * <p>A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key defines a method request parameter name matching the pattern of <code>method.request.{location}.{name}</code>, where <code>location</code> is <code>querystring</code>, <code>path</code>, or <code>header</code> and <code>name</code> is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (<code>true</code>) or optional (<code>false</code>). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or body-mapping templates.</p>
4476
4382
  */
4477
- requestParameters?: {
4478
- [key: string]: boolean;
4479
- };
4383
+ requestParameters?: Record<string, boolean>;
4480
4384
  /**
4481
4385
  * <p>Specifies the Model resources used for the request's content type. Request models are represented as a key/value map, with a content type as the key and a Model name as the value.</p>
4482
4386
  */
4483
- requestModels?: {
4484
- [key: string]: string;
4485
- };
4387
+ requestModels?: Record<string, string>;
4486
4388
  /**
4487
4389
  * <p>The identifier of a RequestValidator for validating the method request.</p>
4488
4390
  */
@@ -4521,15 +4423,11 @@ export interface PutMethodResponseRequest {
4521
4423
  /**
4522
4424
  * <p>A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of <code>method.response.header.{name}</code>, where <code>name</code> is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in <code>integration.response.header.{name}</code>, a static value enclosed within a pair of single quotes (e.g., <code>'application/json'</code>), or a JSON expression from the back-end response payload in the form of <code>integration.response.body.{JSON-expression}</code>, where <code>JSON-expression</code> is a valid JSON expression without the <code>$</code> prefix.)</p>
4523
4425
  */
4524
- responseParameters?: {
4525
- [key: string]: boolean;
4526
- };
4426
+ responseParameters?: Record<string, boolean>;
4527
4427
  /**
4528
4428
  * <p>Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.</p>
4529
4429
  */
4530
- responseModels?: {
4531
- [key: string]: string;
4532
- };
4430
+ responseModels?: Record<string, string>;
4533
4431
  }
4534
4432
  export declare namespace PutMethodResponseRequest {
4535
4433
  /**
@@ -4558,9 +4456,7 @@ export interface PutRestApiRequest {
4558
4456
  /**
4559
4457
  * <p>Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set <code>ignore=documentation</code> as a <code>parameters</code> value, as in the AWS CLI command of <code>aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'</code>.</p>
4560
4458
  */
4561
- parameters?: {
4562
- [key: string]: string;
4563
- };
4459
+ parameters?: Record<string, string>;
4564
4460
  /**
4565
4461
  * <p>The PUT request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.</p>
4566
4462
  */
@@ -4583,9 +4479,7 @@ export interface TagResourceRequest {
4583
4479
  /**
4584
4480
  * <p>The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with <code>aws:</code>. The tag value can be up to 256 characters.</p>
4585
4481
  */
4586
- tags: {
4587
- [key: string]: string;
4588
- } | undefined;
4482
+ tags: Record<string, string> | undefined;
4589
4483
  }
4590
4484
  export declare namespace TagResourceRequest {
4591
4485
  /**
@@ -4608,15 +4502,11 @@ export interface TestInvokeAuthorizerRequest {
4608
4502
  /**
4609
4503
  * <p>A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.</p>
4610
4504
  */
4611
- headers?: {
4612
- [key: string]: string;
4613
- };
4505
+ headers?: Record<string, string>;
4614
4506
  /**
4615
4507
  * <p>The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.</p>
4616
4508
  */
4617
- multiValueHeaders?: {
4618
- [key: string]: string[];
4619
- };
4509
+ multiValueHeaders?: Record<string, string[]>;
4620
4510
  /**
4621
4511
  * <p>The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.</p>
4622
4512
  */
@@ -4628,15 +4518,11 @@ export interface TestInvokeAuthorizerRequest {
4628
4518
  /**
4629
4519
  * <p>A key-value map of stage variables to simulate an invocation on a deployed Stage.</p>
4630
4520
  */
4631
- stageVariables?: {
4632
- [key: string]: string;
4633
- };
4521
+ stageVariables?: Record<string, string>;
4634
4522
  /**
4635
4523
  * <p>A key-value map of additional context variables.</p>
4636
4524
  */
4637
- additionalContext?: {
4638
- [key: string]: string;
4639
- };
4525
+ additionalContext?: Record<string, string>;
4640
4526
  }
4641
4527
  export declare namespace TestInvokeAuthorizerRequest {
4642
4528
  /**
@@ -4671,15 +4557,11 @@ export interface TestInvokeAuthorizerResponse {
4671
4557
  /**
4672
4558
  * <p>The authorization response.</p>
4673
4559
  */
4674
- authorization?: {
4675
- [key: string]: string[];
4676
- };
4560
+ authorization?: Record<string, string[]>;
4677
4561
  /**
4678
4562
  * <p>The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.</p>
4679
4563
  */
4680
- claims?: {
4681
- [key: string]: string;
4682
- };
4564
+ claims?: Record<string, string>;
4683
4565
  }
4684
4566
  export declare namespace TestInvokeAuthorizerResponse {
4685
4567
  /**
@@ -4714,15 +4596,11 @@ export interface TestInvokeMethodRequest {
4714
4596
  /**
4715
4597
  * <p>A key-value map of headers to simulate an incoming invocation request.</p>
4716
4598
  */
4717
- headers?: {
4718
- [key: string]: string;
4719
- };
4599
+ headers?: Record<string, string>;
4720
4600
  /**
4721
4601
  * <p>The headers as a map from string to list of values to simulate an incoming invocation request.</p>
4722
4602
  */
4723
- multiValueHeaders?: {
4724
- [key: string]: string[];
4725
- };
4603
+ multiValueHeaders?: Record<string, string[]>;
4726
4604
  /**
4727
4605
  * <p>A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.</p>
4728
4606
  */
@@ -4730,9 +4608,7 @@ export interface TestInvokeMethodRequest {
4730
4608
  /**
4731
4609
  * <p>A key-value map of stage variables to simulate an invocation on a deployed Stage.</p>
4732
4610
  */
4733
- stageVariables?: {
4734
- [key: string]: string;
4735
- };
4611
+ stageVariables?: Record<string, string>;
4736
4612
  }
4737
4613
  export declare namespace TestInvokeMethodRequest {
4738
4614
  /**
@@ -4755,15 +4631,11 @@ export interface TestInvokeMethodResponse {
4755
4631
  /**
4756
4632
  * <p>The headers of the HTTP response.</p>
4757
4633
  */
4758
- headers?: {
4759
- [key: string]: string;
4760
- };
4634
+ headers?: Record<string, string>;
4761
4635
  /**
4762
4636
  * <p>The headers of the HTTP response as a map from string to list of values.</p>
4763
4637
  */
4764
- multiValueHeaders?: {
4765
- [key: string]: string[];
4766
- };
4638
+ multiValueHeaders?: Record<string, string[]>;
4767
4639
  /**
4768
4640
  * <p>The API Gateway execution log for the test invoke request.</p>
4769
4641
  */
@@ -58,9 +58,7 @@ export interface ApiKey {
58
58
 
59
59
  stageKeys?: string[];
60
60
 
61
- tags?: {
62
- [key: string]: string;
63
- };
61
+ tags?: Record<string, string>;
64
62
  }
65
63
  export declare namespace ApiKey {
66
64
 
@@ -104,9 +102,7 @@ export interface ApiStage {
104
102
 
105
103
  stage?: string;
106
104
 
107
- throttle?: {
108
- [key: string]: ThrottleSettings;
109
- };
105
+ throttle?: Record<string, ThrottleSettings>;
110
106
  }
111
107
  export declare namespace ApiStage {
112
108
 
@@ -197,9 +193,7 @@ export interface CreateApiKeyRequest {
197
193
 
198
194
  customerId?: string;
199
195
 
200
- tags?: {
201
- [key: string]: string;
202
- };
196
+ tags?: Record<string, string>;
203
197
  }
204
198
  export declare namespace CreateApiKeyRequest {
205
199
 
@@ -305,9 +299,7 @@ export interface DeploymentCanarySettings {
305
299
 
306
300
  percentTraffic?: number;
307
301
 
308
- stageVariableOverrides?: {
309
- [key: string]: string;
310
- };
302
+ stageVariableOverrides?: Record<string, string>;
311
303
 
312
304
  useStageCache?: boolean;
313
305
  }
@@ -330,9 +322,7 @@ export interface CreateDeploymentRequest {
330
322
 
331
323
  cacheClusterSize?: CacheClusterSize | string;
332
324
 
333
- variables?: {
334
- [key: string]: string;
335
- };
325
+ variables?: Record<string, string>;
336
326
 
337
327
  canarySettings?: DeploymentCanarySettings;
338
328
 
@@ -362,11 +352,7 @@ export interface Deployment {
362
352
 
363
353
  createdDate?: Date;
364
354
 
365
- apiSummary?: {
366
- [key: string]: {
367
- [key: string]: MethodSnapshot;
368
- };
369
- };
355
+ apiSummary?: Record<string, Record<string, MethodSnapshot>>;
370
356
  }
371
357
  export declare namespace Deployment {
372
358
 
@@ -510,9 +496,7 @@ export interface CreateDomainNameRequest {
510
496
 
511
497
  endpointConfiguration?: EndpointConfiguration;
512
498
 
513
- tags?: {
514
- [key: string]: string;
515
- };
499
+ tags?: Record<string, string>;
516
500
 
517
501
  securityPolicy?: SecurityPolicy | string;
518
502
 
@@ -575,9 +559,7 @@ export interface DomainName {
575
559
 
576
560
  securityPolicy?: SecurityPolicy | string;
577
561
 
578
- tags?: {
579
- [key: string]: string;
580
- };
562
+ tags?: Record<string, string>;
581
563
 
582
564
  mutualTlsAuthentication?: MutualTlsAuthentication;
583
565
 
@@ -679,13 +661,9 @@ export interface IntegrationResponse {
679
661
 
680
662
  selectionPattern?: string;
681
663
 
682
- responseParameters?: {
683
- [key: string]: string;
684
- };
664
+ responseParameters?: Record<string, string>;
685
665
 
686
- responseTemplates?: {
687
- [key: string]: string;
688
- };
666
+ responseTemplates?: Record<string, string>;
689
667
 
690
668
  contentHandling?: ContentHandlingStrategy | string;
691
669
  }
@@ -724,13 +702,9 @@ export interface Integration {
724
702
 
725
703
  credentials?: string;
726
704
 
727
- requestParameters?: {
728
- [key: string]: string;
729
- };
705
+ requestParameters?: Record<string, string>;
730
706
 
731
- requestTemplates?: {
732
- [key: string]: string;
733
- };
707
+ requestTemplates?: Record<string, string>;
734
708
 
735
709
  passthroughBehavior?: string;
736
710
 
@@ -742,9 +716,7 @@ export interface Integration {
742
716
 
743
717
  cacheKeyParameters?: string[];
744
718
 
745
- integrationResponses?: {
746
- [key: string]: IntegrationResponse;
747
- };
719
+ integrationResponses?: Record<string, IntegrationResponse>;
748
720
 
749
721
  tlsConfig?: TlsConfig;
750
722
  }
@@ -757,13 +729,9 @@ export interface MethodResponse {
757
729
 
758
730
  statusCode?: string;
759
731
 
760
- responseParameters?: {
761
- [key: string]: boolean;
762
- };
732
+ responseParameters?: Record<string, boolean>;
763
733
 
764
- responseModels?: {
765
- [key: string]: string;
766
- };
734
+ responseModels?: Record<string, string>;
767
735
  }
768
736
  export declare namespace MethodResponse {
769
737
 
@@ -784,17 +752,11 @@ export interface Method {
784
752
 
785
753
  operationName?: string;
786
754
 
787
- requestParameters?: {
788
- [key: string]: boolean;
789
- };
755
+ requestParameters?: Record<string, boolean>;
790
756
 
791
- requestModels?: {
792
- [key: string]: string;
793
- };
757
+ requestModels?: Record<string, string>;
794
758
 
795
- methodResponses?: {
796
- [key: string]: MethodResponse;
797
- };
759
+ methodResponses?: Record<string, MethodResponse>;
798
760
 
799
761
  methodIntegration?: Integration;
800
762
 
@@ -815,9 +777,7 @@ export interface Resource {
815
777
 
816
778
  path?: string;
817
779
 
818
- resourceMethods?: {
819
- [key: string]: Method;
820
- };
780
+ resourceMethods?: Record<string, Method>;
821
781
  }
822
782
  export declare namespace Resource {
823
783
 
@@ -844,9 +804,7 @@ export interface CreateRestApiRequest {
844
804
 
845
805
  policy?: string;
846
806
 
847
- tags?: {
848
- [key: string]: string;
849
- };
807
+ tags?: Record<string, string>;
850
808
 
851
809
  disableExecuteApiEndpoint?: boolean;
852
810
  }
@@ -879,9 +837,7 @@ export interface RestApi {
879
837
 
880
838
  policy?: string;
881
839
 
882
- tags?: {
883
- [key: string]: string;
884
- };
840
+ tags?: Record<string, string>;
885
841
 
886
842
  disableExecuteApiEndpoint?: boolean;
887
843
  }
@@ -896,9 +852,7 @@ export interface CanarySettings {
896
852
 
897
853
  deploymentId?: string;
898
854
 
899
- stageVariableOverrides?: {
900
- [key: string]: string;
901
- };
855
+ stageVariableOverrides?: Record<string, string>;
902
856
 
903
857
  useStageCache?: boolean;
904
858
  }
@@ -921,9 +875,7 @@ export interface CreateStageRequest {
921
875
 
922
876
  cacheClusterSize?: CacheClusterSize | string;
923
877
 
924
- variables?: {
925
- [key: string]: string;
926
- };
878
+ variables?: Record<string, string>;
927
879
 
928
880
  documentationVersion?: string;
929
881
 
@@ -931,9 +883,7 @@ export interface CreateStageRequest {
931
883
 
932
884
  tracingEnabled?: boolean;
933
885
 
934
- tags?: {
935
- [key: string]: string;
936
- };
886
+ tags?: Record<string, string>;
937
887
  }
938
888
  export declare namespace CreateStageRequest {
939
889
 
@@ -995,13 +945,9 @@ export interface Stage {
995
945
 
996
946
  cacheClusterStatus?: CacheClusterStatus | string;
997
947
 
998
- methodSettings?: {
999
- [key: string]: MethodSetting;
1000
- };
948
+ methodSettings?: Record<string, MethodSetting>;
1001
949
 
1002
- variables?: {
1003
- [key: string]: string;
1004
- };
950
+ variables?: Record<string, string>;
1005
951
 
1006
952
  documentationVersion?: string;
1007
953
 
@@ -1013,9 +959,7 @@ export interface Stage {
1013
959
 
1014
960
  webAclArn?: string;
1015
961
 
1016
- tags?: {
1017
- [key: string]: string;
1018
- };
962
+ tags?: Record<string, string>;
1019
963
 
1020
964
  createdDate?: Date;
1021
965
 
@@ -1056,9 +1000,7 @@ export interface CreateUsagePlanRequest {
1056
1000
 
1057
1001
  quota?: QuotaSettings;
1058
1002
 
1059
- tags?: {
1060
- [key: string]: string;
1061
- };
1003
+ tags?: Record<string, string>;
1062
1004
  }
1063
1005
  export declare namespace CreateUsagePlanRequest {
1064
1006
 
@@ -1081,9 +1023,7 @@ export interface UsagePlan {
1081
1023
 
1082
1024
  productCode?: string;
1083
1025
 
1084
- tags?: {
1085
- [key: string]: string;
1086
- };
1026
+ tags?: Record<string, string>;
1087
1027
  }
1088
1028
  export declare namespace UsagePlan {
1089
1029
 
@@ -1126,9 +1066,7 @@ export interface CreateVpcLinkRequest {
1126
1066
 
1127
1067
  targetArns: string[] | undefined;
1128
1068
 
1129
- tags?: {
1130
- [key: string]: string;
1131
- };
1069
+ tags?: Record<string, string>;
1132
1070
  }
1133
1071
  export declare namespace CreateVpcLinkRequest {
1134
1072
 
@@ -1155,9 +1093,7 @@ export interface VpcLink {
1155
1093
 
1156
1094
  statusMessage?: string;
1157
1095
 
1158
- tags?: {
1159
- [key: string]: string;
1160
- };
1096
+ tags?: Record<string, string>;
1161
1097
  }
1162
1098
  export declare namespace VpcLink {
1163
1099
 
@@ -1452,9 +1388,7 @@ export interface ClientCertificate {
1452
1388
 
1453
1389
  expirationDate?: Date;
1454
1390
 
1455
- tags?: {
1456
- [key: string]: string;
1457
- };
1391
+ tags?: Record<string, string>;
1458
1392
  }
1459
1393
  export declare namespace ClientCertificate {
1460
1394
 
@@ -1465,9 +1399,7 @@ export interface GenerateClientCertificateRequest {
1465
1399
 
1466
1400
  description?: string;
1467
1401
 
1468
- tags?: {
1469
- [key: string]: string;
1470
- };
1402
+ tags?: Record<string, string>;
1471
1403
  }
1472
1404
  export declare namespace GenerateClientCertificateRequest {
1473
1405
 
@@ -1770,9 +1702,7 @@ export interface GetExportRequest {
1770
1702
 
1771
1703
  exportType: string | undefined;
1772
1704
 
1773
- parameters?: {
1774
- [key: string]: string;
1775
- };
1705
+ parameters?: Record<string, string>;
1776
1706
 
1777
1707
  accepts?: string;
1778
1708
  }
@@ -1787,13 +1717,9 @@ export interface GatewayResponse {
1787
1717
 
1788
1718
  statusCode?: string;
1789
1719
 
1790
- responseParameters?: {
1791
- [key: string]: string;
1792
- };
1720
+ responseParameters?: Record<string, string>;
1793
1721
 
1794
- responseTemplates?: {
1795
- [key: string]: string;
1796
- };
1722
+ responseTemplates?: Record<string, string>;
1797
1723
 
1798
1724
  defaultResponse?: boolean;
1799
1725
  }
@@ -2063,9 +1989,7 @@ export interface GetSdkRequest {
2063
1989
 
2064
1990
  sdkType: string | undefined;
2065
1991
 
2066
- parameters?: {
2067
- [key: string]: string;
2068
- };
1992
+ parameters?: Record<string, string>;
2069
1993
  }
2070
1994
  export declare namespace GetSdkRequest {
2071
1995
 
@@ -2192,9 +2116,7 @@ export declare namespace GetTagsRequest {
2192
2116
 
2193
2117
  export interface Tags {
2194
2118
 
2195
- tags?: {
2196
- [key: string]: string;
2197
- };
2119
+ tags?: Record<string, string>;
2198
2120
  }
2199
2121
  export declare namespace Tags {
2200
2122
 
@@ -2228,9 +2150,7 @@ export interface Usage {
2228
2150
 
2229
2151
  endDate?: string;
2230
2152
 
2231
- items?: {
2232
- [key: string]: number[][];
2233
- };
2153
+ items?: Record<string, number[][]>;
2234
2154
 
2235
2155
  position?: string;
2236
2156
  }
@@ -2387,9 +2307,7 @@ export interface ImportRestApiRequest {
2387
2307
 
2388
2308
  failOnWarnings?: boolean;
2389
2309
 
2390
- parameters?: {
2391
- [key: string]: string;
2392
- };
2310
+ parameters?: Record<string, string>;
2393
2311
 
2394
2312
  body: Uint8Array | undefined;
2395
2313
  }
@@ -2406,13 +2324,9 @@ export interface PutGatewayResponseRequest {
2406
2324
 
2407
2325
  statusCode?: string;
2408
2326
 
2409
- responseParameters?: {
2410
- [key: string]: string;
2411
- };
2327
+ responseParameters?: Record<string, string>;
2412
2328
 
2413
- responseTemplates?: {
2414
- [key: string]: string;
2415
- };
2329
+ responseTemplates?: Record<string, string>;
2416
2330
  }
2417
2331
  export declare namespace PutGatewayResponseRequest {
2418
2332
 
@@ -2439,13 +2353,9 @@ export interface PutIntegrationRequest {
2439
2353
 
2440
2354
  credentials?: string;
2441
2355
 
2442
- requestParameters?: {
2443
- [key: string]: string;
2444
- };
2356
+ requestParameters?: Record<string, string>;
2445
2357
 
2446
- requestTemplates?: {
2447
- [key: string]: string;
2448
- };
2358
+ requestTemplates?: Record<string, string>;
2449
2359
 
2450
2360
  passthroughBehavior?: string;
2451
2361
 
@@ -2476,13 +2386,9 @@ export interface PutIntegrationResponseRequest {
2476
2386
 
2477
2387
  selectionPattern?: string;
2478
2388
 
2479
- responseParameters?: {
2480
- [key: string]: string;
2481
- };
2389
+ responseParameters?: Record<string, string>;
2482
2390
 
2483
- responseTemplates?: {
2484
- [key: string]: string;
2485
- };
2391
+ responseTemplates?: Record<string, string>;
2486
2392
 
2487
2393
  contentHandling?: ContentHandlingStrategy | string;
2488
2394
  }
@@ -2507,13 +2413,9 @@ export interface PutMethodRequest {
2507
2413
 
2508
2414
  operationName?: string;
2509
2415
 
2510
- requestParameters?: {
2511
- [key: string]: boolean;
2512
- };
2416
+ requestParameters?: Record<string, boolean>;
2513
2417
 
2514
- requestModels?: {
2515
- [key: string]: string;
2516
- };
2418
+ requestModels?: Record<string, string>;
2517
2419
 
2518
2420
  requestValidatorId?: string;
2519
2421
 
@@ -2534,13 +2436,9 @@ export interface PutMethodResponseRequest {
2534
2436
 
2535
2437
  statusCode: string | undefined;
2536
2438
 
2537
- responseParameters?: {
2538
- [key: string]: boolean;
2539
- };
2439
+ responseParameters?: Record<string, boolean>;
2540
2440
 
2541
- responseModels?: {
2542
- [key: string]: string;
2543
- };
2441
+ responseModels?: Record<string, string>;
2544
2442
  }
2545
2443
  export declare namespace PutMethodResponseRequest {
2546
2444
 
@@ -2555,9 +2453,7 @@ export interface PutRestApiRequest {
2555
2453
 
2556
2454
  failOnWarnings?: boolean;
2557
2455
 
2558
- parameters?: {
2559
- [key: string]: string;
2560
- };
2456
+ parameters?: Record<string, string>;
2561
2457
 
2562
2458
  body: Uint8Array | undefined;
2563
2459
  }
@@ -2570,9 +2466,7 @@ export interface TagResourceRequest {
2570
2466
 
2571
2467
  resourceArn: string | undefined;
2572
2468
 
2573
- tags: {
2574
- [key: string]: string;
2575
- } | undefined;
2469
+ tags: Record<string, string> | undefined;
2576
2470
  }
2577
2471
  export declare namespace TagResourceRequest {
2578
2472
 
@@ -2585,25 +2479,17 @@ export interface TestInvokeAuthorizerRequest {
2585
2479
 
2586
2480
  authorizerId: string | undefined;
2587
2481
 
2588
- headers?: {
2589
- [key: string]: string;
2590
- };
2482
+ headers?: Record<string, string>;
2591
2483
 
2592
- multiValueHeaders?: {
2593
- [key: string]: string[];
2594
- };
2484
+ multiValueHeaders?: Record<string, string[]>;
2595
2485
 
2596
2486
  pathWithQueryString?: string;
2597
2487
 
2598
2488
  body?: string;
2599
2489
 
2600
- stageVariables?: {
2601
- [key: string]: string;
2602
- };
2490
+ stageVariables?: Record<string, string>;
2603
2491
 
2604
- additionalContext?: {
2605
- [key: string]: string;
2606
- };
2492
+ additionalContext?: Record<string, string>;
2607
2493
  }
2608
2494
  export declare namespace TestInvokeAuthorizerRequest {
2609
2495
 
@@ -2622,13 +2508,9 @@ export interface TestInvokeAuthorizerResponse {
2622
2508
 
2623
2509
  policy?: string;
2624
2510
 
2625
- authorization?: {
2626
- [key: string]: string[];
2627
- };
2511
+ authorization?: Record<string, string[]>;
2628
2512
 
2629
- claims?: {
2630
- [key: string]: string;
2631
- };
2513
+ claims?: Record<string, string>;
2632
2514
  }
2633
2515
  export declare namespace TestInvokeAuthorizerResponse {
2634
2516
 
@@ -2647,19 +2529,13 @@ export interface TestInvokeMethodRequest {
2647
2529
 
2648
2530
  body?: string;
2649
2531
 
2650
- headers?: {
2651
- [key: string]: string;
2652
- };
2532
+ headers?: Record<string, string>;
2653
2533
 
2654
- multiValueHeaders?: {
2655
- [key: string]: string[];
2656
- };
2534
+ multiValueHeaders?: Record<string, string[]>;
2657
2535
 
2658
2536
  clientCertificateId?: string;
2659
2537
 
2660
- stageVariables?: {
2661
- [key: string]: string;
2662
- };
2538
+ stageVariables?: Record<string, string>;
2663
2539
  }
2664
2540
  export declare namespace TestInvokeMethodRequest {
2665
2541
 
@@ -2672,13 +2548,9 @@ export interface TestInvokeMethodResponse {
2672
2548
 
2673
2549
  body?: string;
2674
2550
 
2675
- headers?: {
2676
- [key: string]: string;
2677
- };
2551
+ headers?: Record<string, string>;
2678
2552
 
2679
- multiValueHeaders?: {
2680
- [key: string]: string[];
2681
- };
2553
+ multiValueHeaders?: Record<string, string[]>;
2682
2554
 
2683
2555
  log?: string;
2684
2556
 
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.100.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.100.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.100.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-sdk-api-gateway": "3.78.0",
32
33
  "@aws-sdk/middleware-serde": "3.78.0",