Skip to content

Commit 66cec70

Browse files
author
AWS
committed
Amazon Location Service Update: 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 acbc876 commit 66cec70

File tree

2 files changed

+92
-38
lines changed

2 files changed

+92
-38
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Location Service",
4+
"contributor": "",
5+
"description": "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."
6+
}

services/location/src/main/resources/codegen-resources/service-2.json

Lines changed: 86 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"version":"2.0",
33
"metadata":{
44
"apiVersion":"2020-11-19",
5+
"auth":["aws.auth#sigv4"],
56
"endpointPrefix":"geo",
67
"protocol":"rest-json",
78
"protocols":["rest-json"],
@@ -1238,7 +1239,7 @@
12381239
"ApiKeyRestrictionsAllowActionsList":{
12391240
"type":"list",
12401241
"member":{"shape":"ApiKeyAction"},
1241-
"max":7,
1242+
"max":24,
12421243
"min":1
12431244
},
12441245
"ApiKeyRestrictionsAllowReferersList":{
@@ -1250,7 +1251,7 @@
12501251
"ApiKeyRestrictionsAllowResourcesList":{
12511252
"type":"list",
12521253
"member":{"shape":"GeoArnV2"},
1253-
"max":5,
1254+
"max":8,
12541255
"min":1
12551256
},
12561257
"Arn":{
@@ -2146,13 +2147,15 @@
21462147
"shape":"PricingPlan",
21472148
"documentation":"<p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p>",
21482149
"deprecated":true,
2149-
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."
2150+
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage.",
2151+
"deprecatedSince":"2022-02-01"
21502152
},
21512153
"PricingPlanDataSource":{
21522154
"shape":"String",
21532155
"documentation":"<p>This parameter is no longer used.</p>",
21542156
"deprecated":true,
2155-
"deprecatedMessage":"Deprecated. No longer allowed."
2157+
"deprecatedMessage":"Deprecated. No longer allowed.",
2158+
"deprecatedSince":"2022-02-01"
21562159
},
21572160
"Description":{
21582161
"shape":"ResourceDescription",
@@ -2269,7 +2272,8 @@
22692272
"shape":"PricingPlan",
22702273
"documentation":"<p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p>",
22712274
"deprecated":true,
2272-
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."
2275+
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage.",
2276+
"deprecatedSince":"2022-02-01"
22732277
},
22742278
"Description":{
22752279
"shape":"ResourceDescription",
@@ -2322,7 +2326,8 @@
23222326
"shape":"PricingPlan",
23232327
"documentation":"<p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p>",
23242328
"deprecated":true,
2325-
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."
2329+
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage.",
2330+
"deprecatedSince":"2022-02-01"
23262331
},
23272332
"Description":{
23282333
"shape":"ResourceDescription",
@@ -2379,7 +2384,8 @@
23792384
"shape":"PricingPlan",
23802385
"documentation":"<p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p>",
23812386
"deprecated":true,
2382-
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."
2387+
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage.",
2388+
"deprecatedSince":"2022-02-01"
23832389
},
23842390
"Description":{
23852391
"shape":"ResourceDescription",
@@ -2425,7 +2431,8 @@
24252431
"shape":"PricingPlan",
24262432
"documentation":"<p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p>",
24272433
"deprecated":true,
2428-
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."
2434+
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage.",
2435+
"deprecatedSince":"2022-02-01"
24292436
},
24302437
"KmsKeyId":{
24312438
"shape":"KmsKeyId",
@@ -2435,7 +2442,8 @@
24352442
"shape":"String",
24362443
"documentation":"<p>This parameter is no longer used.</p>",
24372444
"deprecated":true,
2438-
"deprecatedMessage":"Deprecated. No longer allowed."
2445+
"deprecatedMessage":"Deprecated. No longer allowed.",
2446+
"deprecatedSince":"2022-02-01"
24392447
},
24402448
"Description":{
24412449
"shape":"ResourceDescription",
@@ -2649,13 +2657,15 @@
26492657
"shape":"PricingPlan",
26502658
"documentation":"<p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>",
26512659
"deprecated":true,
2652-
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."
2660+
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage.",
2661+
"deprecatedSince":"2022-02-01"
26532662
},
26542663
"PricingPlanDataSource":{
26552664
"shape":"String",
26562665
"documentation":"<p>No longer used. Always returns an empty string.</p>",
26572666
"deprecated":true,
2658-
"deprecatedMessage":"Deprecated. Unused."
2667+
"deprecatedMessage":"Deprecated. Unused.",
2668+
"deprecatedSince":"2022-02-01"
26592669
},
26602670
"KmsKeyId":{
26612671
"shape":"KmsKeyId",
@@ -2779,7 +2789,8 @@
27792789
"shape":"PricingPlan",
27802790
"documentation":"<p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>",
27812791
"deprecated":true,
2782-
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."
2792+
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage.",
2793+
"deprecatedSince":"2022-02-01"
27832794
},
27842795
"DataSource":{
27852796
"shape":"String",
@@ -2843,7 +2854,8 @@
28432854
"shape":"PricingPlan",
28442855
"documentation":"<p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>",
28452856
"deprecated":true,
2846-
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."
2857+
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage.",
2858+
"deprecatedSince":"2022-02-01"
28472859
},
28482860
"Description":{
28492861
"shape":"ResourceDescription",
@@ -2906,7 +2918,8 @@
29062918
"shape":"PricingPlan",
29072919
"documentation":"<p>Always returns <code>RequestBasedUsage</code>.</p>",
29082920
"deprecated":true,
2909-
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."
2921+
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage.",
2922+
"deprecatedSince":"2022-02-01"
29102923
},
29112924
"Description":{
29122925
"shape":"ResourceDescription",
@@ -2968,13 +2981,15 @@
29682981
"shape":"PricingPlan",
29692982
"documentation":"<p>Always returns <code>RequestBasedUsage</code>.</p>",
29702983
"deprecated":true,
2971-
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."
2984+
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage.",
2985+
"deprecatedSince":"2022-02-01"
29722986
},
29732987
"PricingPlanDataSource":{
29742988
"shape":"String",
29752989
"documentation":"<p>No longer used. Always returns an empty string.</p>",
29762990
"deprecated":true,
2977-
"deprecatedMessage":"Deprecated. Unused."
2991+
"deprecatedMessage":"Deprecated. Unused.",
2992+
"deprecatedSince":"2022-02-01"
29782993
},
29792994
"Tags":{
29802995
"shape":"TagMap",
@@ -3035,7 +3050,7 @@
30353050
"documentation":"<p>The accuracy of the device position.</p>"
30363051
},
30373052
"PositionProperties":{
3038-
"shape":"PropertyMap",
3053+
"shape":"PositionPropertyMap",
30393054
"documentation":"<p>The properties associated with the position.</p>"
30403055
}
30413056
},
@@ -3070,7 +3085,7 @@
30703085
"documentation":"<p>The accuracy of the device position.</p>"
30713086
},
30723087
"PositionProperties":{
3073-
"shape":"PropertyMap",
3088+
"shape":"PositionPropertyMap",
30743089
"documentation":"<p>Associates one of more properties with the position update. A property is a key-value pair stored with the position update and added to any geofence event the update may trigger.</p> <p>Format: <code>\"key\" : \"value\"</code> </p>"
30753090
}
30763091
},
@@ -3462,7 +3477,7 @@
34623477
"documentation":"<p>The accuracy of the device position.</p>"
34633478
},
34643479
"PositionProperties":{
3465-
"shape":"PropertyMap",
3480+
"shape":"PositionPropertyMap",
34663481
"documentation":"<p>The properties associated with the position.</p>"
34673482
}
34683483
}
@@ -4010,7 +4025,7 @@
40104025
"documentation":"<p>The accuracy of the device position.</p>"
40114026
},
40124027
"PositionProperties":{
4013-
"shape":"PropertyMap",
4028+
"shape":"PositionPropertyMap",
40144029
"documentation":"<p>The properties associated with the position.</p>"
40154030
}
40164031
},
@@ -4074,13 +4089,15 @@
40744089
"shape":"PricingPlan",
40754090
"documentation":"<p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>",
40764091
"deprecated":true,
4077-
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."
4092+
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage.",
4093+
"deprecatedSince":"2022-02-01"
40784094
},
40794095
"PricingPlanDataSource":{
40804096
"shape":"String",
40814097
"documentation":"<p>No longer used. Always returns an empty string.</p>",
40824098
"deprecated":true,
4083-
"deprecatedMessage":"Deprecated. Unused."
4099+
"deprecatedMessage":"Deprecated. Unused.",
4100+
"deprecatedSince":"2022-02-01"
40844101
},
40854102
"CreateTime":{
40864103
"shape":"Timestamp",
@@ -4312,7 +4329,8 @@
43124329
"shape":"PricingPlan",
43134330
"documentation":"<p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>",
43144331
"deprecated":true,
4315-
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."
4332+
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage.",
4333+
"deprecatedSince":"2022-02-01"
43164334
},
43174335
"CreateTime":{
43184336
"shape":"Timestamp",
@@ -4388,7 +4406,8 @@
43884406
"shape":"PricingPlan",
43894407
"documentation":"<p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>",
43904408
"deprecated":true,
4391-
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."
4409+
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage.",
4410+
"deprecatedSince":"2022-02-01"
43924411
},
43934412
"CreateTime":{
43944413
"shape":"Timestamp",
@@ -4464,7 +4483,8 @@
44644483
"shape":"PricingPlan",
44654484
"documentation":"<p>Always returns <code>RequestBasedUsage</code>.</p>",
44664485
"deprecated":true,
4467-
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."
4486+
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage.",
4487+
"deprecatedSince":"2022-02-01"
44684488
},
44694489
"CreateTime":{
44704490
"shape":"Timestamp",
@@ -4596,13 +4616,15 @@
45964616
"shape":"PricingPlan",
45974617
"documentation":"<p>Always returns <code>RequestBasedUsage</code>.</p>",
45984618
"deprecated":true,
4599-
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."
4619+
"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage.",
4620+
"deprecatedSince":"2022-02-01"
46004621
},
46014622
"PricingPlanDataSource":{
46024623
"shape":"String",
46034624
"documentation":"<p>No longer used. Always returns an empty string.</p>",
46044625
"deprecated":true,
4605-
"deprecatedMessage":"Deprecated. Unused."
4626+
"deprecatedMessage":"Deprecated. Unused.",
4627+
"deprecatedSince":"2022-02-01"
46064628
},
46074629
"CreateTime":{
46084630
"shape":"Timestamp",
@@ -4930,6 +4952,24 @@
49304952
"AccuracyBased"
49314953
]
49324954
},
4955+
"PositionPropertyMap":{
4956+
"type":"map",
4957+
"key":{"shape":"PositionPropertyMapKeyString"},
4958+
"value":{"shape":"PositionPropertyMapValueString"},
4959+
"max":4,
4960+
"min":0,
4961+
"sensitive":true
4962+
},
4963+
"PositionPropertyMapKeyString":{
4964+
"type":"string",
4965+
"max":20,
4966+
"min":1
4967+
},
4968+
"PositionPropertyMapValueString":{
4969+
"type":"string",
4970+
"max":150,
4971+
"min":1
4972+
},
49334973
"PositionalAccuracy":{
49344974
"type":"structure",
49354975
"required":["Horizontal"],
@@ -5633,7 +5673,7 @@
56335673
"type":"string",
56345674
"max":128,
56355675
"min":1,
5636-
"pattern":"[a-zA-Z+-=._:/]+"
5676+
"pattern":"([\\p{L}\\p{Z}\\p{N}_.,:/=+\\-@]*)"
56375677
},
56385678
"TagKeys":{
56395679
"type":"list",
@@ -5676,7 +5716,7 @@
56765716
"type":"string",
56775717
"max":256,
56785718
"min":0,
5679-
"pattern":"[A-Za-z0-9 _=@:.+-/]*"
5719+
"pattern":"([\\p{L}\\p{Z}\\p{N}_.,:/=+\\-@]*)"
56805720
},
56815721
"ThrottlingException":{
56825722
"type":"structure",
@@ -5835,13 +5875,15 @@
58355875
"shape":"PricingPlan",
58365876
"documentation":"<p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p>",
58375877
"deprecated":true,
5838-
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."
5878+
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage.",
5879+
"deprecatedSince":"2022-02-01"
58395880
},
58405881
"PricingPlanDataSource":{
58415882
"shape":"String",
58425883
"documentation":"<p>This parameter is no longer used.</p>",
58435884
"deprecated":true,
5844-
"deprecatedMessage":"Deprecated. No longer allowed."
5885+
"deprecatedMessage":"Deprecated. No longer allowed.",
5886+
"deprecatedSince":"2022-02-01"
58455887
},
58465888
"Description":{
58475889
"shape":"ResourceDescription",
@@ -5939,7 +5981,8 @@
59395981
"shape":"PricingPlan",
59405982
"documentation":"<p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p>",
59415983
"deprecated":true,
5942-
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."
5984+
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage.",
5985+
"deprecatedSince":"2022-02-01"
59435986
},
59445987
"Description":{
59455988
"shape":"ResourceDescription",
@@ -5987,7 +6030,8 @@
59876030
"shape":"PricingPlan",
59886031
"documentation":"<p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p>",
59896032
"deprecated":true,
5990-
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."
6033+
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage.",
6034+
"deprecatedSince":"2022-02-01"
59916035
},
59926036
"Description":{
59936037
"shape":"ResourceDescription",
@@ -6035,7 +6079,8 @@
60356079
"shape":"PricingPlan",
60366080
"documentation":"<p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p>",
60376081
"deprecated":true,
6038-
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."
6082+
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage.",
6083+
"deprecatedSince":"2022-02-01"
60396084
},
60406085
"Description":{
60416086
"shape":"ResourceDescription",
@@ -6079,13 +6124,15 @@
60796124
"shape":"PricingPlan",
60806125
"documentation":"<p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p>",
60816126
"deprecated":true,
6082-
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."
6127+
"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage.",
6128+
"deprecatedSince":"2022-02-01"
60836129
},
60846130
"PricingPlanDataSource":{
60856131
"shape":"String",
60866132
"documentation":"<p>This parameter is no longer used.</p>",
60876133
"deprecated":true,
6088-
"deprecatedMessage":"Deprecated. No longer allowed."
6134+
"deprecatedMessage":"Deprecated. No longer allowed.",
6135+
"deprecatedSince":"2022-02-01"
60896136
},
60906137
"Description":{
60916138
"shape":"ResourceDescription",
@@ -6192,7 +6239,8 @@
61926239
"Missing",
61936240
"CannotParse",
61946241
"FieldValidationFailed",
6195-
"Other"
6242+
"Other",
6243+
"UnknownField"
61966244
]
61976245
},
61986246
"VehicleWeightUnit":{
@@ -6283,7 +6331,7 @@
62836331
"type":"string",
62846332
"max":17,
62856333
"min":12,
6286-
"pattern":"([0-9A-Fa-f]{2}[:-]?){5}([0-9A-Fa-f]{2})"
6334+
"pattern":"([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})"
62876335
},
62886336
"WiFiAccessPointRssInteger":{
62896337
"type":"integer",

0 commit comments

Comments
 (0)