@aws-sdk/client-api-gateway 3.296.0 → 3.297.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-types/APIGateway.d.ts +121 -0
- package/dist-types/APIGatewayClient.d.ts +24 -4
- package/dist-types/commands/CreateApiKeyCommand.d.ts +16 -0
- package/dist-types/commands/CreateAuthorizerCommand.d.ts +16 -0
- package/dist-types/commands/CreateBasePathMappingCommand.d.ts +16 -0
- package/dist-types/commands/CreateDeploymentCommand.d.ts +16 -0
- package/dist-types/commands/CreateDocumentationPartCommand.d.ts +16 -0
- package/dist-types/commands/CreateDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/commands/CreateDomainNameCommand.d.ts +16 -0
- package/dist-types/commands/CreateModelCommand.d.ts +16 -0
- package/dist-types/commands/CreateRequestValidatorCommand.d.ts +16 -0
- package/dist-types/commands/CreateResourceCommand.d.ts +16 -0
- package/dist-types/commands/CreateRestApiCommand.d.ts +16 -0
- package/dist-types/commands/CreateStageCommand.d.ts +16 -0
- package/dist-types/commands/CreateUsagePlanCommand.d.ts +16 -0
- package/dist-types/commands/CreateUsagePlanKeyCommand.d.ts +16 -0
- package/dist-types/commands/CreateVpcLinkCommand.d.ts +16 -0
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +16 -0
- package/dist-types/commands/DeleteBasePathMappingCommand.d.ts +16 -0
- package/dist-types/commands/DeleteClientCertificateCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDocumentationPartCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +16 -0
- package/dist-types/commands/DeleteGatewayResponseCommand.d.ts +16 -0
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +16 -0
- package/dist-types/commands/DeleteIntegrationResponseCommand.d.ts +16 -0
- package/dist-types/commands/DeleteMethodCommand.d.ts +16 -0
- package/dist-types/commands/DeleteMethodResponseCommand.d.ts +16 -0
- package/dist-types/commands/DeleteModelCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRequestValidatorCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourceCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRestApiCommand.d.ts +16 -0
- package/dist-types/commands/DeleteStageCommand.d.ts +16 -0
- package/dist-types/commands/DeleteUsagePlanCommand.d.ts +16 -0
- package/dist-types/commands/DeleteUsagePlanKeyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteVpcLinkCommand.d.ts +16 -0
- package/dist-types/commands/FlushStageAuthorizersCacheCommand.d.ts +16 -0
- package/dist-types/commands/FlushStageCacheCommand.d.ts +16 -0
- package/dist-types/commands/GenerateClientCertificateCommand.d.ts +16 -0
- package/dist-types/commands/GetAccountCommand.d.ts +16 -0
- package/dist-types/commands/GetApiKeyCommand.d.ts +16 -0
- package/dist-types/commands/GetApiKeysCommand.d.ts +16 -0
- package/dist-types/commands/GetAuthorizerCommand.d.ts +16 -0
- package/dist-types/commands/GetAuthorizersCommand.d.ts +16 -0
- package/dist-types/commands/GetBasePathMappingCommand.d.ts +16 -0
- package/dist-types/commands/GetBasePathMappingsCommand.d.ts +16 -0
- package/dist-types/commands/GetClientCertificateCommand.d.ts +16 -0
- package/dist-types/commands/GetClientCertificatesCommand.d.ts +16 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +16 -0
- package/dist-types/commands/GetDeploymentsCommand.d.ts +16 -0
- package/dist-types/commands/GetDocumentationPartCommand.d.ts +16 -0
- package/dist-types/commands/GetDocumentationPartsCommand.d.ts +16 -0
- package/dist-types/commands/GetDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/commands/GetDocumentationVersionsCommand.d.ts +16 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +16 -0
- package/dist-types/commands/GetDomainNamesCommand.d.ts +16 -0
- package/dist-types/commands/GetExportCommand.d.ts +16 -0
- package/dist-types/commands/GetGatewayResponseCommand.d.ts +16 -0
- package/dist-types/commands/GetGatewayResponsesCommand.d.ts +16 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +16 -0
- package/dist-types/commands/GetIntegrationResponseCommand.d.ts +16 -0
- package/dist-types/commands/GetMethodCommand.d.ts +16 -0
- package/dist-types/commands/GetMethodResponseCommand.d.ts +16 -0
- package/dist-types/commands/GetModelCommand.d.ts +16 -0
- package/dist-types/commands/GetModelTemplateCommand.d.ts +16 -0
- package/dist-types/commands/GetModelsCommand.d.ts +16 -0
- package/dist-types/commands/GetRequestValidatorCommand.d.ts +16 -0
- package/dist-types/commands/GetRequestValidatorsCommand.d.ts +16 -0
- package/dist-types/commands/GetResourceCommand.d.ts +16 -0
- package/dist-types/commands/GetResourcesCommand.d.ts +16 -0
- package/dist-types/commands/GetRestApiCommand.d.ts +16 -0
- package/dist-types/commands/GetRestApisCommand.d.ts +16 -0
- package/dist-types/commands/GetSdkCommand.d.ts +16 -0
- package/dist-types/commands/GetSdkTypeCommand.d.ts +16 -0
- package/dist-types/commands/GetSdkTypesCommand.d.ts +16 -0
- package/dist-types/commands/GetStageCommand.d.ts +16 -0
- package/dist-types/commands/GetStagesCommand.d.ts +16 -0
- package/dist-types/commands/GetTagsCommand.d.ts +16 -0
- package/dist-types/commands/GetUsageCommand.d.ts +16 -0
- package/dist-types/commands/GetUsagePlanCommand.d.ts +16 -0
- package/dist-types/commands/GetUsagePlanKeyCommand.d.ts +16 -0
- package/dist-types/commands/GetUsagePlanKeysCommand.d.ts +16 -0
- package/dist-types/commands/GetUsagePlansCommand.d.ts +16 -0
- package/dist-types/commands/GetVpcLinkCommand.d.ts +16 -0
- package/dist-types/commands/GetVpcLinksCommand.d.ts +16 -0
- package/dist-types/commands/ImportApiKeysCommand.d.ts +16 -0
- package/dist-types/commands/ImportDocumentationPartsCommand.d.ts +16 -0
- package/dist-types/commands/ImportRestApiCommand.d.ts +16 -0
- package/dist-types/commands/PutGatewayResponseCommand.d.ts +16 -0
- package/dist-types/commands/PutIntegrationCommand.d.ts +16 -0
- package/dist-types/commands/PutIntegrationResponseCommand.d.ts +16 -0
- package/dist-types/commands/PutMethodCommand.d.ts +16 -0
- package/dist-types/commands/PutMethodResponseCommand.d.ts +16 -0
- package/dist-types/commands/PutRestApiCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +16 -0
- package/dist-types/commands/TestInvokeMethodCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAccountCommand.d.ts +16 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAuthorizerCommand.d.ts +16 -0
- package/dist-types/commands/UpdateBasePathMappingCommand.d.ts +16 -0
- package/dist-types/commands/UpdateClientCertificateCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDeploymentCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDocumentationPartCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +16 -0
- package/dist-types/commands/UpdateGatewayResponseCommand.d.ts +16 -0
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +16 -0
- package/dist-types/commands/UpdateIntegrationResponseCommand.d.ts +16 -0
- package/dist-types/commands/UpdateMethodCommand.d.ts +16 -0
- package/dist-types/commands/UpdateMethodResponseCommand.d.ts +16 -0
- package/dist-types/commands/UpdateModelCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRequestValidatorCommand.d.ts +16 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRestApiCommand.d.ts +16 -0
- package/dist-types/commands/UpdateStageCommand.d.ts +16 -0
- package/dist-types/commands/UpdateUsageCommand.d.ts +16 -0
- package/dist-types/commands/UpdateUsagePlanCommand.d.ts +16 -0
- package/dist-types/commands/UpdateVpcLinkCommand.d.ts +16 -0
- package/dist-types/models/APIGatewayServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +298 -48
- package/dist-types/pagination/GetApiKeysPaginator.d.ts +3 -0
- package/dist-types/pagination/GetBasePathMappingsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetClientCertificatesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetDeploymentsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetDomainNamesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetModelsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetResourcesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetRestApisPaginator.d.ts +3 -0
- package/dist-types/pagination/GetUsagePaginator.d.ts +3 -0
- package/dist-types/pagination/GetUsagePlanKeysPaginator.d.ts +3 -0
- package/dist-types/pagination/GetUsagePlansPaginator.d.ts +3 -0
- package/dist-types/pagination/GetVpcLinksPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>Access log settings, including the access log format and access log destination ARN.</p>
|
|
5
6
|
*/
|
|
6
7
|
export interface AccessLogSettings {
|
|
@@ -14,6 +15,7 @@ export interface AccessLogSettings {
|
|
|
14
15
|
destinationArn?: string;
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
18
|
+
* @public
|
|
17
19
|
* <p> The API request rate limits.</p>
|
|
18
20
|
*/
|
|
19
21
|
export interface ThrottleSettings {
|
|
@@ -27,6 +29,7 @@ export interface ThrottleSettings {
|
|
|
27
29
|
rateLimit?: number;
|
|
28
30
|
}
|
|
29
31
|
/**
|
|
32
|
+
* @public
|
|
30
33
|
* <p>Represents an AWS account that is associated with API Gateway.</p>
|
|
31
34
|
*/
|
|
32
35
|
export interface Account {
|
|
@@ -48,6 +51,7 @@ export interface Account {
|
|
|
48
51
|
apiKeyVersion?: string;
|
|
49
52
|
}
|
|
50
53
|
/**
|
|
54
|
+
* @public
|
|
51
55
|
* <p>A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.</p>
|
|
52
56
|
*/
|
|
53
57
|
export interface ApiKey {
|
|
@@ -93,6 +97,7 @@ export interface ApiKey {
|
|
|
93
97
|
tags?: Record<string, string>;
|
|
94
98
|
}
|
|
95
99
|
/**
|
|
100
|
+
* @public
|
|
96
101
|
* <p>The identifier of an ApiKey used in a UsagePlan.</p>
|
|
97
102
|
*/
|
|
98
103
|
export interface ApiKeyIds {
|
|
@@ -106,6 +111,7 @@ export interface ApiKeyIds {
|
|
|
106
111
|
warnings?: string[];
|
|
107
112
|
}
|
|
108
113
|
/**
|
|
114
|
+
* @public
|
|
109
115
|
* <p>Represents a collection of API keys as represented by an ApiKeys resource.</p>
|
|
110
116
|
*/
|
|
111
117
|
export interface ApiKeys {
|
|
@@ -122,14 +128,21 @@ export interface ApiKeys {
|
|
|
122
128
|
*/
|
|
123
129
|
position?: string;
|
|
124
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
125
134
|
export declare enum ApiKeysFormat {
|
|
126
135
|
csv = "csv"
|
|
127
136
|
}
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
128
140
|
export declare enum ApiKeySourceType {
|
|
129
141
|
AUTHORIZER = "AUTHORIZER",
|
|
130
142
|
HEADER = "HEADER"
|
|
131
143
|
}
|
|
132
144
|
/**
|
|
145
|
+
* @public
|
|
133
146
|
* <p>API stage name of the associated API stage in a usage plan.</p>
|
|
134
147
|
*/
|
|
135
148
|
export interface ApiStage {
|
|
@@ -146,12 +159,16 @@ export interface ApiStage {
|
|
|
146
159
|
*/
|
|
147
160
|
throttle?: Record<string, ThrottleSettings>;
|
|
148
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
149
165
|
export declare enum AuthorizerType {
|
|
150
166
|
COGNITO_USER_POOLS = "COGNITO_USER_POOLS",
|
|
151
167
|
REQUEST = "REQUEST",
|
|
152
168
|
TOKEN = "TOKEN"
|
|
153
169
|
}
|
|
154
170
|
/**
|
|
171
|
+
* @public
|
|
155
172
|
* <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>
|
|
156
173
|
*/
|
|
157
174
|
export interface Authorizer {
|
|
@@ -168,7 +185,7 @@ export interface Authorizer {
|
|
|
168
185
|
*/
|
|
169
186
|
type?: AuthorizerType | string;
|
|
170
187
|
/**
|
|
171
|
-
* <p>A list of the Amazon Cognito user pool ARNs for the <code>COGNITO_USER_POOLS</code> authorizer. Each element is of this format: <code>arn:aws:cognito-idp
|
|
188
|
+
* <p>A list of the Amazon Cognito user pool ARNs for the <code>COGNITO_USER_POOLS</code> authorizer. Each element is of this format: <code>arn:aws:cognito-idp:\{region\}:\{account_id\}:userpool/\{user_pool_id\}</code>. For a <code>TOKEN</code> or <code>REQUEST</code> authorizer, this is not defined. </p>
|
|
172
189
|
*/
|
|
173
190
|
providerARNs?: string[];
|
|
174
191
|
/**
|
|
@@ -176,7 +193,7 @@ export interface Authorizer {
|
|
|
176
193
|
*/
|
|
177
194
|
authType?: string;
|
|
178
195
|
/**
|
|
179
|
-
* <p>Specifies the authorizer's Uniform Resource Identifier (URI). For <code>TOKEN</code> or <code>REQUEST</code> authorizers, this must be a well-formed Lambda function URI, for example, <code>arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2
|
|
196
|
+
* <p>Specifies the authorizer's Uniform Resource Identifier (URI). For <code>TOKEN</code> or <code>REQUEST</code> authorizers, this must be a well-formed Lambda function URI, for example, <code>arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:\{account_id\}:function:\{lambda_function_name\}/invocations</code>. In general, the URI has this form <code>arn:aws:apigateway:\{region\}:lambda:path/\{service_api\}</code>, where <code>\{region\}</code> is the same as the region hosting the Lambda function, <code>path</code> indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial <code>/</code>. For Lambda functions, this is usually of the form <code>/2015-03-31/functions/[FunctionARN]/invocations</code>.</p>
|
|
180
197
|
*/
|
|
181
198
|
authorizerUri?: string;
|
|
182
199
|
/**
|
|
@@ -211,6 +228,7 @@ export interface Authorizer {
|
|
|
211
228
|
authorizerResultTtlInSeconds?: number;
|
|
212
229
|
}
|
|
213
230
|
/**
|
|
231
|
+
* @public
|
|
214
232
|
* <p>Represents a collection of Authorizer resources.</p>
|
|
215
233
|
*/
|
|
216
234
|
export interface Authorizers {
|
|
@@ -224,6 +242,7 @@ export interface Authorizers {
|
|
|
224
242
|
position?: string;
|
|
225
243
|
}
|
|
226
244
|
/**
|
|
245
|
+
* @public
|
|
227
246
|
* <p>The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
228
247
|
*/
|
|
229
248
|
export declare class BadRequestException extends __BaseException {
|
|
@@ -235,6 +254,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
235
254
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
236
255
|
}
|
|
237
256
|
/**
|
|
257
|
+
* @public
|
|
238
258
|
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
239
259
|
*/
|
|
240
260
|
export declare class ConflictException extends __BaseException {
|
|
@@ -246,7 +266,8 @@ export declare class ConflictException extends __BaseException {
|
|
|
246
266
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
247
267
|
}
|
|
248
268
|
/**
|
|
249
|
-
*
|
|
269
|
+
* @public
|
|
270
|
+
* <p>A reference to a unique stage identified in the format <code>\{restApiId\}/\{stage\}</code>.</p>
|
|
250
271
|
*/
|
|
251
272
|
export interface StageKey {
|
|
252
273
|
/**
|
|
@@ -259,6 +280,7 @@ export interface StageKey {
|
|
|
259
280
|
stageName?: string;
|
|
260
281
|
}
|
|
261
282
|
/**
|
|
283
|
+
* @public
|
|
262
284
|
* <p>Request to create an ApiKey resource.</p>
|
|
263
285
|
*/
|
|
264
286
|
export interface CreateApiKeyRequest {
|
|
@@ -296,6 +318,7 @@ export interface CreateApiKeyRequest {
|
|
|
296
318
|
tags?: Record<string, string>;
|
|
297
319
|
}
|
|
298
320
|
/**
|
|
321
|
+
* @public
|
|
299
322
|
* <p>The request exceeded the rate limit. Retry after the specified time period.</p>
|
|
300
323
|
*/
|
|
301
324
|
export declare class LimitExceededException extends __BaseException {
|
|
@@ -308,6 +331,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
308
331
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
309
332
|
}
|
|
310
333
|
/**
|
|
334
|
+
* @public
|
|
311
335
|
* <p>The requested resource is not found. Make sure that the request URI is correct.</p>
|
|
312
336
|
*/
|
|
313
337
|
export declare class NotFoundException extends __BaseException {
|
|
@@ -319,6 +343,7 @@ export declare class NotFoundException extends __BaseException {
|
|
|
319
343
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
320
344
|
}
|
|
321
345
|
/**
|
|
346
|
+
* @public
|
|
322
347
|
* <p>The request has reached its throttling limit. Retry after the specified time period.</p>
|
|
323
348
|
*/
|
|
324
349
|
export declare class TooManyRequestsException extends __BaseException {
|
|
@@ -331,6 +356,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
331
356
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
332
357
|
}
|
|
333
358
|
/**
|
|
359
|
+
* @public
|
|
334
360
|
* <p>The request is denied because the caller has insufficient permissions.</p>
|
|
335
361
|
*/
|
|
336
362
|
export declare class UnauthorizedException extends __BaseException {
|
|
@@ -342,6 +368,7 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
342
368
|
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
343
369
|
}
|
|
344
370
|
/**
|
|
371
|
+
* @public
|
|
345
372
|
* <p>Request to add a new Authorizer to an existing RestApi resource.</p>
|
|
346
373
|
*/
|
|
347
374
|
export interface CreateAuthorizerRequest {
|
|
@@ -358,7 +385,7 @@ export interface CreateAuthorizerRequest {
|
|
|
358
385
|
*/
|
|
359
386
|
type: AuthorizerType | string | undefined;
|
|
360
387
|
/**
|
|
361
|
-
* <p>A list of the Amazon Cognito user pool ARNs for the <code>COGNITO_USER_POOLS</code> authorizer. Each element is of this format: <code>arn:aws:cognito-idp
|
|
388
|
+
* <p>A list of the Amazon Cognito user pool ARNs for the <code>COGNITO_USER_POOLS</code> authorizer. Each element is of this format: <code>arn:aws:cognito-idp:\{region\}:\{account_id\}:userpool/\{user_pool_id\}</code>. For a <code>TOKEN</code> or <code>REQUEST</code> authorizer, this is not defined. </p>
|
|
362
389
|
*/
|
|
363
390
|
providerARNs?: string[];
|
|
364
391
|
/**
|
|
@@ -366,7 +393,7 @@ export interface CreateAuthorizerRequest {
|
|
|
366
393
|
*/
|
|
367
394
|
authType?: string;
|
|
368
395
|
/**
|
|
369
|
-
* <p>Specifies the authorizer's Uniform Resource Identifier (URI). For <code>TOKEN</code> or <code>REQUEST</code> authorizers, this must be a well-formed Lambda function URI, for example, <code>arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2
|
|
396
|
+
* <p>Specifies the authorizer's Uniform Resource Identifier (URI). For <code>TOKEN</code> or <code>REQUEST</code> authorizers, this must be a well-formed Lambda function URI, for example, <code>arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:\{account_id\}:function:\{lambda_function_name\}/invocations</code>. In general, the URI has this form <code>arn:aws:apigateway:\{region\}:lambda:path/\{service_api\}</code>, where <code>\{region\}</code> is the same as the region hosting the Lambda function, <code>path</code> indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial <code>/</code>. For Lambda functions, this is usually of the form <code>/2015-03-31/functions/[FunctionARN]/invocations</code>.</p>
|
|
370
397
|
*/
|
|
371
398
|
authorizerUri?: string;
|
|
372
399
|
/**
|
|
@@ -403,6 +430,7 @@ export interface CreateAuthorizerRequest {
|
|
|
403
430
|
authorizerResultTtlInSeconds?: number;
|
|
404
431
|
}
|
|
405
432
|
/**
|
|
433
|
+
* @public
|
|
406
434
|
* <p>Represents the base path that callers of the API must provide as part of the URL after the domain name.</p>
|
|
407
435
|
*/
|
|
408
436
|
export interface BasePathMapping {
|
|
@@ -420,6 +448,7 @@ export interface BasePathMapping {
|
|
|
420
448
|
stage?: string;
|
|
421
449
|
}
|
|
422
450
|
/**
|
|
451
|
+
* @public
|
|
423
452
|
* <p>Requests API Gateway to create a new BasePathMapping resource.</p>
|
|
424
453
|
*/
|
|
425
454
|
export interface CreateBasePathMappingRequest {
|
|
@@ -440,6 +469,9 @@ export interface CreateBasePathMappingRequest {
|
|
|
440
469
|
*/
|
|
441
470
|
stage?: string;
|
|
442
471
|
}
|
|
472
|
+
/**
|
|
473
|
+
* @public
|
|
474
|
+
*/
|
|
443
475
|
export declare enum CacheClusterSize {
|
|
444
476
|
SIZE_0_POINT_5_GB = "0.5",
|
|
445
477
|
SIZE_118_GB = "118",
|
|
@@ -451,6 +483,7 @@ export declare enum CacheClusterSize {
|
|
|
451
483
|
SIZE_6_POINT_1_GB = "6.1"
|
|
452
484
|
}
|
|
453
485
|
/**
|
|
486
|
+
* @public
|
|
454
487
|
* <p>The input configuration for a canary deployment.</p>
|
|
455
488
|
*/
|
|
456
489
|
export interface DeploymentCanarySettings {
|
|
@@ -468,6 +501,7 @@ export interface DeploymentCanarySettings {
|
|
|
468
501
|
useStageCache?: boolean;
|
|
469
502
|
}
|
|
470
503
|
/**
|
|
504
|
+
* @public
|
|
471
505
|
* <p>Requests API Gateway to create a Deployment resource.</p>
|
|
472
506
|
*/
|
|
473
507
|
export interface CreateDeploymentRequest {
|
|
@@ -511,6 +545,7 @@ export interface CreateDeploymentRequest {
|
|
|
511
545
|
tracingEnabled?: boolean;
|
|
512
546
|
}
|
|
513
547
|
/**
|
|
548
|
+
* @public
|
|
514
549
|
* <p>Represents a summary of a Method resource, given a particular date and time.</p>
|
|
515
550
|
*/
|
|
516
551
|
export interface MethodSnapshot {
|
|
@@ -524,6 +559,7 @@ export interface MethodSnapshot {
|
|
|
524
559
|
apiKeyRequired?: boolean;
|
|
525
560
|
}
|
|
526
561
|
/**
|
|
562
|
+
* @public
|
|
527
563
|
* <p>An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.</p>
|
|
528
564
|
*/
|
|
529
565
|
export interface Deployment {
|
|
@@ -545,6 +581,7 @@ export interface Deployment {
|
|
|
545
581
|
apiSummary?: Record<string, Record<string, MethodSnapshot>>;
|
|
546
582
|
}
|
|
547
583
|
/**
|
|
584
|
+
* @public
|
|
548
585
|
* <p>The requested service is not available. For details see the accompanying error message. Retry after the specified time period.</p>
|
|
549
586
|
*/
|
|
550
587
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
@@ -556,6 +593,9 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
556
593
|
*/
|
|
557
594
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
558
595
|
}
|
|
596
|
+
/**
|
|
597
|
+
* @public
|
|
598
|
+
*/
|
|
559
599
|
export declare enum DocumentationPartType {
|
|
560
600
|
API = "API",
|
|
561
601
|
AUTHORIZER = "AUTHORIZER",
|
|
@@ -571,6 +611,7 @@ export declare enum DocumentationPartType {
|
|
|
571
611
|
RESPONSE_HEADER = "RESPONSE_HEADER"
|
|
572
612
|
}
|
|
573
613
|
/**
|
|
614
|
+
* @public
|
|
574
615
|
* <p>Specifies the target API entity to which the documentation applies.</p>
|
|
575
616
|
*/
|
|
576
617
|
export interface DocumentationPartLocation {
|
|
@@ -596,6 +637,7 @@ export interface DocumentationPartLocation {
|
|
|
596
637
|
name?: string;
|
|
597
638
|
}
|
|
598
639
|
/**
|
|
640
|
+
* @public
|
|
599
641
|
* <p>Creates a new documentation part of a given API.</p>
|
|
600
642
|
*/
|
|
601
643
|
export interface CreateDocumentationPartRequest {
|
|
@@ -613,6 +655,7 @@ export interface CreateDocumentationPartRequest {
|
|
|
613
655
|
properties: string | undefined;
|
|
614
656
|
}
|
|
615
657
|
/**
|
|
658
|
+
* @public
|
|
616
659
|
* <p>A documentation part for a targeted API entity.</p>
|
|
617
660
|
*/
|
|
618
661
|
export interface DocumentationPart {
|
|
@@ -625,11 +668,12 @@ export interface DocumentationPart {
|
|
|
625
668
|
*/
|
|
626
669
|
location?: DocumentationPartLocation;
|
|
627
670
|
/**
|
|
628
|
-
* <p>A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., <code>"{ \"description\": \"The API does ...\" }"</code>. Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of <code>x-amazon-apigateway-documentation</code>.</p>
|
|
671
|
+
* <p>A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., <code>"\{ \"description\": \"The API does ...\" \}"</code>. Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of <code>x-amazon-apigateway-documentation</code>.</p>
|
|
629
672
|
*/
|
|
630
673
|
properties?: string;
|
|
631
674
|
}
|
|
632
675
|
/**
|
|
676
|
+
* @public
|
|
633
677
|
* <p>Creates a new documentation version of a given API.</p>
|
|
634
678
|
*/
|
|
635
679
|
export interface CreateDocumentationVersionRequest {
|
|
@@ -651,6 +695,7 @@ export interface CreateDocumentationVersionRequest {
|
|
|
651
695
|
description?: string;
|
|
652
696
|
}
|
|
653
697
|
/**
|
|
698
|
+
* @public
|
|
654
699
|
* <p>A snapshot of the documentation of an API.</p>
|
|
655
700
|
*/
|
|
656
701
|
export interface DocumentationVersion {
|
|
@@ -667,12 +712,16 @@ export interface DocumentationVersion {
|
|
|
667
712
|
*/
|
|
668
713
|
description?: string;
|
|
669
714
|
}
|
|
715
|
+
/**
|
|
716
|
+
* @public
|
|
717
|
+
*/
|
|
670
718
|
export declare enum EndpointType {
|
|
671
719
|
EDGE = "EDGE",
|
|
672
720
|
PRIVATE = "PRIVATE",
|
|
673
721
|
REGIONAL = "REGIONAL"
|
|
674
722
|
}
|
|
675
723
|
/**
|
|
724
|
+
* @public
|
|
676
725
|
* <p>The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has. </p>
|
|
677
726
|
*/
|
|
678
727
|
export interface EndpointConfiguration {
|
|
@@ -686,6 +735,7 @@ export interface EndpointConfiguration {
|
|
|
686
735
|
vpcEndpointIds?: string[];
|
|
687
736
|
}
|
|
688
737
|
/**
|
|
738
|
+
* @public
|
|
689
739
|
* <p>The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway
|
|
690
740
|
* performs two-way authentication between the client and the server. Clients must present a
|
|
691
741
|
* trusted certificate to access your API.</p>
|
|
@@ -704,11 +754,15 @@ export interface MutualTlsAuthenticationInput {
|
|
|
704
754
|
*/
|
|
705
755
|
truststoreVersion?: string;
|
|
706
756
|
}
|
|
757
|
+
/**
|
|
758
|
+
* @public
|
|
759
|
+
*/
|
|
707
760
|
export declare enum SecurityPolicy {
|
|
708
761
|
TLS_1_0 = "TLS_1_0",
|
|
709
762
|
TLS_1_2 = "TLS_1_2"
|
|
710
763
|
}
|
|
711
764
|
/**
|
|
765
|
+
* @public
|
|
712
766
|
* <p>A request to create a new domain name.</p>
|
|
713
767
|
*/
|
|
714
768
|
export interface CreateDomainNameRequest {
|
|
@@ -769,6 +823,9 @@ export interface CreateDomainNameRequest {
|
|
|
769
823
|
*/
|
|
770
824
|
ownershipVerificationCertificateArn?: string;
|
|
771
825
|
}
|
|
826
|
+
/**
|
|
827
|
+
* @public
|
|
828
|
+
*/
|
|
772
829
|
export declare enum DomainNameStatus {
|
|
773
830
|
AVAILABLE = "AVAILABLE",
|
|
774
831
|
PENDING = "PENDING",
|
|
@@ -777,6 +834,7 @@ export declare enum DomainNameStatus {
|
|
|
777
834
|
UPDATING = "UPDATING"
|
|
778
835
|
}
|
|
779
836
|
/**
|
|
837
|
+
* @public
|
|
780
838
|
* <p>The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway
|
|
781
839
|
* performs two-way authentication between the client and the server. Clients must present a
|
|
782
840
|
* trusted certificate to access your API.</p>
|
|
@@ -803,6 +861,7 @@ export interface MutualTlsAuthentication {
|
|
|
803
861
|
truststoreWarnings?: string[];
|
|
804
862
|
}
|
|
805
863
|
/**
|
|
864
|
+
* @public
|
|
806
865
|
* <p>Represents a custom domain name as a user-friendly host name of an API (RestApi).</p>
|
|
807
866
|
*/
|
|
808
867
|
export interface DomainName {
|
|
@@ -880,6 +939,7 @@ export interface DomainName {
|
|
|
880
939
|
ownershipVerificationCertificateArn?: string;
|
|
881
940
|
}
|
|
882
941
|
/**
|
|
942
|
+
* @public
|
|
883
943
|
* <p>Request to add a new Model to an existing RestApi resource.</p>
|
|
884
944
|
*/
|
|
885
945
|
export interface CreateModelRequest {
|
|
@@ -905,6 +965,7 @@ export interface CreateModelRequest {
|
|
|
905
965
|
contentType: string | undefined;
|
|
906
966
|
}
|
|
907
967
|
/**
|
|
968
|
+
* @public
|
|
908
969
|
* <p>Represents the data structure of a method's request or response payload.</p>
|
|
909
970
|
*/
|
|
910
971
|
export interface Model {
|
|
@@ -930,6 +991,7 @@ export interface Model {
|
|
|
930
991
|
contentType?: string;
|
|
931
992
|
}
|
|
932
993
|
/**
|
|
994
|
+
* @public
|
|
933
995
|
* <p>Creates a RequestValidator of a given RestApi.</p>
|
|
934
996
|
*/
|
|
935
997
|
export interface CreateRequestValidatorRequest {
|
|
@@ -951,6 +1013,7 @@ export interface CreateRequestValidatorRequest {
|
|
|
951
1013
|
validateRequestParameters?: boolean;
|
|
952
1014
|
}
|
|
953
1015
|
/**
|
|
1016
|
+
* @public
|
|
954
1017
|
* <p>A set of validation rules for incoming Method requests.</p>
|
|
955
1018
|
*/
|
|
956
1019
|
export interface RequestValidator {
|
|
@@ -972,6 +1035,7 @@ export interface RequestValidator {
|
|
|
972
1035
|
validateRequestParameters?: boolean;
|
|
973
1036
|
}
|
|
974
1037
|
/**
|
|
1038
|
+
* @public
|
|
975
1039
|
* <p>Requests API Gateway to create a Resource resource.</p>
|
|
976
1040
|
*/
|
|
977
1041
|
export interface CreateResourceRequest {
|
|
@@ -988,15 +1052,22 @@ export interface CreateResourceRequest {
|
|
|
988
1052
|
*/
|
|
989
1053
|
pathPart: string | undefined;
|
|
990
1054
|
}
|
|
1055
|
+
/**
|
|
1056
|
+
* @public
|
|
1057
|
+
*/
|
|
991
1058
|
export declare enum ConnectionType {
|
|
992
1059
|
INTERNET = "INTERNET",
|
|
993
1060
|
VPC_LINK = "VPC_LINK"
|
|
994
1061
|
}
|
|
1062
|
+
/**
|
|
1063
|
+
* @public
|
|
1064
|
+
*/
|
|
995
1065
|
export declare enum ContentHandlingStrategy {
|
|
996
1066
|
CONVERT_TO_BINARY = "CONVERT_TO_BINARY",
|
|
997
1067
|
CONVERT_TO_TEXT = "CONVERT_TO_TEXT"
|
|
998
1068
|
}
|
|
999
1069
|
/**
|
|
1070
|
+
* @public
|
|
1000
1071
|
* <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>
|
|
1001
1072
|
*/
|
|
1002
1073
|
export interface IntegrationResponse {
|
|
@@ -1010,7 +1081,7 @@ export interface IntegrationResponse {
|
|
|
1010
1081
|
selectionPattern?: string;
|
|
1011
1082
|
/**
|
|
1012
1083
|
* <p>A key-value map specifying response parameters that are passed to the method response from the back end.
|
|
1013
|
-
* The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of <code>method.response.header
|
|
1084
|
+
* The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of <code>method.response.header.\{name\}</code>, where <code>name</code> is a valid and unique header name. The mapped non-static value must match the pattern of <code>integration.response.header.\{name\}</code> or <code>integration.response.body.\{JSON-expression\}</code>, where <code>name</code> is a valid and unique response header name and <code>JSON-expression</code> is a valid JSON expression without the <code>$</code> prefix.</p>
|
|
1014
1085
|
*/
|
|
1015
1086
|
responseParameters?: Record<string, string>;
|
|
1016
1087
|
/**
|
|
@@ -1024,6 +1095,7 @@ export interface IntegrationResponse {
|
|
|
1024
1095
|
contentHandling?: ContentHandlingStrategy | string;
|
|
1025
1096
|
}
|
|
1026
1097
|
/**
|
|
1098
|
+
* @public
|
|
1027
1099
|
* <p>Specifies the TLS configuration for an integration.</p>
|
|
1028
1100
|
*/
|
|
1029
1101
|
export interface TlsConfig {
|
|
@@ -1042,6 +1114,9 @@ export interface TlsConfig {
|
|
|
1042
1114
|
*/
|
|
1043
1115
|
insecureSkipVerification?: boolean;
|
|
1044
1116
|
}
|
|
1117
|
+
/**
|
|
1118
|
+
* @public
|
|
1119
|
+
*/
|
|
1045
1120
|
export declare enum IntegrationType {
|
|
1046
1121
|
AWS = "AWS",
|
|
1047
1122
|
AWS_PROXY = "AWS_PROXY",
|
|
@@ -1050,6 +1125,7 @@ export declare enum IntegrationType {
|
|
|
1050
1125
|
MOCK = "MOCK"
|
|
1051
1126
|
}
|
|
1052
1127
|
/**
|
|
1128
|
+
* @public
|
|
1053
1129
|
* <p>Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.</p>
|
|
1054
1130
|
*/
|
|
1055
1131
|
export interface Integration {
|
|
@@ -1068,17 +1144,17 @@ export interface Integration {
|
|
|
1068
1144
|
* according to the RFC-3986 specification, for either standard integration, where <code>connectionType</code>
|
|
1069
1145
|
* is not <code>VPC_LINK</code>, or private integration, where <code>connectionType</code> is <code>VPC_LINK</code>. For a private HTTP
|
|
1070
1146
|
* integration, the URI is not used for routing. For <code>AWS</code> or <code>AWS_PROXY</code> integrations, the URI is of
|
|
1071
|
-
* the form <code>arn:aws:apigateway
|
|
1072
|
-
* Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the
|
|
1073
|
-
* integrated Amazon Web Services service (e.g., s3); and {subdomain} is a designated subdomain supported by
|
|
1147
|
+
* the form <code>arn:aws:apigateway:\{region\}:\{subdomain.service|service\}:path|action/\{service_api\}</code>.
|
|
1148
|
+
* Here, \{Region\} is the API Gateway region (e.g., us-east-1); \{service\} is the name of the
|
|
1149
|
+
* integrated Amazon Web Services service (e.g., s3); and \{subdomain\} is a designated subdomain supported by
|
|
1074
1150
|
* certain Amazon Web Services service for fast host-name lookup. action can be used for an Amazon Web Services service
|
|
1075
|
-
* action-based API, using an Action
|
|
1076
|
-
* {service_api} refers to a supported action {name} plus any required input parameters.
|
|
1151
|
+
* action-based API, using an Action=\{name\}&\{p1\}=\{v1\}&p2=\{v2\}... query string. The ensuing
|
|
1152
|
+
* \{service_api\} refers to a supported action \{name\} plus any required input parameters.
|
|
1077
1153
|
* Alternatively, path can be used for an AWS service path-based API. The ensuing service_api
|
|
1078
1154
|
* refers to the path to an Amazon Web Services service resource, including the region of the integrated Amazon Web Services
|
|
1079
1155
|
* service, if applicable. For example, for integration with the S3 API of GetObject, the uri can
|
|
1080
|
-
* be either <code>arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket
|
|
1081
|
-
* <code>arn:aws:apigateway:us-west-2:s3:path
|
|
1156
|
+
* be either <code>arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket=\{bucket\}&Key=\{key\}</code> or
|
|
1157
|
+
* <code>arn:aws:apigateway:us-west-2:s3:path/\{bucket\}/\{key\}</code>
|
|
1082
1158
|
* </p>
|
|
1083
1159
|
*/
|
|
1084
1160
|
uri?: string;
|
|
@@ -1095,7 +1171,7 @@ export interface Integration {
|
|
|
1095
1171
|
*/
|
|
1096
1172
|
credentials?: string;
|
|
1097
1173
|
/**
|
|
1098
|
-
* <p>A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of <code>method.request
|
|
1174
|
+
* <p>A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of <code>method.request.\{location\}.\{name\}</code>, where <code>location</code> is <code>querystring</code>, <code>path</code>, or <code>header</code> and <code>name</code> must be a valid and unique method request parameter name.</p>
|
|
1099
1175
|
*/
|
|
1100
1176
|
requestParameters?: Record<string, string>;
|
|
1101
1177
|
/**
|
|
@@ -1147,6 +1223,7 @@ export interface Integration {
|
|
|
1147
1223
|
tlsConfig?: TlsConfig;
|
|
1148
1224
|
}
|
|
1149
1225
|
/**
|
|
1226
|
+
* @public
|
|
1150
1227
|
* <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>
|
|
1151
1228
|
*/
|
|
1152
1229
|
export interface MethodResponse {
|
|
@@ -1155,7 +1232,7 @@ export interface MethodResponse {
|
|
|
1155
1232
|
*/
|
|
1156
1233
|
statusCode?: string;
|
|
1157
1234
|
/**
|
|
1158
|
-
* <p>A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern <code>method.response.header
|
|
1235
|
+
* <p>A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern <code>method.response.header.\{name\}</code>, where <code>name</code> is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in <code>integration.response.header.\{name\}</code>, a static value enclosed within a pair of single quotes (e.g., <code>'application/json'</code>), or a JSON expression from the back-end response payload in the form of <code>integration.response.body.\{JSON-expression\}</code>, where <code>JSON-expression</code> is a valid JSON expression without the <code>$</code> prefix.)</p>
|
|
1159
1236
|
*/
|
|
1160
1237
|
responseParameters?: Record<string, boolean>;
|
|
1161
1238
|
/**
|
|
@@ -1164,6 +1241,7 @@ export interface MethodResponse {
|
|
|
1164
1241
|
responseModels?: Record<string, string>;
|
|
1165
1242
|
}
|
|
1166
1243
|
/**
|
|
1244
|
+
* @public
|
|
1167
1245
|
* <p>
|
|
1168
1246
|
* Represents a client-facing interface by which the client calls the API to access back-end resources. A Method resource is
|
|
1169
1247
|
* integrated with an Integration resource. Both consist of a request and one or more responses. The method request takes
|
|
@@ -1199,7 +1277,7 @@ export interface Method {
|
|
|
1199
1277
|
*/
|
|
1200
1278
|
operationName?: string;
|
|
1201
1279
|
/**
|
|
1202
|
-
* <p>A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of <code>method.request
|
|
1280
|
+
* <p>A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of <code>method.request.\{location\}.\{name\}</code>, where <code>location</code> is <code>querystring</code>, <code>path</code>, or <code>header</code> and <code>name</code> is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (<code>true</code>) or optional (<code>false</code>). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.</p>
|
|
1203
1281
|
*/
|
|
1204
1282
|
requestParameters?: Record<string, boolean>;
|
|
1205
1283
|
/**
|
|
@@ -1220,6 +1298,7 @@ export interface Method {
|
|
|
1220
1298
|
authorizationScopes?: string[];
|
|
1221
1299
|
}
|
|
1222
1300
|
/**
|
|
1301
|
+
* @public
|
|
1223
1302
|
* <p>Represents an API resource.</p>
|
|
1224
1303
|
*/
|
|
1225
1304
|
export interface Resource {
|
|
@@ -1245,6 +1324,7 @@ export interface Resource {
|
|
|
1245
1324
|
resourceMethods?: Record<string, Method>;
|
|
1246
1325
|
}
|
|
1247
1326
|
/**
|
|
1327
|
+
* @public
|
|
1248
1328
|
* <p>The POST Request to add a new RestApi resource to your collection.</p>
|
|
1249
1329
|
*/
|
|
1250
1330
|
export interface CreateRestApiRequest {
|
|
@@ -1294,12 +1374,13 @@ export interface CreateRestApiRequest {
|
|
|
1294
1374
|
/**
|
|
1295
1375
|
* <p>Specifies whether clients can invoke your API by using the default <code>execute-api</code> endpoint.
|
|
1296
1376
|
* By default, clients can invoke your API with the default
|
|
1297
|
-
* <code>https
|
|
1377
|
+
* <code>https://\{api_id\}.execute-api.\{region\}.amazonaws.com</code> endpoint. To require that clients use a
|
|
1298
1378
|
* custom domain name to invoke your API, disable the default endpoint</p>
|
|
1299
1379
|
*/
|
|
1300
1380
|
disableExecuteApiEndpoint?: boolean;
|
|
1301
1381
|
}
|
|
1302
1382
|
/**
|
|
1383
|
+
* @public
|
|
1303
1384
|
* <p>Represents a REST API.</p>
|
|
1304
1385
|
*/
|
|
1305
1386
|
export interface RestApi {
|
|
@@ -1357,12 +1438,13 @@ export interface RestApi {
|
|
|
1357
1438
|
/**
|
|
1358
1439
|
* <p>Specifies whether clients can invoke your API by using the default <code>execute-api</code> endpoint.
|
|
1359
1440
|
* By default, clients can invoke your API with the default
|
|
1360
|
-
* <code>https
|
|
1441
|
+
* <code>https://\{api_id\}.execute-api.\{region\}.amazonaws.com</code> endpoint. To require that clients use a
|
|
1361
1442
|
* custom domain name to invoke your API, disable the default endpoint.</p>
|
|
1362
1443
|
*/
|
|
1363
1444
|
disableExecuteApiEndpoint?: boolean;
|
|
1364
1445
|
}
|
|
1365
1446
|
/**
|
|
1447
|
+
* @public
|
|
1366
1448
|
* <p>Configuration settings of a canary deployment.</p>
|
|
1367
1449
|
*/
|
|
1368
1450
|
export interface CanarySettings {
|
|
@@ -1384,6 +1466,7 @@ export interface CanarySettings {
|
|
|
1384
1466
|
useStageCache?: boolean;
|
|
1385
1467
|
}
|
|
1386
1468
|
/**
|
|
1469
|
+
* @public
|
|
1387
1470
|
* <p>Requests API Gateway to create a Stage resource.</p>
|
|
1388
1471
|
*/
|
|
1389
1472
|
export interface CreateStageRequest {
|
|
@@ -1434,6 +1517,9 @@ export interface CreateStageRequest {
|
|
|
1434
1517
|
*/
|
|
1435
1518
|
tags?: Record<string, string>;
|
|
1436
1519
|
}
|
|
1520
|
+
/**
|
|
1521
|
+
* @public
|
|
1522
|
+
*/
|
|
1437
1523
|
export declare enum CacheClusterStatus {
|
|
1438
1524
|
AVAILABLE = "AVAILABLE",
|
|
1439
1525
|
CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS",
|
|
@@ -1441,57 +1527,62 @@ export declare enum CacheClusterStatus {
|
|
|
1441
1527
|
FLUSH_IN_PROGRESS = "FLUSH_IN_PROGRESS",
|
|
1442
1528
|
NOT_AVAILABLE = "NOT_AVAILABLE"
|
|
1443
1529
|
}
|
|
1530
|
+
/**
|
|
1531
|
+
* @public
|
|
1532
|
+
*/
|
|
1444
1533
|
export declare enum UnauthorizedCacheControlHeaderStrategy {
|
|
1445
1534
|
FAIL_WITH_403 = "FAIL_WITH_403",
|
|
1446
1535
|
SUCCEED_WITHOUT_RESPONSE_HEADER = "SUCCEED_WITHOUT_RESPONSE_HEADER",
|
|
1447
1536
|
SUCCEED_WITH_RESPONSE_HEADER = "SUCCEED_WITH_RESPONSE_HEADER"
|
|
1448
1537
|
}
|
|
1449
1538
|
/**
|
|
1539
|
+
* @public
|
|
1450
1540
|
* <p>Specifies the method setting properties.</p>
|
|
1451
1541
|
*/
|
|
1452
1542
|
export interface MethodSetting {
|
|
1453
1543
|
/**
|
|
1454
|
-
* <p>Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is <code
|
|
1544
|
+
* <p>Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is <code>/\{method_setting_key\}/metrics/enabled</code>, and the value is a Boolean.</p>
|
|
1455
1545
|
*/
|
|
1456
1546
|
metricsEnabled?: boolean;
|
|
1457
1547
|
/**
|
|
1458
|
-
* <p>Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is <code
|
|
1548
|
+
* <p>Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is <code>/\{method_setting_key\}/logging/loglevel</code>, and the available levels are <code>OFF</code>, <code>ERROR</code>, and <code>INFO</code>. Choose <code>ERROR</code> to write only error-level entries to CloudWatch Logs, or choose <code>INFO</code> to include all <code>ERROR</code> events as well as extra informational events.</p>
|
|
1459
1549
|
*/
|
|
1460
1550
|
loggingLevel?: string;
|
|
1461
1551
|
/**
|
|
1462
|
-
* <p>Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is <code
|
|
1552
|
+
* <p>Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is <code>/\{method_setting_key\}/logging/dataTrace</code>, and the value is a Boolean.</p>
|
|
1463
1553
|
*/
|
|
1464
1554
|
dataTraceEnabled?: boolean;
|
|
1465
1555
|
/**
|
|
1466
|
-
* <p>Specifies the throttling burst limit. The PATCH path for this setting is <code
|
|
1556
|
+
* <p>Specifies the throttling burst limit. The PATCH path for this setting is <code>/\{method_setting_key\}/throttling/burstLimit</code>, and the value is an integer.</p>
|
|
1467
1557
|
*/
|
|
1468
1558
|
throttlingBurstLimit?: number;
|
|
1469
1559
|
/**
|
|
1470
|
-
* <p>Specifies the throttling rate limit. The PATCH path for this setting is <code
|
|
1560
|
+
* <p>Specifies the throttling rate limit. The PATCH path for this setting is <code>/\{method_setting_key\}/throttling/rateLimit</code>, and the value is a double.</p>
|
|
1471
1561
|
*/
|
|
1472
1562
|
throttlingRateLimit?: number;
|
|
1473
1563
|
/**
|
|
1474
|
-
* <p>Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is <code
|
|
1564
|
+
* <p>Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is <code>/\{method_setting_key\}/caching/enabled</code>, and the value is a Boolean.</p>
|
|
1475
1565
|
*/
|
|
1476
1566
|
cachingEnabled?: boolean;
|
|
1477
1567
|
/**
|
|
1478
|
-
* <p>Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is <code
|
|
1568
|
+
* <p>Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is <code>/\{method_setting_key\}/caching/ttlInSeconds</code>, and the value is an integer.</p>
|
|
1479
1569
|
*/
|
|
1480
1570
|
cacheTtlInSeconds?: number;
|
|
1481
1571
|
/**
|
|
1482
|
-
* <p>Specifies whether the cached responses are encrypted. The PATCH path for this setting is <code
|
|
1572
|
+
* <p>Specifies whether the cached responses are encrypted. The PATCH path for this setting is <code>/\{method_setting_key\}/caching/dataEncrypted</code>, and the value is a Boolean.</p>
|
|
1483
1573
|
*/
|
|
1484
1574
|
cacheDataEncrypted?: boolean;
|
|
1485
1575
|
/**
|
|
1486
|
-
* <p>Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is <code
|
|
1576
|
+
* <p>Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is <code>/\{method_setting_key\}/caching/requireAuthorizationForCacheControl</code>, and the value is a Boolean.</p>
|
|
1487
1577
|
*/
|
|
1488
1578
|
requireAuthorizationForCacheControl?: boolean;
|
|
1489
1579
|
/**
|
|
1490
|
-
* <p>Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is <code
|
|
1580
|
+
* <p>Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is <code>/\{method_setting_key\}/caching/unauthorizedCacheControlHeaderStrategy</code>, and the available values are <code>FAIL_WITH_403</code>, <code>SUCCEED_WITH_RESPONSE_HEADER</code>, <code>SUCCEED_WITHOUT_RESPONSE_HEADER</code>.</p>
|
|
1491
1581
|
*/
|
|
1492
1582
|
unauthorizedCacheControlHeaderStrategy?: UnauthorizedCacheControlHeaderStrategy | string;
|
|
1493
1583
|
}
|
|
1494
1584
|
/**
|
|
1585
|
+
* @public
|
|
1495
1586
|
* <p>Represents a unique identifier for a version of a deployed RestApi that is callable by users.</p>
|
|
1496
1587
|
*/
|
|
1497
1588
|
export interface Stage {
|
|
@@ -1524,7 +1615,7 @@ export interface Stage {
|
|
|
1524
1615
|
*/
|
|
1525
1616
|
cacheClusterStatus?: CacheClusterStatus | string;
|
|
1526
1617
|
/**
|
|
1527
|
-
* <p>A map that defines the method settings for a Stage resource. Keys (designated as <code
|
|
1618
|
+
* <p>A map that defines the method settings for a Stage resource. Keys (designated as <code>/\{method_setting_key</code> below) are method paths defined as <code>\{resource_path\}/\{http_method\}</code> for an individual method override, or <code>/\*\/\*</code> for overriding all methods in the stage. </p>
|
|
1528
1619
|
*/
|
|
1529
1620
|
methodSettings?: Record<string, MethodSetting>;
|
|
1530
1621
|
/**
|
|
@@ -1565,12 +1656,16 @@ export interface Stage {
|
|
|
1565
1656
|
*/
|
|
1566
1657
|
lastUpdatedDate?: Date;
|
|
1567
1658
|
}
|
|
1659
|
+
/**
|
|
1660
|
+
* @public
|
|
1661
|
+
*/
|
|
1568
1662
|
export declare enum QuotaPeriodType {
|
|
1569
1663
|
DAY = "DAY",
|
|
1570
1664
|
MONTH = "MONTH",
|
|
1571
1665
|
WEEK = "WEEK"
|
|
1572
1666
|
}
|
|
1573
1667
|
/**
|
|
1668
|
+
* @public
|
|
1574
1669
|
* <p>Quotas configured for a usage plan.</p>
|
|
1575
1670
|
*/
|
|
1576
1671
|
export interface QuotaSettings {
|
|
@@ -1588,6 +1683,7 @@ export interface QuotaSettings {
|
|
|
1588
1683
|
period?: QuotaPeriodType | string;
|
|
1589
1684
|
}
|
|
1590
1685
|
/**
|
|
1686
|
+
* @public
|
|
1591
1687
|
* <p>The POST request to create a usage plan with the name, description, throttle limits and quota limits, as well as the associated API stages, specified in the payload.</p>
|
|
1592
1688
|
*/
|
|
1593
1689
|
export interface CreateUsagePlanRequest {
|
|
@@ -1617,6 +1713,7 @@ export interface CreateUsagePlanRequest {
|
|
|
1617
1713
|
tags?: Record<string, string>;
|
|
1618
1714
|
}
|
|
1619
1715
|
/**
|
|
1716
|
+
* @public
|
|
1620
1717
|
* <p>Represents a usage plan used to specify who can assess associated API stages. Optionally, target request rate and quota limits can be set.
|
|
1621
1718
|
* In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs.
|
|
1622
1719
|
* Consider using <a href="https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html">Amazon Web Services Budgets</a> to monitor costs
|
|
@@ -1657,6 +1754,7 @@ export interface UsagePlan {
|
|
|
1657
1754
|
tags?: Record<string, string>;
|
|
1658
1755
|
}
|
|
1659
1756
|
/**
|
|
1757
|
+
* @public
|
|
1660
1758
|
* <p>The POST request to create a usage plan key for adding an existing API key to a usage plan.</p>
|
|
1661
1759
|
*/
|
|
1662
1760
|
export interface CreateUsagePlanKeyRequest {
|
|
@@ -1674,6 +1772,7 @@ export interface CreateUsagePlanKeyRequest {
|
|
|
1674
1772
|
keyType: string | undefined;
|
|
1675
1773
|
}
|
|
1676
1774
|
/**
|
|
1775
|
+
* @public
|
|
1677
1776
|
* <p>Represents a usage plan key to identify a plan customer.</p>
|
|
1678
1777
|
*/
|
|
1679
1778
|
export interface UsagePlanKey {
|
|
@@ -1695,6 +1794,7 @@ export interface UsagePlanKey {
|
|
|
1695
1794
|
name?: string;
|
|
1696
1795
|
}
|
|
1697
1796
|
/**
|
|
1797
|
+
* @public
|
|
1698
1798
|
* <p>Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.</p>
|
|
1699
1799
|
*/
|
|
1700
1800
|
export interface CreateVpcLinkRequest {
|
|
@@ -1715,6 +1815,9 @@ export interface CreateVpcLinkRequest {
|
|
|
1715
1815
|
*/
|
|
1716
1816
|
tags?: Record<string, string>;
|
|
1717
1817
|
}
|
|
1818
|
+
/**
|
|
1819
|
+
* @public
|
|
1820
|
+
*/
|
|
1718
1821
|
export declare enum VpcLinkStatus {
|
|
1719
1822
|
AVAILABLE = "AVAILABLE",
|
|
1720
1823
|
DELETING = "DELETING",
|
|
@@ -1722,6 +1825,7 @@ export declare enum VpcLinkStatus {
|
|
|
1722
1825
|
PENDING = "PENDING"
|
|
1723
1826
|
}
|
|
1724
1827
|
/**
|
|
1828
|
+
* @public
|
|
1725
1829
|
* <p>An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).</p>
|
|
1726
1830
|
*/
|
|
1727
1831
|
export interface VpcLink {
|
|
@@ -1755,6 +1859,7 @@ export interface VpcLink {
|
|
|
1755
1859
|
tags?: Record<string, string>;
|
|
1756
1860
|
}
|
|
1757
1861
|
/**
|
|
1862
|
+
* @public
|
|
1758
1863
|
* <p>A request to delete the ApiKey resource.</p>
|
|
1759
1864
|
*/
|
|
1760
1865
|
export interface DeleteApiKeyRequest {
|
|
@@ -1764,6 +1869,7 @@ export interface DeleteApiKeyRequest {
|
|
|
1764
1869
|
apiKey: string | undefined;
|
|
1765
1870
|
}
|
|
1766
1871
|
/**
|
|
1872
|
+
* @public
|
|
1767
1873
|
* <p>Request to delete an existing Authorizer resource.</p>
|
|
1768
1874
|
*/
|
|
1769
1875
|
export interface DeleteAuthorizerRequest {
|
|
@@ -1777,6 +1883,7 @@ export interface DeleteAuthorizerRequest {
|
|
|
1777
1883
|
authorizerId: string | undefined;
|
|
1778
1884
|
}
|
|
1779
1885
|
/**
|
|
1886
|
+
* @public
|
|
1780
1887
|
* <p>A request to delete the BasePathMapping resource.</p>
|
|
1781
1888
|
*/
|
|
1782
1889
|
export interface DeleteBasePathMappingRequest {
|
|
@@ -1791,6 +1898,7 @@ export interface DeleteBasePathMappingRequest {
|
|
|
1791
1898
|
basePath: string | undefined;
|
|
1792
1899
|
}
|
|
1793
1900
|
/**
|
|
1901
|
+
* @public
|
|
1794
1902
|
* <p>A request to delete the ClientCertificate resource.</p>
|
|
1795
1903
|
*/
|
|
1796
1904
|
export interface DeleteClientCertificateRequest {
|
|
@@ -1800,6 +1908,7 @@ export interface DeleteClientCertificateRequest {
|
|
|
1800
1908
|
clientCertificateId: string | undefined;
|
|
1801
1909
|
}
|
|
1802
1910
|
/**
|
|
1911
|
+
* @public
|
|
1803
1912
|
* <p>Requests API Gateway to delete a Deployment resource.</p>
|
|
1804
1913
|
*/
|
|
1805
1914
|
export interface DeleteDeploymentRequest {
|
|
@@ -1813,6 +1922,7 @@ export interface DeleteDeploymentRequest {
|
|
|
1813
1922
|
deploymentId: string | undefined;
|
|
1814
1923
|
}
|
|
1815
1924
|
/**
|
|
1925
|
+
* @public
|
|
1816
1926
|
* <p>Deletes an existing documentation part of an API.</p>
|
|
1817
1927
|
*/
|
|
1818
1928
|
export interface DeleteDocumentationPartRequest {
|
|
@@ -1826,6 +1936,7 @@ export interface DeleteDocumentationPartRequest {
|
|
|
1826
1936
|
documentationPartId: string | undefined;
|
|
1827
1937
|
}
|
|
1828
1938
|
/**
|
|
1939
|
+
* @public
|
|
1829
1940
|
* <p>Deletes an existing documentation version of an API.</p>
|
|
1830
1941
|
*/
|
|
1831
1942
|
export interface DeleteDocumentationVersionRequest {
|
|
@@ -1839,6 +1950,7 @@ export interface DeleteDocumentationVersionRequest {
|
|
|
1839
1950
|
documentationVersion: string | undefined;
|
|
1840
1951
|
}
|
|
1841
1952
|
/**
|
|
1953
|
+
* @public
|
|
1842
1954
|
* <p>A request to delete the DomainName resource.</p>
|
|
1843
1955
|
*/
|
|
1844
1956
|
export interface DeleteDomainNameRequest {
|
|
@@ -1847,6 +1959,9 @@ export interface DeleteDomainNameRequest {
|
|
|
1847
1959
|
*/
|
|
1848
1960
|
domainName: string | undefined;
|
|
1849
1961
|
}
|
|
1962
|
+
/**
|
|
1963
|
+
* @public
|
|
1964
|
+
*/
|
|
1850
1965
|
export declare enum GatewayResponseType {
|
|
1851
1966
|
ACCESS_DENIED = "ACCESS_DENIED",
|
|
1852
1967
|
API_CONFIGURATION_ERROR = "API_CONFIGURATION_ERROR",
|
|
@@ -1871,6 +1986,7 @@ export declare enum GatewayResponseType {
|
|
|
1871
1986
|
WAF_FILTERED = "WAF_FILTERED"
|
|
1872
1987
|
}
|
|
1873
1988
|
/**
|
|
1989
|
+
* @public
|
|
1874
1990
|
* <p>Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.</p>
|
|
1875
1991
|
*/
|
|
1876
1992
|
export interface DeleteGatewayResponseRequest {
|
|
@@ -1884,6 +2000,7 @@ export interface DeleteGatewayResponseRequest {
|
|
|
1884
2000
|
responseType: GatewayResponseType | string | undefined;
|
|
1885
2001
|
}
|
|
1886
2002
|
/**
|
|
2003
|
+
* @public
|
|
1887
2004
|
* <p>Represents a delete integration request.</p>
|
|
1888
2005
|
*/
|
|
1889
2006
|
export interface DeleteIntegrationRequest {
|
|
@@ -1901,6 +2018,7 @@ export interface DeleteIntegrationRequest {
|
|
|
1901
2018
|
httpMethod: string | undefined;
|
|
1902
2019
|
}
|
|
1903
2020
|
/**
|
|
2021
|
+
* @public
|
|
1904
2022
|
* <p>Represents a delete integration response request.</p>
|
|
1905
2023
|
*/
|
|
1906
2024
|
export interface DeleteIntegrationResponseRequest {
|
|
@@ -1922,6 +2040,7 @@ export interface DeleteIntegrationResponseRequest {
|
|
|
1922
2040
|
statusCode: string | undefined;
|
|
1923
2041
|
}
|
|
1924
2042
|
/**
|
|
2043
|
+
* @public
|
|
1925
2044
|
* <p>Request to delete an existing Method resource.</p>
|
|
1926
2045
|
*/
|
|
1927
2046
|
export interface DeleteMethodRequest {
|
|
@@ -1939,6 +2058,7 @@ export interface DeleteMethodRequest {
|
|
|
1939
2058
|
httpMethod: string | undefined;
|
|
1940
2059
|
}
|
|
1941
2060
|
/**
|
|
2061
|
+
* @public
|
|
1942
2062
|
* <p>A request to delete an existing MethodResponse resource.</p>
|
|
1943
2063
|
*/
|
|
1944
2064
|
export interface DeleteMethodResponseRequest {
|
|
@@ -1960,6 +2080,7 @@ export interface DeleteMethodResponseRequest {
|
|
|
1960
2080
|
statusCode: string | undefined;
|
|
1961
2081
|
}
|
|
1962
2082
|
/**
|
|
2083
|
+
* @public
|
|
1963
2084
|
* <p>Request to delete an existing model in an existing RestApi resource.</p>
|
|
1964
2085
|
*/
|
|
1965
2086
|
export interface DeleteModelRequest {
|
|
@@ -1973,6 +2094,7 @@ export interface DeleteModelRequest {
|
|
|
1973
2094
|
modelName: string | undefined;
|
|
1974
2095
|
}
|
|
1975
2096
|
/**
|
|
2097
|
+
* @public
|
|
1976
2098
|
* <p>Deletes a specified RequestValidator of a given RestApi.</p>
|
|
1977
2099
|
*/
|
|
1978
2100
|
export interface DeleteRequestValidatorRequest {
|
|
@@ -1986,6 +2108,7 @@ export interface DeleteRequestValidatorRequest {
|
|
|
1986
2108
|
requestValidatorId: string | undefined;
|
|
1987
2109
|
}
|
|
1988
2110
|
/**
|
|
2111
|
+
* @public
|
|
1989
2112
|
* <p>Request to delete a Resource.</p>
|
|
1990
2113
|
*/
|
|
1991
2114
|
export interface DeleteResourceRequest {
|
|
@@ -1999,6 +2122,7 @@ export interface DeleteResourceRequest {
|
|
|
1999
2122
|
resourceId: string | undefined;
|
|
2000
2123
|
}
|
|
2001
2124
|
/**
|
|
2125
|
+
* @public
|
|
2002
2126
|
* <p>Request to delete the specified API from your collection.</p>
|
|
2003
2127
|
*/
|
|
2004
2128
|
export interface DeleteRestApiRequest {
|
|
@@ -2008,6 +2132,7 @@ export interface DeleteRestApiRequest {
|
|
|
2008
2132
|
restApiId: string | undefined;
|
|
2009
2133
|
}
|
|
2010
2134
|
/**
|
|
2135
|
+
* @public
|
|
2011
2136
|
* <p>Requests API Gateway to delete a Stage resource.</p>
|
|
2012
2137
|
*/
|
|
2013
2138
|
export interface DeleteStageRequest {
|
|
@@ -2021,6 +2146,7 @@ export interface DeleteStageRequest {
|
|
|
2021
2146
|
stageName: string | undefined;
|
|
2022
2147
|
}
|
|
2023
2148
|
/**
|
|
2149
|
+
* @public
|
|
2024
2150
|
* <p>The DELETE request to delete a usage plan of a given plan Id.</p>
|
|
2025
2151
|
*/
|
|
2026
2152
|
export interface DeleteUsagePlanRequest {
|
|
@@ -2030,6 +2156,7 @@ export interface DeleteUsagePlanRequest {
|
|
|
2030
2156
|
usagePlanId: string | undefined;
|
|
2031
2157
|
}
|
|
2032
2158
|
/**
|
|
2159
|
+
* @public
|
|
2033
2160
|
* <p>The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.</p>
|
|
2034
2161
|
*/
|
|
2035
2162
|
export interface DeleteUsagePlanKeyRequest {
|
|
@@ -2043,6 +2170,7 @@ export interface DeleteUsagePlanKeyRequest {
|
|
|
2043
2170
|
keyId: string | undefined;
|
|
2044
2171
|
}
|
|
2045
2172
|
/**
|
|
2173
|
+
* @public
|
|
2046
2174
|
* <p>Deletes an existing VpcLink of a specified identifier.</p>
|
|
2047
2175
|
*/
|
|
2048
2176
|
export interface DeleteVpcLinkRequest {
|
|
@@ -2052,6 +2180,7 @@ export interface DeleteVpcLinkRequest {
|
|
|
2052
2180
|
vpcLinkId: string | undefined;
|
|
2053
2181
|
}
|
|
2054
2182
|
/**
|
|
2183
|
+
* @public
|
|
2055
2184
|
* <p>Request to flush authorizer cache entries on a specified stage.</p>
|
|
2056
2185
|
*/
|
|
2057
2186
|
export interface FlushStageAuthorizersCacheRequest {
|
|
@@ -2065,6 +2194,7 @@ export interface FlushStageAuthorizersCacheRequest {
|
|
|
2065
2194
|
stageName: string | undefined;
|
|
2066
2195
|
}
|
|
2067
2196
|
/**
|
|
2197
|
+
* @public
|
|
2068
2198
|
* <p>Requests API Gateway to flush a stage's cache.</p>
|
|
2069
2199
|
*/
|
|
2070
2200
|
export interface FlushStageCacheRequest {
|
|
@@ -2078,6 +2208,7 @@ export interface FlushStageCacheRequest {
|
|
|
2078
2208
|
stageName: string | undefined;
|
|
2079
2209
|
}
|
|
2080
2210
|
/**
|
|
2211
|
+
* @public
|
|
2081
2212
|
* <p>Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.</p>
|
|
2082
2213
|
*/
|
|
2083
2214
|
export interface ClientCertificate {
|
|
@@ -2107,6 +2238,7 @@ export interface ClientCertificate {
|
|
|
2107
2238
|
tags?: Record<string, string>;
|
|
2108
2239
|
}
|
|
2109
2240
|
/**
|
|
2241
|
+
* @public
|
|
2110
2242
|
* <p>A request to generate a ClientCertificate resource.</p>
|
|
2111
2243
|
*/
|
|
2112
2244
|
export interface GenerateClientCertificateRequest {
|
|
@@ -2120,11 +2252,13 @@ export interface GenerateClientCertificateRequest {
|
|
|
2120
2252
|
tags?: Record<string, string>;
|
|
2121
2253
|
}
|
|
2122
2254
|
/**
|
|
2255
|
+
* @public
|
|
2123
2256
|
* <p>Requests API Gateway to get information about the current Account resource.</p>
|
|
2124
2257
|
*/
|
|
2125
2258
|
export interface GetAccountRequest {
|
|
2126
2259
|
}
|
|
2127
2260
|
/**
|
|
2261
|
+
* @public
|
|
2128
2262
|
* <p>A request to get information about the current ApiKey resource.</p>
|
|
2129
2263
|
*/
|
|
2130
2264
|
export interface GetApiKeyRequest {
|
|
@@ -2138,6 +2272,7 @@ export interface GetApiKeyRequest {
|
|
|
2138
2272
|
includeValue?: boolean;
|
|
2139
2273
|
}
|
|
2140
2274
|
/**
|
|
2275
|
+
* @public
|
|
2141
2276
|
* <p>A request to get information about the current ApiKeys resource.</p>
|
|
2142
2277
|
*/
|
|
2143
2278
|
export interface GetApiKeysRequest {
|
|
@@ -2163,6 +2298,7 @@ export interface GetApiKeysRequest {
|
|
|
2163
2298
|
includeValues?: boolean;
|
|
2164
2299
|
}
|
|
2165
2300
|
/**
|
|
2301
|
+
* @public
|
|
2166
2302
|
* <p>Request to describe an existing Authorizer resource.</p>
|
|
2167
2303
|
*/
|
|
2168
2304
|
export interface GetAuthorizerRequest {
|
|
@@ -2176,6 +2312,7 @@ export interface GetAuthorizerRequest {
|
|
|
2176
2312
|
authorizerId: string | undefined;
|
|
2177
2313
|
}
|
|
2178
2314
|
/**
|
|
2315
|
+
* @public
|
|
2179
2316
|
* <p>Request to describe an existing Authorizers resource.</p>
|
|
2180
2317
|
*/
|
|
2181
2318
|
export interface GetAuthorizersRequest {
|
|
@@ -2193,6 +2330,7 @@ export interface GetAuthorizersRequest {
|
|
|
2193
2330
|
limit?: number;
|
|
2194
2331
|
}
|
|
2195
2332
|
/**
|
|
2333
|
+
* @public
|
|
2196
2334
|
* <p>Request to describe a BasePathMapping resource.</p>
|
|
2197
2335
|
*/
|
|
2198
2336
|
export interface GetBasePathMappingRequest {
|
|
@@ -2206,6 +2344,7 @@ export interface GetBasePathMappingRequest {
|
|
|
2206
2344
|
basePath: string | undefined;
|
|
2207
2345
|
}
|
|
2208
2346
|
/**
|
|
2347
|
+
* @public
|
|
2209
2348
|
* <p>Represents a collection of BasePathMapping resources.</p>
|
|
2210
2349
|
*/
|
|
2211
2350
|
export interface BasePathMappings {
|
|
@@ -2219,6 +2358,7 @@ export interface BasePathMappings {
|
|
|
2219
2358
|
position?: string;
|
|
2220
2359
|
}
|
|
2221
2360
|
/**
|
|
2361
|
+
* @public
|
|
2222
2362
|
* <p>A request to get information about a collection of BasePathMapping resources.</p>
|
|
2223
2363
|
*/
|
|
2224
2364
|
export interface GetBasePathMappingsRequest {
|
|
@@ -2236,6 +2376,7 @@ export interface GetBasePathMappingsRequest {
|
|
|
2236
2376
|
limit?: number;
|
|
2237
2377
|
}
|
|
2238
2378
|
/**
|
|
2379
|
+
* @public
|
|
2239
2380
|
* <p>A request to get information about the current ClientCertificate resource.</p>
|
|
2240
2381
|
*/
|
|
2241
2382
|
export interface GetClientCertificateRequest {
|
|
@@ -2245,6 +2386,7 @@ export interface GetClientCertificateRequest {
|
|
|
2245
2386
|
clientCertificateId: string | undefined;
|
|
2246
2387
|
}
|
|
2247
2388
|
/**
|
|
2389
|
+
* @public
|
|
2248
2390
|
* <p>Represents a collection of ClientCertificate resources.</p>
|
|
2249
2391
|
*/
|
|
2250
2392
|
export interface ClientCertificates {
|
|
@@ -2258,6 +2400,7 @@ export interface ClientCertificates {
|
|
|
2258
2400
|
position?: string;
|
|
2259
2401
|
}
|
|
2260
2402
|
/**
|
|
2403
|
+
* @public
|
|
2261
2404
|
* <p>A request to get information about a collection of ClientCertificate resources.</p>
|
|
2262
2405
|
*/
|
|
2263
2406
|
export interface GetClientCertificatesRequest {
|
|
@@ -2271,6 +2414,7 @@ export interface GetClientCertificatesRequest {
|
|
|
2271
2414
|
limit?: number;
|
|
2272
2415
|
}
|
|
2273
2416
|
/**
|
|
2417
|
+
* @public
|
|
2274
2418
|
* <p>Requests API Gateway to get information about a Deployment resource.</p>
|
|
2275
2419
|
*/
|
|
2276
2420
|
export interface GetDeploymentRequest {
|
|
@@ -2283,11 +2427,12 @@ export interface GetDeploymentRequest {
|
|
|
2283
2427
|
*/
|
|
2284
2428
|
deploymentId: string | undefined;
|
|
2285
2429
|
/**
|
|
2286
|
-
* <p>A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this <code>embed</code> parameter value is a list of comma-separated strings, as in <code>GET /restapis
|
|
2430
|
+
* <p>A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this <code>embed</code> parameter value is a list of comma-separated strings, as in <code>GET /restapis/\{restapi_id\}/deployments/\{deployment_id\}?embed=var1,var2</code>. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the <code>"apisummary"</code> string. For example, <code>GET /restapis/\{restapi_id\}/deployments/\{deployment_id\}?embed=apisummary</code>.</p>
|
|
2287
2431
|
*/
|
|
2288
2432
|
embed?: string[];
|
|
2289
2433
|
}
|
|
2290
2434
|
/**
|
|
2435
|
+
* @public
|
|
2291
2436
|
* <p>Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments.</p>
|
|
2292
2437
|
*/
|
|
2293
2438
|
export interface Deployments {
|
|
@@ -2301,6 +2446,7 @@ export interface Deployments {
|
|
|
2301
2446
|
position?: string;
|
|
2302
2447
|
}
|
|
2303
2448
|
/**
|
|
2449
|
+
* @public
|
|
2304
2450
|
* <p>Requests API Gateway to get information about a Deployments collection.</p>
|
|
2305
2451
|
*/
|
|
2306
2452
|
export interface GetDeploymentsRequest {
|
|
@@ -2318,6 +2464,7 @@ export interface GetDeploymentsRequest {
|
|
|
2318
2464
|
limit?: number;
|
|
2319
2465
|
}
|
|
2320
2466
|
/**
|
|
2467
|
+
* @public
|
|
2321
2468
|
* <p>Gets a specified documentation part of a given API.</p>
|
|
2322
2469
|
*/
|
|
2323
2470
|
export interface GetDocumentationPartRequest {
|
|
@@ -2331,6 +2478,7 @@ export interface GetDocumentationPartRequest {
|
|
|
2331
2478
|
documentationPartId: string | undefined;
|
|
2332
2479
|
}
|
|
2333
2480
|
/**
|
|
2481
|
+
* @public
|
|
2334
2482
|
* <p>The collection of documentation parts of an API.</p>
|
|
2335
2483
|
*/
|
|
2336
2484
|
export interface DocumentationParts {
|
|
@@ -2343,11 +2491,15 @@ export interface DocumentationParts {
|
|
|
2343
2491
|
*/
|
|
2344
2492
|
position?: string;
|
|
2345
2493
|
}
|
|
2494
|
+
/**
|
|
2495
|
+
* @public
|
|
2496
|
+
*/
|
|
2346
2497
|
export declare enum LocationStatusType {
|
|
2347
2498
|
DOCUMENTED = "DOCUMENTED",
|
|
2348
2499
|
UNDOCUMENTED = "UNDOCUMENTED"
|
|
2349
2500
|
}
|
|
2350
2501
|
/**
|
|
2502
|
+
* @public
|
|
2351
2503
|
* <p>Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).</p>
|
|
2352
2504
|
*/
|
|
2353
2505
|
export interface GetDocumentationPartsRequest {
|
|
@@ -2381,6 +2533,7 @@ export interface GetDocumentationPartsRequest {
|
|
|
2381
2533
|
locationStatus?: LocationStatusType | string;
|
|
2382
2534
|
}
|
|
2383
2535
|
/**
|
|
2536
|
+
* @public
|
|
2384
2537
|
* <p>Gets a documentation snapshot of an API.</p>
|
|
2385
2538
|
*/
|
|
2386
2539
|
export interface GetDocumentationVersionRequest {
|
|
@@ -2394,6 +2547,7 @@ export interface GetDocumentationVersionRequest {
|
|
|
2394
2547
|
documentationVersion: string | undefined;
|
|
2395
2548
|
}
|
|
2396
2549
|
/**
|
|
2550
|
+
* @public
|
|
2397
2551
|
* <p>The collection of documentation snapshots of an API. </p>
|
|
2398
2552
|
*/
|
|
2399
2553
|
export interface DocumentationVersions {
|
|
@@ -2407,6 +2561,7 @@ export interface DocumentationVersions {
|
|
|
2407
2561
|
position?: string;
|
|
2408
2562
|
}
|
|
2409
2563
|
/**
|
|
2564
|
+
* @public
|
|
2410
2565
|
* <p>Gets the documentation versions of an API.</p>
|
|
2411
2566
|
*/
|
|
2412
2567
|
export interface GetDocumentationVersionsRequest {
|
|
@@ -2424,6 +2579,7 @@ export interface GetDocumentationVersionsRequest {
|
|
|
2424
2579
|
limit?: number;
|
|
2425
2580
|
}
|
|
2426
2581
|
/**
|
|
2582
|
+
* @public
|
|
2427
2583
|
* <p>Request to get the name of a DomainName resource.</p>
|
|
2428
2584
|
*/
|
|
2429
2585
|
export interface GetDomainNameRequest {
|
|
@@ -2433,6 +2589,7 @@ export interface GetDomainNameRequest {
|
|
|
2433
2589
|
domainName: string | undefined;
|
|
2434
2590
|
}
|
|
2435
2591
|
/**
|
|
2592
|
+
* @public
|
|
2436
2593
|
* <p>Represents a collection of DomainName resources.</p>
|
|
2437
2594
|
*/
|
|
2438
2595
|
export interface DomainNames {
|
|
@@ -2446,6 +2603,7 @@ export interface DomainNames {
|
|
|
2446
2603
|
position?: string;
|
|
2447
2604
|
}
|
|
2448
2605
|
/**
|
|
2606
|
+
* @public
|
|
2449
2607
|
* <p>Request to describe a collection of DomainName resources.</p>
|
|
2450
2608
|
*/
|
|
2451
2609
|
export interface GetDomainNamesRequest {
|
|
@@ -2459,6 +2617,7 @@ export interface GetDomainNamesRequest {
|
|
|
2459
2617
|
limit?: number;
|
|
2460
2618
|
}
|
|
2461
2619
|
/**
|
|
2620
|
+
* @public
|
|
2462
2621
|
* <p>The binary blob response to GetExport, which contains the generated SDK.</p>
|
|
2463
2622
|
*/
|
|
2464
2623
|
export interface ExportResponse {
|
|
@@ -2476,6 +2635,7 @@ export interface ExportResponse {
|
|
|
2476
2635
|
body?: Uint8Array;
|
|
2477
2636
|
}
|
|
2478
2637
|
/**
|
|
2638
|
+
* @public
|
|
2479
2639
|
* <p>Request a new export of a RestApi for a particular Stage.</p>
|
|
2480
2640
|
*/
|
|
2481
2641
|
export interface GetExportRequest {
|
|
@@ -2502,6 +2662,7 @@ export interface GetExportRequest {
|
|
|
2502
2662
|
accepts?: string;
|
|
2503
2663
|
}
|
|
2504
2664
|
/**
|
|
2665
|
+
* @public
|
|
2505
2666
|
* <p>A gateway response of a given response type and status code, with optional response parameters and mapping templates.</p>
|
|
2506
2667
|
*/
|
|
2507
2668
|
export interface GatewayResponse {
|
|
@@ -2528,6 +2689,7 @@ export interface GatewayResponse {
|
|
|
2528
2689
|
defaultResponse?: boolean;
|
|
2529
2690
|
}
|
|
2530
2691
|
/**
|
|
2692
|
+
* @public
|
|
2531
2693
|
* <p>Gets a GatewayResponse of a specified response type on the given RestApi.</p>
|
|
2532
2694
|
*/
|
|
2533
2695
|
export interface GetGatewayResponseRequest {
|
|
@@ -2541,6 +2703,7 @@ export interface GetGatewayResponseRequest {
|
|
|
2541
2703
|
responseType: GatewayResponseType | string | undefined;
|
|
2542
2704
|
}
|
|
2543
2705
|
/**
|
|
2706
|
+
* @public
|
|
2544
2707
|
* <p>The collection of the GatewayResponse instances of a RestApi as a <code>responseType</code>-to-GatewayResponse object map of key-value pairs. As such, pagination is not supported for querying this collection.</p>
|
|
2545
2708
|
*/
|
|
2546
2709
|
export interface GatewayResponses {
|
|
@@ -2554,6 +2717,7 @@ export interface GatewayResponses {
|
|
|
2554
2717
|
position?: string;
|
|
2555
2718
|
}
|
|
2556
2719
|
/**
|
|
2720
|
+
* @public
|
|
2557
2721
|
* <p>Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.</p>
|
|
2558
2722
|
*/
|
|
2559
2723
|
export interface GetGatewayResponsesRequest {
|
|
@@ -2571,6 +2735,7 @@ export interface GetGatewayResponsesRequest {
|
|
|
2571
2735
|
limit?: number;
|
|
2572
2736
|
}
|
|
2573
2737
|
/**
|
|
2738
|
+
* @public
|
|
2574
2739
|
* <p>Represents a request to get the integration configuration.</p>
|
|
2575
2740
|
*/
|
|
2576
2741
|
export interface GetIntegrationRequest {
|
|
@@ -2588,6 +2753,7 @@ export interface GetIntegrationRequest {
|
|
|
2588
2753
|
httpMethod: string | undefined;
|
|
2589
2754
|
}
|
|
2590
2755
|
/**
|
|
2756
|
+
* @public
|
|
2591
2757
|
* <p>Represents a get integration response request.</p>
|
|
2592
2758
|
*/
|
|
2593
2759
|
export interface GetIntegrationResponseRequest {
|
|
@@ -2609,6 +2775,7 @@ export interface GetIntegrationResponseRequest {
|
|
|
2609
2775
|
statusCode: string | undefined;
|
|
2610
2776
|
}
|
|
2611
2777
|
/**
|
|
2778
|
+
* @public
|
|
2612
2779
|
* <p>Request to describe an existing Method resource.</p>
|
|
2613
2780
|
*/
|
|
2614
2781
|
export interface GetMethodRequest {
|
|
@@ -2626,6 +2793,7 @@ export interface GetMethodRequest {
|
|
|
2626
2793
|
httpMethod: string | undefined;
|
|
2627
2794
|
}
|
|
2628
2795
|
/**
|
|
2796
|
+
* @public
|
|
2629
2797
|
* <p>Request to describe a MethodResponse resource.</p>
|
|
2630
2798
|
*/
|
|
2631
2799
|
export interface GetMethodResponseRequest {
|
|
@@ -2647,6 +2815,7 @@ export interface GetMethodResponseRequest {
|
|
|
2647
2815
|
statusCode: string | undefined;
|
|
2648
2816
|
}
|
|
2649
2817
|
/**
|
|
2818
|
+
* @public
|
|
2650
2819
|
* <p>Request to list information about a model in an existing RestApi resource.</p>
|
|
2651
2820
|
*/
|
|
2652
2821
|
export interface GetModelRequest {
|
|
@@ -2664,6 +2833,7 @@ export interface GetModelRequest {
|
|
|
2664
2833
|
flatten?: boolean;
|
|
2665
2834
|
}
|
|
2666
2835
|
/**
|
|
2836
|
+
* @public
|
|
2667
2837
|
* <p>Request to list existing Models defined for a RestApi resource.</p>
|
|
2668
2838
|
*/
|
|
2669
2839
|
export interface GetModelsRequest {
|
|
@@ -2681,6 +2851,7 @@ export interface GetModelsRequest {
|
|
|
2681
2851
|
limit?: number;
|
|
2682
2852
|
}
|
|
2683
2853
|
/**
|
|
2854
|
+
* @public
|
|
2684
2855
|
* <p>Represents a collection of Model resources.</p>
|
|
2685
2856
|
*/
|
|
2686
2857
|
export interface Models {
|
|
@@ -2694,6 +2865,7 @@ export interface Models {
|
|
|
2694
2865
|
position?: string;
|
|
2695
2866
|
}
|
|
2696
2867
|
/**
|
|
2868
|
+
* @public
|
|
2697
2869
|
* <p>Request to generate a sample mapping template used to transform the payload.</p>
|
|
2698
2870
|
*/
|
|
2699
2871
|
export interface GetModelTemplateRequest {
|
|
@@ -2707,6 +2879,7 @@ export interface GetModelTemplateRequest {
|
|
|
2707
2879
|
modelName: string | undefined;
|
|
2708
2880
|
}
|
|
2709
2881
|
/**
|
|
2882
|
+
* @public
|
|
2710
2883
|
* <p>Represents a mapping template used to transform a payload.</p>
|
|
2711
2884
|
*/
|
|
2712
2885
|
export interface Template {
|
|
@@ -2716,6 +2889,7 @@ export interface Template {
|
|
|
2716
2889
|
value?: string;
|
|
2717
2890
|
}
|
|
2718
2891
|
/**
|
|
2892
|
+
* @public
|
|
2719
2893
|
* <p>Gets a RequestValidator of a given RestApi.</p>
|
|
2720
2894
|
*/
|
|
2721
2895
|
export interface GetRequestValidatorRequest {
|
|
@@ -2729,6 +2903,7 @@ export interface GetRequestValidatorRequest {
|
|
|
2729
2903
|
requestValidatorId: string | undefined;
|
|
2730
2904
|
}
|
|
2731
2905
|
/**
|
|
2906
|
+
* @public
|
|
2732
2907
|
* <p>Gets the RequestValidators collection of a given RestApi.</p>
|
|
2733
2908
|
*/
|
|
2734
2909
|
export interface GetRequestValidatorsRequest {
|
|
@@ -2746,6 +2921,7 @@ export interface GetRequestValidatorsRequest {
|
|
|
2746
2921
|
limit?: number;
|
|
2747
2922
|
}
|
|
2748
2923
|
/**
|
|
2924
|
+
* @public
|
|
2749
2925
|
* <p>A collection of RequestValidator resources of a given RestApi.</p>
|
|
2750
2926
|
*/
|
|
2751
2927
|
export interface RequestValidators {
|
|
@@ -2759,6 +2935,7 @@ export interface RequestValidators {
|
|
|
2759
2935
|
position?: string;
|
|
2760
2936
|
}
|
|
2761
2937
|
/**
|
|
2938
|
+
* @public
|
|
2762
2939
|
* <p>Request to list information about a resource.</p>
|
|
2763
2940
|
*/
|
|
2764
2941
|
export interface GetResourceRequest {
|
|
@@ -2771,11 +2948,12 @@ export interface GetResourceRequest {
|
|
|
2771
2948
|
*/
|
|
2772
2949
|
resourceId: string | undefined;
|
|
2773
2950
|
/**
|
|
2774
|
-
* <p>A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This <code>embed</code> parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the <code>"methods"</code> string. For example, <code>GET /restapis
|
|
2951
|
+
* <p>A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This <code>embed</code> parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the <code>"methods"</code> string. For example, <code>GET /restapis/\{restapi_id\}/resources/\{resource_id\}?embed=methods</code>.</p>
|
|
2775
2952
|
*/
|
|
2776
2953
|
embed?: string[];
|
|
2777
2954
|
}
|
|
2778
2955
|
/**
|
|
2956
|
+
* @public
|
|
2779
2957
|
* <p>Request to list information about a collection of resources.</p>
|
|
2780
2958
|
*/
|
|
2781
2959
|
export interface GetResourcesRequest {
|
|
@@ -2792,11 +2970,12 @@ export interface GetResourcesRequest {
|
|
|
2792
2970
|
*/
|
|
2793
2971
|
limit?: number;
|
|
2794
2972
|
/**
|
|
2795
|
-
* <p>A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This <code>embed</code> parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the <code>"methods"</code> string. For example, <code>GET /restapis
|
|
2973
|
+
* <p>A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This <code>embed</code> parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the <code>"methods"</code> string. For example, <code>GET /restapis/\{restapi_id\}/resources?embed=methods</code>.</p>
|
|
2796
2974
|
*/
|
|
2797
2975
|
embed?: string[];
|
|
2798
2976
|
}
|
|
2799
2977
|
/**
|
|
2978
|
+
* @public
|
|
2800
2979
|
* <p>Represents a collection of Resource resources.</p>
|
|
2801
2980
|
*/
|
|
2802
2981
|
export interface Resources {
|
|
@@ -2810,6 +2989,7 @@ export interface Resources {
|
|
|
2810
2989
|
position?: string;
|
|
2811
2990
|
}
|
|
2812
2991
|
/**
|
|
2992
|
+
* @public
|
|
2813
2993
|
* <p>The GET request to list an existing RestApi defined for your collection. </p>
|
|
2814
2994
|
*/
|
|
2815
2995
|
export interface GetRestApiRequest {
|
|
@@ -2819,6 +2999,7 @@ export interface GetRestApiRequest {
|
|
|
2819
2999
|
restApiId: string | undefined;
|
|
2820
3000
|
}
|
|
2821
3001
|
/**
|
|
3002
|
+
* @public
|
|
2822
3003
|
* <p>The GET request to list existing RestApis defined for your collection.</p>
|
|
2823
3004
|
*/
|
|
2824
3005
|
export interface GetRestApisRequest {
|
|
@@ -2832,6 +3013,7 @@ export interface GetRestApisRequest {
|
|
|
2832
3013
|
limit?: number;
|
|
2833
3014
|
}
|
|
2834
3015
|
/**
|
|
3016
|
+
* @public
|
|
2835
3017
|
* <p>Contains references to your APIs and links that guide you in how to interact with your collection. A collection offers a paginated view of your APIs.</p>
|
|
2836
3018
|
*/
|
|
2837
3019
|
export interface RestApis {
|
|
@@ -2845,6 +3027,7 @@ export interface RestApis {
|
|
|
2845
3027
|
position?: string;
|
|
2846
3028
|
}
|
|
2847
3029
|
/**
|
|
3030
|
+
* @public
|
|
2848
3031
|
* <p>Request a new generated client SDK for a RestApi and Stage.</p>
|
|
2849
3032
|
*/
|
|
2850
3033
|
export interface GetSdkRequest {
|
|
@@ -2866,6 +3049,7 @@ export interface GetSdkRequest {
|
|
|
2866
3049
|
parameters?: Record<string, string>;
|
|
2867
3050
|
}
|
|
2868
3051
|
/**
|
|
3052
|
+
* @public
|
|
2869
3053
|
* <p>The binary blob response to GetSdk, which contains the generated SDK.</p>
|
|
2870
3054
|
*/
|
|
2871
3055
|
export interface SdkResponse {
|
|
@@ -2883,6 +3067,7 @@ export interface SdkResponse {
|
|
|
2883
3067
|
body?: Uint8Array;
|
|
2884
3068
|
}
|
|
2885
3069
|
/**
|
|
3070
|
+
* @public
|
|
2886
3071
|
* <p>Get an SdkType instance.</p>
|
|
2887
3072
|
*/
|
|
2888
3073
|
export interface GetSdkTypeRequest {
|
|
@@ -2892,6 +3077,7 @@ export interface GetSdkTypeRequest {
|
|
|
2892
3077
|
id: string | undefined;
|
|
2893
3078
|
}
|
|
2894
3079
|
/**
|
|
3080
|
+
* @public
|
|
2895
3081
|
* <p>A configuration property of an SDK type.</p>
|
|
2896
3082
|
*/
|
|
2897
3083
|
export interface SdkConfigurationProperty {
|
|
@@ -2917,6 +3103,7 @@ export interface SdkConfigurationProperty {
|
|
|
2917
3103
|
defaultValue?: string;
|
|
2918
3104
|
}
|
|
2919
3105
|
/**
|
|
3106
|
+
* @public
|
|
2920
3107
|
* <p>A type of SDK that API Gateway can generate.</p>
|
|
2921
3108
|
*/
|
|
2922
3109
|
export interface SdkType {
|
|
@@ -2938,6 +3125,7 @@ export interface SdkType {
|
|
|
2938
3125
|
configurationProperties?: SdkConfigurationProperty[];
|
|
2939
3126
|
}
|
|
2940
3127
|
/**
|
|
3128
|
+
* @public
|
|
2941
3129
|
* <p>Get the SdkTypes collection.</p>
|
|
2942
3130
|
*/
|
|
2943
3131
|
export interface GetSdkTypesRequest {
|
|
@@ -2951,6 +3139,7 @@ export interface GetSdkTypesRequest {
|
|
|
2951
3139
|
limit?: number;
|
|
2952
3140
|
}
|
|
2953
3141
|
/**
|
|
3142
|
+
* @public
|
|
2954
3143
|
* <p>The collection of SdkType instances.</p>
|
|
2955
3144
|
*/
|
|
2956
3145
|
export interface SdkTypes {
|
|
@@ -2960,6 +3149,7 @@ export interface SdkTypes {
|
|
|
2960
3149
|
items?: SdkType[];
|
|
2961
3150
|
}
|
|
2962
3151
|
/**
|
|
3152
|
+
* @public
|
|
2963
3153
|
* <p>Requests API Gateway to get information about a Stage resource.</p>
|
|
2964
3154
|
*/
|
|
2965
3155
|
export interface GetStageRequest {
|
|
@@ -2973,6 +3163,7 @@ export interface GetStageRequest {
|
|
|
2973
3163
|
stageName: string | undefined;
|
|
2974
3164
|
}
|
|
2975
3165
|
/**
|
|
3166
|
+
* @public
|
|
2976
3167
|
* <p>Requests API Gateway to get information about one or more Stage resources.</p>
|
|
2977
3168
|
*/
|
|
2978
3169
|
export interface GetStagesRequest {
|
|
@@ -2986,6 +3177,7 @@ export interface GetStagesRequest {
|
|
|
2986
3177
|
deploymentId?: string;
|
|
2987
3178
|
}
|
|
2988
3179
|
/**
|
|
3180
|
+
* @public
|
|
2989
3181
|
* <p>A list of Stage resources that are associated with the ApiKey resource.</p>
|
|
2990
3182
|
*/
|
|
2991
3183
|
export interface Stages {
|
|
@@ -2995,6 +3187,7 @@ export interface Stages {
|
|
|
2995
3187
|
item?: Stage[];
|
|
2996
3188
|
}
|
|
2997
3189
|
/**
|
|
3190
|
+
* @public
|
|
2998
3191
|
* <p>Gets the Tags collection for a given resource.</p>
|
|
2999
3192
|
*/
|
|
3000
3193
|
export interface GetTagsRequest {
|
|
@@ -3012,6 +3205,7 @@ export interface GetTagsRequest {
|
|
|
3012
3205
|
limit?: number;
|
|
3013
3206
|
}
|
|
3014
3207
|
/**
|
|
3208
|
+
* @public
|
|
3015
3209
|
* <p>The collection of tags. Each tag element is associated with a given resource.</p>
|
|
3016
3210
|
*/
|
|
3017
3211
|
export interface Tags {
|
|
@@ -3021,6 +3215,7 @@ export interface Tags {
|
|
|
3021
3215
|
tags?: Record<string, string>;
|
|
3022
3216
|
}
|
|
3023
3217
|
/**
|
|
3218
|
+
* @public
|
|
3024
3219
|
* <p>The GET request to get the usage data of a usage plan in a specified time interval.</p>
|
|
3025
3220
|
*/
|
|
3026
3221
|
export interface GetUsageRequest {
|
|
@@ -3050,6 +3245,7 @@ export interface GetUsageRequest {
|
|
|
3050
3245
|
limit?: number;
|
|
3051
3246
|
}
|
|
3052
3247
|
/**
|
|
3248
|
+
* @public
|
|
3053
3249
|
* <p>Represents the usage data of a usage plan.</p>
|
|
3054
3250
|
*/
|
|
3055
3251
|
export interface Usage {
|
|
@@ -3066,7 +3262,7 @@ export interface Usage {
|
|
|
3066
3262
|
*/
|
|
3067
3263
|
endDate?: string;
|
|
3068
3264
|
/**
|
|
3069
|
-
* <p>The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, <code
|
|
3265
|
+
* <p>The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, <code>\{..., "values" : \{ "\{api_key\}" : [ [0, 100], [10, 90], [100, 10]]\}</code>, where <code>\{api_key\}</code> stands for an API key value and the daily log entry is of the format <code>[used quota, remaining quota]</code>.</p>
|
|
3070
3266
|
*/
|
|
3071
3267
|
items?: Record<string, number[][]>;
|
|
3072
3268
|
/**
|
|
@@ -3075,6 +3271,7 @@ export interface Usage {
|
|
|
3075
3271
|
position?: string;
|
|
3076
3272
|
}
|
|
3077
3273
|
/**
|
|
3274
|
+
* @public
|
|
3078
3275
|
* <p>The GET request to get a usage plan of a given plan identifier.</p>
|
|
3079
3276
|
*/
|
|
3080
3277
|
export interface GetUsagePlanRequest {
|
|
@@ -3084,6 +3281,7 @@ export interface GetUsagePlanRequest {
|
|
|
3084
3281
|
usagePlanId: string | undefined;
|
|
3085
3282
|
}
|
|
3086
3283
|
/**
|
|
3284
|
+
* @public
|
|
3087
3285
|
* <p>The GET request to get a usage plan key of a given key identifier.</p>
|
|
3088
3286
|
*/
|
|
3089
3287
|
export interface GetUsagePlanKeyRequest {
|
|
@@ -3097,6 +3295,7 @@ export interface GetUsagePlanKeyRequest {
|
|
|
3097
3295
|
keyId: string | undefined;
|
|
3098
3296
|
}
|
|
3099
3297
|
/**
|
|
3298
|
+
* @public
|
|
3100
3299
|
* <p>The GET request to get all the usage plan keys representing the API keys added to a specified usage plan.</p>
|
|
3101
3300
|
*/
|
|
3102
3301
|
export interface GetUsagePlanKeysRequest {
|
|
@@ -3118,6 +3317,7 @@ export interface GetUsagePlanKeysRequest {
|
|
|
3118
3317
|
nameQuery?: string;
|
|
3119
3318
|
}
|
|
3120
3319
|
/**
|
|
3320
|
+
* @public
|
|
3121
3321
|
* <p>Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.</p>
|
|
3122
3322
|
*/
|
|
3123
3323
|
export interface UsagePlanKeys {
|
|
@@ -3131,6 +3331,7 @@ export interface UsagePlanKeys {
|
|
|
3131
3331
|
position?: string;
|
|
3132
3332
|
}
|
|
3133
3333
|
/**
|
|
3334
|
+
* @public
|
|
3134
3335
|
* <p>The GET request to get all the usage plans of the caller's account.</p>
|
|
3135
3336
|
*/
|
|
3136
3337
|
export interface GetUsagePlansRequest {
|
|
@@ -3148,6 +3349,7 @@ export interface GetUsagePlansRequest {
|
|
|
3148
3349
|
limit?: number;
|
|
3149
3350
|
}
|
|
3150
3351
|
/**
|
|
3352
|
+
* @public
|
|
3151
3353
|
* <p>Represents a collection of usage plans for an AWS account.</p>
|
|
3152
3354
|
*/
|
|
3153
3355
|
export interface UsagePlans {
|
|
@@ -3161,6 +3363,7 @@ export interface UsagePlans {
|
|
|
3161
3363
|
position?: string;
|
|
3162
3364
|
}
|
|
3163
3365
|
/**
|
|
3366
|
+
* @public
|
|
3164
3367
|
* <p>Gets a specified VPC link under the caller's account in a region.</p>
|
|
3165
3368
|
*/
|
|
3166
3369
|
export interface GetVpcLinkRequest {
|
|
@@ -3170,6 +3373,7 @@ export interface GetVpcLinkRequest {
|
|
|
3170
3373
|
vpcLinkId: string | undefined;
|
|
3171
3374
|
}
|
|
3172
3375
|
/**
|
|
3376
|
+
* @public
|
|
3173
3377
|
* <p>Gets the VpcLinks collection under the caller's account in a selected region.</p>
|
|
3174
3378
|
*/
|
|
3175
3379
|
export interface GetVpcLinksRequest {
|
|
@@ -3183,6 +3387,7 @@ export interface GetVpcLinksRequest {
|
|
|
3183
3387
|
limit?: number;
|
|
3184
3388
|
}
|
|
3185
3389
|
/**
|
|
3390
|
+
* @public
|
|
3186
3391
|
* <p>The collection of VPC links under the caller's account in a region.</p>
|
|
3187
3392
|
*/
|
|
3188
3393
|
export interface VpcLinks {
|
|
@@ -3196,6 +3401,7 @@ export interface VpcLinks {
|
|
|
3196
3401
|
position?: string;
|
|
3197
3402
|
}
|
|
3198
3403
|
/**
|
|
3404
|
+
* @public
|
|
3199
3405
|
* <p>The POST request to import API keys from an external source, such as a CSV-formatted file.</p>
|
|
3200
3406
|
*/
|
|
3201
3407
|
export interface ImportApiKeysRequest {
|
|
@@ -3213,6 +3419,7 @@ export interface ImportApiKeysRequest {
|
|
|
3213
3419
|
failOnWarnings?: boolean;
|
|
3214
3420
|
}
|
|
3215
3421
|
/**
|
|
3422
|
+
* @public
|
|
3216
3423
|
* <p>A collection of the imported DocumentationPart identifiers.</p>
|
|
3217
3424
|
*/
|
|
3218
3425
|
export interface DocumentationPartIds {
|
|
@@ -3225,11 +3432,15 @@ export interface DocumentationPartIds {
|
|
|
3225
3432
|
*/
|
|
3226
3433
|
warnings?: string[];
|
|
3227
3434
|
}
|
|
3435
|
+
/**
|
|
3436
|
+
* @public
|
|
3437
|
+
*/
|
|
3228
3438
|
export declare enum PutMode {
|
|
3229
3439
|
Merge = "merge",
|
|
3230
3440
|
Overwrite = "overwrite"
|
|
3231
3441
|
}
|
|
3232
3442
|
/**
|
|
3443
|
+
* @public
|
|
3233
3444
|
* <p>Import documentation parts from an external (e.g., OpenAPI) definition file. </p>
|
|
3234
3445
|
*/
|
|
3235
3446
|
export interface ImportDocumentationPartsRequest {
|
|
@@ -3251,6 +3462,7 @@ export interface ImportDocumentationPartsRequest {
|
|
|
3251
3462
|
body: Uint8Array | undefined;
|
|
3252
3463
|
}
|
|
3253
3464
|
/**
|
|
3465
|
+
* @public
|
|
3254
3466
|
* <p>A POST request to import an API to API Gateway using an input of an API definition file.</p>
|
|
3255
3467
|
*/
|
|
3256
3468
|
export interface ImportRestApiRequest {
|
|
@@ -3274,6 +3486,7 @@ export interface ImportRestApiRequest {
|
|
|
3274
3486
|
body: Uint8Array | undefined;
|
|
3275
3487
|
}
|
|
3276
3488
|
/**
|
|
3489
|
+
* @public
|
|
3277
3490
|
* <p>Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.</p>
|
|
3278
3491
|
*/
|
|
3279
3492
|
export interface PutGatewayResponseRequest {
|
|
@@ -3299,6 +3512,7 @@ export interface PutGatewayResponseRequest {
|
|
|
3299
3512
|
responseTemplates?: Record<string, string>;
|
|
3300
3513
|
}
|
|
3301
3514
|
/**
|
|
3515
|
+
* @public
|
|
3302
3516
|
* <p>Sets up a method's integration.</p>
|
|
3303
3517
|
*/
|
|
3304
3518
|
export interface PutIntegrationRequest {
|
|
@@ -3328,17 +3542,17 @@ export interface PutIntegrationRequest {
|
|
|
3328
3542
|
* RFC-3986 specification, for either standard integration, where <code>connectionType</code> is not <code>VPC_LINK</code>,
|
|
3329
3543
|
* or private integration, where <code>connectionType</code> is <code>VPC_LINK</code>. For a private HTTP integration, the
|
|
3330
3544
|
* URI is not used for routing. For <code>AWS</code> or <code>AWS_PROXY</code> integrations, the URI is of the form
|
|
3331
|
-
* <code>arn:aws:apigateway
|
|
3332
|
-
* {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated
|
|
3333
|
-
* Amazon Web Services service (e.g., s3); and {subdomain} is a designated subdomain supported by certain Amazon Web Services
|
|
3545
|
+
* <code>arn:aws:apigateway:\{region\}:\{subdomain.service|service\}:path|action/\{service_api</code>\}. Here,
|
|
3546
|
+
* \{Region\} is the API Gateway region (e.g., us-east-1); \{service\} is the name of the integrated
|
|
3547
|
+
* Amazon Web Services service (e.g., s3); and \{subdomain\} is a designated subdomain supported by certain Amazon Web Services
|
|
3334
3548
|
* service for fast host-name lookup. action can be used for an Amazon Web Services service action-based API,
|
|
3335
|
-
* using an Action
|
|
3336
|
-
* a supported action {name} plus any required input parameters. Alternatively, path can be used
|
|
3549
|
+
* using an Action=\{name\}&\{p1\}=\{v1\}&p2=\{v2\}... query string. The ensuing \{service_api\} refers to
|
|
3550
|
+
* a supported action \{name\} plus any required input parameters. Alternatively, path can be used
|
|
3337
3551
|
* for an Amazon Web Services service path-based API. The ensuing service_api refers to the path to an Amazon Web Services
|
|
3338
3552
|
* service resource, including the region of the integrated Amazon Web Services service, if applicable. For
|
|
3339
3553
|
* example, for integration with the S3 API of <code>GetObject</code>, the <code>uri</code> can be either
|
|
3340
|
-
* <code>arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket
|
|
3341
|
-
* <code>arn:aws:apigateway:us-west-2:s3:path
|
|
3554
|
+
* <code>arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket=\{bucket\}&Key=\{key\}</code> or
|
|
3555
|
+
* <code>arn:aws:apigateway:us-west-2:s3:path/\{bucket\}/\{key\}</code>.</p>
|
|
3342
3556
|
*/
|
|
3343
3557
|
uri?: string;
|
|
3344
3558
|
/**
|
|
@@ -3354,7 +3568,7 @@ export interface PutIntegrationRequest {
|
|
|
3354
3568
|
*/
|
|
3355
3569
|
credentials?: string;
|
|
3356
3570
|
/**
|
|
3357
|
-
* <p>A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of <code>method.request
|
|
3571
|
+
* <p>A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of <code>method.request.\{location\}.\{name\}</code>, where <code>location</code> is <code>querystring</code>, <code>path</code>, or <code>header</code> and <code>name</code> must be a valid and unique method request parameter name.</p>
|
|
3358
3572
|
*/
|
|
3359
3573
|
requestParameters?: Record<string, string>;
|
|
3360
3574
|
/**
|
|
@@ -3389,6 +3603,7 @@ export interface PutIntegrationRequest {
|
|
|
3389
3603
|
tlsConfig?: TlsConfig;
|
|
3390
3604
|
}
|
|
3391
3605
|
/**
|
|
3606
|
+
* @public
|
|
3392
3607
|
* <p>Represents a put integration response request.</p>
|
|
3393
3608
|
*/
|
|
3394
3609
|
export interface PutIntegrationResponseRequest {
|
|
@@ -3414,7 +3629,7 @@ export interface PutIntegrationResponseRequest {
|
|
|
3414
3629
|
selectionPattern?: string;
|
|
3415
3630
|
/**
|
|
3416
3631
|
* <p>A key-value map specifying response parameters that are passed to the method response from the back end.
|
|
3417
|
-
* The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of <code>method.response.header
|
|
3632
|
+
* The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of <code>method.response.header.\{name\}</code>, where <code>name</code> is a valid and unique header name. The mapped non-static value must match the pattern of <code>integration.response.header.\{name\}</code> or <code>integration.response.body.\{JSON-expression\}</code>, where <code>name</code> must be a valid and unique response header name and <code>JSON-expression</code> a valid JSON expression without the <code>$</code> prefix.</p>
|
|
3418
3633
|
*/
|
|
3419
3634
|
responseParameters?: Record<string, string>;
|
|
3420
3635
|
/**
|
|
@@ -3428,6 +3643,7 @@ export interface PutIntegrationResponseRequest {
|
|
|
3428
3643
|
contentHandling?: ContentHandlingStrategy | string;
|
|
3429
3644
|
}
|
|
3430
3645
|
/**
|
|
3646
|
+
* @public
|
|
3431
3647
|
* <p>Request to add a method to an existing Resource resource.</p>
|
|
3432
3648
|
*/
|
|
3433
3649
|
export interface PutMethodRequest {
|
|
@@ -3460,7 +3676,7 @@ export interface PutMethodRequest {
|
|
|
3460
3676
|
*/
|
|
3461
3677
|
operationName?: string;
|
|
3462
3678
|
/**
|
|
3463
|
-
* <p>A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key defines a method request parameter name matching the pattern of <code>method.request
|
|
3679
|
+
* <p>A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key defines a method request parameter name matching the pattern of <code>method.request.\{location\}.\{name\}</code>, where <code>location</code> is <code>querystring</code>, <code>path</code>, or <code>header</code> and <code>name</code> is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (<code>true</code>) or optional (<code>false</code>). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or body-mapping templates.</p>
|
|
3464
3680
|
*/
|
|
3465
3681
|
requestParameters?: Record<string, boolean>;
|
|
3466
3682
|
/**
|
|
@@ -3477,6 +3693,7 @@ export interface PutMethodRequest {
|
|
|
3477
3693
|
authorizationScopes?: string[];
|
|
3478
3694
|
}
|
|
3479
3695
|
/**
|
|
3696
|
+
* @public
|
|
3480
3697
|
* <p>Request to add a MethodResponse to an existing Method resource.</p>
|
|
3481
3698
|
*/
|
|
3482
3699
|
export interface PutMethodResponseRequest {
|
|
@@ -3497,7 +3714,7 @@ export interface PutMethodResponseRequest {
|
|
|
3497
3714
|
*/
|
|
3498
3715
|
statusCode: string | undefined;
|
|
3499
3716
|
/**
|
|
3500
|
-
* <p>A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of <code>method.response.header
|
|
3717
|
+
* <p>A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of <code>method.response.header.\{name\}</code>, where <code>name</code> is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in <code>integration.response.header.\{name\}</code>, a static value enclosed within a pair of single quotes (e.g., <code>'application/json'</code>), or a JSON expression from the back-end response payload in the form of <code>integration.response.body.\{JSON-expression\}</code>, where <code>JSON-expression</code> is a valid JSON expression without the <code>$</code> prefix.)</p>
|
|
3501
3718
|
*/
|
|
3502
3719
|
responseParameters?: Record<string, boolean>;
|
|
3503
3720
|
/**
|
|
@@ -3506,6 +3723,7 @@ export interface PutMethodResponseRequest {
|
|
|
3506
3723
|
responseModels?: Record<string, string>;
|
|
3507
3724
|
}
|
|
3508
3725
|
/**
|
|
3726
|
+
* @public
|
|
3509
3727
|
* <p>A PUT request to update an existing API, with external API definitions specified as the request body.</p>
|
|
3510
3728
|
*/
|
|
3511
3729
|
export interface PutRestApiRequest {
|
|
@@ -3533,6 +3751,7 @@ export interface PutRestApiRequest {
|
|
|
3533
3751
|
body: Uint8Array | undefined;
|
|
3534
3752
|
}
|
|
3535
3753
|
/**
|
|
3754
|
+
* @public
|
|
3536
3755
|
* <p>Adds or updates a tag on a given resource.</p>
|
|
3537
3756
|
*/
|
|
3538
3757
|
export interface TagResourceRequest {
|
|
@@ -3546,6 +3765,7 @@ export interface TagResourceRequest {
|
|
|
3546
3765
|
tags: Record<string, string> | undefined;
|
|
3547
3766
|
}
|
|
3548
3767
|
/**
|
|
3768
|
+
* @public
|
|
3549
3769
|
* <p>Make a request to simulate the invocation of an Authorizer.</p>
|
|
3550
3770
|
*/
|
|
3551
3771
|
export interface TestInvokeAuthorizerRequest {
|
|
@@ -3583,6 +3803,7 @@ export interface TestInvokeAuthorizerRequest {
|
|
|
3583
3803
|
additionalContext?: Record<string, string>;
|
|
3584
3804
|
}
|
|
3585
3805
|
/**
|
|
3806
|
+
* @public
|
|
3586
3807
|
* <p>Represents the response of the test invoke request for a custom Authorizer</p>
|
|
3587
3808
|
*/
|
|
3588
3809
|
export interface TestInvokeAuthorizerResponse {
|
|
@@ -3616,6 +3837,7 @@ export interface TestInvokeAuthorizerResponse {
|
|
|
3616
3837
|
claims?: Record<string, string>;
|
|
3617
3838
|
}
|
|
3618
3839
|
/**
|
|
3840
|
+
* @public
|
|
3619
3841
|
* <p>Make a request to simulate the invocation of a Method.</p>
|
|
3620
3842
|
*/
|
|
3621
3843
|
export interface TestInvokeMethodRequest {
|
|
@@ -3657,6 +3879,7 @@ export interface TestInvokeMethodRequest {
|
|
|
3657
3879
|
stageVariables?: Record<string, string>;
|
|
3658
3880
|
}
|
|
3659
3881
|
/**
|
|
3882
|
+
* @public
|
|
3660
3883
|
* <p>Represents the response of the test invoke request in the HTTP method.</p>
|
|
3661
3884
|
*/
|
|
3662
3885
|
export interface TestInvokeMethodResponse {
|
|
@@ -3686,6 +3909,7 @@ export interface TestInvokeMethodResponse {
|
|
|
3686
3909
|
latency?: number;
|
|
3687
3910
|
}
|
|
3688
3911
|
/**
|
|
3912
|
+
* @public
|
|
3689
3913
|
* <p>Removes a tag from a given resource.</p>
|
|
3690
3914
|
*/
|
|
3691
3915
|
export interface UntagResourceRequest {
|
|
@@ -3698,6 +3922,9 @@ export interface UntagResourceRequest {
|
|
|
3698
3922
|
*/
|
|
3699
3923
|
tagKeys: string[] | undefined;
|
|
3700
3924
|
}
|
|
3925
|
+
/**
|
|
3926
|
+
* @public
|
|
3927
|
+
*/
|
|
3701
3928
|
export declare enum Op {
|
|
3702
3929
|
add = "add",
|
|
3703
3930
|
copy = "copy",
|
|
@@ -3707,6 +3934,7 @@ export declare enum Op {
|
|
|
3707
3934
|
test = "test"
|
|
3708
3935
|
}
|
|
3709
3936
|
/**
|
|
3937
|
+
* @public
|
|
3710
3938
|
* <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>
|
|
3711
3939
|
*/
|
|
3712
3940
|
export interface PatchOperation {
|
|
@@ -3720,8 +3948,8 @@ export interface PatchOperation {
|
|
|
3720
3948
|
/**
|
|
3721
3949
|
* <p>The op operation's target, as identified by a JSON Pointer value that references a
|
|
3722
3950
|
* location within the targeted resource. For example, if the target resource has an
|
|
3723
|
-
* updateable property of {"name":"value"}, the path for this property is /name. If the
|
|
3724
|
-
* name property value is a JSON object (e.g., {"name": {"child/name": "child-value"}}),
|
|
3951
|
+
* updateable property of \{"name":"value"\}, the path for this property is /name. If the
|
|
3952
|
+
* name property value is a JSON object (e.g., \{"name": \{"child/name": "child-value"\}\}),
|
|
3725
3953
|
* the path for the child/name property will be /name/child~1name. Any slash ("/")
|
|
3726
3954
|
* character appearing in path names must be escaped with "~1", as shown in the example
|
|
3727
3955
|
* above. Each op operation can have only one path associated with it.</p>
|
|
@@ -3730,7 +3958,7 @@ export interface PatchOperation {
|
|
|
3730
3958
|
/**
|
|
3731
3959
|
* <p>The new target value of the update operation. It is applicable for the add or replace
|
|
3732
3960
|
* operation. When using AWS CLI to update a property of a JSON value, enclose the JSON
|
|
3733
|
-
* object with a pair of single quotes in a Linux shell, e.g., '{"a":
|
|
3961
|
+
* object with a pair of single quotes in a Linux shell, e.g., '\{"a": ...\}'.</p>
|
|
3734
3962
|
*/
|
|
3735
3963
|
value?: string;
|
|
3736
3964
|
/**
|
|
@@ -3743,6 +3971,7 @@ export interface PatchOperation {
|
|
|
3743
3971
|
from?: string;
|
|
3744
3972
|
}
|
|
3745
3973
|
/**
|
|
3974
|
+
* @public
|
|
3746
3975
|
* <p>Requests API Gateway to change information about the current Account resource.</p>
|
|
3747
3976
|
*/
|
|
3748
3977
|
export interface UpdateAccountRequest {
|
|
@@ -3752,6 +3981,7 @@ export interface UpdateAccountRequest {
|
|
|
3752
3981
|
patchOperations?: PatchOperation[];
|
|
3753
3982
|
}
|
|
3754
3983
|
/**
|
|
3984
|
+
* @public
|
|
3755
3985
|
* <p>A request to change information about an ApiKey resource.</p>
|
|
3756
3986
|
*/
|
|
3757
3987
|
export interface UpdateApiKeyRequest {
|
|
@@ -3765,6 +3995,7 @@ export interface UpdateApiKeyRequest {
|
|
|
3765
3995
|
patchOperations?: PatchOperation[];
|
|
3766
3996
|
}
|
|
3767
3997
|
/**
|
|
3998
|
+
* @public
|
|
3768
3999
|
* <p>Request to update an existing Authorizer resource.</p>
|
|
3769
4000
|
*/
|
|
3770
4001
|
export interface UpdateAuthorizerRequest {
|
|
@@ -3782,6 +4013,7 @@ export interface UpdateAuthorizerRequest {
|
|
|
3782
4013
|
patchOperations?: PatchOperation[];
|
|
3783
4014
|
}
|
|
3784
4015
|
/**
|
|
4016
|
+
* @public
|
|
3785
4017
|
* <p>A request to change information about the BasePathMapping resource.</p>
|
|
3786
4018
|
*/
|
|
3787
4019
|
export interface UpdateBasePathMappingRequest {
|
|
@@ -3800,6 +4032,7 @@ export interface UpdateBasePathMappingRequest {
|
|
|
3800
4032
|
patchOperations?: PatchOperation[];
|
|
3801
4033
|
}
|
|
3802
4034
|
/**
|
|
4035
|
+
* @public
|
|
3803
4036
|
* <p>A request to change information about an ClientCertificate resource.</p>
|
|
3804
4037
|
*/
|
|
3805
4038
|
export interface UpdateClientCertificateRequest {
|
|
@@ -3813,6 +4046,7 @@ export interface UpdateClientCertificateRequest {
|
|
|
3813
4046
|
patchOperations?: PatchOperation[];
|
|
3814
4047
|
}
|
|
3815
4048
|
/**
|
|
4049
|
+
* @public
|
|
3816
4050
|
* <p>Requests API Gateway to change information about a Deployment resource.</p>
|
|
3817
4051
|
*/
|
|
3818
4052
|
export interface UpdateDeploymentRequest {
|
|
@@ -3830,6 +4064,7 @@ export interface UpdateDeploymentRequest {
|
|
|
3830
4064
|
patchOperations?: PatchOperation[];
|
|
3831
4065
|
}
|
|
3832
4066
|
/**
|
|
4067
|
+
* @public
|
|
3833
4068
|
* <p>Updates an existing documentation part of a given API.</p>
|
|
3834
4069
|
*/
|
|
3835
4070
|
export interface UpdateDocumentationPartRequest {
|
|
@@ -3847,6 +4082,7 @@ export interface UpdateDocumentationPartRequest {
|
|
|
3847
4082
|
patchOperations?: PatchOperation[];
|
|
3848
4083
|
}
|
|
3849
4084
|
/**
|
|
4085
|
+
* @public
|
|
3850
4086
|
* <p>Updates an existing documentation version of an API.</p>
|
|
3851
4087
|
*/
|
|
3852
4088
|
export interface UpdateDocumentationVersionRequest {
|
|
@@ -3864,6 +4100,7 @@ export interface UpdateDocumentationVersionRequest {
|
|
|
3864
4100
|
patchOperations?: PatchOperation[];
|
|
3865
4101
|
}
|
|
3866
4102
|
/**
|
|
4103
|
+
* @public
|
|
3867
4104
|
* <p>A request to change information about the DomainName resource.</p>
|
|
3868
4105
|
*/
|
|
3869
4106
|
export interface UpdateDomainNameRequest {
|
|
@@ -3877,6 +4114,7 @@ export interface UpdateDomainNameRequest {
|
|
|
3877
4114
|
patchOperations?: PatchOperation[];
|
|
3878
4115
|
}
|
|
3879
4116
|
/**
|
|
4117
|
+
* @public
|
|
3880
4118
|
* <p>Updates a GatewayResponse of a specified response type on the given RestApi.</p>
|
|
3881
4119
|
*/
|
|
3882
4120
|
export interface UpdateGatewayResponseRequest {
|
|
@@ -3894,6 +4132,7 @@ export interface UpdateGatewayResponseRequest {
|
|
|
3894
4132
|
patchOperations?: PatchOperation[];
|
|
3895
4133
|
}
|
|
3896
4134
|
/**
|
|
4135
|
+
* @public
|
|
3897
4136
|
* <p>Represents an update integration request.</p>
|
|
3898
4137
|
*/
|
|
3899
4138
|
export interface UpdateIntegrationRequest {
|
|
@@ -3915,6 +4154,7 @@ export interface UpdateIntegrationRequest {
|
|
|
3915
4154
|
patchOperations?: PatchOperation[];
|
|
3916
4155
|
}
|
|
3917
4156
|
/**
|
|
4157
|
+
* @public
|
|
3918
4158
|
* <p>Represents an update integration response request.</p>
|
|
3919
4159
|
*/
|
|
3920
4160
|
export interface UpdateIntegrationResponseRequest {
|
|
@@ -3940,6 +4180,7 @@ export interface UpdateIntegrationResponseRequest {
|
|
|
3940
4180
|
patchOperations?: PatchOperation[];
|
|
3941
4181
|
}
|
|
3942
4182
|
/**
|
|
4183
|
+
* @public
|
|
3943
4184
|
* <p>Request to update an existing Method resource.</p>
|
|
3944
4185
|
*/
|
|
3945
4186
|
export interface UpdateMethodRequest {
|
|
@@ -3961,6 +4202,7 @@ export interface UpdateMethodRequest {
|
|
|
3961
4202
|
patchOperations?: PatchOperation[];
|
|
3962
4203
|
}
|
|
3963
4204
|
/**
|
|
4205
|
+
* @public
|
|
3964
4206
|
* <p>A request to update an existing MethodResponse resource.</p>
|
|
3965
4207
|
*/
|
|
3966
4208
|
export interface UpdateMethodResponseRequest {
|
|
@@ -3986,6 +4228,7 @@ export interface UpdateMethodResponseRequest {
|
|
|
3986
4228
|
patchOperations?: PatchOperation[];
|
|
3987
4229
|
}
|
|
3988
4230
|
/**
|
|
4231
|
+
* @public
|
|
3989
4232
|
* <p>Request to update an existing model in an existing RestApi resource.</p>
|
|
3990
4233
|
*/
|
|
3991
4234
|
export interface UpdateModelRequest {
|
|
@@ -4003,6 +4246,7 @@ export interface UpdateModelRequest {
|
|
|
4003
4246
|
patchOperations?: PatchOperation[];
|
|
4004
4247
|
}
|
|
4005
4248
|
/**
|
|
4249
|
+
* @public
|
|
4006
4250
|
* <p>Updates a RequestValidator of a given RestApi.</p>
|
|
4007
4251
|
*/
|
|
4008
4252
|
export interface UpdateRequestValidatorRequest {
|
|
@@ -4020,6 +4264,7 @@ export interface UpdateRequestValidatorRequest {
|
|
|
4020
4264
|
patchOperations?: PatchOperation[];
|
|
4021
4265
|
}
|
|
4022
4266
|
/**
|
|
4267
|
+
* @public
|
|
4023
4268
|
* <p>Request to change information about a Resource resource.</p>
|
|
4024
4269
|
*/
|
|
4025
4270
|
export interface UpdateResourceRequest {
|
|
@@ -4037,6 +4282,7 @@ export interface UpdateResourceRequest {
|
|
|
4037
4282
|
patchOperations?: PatchOperation[];
|
|
4038
4283
|
}
|
|
4039
4284
|
/**
|
|
4285
|
+
* @public
|
|
4040
4286
|
* <p>Request to update an existing RestApi resource in your collection.</p>
|
|
4041
4287
|
*/
|
|
4042
4288
|
export interface UpdateRestApiRequest {
|
|
@@ -4050,6 +4296,7 @@ export interface UpdateRestApiRequest {
|
|
|
4050
4296
|
patchOperations?: PatchOperation[];
|
|
4051
4297
|
}
|
|
4052
4298
|
/**
|
|
4299
|
+
* @public
|
|
4053
4300
|
* <p>Requests API Gateway to change information about a Stage resource.</p>
|
|
4054
4301
|
*/
|
|
4055
4302
|
export interface UpdateStageRequest {
|
|
@@ -4067,6 +4314,7 @@ export interface UpdateStageRequest {
|
|
|
4067
4314
|
patchOperations?: PatchOperation[];
|
|
4068
4315
|
}
|
|
4069
4316
|
/**
|
|
4317
|
+
* @public
|
|
4070
4318
|
* <p>The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.</p>
|
|
4071
4319
|
*/
|
|
4072
4320
|
export interface UpdateUsageRequest {
|
|
@@ -4084,6 +4332,7 @@ export interface UpdateUsageRequest {
|
|
|
4084
4332
|
patchOperations?: PatchOperation[];
|
|
4085
4333
|
}
|
|
4086
4334
|
/**
|
|
4335
|
+
* @public
|
|
4087
4336
|
* <p>The PATCH request to update a usage plan of a given plan Id.</p>
|
|
4088
4337
|
*/
|
|
4089
4338
|
export interface UpdateUsagePlanRequest {
|
|
@@ -4097,6 +4346,7 @@ export interface UpdateUsagePlanRequest {
|
|
|
4097
4346
|
patchOperations?: PatchOperation[];
|
|
4098
4347
|
}
|
|
4099
4348
|
/**
|
|
4349
|
+
* @public
|
|
4100
4350
|
* <p>Updates an existing VpcLink of a specified identifier.</p>
|
|
4101
4351
|
*/
|
|
4102
4352
|
export interface UpdateVpcLinkRequest {
|