@aws-sdk/client-api-gateway 3.934.0 → 3.936.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +189 -154
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +169 -0
- package/dist-es/models/errors.js +91 -0
- package/dist-es/models/models_0.js +1 -236
- package/dist-es/schemas/schemas_0.js +17 -10
- package/dist-types/commands/CreateDomainNameCommand.d.ts +5 -3
- package/dist-types/commands/CreateResourceCommand.d.ts +1 -0
- package/dist-types/commands/CreateRestApiCommand.d.ts +6 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +3 -2
- package/dist-types/commands/GetDomainNamesCommand.d.ts +3 -2
- package/dist-types/commands/GetIntegrationCommand.d.ts +1 -0
- package/dist-types/commands/GetMethodCommand.d.ts +1 -0
- package/dist-types/commands/GetResourceCommand.d.ts +1 -0
- package/dist-types/commands/GetResourcesCommand.d.ts +1 -0
- package/dist-types/commands/GetRestApiCommand.d.ts +4 -0
- package/dist-types/commands/GetRestApisCommand.d.ts +4 -0
- package/dist-types/commands/ImportRestApiCommand.d.ts +4 -0
- package/dist-types/commands/PutIntegrationCommand.d.ts +2 -0
- package/dist-types/commands/PutMethodCommand.d.ts +1 -0
- package/dist-types/commands/PutRestApiCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +3 -2
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateMethodCommand.d.ts +1 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRestApiCommand.d.ts +4 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +377 -0
- package/dist-types/models/errors.d.ts +89 -0
- package/dist-types/models/models_0.d.ts +71 -420
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +212 -0
- package/dist-types/ts3.4/models/errors.d.ts +50 -0
- package/dist-types/ts3.4/models/models_0.d.ts +38 -233
- package/package.json +20 -20
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const AccessAssociationSourceType: {
|
|
8
|
-
readonly VPCE: "VPCE";
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*/
|
|
13
|
-
export type AccessAssociationSourceType = (typeof AccessAssociationSourceType)[keyof typeof AccessAssociationSourceType];
|
|
1
|
+
import { AccessAssociationSourceType, ApiKeysFormat, ApiKeySourceType, ApiStatus, AuthorizerType, CacheClusterSize, CacheClusterStatus, ConnectionType, ContentHandlingStrategy, DocumentationPartType, DomainNameStatus, EndpointAccessMode, EndpointType, GatewayResponseType, IntegrationType, IpAddressType, LocationStatusType, Op, PutMode, QuotaPeriodType, ResourceOwner, ResponseTransferMode, RoutingMode, SecurityPolicy, UnauthorizedCacheControlHeaderStrategy, VpcLinkStatus } from "./enums";
|
|
14
2
|
/**
|
|
15
3
|
* <p>Access log settings, including the access log format and access log destination ARN.</p>
|
|
16
4
|
* @public
|
|
@@ -162,29 +150,6 @@ export interface ApiKeys {
|
|
|
162
150
|
*/
|
|
163
151
|
position?: string | undefined;
|
|
164
152
|
}
|
|
165
|
-
/**
|
|
166
|
-
* @public
|
|
167
|
-
* @enum
|
|
168
|
-
*/
|
|
169
|
-
export declare const ApiKeysFormat: {
|
|
170
|
-
readonly csv: "csv";
|
|
171
|
-
};
|
|
172
|
-
/**
|
|
173
|
-
* @public
|
|
174
|
-
*/
|
|
175
|
-
export type ApiKeysFormat = (typeof ApiKeysFormat)[keyof typeof ApiKeysFormat];
|
|
176
|
-
/**
|
|
177
|
-
* @public
|
|
178
|
-
* @enum
|
|
179
|
-
*/
|
|
180
|
-
export declare const ApiKeySourceType: {
|
|
181
|
-
readonly AUTHORIZER: "AUTHORIZER";
|
|
182
|
-
readonly HEADER: "HEADER";
|
|
183
|
-
};
|
|
184
|
-
/**
|
|
185
|
-
* @public
|
|
186
|
-
*/
|
|
187
|
-
export type ApiKeySourceType = (typeof ApiKeySourceType)[keyof typeof ApiKeySourceType];
|
|
188
153
|
/**
|
|
189
154
|
* <p>API stage name of the associated API stage in a usage plan.</p>
|
|
190
155
|
* @public
|
|
@@ -206,19 +171,6 @@ export interface ApiStage {
|
|
|
206
171
|
*/
|
|
207
172
|
throttle?: Record<string, ThrottleSettings> | undefined;
|
|
208
173
|
}
|
|
209
|
-
/**
|
|
210
|
-
* @public
|
|
211
|
-
* @enum
|
|
212
|
-
*/
|
|
213
|
-
export declare const AuthorizerType: {
|
|
214
|
-
readonly COGNITO_USER_POOLS: "COGNITO_USER_POOLS";
|
|
215
|
-
readonly REQUEST: "REQUEST";
|
|
216
|
-
readonly TOKEN: "TOKEN";
|
|
217
|
-
};
|
|
218
|
-
/**
|
|
219
|
-
* @public
|
|
220
|
-
*/
|
|
221
|
-
export type AuthorizerType = (typeof AuthorizerType)[keyof typeof AuthorizerType];
|
|
222
174
|
/**
|
|
223
175
|
* <p>Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.</p>
|
|
224
176
|
* @public
|
|
@@ -305,30 +257,6 @@ export interface Authorizers {
|
|
|
305
257
|
*/
|
|
306
258
|
position?: string | undefined;
|
|
307
259
|
}
|
|
308
|
-
/**
|
|
309
|
-
* <p>The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
310
|
-
* @public
|
|
311
|
-
*/
|
|
312
|
-
export declare class BadRequestException extends __BaseException {
|
|
313
|
-
readonly name: "BadRequestException";
|
|
314
|
-
readonly $fault: "client";
|
|
315
|
-
/**
|
|
316
|
-
* @internal
|
|
317
|
-
*/
|
|
318
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
319
|
-
}
|
|
320
|
-
/**
|
|
321
|
-
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
322
|
-
* @public
|
|
323
|
-
*/
|
|
324
|
-
export declare class ConflictException extends __BaseException {
|
|
325
|
-
readonly name: "ConflictException";
|
|
326
|
-
readonly $fault: "client";
|
|
327
|
-
/**
|
|
328
|
-
* @internal
|
|
329
|
-
*/
|
|
330
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
331
|
-
}
|
|
332
260
|
/**
|
|
333
261
|
* <p>A reference to a unique stage identified in the format <code>\{restApiId\}/\{stage\}</code>.</p>
|
|
334
262
|
* @public
|
|
@@ -391,56 +319,6 @@ export interface CreateApiKeyRequest {
|
|
|
391
319
|
*/
|
|
392
320
|
tags?: Record<string, string> | undefined;
|
|
393
321
|
}
|
|
394
|
-
/**
|
|
395
|
-
* <p>The request exceeded the rate limit. Retry after the specified time period.</p>
|
|
396
|
-
* @public
|
|
397
|
-
*/
|
|
398
|
-
export declare class LimitExceededException extends __BaseException {
|
|
399
|
-
readonly name: "LimitExceededException";
|
|
400
|
-
readonly $fault: "client";
|
|
401
|
-
retryAfterSeconds?: string | undefined;
|
|
402
|
-
/**
|
|
403
|
-
* @internal
|
|
404
|
-
*/
|
|
405
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* <p>The requested resource is not found. Make sure that the request URI is correct.</p>
|
|
409
|
-
* @public
|
|
410
|
-
*/
|
|
411
|
-
export declare class NotFoundException extends __BaseException {
|
|
412
|
-
readonly name: "NotFoundException";
|
|
413
|
-
readonly $fault: "client";
|
|
414
|
-
/**
|
|
415
|
-
* @internal
|
|
416
|
-
*/
|
|
417
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
418
|
-
}
|
|
419
|
-
/**
|
|
420
|
-
* <p>The request has reached its throttling limit. Retry after the specified time period.</p>
|
|
421
|
-
* @public
|
|
422
|
-
*/
|
|
423
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
424
|
-
readonly name: "TooManyRequestsException";
|
|
425
|
-
readonly $fault: "client";
|
|
426
|
-
retryAfterSeconds?: string | undefined;
|
|
427
|
-
/**
|
|
428
|
-
* @internal
|
|
429
|
-
*/
|
|
430
|
-
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
431
|
-
}
|
|
432
|
-
/**
|
|
433
|
-
* <p>The request is denied because the caller has insufficient permissions.</p>
|
|
434
|
-
* @public
|
|
435
|
-
*/
|
|
436
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
437
|
-
readonly name: "UnauthorizedException";
|
|
438
|
-
readonly $fault: "client";
|
|
439
|
-
/**
|
|
440
|
-
* @internal
|
|
441
|
-
*/
|
|
442
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
443
|
-
}
|
|
444
322
|
/**
|
|
445
323
|
* <p>Request to add a new Authorizer to an existing RestApi resource.</p>
|
|
446
324
|
* @public
|
|
@@ -565,24 +443,6 @@ export interface CreateBasePathMappingRequest {
|
|
|
565
443
|
*/
|
|
566
444
|
stage?: string | undefined;
|
|
567
445
|
}
|
|
568
|
-
/**
|
|
569
|
-
* @public
|
|
570
|
-
* @enum
|
|
571
|
-
*/
|
|
572
|
-
export declare const CacheClusterSize: {
|
|
573
|
-
readonly SIZE_0_POINT_5_GB: "0.5";
|
|
574
|
-
readonly SIZE_118_GB: "118";
|
|
575
|
-
readonly SIZE_13_POINT_5_GB: "13.5";
|
|
576
|
-
readonly SIZE_1_POINT_6_GB: "1.6";
|
|
577
|
-
readonly SIZE_237_GB: "237";
|
|
578
|
-
readonly SIZE_28_POINT_4_GB: "28.4";
|
|
579
|
-
readonly SIZE_58_POINT_2_GB: "58.2";
|
|
580
|
-
readonly SIZE_6_POINT_1_GB: "6.1";
|
|
581
|
-
};
|
|
582
|
-
/**
|
|
583
|
-
* @public
|
|
584
|
-
*/
|
|
585
|
-
export type CacheClusterSize = (typeof CacheClusterSize)[keyof typeof CacheClusterSize];
|
|
586
446
|
/**
|
|
587
447
|
* <p>The input configuration for a canary deployment.</p>
|
|
588
448
|
* @public
|
|
@@ -699,41 +559,6 @@ export interface Deployment {
|
|
|
699
559
|
*/
|
|
700
560
|
apiSummary?: Record<string, Record<string, MethodSnapshot>> | undefined;
|
|
701
561
|
}
|
|
702
|
-
/**
|
|
703
|
-
* <p>The requested service is not available. For details see the accompanying error message. Retry after the specified time period.</p>
|
|
704
|
-
* @public
|
|
705
|
-
*/
|
|
706
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
707
|
-
readonly name: "ServiceUnavailableException";
|
|
708
|
-
readonly $fault: "server";
|
|
709
|
-
retryAfterSeconds?: string | undefined;
|
|
710
|
-
/**
|
|
711
|
-
* @internal
|
|
712
|
-
*/
|
|
713
|
-
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
714
|
-
}
|
|
715
|
-
/**
|
|
716
|
-
* @public
|
|
717
|
-
* @enum
|
|
718
|
-
*/
|
|
719
|
-
export declare const DocumentationPartType: {
|
|
720
|
-
readonly API: "API";
|
|
721
|
-
readonly AUTHORIZER: "AUTHORIZER";
|
|
722
|
-
readonly METHOD: "METHOD";
|
|
723
|
-
readonly MODEL: "MODEL";
|
|
724
|
-
readonly PATH_PARAMETER: "PATH_PARAMETER";
|
|
725
|
-
readonly QUERY_PARAMETER: "QUERY_PARAMETER";
|
|
726
|
-
readonly REQUEST_BODY: "REQUEST_BODY";
|
|
727
|
-
readonly REQUEST_HEADER: "REQUEST_HEADER";
|
|
728
|
-
readonly RESOURCE: "RESOURCE";
|
|
729
|
-
readonly RESPONSE: "RESPONSE";
|
|
730
|
-
readonly RESPONSE_BODY: "RESPONSE_BODY";
|
|
731
|
-
readonly RESPONSE_HEADER: "RESPONSE_HEADER";
|
|
732
|
-
};
|
|
733
|
-
/**
|
|
734
|
-
* @public
|
|
735
|
-
*/
|
|
736
|
-
export type DocumentationPartType = (typeof DocumentationPartType)[keyof typeof DocumentationPartType];
|
|
737
562
|
/**
|
|
738
563
|
* <p>Specifies the target API entity to which the documentation applies.</p>
|
|
739
564
|
* @public
|
|
@@ -854,31 +679,6 @@ export interface DocumentationVersion {
|
|
|
854
679
|
*/
|
|
855
680
|
description?: string | undefined;
|
|
856
681
|
}
|
|
857
|
-
/**
|
|
858
|
-
* @public
|
|
859
|
-
* @enum
|
|
860
|
-
*/
|
|
861
|
-
export declare const IpAddressType: {
|
|
862
|
-
readonly dualstack: "dualstack";
|
|
863
|
-
readonly ipv4: "ipv4";
|
|
864
|
-
};
|
|
865
|
-
/**
|
|
866
|
-
* @public
|
|
867
|
-
*/
|
|
868
|
-
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
869
|
-
/**
|
|
870
|
-
* @public
|
|
871
|
-
* @enum
|
|
872
|
-
*/
|
|
873
|
-
export declare const EndpointType: {
|
|
874
|
-
readonly EDGE: "EDGE";
|
|
875
|
-
readonly PRIVATE: "PRIVATE";
|
|
876
|
-
readonly REGIONAL: "REGIONAL";
|
|
877
|
-
};
|
|
878
|
-
/**
|
|
879
|
-
* @public
|
|
880
|
-
*/
|
|
881
|
-
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
882
682
|
/**
|
|
883
683
|
* <p>The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has and the IP address types that can invoke it. </p>
|
|
884
684
|
* @public
|
|
@@ -924,31 +724,6 @@ export interface MutualTlsAuthenticationInput {
|
|
|
924
724
|
*/
|
|
925
725
|
truststoreVersion?: string | undefined;
|
|
926
726
|
}
|
|
927
|
-
/**
|
|
928
|
-
* @public
|
|
929
|
-
* @enum
|
|
930
|
-
*/
|
|
931
|
-
export declare const RoutingMode: {
|
|
932
|
-
readonly BASE_PATH_MAPPING_ONLY: "BASE_PATH_MAPPING_ONLY";
|
|
933
|
-
readonly ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY";
|
|
934
|
-
readonly ROUTING_RULE_THEN_BASE_PATH_MAPPING: "ROUTING_RULE_THEN_BASE_PATH_MAPPING";
|
|
935
|
-
};
|
|
936
|
-
/**
|
|
937
|
-
* @public
|
|
938
|
-
*/
|
|
939
|
-
export type RoutingMode = (typeof RoutingMode)[keyof typeof RoutingMode];
|
|
940
|
-
/**
|
|
941
|
-
* @public
|
|
942
|
-
* @enum
|
|
943
|
-
*/
|
|
944
|
-
export declare const SecurityPolicy: {
|
|
945
|
-
readonly TLS_1_0: "TLS_1_0";
|
|
946
|
-
readonly TLS_1_2: "TLS_1_2";
|
|
947
|
-
};
|
|
948
|
-
/**
|
|
949
|
-
* @public
|
|
950
|
-
*/
|
|
951
|
-
export type SecurityPolicy = (typeof SecurityPolicy)[keyof typeof SecurityPolicy];
|
|
952
727
|
/**
|
|
953
728
|
* <p>A request to create a new domain name.</p>
|
|
954
729
|
* @public
|
|
@@ -1005,10 +780,17 @@ export interface CreateDomainNameRequest {
|
|
|
1005
780
|
*/
|
|
1006
781
|
tags?: Record<string, string> | undefined;
|
|
1007
782
|
/**
|
|
1008
|
-
* <p>The Transport Layer Security (TLS) version + cipher suite for this DomainName
|
|
783
|
+
* <p>The Transport Layer Security (TLS) version + cipher suite for this DomainName.</p>
|
|
1009
784
|
* @public
|
|
1010
785
|
*/
|
|
1011
786
|
securityPolicy?: SecurityPolicy | undefined;
|
|
787
|
+
/**
|
|
788
|
+
* <p>
|
|
789
|
+
* The endpoint access mode of the DomainName. Only available for DomainNames that use security policies that start with <code>SecurityPolicy_</code>.
|
|
790
|
+
* </p>
|
|
791
|
+
* @public
|
|
792
|
+
*/
|
|
793
|
+
endpointAccessMode?: EndpointAccessMode | undefined;
|
|
1012
794
|
/**
|
|
1013
795
|
* <p>The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway
|
|
1014
796
|
* performs two-way authentication between the client and the server. Clients must present a
|
|
@@ -1038,21 +820,6 @@ export interface CreateDomainNameRequest {
|
|
|
1038
820
|
*/
|
|
1039
821
|
routingMode?: RoutingMode | undefined;
|
|
1040
822
|
}
|
|
1041
|
-
/**
|
|
1042
|
-
* @public
|
|
1043
|
-
* @enum
|
|
1044
|
-
*/
|
|
1045
|
-
export declare const DomainNameStatus: {
|
|
1046
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
1047
|
-
readonly PENDING: "PENDING";
|
|
1048
|
-
readonly PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT";
|
|
1049
|
-
readonly PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION";
|
|
1050
|
-
readonly UPDATING: "UPDATING";
|
|
1051
|
-
};
|
|
1052
|
-
/**
|
|
1053
|
-
* @public
|
|
1054
|
-
*/
|
|
1055
|
-
export type DomainNameStatus = (typeof DomainNameStatus)[keyof typeof DomainNameStatus];
|
|
1056
823
|
/**
|
|
1057
824
|
* <p>The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway
|
|
1058
825
|
* performs two-way authentication between the client and the server. Clients must present a
|
|
@@ -1165,10 +932,17 @@ export interface DomainName {
|
|
|
1165
932
|
*/
|
|
1166
933
|
domainNameStatusMessage?: string | undefined;
|
|
1167
934
|
/**
|
|
1168
|
-
* <p>The Transport Layer Security (TLS) version + cipher suite for this DomainName
|
|
935
|
+
* <p>The Transport Layer Security (TLS) version + cipher suite for this DomainName.</p>
|
|
1169
936
|
* @public
|
|
1170
937
|
*/
|
|
1171
938
|
securityPolicy?: SecurityPolicy | undefined;
|
|
939
|
+
/**
|
|
940
|
+
* <p>
|
|
941
|
+
* The endpoint access mode of the DomainName.
|
|
942
|
+
* </p>
|
|
943
|
+
* @public
|
|
944
|
+
*/
|
|
945
|
+
endpointAccessMode?: EndpointAccessMode | undefined;
|
|
1172
946
|
/**
|
|
1173
947
|
* <p>The collection of tags. Each tag element is associated with a given resource.</p>
|
|
1174
948
|
* @public
|
|
@@ -1411,30 +1185,6 @@ export interface CreateResourceRequest {
|
|
|
1411
1185
|
*/
|
|
1412
1186
|
pathPart: string | undefined;
|
|
1413
1187
|
}
|
|
1414
|
-
/**
|
|
1415
|
-
* @public
|
|
1416
|
-
* @enum
|
|
1417
|
-
*/
|
|
1418
|
-
export declare const ConnectionType: {
|
|
1419
|
-
readonly INTERNET: "INTERNET";
|
|
1420
|
-
readonly VPC_LINK: "VPC_LINK";
|
|
1421
|
-
};
|
|
1422
|
-
/**
|
|
1423
|
-
* @public
|
|
1424
|
-
*/
|
|
1425
|
-
export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
|
|
1426
|
-
/**
|
|
1427
|
-
* @public
|
|
1428
|
-
* @enum
|
|
1429
|
-
*/
|
|
1430
|
-
export declare const ContentHandlingStrategy: {
|
|
1431
|
-
readonly CONVERT_TO_BINARY: "CONVERT_TO_BINARY";
|
|
1432
|
-
readonly CONVERT_TO_TEXT: "CONVERT_TO_TEXT";
|
|
1433
|
-
};
|
|
1434
|
-
/**
|
|
1435
|
-
* @public
|
|
1436
|
-
*/
|
|
1437
|
-
export type ContentHandlingStrategy = (typeof ContentHandlingStrategy)[keyof typeof ContentHandlingStrategy];
|
|
1438
1188
|
/**
|
|
1439
1189
|
* <p>Represents an integration response. The status code must map to an existing MethodResponse, and parameters and templates can be used to transform the back-end response.</p>
|
|
1440
1190
|
* @public
|
|
@@ -1489,21 +1239,6 @@ export interface TlsConfig {
|
|
|
1489
1239
|
*/
|
|
1490
1240
|
insecureSkipVerification?: boolean | undefined;
|
|
1491
1241
|
}
|
|
1492
|
-
/**
|
|
1493
|
-
* @public
|
|
1494
|
-
* @enum
|
|
1495
|
-
*/
|
|
1496
|
-
export declare const IntegrationType: {
|
|
1497
|
-
readonly AWS: "AWS";
|
|
1498
|
-
readonly AWS_PROXY: "AWS_PROXY";
|
|
1499
|
-
readonly HTTP: "HTTP";
|
|
1500
|
-
readonly HTTP_PROXY: "HTTP_PROXY";
|
|
1501
|
-
readonly MOCK: "MOCK";
|
|
1502
|
-
};
|
|
1503
|
-
/**
|
|
1504
|
-
* @public
|
|
1505
|
-
*/
|
|
1506
|
-
export type IntegrationType = (typeof IntegrationType)[keyof typeof IntegrationType];
|
|
1507
1242
|
/**
|
|
1508
1243
|
* <p>Represents an <code>HTTP</code>, <code>HTTP_PROXY</code>, <code>AWS</code>, <code>AWS_PROXY</code>, or Mock integration.</p>
|
|
1509
1244
|
* @public
|
|
@@ -1615,6 +1350,13 @@ export interface Integration {
|
|
|
1615
1350
|
* @public
|
|
1616
1351
|
*/
|
|
1617
1352
|
tlsConfig?: TlsConfig | undefined;
|
|
1353
|
+
/**
|
|
1354
|
+
* <p>
|
|
1355
|
+
* The response transfer mode of the integration.
|
|
1356
|
+
* </p>
|
|
1357
|
+
* @public
|
|
1358
|
+
*/
|
|
1359
|
+
responseTransferMode?: ResponseTransferMode | undefined;
|
|
1618
1360
|
}
|
|
1619
1361
|
/**
|
|
1620
1362
|
* <p>Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template. </p>
|
|
@@ -1802,6 +1544,19 @@ export interface CreateRestApiRequest {
|
|
|
1802
1544
|
* @public
|
|
1803
1545
|
*/
|
|
1804
1546
|
disableExecuteApiEndpoint?: boolean | undefined;
|
|
1547
|
+
/**
|
|
1548
|
+
* <p>
|
|
1549
|
+
* The Transport Layer Security (TLS) version + cipher suite for this RestApi.
|
|
1550
|
+
* </p>
|
|
1551
|
+
* @public
|
|
1552
|
+
*/
|
|
1553
|
+
securityPolicy?: SecurityPolicy | undefined;
|
|
1554
|
+
/**
|
|
1555
|
+
* <p>
|
|
1556
|
+
* The endpoint access mode of the RestApi. Only available for RestApis that use security policies that start with <code>SecurityPolicy_</code>.</p>
|
|
1557
|
+
* @public
|
|
1558
|
+
*/
|
|
1559
|
+
endpointAccessMode?: EndpointAccessMode | undefined;
|
|
1805
1560
|
}
|
|
1806
1561
|
/**
|
|
1807
1562
|
* <p>Represents a REST API.</p>
|
|
@@ -1884,6 +1639,33 @@ export interface RestApi {
|
|
|
1884
1639
|
* @public
|
|
1885
1640
|
*/
|
|
1886
1641
|
rootResourceId?: string | undefined;
|
|
1642
|
+
/**
|
|
1643
|
+
* <p>
|
|
1644
|
+
* The Transport Layer Security (TLS) version + cipher suite for this RestApi.
|
|
1645
|
+
* </p>
|
|
1646
|
+
* @public
|
|
1647
|
+
*/
|
|
1648
|
+
securityPolicy?: SecurityPolicy | undefined;
|
|
1649
|
+
/**
|
|
1650
|
+
* <p>
|
|
1651
|
+
* The endpoint access mode of the RestApi.
|
|
1652
|
+
* </p>
|
|
1653
|
+
* @public
|
|
1654
|
+
*/
|
|
1655
|
+
endpointAccessMode?: EndpointAccessMode | undefined;
|
|
1656
|
+
/**
|
|
1657
|
+
* <p>The ApiStatus of the RestApi.
|
|
1658
|
+
* </p>
|
|
1659
|
+
* @public
|
|
1660
|
+
*/
|
|
1661
|
+
apiStatus?: ApiStatus | undefined;
|
|
1662
|
+
/**
|
|
1663
|
+
* <p>
|
|
1664
|
+
* The status message of the RestApi. When the status message is <code>UPDATING</code> you can still invoke it.
|
|
1665
|
+
* </p>
|
|
1666
|
+
* @public
|
|
1667
|
+
*/
|
|
1668
|
+
apiStatusMessage?: string | undefined;
|
|
1887
1669
|
}
|
|
1888
1670
|
/**
|
|
1889
1671
|
* <p>Configuration settings of a canary deployment.</p>
|
|
@@ -1974,34 +1756,6 @@ export interface CreateStageRequest {
|
|
|
1974
1756
|
*/
|
|
1975
1757
|
tags?: Record<string, string> | undefined;
|
|
1976
1758
|
}
|
|
1977
|
-
/**
|
|
1978
|
-
* @public
|
|
1979
|
-
* @enum
|
|
1980
|
-
*/
|
|
1981
|
-
export declare const CacheClusterStatus: {
|
|
1982
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
1983
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
1984
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
1985
|
-
readonly FLUSH_IN_PROGRESS: "FLUSH_IN_PROGRESS";
|
|
1986
|
-
readonly NOT_AVAILABLE: "NOT_AVAILABLE";
|
|
1987
|
-
};
|
|
1988
|
-
/**
|
|
1989
|
-
* @public
|
|
1990
|
-
*/
|
|
1991
|
-
export type CacheClusterStatus = (typeof CacheClusterStatus)[keyof typeof CacheClusterStatus];
|
|
1992
|
-
/**
|
|
1993
|
-
* @public
|
|
1994
|
-
* @enum
|
|
1995
|
-
*/
|
|
1996
|
-
export declare const UnauthorizedCacheControlHeaderStrategy: {
|
|
1997
|
-
readonly FAIL_WITH_403: "FAIL_WITH_403";
|
|
1998
|
-
readonly SUCCEED_WITHOUT_RESPONSE_HEADER: "SUCCEED_WITHOUT_RESPONSE_HEADER";
|
|
1999
|
-
readonly SUCCEED_WITH_RESPONSE_HEADER: "SUCCEED_WITH_RESPONSE_HEADER";
|
|
2000
|
-
};
|
|
2001
|
-
/**
|
|
2002
|
-
* @public
|
|
2003
|
-
*/
|
|
2004
|
-
export type UnauthorizedCacheControlHeaderStrategy = (typeof UnauthorizedCacheControlHeaderStrategy)[keyof typeof UnauthorizedCacheControlHeaderStrategy];
|
|
2005
1759
|
/**
|
|
2006
1760
|
* <p>Specifies the method setting properties.</p>
|
|
2007
1761
|
* @public
|
|
@@ -2150,19 +1904,6 @@ export interface Stage {
|
|
|
2150
1904
|
*/
|
|
2151
1905
|
lastUpdatedDate?: Date | undefined;
|
|
2152
1906
|
}
|
|
2153
|
-
/**
|
|
2154
|
-
* @public
|
|
2155
|
-
* @enum
|
|
2156
|
-
*/
|
|
2157
|
-
export declare const QuotaPeriodType: {
|
|
2158
|
-
readonly DAY: "DAY";
|
|
2159
|
-
readonly MONTH: "MONTH";
|
|
2160
|
-
readonly WEEK: "WEEK";
|
|
2161
|
-
};
|
|
2162
|
-
/**
|
|
2163
|
-
* @public
|
|
2164
|
-
*/
|
|
2165
|
-
export type QuotaPeriodType = (typeof QuotaPeriodType)[keyof typeof QuotaPeriodType];
|
|
2166
1907
|
/**
|
|
2167
1908
|
* <p>Quotas configured for a usage plan.</p>
|
|
2168
1909
|
* @public
|
|
@@ -2342,20 +2083,6 @@ export interface CreateVpcLinkRequest {
|
|
|
2342
2083
|
*/
|
|
2343
2084
|
tags?: Record<string, string> | undefined;
|
|
2344
2085
|
}
|
|
2345
|
-
/**
|
|
2346
|
-
* @public
|
|
2347
|
-
* @enum
|
|
2348
|
-
*/
|
|
2349
|
-
export declare const VpcLinkStatus: {
|
|
2350
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
2351
|
-
readonly DELETING: "DELETING";
|
|
2352
|
-
readonly FAILED: "FAILED";
|
|
2353
|
-
readonly PENDING: "PENDING";
|
|
2354
|
-
};
|
|
2355
|
-
/**
|
|
2356
|
-
* @public
|
|
2357
|
-
*/
|
|
2358
|
-
export type VpcLinkStatus = (typeof VpcLinkStatus)[keyof typeof VpcLinkStatus];
|
|
2359
2086
|
/**
|
|
2360
2087
|
* <p>An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).</p>
|
|
2361
2088
|
* @public
|
|
@@ -2536,37 +2263,6 @@ export interface DeleteDomainNameAccessAssociationRequest {
|
|
|
2536
2263
|
*/
|
|
2537
2264
|
domainNameAccessAssociationArn: string | undefined;
|
|
2538
2265
|
}
|
|
2539
|
-
/**
|
|
2540
|
-
* @public
|
|
2541
|
-
* @enum
|
|
2542
|
-
*/
|
|
2543
|
-
export declare const GatewayResponseType: {
|
|
2544
|
-
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
2545
|
-
readonly API_CONFIGURATION_ERROR: "API_CONFIGURATION_ERROR";
|
|
2546
|
-
readonly AUTHORIZER_CONFIGURATION_ERROR: "AUTHORIZER_CONFIGURATION_ERROR";
|
|
2547
|
-
readonly AUTHORIZER_FAILURE: "AUTHORIZER_FAILURE";
|
|
2548
|
-
readonly BAD_REQUEST_BODY: "BAD_REQUEST_BODY";
|
|
2549
|
-
readonly BAD_REQUEST_PARAMETERS: "BAD_REQUEST_PARAMETERS";
|
|
2550
|
-
readonly DEFAULT_4XX: "DEFAULT_4XX";
|
|
2551
|
-
readonly DEFAULT_5XX: "DEFAULT_5XX";
|
|
2552
|
-
readonly EXPIRED_TOKEN: "EXPIRED_TOKEN";
|
|
2553
|
-
readonly INTEGRATION_FAILURE: "INTEGRATION_FAILURE";
|
|
2554
|
-
readonly INTEGRATION_TIMEOUT: "INTEGRATION_TIMEOUT";
|
|
2555
|
-
readonly INVALID_API_KEY: "INVALID_API_KEY";
|
|
2556
|
-
readonly INVALID_SIGNATURE: "INVALID_SIGNATURE";
|
|
2557
|
-
readonly MISSING_AUTHENTICATION_TOKEN: "MISSING_AUTHENTICATION_TOKEN";
|
|
2558
|
-
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
2559
|
-
readonly REQUEST_TOO_LARGE: "REQUEST_TOO_LARGE";
|
|
2560
|
-
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
2561
|
-
readonly THROTTLED: "THROTTLED";
|
|
2562
|
-
readonly UNAUTHORIZED: "UNAUTHORIZED";
|
|
2563
|
-
readonly UNSUPPORTED_MEDIA_TYPE: "UNSUPPORTED_MEDIA_TYPE";
|
|
2564
|
-
readonly WAF_FILTERED: "WAF_FILTERED";
|
|
2565
|
-
};
|
|
2566
|
-
/**
|
|
2567
|
-
* @public
|
|
2568
|
-
*/
|
|
2569
|
-
export type GatewayResponseType = (typeof GatewayResponseType)[keyof typeof GatewayResponseType];
|
|
2570
2266
|
/**
|
|
2571
2267
|
* <p>Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.</p>
|
|
2572
2268
|
* @public
|
|
@@ -3163,18 +2859,6 @@ export interface DocumentationParts {
|
|
|
3163
2859
|
*/
|
|
3164
2860
|
position?: string | undefined;
|
|
3165
2861
|
}
|
|
3166
|
-
/**
|
|
3167
|
-
* @public
|
|
3168
|
-
* @enum
|
|
3169
|
-
*/
|
|
3170
|
-
export declare const LocationStatusType: {
|
|
3171
|
-
readonly DOCUMENTED: "DOCUMENTED";
|
|
3172
|
-
readonly UNDOCUMENTED: "UNDOCUMENTED";
|
|
3173
|
-
};
|
|
3174
|
-
/**
|
|
3175
|
-
* @public
|
|
3176
|
-
*/
|
|
3177
|
-
export type LocationStatusType = (typeof LocationStatusType)[keyof typeof LocationStatusType];
|
|
3178
2862
|
/**
|
|
3179
2863
|
* <p>Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).</p>
|
|
3180
2864
|
* @public
|
|
@@ -3305,18 +2989,6 @@ export interface DomainNameAccessAssociations {
|
|
|
3305
2989
|
*/
|
|
3306
2990
|
position?: string | undefined;
|
|
3307
2991
|
}
|
|
3308
|
-
/**
|
|
3309
|
-
* @public
|
|
3310
|
-
* @enum
|
|
3311
|
-
*/
|
|
3312
|
-
export declare const ResourceOwner: {
|
|
3313
|
-
readonly OTHER_ACCOUNTS: "OTHER_ACCOUNTS";
|
|
3314
|
-
readonly SELF: "SELF";
|
|
3315
|
-
};
|
|
3316
|
-
/**
|
|
3317
|
-
* @public
|
|
3318
|
-
*/
|
|
3319
|
-
export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
|
|
3320
2992
|
/**
|
|
3321
2993
|
* @public
|
|
3322
2994
|
*/
|
|
@@ -4325,18 +3997,6 @@ export interface DocumentationPartIds {
|
|
|
4325
3997
|
*/
|
|
4326
3998
|
warnings?: string[] | undefined;
|
|
4327
3999
|
}
|
|
4328
|
-
/**
|
|
4329
|
-
* @public
|
|
4330
|
-
* @enum
|
|
4331
|
-
*/
|
|
4332
|
-
export declare const PutMode: {
|
|
4333
|
-
readonly Merge: "merge";
|
|
4334
|
-
readonly Overwrite: "overwrite";
|
|
4335
|
-
};
|
|
4336
|
-
/**
|
|
4337
|
-
* @public
|
|
4338
|
-
*/
|
|
4339
|
-
export type PutMode = (typeof PutMode)[keyof typeof PutMode];
|
|
4340
4000
|
/**
|
|
4341
4001
|
* <p>Import documentation parts from an external (e.g., OpenAPI) definition file. </p>
|
|
4342
4002
|
* @public
|
|
@@ -4526,6 +4186,13 @@ export interface PutIntegrationRequest {
|
|
|
4526
4186
|
* @public
|
|
4527
4187
|
*/
|
|
4528
4188
|
tlsConfig?: TlsConfig | undefined;
|
|
4189
|
+
/**
|
|
4190
|
+
* <p>
|
|
4191
|
+
* The response transfer mode of the integration.
|
|
4192
|
+
* </p>
|
|
4193
|
+
* @public
|
|
4194
|
+
*/
|
|
4195
|
+
responseTransferMode?: ResponseTransferMode | undefined;
|
|
4529
4196
|
}
|
|
4530
4197
|
/**
|
|
4531
4198
|
* <p>Represents a put integration response request.</p>
|
|
@@ -4929,22 +4596,6 @@ export interface UntagResourceRequest {
|
|
|
4929
4596
|
*/
|
|
4930
4597
|
tagKeys: string[] | undefined;
|
|
4931
4598
|
}
|
|
4932
|
-
/**
|
|
4933
|
-
* @public
|
|
4934
|
-
* @enum
|
|
4935
|
-
*/
|
|
4936
|
-
export declare const Op: {
|
|
4937
|
-
readonly add: "add";
|
|
4938
|
-
readonly copy: "copy";
|
|
4939
|
-
readonly move: "move";
|
|
4940
|
-
readonly remove: "remove";
|
|
4941
|
-
readonly replace: "replace";
|
|
4942
|
-
readonly test: "test";
|
|
4943
|
-
};
|
|
4944
|
-
/**
|
|
4945
|
-
* @public
|
|
4946
|
-
*/
|
|
4947
|
-
export type Op = (typeof Op)[keyof typeof Op];
|
|
4948
4599
|
/**
|
|
4949
4600
|
* <p>For more information about supported patch operations, see <a href="https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html">Patch Operations</a>.</p>
|
|
4950
4601
|
* @public
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { APIGatewayExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { APIGatewayServiceException } from "./models/APIGatewayServiceException";
|