@aws-sdk/client-api-gateway 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.
Files changed (107) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/APIGatewayClient.js +2 -0
  3. package/dist-cjs/runtimeConfig.js +2 -0
  4. package/dist-es/APIGatewayClient.js +2 -0
  5. package/dist-es/runtimeConfig.js +2 -0
  6. package/dist-types/APIGateway.d.ts +110 -82
  7. package/dist-types/commands/CreateApiKeyCommand.d.ts +1 -2
  8. package/dist-types/commands/CreateAuthorizerCommand.d.ts +1 -2
  9. package/dist-types/commands/CreateBasePathMappingCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateDeploymentCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateDocumentationPartCommand.d.ts +17 -0
  12. package/dist-types/commands/CreateDocumentationVersionCommand.d.ts +17 -0
  13. package/dist-types/commands/CreateModelCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateRequestValidatorCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateResourceCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateRestApiCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateStageCommand.d.ts +1 -2
  18. package/dist-types/commands/DeleteApiKeyCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -2
  20. package/dist-types/commands/DeleteBasePathMappingCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteClientCertificateCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteDeploymentCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteDocumentationPartCommand.d.ts +17 -0
  24. package/dist-types/commands/DeleteDocumentationVersionCommand.d.ts +17 -0
  25. package/dist-types/commands/DeleteDomainNameCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteGatewayResponseCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteMethodCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteMethodResponseCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteRequestValidatorCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteResourceCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteStageCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteVpcLinkCommand.d.ts +1 -1
  33. package/dist-types/commands/GenerateClientCertificateCommand.d.ts +1 -1
  34. package/dist-types/commands/GetAccountCommand.d.ts +1 -1
  35. package/dist-types/commands/GetApiKeyCommand.d.ts +1 -1
  36. package/dist-types/commands/GetApiKeysCommand.d.ts +1 -1
  37. package/dist-types/commands/GetAuthorizerCommand.d.ts +1 -2
  38. package/dist-types/commands/GetAuthorizersCommand.d.ts +1 -2
  39. package/dist-types/commands/GetBasePathMappingCommand.d.ts +1 -1
  40. package/dist-types/commands/GetBasePathMappingsCommand.d.ts +1 -1
  41. package/dist-types/commands/GetClientCertificateCommand.d.ts +1 -1
  42. package/dist-types/commands/GetClientCertificatesCommand.d.ts +1 -1
  43. package/dist-types/commands/GetDeploymentCommand.d.ts +1 -1
  44. package/dist-types/commands/GetDeploymentsCommand.d.ts +1 -1
  45. package/dist-types/commands/GetDocumentationPartCommand.d.ts +17 -0
  46. package/dist-types/commands/GetDocumentationPartsCommand.d.ts +17 -0
  47. package/dist-types/commands/GetDocumentationVersionCommand.d.ts +17 -0
  48. package/dist-types/commands/GetDocumentationVersionsCommand.d.ts +17 -0
  49. package/dist-types/commands/GetDomainNamesCommand.d.ts +1 -1
  50. package/dist-types/commands/GetExportCommand.d.ts +1 -1
  51. package/dist-types/commands/GetGatewayResponseCommand.d.ts +1 -1
  52. package/dist-types/commands/GetGatewayResponsesCommand.d.ts +1 -1
  53. package/dist-types/commands/GetMethodCommand.d.ts +1 -1
  54. package/dist-types/commands/GetMethodResponseCommand.d.ts +1 -1
  55. package/dist-types/commands/GetModelCommand.d.ts +1 -1
  56. package/dist-types/commands/GetModelsCommand.d.ts +1 -1
  57. package/dist-types/commands/GetRequestValidatorCommand.d.ts +1 -1
  58. package/dist-types/commands/GetRequestValidatorsCommand.d.ts +1 -1
  59. package/dist-types/commands/GetResourcesCommand.d.ts +1 -1
  60. package/dist-types/commands/GetRestApiCommand.d.ts +1 -1
  61. package/dist-types/commands/GetRestApisCommand.d.ts +1 -1
  62. package/dist-types/commands/GetSdkCommand.d.ts +1 -1
  63. package/dist-types/commands/GetSdkTypeCommand.d.ts +17 -0
  64. package/dist-types/commands/GetSdkTypesCommand.d.ts +17 -0
  65. package/dist-types/commands/GetStageCommand.d.ts +1 -1
  66. package/dist-types/commands/GetStagesCommand.d.ts +1 -1
  67. package/dist-types/commands/GetTagsCommand.d.ts +1 -1
  68. package/dist-types/commands/GetVpcLinksCommand.d.ts +1 -1
  69. package/dist-types/commands/ImportDocumentationPartsCommand.d.ts +17 -0
  70. package/dist-types/commands/PutGatewayResponseCommand.d.ts +1 -1
  71. package/dist-types/commands/PutMethodCommand.d.ts +1 -1
  72. package/dist-types/commands/PutMethodResponseCommand.d.ts +1 -1
  73. package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +1 -5
  74. package/dist-types/commands/TestInvokeMethodCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateAccountCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateApiKeyCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateAuthorizerCommand.d.ts +1 -2
  78. package/dist-types/commands/UpdateBasePathMappingCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateClientCertificateCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateDeploymentCommand.d.ts +1 -1
  81. package/dist-types/commands/UpdateDocumentationPartCommand.d.ts +17 -0
  82. package/dist-types/commands/UpdateDocumentationVersionCommand.d.ts +17 -0
  83. package/dist-types/commands/UpdateDomainNameCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateGatewayResponseCommand.d.ts +1 -1
  85. package/dist-types/commands/UpdateMethodCommand.d.ts +1 -1
  86. package/dist-types/commands/UpdateMethodResponseCommand.d.ts +1 -1
  87. package/dist-types/commands/UpdateRequestValidatorCommand.d.ts +1 -1
  88. package/dist-types/commands/UpdateResourceCommand.d.ts +1 -1
  89. package/dist-types/commands/UpdateStageCommand.d.ts +1 -1
  90. package/dist-types/commands/UpdateVpcLinkCommand.d.ts +1 -1
  91. package/dist-types/models/models_0.d.ts +712 -2091
  92. package/dist-types/ts3.4/APIGateway.d.ts +13 -0
  93. package/dist-types/ts3.4/commands/CreateDocumentationPartCommand.d.ts +1 -0
  94. package/dist-types/ts3.4/commands/CreateDocumentationVersionCommand.d.ts +1 -0
  95. package/dist-types/ts3.4/commands/DeleteDocumentationPartCommand.d.ts +1 -0
  96. package/dist-types/ts3.4/commands/DeleteDocumentationVersionCommand.d.ts +1 -0
  97. package/dist-types/ts3.4/commands/GetDocumentationPartCommand.d.ts +1 -0
  98. package/dist-types/ts3.4/commands/GetDocumentationPartsCommand.d.ts +1 -0
  99. package/dist-types/ts3.4/commands/GetDocumentationVersionCommand.d.ts +1 -0
  100. package/dist-types/ts3.4/commands/GetDocumentationVersionsCommand.d.ts +1 -0
  101. package/dist-types/ts3.4/commands/GetSdkTypeCommand.d.ts +1 -0
  102. package/dist-types/ts3.4/commands/GetSdkTypesCommand.d.ts +1 -0
  103. package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +1 -0
  104. package/dist-types/ts3.4/commands/UpdateDocumentationPartCommand.d.ts +1 -0
  105. package/dist-types/ts3.4/commands/UpdateDocumentationVersionCommand.d.ts +1 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +66 -191
  107. package/package.json +7 -6
@@ -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
  }
@@ -693,6 +671,7 @@ export declare namespace IntegrationResponse {
693
671
 
694
672
  const filterSensitiveLog: (obj: IntegrationResponse) => any;
695
673
  }
674
+
696
675
  export interface TlsConfig {
697
676
 
698
677
  insecureSkipVerification?: boolean;
@@ -723,13 +702,9 @@ export interface Integration {
723
702
 
724
703
  credentials?: string;
725
704
 
726
- requestParameters?: {
727
- [key: string]: string;
728
- };
705
+ requestParameters?: Record<string, string>;
729
706
 
730
- requestTemplates?: {
731
- [key: string]: string;
732
- };
707
+ requestTemplates?: Record<string, string>;
733
708
 
734
709
  passthroughBehavior?: string;
735
710
 
@@ -741,9 +716,7 @@ export interface Integration {
741
716
 
742
717
  cacheKeyParameters?: string[];
743
718
 
744
- integrationResponses?: {
745
- [key: string]: IntegrationResponse;
746
- };
719
+ integrationResponses?: Record<string, IntegrationResponse>;
747
720
 
748
721
  tlsConfig?: TlsConfig;
749
722
  }
@@ -756,13 +729,9 @@ export interface MethodResponse {
756
729
 
757
730
  statusCode?: string;
758
731
 
759
- responseParameters?: {
760
- [key: string]: boolean;
761
- };
732
+ responseParameters?: Record<string, boolean>;
762
733
 
763
- responseModels?: {
764
- [key: string]: string;
765
- };
734
+ responseModels?: Record<string, string>;
766
735
  }
767
736
  export declare namespace MethodResponse {
768
737
 
@@ -783,17 +752,11 @@ export interface Method {
783
752
 
784
753
  operationName?: string;
785
754
 
786
- requestParameters?: {
787
- [key: string]: boolean;
788
- };
755
+ requestParameters?: Record<string, boolean>;
789
756
 
790
- requestModels?: {
791
- [key: string]: string;
792
- };
757
+ requestModels?: Record<string, string>;
793
758
 
794
- methodResponses?: {
795
- [key: string]: MethodResponse;
796
- };
759
+ methodResponses?: Record<string, MethodResponse>;
797
760
 
798
761
  methodIntegration?: Integration;
799
762
 
@@ -814,9 +777,7 @@ export interface Resource {
814
777
 
815
778
  path?: string;
816
779
 
817
- resourceMethods?: {
818
- [key: string]: Method;
819
- };
780
+ resourceMethods?: Record<string, Method>;
820
781
  }
821
782
  export declare namespace Resource {
822
783
 
@@ -843,9 +804,7 @@ export interface CreateRestApiRequest {
843
804
 
844
805
  policy?: string;
845
806
 
846
- tags?: {
847
- [key: string]: string;
848
- };
807
+ tags?: Record<string, string>;
849
808
 
850
809
  disableExecuteApiEndpoint?: boolean;
851
810
  }
@@ -878,9 +837,7 @@ export interface RestApi {
878
837
 
879
838
  policy?: string;
880
839
 
881
- tags?: {
882
- [key: string]: string;
883
- };
840
+ tags?: Record<string, string>;
884
841
 
885
842
  disableExecuteApiEndpoint?: boolean;
886
843
  }
@@ -895,9 +852,7 @@ export interface CanarySettings {
895
852
 
896
853
  deploymentId?: string;
897
854
 
898
- stageVariableOverrides?: {
899
- [key: string]: string;
900
- };
855
+ stageVariableOverrides?: Record<string, string>;
901
856
 
902
857
  useStageCache?: boolean;
903
858
  }
@@ -920,9 +875,7 @@ export interface CreateStageRequest {
920
875
 
921
876
  cacheClusterSize?: CacheClusterSize | string;
922
877
 
923
- variables?: {
924
- [key: string]: string;
925
- };
878
+ variables?: Record<string, string>;
926
879
 
927
880
  documentationVersion?: string;
928
881
 
@@ -930,9 +883,7 @@ export interface CreateStageRequest {
930
883
 
931
884
  tracingEnabled?: boolean;
932
885
 
933
- tags?: {
934
- [key: string]: string;
935
- };
886
+ tags?: Record<string, string>;
936
887
  }
937
888
  export declare namespace CreateStageRequest {
938
889
 
@@ -994,13 +945,9 @@ export interface Stage {
994
945
 
995
946
  cacheClusterStatus?: CacheClusterStatus | string;
996
947
 
997
- methodSettings?: {
998
- [key: string]: MethodSetting;
999
- };
948
+ methodSettings?: Record<string, MethodSetting>;
1000
949
 
1001
- variables?: {
1002
- [key: string]: string;
1003
- };
950
+ variables?: Record<string, string>;
1004
951
 
1005
952
  documentationVersion?: string;
1006
953
 
@@ -1012,9 +959,7 @@ export interface Stage {
1012
959
 
1013
960
  webAclArn?: string;
1014
961
 
1015
- tags?: {
1016
- [key: string]: string;
1017
- };
962
+ tags?: Record<string, string>;
1018
963
 
1019
964
  createdDate?: Date;
1020
965
 
@@ -1055,9 +1000,7 @@ export interface CreateUsagePlanRequest {
1055
1000
 
1056
1001
  quota?: QuotaSettings;
1057
1002
 
1058
- tags?: {
1059
- [key: string]: string;
1060
- };
1003
+ tags?: Record<string, string>;
1061
1004
  }
1062
1005
  export declare namespace CreateUsagePlanRequest {
1063
1006
 
@@ -1080,9 +1023,7 @@ export interface UsagePlan {
1080
1023
 
1081
1024
  productCode?: string;
1082
1025
 
1083
- tags?: {
1084
- [key: string]: string;
1085
- };
1026
+ tags?: Record<string, string>;
1086
1027
  }
1087
1028
  export declare namespace UsagePlan {
1088
1029
 
@@ -1125,9 +1066,7 @@ export interface CreateVpcLinkRequest {
1125
1066
 
1126
1067
  targetArns: string[] | undefined;
1127
1068
 
1128
- tags?: {
1129
- [key: string]: string;
1130
- };
1069
+ tags?: Record<string, string>;
1131
1070
  }
1132
1071
  export declare namespace CreateVpcLinkRequest {
1133
1072
 
@@ -1154,9 +1093,7 @@ export interface VpcLink {
1154
1093
 
1155
1094
  statusMessage?: string;
1156
1095
 
1157
- tags?: {
1158
- [key: string]: string;
1159
- };
1096
+ tags?: Record<string, string>;
1160
1097
  }
1161
1098
  export declare namespace VpcLink {
1162
1099
 
@@ -1451,9 +1388,7 @@ export interface ClientCertificate {
1451
1388
 
1452
1389
  expirationDate?: Date;
1453
1390
 
1454
- tags?: {
1455
- [key: string]: string;
1456
- };
1391
+ tags?: Record<string, string>;
1457
1392
  }
1458
1393
  export declare namespace ClientCertificate {
1459
1394
 
@@ -1464,9 +1399,7 @@ export interface GenerateClientCertificateRequest {
1464
1399
 
1465
1400
  description?: string;
1466
1401
 
1467
- tags?: {
1468
- [key: string]: string;
1469
- };
1402
+ tags?: Record<string, string>;
1470
1403
  }
1471
1404
  export declare namespace GenerateClientCertificateRequest {
1472
1405
 
@@ -1769,9 +1702,7 @@ export interface GetExportRequest {
1769
1702
 
1770
1703
  exportType: string | undefined;
1771
1704
 
1772
- parameters?: {
1773
- [key: string]: string;
1774
- };
1705
+ parameters?: Record<string, string>;
1775
1706
 
1776
1707
  accepts?: string;
1777
1708
  }
@@ -1786,13 +1717,9 @@ export interface GatewayResponse {
1786
1717
 
1787
1718
  statusCode?: string;
1788
1719
 
1789
- responseParameters?: {
1790
- [key: string]: string;
1791
- };
1720
+ responseParameters?: Record<string, string>;
1792
1721
 
1793
- responseTemplates?: {
1794
- [key: string]: string;
1795
- };
1722
+ responseTemplates?: Record<string, string>;
1796
1723
 
1797
1724
  defaultResponse?: boolean;
1798
1725
  }
@@ -2062,9 +1989,7 @@ export interface GetSdkRequest {
2062
1989
 
2063
1990
  sdkType: string | undefined;
2064
1991
 
2065
- parameters?: {
2066
- [key: string]: string;
2067
- };
1992
+ parameters?: Record<string, string>;
2068
1993
  }
2069
1994
  export declare namespace GetSdkRequest {
2070
1995
 
@@ -2191,9 +2116,7 @@ export declare namespace GetTagsRequest {
2191
2116
 
2192
2117
  export interface Tags {
2193
2118
 
2194
- tags?: {
2195
- [key: string]: string;
2196
- };
2119
+ tags?: Record<string, string>;
2197
2120
  }
2198
2121
  export declare namespace Tags {
2199
2122
 
@@ -2227,9 +2150,7 @@ export interface Usage {
2227
2150
 
2228
2151
  endDate?: string;
2229
2152
 
2230
- items?: {
2231
- [key: string]: number[][];
2232
- };
2153
+ items?: Record<string, number[][]>;
2233
2154
 
2234
2155
  position?: string;
2235
2156
  }
@@ -2386,9 +2307,7 @@ export interface ImportRestApiRequest {
2386
2307
 
2387
2308
  failOnWarnings?: boolean;
2388
2309
 
2389
- parameters?: {
2390
- [key: string]: string;
2391
- };
2310
+ parameters?: Record<string, string>;
2392
2311
 
2393
2312
  body: Uint8Array | undefined;
2394
2313
  }
@@ -2405,13 +2324,9 @@ export interface PutGatewayResponseRequest {
2405
2324
 
2406
2325
  statusCode?: string;
2407
2326
 
2408
- responseParameters?: {
2409
- [key: string]: string;
2410
- };
2327
+ responseParameters?: Record<string, string>;
2411
2328
 
2412
- responseTemplates?: {
2413
- [key: string]: string;
2414
- };
2329
+ responseTemplates?: Record<string, string>;
2415
2330
  }
2416
2331
  export declare namespace PutGatewayResponseRequest {
2417
2332
 
@@ -2438,13 +2353,9 @@ export interface PutIntegrationRequest {
2438
2353
 
2439
2354
  credentials?: string;
2440
2355
 
2441
- requestParameters?: {
2442
- [key: string]: string;
2443
- };
2356
+ requestParameters?: Record<string, string>;
2444
2357
 
2445
- requestTemplates?: {
2446
- [key: string]: string;
2447
- };
2358
+ requestTemplates?: Record<string, string>;
2448
2359
 
2449
2360
  passthroughBehavior?: string;
2450
2361
 
@@ -2455,6 +2366,7 @@ export interface PutIntegrationRequest {
2455
2366
  contentHandling?: ContentHandlingStrategy | string;
2456
2367
 
2457
2368
  timeoutInMillis?: number;
2369
+
2458
2370
  tlsConfig?: TlsConfig;
2459
2371
  }
2460
2372
  export declare namespace PutIntegrationRequest {
@@ -2474,13 +2386,9 @@ export interface PutIntegrationResponseRequest {
2474
2386
 
2475
2387
  selectionPattern?: string;
2476
2388
 
2477
- responseParameters?: {
2478
- [key: string]: string;
2479
- };
2389
+ responseParameters?: Record<string, string>;
2480
2390
 
2481
- responseTemplates?: {
2482
- [key: string]: string;
2483
- };
2391
+ responseTemplates?: Record<string, string>;
2484
2392
 
2485
2393
  contentHandling?: ContentHandlingStrategy | string;
2486
2394
  }
@@ -2505,13 +2413,9 @@ export interface PutMethodRequest {
2505
2413
 
2506
2414
  operationName?: string;
2507
2415
 
2508
- requestParameters?: {
2509
- [key: string]: boolean;
2510
- };
2416
+ requestParameters?: Record<string, boolean>;
2511
2417
 
2512
- requestModels?: {
2513
- [key: string]: string;
2514
- };
2418
+ requestModels?: Record<string, string>;
2515
2419
 
2516
2420
  requestValidatorId?: string;
2517
2421
 
@@ -2532,13 +2436,9 @@ export interface PutMethodResponseRequest {
2532
2436
 
2533
2437
  statusCode: string | undefined;
2534
2438
 
2535
- responseParameters?: {
2536
- [key: string]: boolean;
2537
- };
2439
+ responseParameters?: Record<string, boolean>;
2538
2440
 
2539
- responseModels?: {
2540
- [key: string]: string;
2541
- };
2441
+ responseModels?: Record<string, string>;
2542
2442
  }
2543
2443
  export declare namespace PutMethodResponseRequest {
2544
2444
 
@@ -2553,9 +2453,7 @@ export interface PutRestApiRequest {
2553
2453
 
2554
2454
  failOnWarnings?: boolean;
2555
2455
 
2556
- parameters?: {
2557
- [key: string]: string;
2558
- };
2456
+ parameters?: Record<string, string>;
2559
2457
 
2560
2458
  body: Uint8Array | undefined;
2561
2459
  }
@@ -2568,9 +2466,7 @@ export interface TagResourceRequest {
2568
2466
 
2569
2467
  resourceArn: string | undefined;
2570
2468
 
2571
- tags: {
2572
- [key: string]: string;
2573
- } | undefined;
2469
+ tags: Record<string, string> | undefined;
2574
2470
  }
2575
2471
  export declare namespace TagResourceRequest {
2576
2472
 
@@ -2583,25 +2479,17 @@ export interface TestInvokeAuthorizerRequest {
2583
2479
 
2584
2480
  authorizerId: string | undefined;
2585
2481
 
2586
- headers?: {
2587
- [key: string]: string;
2588
- };
2482
+ headers?: Record<string, string>;
2589
2483
 
2590
- multiValueHeaders?: {
2591
- [key: string]: string[];
2592
- };
2484
+ multiValueHeaders?: Record<string, string[]>;
2593
2485
 
2594
2486
  pathWithQueryString?: string;
2595
2487
 
2596
2488
  body?: string;
2597
2489
 
2598
- stageVariables?: {
2599
- [key: string]: string;
2600
- };
2490
+ stageVariables?: Record<string, string>;
2601
2491
 
2602
- additionalContext?: {
2603
- [key: string]: string;
2604
- };
2492
+ additionalContext?: Record<string, string>;
2605
2493
  }
2606
2494
  export declare namespace TestInvokeAuthorizerRequest {
2607
2495
 
@@ -2619,13 +2507,10 @@ export interface TestInvokeAuthorizerResponse {
2619
2507
  principalId?: string;
2620
2508
 
2621
2509
  policy?: string;
2622
- authorization?: {
2623
- [key: string]: string[];
2624
- };
2625
2510
 
2626
- claims?: {
2627
- [key: string]: string;
2628
- };
2511
+ authorization?: Record<string, string[]>;
2512
+
2513
+ claims?: Record<string, string>;
2629
2514
  }
2630
2515
  export declare namespace TestInvokeAuthorizerResponse {
2631
2516
 
@@ -2644,19 +2529,13 @@ export interface TestInvokeMethodRequest {
2644
2529
 
2645
2530
  body?: string;
2646
2531
 
2647
- headers?: {
2648
- [key: string]: string;
2649
- };
2532
+ headers?: Record<string, string>;
2650
2533
 
2651
- multiValueHeaders?: {
2652
- [key: string]: string[];
2653
- };
2534
+ multiValueHeaders?: Record<string, string[]>;
2654
2535
 
2655
2536
  clientCertificateId?: string;
2656
2537
 
2657
- stageVariables?: {
2658
- [key: string]: string;
2659
- };
2538
+ stageVariables?: Record<string, string>;
2660
2539
  }
2661
2540
  export declare namespace TestInvokeMethodRequest {
2662
2541
 
@@ -2669,13 +2548,9 @@ export interface TestInvokeMethodResponse {
2669
2548
 
2670
2549
  body?: string;
2671
2550
 
2672
- headers?: {
2673
- [key: string]: string;
2674
- };
2551
+ headers?: Record<string, string>;
2675
2552
 
2676
- multiValueHeaders?: {
2677
- [key: string]: string[];
2678
- };
2553
+ multiValueHeaders?: Record<string, string[]>;
2679
2554
 
2680
2555
  log?: string;
2681
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.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-sdk-api-gateway": "3.78.0",
32
33
  "@aws-sdk/middleware-serde": "3.78.0",
@@ -36,15 +37,15 @@
36
37
  "@aws-sdk/node-config-provider": "3.80.0",
37
38
  "@aws-sdk/node-http-handler": "3.94.0",
38
39
  "@aws-sdk/protocol-http": "3.78.0",
39
- "@aws-sdk/smithy-client": "3.85.0",
40
+ "@aws-sdk/smithy-client": "3.99.0",
40
41
  "@aws-sdk/types": "3.78.0",
41
42
  "@aws-sdk/url-parser": "3.78.0",
42
43
  "@aws-sdk/util-base64-browser": "3.58.0",
43
44
  "@aws-sdk/util-base64-node": "3.55.0",
44
45
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
46
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.85.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.85.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.99.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.99.0",
48
49
  "@aws-sdk/util-user-agent-browser": "3.78.0",
49
50
  "@aws-sdk/util-user-agent-node": "3.80.0",
50
51
  "@aws-sdk/util-utf8-browser": "3.55.0",