@aws-sdk/client-api-gateway 3.354.0 → 3.358.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +28 -34
- package/dist-es/protocols/Aws_restJson1.js +1 -7
- package/dist-types/APIGatewayClient.d.ts +1 -1
- package/dist-types/commands/GetExportCommand.d.ts +8 -1
- package/dist-types/commands/GetSdkCommand.d.ts +8 -1
- package/dist-types/commands/ImportApiKeysCommand.d.ts +8 -2
- package/dist-types/commands/ImportDocumentationPartsCommand.d.ts +8 -2
- package/dist-types/commands/ImportRestApiCommand.d.ts +8 -2
- package/dist-types/commands/PutRestApiCommand.d.ts +8 -2
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/GetSdkCommand.d.ts +10 -1
- package/dist-types/ts3.4/commands/ImportApiKeysCommand.d.ts +9 -1
- package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/ImportRestApiCommand.d.ts +9 -1
- package/dist-types/ts3.4/commands/PutRestApiCommand.d.ts +8 -1
- package/package.json +30 -29
|
@@ -3535,7 +3535,7 @@ const de_DeleteApiKeyCommand = async (output, context) => {
|
|
|
3535
3535
|
const contents = (0, smithy_client_1.map)({
|
|
3536
3536
|
$metadata: deserializeMetadata(output),
|
|
3537
3537
|
});
|
|
3538
|
-
await collectBody(output.body, context);
|
|
3538
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3539
3539
|
return contents;
|
|
3540
3540
|
};
|
|
3541
3541
|
exports.de_DeleteApiKeyCommand = de_DeleteApiKeyCommand;
|
|
@@ -3577,7 +3577,7 @@ const de_DeleteAuthorizerCommand = async (output, context) => {
|
|
|
3577
3577
|
const contents = (0, smithy_client_1.map)({
|
|
3578
3578
|
$metadata: deserializeMetadata(output),
|
|
3579
3579
|
});
|
|
3580
|
-
await collectBody(output.body, context);
|
|
3580
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3581
3581
|
return contents;
|
|
3582
3582
|
};
|
|
3583
3583
|
exports.de_DeleteAuthorizerCommand = de_DeleteAuthorizerCommand;
|
|
@@ -3619,7 +3619,7 @@ const de_DeleteBasePathMappingCommand = async (output, context) => {
|
|
|
3619
3619
|
const contents = (0, smithy_client_1.map)({
|
|
3620
3620
|
$metadata: deserializeMetadata(output),
|
|
3621
3621
|
});
|
|
3622
|
-
await collectBody(output.body, context);
|
|
3622
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3623
3623
|
return contents;
|
|
3624
3624
|
};
|
|
3625
3625
|
exports.de_DeleteBasePathMappingCommand = de_DeleteBasePathMappingCommand;
|
|
@@ -3661,7 +3661,7 @@ const de_DeleteClientCertificateCommand = async (output, context) => {
|
|
|
3661
3661
|
const contents = (0, smithy_client_1.map)({
|
|
3662
3662
|
$metadata: deserializeMetadata(output),
|
|
3663
3663
|
});
|
|
3664
|
-
await collectBody(output.body, context);
|
|
3664
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3665
3665
|
return contents;
|
|
3666
3666
|
};
|
|
3667
3667
|
exports.de_DeleteClientCertificateCommand = de_DeleteClientCertificateCommand;
|
|
@@ -3703,7 +3703,7 @@ const de_DeleteDeploymentCommand = async (output, context) => {
|
|
|
3703
3703
|
const contents = (0, smithy_client_1.map)({
|
|
3704
3704
|
$metadata: deserializeMetadata(output),
|
|
3705
3705
|
});
|
|
3706
|
-
await collectBody(output.body, context);
|
|
3706
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3707
3707
|
return contents;
|
|
3708
3708
|
};
|
|
3709
3709
|
exports.de_DeleteDeploymentCommand = de_DeleteDeploymentCommand;
|
|
@@ -3748,7 +3748,7 @@ const de_DeleteDocumentationPartCommand = async (output, context) => {
|
|
|
3748
3748
|
const contents = (0, smithy_client_1.map)({
|
|
3749
3749
|
$metadata: deserializeMetadata(output),
|
|
3750
3750
|
});
|
|
3751
|
-
await collectBody(output.body, context);
|
|
3751
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3752
3752
|
return contents;
|
|
3753
3753
|
};
|
|
3754
3754
|
exports.de_DeleteDocumentationPartCommand = de_DeleteDocumentationPartCommand;
|
|
@@ -3790,7 +3790,7 @@ const de_DeleteDocumentationVersionCommand = async (output, context) => {
|
|
|
3790
3790
|
const contents = (0, smithy_client_1.map)({
|
|
3791
3791
|
$metadata: deserializeMetadata(output),
|
|
3792
3792
|
});
|
|
3793
|
-
await collectBody(output.body, context);
|
|
3793
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3794
3794
|
return contents;
|
|
3795
3795
|
};
|
|
3796
3796
|
exports.de_DeleteDocumentationVersionCommand = de_DeleteDocumentationVersionCommand;
|
|
@@ -3832,7 +3832,7 @@ const de_DeleteDomainNameCommand = async (output, context) => {
|
|
|
3832
3832
|
const contents = (0, smithy_client_1.map)({
|
|
3833
3833
|
$metadata: deserializeMetadata(output),
|
|
3834
3834
|
});
|
|
3835
|
-
await collectBody(output.body, context);
|
|
3835
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3836
3836
|
return contents;
|
|
3837
3837
|
};
|
|
3838
3838
|
exports.de_DeleteDomainNameCommand = de_DeleteDomainNameCommand;
|
|
@@ -3874,7 +3874,7 @@ const de_DeleteGatewayResponseCommand = async (output, context) => {
|
|
|
3874
3874
|
const contents = (0, smithy_client_1.map)({
|
|
3875
3875
|
$metadata: deserializeMetadata(output),
|
|
3876
3876
|
});
|
|
3877
|
-
await collectBody(output.body, context);
|
|
3877
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3878
3878
|
return contents;
|
|
3879
3879
|
};
|
|
3880
3880
|
exports.de_DeleteGatewayResponseCommand = de_DeleteGatewayResponseCommand;
|
|
@@ -3916,7 +3916,7 @@ const de_DeleteIntegrationCommand = async (output, context) => {
|
|
|
3916
3916
|
const contents = (0, smithy_client_1.map)({
|
|
3917
3917
|
$metadata: deserializeMetadata(output),
|
|
3918
3918
|
});
|
|
3919
|
-
await collectBody(output.body, context);
|
|
3919
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3920
3920
|
return contents;
|
|
3921
3921
|
};
|
|
3922
3922
|
exports.de_DeleteIntegrationCommand = de_DeleteIntegrationCommand;
|
|
@@ -3958,7 +3958,7 @@ const de_DeleteIntegrationResponseCommand = async (output, context) => {
|
|
|
3958
3958
|
const contents = (0, smithy_client_1.map)({
|
|
3959
3959
|
$metadata: deserializeMetadata(output),
|
|
3960
3960
|
});
|
|
3961
|
-
await collectBody(output.body, context);
|
|
3961
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3962
3962
|
return contents;
|
|
3963
3963
|
};
|
|
3964
3964
|
exports.de_DeleteIntegrationResponseCommand = de_DeleteIntegrationResponseCommand;
|
|
@@ -4000,7 +4000,7 @@ const de_DeleteMethodCommand = async (output, context) => {
|
|
|
4000
4000
|
const contents = (0, smithy_client_1.map)({
|
|
4001
4001
|
$metadata: deserializeMetadata(output),
|
|
4002
4002
|
});
|
|
4003
|
-
await collectBody(output.body, context);
|
|
4003
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4004
4004
|
return contents;
|
|
4005
4005
|
};
|
|
4006
4006
|
exports.de_DeleteMethodCommand = de_DeleteMethodCommand;
|
|
@@ -4039,7 +4039,7 @@ const de_DeleteMethodResponseCommand = async (output, context) => {
|
|
|
4039
4039
|
const contents = (0, smithy_client_1.map)({
|
|
4040
4040
|
$metadata: deserializeMetadata(output),
|
|
4041
4041
|
});
|
|
4042
|
-
await collectBody(output.body, context);
|
|
4042
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4043
4043
|
return contents;
|
|
4044
4044
|
};
|
|
4045
4045
|
exports.de_DeleteMethodResponseCommand = de_DeleteMethodResponseCommand;
|
|
@@ -4081,7 +4081,7 @@ const de_DeleteModelCommand = async (output, context) => {
|
|
|
4081
4081
|
const contents = (0, smithy_client_1.map)({
|
|
4082
4082
|
$metadata: deserializeMetadata(output),
|
|
4083
4083
|
});
|
|
4084
|
-
await collectBody(output.body, context);
|
|
4084
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4085
4085
|
return contents;
|
|
4086
4086
|
};
|
|
4087
4087
|
exports.de_DeleteModelCommand = de_DeleteModelCommand;
|
|
@@ -4123,7 +4123,7 @@ const de_DeleteRequestValidatorCommand = async (output, context) => {
|
|
|
4123
4123
|
const contents = (0, smithy_client_1.map)({
|
|
4124
4124
|
$metadata: deserializeMetadata(output),
|
|
4125
4125
|
});
|
|
4126
|
-
await collectBody(output.body, context);
|
|
4126
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4127
4127
|
return contents;
|
|
4128
4128
|
};
|
|
4129
4129
|
exports.de_DeleteRequestValidatorCommand = de_DeleteRequestValidatorCommand;
|
|
@@ -4165,7 +4165,7 @@ const de_DeleteResourceCommand = async (output, context) => {
|
|
|
4165
4165
|
const contents = (0, smithy_client_1.map)({
|
|
4166
4166
|
$metadata: deserializeMetadata(output),
|
|
4167
4167
|
});
|
|
4168
|
-
await collectBody(output.body, context);
|
|
4168
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4169
4169
|
return contents;
|
|
4170
4170
|
};
|
|
4171
4171
|
exports.de_DeleteResourceCommand = de_DeleteResourceCommand;
|
|
@@ -4207,7 +4207,7 @@ const de_DeleteRestApiCommand = async (output, context) => {
|
|
|
4207
4207
|
const contents = (0, smithy_client_1.map)({
|
|
4208
4208
|
$metadata: deserializeMetadata(output),
|
|
4209
4209
|
});
|
|
4210
|
-
await collectBody(output.body, context);
|
|
4210
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4211
4211
|
return contents;
|
|
4212
4212
|
};
|
|
4213
4213
|
exports.de_DeleteRestApiCommand = de_DeleteRestApiCommand;
|
|
@@ -4249,7 +4249,7 @@ const de_DeleteStageCommand = async (output, context) => {
|
|
|
4249
4249
|
const contents = (0, smithy_client_1.map)({
|
|
4250
4250
|
$metadata: deserializeMetadata(output),
|
|
4251
4251
|
});
|
|
4252
|
-
await collectBody(output.body, context);
|
|
4252
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4253
4253
|
return contents;
|
|
4254
4254
|
};
|
|
4255
4255
|
exports.de_DeleteStageCommand = de_DeleteStageCommand;
|
|
@@ -4294,7 +4294,7 @@ const de_DeleteUsagePlanCommand = async (output, context) => {
|
|
|
4294
4294
|
const contents = (0, smithy_client_1.map)({
|
|
4295
4295
|
$metadata: deserializeMetadata(output),
|
|
4296
4296
|
});
|
|
4297
|
-
await collectBody(output.body, context);
|
|
4297
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4298
4298
|
return contents;
|
|
4299
4299
|
};
|
|
4300
4300
|
exports.de_DeleteUsagePlanCommand = de_DeleteUsagePlanCommand;
|
|
@@ -4336,7 +4336,7 @@ const de_DeleteUsagePlanKeyCommand = async (output, context) => {
|
|
|
4336
4336
|
const contents = (0, smithy_client_1.map)({
|
|
4337
4337
|
$metadata: deserializeMetadata(output),
|
|
4338
4338
|
});
|
|
4339
|
-
await collectBody(output.body, context);
|
|
4339
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4340
4340
|
return contents;
|
|
4341
4341
|
};
|
|
4342
4342
|
exports.de_DeleteUsagePlanKeyCommand = de_DeleteUsagePlanKeyCommand;
|
|
@@ -4378,7 +4378,7 @@ const de_DeleteVpcLinkCommand = async (output, context) => {
|
|
|
4378
4378
|
const contents = (0, smithy_client_1.map)({
|
|
4379
4379
|
$metadata: deserializeMetadata(output),
|
|
4380
4380
|
});
|
|
4381
|
-
await collectBody(output.body, context);
|
|
4381
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4382
4382
|
return contents;
|
|
4383
4383
|
};
|
|
4384
4384
|
exports.de_DeleteVpcLinkCommand = de_DeleteVpcLinkCommand;
|
|
@@ -4420,7 +4420,7 @@ const de_FlushStageAuthorizersCacheCommand = async (output, context) => {
|
|
|
4420
4420
|
const contents = (0, smithy_client_1.map)({
|
|
4421
4421
|
$metadata: deserializeMetadata(output),
|
|
4422
4422
|
});
|
|
4423
|
-
await collectBody(output.body, context);
|
|
4423
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4424
4424
|
return contents;
|
|
4425
4425
|
};
|
|
4426
4426
|
exports.de_FlushStageAuthorizersCacheCommand = de_FlushStageAuthorizersCacheCommand;
|
|
@@ -4465,7 +4465,7 @@ const de_FlushStageCacheCommand = async (output, context) => {
|
|
|
4465
4465
|
const contents = (0, smithy_client_1.map)({
|
|
4466
4466
|
$metadata: deserializeMetadata(output),
|
|
4467
4467
|
});
|
|
4468
|
-
await collectBody(output.body, context);
|
|
4468
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4469
4469
|
return contents;
|
|
4470
4470
|
};
|
|
4471
4471
|
exports.de_FlushStageCacheCommand = de_FlushStageCacheCommand;
|
|
@@ -5357,7 +5357,7 @@ const de_GetExportCommand = async (output, context) => {
|
|
|
5357
5357
|
contentType: [, output.headers["content-type"]],
|
|
5358
5358
|
contentDisposition: [, output.headers["content-disposition"]],
|
|
5359
5359
|
});
|
|
5360
|
-
const data = await collectBody(output.body, context);
|
|
5360
|
+
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
5361
5361
|
contents.body = data;
|
|
5362
5362
|
return contents;
|
|
5363
5363
|
};
|
|
@@ -6103,7 +6103,7 @@ const de_GetSdkCommand = async (output, context) => {
|
|
|
6103
6103
|
contentType: [, output.headers["content-type"]],
|
|
6104
6104
|
contentDisposition: [, output.headers["content-disposition"]],
|
|
6105
6105
|
});
|
|
6106
|
-
const data = await collectBody(output.body, context);
|
|
6106
|
+
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
6107
6107
|
contents.body = data;
|
|
6108
6108
|
return contents;
|
|
6109
6109
|
};
|
|
@@ -7220,7 +7220,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
7220
7220
|
const contents = (0, smithy_client_1.map)({
|
|
7221
7221
|
$metadata: deserializeMetadata(output),
|
|
7222
7222
|
});
|
|
7223
|
-
await collectBody(output.body, context);
|
|
7223
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
7224
7224
|
return contents;
|
|
7225
7225
|
};
|
|
7226
7226
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
@@ -7362,7 +7362,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
7362
7362
|
const contents = (0, smithy_client_1.map)({
|
|
7363
7363
|
$metadata: deserializeMetadata(output),
|
|
7364
7364
|
});
|
|
7365
|
-
await collectBody(output.body, context);
|
|
7365
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
7366
7366
|
return contents;
|
|
7367
7367
|
};
|
|
7368
7368
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
@@ -8999,13 +8999,7 @@ const deserializeMetadata = (output) => ({
|
|
|
8999
8999
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
9000
9000
|
cfId: output.headers["x-amz-cf-id"],
|
|
9001
9001
|
});
|
|
9002
|
-
const
|
|
9003
|
-
if (streamBody instanceof Uint8Array) {
|
|
9004
|
-
return Promise.resolve(streamBody);
|
|
9005
|
-
}
|
|
9006
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
9007
|
-
};
|
|
9008
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
9002
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
9009
9003
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
9010
9004
|
value !== null &&
|
|
9011
9005
|
value !== "" &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, convertMap, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, convertMap, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { APIGatewayServiceException as __BaseException } from "../models/APIGatewayServiceException";
|
|
4
4
|
import { BadRequestException, ConflictException, LimitExceededException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, } from "../models/models_0";
|
|
@@ -8752,12 +8752,6 @@ const deserializeMetadata = (output) => ({
|
|
|
8752
8752
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
8753
8753
|
cfId: output.headers["x-amz-cf-id"],
|
|
8754
8754
|
});
|
|
8755
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
8756
|
-
if (streamBody instanceof Uint8Array) {
|
|
8757
|
-
return Promise.resolve(streamBody);
|
|
8758
|
-
}
|
|
8759
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
8760
|
-
};
|
|
8761
8755
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
8762
8756
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
8763
8757
|
value !== null &&
|
|
@@ -193,7 +193,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
193
193
|
*/
|
|
194
194
|
runtime?: string;
|
|
195
195
|
/**
|
|
196
|
-
* Disable
|
|
196
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
197
197
|
* trait of an operation.
|
|
198
198
|
*/
|
|
199
199
|
disableHostPrefix?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
4
5
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
5
6
|
import { ExportResponse, GetExportRequest } from "../models/models_0";
|
|
6
7
|
/**
|
|
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
|
|
|
14
15
|
*/
|
|
15
16
|
export interface GetExportCommandInput extends GetExportRequest {
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetExportCommandOutputType = Omit<ExportResponse, "body"> & {
|
|
22
|
+
body?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* @public
|
|
19
26
|
*
|
|
20
27
|
* The output of {@link GetExportCommand}.
|
|
21
28
|
*/
|
|
22
|
-
export interface GetExportCommandOutput extends
|
|
29
|
+
export interface GetExportCommandOutput extends GetExportCommandOutputType, __MetadataBearer {
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
25
32
|
* @public
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
4
5
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
5
6
|
import { GetSdkRequest, SdkResponse } from "../models/models_0";
|
|
6
7
|
/**
|
|
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
|
|
|
14
15
|
*/
|
|
15
16
|
export interface GetSdkCommandInput extends GetSdkRequest {
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetSdkCommandOutputType = Omit<SdkResponse, "body"> & {
|
|
22
|
+
body?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* @public
|
|
19
26
|
*
|
|
20
27
|
* The output of {@link GetSdkCommand}.
|
|
21
28
|
*/
|
|
22
|
-
export interface GetSdkCommandOutput extends
|
|
29
|
+
export interface GetSdkCommandOutput extends GetSdkCommandOutputType, __MetadataBearer {
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
25
32
|
* @public
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BlobTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
5
5
|
import { ApiKeyIds, ImportApiKeysRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ImportApiKeysCommandInputType = Omit<ImportApiKeysRequest, "body"> & {
|
|
14
|
+
body: BlobTypes;
|
|
15
|
+
};
|
|
10
16
|
/**
|
|
11
17
|
* @public
|
|
12
18
|
*
|
|
13
19
|
* The input for {@link ImportApiKeysCommand}.
|
|
14
20
|
*/
|
|
15
|
-
export interface ImportApiKeysCommandInput extends
|
|
21
|
+
export interface ImportApiKeysCommandInput extends ImportApiKeysCommandInputType {
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* @public
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BlobTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
5
5
|
import { DocumentationPartIds, ImportDocumentationPartsRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ImportDocumentationPartsCommandInputType = Omit<ImportDocumentationPartsRequest, "body"> & {
|
|
14
|
+
body: BlobTypes;
|
|
15
|
+
};
|
|
10
16
|
/**
|
|
11
17
|
* @public
|
|
12
18
|
*
|
|
13
19
|
* The input for {@link ImportDocumentationPartsCommand}.
|
|
14
20
|
*/
|
|
15
|
-
export interface ImportDocumentationPartsCommandInput extends
|
|
21
|
+
export interface ImportDocumentationPartsCommandInput extends ImportDocumentationPartsCommandInputType {
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* @public
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BlobTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
5
5
|
import { ImportRestApiRequest, RestApi } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ImportRestApiCommandInputType = Omit<ImportRestApiRequest, "body"> & {
|
|
14
|
+
body: BlobTypes;
|
|
15
|
+
};
|
|
10
16
|
/**
|
|
11
17
|
* @public
|
|
12
18
|
*
|
|
13
19
|
* The input for {@link ImportRestApiCommand}.
|
|
14
20
|
*/
|
|
15
|
-
export interface ImportRestApiCommandInput extends
|
|
21
|
+
export interface ImportRestApiCommandInput extends ImportRestApiCommandInputType {
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* @public
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BlobTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { APIGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../APIGatewayClient";
|
|
5
5
|
import { PutRestApiRequest, RestApi } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type PutRestApiCommandInputType = Omit<PutRestApiRequest, "body"> & {
|
|
14
|
+
body: BlobTypes;
|
|
15
|
+
};
|
|
10
16
|
/**
|
|
11
17
|
* @public
|
|
12
18
|
*
|
|
13
19
|
* The input for {@link PutRestApiCommand}.
|
|
14
20
|
*/
|
|
15
|
-
export interface PutRestApiCommandInput extends
|
|
21
|
+
export interface PutRestApiCommandInput extends PutRestApiCommandInputType {
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* @public
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
9
10
|
import {
|
|
10
11
|
APIGatewayClientResolvedConfig,
|
|
11
12
|
ServiceInputTypes,
|
|
@@ -14,8 +15,14 @@ import {
|
|
|
14
15
|
import { ExportResponse, GetExportRequest } from "../models/models_0";
|
|
15
16
|
export { __MetadataBearer, $Command };
|
|
16
17
|
export interface GetExportCommandInput extends GetExportRequest {}
|
|
18
|
+
export type GetExportCommandOutputType = Pick<
|
|
19
|
+
ExportResponse,
|
|
20
|
+
Exclude<keyof ExportResponse, "body">
|
|
21
|
+
> & {
|
|
22
|
+
body?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
export interface GetExportCommandOutput
|
|
18
|
-
extends
|
|
25
|
+
extends GetExportCommandOutputType,
|
|
19
26
|
__MetadataBearer {}
|
|
20
27
|
export declare class GetExportCommand extends $Command<
|
|
21
28
|
GetExportCommandInput,
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
9
10
|
import {
|
|
10
11
|
APIGatewayClientResolvedConfig,
|
|
11
12
|
ServiceInputTypes,
|
|
@@ -14,7 +15,15 @@ import {
|
|
|
14
15
|
import { GetSdkRequest, SdkResponse } from "../models/models_0";
|
|
15
16
|
export { __MetadataBearer, $Command };
|
|
16
17
|
export interface GetSdkCommandInput extends GetSdkRequest {}
|
|
17
|
-
export
|
|
18
|
+
export type GetSdkCommandOutputType = Pick<
|
|
19
|
+
SdkResponse,
|
|
20
|
+
Exclude<keyof SdkResponse, "body">
|
|
21
|
+
> & {
|
|
22
|
+
body?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
24
|
+
export interface GetSdkCommandOutput
|
|
25
|
+
extends GetSdkCommandOutputType,
|
|
26
|
+
__MetadataBearer {}
|
|
18
27
|
export declare class GetSdkCommand extends $Command<
|
|
19
28
|
GetSdkCommandInput,
|
|
20
29
|
GetSdkCommandOutput,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import {
|
|
4
|
+
BlobTypes,
|
|
4
5
|
Handler,
|
|
5
6
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
7
|
MetadataBearer as __MetadataBearer,
|
|
@@ -13,7 +14,14 @@ import {
|
|
|
13
14
|
} from "../APIGatewayClient";
|
|
14
15
|
import { ApiKeyIds, ImportApiKeysRequest } from "../models/models_0";
|
|
15
16
|
export { __MetadataBearer, $Command };
|
|
16
|
-
export
|
|
17
|
+
export type ImportApiKeysCommandInputType = Pick<
|
|
18
|
+
ImportApiKeysRequest,
|
|
19
|
+
Exclude<keyof ImportApiKeysRequest, "body">
|
|
20
|
+
> & {
|
|
21
|
+
body: BlobTypes;
|
|
22
|
+
};
|
|
23
|
+
export interface ImportApiKeysCommandInput
|
|
24
|
+
extends ImportApiKeysCommandInputType {}
|
|
17
25
|
export interface ImportApiKeysCommandOutput
|
|
18
26
|
extends ApiKeyIds,
|
|
19
27
|
__MetadataBearer {}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import {
|
|
4
|
+
BlobTypes,
|
|
4
5
|
Handler,
|
|
5
6
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
7
|
MetadataBearer as __MetadataBearer,
|
|
@@ -16,8 +17,14 @@ import {
|
|
|
16
17
|
ImportDocumentationPartsRequest,
|
|
17
18
|
} from "../models/models_0";
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
20
|
+
export type ImportDocumentationPartsCommandInputType = Pick<
|
|
21
|
+
ImportDocumentationPartsRequest,
|
|
22
|
+
Exclude<keyof ImportDocumentationPartsRequest, "body">
|
|
23
|
+
> & {
|
|
24
|
+
body: BlobTypes;
|
|
25
|
+
};
|
|
19
26
|
export interface ImportDocumentationPartsCommandInput
|
|
20
|
-
extends
|
|
27
|
+
extends ImportDocumentationPartsCommandInputType {}
|
|
21
28
|
export interface ImportDocumentationPartsCommandOutput
|
|
22
29
|
extends DocumentationPartIds,
|
|
23
30
|
__MetadataBearer {}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import {
|
|
4
|
+
BlobTypes,
|
|
4
5
|
Handler,
|
|
5
6
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
7
|
MetadataBearer as __MetadataBearer,
|
|
@@ -13,7 +14,14 @@ import {
|
|
|
13
14
|
} from "../APIGatewayClient";
|
|
14
15
|
import { ImportRestApiRequest, RestApi } from "../models/models_0";
|
|
15
16
|
export { __MetadataBearer, $Command };
|
|
16
|
-
export
|
|
17
|
+
export type ImportRestApiCommandInputType = Pick<
|
|
18
|
+
ImportRestApiRequest,
|
|
19
|
+
Exclude<keyof ImportRestApiRequest, "body">
|
|
20
|
+
> & {
|
|
21
|
+
body: BlobTypes;
|
|
22
|
+
};
|
|
23
|
+
export interface ImportRestApiCommandInput
|
|
24
|
+
extends ImportRestApiCommandInputType {}
|
|
17
25
|
export interface ImportRestApiCommandOutput extends RestApi, __MetadataBearer {}
|
|
18
26
|
export declare class ImportRestApiCommand extends $Command<
|
|
19
27
|
ImportRestApiCommandInput,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import {
|
|
4
|
+
BlobTypes,
|
|
4
5
|
Handler,
|
|
5
6
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
7
|
MetadataBearer as __MetadataBearer,
|
|
@@ -13,7 +14,13 @@ import {
|
|
|
13
14
|
} from "../APIGatewayClient";
|
|
14
15
|
import { PutRestApiRequest, RestApi } from "../models/models_0";
|
|
15
16
|
export { __MetadataBearer, $Command };
|
|
16
|
-
export
|
|
17
|
+
export type PutRestApiCommandInputType = Pick<
|
|
18
|
+
PutRestApiRequest,
|
|
19
|
+
Exclude<keyof PutRestApiRequest, "body">
|
|
20
|
+
> & {
|
|
21
|
+
body: BlobTypes;
|
|
22
|
+
};
|
|
23
|
+
export interface PutRestApiCommandInput extends PutRestApiCommandInputType {}
|
|
17
24
|
export interface PutRestApiCommandOutput extends RestApi, __MetadataBearer {}
|
|
18
25
|
export declare class PutRestApiCommand extends $Command<
|
|
19
26
|
PutRestApiCommandInput,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-api-gateway",
|
|
3
3
|
"description": "AWS SDK for JavaScript Api Gateway Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.358.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,37 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-sdk-api-gateway": "3.
|
|
37
|
-
"@aws-sdk/middleware-serde": "3.
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
39
|
-
"@aws-sdk/middleware-stack": "3.
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
42
|
-
"@aws-sdk/node-http-handler": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.358.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.358.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-sdk-api-gateway": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
42
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.358.0",
|
|
44
|
+
"@aws-sdk/types": "3.357.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-
|
|
54
|
-
"@aws-sdk/util-user-agent-
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.358.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.358.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-stream": "3.358.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
55
56
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
57
|
"@smithy/protocol-http": "^1.0.1",
|
|
57
58
|
"@smithy/types": "^1.0.0",
|