@aws-sdk/client-api-gateway 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/APIGatewayServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +100 -5
- package/dist-cjs/protocols/Aws_restJson1.js +1180 -4913
- package/dist-es/index.js +1 -0
- package/dist-es/models/APIGatewayServiceException.js +12 -0
- package/dist-es/models/models_0.js +89 -1
- package/dist-es/protocols/Aws_restJson1.js +2733 -5401
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/APIGatewayServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -29
- package/dist-types/ts3.4/APIGateway.d.ts +592 -0
- package/dist-types/ts3.4/APIGatewayClient.d.ts +193 -0
- package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAuthorizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateBasePathMappingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDocumentationPartCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/CreateDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRequestValidatorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUsagePlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUsagePlanKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateVpcLinkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBasePathMappingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteClientCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDocumentationPartCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/DeleteDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteGatewayResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMethodCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMethodResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRequestValidatorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUsagePlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUsagePlanKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteVpcLinkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/FlushStageAuthorizersCacheCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/FlushStageCacheCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateClientCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApiKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApiKeysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAuthorizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAuthorizersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBasePathMappingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBasePathMappingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetClientCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetClientCertificatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDocumentationPartCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetDocumentationPartsCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetDocumentationVersionsCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDomainNamesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGatewayResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGatewayResponsesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntegrationResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMethodCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMethodResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetModelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetModelTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetModelsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRequestValidatorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRequestValidatorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRestApisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSdkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSdkTypeCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetSdkTypesCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetStageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetStagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsagePlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsagePlanKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsagePlanKeysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsagePlansCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetVpcLinkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetVpcLinksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportApiKeysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/ImportRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutGatewayResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutIntegrationResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutMethodCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutMethodResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TestInvokeAuthorizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TestInvokeMethodCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAuthorizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateBasePathMappingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateClientCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDocumentationPartCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/UpdateDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateGatewayResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateIntegrationResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateMethodCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateMethodResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRequestValidatorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUsageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUsagePlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateVpcLinkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +120 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/APIGatewayServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2996 -0
- package/dist-types/ts3.4/pagination/GetApiKeysPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBasePathMappingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetClientCertificatesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetDeploymentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetDomainNamesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetModelsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetRestApisPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetUsagePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetUsagePlanKeysPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetUsagePlansPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetVpcLinksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +362 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +34 -34
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from APIGateway service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class APIGatewayServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>Access log settings, including the access log format and access log destination ARN.</p>
|
|
4
5
|
*/
|
|
@@ -331,18 +332,24 @@ export declare namespace Authorizers {
|
|
|
331
332
|
/**
|
|
332
333
|
* <p>The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
333
334
|
*/
|
|
334
|
-
export
|
|
335
|
-
name: "BadRequestException";
|
|
336
|
-
$fault: "client";
|
|
337
|
-
|
|
335
|
+
export declare class BadRequestException extends __BaseException {
|
|
336
|
+
readonly name: "BadRequestException";
|
|
337
|
+
readonly $fault: "client";
|
|
338
|
+
/**
|
|
339
|
+
* @internal
|
|
340
|
+
*/
|
|
341
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
338
342
|
}
|
|
339
343
|
/**
|
|
340
344
|
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
341
345
|
*/
|
|
342
|
-
export
|
|
343
|
-
name: "ConflictException";
|
|
344
|
-
$fault: "client";
|
|
345
|
-
|
|
346
|
+
export declare class ConflictException extends __BaseException {
|
|
347
|
+
readonly name: "ConflictException";
|
|
348
|
+
readonly $fault: "client";
|
|
349
|
+
/**
|
|
350
|
+
* @internal
|
|
351
|
+
*/
|
|
352
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
346
353
|
}
|
|
347
354
|
/**
|
|
348
355
|
* <p>A reference to a unique stage identified in the format <code>{restApiId}/{stage}</code>.</p>
|
|
@@ -411,36 +418,48 @@ export declare namespace CreateApiKeyRequest {
|
|
|
411
418
|
/**
|
|
412
419
|
* <p>The request exceeded the rate limit. Retry after the specified time period.</p>
|
|
413
420
|
*/
|
|
414
|
-
export
|
|
415
|
-
name: "LimitExceededException";
|
|
416
|
-
$fault: "client";
|
|
421
|
+
export declare class LimitExceededException extends __BaseException {
|
|
422
|
+
readonly name: "LimitExceededException";
|
|
423
|
+
readonly $fault: "client";
|
|
417
424
|
retryAfterSeconds?: string;
|
|
418
|
-
|
|
425
|
+
/**
|
|
426
|
+
* @internal
|
|
427
|
+
*/
|
|
428
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
419
429
|
}
|
|
420
430
|
/**
|
|
421
431
|
* <p>The requested resource is not found. Make sure that the request URI is correct.</p>
|
|
422
432
|
*/
|
|
423
|
-
export
|
|
424
|
-
name: "NotFoundException";
|
|
425
|
-
$fault: "client";
|
|
426
|
-
|
|
433
|
+
export declare class NotFoundException extends __BaseException {
|
|
434
|
+
readonly name: "NotFoundException";
|
|
435
|
+
readonly $fault: "client";
|
|
436
|
+
/**
|
|
437
|
+
* @internal
|
|
438
|
+
*/
|
|
439
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
427
440
|
}
|
|
428
441
|
/**
|
|
429
442
|
* <p>The request has reached its throttling limit. Retry after the specified time period.</p>
|
|
430
443
|
*/
|
|
431
|
-
export
|
|
432
|
-
name: "TooManyRequestsException";
|
|
433
|
-
$fault: "client";
|
|
444
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
445
|
+
readonly name: "TooManyRequestsException";
|
|
446
|
+
readonly $fault: "client";
|
|
434
447
|
retryAfterSeconds?: string;
|
|
435
|
-
|
|
448
|
+
/**
|
|
449
|
+
* @internal
|
|
450
|
+
*/
|
|
451
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
436
452
|
}
|
|
437
453
|
/**
|
|
438
454
|
* <p>The request is denied because the caller has insufficient permissions.</p>
|
|
439
455
|
*/
|
|
440
|
-
export
|
|
441
|
-
name: "UnauthorizedException";
|
|
442
|
-
$fault: "client";
|
|
443
|
-
|
|
456
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
457
|
+
readonly name: "UnauthorizedException";
|
|
458
|
+
readonly $fault: "client";
|
|
459
|
+
/**
|
|
460
|
+
* @internal
|
|
461
|
+
*/
|
|
462
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
444
463
|
}
|
|
445
464
|
/**
|
|
446
465
|
* <p>Request to add a new <a>Authorizer</a> to an existing <a>RestApi</a> resource.</p>
|
|
@@ -692,11 +711,14 @@ export declare namespace Deployment {
|
|
|
692
711
|
/**
|
|
693
712
|
* <p>The requested service is not available. For details see the accompanying error message. Retry after the specified time period.</p>
|
|
694
713
|
*/
|
|
695
|
-
export
|
|
696
|
-
name: "ServiceUnavailableException";
|
|
697
|
-
$fault: "server";
|
|
714
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
715
|
+
readonly name: "ServiceUnavailableException";
|
|
716
|
+
readonly $fault: "server";
|
|
698
717
|
retryAfterSeconds?: string;
|
|
699
|
-
|
|
718
|
+
/**
|
|
719
|
+
* @internal
|
|
720
|
+
*/
|
|
721
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
700
722
|
}
|
|
701
723
|
export declare enum DocumentationPartType {
|
|
702
724
|
API = "API",
|