@aws-sdk/client-api-gateway 3.934.0 → 3.935.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 +12 -12
- 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
|
@@ -103,6 +103,7 @@ declare const UpdateMethodCommand_base: {
|
|
|
103
103
|
* // tlsConfig: { // TlsConfig
|
|
104
104
|
* // insecureSkipVerification: true || false,
|
|
105
105
|
* // },
|
|
106
|
+
* // responseTransferMode: "BUFFERED" || "STREAM",
|
|
106
107
|
* // },
|
|
107
108
|
* // authorizationScopes: [
|
|
108
109
|
* // "STRING_VALUE",
|
|
@@ -108,6 +108,7 @@ declare const UpdateResourceCommand_base: {
|
|
|
108
108
|
* // tlsConfig: { // TlsConfig
|
|
109
109
|
* // insecureSkipVerification: true || false,
|
|
110
110
|
* // },
|
|
111
|
+
* // responseTransferMode: "BUFFERED" || "STREAM",
|
|
111
112
|
* // },
|
|
112
113
|
* // authorizationScopes: [
|
|
113
114
|
* // "STRING_VALUE",
|
|
@@ -78,6 +78,10 @@ declare const UpdateRestApiCommand_base: {
|
|
|
78
78
|
* // },
|
|
79
79
|
* // disableExecuteApiEndpoint: true || false,
|
|
80
80
|
* // rootResourceId: "STRING_VALUE",
|
|
81
|
+
* // securityPolicy: "TLS_1_0" || "TLS_1_2" || "SecurityPolicy_TLS13_1_3_2025_09" || "SecurityPolicy_TLS13_1_3_FIPS_2025_09" || "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_PQ_2025_09" || "SecurityPolicy_TLS13_1_2_2021_06" || "SecurityPolicy_TLS13_2025_EDGE" || "SecurityPolicy_TLS12_PFS_2025_EDGE" || "SecurityPolicy_TLS12_2018_EDGE",
|
|
82
|
+
* // endpointAccessMode: "BASIC" || "STRICT",
|
|
83
|
+
* // apiStatus: "UPDATING" || "AVAILABLE" || "PENDING" || "FAILED",
|
|
84
|
+
* // apiStatusMessage: "STRING_VALUE",
|
|
81
85
|
* // };
|
|
82
86
|
*
|
|
83
87
|
* ```
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
11
11
|
export type { APIGatewayExtensionConfiguration } from "./extensionConfiguration";
|
|
12
12
|
export * from "./commands";
|
|
13
13
|
export * from "./pagination";
|
|
14
|
-
export * from "./models";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export type * from "./models/models_0";
|
|
15
17
|
export { APIGatewayServiceException } from "./models/APIGatewayServiceException";
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AccessAssociationSourceType: {
|
|
6
|
+
readonly VPCE: "VPCE";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type AccessAssociationSourceType = (typeof AccessAssociationSourceType)[keyof typeof AccessAssociationSourceType];
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* @enum
|
|
15
|
+
*/
|
|
16
|
+
export declare const ApiKeysFormat: {
|
|
17
|
+
readonly csv: "csv";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export type ApiKeysFormat = (typeof ApiKeysFormat)[keyof typeof ApiKeysFormat];
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
* @enum
|
|
26
|
+
*/
|
|
27
|
+
export declare const ApiKeySourceType: {
|
|
28
|
+
readonly AUTHORIZER: "AUTHORIZER";
|
|
29
|
+
readonly HEADER: "HEADER";
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export type ApiKeySourceType = (typeof ApiKeySourceType)[keyof typeof ApiKeySourceType];
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
* @enum
|
|
38
|
+
*/
|
|
39
|
+
export declare const ApiStatus: {
|
|
40
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
41
|
+
readonly FAILED: "FAILED";
|
|
42
|
+
readonly PENDING: "PENDING";
|
|
43
|
+
readonly UPDATING: "UPDATING";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export type ApiStatus = (typeof ApiStatus)[keyof typeof ApiStatus];
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* @enum
|
|
52
|
+
*/
|
|
53
|
+
export declare const AuthorizerType: {
|
|
54
|
+
readonly COGNITO_USER_POOLS: "COGNITO_USER_POOLS";
|
|
55
|
+
readonly REQUEST: "REQUEST";
|
|
56
|
+
readonly TOKEN: "TOKEN";
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export type AuthorizerType = (typeof AuthorizerType)[keyof typeof AuthorizerType];
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* @enum
|
|
65
|
+
*/
|
|
66
|
+
export declare const CacheClusterSize: {
|
|
67
|
+
readonly SIZE_0_POINT_5_GB: "0.5";
|
|
68
|
+
readonly SIZE_118_GB: "118";
|
|
69
|
+
readonly SIZE_13_POINT_5_GB: "13.5";
|
|
70
|
+
readonly SIZE_1_POINT_6_GB: "1.6";
|
|
71
|
+
readonly SIZE_237_GB: "237";
|
|
72
|
+
readonly SIZE_28_POINT_4_GB: "28.4";
|
|
73
|
+
readonly SIZE_58_POINT_2_GB: "58.2";
|
|
74
|
+
readonly SIZE_6_POINT_1_GB: "6.1";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export type CacheClusterSize = (typeof CacheClusterSize)[keyof typeof CacheClusterSize];
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
* @enum
|
|
83
|
+
*/
|
|
84
|
+
export declare const DocumentationPartType: {
|
|
85
|
+
readonly API: "API";
|
|
86
|
+
readonly AUTHORIZER: "AUTHORIZER";
|
|
87
|
+
readonly METHOD: "METHOD";
|
|
88
|
+
readonly MODEL: "MODEL";
|
|
89
|
+
readonly PATH_PARAMETER: "PATH_PARAMETER";
|
|
90
|
+
readonly QUERY_PARAMETER: "QUERY_PARAMETER";
|
|
91
|
+
readonly REQUEST_BODY: "REQUEST_BODY";
|
|
92
|
+
readonly REQUEST_HEADER: "REQUEST_HEADER";
|
|
93
|
+
readonly RESOURCE: "RESOURCE";
|
|
94
|
+
readonly RESPONSE: "RESPONSE";
|
|
95
|
+
readonly RESPONSE_BODY: "RESPONSE_BODY";
|
|
96
|
+
readonly RESPONSE_HEADER: "RESPONSE_HEADER";
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export type DocumentationPartType = (typeof DocumentationPartType)[keyof typeof DocumentationPartType];
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
* @enum
|
|
105
|
+
*/
|
|
106
|
+
export declare const EndpointAccessMode: {
|
|
107
|
+
readonly BASIC: "BASIC";
|
|
108
|
+
readonly STRICT: "STRICT";
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export type EndpointAccessMode = (typeof EndpointAccessMode)[keyof typeof EndpointAccessMode];
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* @enum
|
|
117
|
+
*/
|
|
118
|
+
export declare const IpAddressType: {
|
|
119
|
+
readonly dualstack: "dualstack";
|
|
120
|
+
readonly ipv4: "ipv4";
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
* @enum
|
|
129
|
+
*/
|
|
130
|
+
export declare const EndpointType: {
|
|
131
|
+
readonly EDGE: "EDGE";
|
|
132
|
+
readonly PRIVATE: "PRIVATE";
|
|
133
|
+
readonly REGIONAL: "REGIONAL";
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
* @enum
|
|
142
|
+
*/
|
|
143
|
+
export declare const RoutingMode: {
|
|
144
|
+
readonly BASE_PATH_MAPPING_ONLY: "BASE_PATH_MAPPING_ONLY";
|
|
145
|
+
readonly ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY";
|
|
146
|
+
readonly ROUTING_RULE_THEN_BASE_PATH_MAPPING: "ROUTING_RULE_THEN_BASE_PATH_MAPPING";
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export type RoutingMode = (typeof RoutingMode)[keyof typeof RoutingMode];
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
* @enum
|
|
155
|
+
*/
|
|
156
|
+
export declare const SecurityPolicy: {
|
|
157
|
+
readonly SecurityPolicy_TLS12_2018_EDGE: "SecurityPolicy_TLS12_2018_EDGE";
|
|
158
|
+
readonly SecurityPolicy_TLS12_PFS_2025_EDGE: "SecurityPolicy_TLS12_PFS_2025_EDGE";
|
|
159
|
+
readonly SecurityPolicy_TLS13_1_2_2021_06: "SecurityPolicy_TLS13_1_2_2021_06";
|
|
160
|
+
readonly SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09";
|
|
161
|
+
readonly SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09";
|
|
162
|
+
readonly SecurityPolicy_TLS13_1_2_PQ_2025_09: "SecurityPolicy_TLS13_1_2_PQ_2025_09";
|
|
163
|
+
readonly SecurityPolicy_TLS13_1_3_2025_09: "SecurityPolicy_TLS13_1_3_2025_09";
|
|
164
|
+
readonly SecurityPolicy_TLS13_1_3_FIPS_2025_09: "SecurityPolicy_TLS13_1_3_FIPS_2025_09";
|
|
165
|
+
readonly SecurityPolicy_TLS13_2025_EDGE: "SecurityPolicy_TLS13_2025_EDGE";
|
|
166
|
+
readonly TLS_1_0: "TLS_1_0";
|
|
167
|
+
readonly TLS_1_2: "TLS_1_2";
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
export type SecurityPolicy = (typeof SecurityPolicy)[keyof typeof SecurityPolicy];
|
|
173
|
+
/**
|
|
174
|
+
* @public
|
|
175
|
+
* @enum
|
|
176
|
+
*/
|
|
177
|
+
export declare const DomainNameStatus: {
|
|
178
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
179
|
+
readonly FAILED: "FAILED";
|
|
180
|
+
readonly PENDING: "PENDING";
|
|
181
|
+
readonly PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT";
|
|
182
|
+
readonly PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION";
|
|
183
|
+
readonly UPDATING: "UPDATING";
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
export type DomainNameStatus = (typeof DomainNameStatus)[keyof typeof DomainNameStatus];
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
* @enum
|
|
192
|
+
*/
|
|
193
|
+
export declare const ConnectionType: {
|
|
194
|
+
readonly INTERNET: "INTERNET";
|
|
195
|
+
readonly VPC_LINK: "VPC_LINK";
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
|
|
201
|
+
/**
|
|
202
|
+
* @public
|
|
203
|
+
* @enum
|
|
204
|
+
*/
|
|
205
|
+
export declare const ContentHandlingStrategy: {
|
|
206
|
+
readonly CONVERT_TO_BINARY: "CONVERT_TO_BINARY";
|
|
207
|
+
readonly CONVERT_TO_TEXT: "CONVERT_TO_TEXT";
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
export type ContentHandlingStrategy = (typeof ContentHandlingStrategy)[keyof typeof ContentHandlingStrategy];
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
* @enum
|
|
216
|
+
*/
|
|
217
|
+
export declare const ResponseTransferMode: {
|
|
218
|
+
readonly BUFFERED: "BUFFERED";
|
|
219
|
+
readonly STREAM: "STREAM";
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
export type ResponseTransferMode = (typeof ResponseTransferMode)[keyof typeof ResponseTransferMode];
|
|
225
|
+
/**
|
|
226
|
+
* @public
|
|
227
|
+
* @enum
|
|
228
|
+
*/
|
|
229
|
+
export declare const IntegrationType: {
|
|
230
|
+
readonly AWS: "AWS";
|
|
231
|
+
readonly AWS_PROXY: "AWS_PROXY";
|
|
232
|
+
readonly HTTP: "HTTP";
|
|
233
|
+
readonly HTTP_PROXY: "HTTP_PROXY";
|
|
234
|
+
readonly MOCK: "MOCK";
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
239
|
+
export type IntegrationType = (typeof IntegrationType)[keyof typeof IntegrationType];
|
|
240
|
+
/**
|
|
241
|
+
* @public
|
|
242
|
+
* @enum
|
|
243
|
+
*/
|
|
244
|
+
export declare const CacheClusterStatus: {
|
|
245
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
246
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
247
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
248
|
+
readonly FLUSH_IN_PROGRESS: "FLUSH_IN_PROGRESS";
|
|
249
|
+
readonly NOT_AVAILABLE: "NOT_AVAILABLE";
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
export type CacheClusterStatus = (typeof CacheClusterStatus)[keyof typeof CacheClusterStatus];
|
|
255
|
+
/**
|
|
256
|
+
* @public
|
|
257
|
+
* @enum
|
|
258
|
+
*/
|
|
259
|
+
export declare const UnauthorizedCacheControlHeaderStrategy: {
|
|
260
|
+
readonly FAIL_WITH_403: "FAIL_WITH_403";
|
|
261
|
+
readonly SUCCEED_WITHOUT_RESPONSE_HEADER: "SUCCEED_WITHOUT_RESPONSE_HEADER";
|
|
262
|
+
readonly SUCCEED_WITH_RESPONSE_HEADER: "SUCCEED_WITH_RESPONSE_HEADER";
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
export type UnauthorizedCacheControlHeaderStrategy = (typeof UnauthorizedCacheControlHeaderStrategy)[keyof typeof UnauthorizedCacheControlHeaderStrategy];
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
* @enum
|
|
271
|
+
*/
|
|
272
|
+
export declare const QuotaPeriodType: {
|
|
273
|
+
readonly DAY: "DAY";
|
|
274
|
+
readonly MONTH: "MONTH";
|
|
275
|
+
readonly WEEK: "WEEK";
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
export type QuotaPeriodType = (typeof QuotaPeriodType)[keyof typeof QuotaPeriodType];
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
* @enum
|
|
284
|
+
*/
|
|
285
|
+
export declare const VpcLinkStatus: {
|
|
286
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
287
|
+
readonly DELETING: "DELETING";
|
|
288
|
+
readonly FAILED: "FAILED";
|
|
289
|
+
readonly PENDING: "PENDING";
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
export type VpcLinkStatus = (typeof VpcLinkStatus)[keyof typeof VpcLinkStatus];
|
|
295
|
+
/**
|
|
296
|
+
* @public
|
|
297
|
+
* @enum
|
|
298
|
+
*/
|
|
299
|
+
export declare const GatewayResponseType: {
|
|
300
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
301
|
+
readonly API_CONFIGURATION_ERROR: "API_CONFIGURATION_ERROR";
|
|
302
|
+
readonly AUTHORIZER_CONFIGURATION_ERROR: "AUTHORIZER_CONFIGURATION_ERROR";
|
|
303
|
+
readonly AUTHORIZER_FAILURE: "AUTHORIZER_FAILURE";
|
|
304
|
+
readonly BAD_REQUEST_BODY: "BAD_REQUEST_BODY";
|
|
305
|
+
readonly BAD_REQUEST_PARAMETERS: "BAD_REQUEST_PARAMETERS";
|
|
306
|
+
readonly DEFAULT_4XX: "DEFAULT_4XX";
|
|
307
|
+
readonly DEFAULT_5XX: "DEFAULT_5XX";
|
|
308
|
+
readonly EXPIRED_TOKEN: "EXPIRED_TOKEN";
|
|
309
|
+
readonly INTEGRATION_FAILURE: "INTEGRATION_FAILURE";
|
|
310
|
+
readonly INTEGRATION_TIMEOUT: "INTEGRATION_TIMEOUT";
|
|
311
|
+
readonly INVALID_API_KEY: "INVALID_API_KEY";
|
|
312
|
+
readonly INVALID_SIGNATURE: "INVALID_SIGNATURE";
|
|
313
|
+
readonly MISSING_AUTHENTICATION_TOKEN: "MISSING_AUTHENTICATION_TOKEN";
|
|
314
|
+
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
315
|
+
readonly REQUEST_TOO_LARGE: "REQUEST_TOO_LARGE";
|
|
316
|
+
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
317
|
+
readonly THROTTLED: "THROTTLED";
|
|
318
|
+
readonly UNAUTHORIZED: "UNAUTHORIZED";
|
|
319
|
+
readonly UNSUPPORTED_MEDIA_TYPE: "UNSUPPORTED_MEDIA_TYPE";
|
|
320
|
+
readonly WAF_FILTERED: "WAF_FILTERED";
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
export type GatewayResponseType = (typeof GatewayResponseType)[keyof typeof GatewayResponseType];
|
|
326
|
+
/**
|
|
327
|
+
* @public
|
|
328
|
+
* @enum
|
|
329
|
+
*/
|
|
330
|
+
export declare const LocationStatusType: {
|
|
331
|
+
readonly DOCUMENTED: "DOCUMENTED";
|
|
332
|
+
readonly UNDOCUMENTED: "UNDOCUMENTED";
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
export type LocationStatusType = (typeof LocationStatusType)[keyof typeof LocationStatusType];
|
|
338
|
+
/**
|
|
339
|
+
* @public
|
|
340
|
+
* @enum
|
|
341
|
+
*/
|
|
342
|
+
export declare const ResourceOwner: {
|
|
343
|
+
readonly OTHER_ACCOUNTS: "OTHER_ACCOUNTS";
|
|
344
|
+
readonly SELF: "SELF";
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
|
|
350
|
+
/**
|
|
351
|
+
* @public
|
|
352
|
+
* @enum
|
|
353
|
+
*/
|
|
354
|
+
export declare const PutMode: {
|
|
355
|
+
readonly Merge: "merge";
|
|
356
|
+
readonly Overwrite: "overwrite";
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
export type PutMode = (typeof PutMode)[keyof typeof PutMode];
|
|
362
|
+
/**
|
|
363
|
+
* @public
|
|
364
|
+
* @enum
|
|
365
|
+
*/
|
|
366
|
+
export declare const Op: {
|
|
367
|
+
readonly add: "add";
|
|
368
|
+
readonly copy: "copy";
|
|
369
|
+
readonly move: "move";
|
|
370
|
+
readonly remove: "remove";
|
|
371
|
+
readonly replace: "replace";
|
|
372
|
+
readonly test: "test";
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* @public
|
|
376
|
+
*/
|
|
377
|
+
export type Op = (typeof Op)[keyof typeof Op];
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class BadRequestException extends __BaseException {
|
|
8
|
+
readonly name: "BadRequestException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class ConflictException extends __BaseException {
|
|
20
|
+
readonly name: "ConflictException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>The request exceeded the rate limit. Retry after the specified time period.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class LimitExceededException extends __BaseException {
|
|
32
|
+
readonly name: "LimitExceededException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
retryAfterSeconds?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* <p>The requested resource is not found. Make sure that the request URI is correct.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export declare class NotFoundException extends __BaseException {
|
|
45
|
+
readonly name: "NotFoundException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* <p>The request has reached its throttling limit. Retry after the specified time period.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
57
|
+
readonly name: "TooManyRequestsException";
|
|
58
|
+
readonly $fault: "client";
|
|
59
|
+
retryAfterSeconds?: string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* <p>The request is denied because the caller has insufficient permissions.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
70
|
+
readonly name: "UnauthorizedException";
|
|
71
|
+
readonly $fault: "client";
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* <p>The requested service is not available. For details see the accompanying error message. Retry after the specified time period.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
82
|
+
readonly name: "ServiceUnavailableException";
|
|
83
|
+
readonly $fault: "server";
|
|
84
|
+
retryAfterSeconds?: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
89
|
+
}
|