@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.
Files changed (38) hide show
  1. package/dist-cjs/index.js +189 -154
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +169 -0
  4. package/dist-es/models/errors.js +91 -0
  5. package/dist-es/models/models_0.js +1 -236
  6. package/dist-es/schemas/schemas_0.js +17 -10
  7. package/dist-types/commands/CreateDomainNameCommand.d.ts +5 -3
  8. package/dist-types/commands/CreateResourceCommand.d.ts +1 -0
  9. package/dist-types/commands/CreateRestApiCommand.d.ts +6 -0
  10. package/dist-types/commands/GetDomainNameCommand.d.ts +3 -2
  11. package/dist-types/commands/GetDomainNamesCommand.d.ts +3 -2
  12. package/dist-types/commands/GetIntegrationCommand.d.ts +1 -0
  13. package/dist-types/commands/GetMethodCommand.d.ts +1 -0
  14. package/dist-types/commands/GetResourceCommand.d.ts +1 -0
  15. package/dist-types/commands/GetResourcesCommand.d.ts +1 -0
  16. package/dist-types/commands/GetRestApiCommand.d.ts +4 -0
  17. package/dist-types/commands/GetRestApisCommand.d.ts +4 -0
  18. package/dist-types/commands/ImportRestApiCommand.d.ts +4 -0
  19. package/dist-types/commands/PutIntegrationCommand.d.ts +2 -0
  20. package/dist-types/commands/PutMethodCommand.d.ts +1 -0
  21. package/dist-types/commands/PutRestApiCommand.d.ts +4 -0
  22. package/dist-types/commands/UpdateDomainNameCommand.d.ts +3 -2
  23. package/dist-types/commands/UpdateIntegrationCommand.d.ts +1 -0
  24. package/dist-types/commands/UpdateMethodCommand.d.ts +1 -0
  25. package/dist-types/commands/UpdateResourceCommand.d.ts +1 -0
  26. package/dist-types/commands/UpdateRestApiCommand.d.ts +4 -0
  27. package/dist-types/index.d.ts +3 -1
  28. package/dist-types/models/enums.d.ts +377 -0
  29. package/dist-types/models/errors.d.ts +89 -0
  30. package/dist-types/models/models_0.d.ts +71 -420
  31. package/dist-types/ts3.4/index.d.ts +3 -1
  32. package/dist-types/ts3.4/models/enums.d.ts +212 -0
  33. package/dist-types/ts3.4/models/errors.d.ts +50 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +38 -233
  35. package/package.json +20 -20
  36. package/dist-es/models/index.js +0 -1
  37. package/dist-types/models/index.d.ts +0 -1
  38. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -0,0 +1,212 @@
1
+ export declare const AccessAssociationSourceType: {
2
+ readonly VPCE: "VPCE";
3
+ };
4
+ export type AccessAssociationSourceType =
5
+ (typeof AccessAssociationSourceType)[keyof typeof AccessAssociationSourceType];
6
+ export declare const ApiKeysFormat: {
7
+ readonly csv: "csv";
8
+ };
9
+ export type ApiKeysFormat = (typeof ApiKeysFormat)[keyof typeof ApiKeysFormat];
10
+ export declare const ApiKeySourceType: {
11
+ readonly AUTHORIZER: "AUTHORIZER";
12
+ readonly HEADER: "HEADER";
13
+ };
14
+ export type ApiKeySourceType =
15
+ (typeof ApiKeySourceType)[keyof typeof ApiKeySourceType];
16
+ export declare const ApiStatus: {
17
+ readonly AVAILABLE: "AVAILABLE";
18
+ readonly FAILED: "FAILED";
19
+ readonly PENDING: "PENDING";
20
+ readonly UPDATING: "UPDATING";
21
+ };
22
+ export type ApiStatus = (typeof ApiStatus)[keyof typeof ApiStatus];
23
+ export declare const AuthorizerType: {
24
+ readonly COGNITO_USER_POOLS: "COGNITO_USER_POOLS";
25
+ readonly REQUEST: "REQUEST";
26
+ readonly TOKEN: "TOKEN";
27
+ };
28
+ export type AuthorizerType =
29
+ (typeof AuthorizerType)[keyof typeof AuthorizerType];
30
+ export declare const CacheClusterSize: {
31
+ readonly SIZE_0_POINT_5_GB: "0.5";
32
+ readonly SIZE_118_GB: "118";
33
+ readonly SIZE_13_POINT_5_GB: "13.5";
34
+ readonly SIZE_1_POINT_6_GB: "1.6";
35
+ readonly SIZE_237_GB: "237";
36
+ readonly SIZE_28_POINT_4_GB: "28.4";
37
+ readonly SIZE_58_POINT_2_GB: "58.2";
38
+ readonly SIZE_6_POINT_1_GB: "6.1";
39
+ };
40
+ export type CacheClusterSize =
41
+ (typeof CacheClusterSize)[keyof typeof CacheClusterSize];
42
+ export declare const DocumentationPartType: {
43
+ readonly API: "API";
44
+ readonly AUTHORIZER: "AUTHORIZER";
45
+ readonly METHOD: "METHOD";
46
+ readonly MODEL: "MODEL";
47
+ readonly PATH_PARAMETER: "PATH_PARAMETER";
48
+ readonly QUERY_PARAMETER: "QUERY_PARAMETER";
49
+ readonly REQUEST_BODY: "REQUEST_BODY";
50
+ readonly REQUEST_HEADER: "REQUEST_HEADER";
51
+ readonly RESOURCE: "RESOURCE";
52
+ readonly RESPONSE: "RESPONSE";
53
+ readonly RESPONSE_BODY: "RESPONSE_BODY";
54
+ readonly RESPONSE_HEADER: "RESPONSE_HEADER";
55
+ };
56
+ export type DocumentationPartType =
57
+ (typeof DocumentationPartType)[keyof typeof DocumentationPartType];
58
+ export declare const EndpointAccessMode: {
59
+ readonly BASIC: "BASIC";
60
+ readonly STRICT: "STRICT";
61
+ };
62
+ export type EndpointAccessMode =
63
+ (typeof EndpointAccessMode)[keyof typeof EndpointAccessMode];
64
+ export declare const IpAddressType: {
65
+ readonly dualstack: "dualstack";
66
+ readonly ipv4: "ipv4";
67
+ };
68
+ export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
69
+ export declare const EndpointType: {
70
+ readonly EDGE: "EDGE";
71
+ readonly PRIVATE: "PRIVATE";
72
+ readonly REGIONAL: "REGIONAL";
73
+ };
74
+ export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
75
+ export declare const RoutingMode: {
76
+ readonly BASE_PATH_MAPPING_ONLY: "BASE_PATH_MAPPING_ONLY";
77
+ readonly ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY";
78
+ readonly ROUTING_RULE_THEN_BASE_PATH_MAPPING: "ROUTING_RULE_THEN_BASE_PATH_MAPPING";
79
+ };
80
+ export type RoutingMode = (typeof RoutingMode)[keyof typeof RoutingMode];
81
+ export declare const SecurityPolicy: {
82
+ readonly SecurityPolicy_TLS12_2018_EDGE: "SecurityPolicy_TLS12_2018_EDGE";
83
+ readonly SecurityPolicy_TLS12_PFS_2025_EDGE: "SecurityPolicy_TLS12_PFS_2025_EDGE";
84
+ readonly SecurityPolicy_TLS13_1_2_2021_06: "SecurityPolicy_TLS13_1_2_2021_06";
85
+ readonly SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09";
86
+ readonly SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09";
87
+ readonly SecurityPolicy_TLS13_1_2_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PQ_2025_09";
88
+ readonly SecurityPolicy_TLS13_1_3_2025_09: "SecurityPolicy_TLS13_1_3_2025_09";
89
+ readonly SecurityPolicy_TLS13_1_3_FIPS_2025_09: "SecurityPolicy_TLS13_1_3_FIPS_2025_09";
90
+ readonly SecurityPolicy_TLS13_2025_EDGE: "SecurityPolicy_TLS13_2025_EDGE";
91
+ readonly TLS_1_0: "TLS_1_0";
92
+ readonly TLS_1_2: "TLS_1_2";
93
+ };
94
+ export type SecurityPolicy =
95
+ (typeof SecurityPolicy)[keyof typeof SecurityPolicy];
96
+ export declare const DomainNameStatus: {
97
+ readonly AVAILABLE: "AVAILABLE";
98
+ readonly FAILED: "FAILED";
99
+ readonly PENDING: "PENDING";
100
+ readonly PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT";
101
+ readonly PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION";
102
+ readonly UPDATING: "UPDATING";
103
+ };
104
+ export type DomainNameStatus =
105
+ (typeof DomainNameStatus)[keyof typeof DomainNameStatus];
106
+ export declare const ConnectionType: {
107
+ readonly INTERNET: "INTERNET";
108
+ readonly VPC_LINK: "VPC_LINK";
109
+ };
110
+ export type ConnectionType =
111
+ (typeof ConnectionType)[keyof typeof ConnectionType];
112
+ export declare const ContentHandlingStrategy: {
113
+ readonly CONVERT_TO_BINARY: "CONVERT_TO_BINARY";
114
+ readonly CONVERT_TO_TEXT: "CONVERT_TO_TEXT";
115
+ };
116
+ export type ContentHandlingStrategy =
117
+ (typeof ContentHandlingStrategy)[keyof typeof ContentHandlingStrategy];
118
+ export declare const ResponseTransferMode: {
119
+ readonly BUFFERED: "BUFFERED";
120
+ readonly STREAM: "STREAM";
121
+ };
122
+ export type ResponseTransferMode =
123
+ (typeof ResponseTransferMode)[keyof typeof ResponseTransferMode];
124
+ export declare const IntegrationType: {
125
+ readonly AWS: "AWS";
126
+ readonly AWS_PROXY: "AWS_PROXY";
127
+ readonly HTTP: "HTTP";
128
+ readonly HTTP_PROXY: "HTTP_PROXY";
129
+ readonly MOCK: "MOCK";
130
+ };
131
+ export type IntegrationType =
132
+ (typeof IntegrationType)[keyof typeof IntegrationType];
133
+ export declare const CacheClusterStatus: {
134
+ readonly AVAILABLE: "AVAILABLE";
135
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
136
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
137
+ readonly FLUSH_IN_PROGRESS: "FLUSH_IN_PROGRESS";
138
+ readonly NOT_AVAILABLE: "NOT_AVAILABLE";
139
+ };
140
+ export type CacheClusterStatus =
141
+ (typeof CacheClusterStatus)[keyof typeof CacheClusterStatus];
142
+ export declare const UnauthorizedCacheControlHeaderStrategy: {
143
+ readonly FAIL_WITH_403: "FAIL_WITH_403";
144
+ readonly SUCCEED_WITHOUT_RESPONSE_HEADER: "SUCCEED_WITHOUT_RESPONSE_HEADER";
145
+ readonly SUCCEED_WITH_RESPONSE_HEADER: "SUCCEED_WITH_RESPONSE_HEADER";
146
+ };
147
+ export type UnauthorizedCacheControlHeaderStrategy =
148
+ (typeof UnauthorizedCacheControlHeaderStrategy)[keyof typeof UnauthorizedCacheControlHeaderStrategy];
149
+ export declare const QuotaPeriodType: {
150
+ readonly DAY: "DAY";
151
+ readonly MONTH: "MONTH";
152
+ readonly WEEK: "WEEK";
153
+ };
154
+ export type QuotaPeriodType =
155
+ (typeof QuotaPeriodType)[keyof typeof QuotaPeriodType];
156
+ export declare const VpcLinkStatus: {
157
+ readonly AVAILABLE: "AVAILABLE";
158
+ readonly DELETING: "DELETING";
159
+ readonly FAILED: "FAILED";
160
+ readonly PENDING: "PENDING";
161
+ };
162
+ export type VpcLinkStatus = (typeof VpcLinkStatus)[keyof typeof VpcLinkStatus];
163
+ export declare const GatewayResponseType: {
164
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
165
+ readonly API_CONFIGURATION_ERROR: "API_CONFIGURATION_ERROR";
166
+ readonly AUTHORIZER_CONFIGURATION_ERROR: "AUTHORIZER_CONFIGURATION_ERROR";
167
+ readonly AUTHORIZER_FAILURE: "AUTHORIZER_FAILURE";
168
+ readonly BAD_REQUEST_BODY: "BAD_REQUEST_BODY";
169
+ readonly BAD_REQUEST_PARAMETERS: "BAD_REQUEST_PARAMETERS";
170
+ readonly DEFAULT_4XX: "DEFAULT_4XX";
171
+ readonly DEFAULT_5XX: "DEFAULT_5XX";
172
+ readonly EXPIRED_TOKEN: "EXPIRED_TOKEN";
173
+ readonly INTEGRATION_FAILURE: "INTEGRATION_FAILURE";
174
+ readonly INTEGRATION_TIMEOUT: "INTEGRATION_TIMEOUT";
175
+ readonly INVALID_API_KEY: "INVALID_API_KEY";
176
+ readonly INVALID_SIGNATURE: "INVALID_SIGNATURE";
177
+ readonly MISSING_AUTHENTICATION_TOKEN: "MISSING_AUTHENTICATION_TOKEN";
178
+ readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
179
+ readonly REQUEST_TOO_LARGE: "REQUEST_TOO_LARGE";
180
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
181
+ readonly THROTTLED: "THROTTLED";
182
+ readonly UNAUTHORIZED: "UNAUTHORIZED";
183
+ readonly UNSUPPORTED_MEDIA_TYPE: "UNSUPPORTED_MEDIA_TYPE";
184
+ readonly WAF_FILTERED: "WAF_FILTERED";
185
+ };
186
+ export type GatewayResponseType =
187
+ (typeof GatewayResponseType)[keyof typeof GatewayResponseType];
188
+ export declare const LocationStatusType: {
189
+ readonly DOCUMENTED: "DOCUMENTED";
190
+ readonly UNDOCUMENTED: "UNDOCUMENTED";
191
+ };
192
+ export type LocationStatusType =
193
+ (typeof LocationStatusType)[keyof typeof LocationStatusType];
194
+ export declare const ResourceOwner: {
195
+ readonly OTHER_ACCOUNTS: "OTHER_ACCOUNTS";
196
+ readonly SELF: "SELF";
197
+ };
198
+ export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
199
+ export declare const PutMode: {
200
+ readonly Merge: "merge";
201
+ readonly Overwrite: "overwrite";
202
+ };
203
+ export type PutMode = (typeof PutMode)[keyof typeof PutMode];
204
+ export declare const Op: {
205
+ readonly add: "add";
206
+ readonly copy: "copy";
207
+ readonly move: "move";
208
+ readonly remove: "remove";
209
+ readonly replace: "replace";
210
+ readonly test: "test";
211
+ };
212
+ export type Op = (typeof Op)[keyof typeof Op];
@@ -0,0 +1,50 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
3
+ export declare class BadRequestException extends __BaseException {
4
+ readonly name: "BadRequestException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
8
+ );
9
+ }
10
+ export declare class ConflictException extends __BaseException {
11
+ readonly name: "ConflictException";
12
+ readonly $fault: "client";
13
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
14
+ }
15
+ export declare class LimitExceededException extends __BaseException {
16
+ readonly name: "LimitExceededException";
17
+ readonly $fault: "client";
18
+ retryAfterSeconds?: string | undefined;
19
+ constructor(
20
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
21
+ );
22
+ }
23
+ export declare class NotFoundException extends __BaseException {
24
+ readonly name: "NotFoundException";
25
+ readonly $fault: "client";
26
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
27
+ }
28
+ export declare class TooManyRequestsException extends __BaseException {
29
+ readonly name: "TooManyRequestsException";
30
+ readonly $fault: "client";
31
+ retryAfterSeconds?: string | undefined;
32
+ constructor(
33
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
34
+ );
35
+ }
36
+ export declare class UnauthorizedException extends __BaseException {
37
+ readonly name: "UnauthorizedException";
38
+ readonly $fault: "client";
39
+ constructor(
40
+ opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
41
+ );
42
+ }
43
+ export declare class ServiceUnavailableException extends __BaseException {
44
+ readonly name: "ServiceUnavailableException";
45
+ readonly $fault: "server";
46
+ retryAfterSeconds?: string | undefined;
47
+ constructor(
48
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
49
+ );
50
+ }
@@ -1,10 +1,31 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
3
- export declare const AccessAssociationSourceType: {
4
- readonly VPCE: "VPCE";
5
- };
6
- export type AccessAssociationSourceType =
7
- (typeof AccessAssociationSourceType)[keyof typeof AccessAssociationSourceType];
1
+ import {
2
+ AccessAssociationSourceType,
3
+ ApiKeysFormat,
4
+ ApiKeySourceType,
5
+ ApiStatus,
6
+ AuthorizerType,
7
+ CacheClusterSize,
8
+ CacheClusterStatus,
9
+ ConnectionType,
10
+ ContentHandlingStrategy,
11
+ DocumentationPartType,
12
+ DomainNameStatus,
13
+ EndpointAccessMode,
14
+ EndpointType,
15
+ GatewayResponseType,
16
+ IntegrationType,
17
+ IpAddressType,
18
+ LocationStatusType,
19
+ Op,
20
+ PutMode,
21
+ QuotaPeriodType,
22
+ ResourceOwner,
23
+ ResponseTransferMode,
24
+ RoutingMode,
25
+ SecurityPolicy,
26
+ UnauthorizedCacheControlHeaderStrategy,
27
+ VpcLinkStatus,
28
+ } from "./enums";
8
29
  export interface AccessLogSettings {
9
30
  format?: string | undefined;
10
31
  destinationArn?: string | undefined;
@@ -40,28 +61,11 @@ export interface ApiKeys {
40
61
  items?: ApiKey[] | undefined;
41
62
  position?: string | undefined;
42
63
  }
43
- export declare const ApiKeysFormat: {
44
- readonly csv: "csv";
45
- };
46
- export type ApiKeysFormat = (typeof ApiKeysFormat)[keyof typeof ApiKeysFormat];
47
- export declare const ApiKeySourceType: {
48
- readonly AUTHORIZER: "AUTHORIZER";
49
- readonly HEADER: "HEADER";
50
- };
51
- export type ApiKeySourceType =
52
- (typeof ApiKeySourceType)[keyof typeof ApiKeySourceType];
53
64
  export interface ApiStage {
54
65
  apiId?: string | undefined;
55
66
  stage?: string | undefined;
56
67
  throttle?: Record<string, ThrottleSettings> | undefined;
57
68
  }
58
- export declare const AuthorizerType: {
59
- readonly COGNITO_USER_POOLS: "COGNITO_USER_POOLS";
60
- readonly REQUEST: "REQUEST";
61
- readonly TOKEN: "TOKEN";
62
- };
63
- export type AuthorizerType =
64
- (typeof AuthorizerType)[keyof typeof AuthorizerType];
65
69
  export interface Authorizer {
66
70
  id?: string | undefined;
67
71
  name?: string | undefined;
@@ -78,18 +82,6 @@ export interface Authorizers {
78
82
  items?: Authorizer[] | undefined;
79
83
  position?: string | undefined;
80
84
  }
81
- export declare class BadRequestException extends __BaseException {
82
- readonly name: "BadRequestException";
83
- readonly $fault: "client";
84
- constructor(
85
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
86
- );
87
- }
88
- export declare class ConflictException extends __BaseException {
89
- readonly name: "ConflictException";
90
- readonly $fault: "client";
91
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
92
- }
93
85
  export interface StageKey {
94
86
  restApiId?: string | undefined;
95
87
  stageName?: string | undefined;
@@ -104,34 +96,6 @@ export interface CreateApiKeyRequest {
104
96
  customerId?: string | undefined;
105
97
  tags?: Record<string, string> | undefined;
106
98
  }
107
- export declare class LimitExceededException extends __BaseException {
108
- readonly name: "LimitExceededException";
109
- readonly $fault: "client";
110
- retryAfterSeconds?: string | undefined;
111
- constructor(
112
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
113
- );
114
- }
115
- export declare class NotFoundException extends __BaseException {
116
- readonly name: "NotFoundException";
117
- readonly $fault: "client";
118
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
119
- }
120
- export declare class TooManyRequestsException extends __BaseException {
121
- readonly name: "TooManyRequestsException";
122
- readonly $fault: "client";
123
- retryAfterSeconds?: string | undefined;
124
- constructor(
125
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
126
- );
127
- }
128
- export declare class UnauthorizedException extends __BaseException {
129
- readonly name: "UnauthorizedException";
130
- readonly $fault: "client";
131
- constructor(
132
- opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
133
- );
134
- }
135
99
  export interface CreateAuthorizerRequest {
136
100
  restApiId: string | undefined;
137
101
  name: string | undefined;
@@ -156,18 +120,6 @@ export interface CreateBasePathMappingRequest {
156
120
  restApiId: string | undefined;
157
121
  stage?: string | undefined;
158
122
  }
159
- export declare const CacheClusterSize: {
160
- readonly SIZE_0_POINT_5_GB: "0.5";
161
- readonly SIZE_118_GB: "118";
162
- readonly SIZE_13_POINT_5_GB: "13.5";
163
- readonly SIZE_1_POINT_6_GB: "1.6";
164
- readonly SIZE_237_GB: "237";
165
- readonly SIZE_28_POINT_4_GB: "28.4";
166
- readonly SIZE_58_POINT_2_GB: "58.2";
167
- readonly SIZE_6_POINT_1_GB: "6.1";
168
- };
169
- export type CacheClusterSize =
170
- (typeof CacheClusterSize)[keyof typeof CacheClusterSize];
171
123
  export interface DeploymentCanarySettings {
172
124
  percentTraffic?: number | undefined;
173
125
  stageVariableOverrides?: Record<string, string> | undefined;
@@ -194,30 +146,6 @@ export interface Deployment {
194
146
  createdDate?: Date | undefined;
195
147
  apiSummary?: Record<string, Record<string, MethodSnapshot>> | undefined;
196
148
  }
197
- export declare class ServiceUnavailableException extends __BaseException {
198
- readonly name: "ServiceUnavailableException";
199
- readonly $fault: "server";
200
- retryAfterSeconds?: string | undefined;
201
- constructor(
202
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
203
- );
204
- }
205
- export declare const DocumentationPartType: {
206
- readonly API: "API";
207
- readonly AUTHORIZER: "AUTHORIZER";
208
- readonly METHOD: "METHOD";
209
- readonly MODEL: "MODEL";
210
- readonly PATH_PARAMETER: "PATH_PARAMETER";
211
- readonly QUERY_PARAMETER: "QUERY_PARAMETER";
212
- readonly REQUEST_BODY: "REQUEST_BODY";
213
- readonly REQUEST_HEADER: "REQUEST_HEADER";
214
- readonly RESOURCE: "RESOURCE";
215
- readonly RESPONSE: "RESPONSE";
216
- readonly RESPONSE_BODY: "RESPONSE_BODY";
217
- readonly RESPONSE_HEADER: "RESPONSE_HEADER";
218
- };
219
- export type DocumentationPartType =
220
- (typeof DocumentationPartType)[keyof typeof DocumentationPartType];
221
149
  export interface DocumentationPartLocation {
222
150
  type: DocumentationPartType | undefined;
223
151
  path?: string | undefined;
@@ -246,17 +174,6 @@ export interface DocumentationVersion {
246
174
  createdDate?: Date | undefined;
247
175
  description?: string | undefined;
248
176
  }
249
- export declare const IpAddressType: {
250
- readonly dualstack: "dualstack";
251
- readonly ipv4: "ipv4";
252
- };
253
- export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
254
- export declare const EndpointType: {
255
- readonly EDGE: "EDGE";
256
- readonly PRIVATE: "PRIVATE";
257
- readonly REGIONAL: "REGIONAL";
258
- };
259
- export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
260
177
  export interface EndpointConfiguration {
261
178
  types?: EndpointType[] | undefined;
262
179
  ipAddressType?: IpAddressType | undefined;
@@ -266,18 +183,6 @@ export interface MutualTlsAuthenticationInput {
266
183
  truststoreUri?: string | undefined;
267
184
  truststoreVersion?: string | undefined;
268
185
  }
269
- export declare const RoutingMode: {
270
- readonly BASE_PATH_MAPPING_ONLY: "BASE_PATH_MAPPING_ONLY";
271
- readonly ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY";
272
- readonly ROUTING_RULE_THEN_BASE_PATH_MAPPING: "ROUTING_RULE_THEN_BASE_PATH_MAPPING";
273
- };
274
- export type RoutingMode = (typeof RoutingMode)[keyof typeof RoutingMode];
275
- export declare const SecurityPolicy: {
276
- readonly TLS_1_0: "TLS_1_0";
277
- readonly TLS_1_2: "TLS_1_2";
278
- };
279
- export type SecurityPolicy =
280
- (typeof SecurityPolicy)[keyof typeof SecurityPolicy];
281
186
  export interface CreateDomainNameRequest {
282
187
  domainName: string | undefined;
283
188
  certificateName?: string | undefined;
@@ -290,20 +195,12 @@ export interface CreateDomainNameRequest {
290
195
  endpointConfiguration?: EndpointConfiguration | undefined;
291
196
  tags?: Record<string, string> | undefined;
292
197
  securityPolicy?: SecurityPolicy | undefined;
198
+ endpointAccessMode?: EndpointAccessMode | undefined;
293
199
  mutualTlsAuthentication?: MutualTlsAuthenticationInput | undefined;
294
200
  ownershipVerificationCertificateArn?: string | undefined;
295
201
  policy?: string | undefined;
296
202
  routingMode?: RoutingMode | undefined;
297
203
  }
298
- export declare const DomainNameStatus: {
299
- readonly AVAILABLE: "AVAILABLE";
300
- readonly PENDING: "PENDING";
301
- readonly PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT";
302
- readonly PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION";
303
- readonly UPDATING: "UPDATING";
304
- };
305
- export type DomainNameStatus =
306
- (typeof DomainNameStatus)[keyof typeof DomainNameStatus];
307
204
  export interface MutualTlsAuthentication {
308
205
  truststoreUri?: string | undefined;
309
206
  truststoreVersion?: string | undefined;
@@ -326,6 +223,7 @@ export interface DomainName {
326
223
  domainNameStatus?: DomainNameStatus | undefined;
327
224
  domainNameStatusMessage?: string | undefined;
328
225
  securityPolicy?: SecurityPolicy | undefined;
226
+ endpointAccessMode?: EndpointAccessMode | undefined;
329
227
  tags?: Record<string, string> | undefined;
330
228
  mutualTlsAuthentication?: MutualTlsAuthentication | undefined;
331
229
  ownershipVerificationCertificateArn?: string | undefined;
@@ -377,18 +275,6 @@ export interface CreateResourceRequest {
377
275
  parentId: string | undefined;
378
276
  pathPart: string | undefined;
379
277
  }
380
- export declare const ConnectionType: {
381
- readonly INTERNET: "INTERNET";
382
- readonly VPC_LINK: "VPC_LINK";
383
- };
384
- export type ConnectionType =
385
- (typeof ConnectionType)[keyof typeof ConnectionType];
386
- export declare const ContentHandlingStrategy: {
387
- readonly CONVERT_TO_BINARY: "CONVERT_TO_BINARY";
388
- readonly CONVERT_TO_TEXT: "CONVERT_TO_TEXT";
389
- };
390
- export type ContentHandlingStrategy =
391
- (typeof ContentHandlingStrategy)[keyof typeof ContentHandlingStrategy];
392
278
  export interface IntegrationResponse {
393
279
  statusCode?: string | undefined;
394
280
  selectionPattern?: string | undefined;
@@ -399,15 +285,6 @@ export interface IntegrationResponse {
399
285
  export interface TlsConfig {
400
286
  insecureSkipVerification?: boolean | undefined;
401
287
  }
402
- export declare const IntegrationType: {
403
- readonly AWS: "AWS";
404
- readonly AWS_PROXY: "AWS_PROXY";
405
- readonly HTTP: "HTTP";
406
- readonly HTTP_PROXY: "HTTP_PROXY";
407
- readonly MOCK: "MOCK";
408
- };
409
- export type IntegrationType =
410
- (typeof IntegrationType)[keyof typeof IntegrationType];
411
288
  export interface Integration {
412
289
  type?: IntegrationType | undefined;
413
290
  httpMethod?: string | undefined;
@@ -424,6 +301,7 @@ export interface Integration {
424
301
  cacheKeyParameters?: string[] | undefined;
425
302
  integrationResponses?: Record<string, IntegrationResponse> | undefined;
426
303
  tlsConfig?: TlsConfig | undefined;
304
+ responseTransferMode?: ResponseTransferMode | undefined;
427
305
  }
428
306
  export interface MethodResponse {
429
307
  statusCode?: string | undefined;
@@ -462,6 +340,8 @@ export interface CreateRestApiRequest {
462
340
  policy?: string | undefined;
463
341
  tags?: Record<string, string> | undefined;
464
342
  disableExecuteApiEndpoint?: boolean | undefined;
343
+ securityPolicy?: SecurityPolicy | undefined;
344
+ endpointAccessMode?: EndpointAccessMode | undefined;
465
345
  }
466
346
  export interface RestApi {
467
347
  id?: string | undefined;
@@ -478,6 +358,10 @@ export interface RestApi {
478
358
  tags?: Record<string, string> | undefined;
479
359
  disableExecuteApiEndpoint?: boolean | undefined;
480
360
  rootResourceId?: string | undefined;
361
+ securityPolicy?: SecurityPolicy | undefined;
362
+ endpointAccessMode?: EndpointAccessMode | undefined;
363
+ apiStatus?: ApiStatus | undefined;
364
+ apiStatusMessage?: string | undefined;
481
365
  }
482
366
  export interface CanarySettings {
483
367
  percentTraffic?: number | undefined;
@@ -498,22 +382,6 @@ export interface CreateStageRequest {
498
382
  tracingEnabled?: boolean | undefined;
499
383
  tags?: Record<string, string> | undefined;
500
384
  }
501
- export declare const CacheClusterStatus: {
502
- readonly AVAILABLE: "AVAILABLE";
503
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
504
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
505
- readonly FLUSH_IN_PROGRESS: "FLUSH_IN_PROGRESS";
506
- readonly NOT_AVAILABLE: "NOT_AVAILABLE";
507
- };
508
- export type CacheClusterStatus =
509
- (typeof CacheClusterStatus)[keyof typeof CacheClusterStatus];
510
- export declare const UnauthorizedCacheControlHeaderStrategy: {
511
- readonly FAIL_WITH_403: "FAIL_WITH_403";
512
- readonly SUCCEED_WITHOUT_RESPONSE_HEADER: "SUCCEED_WITHOUT_RESPONSE_HEADER";
513
- readonly SUCCEED_WITH_RESPONSE_HEADER: "SUCCEED_WITH_RESPONSE_HEADER";
514
- };
515
- export type UnauthorizedCacheControlHeaderStrategy =
516
- (typeof UnauthorizedCacheControlHeaderStrategy)[keyof typeof UnauthorizedCacheControlHeaderStrategy];
517
385
  export interface MethodSetting {
518
386
  metricsEnabled?: boolean | undefined;
519
387
  loggingLevel?: string | undefined;
@@ -547,13 +415,6 @@ export interface Stage {
547
415
  createdDate?: Date | undefined;
548
416
  lastUpdatedDate?: Date | undefined;
549
417
  }
550
- export declare const QuotaPeriodType: {
551
- readonly DAY: "DAY";
552
- readonly MONTH: "MONTH";
553
- readonly WEEK: "WEEK";
554
- };
555
- export type QuotaPeriodType =
556
- (typeof QuotaPeriodType)[keyof typeof QuotaPeriodType];
557
418
  export interface QuotaSettings {
558
419
  limit?: number | undefined;
559
420
  offset?: number | undefined;
@@ -594,13 +455,6 @@ export interface CreateVpcLinkRequest {
594
455
  targetArns: string[] | undefined;
595
456
  tags?: Record<string, string> | undefined;
596
457
  }
597
- export declare const VpcLinkStatus: {
598
- readonly AVAILABLE: "AVAILABLE";
599
- readonly DELETING: "DELETING";
600
- readonly FAILED: "FAILED";
601
- readonly PENDING: "PENDING";
602
- };
603
- export type VpcLinkStatus = (typeof VpcLinkStatus)[keyof typeof VpcLinkStatus];
604
458
  export interface VpcLink {
605
459
  id?: string | undefined;
606
460
  name?: string | undefined;
@@ -644,31 +498,6 @@ export interface DeleteDomainNameRequest {
644
498
  export interface DeleteDomainNameAccessAssociationRequest {
645
499
  domainNameAccessAssociationArn: string | undefined;
646
500
  }
647
- export declare const GatewayResponseType: {
648
- readonly ACCESS_DENIED: "ACCESS_DENIED";
649
- readonly API_CONFIGURATION_ERROR: "API_CONFIGURATION_ERROR";
650
- readonly AUTHORIZER_CONFIGURATION_ERROR: "AUTHORIZER_CONFIGURATION_ERROR";
651
- readonly AUTHORIZER_FAILURE: "AUTHORIZER_FAILURE";
652
- readonly BAD_REQUEST_BODY: "BAD_REQUEST_BODY";
653
- readonly BAD_REQUEST_PARAMETERS: "BAD_REQUEST_PARAMETERS";
654
- readonly DEFAULT_4XX: "DEFAULT_4XX";
655
- readonly DEFAULT_5XX: "DEFAULT_5XX";
656
- readonly EXPIRED_TOKEN: "EXPIRED_TOKEN";
657
- readonly INTEGRATION_FAILURE: "INTEGRATION_FAILURE";
658
- readonly INTEGRATION_TIMEOUT: "INTEGRATION_TIMEOUT";
659
- readonly INVALID_API_KEY: "INVALID_API_KEY";
660
- readonly INVALID_SIGNATURE: "INVALID_SIGNATURE";
661
- readonly MISSING_AUTHENTICATION_TOKEN: "MISSING_AUTHENTICATION_TOKEN";
662
- readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
663
- readonly REQUEST_TOO_LARGE: "REQUEST_TOO_LARGE";
664
- readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
665
- readonly THROTTLED: "THROTTLED";
666
- readonly UNAUTHORIZED: "UNAUTHORIZED";
667
- readonly UNSUPPORTED_MEDIA_TYPE: "UNSUPPORTED_MEDIA_TYPE";
668
- readonly WAF_FILTERED: "WAF_FILTERED";
669
- };
670
- export type GatewayResponseType =
671
- (typeof GatewayResponseType)[keyof typeof GatewayResponseType];
672
501
  export interface DeleteGatewayResponseRequest {
673
502
  restApiId: string | undefined;
674
503
  responseType: GatewayResponseType | undefined;
@@ -813,12 +642,6 @@ export interface DocumentationParts {
813
642
  items?: DocumentationPart[] | undefined;
814
643
  position?: string | undefined;
815
644
  }
816
- export declare const LocationStatusType: {
817
- readonly DOCUMENTED: "DOCUMENTED";
818
- readonly UNDOCUMENTED: "UNDOCUMENTED";
819
- };
820
- export type LocationStatusType =
821
- (typeof LocationStatusType)[keyof typeof LocationStatusType];
822
645
  export interface GetDocumentationPartsRequest {
823
646
  restApiId: string | undefined;
824
647
  type?: DocumentationPartType | undefined;
@@ -849,11 +672,6 @@ export interface DomainNameAccessAssociations {
849
672
  items?: DomainNameAccessAssociation[] | undefined;
850
673
  position?: string | undefined;
851
674
  }
852
- export declare const ResourceOwner: {
853
- readonly OTHER_ACCOUNTS: "OTHER_ACCOUNTS";
854
- readonly SELF: "SELF";
855
- };
856
- export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
857
675
  export interface GetDomainNameAccessAssociationsRequest {
858
676
  position?: string | undefined;
859
677
  limit?: number | undefined;
@@ -1096,11 +914,6 @@ export interface DocumentationPartIds {
1096
914
  ids?: string[] | undefined;
1097
915
  warnings?: string[] | undefined;
1098
916
  }
1099
- export declare const PutMode: {
1100
- readonly Merge: "merge";
1101
- readonly Overwrite: "overwrite";
1102
- };
1103
- export type PutMode = (typeof PutMode)[keyof typeof PutMode];
1104
917
  export interface ImportDocumentationPartsRequest {
1105
918
  restApiId: string | undefined;
1106
919
  mode?: PutMode | undefined;
@@ -1137,6 +950,7 @@ export interface PutIntegrationRequest {
1137
950
  contentHandling?: ContentHandlingStrategy | undefined;
1138
951
  timeoutInMillis?: number | undefined;
1139
952
  tlsConfig?: TlsConfig | undefined;
953
+ responseTransferMode?: ResponseTransferMode | undefined;
1140
954
  }
1141
955
  export interface PutIntegrationResponseRequest {
1142
956
  restApiId: string | undefined;
@@ -1226,15 +1040,6 @@ export interface UntagResourceRequest {
1226
1040
  resourceArn: string | undefined;
1227
1041
  tagKeys: string[] | undefined;
1228
1042
  }
1229
- export declare const Op: {
1230
- readonly add: "add";
1231
- readonly copy: "copy";
1232
- readonly move: "move";
1233
- readonly remove: "remove";
1234
- readonly replace: "replace";
1235
- readonly test: "test";
1236
- };
1237
- export type Op = (typeof Op)[keyof typeof Op];
1238
1043
  export interface PatchOperation {
1239
1044
  op?: Op | undefined;
1240
1045
  path?: string | undefined;