@aws-sdk/client-location 3.341.0 → 3.342.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 +4 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -0
- package/dist-types/commands/CreateMapCommand.d.ts +1 -0
- package/dist-types/commands/CreateTrackerCommand.d.ts +4 -0
- package/dist-types/commands/DescribeMapCommand.d.ts +1 -0
- package/dist-types/commands/UpdateMapCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +48 -3
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +28 -28
|
@@ -1601,6 +1601,7 @@ const se_UpdateMapCommand = async (input, context) => {
|
|
|
1601
1601
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MapName", () => input.MapName, "{MapName}", false);
|
|
1602
1602
|
let body;
|
|
1603
1603
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1604
|
+
ConfigurationUpdate: (_) => (0, smithy_client_1._json)(_),
|
|
1604
1605
|
Description: [],
|
|
1605
1606
|
PricingPlan: [],
|
|
1606
1607
|
}));
|
|
@@ -2426,6 +2427,9 @@ const de_CreateTrackerCommandError = async (output, context) => {
|
|
|
2426
2427
|
case "InternalServerException":
|
|
2427
2428
|
case "com.amazonaws.location#InternalServerException":
|
|
2428
2429
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2430
|
+
case "ServiceQuotaExceededException":
|
|
2431
|
+
case "com.amazonaws.location#ServiceQuotaExceededException":
|
|
2432
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2429
2433
|
case "ThrottlingException":
|
|
2430
2434
|
case "com.amazonaws.location#ThrottlingException":
|
|
2431
2435
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -1542,6 +1542,7 @@ export const se_UpdateMapCommand = async (input, context) => {
|
|
|
1542
1542
|
resolvedPath = __resolvedPath(resolvedPath, input, "MapName", () => input.MapName, "{MapName}", false);
|
|
1543
1543
|
let body;
|
|
1544
1544
|
body = JSON.stringify(take(input, {
|
|
1545
|
+
ConfigurationUpdate: (_) => _json(_),
|
|
1545
1546
|
Description: [],
|
|
1546
1547
|
PricingPlan: [],
|
|
1547
1548
|
}));
|
|
@@ -2348,6 +2349,9 @@ const de_CreateTrackerCommandError = async (output, context) => {
|
|
|
2348
2349
|
case "InternalServerException":
|
|
2349
2350
|
case "com.amazonaws.location#InternalServerException":
|
|
2350
2351
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2352
|
+
case "ServiceQuotaExceededException":
|
|
2353
|
+
case "com.amazonaws.location#ServiceQuotaExceededException":
|
|
2354
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2351
2355
|
case "ThrottlingException":
|
|
2352
2356
|
case "com.amazonaws.location#ThrottlingException":
|
|
2353
2357
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -41,6 +41,7 @@ export interface CreateMapCommandOutput extends CreateMapResponse, __MetadataBea
|
|
|
41
41
|
* MapName: "STRING_VALUE", // required
|
|
42
42
|
* Configuration: { // MapConfiguration
|
|
43
43
|
* Style: "STRING_VALUE", // required
|
|
44
|
+
* PoliticalView: "STRING_VALUE",
|
|
44
45
|
* },
|
|
45
46
|
* PricingPlan: "STRING_VALUE",
|
|
46
47
|
* Description: "STRING_VALUE",
|
|
@@ -68,6 +68,10 @@ export interface CreateTrackerCommandOutput extends CreateTrackerResponse, __Met
|
|
|
68
68
|
* @throws {@link InternalServerException} (server fault)
|
|
69
69
|
* <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
|
|
70
70
|
*
|
|
71
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
72
|
+
* <p>The operation was denied because the request would exceed the maximum <a href="https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html">quota</a>
|
|
73
|
+
* set for Amazon Location Service.</p>
|
|
74
|
+
*
|
|
71
75
|
* @throws {@link ThrottlingException} (client fault)
|
|
72
76
|
* <p>The request was denied because of request throttling.</p>
|
|
73
77
|
*
|
|
@@ -42,6 +42,7 @@ export interface DescribeMapCommandOutput extends DescribeMapResponse, __Metadat
|
|
|
42
42
|
* // DataSource: "STRING_VALUE", // required
|
|
43
43
|
* // Configuration: { // MapConfiguration
|
|
44
44
|
* // Style: "STRING_VALUE", // required
|
|
45
|
+
* // PoliticalView: "STRING_VALUE",
|
|
45
46
|
* // },
|
|
46
47
|
* // Description: "STRING_VALUE", // required
|
|
47
48
|
* // Tags: { // TagMap
|
|
@@ -34,6 +34,9 @@ export interface UpdateMapCommandOutput extends UpdateMapResponse, __MetadataBea
|
|
|
34
34
|
* MapName: "STRING_VALUE", // required
|
|
35
35
|
* PricingPlan: "STRING_VALUE",
|
|
36
36
|
* Description: "STRING_VALUE",
|
|
37
|
+
* ConfigurationUpdate: { // MapConfigurationUpdate
|
|
38
|
+
* PoliticalView: "STRING_VALUE",
|
|
39
|
+
* },
|
|
37
40
|
* };
|
|
38
41
|
* const command = new UpdateMapCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
@@ -2002,14 +2002,14 @@ export interface MapConfiguration {
|
|
|
2002
2002
|
* </li>
|
|
2003
2003
|
* <li>
|
|
2004
2004
|
* <p>
|
|
2005
|
-
* <code>VectorEsriStreets</code> – The Esri
|
|
2005
|
+
* <code>VectorEsriStreets</code> – The Esri Street Map style, which
|
|
2006
2006
|
* provides a detailed vector basemap for the world symbolized with a classic Esri
|
|
2007
2007
|
* street map style. The vector tile layer is similar in content and style to the
|
|
2008
2008
|
* World Street Map raster map.</p>
|
|
2009
2009
|
* </li>
|
|
2010
2010
|
* <li>
|
|
2011
2011
|
* <p>
|
|
2012
|
-
* <code>VectorEsriNavigation</code> – The Esri
|
|
2012
|
+
* <code>VectorEsriNavigation</code> – The Esri Navigation map style, which
|
|
2013
2013
|
* provides a detailed basemap for the world symbolized with a custom navigation
|
|
2014
2014
|
* map style that's designed for use during the day in mobile devices.</p>
|
|
2015
2015
|
* </li>
|
|
@@ -2115,6 +2115,19 @@ export interface MapConfiguration {
|
|
|
2115
2115
|
* </ul>
|
|
2116
2116
|
*/
|
|
2117
2117
|
Style: string | undefined;
|
|
2118
|
+
/**
|
|
2119
|
+
* <p>Specifies the political view for the style. Leave unset to not use a political
|
|
2120
|
+
* view, or, for styles that support specific political views, you can choose a view,
|
|
2121
|
+
* such as <code>IND</code> for the Indian view.</p>
|
|
2122
|
+
* <p>Default is unset.</p>
|
|
2123
|
+
* <note>
|
|
2124
|
+
* <p>Not all map resources or styles support political view styles. See
|
|
2125
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/map-concepts.html#political-views">Political
|
|
2126
|
+
* views</a>
|
|
2127
|
+
* for more information.</p>
|
|
2128
|
+
* </note>
|
|
2129
|
+
*/
|
|
2130
|
+
PoliticalView?: string;
|
|
2118
2131
|
}
|
|
2119
2132
|
/**
|
|
2120
2133
|
* @public
|
|
@@ -3735,7 +3748,16 @@ export interface GetMapGlyphsRequest {
|
|
|
3735
3748
|
* <code>Amazon Ember Medium,Noto Sans Medium</code> |
|
|
3736
3749
|
* <code>Amazon Ember Regular Italic,Noto Sans Italic</code> |
|
|
3737
3750
|
* <code>Amazon Ember Condensed RC Regular,Noto Sans Regular</code> |
|
|
3738
|
-
* <code>Amazon Ember Condensed RC Bold,Noto Sans Bold</code>
|
|
3751
|
+
* <code>Amazon Ember Condensed RC Bold,Noto Sans Bold</code> |
|
|
3752
|
+
* <code>Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular</code> |
|
|
3753
|
+
* <code>Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic
|
|
3754
|
+
* Condensed Bold</code> |
|
|
3755
|
+
* <code>Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold</code> |
|
|
3756
|
+
* <code>Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic
|
|
3757
|
+
* Regular</code> |
|
|
3758
|
+
* <code>Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic
|
|
3759
|
+
* Condensed Regular</code> |
|
|
3760
|
+
* <code>Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium</code>
|
|
3739
3761
|
* </p>
|
|
3740
3762
|
* </li>
|
|
3741
3763
|
* </ul>
|
|
@@ -4490,6 +4512,24 @@ export interface ListTrackersResponse {
|
|
|
4490
4512
|
*/
|
|
4491
4513
|
NextToken?: string;
|
|
4492
4514
|
}
|
|
4515
|
+
/**
|
|
4516
|
+
* @public
|
|
4517
|
+
* <p>Specifies the political view for the style.</p>
|
|
4518
|
+
*/
|
|
4519
|
+
export interface MapConfigurationUpdate {
|
|
4520
|
+
/**
|
|
4521
|
+
* <p>Specifies the political view for the style. Set to an empty string to not use a
|
|
4522
|
+
* political view, or, for styles that support specific political views, you can choose a
|
|
4523
|
+
* view, such as <code>IND</code> for the Indian view.</p>
|
|
4524
|
+
* <note>
|
|
4525
|
+
* <p>Not all map resources or styles support political view styles. See
|
|
4526
|
+
* <a href="https://docs.aws.amazon.com/location/latest/developerguide/map-concepts.html#political-views">Political
|
|
4527
|
+
* views</a>
|
|
4528
|
+
* for more information.</p>
|
|
4529
|
+
* </note>
|
|
4530
|
+
*/
|
|
4531
|
+
PoliticalView?: string;
|
|
4532
|
+
}
|
|
4493
4533
|
/**
|
|
4494
4534
|
* @public
|
|
4495
4535
|
*/
|
|
@@ -4509,6 +4549,11 @@ export interface UpdateMapRequest {
|
|
|
4509
4549
|
* <p>Updates the description for the map resource.</p>
|
|
4510
4550
|
*/
|
|
4511
4551
|
Description?: string;
|
|
4552
|
+
/**
|
|
4553
|
+
* <p>Updates the parts of the map configuration that can be updated, including the
|
|
4554
|
+
* political view.</p>
|
|
4555
|
+
*/
|
|
4556
|
+
ConfigurationUpdate?: MapConfigurationUpdate;
|
|
4512
4557
|
}
|
|
4513
4558
|
/**
|
|
4514
4559
|
* @public
|
|
@@ -384,6 +384,7 @@ export interface CreateGeofenceCollectionResponse {
|
|
|
384
384
|
}
|
|
385
385
|
export interface MapConfiguration {
|
|
386
386
|
Style: string | undefined;
|
|
387
|
+
PoliticalView?: string;
|
|
387
388
|
}
|
|
388
389
|
export interface CreateMapRequest {
|
|
389
390
|
MapName: string | undefined;
|
|
@@ -802,10 +803,14 @@ export interface ListTrackersResponse {
|
|
|
802
803
|
Entries: ListTrackersResponseEntry[] | undefined;
|
|
803
804
|
NextToken?: string;
|
|
804
805
|
}
|
|
806
|
+
export interface MapConfigurationUpdate {
|
|
807
|
+
PoliticalView?: string;
|
|
808
|
+
}
|
|
805
809
|
export interface UpdateMapRequest {
|
|
806
810
|
MapName: string | undefined;
|
|
807
811
|
PricingPlan?: PricingPlan | string;
|
|
808
812
|
Description?: string;
|
|
813
|
+
ConfigurationUpdate?: MapConfigurationUpdate;
|
|
809
814
|
}
|
|
810
815
|
export interface UpdateMapResponse {
|
|
811
816
|
MapName: string | undefined;
|
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.342.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,36 @@
|
|
|
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.342.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.342.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.342.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.342.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.342.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.342.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.342.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.342.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.342.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.342.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.342.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.342.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.342.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.342.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.342.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.342.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.342.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.342.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.342.0",
|
|
43
|
+
"@aws-sdk/types": "3.342.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.342.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-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.342.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.342.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.342.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.342.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.342.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.342.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|