@aws-sdk/client-location 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 +15 -21
- package/dist-es/protocols/Aws_restJson1.js +1 -7
- package/dist-types/LocationClient.d.ts +1 -1
- package/dist-types/commands/GetMapGlyphsCommand.d.ts +8 -1
- package/dist-types/commands/GetMapSpritesCommand.d.ts +8 -1
- package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +8 -1
- package/dist-types/commands/GetMapTileCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +8 -1
- package/package.json +29 -28
|
@@ -1726,7 +1726,7 @@ const de_AssociateTrackerConsumerCommand = async (output, context) => {
|
|
|
1726
1726
|
const contents = (0, smithy_client_1.map)({
|
|
1727
1727
|
$metadata: deserializeMetadata(output),
|
|
1728
1728
|
});
|
|
1729
|
-
await collectBody(output.body, context);
|
|
1729
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1730
1730
|
return contents;
|
|
1731
1731
|
};
|
|
1732
1732
|
exports.de_AssociateTrackerConsumerCommand = de_AssociateTrackerConsumerCommand;
|
|
@@ -2455,7 +2455,7 @@ const de_DeleteGeofenceCollectionCommand = async (output, context) => {
|
|
|
2455
2455
|
const contents = (0, smithy_client_1.map)({
|
|
2456
2456
|
$metadata: deserializeMetadata(output),
|
|
2457
2457
|
});
|
|
2458
|
-
await collectBody(output.body, context);
|
|
2458
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2459
2459
|
return contents;
|
|
2460
2460
|
};
|
|
2461
2461
|
exports.de_DeleteGeofenceCollectionCommand = de_DeleteGeofenceCollectionCommand;
|
|
@@ -2497,7 +2497,7 @@ const de_DeleteKeyCommand = async (output, context) => {
|
|
|
2497
2497
|
const contents = (0, smithy_client_1.map)({
|
|
2498
2498
|
$metadata: deserializeMetadata(output),
|
|
2499
2499
|
});
|
|
2500
|
-
await collectBody(output.body, context);
|
|
2500
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2501
2501
|
return contents;
|
|
2502
2502
|
};
|
|
2503
2503
|
exports.de_DeleteKeyCommand = de_DeleteKeyCommand;
|
|
@@ -2539,7 +2539,7 @@ const de_DeleteMapCommand = async (output, context) => {
|
|
|
2539
2539
|
const contents = (0, smithy_client_1.map)({
|
|
2540
2540
|
$metadata: deserializeMetadata(output),
|
|
2541
2541
|
});
|
|
2542
|
-
await collectBody(output.body, context);
|
|
2542
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2543
2543
|
return contents;
|
|
2544
2544
|
};
|
|
2545
2545
|
exports.de_DeleteMapCommand = de_DeleteMapCommand;
|
|
@@ -2581,7 +2581,7 @@ const de_DeletePlaceIndexCommand = async (output, context) => {
|
|
|
2581
2581
|
const contents = (0, smithy_client_1.map)({
|
|
2582
2582
|
$metadata: deserializeMetadata(output),
|
|
2583
2583
|
});
|
|
2584
|
-
await collectBody(output.body, context);
|
|
2584
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2585
2585
|
return contents;
|
|
2586
2586
|
};
|
|
2587
2587
|
exports.de_DeletePlaceIndexCommand = de_DeletePlaceIndexCommand;
|
|
@@ -2623,7 +2623,7 @@ const de_DeleteRouteCalculatorCommand = async (output, context) => {
|
|
|
2623
2623
|
const contents = (0, smithy_client_1.map)({
|
|
2624
2624
|
$metadata: deserializeMetadata(output),
|
|
2625
2625
|
});
|
|
2626
|
-
await collectBody(output.body, context);
|
|
2626
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2627
2627
|
return contents;
|
|
2628
2628
|
};
|
|
2629
2629
|
exports.de_DeleteRouteCalculatorCommand = de_DeleteRouteCalculatorCommand;
|
|
@@ -2665,7 +2665,7 @@ const de_DeleteTrackerCommand = async (output, context) => {
|
|
|
2665
2665
|
const contents = (0, smithy_client_1.map)({
|
|
2666
2666
|
$metadata: deserializeMetadata(output),
|
|
2667
2667
|
});
|
|
2668
|
-
await collectBody(output.body, context);
|
|
2668
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2669
2669
|
return contents;
|
|
2670
2670
|
};
|
|
2671
2671
|
exports.de_DeleteTrackerCommand = de_DeleteTrackerCommand;
|
|
@@ -3031,7 +3031,7 @@ const de_DisassociateTrackerConsumerCommand = async (output, context) => {
|
|
|
3031
3031
|
const contents = (0, smithy_client_1.map)({
|
|
3032
3032
|
$metadata: deserializeMetadata(output),
|
|
3033
3033
|
});
|
|
3034
|
-
await collectBody(output.body, context);
|
|
3034
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3035
3035
|
return contents;
|
|
3036
3036
|
};
|
|
3037
3037
|
exports.de_DisassociateTrackerConsumerCommand = de_DisassociateTrackerConsumerCommand;
|
|
@@ -3224,7 +3224,7 @@ const de_GetMapGlyphsCommand = async (output, context) => {
|
|
|
3224
3224
|
ContentType: [, output.headers["content-type"]],
|
|
3225
3225
|
CacheControl: [, output.headers["cache-control"]],
|
|
3226
3226
|
});
|
|
3227
|
-
const data = await collectBody(output.body, context);
|
|
3227
|
+
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3228
3228
|
contents.Blob = data;
|
|
3229
3229
|
return contents;
|
|
3230
3230
|
};
|
|
@@ -3269,7 +3269,7 @@ const de_GetMapSpritesCommand = async (output, context) => {
|
|
|
3269
3269
|
ContentType: [, output.headers["content-type"]],
|
|
3270
3270
|
CacheControl: [, output.headers["cache-control"]],
|
|
3271
3271
|
});
|
|
3272
|
-
const data = await collectBody(output.body, context);
|
|
3272
|
+
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3273
3273
|
contents.Blob = data;
|
|
3274
3274
|
return contents;
|
|
3275
3275
|
};
|
|
@@ -3314,7 +3314,7 @@ const de_GetMapStyleDescriptorCommand = async (output, context) => {
|
|
|
3314
3314
|
ContentType: [, output.headers["content-type"]],
|
|
3315
3315
|
CacheControl: [, output.headers["cache-control"]],
|
|
3316
3316
|
});
|
|
3317
|
-
const data = await collectBody(output.body, context);
|
|
3317
|
+
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3318
3318
|
contents.Blob = data;
|
|
3319
3319
|
return contents;
|
|
3320
3320
|
};
|
|
@@ -3359,7 +3359,7 @@ const de_GetMapTileCommand = async (output, context) => {
|
|
|
3359
3359
|
ContentType: [, output.headers["content-type"]],
|
|
3360
3360
|
CacheControl: [, output.headers["cache-control"]],
|
|
3361
3361
|
});
|
|
3362
|
-
const data = await collectBody(output.body, context);
|
|
3362
|
+
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3363
3363
|
contents.Blob = data;
|
|
3364
3364
|
return contents;
|
|
3365
3365
|
};
|
|
@@ -4088,7 +4088,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
4088
4088
|
const contents = (0, smithy_client_1.map)({
|
|
4089
4089
|
$metadata: deserializeMetadata(output),
|
|
4090
4090
|
});
|
|
4091
|
-
await collectBody(output.body, context);
|
|
4091
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4092
4092
|
return contents;
|
|
4093
4093
|
};
|
|
4094
4094
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
@@ -4130,7 +4130,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
4130
4130
|
const contents = (0, smithy_client_1.map)({
|
|
4131
4131
|
$metadata: deserializeMetadata(output),
|
|
4132
4132
|
});
|
|
4133
|
-
await collectBody(output.body, context);
|
|
4133
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4134
4134
|
return contents;
|
|
4135
4135
|
};
|
|
4136
4136
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
@@ -5110,13 +5110,7 @@ const deserializeMetadata = (output) => ({
|
|
|
5110
5110
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
5111
5111
|
cfId: output.headers["x-amz-cf-id"],
|
|
5112
5112
|
});
|
|
5113
|
-
const
|
|
5114
|
-
if (streamBody instanceof Uint8Array) {
|
|
5115
|
-
return Promise.resolve(streamBody);
|
|
5116
|
-
}
|
|
5117
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5118
|
-
};
|
|
5119
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5113
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5120
5114
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
5121
5115
|
value !== null &&
|
|
5122
5116
|
value !== "" &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
|
|
3
3
|
import { LocationServiceException as __BaseException } from "../models/LocationServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -4989,12 +4989,6 @@ const deserializeMetadata = (output) => ({
|
|
|
4989
4989
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
4990
4990
|
cfId: output.headers["x-amz-cf-id"],
|
|
4991
4991
|
});
|
|
4992
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
4993
|
-
if (streamBody instanceof Uint8Array) {
|
|
4994
|
-
return Promise.resolve(streamBody);
|
|
4995
|
-
}
|
|
4996
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4997
|
-
};
|
|
4998
4992
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4999
4993
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
5000
4994
|
value !== null &&
|
|
@@ -131,7 +131,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
131
131
|
*/
|
|
132
132
|
runtime?: string;
|
|
133
133
|
/**
|
|
134
|
-
* Disable
|
|
134
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
135
135
|
* trait of an operation.
|
|
136
136
|
*/
|
|
137
137
|
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 { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
5
6
|
import { GetMapGlyphsRequest, GetMapGlyphsResponse } from "../models/models_0";
|
|
6
7
|
/**
|
|
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
|
|
|
14
15
|
*/
|
|
15
16
|
export interface GetMapGlyphsCommandInput extends GetMapGlyphsRequest {
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetMapGlyphsCommandOutputType = Omit<GetMapGlyphsResponse, "Blob"> & {
|
|
22
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* @public
|
|
19
26
|
*
|
|
20
27
|
* The output of {@link GetMapGlyphsCommand}.
|
|
21
28
|
*/
|
|
22
|
-
export interface GetMapGlyphsCommandOutput extends
|
|
29
|
+
export interface GetMapGlyphsCommandOutput extends GetMapGlyphsCommandOutputType, __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 { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
5
6
|
import { GetMapSpritesRequest, GetMapSpritesResponse } from "../models/models_0";
|
|
6
7
|
/**
|
|
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
|
|
|
14
15
|
*/
|
|
15
16
|
export interface GetMapSpritesCommandInput extends GetMapSpritesRequest {
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetMapSpritesCommandOutputType = Omit<GetMapSpritesResponse, "Blob"> & {
|
|
22
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* @public
|
|
19
26
|
*
|
|
20
27
|
* The output of {@link GetMapSpritesCommand}.
|
|
21
28
|
*/
|
|
22
|
-
export interface GetMapSpritesCommandOutput extends
|
|
29
|
+
export interface GetMapSpritesCommandOutput extends GetMapSpritesCommandOutputType, __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 { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
5
6
|
import { GetMapStyleDescriptorRequest, GetMapStyleDescriptorResponse } from "../models/models_0";
|
|
6
7
|
/**
|
|
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
|
|
|
14
15
|
*/
|
|
15
16
|
export interface GetMapStyleDescriptorCommandInput extends GetMapStyleDescriptorRequest {
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetMapStyleDescriptorCommandOutputType = Omit<GetMapStyleDescriptorResponse, "Blob"> & {
|
|
22
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* @public
|
|
19
26
|
*
|
|
20
27
|
* The output of {@link GetMapStyleDescriptorCommand}.
|
|
21
28
|
*/
|
|
22
|
-
export interface GetMapStyleDescriptorCommandOutput extends
|
|
29
|
+
export interface GetMapStyleDescriptorCommandOutput extends GetMapStyleDescriptorCommandOutputType, __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 { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
5
6
|
import { GetMapTileRequest, GetMapTileResponse } from "../models/models_0";
|
|
6
7
|
/**
|
|
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
|
|
|
14
15
|
*/
|
|
15
16
|
export interface GetMapTileCommandInput extends GetMapTileRequest {
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetMapTileCommandOutputType = Omit<GetMapTileResponse, "Blob"> & {
|
|
22
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* @public
|
|
19
26
|
*
|
|
20
27
|
* The output of {@link GetMapTileCommand}.
|
|
21
28
|
*/
|
|
22
|
-
export interface GetMapTileCommandOutput extends
|
|
29
|
+
export interface GetMapTileCommandOutput extends GetMapTileCommandOutputType, __MetadataBearer {
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
25
32
|
* @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
|
LocationClientResolvedConfig,
|
|
11
12
|
ServiceInputTypes,
|
|
@@ -14,8 +15,14 @@ import {
|
|
|
14
15
|
import { GetMapGlyphsRequest, GetMapGlyphsResponse } from "../models/models_0";
|
|
15
16
|
export { __MetadataBearer, $Command };
|
|
16
17
|
export interface GetMapGlyphsCommandInput extends GetMapGlyphsRequest {}
|
|
18
|
+
export type GetMapGlyphsCommandOutputType = Pick<
|
|
19
|
+
GetMapGlyphsResponse,
|
|
20
|
+
Exclude<keyof GetMapGlyphsResponse, "Blob">
|
|
21
|
+
> & {
|
|
22
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
export interface GetMapGlyphsCommandOutput
|
|
18
|
-
extends
|
|
25
|
+
extends GetMapGlyphsCommandOutputType,
|
|
19
26
|
__MetadataBearer {}
|
|
20
27
|
export declare class GetMapGlyphsCommand extends $Command<
|
|
21
28
|
GetMapGlyphsCommandInput,
|
|
@@ -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
|
LocationClientResolvedConfig,
|
|
11
12
|
ServiceInputTypes,
|
|
@@ -17,8 +18,14 @@ import {
|
|
|
17
18
|
} from "../models/models_0";
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
19
20
|
export interface GetMapSpritesCommandInput extends GetMapSpritesRequest {}
|
|
21
|
+
export type GetMapSpritesCommandOutputType = Pick<
|
|
22
|
+
GetMapSpritesResponse,
|
|
23
|
+
Exclude<keyof GetMapSpritesResponse, "Blob">
|
|
24
|
+
> & {
|
|
25
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
26
|
+
};
|
|
20
27
|
export interface GetMapSpritesCommandOutput
|
|
21
|
-
extends
|
|
28
|
+
extends GetMapSpritesCommandOutputType,
|
|
22
29
|
__MetadataBearer {}
|
|
23
30
|
export declare class GetMapSpritesCommand extends $Command<
|
|
24
31
|
GetMapSpritesCommandInput,
|
|
@@ -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
|
LocationClientResolvedConfig,
|
|
11
12
|
ServiceInputTypes,
|
|
@@ -18,8 +19,14 @@ import {
|
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
19
20
|
export interface GetMapStyleDescriptorCommandInput
|
|
20
21
|
extends GetMapStyleDescriptorRequest {}
|
|
22
|
+
export type GetMapStyleDescriptorCommandOutputType = Pick<
|
|
23
|
+
GetMapStyleDescriptorResponse,
|
|
24
|
+
Exclude<keyof GetMapStyleDescriptorResponse, "Blob">
|
|
25
|
+
> & {
|
|
26
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
27
|
+
};
|
|
21
28
|
export interface GetMapStyleDescriptorCommandOutput
|
|
22
|
-
extends
|
|
29
|
+
extends GetMapStyleDescriptorCommandOutputType,
|
|
23
30
|
__MetadataBearer {}
|
|
24
31
|
export declare class GetMapStyleDescriptorCommand extends $Command<
|
|
25
32
|
GetMapStyleDescriptorCommandInput,
|
|
@@ -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
|
LocationClientResolvedConfig,
|
|
11
12
|
ServiceInputTypes,
|
|
@@ -14,8 +15,14 @@ import {
|
|
|
14
15
|
import { GetMapTileRequest, GetMapTileResponse } from "../models/models_0";
|
|
15
16
|
export { __MetadataBearer, $Command };
|
|
16
17
|
export interface GetMapTileCommandInput extends GetMapTileRequest {}
|
|
18
|
+
export type GetMapTileCommandOutputType = Pick<
|
|
19
|
+
GetMapTileResponse,
|
|
20
|
+
Exclude<keyof GetMapTileResponse, "Blob">
|
|
21
|
+
> & {
|
|
22
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
export interface GetMapTileCommandOutput
|
|
18
|
-
extends
|
|
25
|
+
extends GetMapTileCommandOutputType,
|
|
19
26
|
__MetadataBearer {}
|
|
20
27
|
export declare class GetMapTileCommand extends $Command<
|
|
21
28
|
GetMapTileCommandInput,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-location",
|
|
3
3
|
"description": "AWS SDK for JavaScript Location 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,36 +21,37 @@
|
|
|
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-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@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-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.358.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-
|
|
53
|
-
"@aws-sdk/util-user-agent-
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.358.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.358.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-stream": "3.358.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
54
55
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
56
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
57
|
"@smithy/types": "^1.0.0",
|