Skip to content

Commit 985543d

Browse files
author
awstools
committed
feat(client-location): Adds support for larger property maps for tracking and geofence positions changes. It increases the maximum number of items from 3 to 4, and the maximum value length from 40 to 150.
1 parent c390ad5 commit 985543d

File tree

9 files changed

+87
-15
lines changed

9 files changed

+87
-15
lines changed

clients/client-location/src/commands/BatchEvaluateGeofencesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export interface BatchEvaluateGeofencesCommandOutput extends BatchEvaluateGeofen
7979
* Accuracy: { // PositionalAccuracy
8080
* Horizontal: Number("double"), // required
8181
* },
82-
* PositionProperties: { // PropertyMap
82+
* PositionProperties: { // PositionPropertyMap
8383
* "<keys>": "STRING_VALUE",
8484
* },
8585
* },

clients/client-location/src/commands/BatchGetDevicePositionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export interface BatchGetDevicePositionCommandOutput extends BatchGetDevicePosit
6868
* // Accuracy: { // PositionalAccuracy
6969
* // Horizontal: Number("double"), // required
7070
* // },
71-
* // PositionProperties: { // PropertyMap
71+
* // PositionProperties: { // PositionPropertyMap
7272
* // "<keys>": "STRING_VALUE",
7373
* // },
7474
* // },

clients/client-location/src/commands/BatchUpdateDevicePositionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export interface BatchUpdateDevicePositionCommandOutput extends BatchUpdateDevic
7373
* Accuracy: { // PositionalAccuracy
7474
* Horizontal: Number("double"), // required
7575
* },
76-
* PositionProperties: { // PropertyMap
76+
* PositionProperties: { // PositionPropertyMap
7777
* "<keys>": "STRING_VALUE",
7878
* },
7979
* },

clients/client-location/src/commands/GetDevicePositionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export interface GetDevicePositionCommandOutput extends GetDevicePositionRespons
5858
* // Accuracy: { // PositionalAccuracy
5959
* // Horizontal: Number("double"), // required
6060
* // },
61-
* // PositionProperties: { // PropertyMap
61+
* // PositionProperties: { // PositionPropertyMap
6262
* // "<keys>": "STRING_VALUE",
6363
* // },
6464
* // };

clients/client-location/src/commands/GetDevicePositionHistoryCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export interface GetDevicePositionHistoryCommandOutput extends GetDevicePosition
6565
* // Accuracy: { // PositionalAccuracy
6666
* // Horizontal: Number("double"), // required
6767
* // },
68-
* // PositionProperties: { // PropertyMap
68+
* // PositionProperties: { // PositionPropertyMap
6969
* // "<keys>": "STRING_VALUE",
7070
* // },
7171
* // },

clients/client-location/src/commands/ListDevicePositionsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export interface ListDevicePositionsCommandOutput extends ListDevicePositionsRes
6767
* // Accuracy: { // PositionalAccuracy
6868
* // Horizontal: Number("double"), // required
6969
* // },
70-
* // PositionProperties: { // PropertyMap
70+
* // PositionProperties: { // PositionPropertyMap
7171
* // "<keys>": "STRING_VALUE",
7272
* // },
7373
* // },

clients/client-location/src/models/models_0.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ export type ValidationExceptionReason =
423423
| "FieldValidationFailed"
424424
| "Missing"
425425
| "Other"
426+
| "UnknownField"
426427
| "UnknownOperation";
427428

428429
/**

clients/client-location/src/protocols/Aws_restJson1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3844,6 +3844,8 @@ const se_PositionList = (input: number[][], context: __SerdeContext): any => {
38443844
});
38453845
};
38463846

3847+
// se_PositionPropertyMap omitted.
3848+
38473849
// se_PropertyMap omitted.
38483850

38493851
// se_RefererPatternList omitted.
@@ -4487,6 +4489,8 @@ const de_PositionList = (output: any, context: __SerdeContext): number[][] => {
44874489
return retVal;
44884490
};
44894491

4492+
// de_PositionPropertyMap omitted.
4493+
44904494
// de_PropertyMap omitted.
44914495

44924496
// de_RefererPatternList omitted.

codegen/sdk-codegen/aws-models/location.json

Lines changed: 76 additions & 9 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)